Package com.intercom.api.types
Class ArticleContent.Builder
java.lang.Object
com.intercom.api.types.ArticleContent.Builder
- All Implemented Interfaces:
ArticleContent._FinalStage,ArticleContent.AuthorIdStage,ArticleContent.BodyStage,ArticleContent.DescriptionStage,ArticleContent.StateStage,ArticleContent.TitleStage
- Enclosing class:
ArticleContent
public static final class ArticleContent.Builder
extends Object
implements ArticleContent.TitleStage, ArticleContent.DescriptionStage, ArticleContent.BodyStage, ArticleContent.AuthorIdStage, ArticleContent.StateStage, ArticleContent._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionauthorId(int authorId) The ID of the author of the article.The body of the article.build()The time when the article was created (seconds).description(String description) The description of the article.from(ArticleContent other) state(ArticleContent.State state) Whether the article ispublishedor is adraft.The title of the article.The time when the article was last updated (seconds).The URL of the article.
-
Method Details
-
from
- Specified by:
fromin interfaceArticleContent.TitleStage
-
title
The title of the article.
- Specified by:
titlein interfaceArticleContent.TitleStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
description
The description of the article.
- Specified by:
descriptionin interfaceArticleContent.DescriptionStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
body
The body of the article.
- Specified by:
bodyin interfaceArticleContent.BodyStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
authorId
The ID of the author of the article.
- Specified by:
authorIdin interfaceArticleContent.AuthorIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
state
Whether the article is
publishedor is adraft.- Specified by:
statein interfaceArticleContent.StateStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
url
The URL of the article.
- Specified by:
urlin interfaceArticleContent._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
url
- Specified by:
urlin interfaceArticleContent._FinalStage
-
updatedAt
The time when the article was last updated (seconds).
- Specified by:
updatedAtin interfaceArticleContent._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
updatedAt
- Specified by:
updatedAtin interfaceArticleContent._FinalStage
-
createdAt
The time when the article was created (seconds).
- Specified by:
createdAtin interfaceArticleContent._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
createdAt
- Specified by:
createdAtin interfaceArticleContent._FinalStage
-
build
- Specified by:
buildin interfaceArticleContent._FinalStage
-