Package com.intercom.api.types
Class ArticleContent
- java.lang.Object
-
- com.intercom.api.types.ArticleContent
-
public final class ArticleContent extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classArticleContent.Builderstatic classArticleContent.State
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ArticleContent.Builderbuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.util.Optional<java.lang.Integer>getAuthorId()java.util.Optional<java.lang.String>getBody()java.util.Optional<java.lang.Integer>getCreatedAt()java.util.Optional<java.lang.String>getDescription()java.util.Optional<ArticleContent.State>getState()java.util.Optional<java.lang.String>getTitle()java.util.Optional<java.lang.String>getType()java.util.Optional<java.lang.Integer>getUpdatedAt()java.util.Optional<java.lang.String>getUrl()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getType
public java.util.Optional<java.lang.String> getType()
- Returns:
- The type of object -
article_content.
-
getTitle
public java.util.Optional<java.lang.String> getTitle()
- Returns:
- The title of the article.
-
getDescription
public java.util.Optional<java.lang.String> getDescription()
- Returns:
- The description of the article.
-
getBody
public java.util.Optional<java.lang.String> getBody()
- Returns:
- The body of the article.
-
getAuthorId
public java.util.Optional<java.lang.Integer> getAuthorId()
- Returns:
- The ID of the author of the article.
-
getState
public java.util.Optional<ArticleContent.State> getState()
- Returns:
- Whether the article is
publishedor is adraft.
-
getCreatedAt
public java.util.Optional<java.lang.Integer> getCreatedAt()
- Returns:
- The time when the article was created (seconds).
-
getUpdatedAt
public java.util.Optional<java.lang.Integer> getUpdatedAt()
- Returns:
- The time when the article was last updated (seconds).
-
getUrl
public java.util.Optional<java.lang.String> getUrl()
- Returns:
- The URL of the article.
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
builder
public static ArticleContent.Builder builder()
-
-