Package org.motechproject.mots.dto
Class VersionedReportDto
- java.lang.Object
-
- org.motechproject.mots.dto.VersionedReportDto
-
public class VersionedReportDto extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description VersionedReportDto(java.lang.String data, long version)
Create an instance of VersionedReportDto with a json string.
-
-
-
Constructor Detail
-
VersionedReportDto
public VersionedReportDto(java.lang.String data, long version) throws java.io.IOException
Create an instance of VersionedReportDto with a json string.- Parameters:
data
- the generated report (json string)version
- report's version- Throws:
java.io.IOException
- if object mapper fails
-
-