Class InternalArticleListItem.Builder
- java.lang.Object
-
- com.intercom.api.resources.unstable.internalarticles.types.InternalArticleListItem.Builder
-
- Enclosing class:
- InternalArticleListItem
public static final class InternalArticleListItem.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InternalArticleListItem.BuilderauthorId(java.lang.Integer authorId)InternalArticleListItem.BuilderauthorId(java.util.Optional<java.lang.Integer> authorId)The id of the author of the article.InternalArticleListItem.Builderbody(java.lang.String body)InternalArticleListItem.Builderbody(java.util.Optional<java.lang.String> body)The body of the article in HTML.InternalArticleListItembuild()InternalArticleListItem.BuildercreatedAt(java.lang.Integer createdAt)InternalArticleListItem.BuildercreatedAt(java.util.Optional<java.lang.Integer> createdAt)The time when the article was created.InternalArticleListItem.Builderfrom(InternalArticleListItem other)InternalArticleListItem.Builderid(java.lang.String id)InternalArticleListItem.Builderid(java.util.Optional<java.lang.String> id)The unique identifier for the article which is given by Intercom.InternalArticleListItem.Builderlocale(java.lang.String locale)InternalArticleListItem.Builderlocale(java.util.Optional<java.lang.String> locale)The default locale of the article.InternalArticleListItem.BuilderownerId(java.lang.Integer ownerId)InternalArticleListItem.BuilderownerId(java.util.Optional<java.lang.Integer> ownerId)The id of the owner of the article.InternalArticleListItem.Buildertitle(java.lang.String title)InternalArticleListItem.Buildertitle(java.util.Optional<java.lang.String> title)The title of the article.InternalArticleListItem.Buildertype(java.lang.String type)InternalArticleListItem.Buildertype(java.util.Optional<java.lang.String> type)The type of object -internal_article.InternalArticleListItem.BuilderupdatedAt(java.lang.Integer updatedAt)InternalArticleListItem.BuilderupdatedAt(java.util.Optional<java.lang.Integer> updatedAt)The time when the article was last updated.
-
-
-
Method Detail
-
from
public InternalArticleListItem.Builder from(InternalArticleListItem other)
-
type
public InternalArticleListItem.Builder type(java.util.Optional<java.lang.String> type)
The type of object -
internal_article.
-
type
public InternalArticleListItem.Builder type(java.lang.String type)
-
id
public InternalArticleListItem.Builder id(java.util.Optional<java.lang.String> id)
The unique identifier for the article which is given by Intercom.
-
id
public InternalArticleListItem.Builder id(java.lang.String id)
-
title
public InternalArticleListItem.Builder title(java.util.Optional<java.lang.String> title)
The title of the article.
-
title
public InternalArticleListItem.Builder title(java.lang.String title)
-
body
public InternalArticleListItem.Builder body(java.util.Optional<java.lang.String> body)
The body of the article in HTML.
-
body
public InternalArticleListItem.Builder body(java.lang.String body)
-
ownerId
public InternalArticleListItem.Builder ownerId(java.util.Optional<java.lang.Integer> ownerId)
The id of the owner of the article.
-
ownerId
public InternalArticleListItem.Builder ownerId(java.lang.Integer ownerId)
-
authorId
public InternalArticleListItem.Builder authorId(java.util.Optional<java.lang.Integer> authorId)
The id of the author of the article.
-
authorId
public InternalArticleListItem.Builder authorId(java.lang.Integer authorId)
-
createdAt
public InternalArticleListItem.Builder createdAt(java.util.Optional<java.lang.Integer> createdAt)
The time when the article was created.
-
createdAt
public InternalArticleListItem.Builder createdAt(java.lang.Integer createdAt)
-
updatedAt
public InternalArticleListItem.Builder updatedAt(java.util.Optional<java.lang.Integer> updatedAt)
The time when the article was last updated.
-
updatedAt
public InternalArticleListItem.Builder updatedAt(java.lang.Integer updatedAt)
-
locale
public InternalArticleListItem.Builder locale(java.util.Optional<java.lang.String> locale)
The default locale of the article.
-
locale
public InternalArticleListItem.Builder locale(java.lang.String locale)
-
build
public InternalArticleListItem build()
-
-