Class ReportModel
java.lang.Object
net.avalara.avatax.rest.client.models.ReportModel
public class ReportModel
extends java.lang.Object
A model for displaying report task metadata
-
Constructor Summary
Constructors Constructor Description ReportModel()
-
Method Summary
Modifier and Type Method Description java.lang.Integer
getAccountId()
Getter for accountId The ID of the account the reported transactions are fromjava.lang.Integer
getCompanyId()
Getter for companyId The ID of the company the reported transactions are fromjava.util.Date
getCompletedDate()
Getter for completedDate The time when the report was finished building, if completedjava.util.Date
getCreatedDate()
Getter for createdDate The time when the report task was initiatedjava.lang.String
getCreatedUser()
Getter for createdUser The userName of the user who initiated the report taskjava.lang.Integer
getCreatedUserId()
Getter for createdUserId The Id of the user who initiated this taskjava.lang.String
getFile()
Getter for file The name of the report file, if availablejava.lang.String
getFormat()
Getter for format The format of the report filejava.lang.Long
getId()
Getter for id The unique identifier of the report taskReportParametersModel
getParameters()
Getter for parameters The parametes used to build the reportjava.lang.String
getReportType()
Getter for reportType The type of the report: ExportDocumentLine, etc.java.lang.Long
getSize()
Getter for size The size of the report file, if availablejava.lang.String
getStatus()
Getter for status The current status of the report building taskvoid
setAccountId(java.lang.Integer value)
Setter for accountId The ID of the account the reported transactions are fromvoid
setCompanyId(java.lang.Integer value)
Setter for companyId The ID of the company the reported transactions are fromvoid
setCompletedDate(java.util.Date value)
Setter for completedDate The time when the report was finished building, if completedvoid
setCreatedDate(java.util.Date value)
Setter for createdDate The time when the report task was initiatedvoid
setCreatedUser(java.lang.String value)
Setter for createdUser The userName of the user who initiated the report taskvoid
setCreatedUserId(java.lang.Integer value)
Setter for createdUserId The Id of the user who initiated this taskvoid
setFile(java.lang.String value)
Setter for file The name of the report file, if availablevoid
setFormat(java.lang.String value)
Setter for format The format of the report filevoid
setId(java.lang.Long value)
Setter for id The unique identifier of the report taskvoid
setParameters(ReportParametersModel value)
Setter for parameters The parametes used to build the reportvoid
setReportType(java.lang.String value)
Setter for reportType The type of the report: ExportDocumentLine, etc.void
setSize(java.lang.Long value)
Setter for size The size of the report file, if availablevoid
setStatus(java.lang.String value)
Setter for status The current status of the report building taskjava.lang.String
toString()
Returns a JSON string representation of ReportModel
-
Constructor Details
-
ReportModel
public ReportModel()
-
-
Method Details
-
getId
public java.lang.Long getId()Getter for id The unique identifier of the report task -
setId
public void setId(java.lang.Long value)Setter for id The unique identifier of the report task -
getAccountId
public java.lang.Integer getAccountId()Getter for accountId The ID of the account the reported transactions are from -
setAccountId
public void setAccountId(java.lang.Integer value)Setter for accountId The ID of the account the reported transactions are from -
getCompanyId
public java.lang.Integer getCompanyId()Getter for companyId The ID of the company the reported transactions are from -
setCompanyId
public void setCompanyId(java.lang.Integer value)Setter for companyId The ID of the company the reported transactions are from -
getReportType
public java.lang.String getReportType()Getter for reportType The type of the report: ExportDocumentLine, etc. -
setReportType
public void setReportType(java.lang.String value)Setter for reportType The type of the report: ExportDocumentLine, etc. -
getParameters
Getter for parameters The parametes used to build the report -
setParameters
Setter for parameters The parametes used to build the report -
getStatus
public java.lang.String getStatus()Getter for status The current status of the report building task -
setStatus
public void setStatus(java.lang.String value)Setter for status The current status of the report building task -
getSize
public java.lang.Long getSize()Getter for size The size of the report file, if available -
setSize
public void setSize(java.lang.Long value)Setter for size The size of the report file, if available -
getFormat
public java.lang.String getFormat()Getter for format The format of the report file -
setFormat
public void setFormat(java.lang.String value)Setter for format The format of the report file -
getFile
public java.lang.String getFile()Getter for file The name of the report file, if available -
setFile
public void setFile(java.lang.String value)Setter for file The name of the report file, if available -
getCreatedDate
public java.util.Date getCreatedDate()Getter for createdDate The time when the report task was initiated -
setCreatedDate
public void setCreatedDate(java.util.Date value)Setter for createdDate The time when the report task was initiated -
getCreatedUserId
public java.lang.Integer getCreatedUserId()Getter for createdUserId The Id of the user who initiated this task -
setCreatedUserId
public void setCreatedUserId(java.lang.Integer value)Setter for createdUserId The Id of the user who initiated this task -
getCreatedUser
public java.lang.String getCreatedUser()Getter for createdUser The userName of the user who initiated the report task -
setCreatedUser
public void setCreatedUser(java.lang.String value)Setter for createdUser The userName of the user who initiated the report task -
getCompletedDate
public java.util.Date getCompletedDate()Getter for completedDate The time when the report was finished building, if completed -
setCompletedDate
public void setCompletedDate(java.util.Date value)Setter for completedDate The time when the report was finished building, if completed -
toString
public java.lang.String toString()Returns a JSON string representation of ReportModel- Overrides:
toString
in classjava.lang.Object
-