Class UpdateNewsItemRequest.Builder
- java.lang.Object
-
- com.intercom.api.resources.unstable.news.requests.UpdateNewsItemRequest.Builder
-
- All Implemented Interfaces:
UpdateNewsItemRequest._FinalStage,UpdateNewsItemRequest.BodyStage,UpdateNewsItemRequest.IdStage
- Enclosing class:
- UpdateNewsItemRequest
public static final class UpdateNewsItemRequest.Builder extends java.lang.Object implements UpdateNewsItemRequest.IdStage, UpdateNewsItemRequest.BodyStage, UpdateNewsItemRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateNewsItemRequest._FinalStagebody(NewsItemRequest body)UpdateNewsItemRequestbuild()UpdateNewsItemRequest.Builderfrom(UpdateNewsItemRequest other)UpdateNewsItemRequest.BodyStageid(int id)The unique identifier for the news item which is given by Intercom.
-
-
-
Method Detail
-
from
public UpdateNewsItemRequest.Builder from(UpdateNewsItemRequest other)
- Specified by:
fromin interfaceUpdateNewsItemRequest.IdStage
-
id
public UpdateNewsItemRequest.BodyStage id(int id)
The unique identifier for the news item which is given by Intercom.
The unique identifier for the news item which is given by Intercom.
- Specified by:
idin interfaceUpdateNewsItemRequest.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
body
public UpdateNewsItemRequest._FinalStage body(@NotNull NewsItemRequest body)
- Specified by:
bodyin interfaceUpdateNewsItemRequest.BodyStage
-
build
public UpdateNewsItemRequest build()
- Specified by:
buildin interfaceUpdateNewsItemRequest._FinalStage
-
-