Package com.intercom.api.types
Class LinkedObject.Builder
- java.lang.Object
-
- com.intercom.api.types.LinkedObject.Builder
-
- All Implemented Interfaces:
LinkedObject._FinalStage,LinkedObject.IdStage,LinkedObject.TypeStage
- Enclosing class:
- LinkedObject
public static final class LinkedObject.Builder extends java.lang.Object implements LinkedObject.TypeStage, LinkedObject.IdStage, LinkedObject._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LinkedObjectbuild()LinkedObject._FinalStagecategory(java.lang.String category)Category of the Linked Ticket Object.LinkedObject._FinalStagecategory(java.util.Optional<java.lang.String> category)Category of the Linked Ticket Object.LinkedObject.Builderfrom(LinkedObject other)LinkedObject._FinalStageid(java.lang.String id)The ID of the linked objectLinkedObject.IdStagetype(LinkedObject.Type type)ticket or conversation
-
-
-
Method Detail
-
from
public LinkedObject.Builder from(LinkedObject other)
- Specified by:
fromin interfaceLinkedObject.TypeStage
-
type
public LinkedObject.IdStage type(@NotNull LinkedObject.Type type)
ticket or conversationticket or conversation
- Specified by:
typein interfaceLinkedObject.TypeStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
id
public LinkedObject._FinalStage id(@NotNull java.lang.String id)
The ID of the linked objectThe ID of the linked object
- Specified by:
idin interfaceLinkedObject.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
category
public LinkedObject._FinalStage category(java.lang.String category)
Category of the Linked Ticket Object.
- Specified by:
categoryin interfaceLinkedObject._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
category
public LinkedObject._FinalStage category(java.util.Optional<java.lang.String> category)
Category of the Linked Ticket Object.
- Specified by:
categoryin interfaceLinkedObject._FinalStage
-
build
public LinkedObject build()
- Specified by:
buildin interfaceLinkedObject._FinalStage
-
-