Class ResourceFileUploadRequestModel
java.lang.Object
net.avalara.avatax.rest.client.models.ResourceFileUploadRequestModel
A request to upload a file to Resource Files
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for accountId The account ID to which this file will be attached.Getter for companyId The company ID to which this file will be attached.Getter for content This stream contains the bytes of the file being uploaded.Getter for length Length of the file in bytes.getName()
Getter for name The original name of this file.Getter for username The username adding the filevoid
setAccountId
(Integer value) Setter for accountId The account ID to which this file will be attached.void
setCompanyId
(Integer value) Setter for companyId The company ID to which this file will be attached.void
setContent
(String value) Setter for content This stream contains the bytes of the file being uploaded.void
Setter for length Length of the file in bytes.void
Setter for name The original name of this file.void
setUsername
(String value) Setter for username The username adding the filetoString()
Returns a JSON string representation of ResourceFileUploadRequestModel
-
Constructor Details
-
ResourceFileUploadRequestModel
public ResourceFileUploadRequestModel()
-
-
Method Details
-
getContent
Getter for content This stream contains the bytes of the file being uploaded. -
setContent
Setter for content This stream contains the bytes of the file being uploaded. -
getUsername
Getter for username The username adding the file -
setUsername
Setter for username The username adding the file -
getAccountId
Getter for accountId The account ID to which this file will be attached. -
setAccountId
Setter for accountId The account ID to which this file will be attached. -
getCompanyId
Getter for companyId The company ID to which this file will be attached. -
setCompanyId
Setter for companyId The company ID to which this file will be attached. -
getName
Getter for name The original name of this file. -
setName
Setter for name The original name of this file. -
getLength
Getter for length Length of the file in bytes. -
setLength
Setter for length Length of the file in bytes. -
toString
Returns a JSON string representation of ResourceFileUploadRequestModel
-