Class HelpCenterAttachment



  • public class HelpCenterAttachment
    extends java.lang.Object
    This is a model class for an HelpCenterAttachment object that will be created by the HelpCenterProvider.
    See Also:
    Article Attachments
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.Long getArticleId()
      Gets the ID of the Article that the attachment is associated with
      java.lang.String getContentType()
      Gets the content type of the attachment.
      java.lang.String getContentUrl()
      Gets the URL which can be used to download the attachment
      java.util.Date getCreatedAt()
      Gets the date that the attachment was created at
      java.lang.String getFileName()
      Gets the filename of the attachment
      java.lang.Long getId()
      Gets the ID of the attachment
      java.lang.Long getSize()
      Gets the size of the attachment in bytes
      java.util.Date getUpdatedAt()
      Gets the date that the attachment was updated at
      java.lang.String getUrl()
      Gets the API URL of the attachment
      • Methods inherited from class java.lang.Object

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

      • HelpCenterAttachment

        public HelpCenterAttachment()
    • Method Detail

      • getId

        public java.lang.Long getId()
        Gets the ID of the attachment
        Returns:
        the ID of the attachment
      • getUrl

        public java.lang.String getUrl()
        Gets the API URL of the attachment
        Returns:
        the API URL of the attachment
      • getArticleId

        public java.lang.Long getArticleId()
        Gets the ID of the Article that the attachment is associated with
        Returns:
        the ID of the Article that the attachment is associated with
      • getFileName

        public java.lang.String getFileName()
        Gets the filename of the attachment
        Returns:
        the filename of the attachment
      • getContentUrl

        public java.lang.String getContentUrl()
        Gets the URL which can be used to download the attachment
        Returns:
        the URL which can be used to download the attachment
      • getContentType

        public java.lang.String getContentType()
        Gets the content type of the attachment. E.g. image/png
        Returns:
        the content type of the attachment. E.g. image/png
      • getSize

        public java.lang.Long getSize()
        Gets the size of the attachment in bytes
        Returns:
        the size of the attachment in bytes
      • getCreatedAt

        public java.util.Date getCreatedAt()
        Gets the date that the attachment was created at
        Returns:
        the date that the attachment was created at
      • getUpdatedAt

        public java.util.Date getUpdatedAt()
        Gets the date that the attachment was updated at
        Returns:
        the date that the attachment was updated at