Class ReportModel
- java.lang.Object
-
- net.avalara.avatax.rest.client.models.ReportModel
-
public class ReportModel extends java.lang.ObjectA model for displaying report task metadata
-
-
Constructor Summary
Constructors Constructor Description ReportModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.IntegergetAccountId()Getter for accountId The ID of the account the reported transactions are fromjava.lang.IntegergetCompanyId()Getter for companyId The ID of the company the reported transactions are fromjava.util.DategetCompletedDate()Getter for completedDate The time when the report was finished building, if completedjava.util.DategetCreatedDate()Getter for createdDate The time when the report task was initiatedjava.lang.StringgetCreatedUser()Getter for createdUser The userName of the user who initiated the report taskjava.lang.IntegergetCreatedUserId()Getter for createdUserId The Id of the user who initiated this taskjava.lang.StringgetFile()Getter for file The name of the report file, if availablejava.lang.StringgetFormat()Getter for format The format of the report filejava.lang.LonggetId()Getter for id The unique identifier of the report taskReportParametersModelgetParameters()Getter for parameters The parametes used to build the reportjava.lang.StringgetReportType()Getter for reportType The type of the report: ExportDocumentLine, etc.java.lang.LonggetSize()Getter for size The size of the report file, if availablejava.lang.StringgetStatus()Getter for status The current status of the report building taskvoidsetAccountId(java.lang.Integer value)Setter for accountId The ID of the account the reported transactions are fromvoidsetCompanyId(java.lang.Integer value)Setter for companyId The ID of the company the reported transactions are fromvoidsetCompletedDate(java.util.Date value)Setter for completedDate The time when the report was finished building, if completedvoidsetCreatedDate(java.util.Date value)Setter for createdDate The time when the report task was initiatedvoidsetCreatedUser(java.lang.String value)Setter for createdUser The userName of the user who initiated the report taskvoidsetCreatedUserId(java.lang.Integer value)Setter for createdUserId The Id of the user who initiated this taskvoidsetFile(java.lang.String value)Setter for file The name of the report file, if availablevoidsetFormat(java.lang.String value)Setter for format The format of the report filevoidsetId(java.lang.Long value)Setter for id The unique identifier of the report taskvoidsetParameters(ReportParametersModel value)Setter for parameters The parametes used to build the reportvoidsetReportType(java.lang.String value)Setter for reportType The type of the report: ExportDocumentLine, etc.voidsetSize(java.lang.Long value)Setter for size The size of the report file, if availablevoidsetStatus(java.lang.String value)Setter for status The current status of the report building taskjava.lang.StringtoString()Returns a JSON string representation of ReportModel
-
-
-
Method Detail
-
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
public ReportParametersModel getParameters()
Getter for parameters The parametes used to build the report
-
setParameters
public void setParameters(ReportParametersModel value)
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:
toStringin classjava.lang.Object
-
-