Class ResourceFileUploadRequestModel


  • public class ResourceFileUploadRequestModel
    extends java.lang.Object
    A request to upload a file to Resource Files
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Integer getAccountId()
      Getter for accountId The account ID to which this file will be attached.
      java.lang.Integer getCompanyId()
      Getter for companyId The company ID to which this file will be attached.
      java.lang.String getContent()
      Getter for content This stream contains the bytes of the file being uploaded.
      java.lang.Long getLength()
      Getter for length Length of the file in bytes.
      java.lang.String getName()
      Getter for name The original name of this file.
      java.lang.Integer getResourceFileTypeId()
      Getter for resourceFileTypeId The resource type ID of this file.
      java.lang.String getUsername()
      Getter for username The username adding the file
      void setAccountId​(java.lang.Integer value)
      Setter for accountId The account ID to which this file will be attached.
      void setCompanyId​(java.lang.Integer value)
      Setter for companyId The company ID to which this file will be attached.
      void setContent​(java.lang.String value)
      Setter for content This stream contains the bytes of the file being uploaded.
      void setLength​(java.lang.Long value)
      Setter for length Length of the file in bytes.
      void setName​(java.lang.String value)
      Setter for name The original name of this file.
      void setResourceFileTypeId​(java.lang.Integer value)
      Setter for resourceFileTypeId The resource type ID of this file.
      void setUsername​(java.lang.String value)
      Setter for username The username adding the file
      java.lang.String toString()
      Returns a JSON string representation of ResourceFileUploadRequestModel
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ResourceFileUploadRequestModel

        public 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:
        toString in class java.lang.Object