Class BatchFileModel
java.lang.Object
net.avalara.avatax.rest.client.models.BatchFileModel
Represents one file in a batch upload.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for batchId The unique ID number of the batch that this file belongs to.Getter for content Content of the batch file.Getter for contentLength Size of content, in bytes.Getter for contentType Content mime type (e.g.Getter for errorCount Number of errors that occurred when processing this file.Getter for fileExtension File extension (e.g.Getter for filePath Path to the file - name/S3 keygetId()
Getter for id The unique ID number assigned to this batch file.getName()
Getter for name Logical Name of file (e.g.void
setBatchId
(Integer value) Setter for batchId The unique ID number of the batch that this file belongs to.void
setContent
(String value) Setter for content Content of the batch file.void
setContentLength
(Integer value) Setter for contentLength Size of content, in bytes.void
setContentType
(String value) Setter for contentType Content mime type (e.g.void
setErrorCount
(Integer value) Setter for errorCount Number of errors that occurred when processing this file.void
setFileExtension
(String value) Setter for fileExtension File extension (e.g.void
setFilePath
(String value) Setter for filePath Path to the file - name/S3 keyvoid
Setter for id The unique ID number assigned to this batch file.void
Setter for name Logical Name of file (e.g.toString()
Returns a JSON string representation of BatchFileModel
-
Constructor Details
-
BatchFileModel
public BatchFileModel()
-
-
Method Details
-
getId
Getter for id The unique ID number assigned to this batch file. -
setId
Setter for id The unique ID number assigned to this batch file. -
getBatchId
Getter for batchId The unique ID number of the batch that this file belongs to. -
setBatchId
Setter for batchId The unique ID number of the batch that this file belongs to. -
getName
Getter for name Logical Name of file (e.g. "Input" or "Error"). -
setName
Setter for name Logical Name of file (e.g. "Input" or "Error"). -
getContent
Getter for content Content of the batch file. -
setContent
Setter for content Content of the batch file. -
getContentLength
Getter for contentLength Size of content, in bytes. -
setContentLength
Setter for contentLength Size of content, in bytes. -
getContentType
Getter for contentType Content mime type (e.g. text/csv). This is used for HTTP downloading. -
setContentType
Setter for contentType Content mime type (e.g. text/csv). This is used for HTTP downloading. -
getFileExtension
Getter for fileExtension File extension (e.g. CSV). -
setFileExtension
Setter for fileExtension File extension (e.g. CSV). -
getFilePath
Getter for filePath Path to the file - name/S3 key -
setFilePath
Setter for filePath Path to the file - name/S3 key -
getErrorCount
Getter for errorCount Number of errors that occurred when processing this file. -
setErrorCount
Setter for errorCount Number of errors that occurred when processing this file. -
toString
Returns a JSON string representation of BatchFileModel
-