Class ResourceFileUploadRequestModel
- java.lang.Object
-
- net.avalara.avatax.rest.client.models.ResourceFileUploadRequestModel
-
public class ResourceFileUploadRequestModel extends java.lang.ObjectA request to upload a file to Resource Files
-
-
Constructor Summary
Constructors Constructor Description ResourceFileUploadRequestModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.IntegergetAccountId()Getter for accountId The account ID to which this file will be attached.java.lang.IntegergetCompanyId()Getter for companyId The company ID to which this file will be attached.java.lang.StringgetContent()Getter for content This stream contains the bytes of the file being uploaded.java.lang.LonggetLength()Getter for length Length of the file in bytes.java.lang.StringgetName()Getter for name The original name of this file.java.lang.IntegergetResourceFileTypeId()Getter for resourceFileTypeId The resource type ID of this file.java.lang.StringgetUsername()Getter for username The username adding the filevoidsetAccountId(java.lang.Integer value)Setter for accountId The account ID to which this file will be attached.voidsetCompanyId(java.lang.Integer value)Setter for companyId The company ID to which this file will be attached.voidsetContent(java.lang.String value)Setter for content This stream contains the bytes of the file being uploaded.voidsetLength(java.lang.Long value)Setter for length Length of the file in bytes.voidsetName(java.lang.String value)Setter for name The original name of this file.voidsetResourceFileTypeId(java.lang.Integer value)Setter for resourceFileTypeId The resource type ID of this file.voidsetUsername(java.lang.String value)Setter for username The username adding the filejava.lang.StringtoString()Returns a JSON string representation of ResourceFileUploadRequestModel
-
-
-
Method Detail
-
getContent
public java.lang.String getContent()
Getter for content This stream contains the bytes of the file being uploaded.
-
setContent
public void setContent(java.lang.String value)
Setter for content This stream contains the bytes of the file being uploaded.
-
getUsername
public java.lang.String getUsername()
Getter for username The username adding the file
-
setUsername
public void setUsername(java.lang.String value)
Setter for username The username adding the file
-
getAccountId
public java.lang.Integer getAccountId()
Getter for accountId The account ID to which this file will be attached.
-
setAccountId
public void setAccountId(java.lang.Integer value)
Setter for accountId The account ID to which this file will be attached.
-
getCompanyId
public java.lang.Integer getCompanyId()
Getter for companyId The company ID to which this file will be attached.
-
setCompanyId
public void setCompanyId(java.lang.Integer value)
Setter for companyId The company ID to which this file will be attached.
-
getName
public java.lang.String getName()
Getter for name The original name of this file.
-
setName
public void setName(java.lang.String value)
Setter for name The original name of this file.
-
getResourceFileTypeId
public java.lang.Integer getResourceFileTypeId()
Getter for resourceFileTypeId The resource type ID of this file.
-
setResourceFileTypeId
public void setResourceFileTypeId(java.lang.Integer value)
Setter for resourceFileTypeId The resource type ID of this file.
-
getLength
public java.lang.Long getLength()
Getter for length Length of the file in bytes.
-
setLength
public void setLength(java.lang.Long value)
Setter for length Length of the file in bytes.
-
toString
public java.lang.String toString()
Returns a JSON string representation of ResourceFileUploadRequestModel- Overrides:
toStringin classjava.lang.Object
-
-