Class ResourceFileUploadRequestModel

java.lang.Object
net.avalara.avatax.rest.client.models.ResourceFileUploadRequestModel

public class ResourceFileUploadRequestModel extends Object
A request to upload a file to Resource Files
  • Constructor Details

    • ResourceFileUploadRequestModel

      public ResourceFileUploadRequestModel()
  • Method Details

    • getContent

      public String getContent()
      Getter for content This stream contains the bytes of the file being uploaded.
    • setContent

      public void setContent(String value)
      Setter for content This stream contains the bytes of the file being uploaded.
    • getUsername

      public String getUsername()
      Getter for username The username adding the file
    • setUsername

      public void setUsername(String value)
      Setter for username The username adding the file
    • getAccountId

      public Integer getAccountId()
      Getter for accountId The account ID to which this file will be attached.
    • setAccountId

      public void setAccountId(Integer value)
      Setter for accountId The account ID to which this file will be attached.
    • getCompanyId

      public Integer getCompanyId()
      Getter for companyId The company ID to which this file will be attached.
    • setCompanyId

      public void setCompanyId(Integer value)
      Setter for companyId The company ID to which this file will be attached.
    • getName

      public String getName()
      Getter for name The original name of this file.
    • setName

      public void setName(String value)
      Setter for name The original name of this file.
    • getLength

      public Long getLength()
      Getter for length Length of the file in bytes.
    • setLength

      public void setLength(Long value)
      Setter for length Length of the file in bytes.
    • toString

      public String toString()
      Returns a JSON string representation of ResourceFileUploadRequestModel
      Overrides:
      toString in class Object