Class Attachment

java.lang.Object
com.mypurecloud.sdk.v2.model.Attachment
All Implemented Interfaces:
Serializable

public class Attachment extends Object implements Serializable
Attachment
See Also:
  • Constructor Details

    • Attachment

      public Attachment()
    • Attachment

      public Attachment(Boolean initWithEmptyList)
  • Method Details

    • attachmentId

      public Attachment attachmentId(String attachmentId)
      The unique identifier for the attachment.
    • getAttachmentId

      public String getAttachmentId()
    • setAttachmentId

      public void setAttachmentId(String attachmentId)
    • name

      public Attachment name(String name)
      The name of the attachment.
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • contentUri

      public Attachment contentUri(String contentUri)
      The content uri of the attachment. If set, this is commonly a public api download location.
    • getContentUri

      public String getContentUri()
    • setContentUri

      public void setContentUri(String contentUri)
    • contentType

      public Attachment contentType(String contentType)
      The type of file the attachment is.
    • getContentType

      public String getContentType()
    • setContentType

      public void setContentType(String contentType)
    • contentLength

      public Attachment contentLength(Integer contentLength)
      The length of the attachment file.
    • getContentLength

      public Integer getContentLength()
    • setContentLength

      public void setContentLength(Integer contentLength)
    • inlineImage

      public Attachment inlineImage(Boolean inlineImage)
      Whether or not the attachment was attached inline.,
    • getInlineImage

      public Boolean getInlineImage()
    • setInlineImage

      public void setInlineImage(Boolean inlineImage)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object