Class UpdateInternalArticleRequestBody.Builder
- java.lang.Object
-
- com.intercom.api.resources.unstable.internalarticles.requests.UpdateInternalArticleRequestBody.Builder
-
- All Implemented Interfaces:
UpdateInternalArticleRequestBody._FinalStage,UpdateInternalArticleRequestBody.IdStage
- Enclosing class:
- UpdateInternalArticleRequestBody
public static final class UpdateInternalArticleRequestBody.Builder extends java.lang.Object implements UpdateInternalArticleRequestBody.IdStage, UpdateInternalArticleRequestBody._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateInternalArticleRequestBody._FinalStageauthorId(java.lang.Integer authorId)The id of the author of the article.UpdateInternalArticleRequestBody._FinalStageauthorId(java.util.Optional<java.lang.Integer> authorId)The id of the author of the article.UpdateInternalArticleRequestBody._FinalStagebody(java.lang.String body)The content of the article.UpdateInternalArticleRequestBody._FinalStagebody(java.util.Optional<java.lang.String> body)The content of the article.UpdateInternalArticleRequestBodybuild()UpdateInternalArticleRequestBody.Builderfrom(UpdateInternalArticleRequestBody other)UpdateInternalArticleRequestBody._FinalStageid(int id)The unique identifier for the internal article which is given by Intercom.UpdateInternalArticleRequestBody._FinalStageownerId(java.lang.Integer ownerId)The id of the author of the article.UpdateInternalArticleRequestBody._FinalStageownerId(java.util.Optional<java.lang.Integer> ownerId)The id of the author of the article.UpdateInternalArticleRequestBody._FinalStagetitle(java.lang.String title)The title of the article.UpdateInternalArticleRequestBody._FinalStagetitle(java.util.Optional<java.lang.String> title)The title of the article.
-
-
-
Method Detail
-
from
public UpdateInternalArticleRequestBody.Builder from(UpdateInternalArticleRequestBody other)
- Specified by:
fromin interfaceUpdateInternalArticleRequestBody.IdStage
-
id
public UpdateInternalArticleRequestBody._FinalStage id(int id)
The unique identifier for the internal article which is given by Intercom.
The unique identifier for the internal article which is given by Intercom.
- Specified by:
idin interfaceUpdateInternalArticleRequestBody.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
ownerId
public UpdateInternalArticleRequestBody._FinalStage ownerId(java.lang.Integer ownerId)
The id of the author of the article.
- Specified by:
ownerIdin interfaceUpdateInternalArticleRequestBody._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
ownerId
public UpdateInternalArticleRequestBody._FinalStage ownerId(java.util.Optional<java.lang.Integer> ownerId)
The id of the author of the article.
- Specified by:
ownerIdin interfaceUpdateInternalArticleRequestBody._FinalStage
-
authorId
public UpdateInternalArticleRequestBody._FinalStage authorId(java.lang.Integer authorId)
The id of the author of the article.
- Specified by:
authorIdin interfaceUpdateInternalArticleRequestBody._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
authorId
public UpdateInternalArticleRequestBody._FinalStage authorId(java.util.Optional<java.lang.Integer> authorId)
The id of the author of the article.
- Specified by:
authorIdin interfaceUpdateInternalArticleRequestBody._FinalStage
-
body
public UpdateInternalArticleRequestBody._FinalStage body(java.lang.String body)
The content of the article.
- Specified by:
bodyin interfaceUpdateInternalArticleRequestBody._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
body
public UpdateInternalArticleRequestBody._FinalStage body(java.util.Optional<java.lang.String> body)
The content of the article.
- Specified by:
bodyin interfaceUpdateInternalArticleRequestBody._FinalStage
-
title
public UpdateInternalArticleRequestBody._FinalStage title(java.lang.String title)
The title of the article.
- Specified by:
titlein interfaceUpdateInternalArticleRequestBody._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
title
public UpdateInternalArticleRequestBody._FinalStage title(java.util.Optional<java.lang.String> title)
The title of the article.
- Specified by:
titlein interfaceUpdateInternalArticleRequestBody._FinalStage
-
build
public UpdateInternalArticleRequestBody build()
- Specified by:
buildin interfaceUpdateInternalArticleRequestBody._FinalStage
-
-