Package zendesk.support
Class HelpCenterAttachment
- java.lang.Object
-
- zendesk.support.HelpCenterAttachment
-
public class HelpCenterAttachment extends java.lang.Object
This is a model class for an HelpCenterAttachment object that will be created by theHelpCenterProvider
.- See Also:
- Article Attachments
-
-
Constructor Summary
Constructors Constructor and Description HelpCenterAttachment()
-
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 withjava.lang.String
getContentType()
Gets the content type of the attachment.java.lang.String
getContentUrl()
Gets the URL which can be used to download the attachmentjava.util.Date
getCreatedAt()
Gets the date that the attachment was created atjava.lang.String
getFileName()
Gets the filename of the attachmentjava.lang.Long
getId()
Gets the ID of the attachmentjava.lang.Long
getSize()
Gets the size of the attachment in bytesjava.util.Date
getUpdatedAt()
Gets the date that the attachment was updated atjava.lang.String
getUrl()
Gets the API URL of the attachment
-
-
-
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
-
-