Class ArticleListItem
java.lang.Object
com.intercom.api.resources.articles.types.ArticleListItem
- All Implemented Interfaces:
IArticleListItem
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interfacestatic final classstatic interfacestatic interfacestatic interfacestatic final classstatic interfacestatic interfacestatic interfacestatic interfacestatic interface -
Method Summary
-
Method Details
-
getType
- Specified by:
getTypein interfaceIArticleListItem- Returns:
- The type of object -
article.
-
getId
- Specified by:
getIdin interfaceIArticleListItem- Returns:
- The unique identifier for the article which is given by Intercom.
-
getWorkspaceId
- Specified by:
getWorkspaceIdin interfaceIArticleListItem- Returns:
- The id of the workspace which the article belongs to.
-
getTitle
- Specified by:
getTitlein interfaceIArticleListItem- Returns:
- The title of the article. For multilingual articles, this will be the title of the default language's content.
-
getDescription
- Specified by:
getDescriptionin interfaceIArticleListItem- Returns:
- The description of the article. For multilingual articles, this will be the description of the default language's content.
-
getBody
- Specified by:
getBodyin interfaceIArticleListItem- Returns:
- The body of the article in HTML. For multilingual articles, this will be the body of the default language's content.
-
getAuthorId
public int getAuthorId()- Specified by:
getAuthorIdin interfaceIArticleListItem- Returns:
- The id of the author of the article. For multilingual articles, this will be the id of the author of the default language's content. Must be a teammate on the help center's workspace.
-
getState
- Returns:
- Whether the article is
publishedor is adraft. For multilingual articles, this will be the state of the default language's content.
-
getCreatedAt
public int getCreatedAt()- Specified by:
getCreatedAtin interfaceIArticleListItem- Returns:
- The time when the article was created. For multilingual articles, this will be the timestamp of creation of the default language's content in seconds.
-
getUpdatedAt
public int getUpdatedAt()- Specified by:
getUpdatedAtin interfaceIArticleListItem- Returns:
- The time when the article was last updated. For multilingual articles, this will be the timestamp of last update of the default language's content in seconds.
-
getUrl
- Specified by:
getUrlin interfaceIArticleListItem- Returns:
- The URL of the article. For multilingual articles, this will be the URL of the default language's content.
-
getParentId
- Specified by:
getParentIdin interfaceIArticleListItem- Returns:
- The id of the article's parent collection or section. An article without this field stands alone.
-
getParentIds
- Specified by:
getParentIdsin interfaceIArticleListItem- Returns:
- The ids of the article's parent collections or sections. An article without this field stands alone.
-
getParentType
- Specified by:
getParentTypein interfaceIArticleListItem- Returns:
- The type of parent, which can either be a
collectionorsection.
-
getDefaultLocale
- Specified by:
getDefaultLocalein interfaceIArticleListItem- Returns:
- The default locale of the help center. This field is only returned for multilingual help centers.
-
getTranslatedContent
- Specified by:
getTranslatedContentin interfaceIArticleListItem
-
equals
-
getAdditionalProperties
-
hashCode
public int hashCode() -
toString
-
builder
-