Class TicketTypeAttribute.Builder
- java.lang.Object
-
- com.intercom.api.types.TicketTypeAttribute.Builder
-
- Enclosing class:
- TicketTypeAttribute
public static final class TicketTypeAttribute.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TicketTypeAttribute.Builderarchived(java.lang.Boolean archived)TicketTypeAttribute.Builderarchived(java.util.Optional<java.lang.Boolean> archived)Whether the ticket type attribute is archived or not.TicketTypeAttributebuild()TicketTypeAttribute.BuildercreatedAt(java.lang.Integer createdAt)TicketTypeAttribute.BuildercreatedAt(java.util.Optional<java.lang.Integer> createdAt)The date and time the ticket type attribute was created.TicketTypeAttribute.BuilderdataType(TicketTypeAttribute.DataType dataType)TicketTypeAttribute.BuilderdataType(java.util.Optional<TicketTypeAttribute.DataType> dataType)The type of the data attribute (allowed values: "string list integer decimal boolean datetime files")TicketTypeAttribute.Builderdefault_(java.lang.Boolean default_)TicketTypeAttribute.Builderdefault_(java.util.Optional<java.lang.Boolean> default_)Whether the attribute is built in or not.TicketTypeAttribute.Builderdescription(java.lang.String description)TicketTypeAttribute.Builderdescription(java.util.Optional<java.lang.String> description)The description of the ticket type attributeTicketTypeAttribute.Builderfrom(TicketTypeAttribute other)TicketTypeAttribute.Builderid(java.lang.String id)TicketTypeAttribute.Builderid(java.util.Optional<java.lang.String> id)The id representing the ticket type attribute.TicketTypeAttribute.BuilderinputOptions(java.util.Map<java.lang.String,java.lang.Object> inputOptions)TicketTypeAttribute.BuilderinputOptions(java.util.Optional<java.util.Map<java.lang.String,java.lang.Object>> inputOptions)Input options for the attributeTicketTypeAttribute.Buildername(java.lang.String name)TicketTypeAttribute.Buildername(java.util.Optional<java.lang.String> name)The name of the ticket type attributeTicketTypeAttribute.Builderorder(java.lang.Integer order)TicketTypeAttribute.Builderorder(java.util.Optional<java.lang.Integer> order)The order of the attribute against other attributesTicketTypeAttribute.BuilderrequiredToCreate(java.lang.Boolean requiredToCreate)TicketTypeAttribute.BuilderrequiredToCreate(java.util.Optional<java.lang.Boolean> requiredToCreate)Whether the attribute is required or not for teammates.TicketTypeAttribute.BuilderrequiredToCreateForContacts(java.lang.Boolean requiredToCreateForContacts)TicketTypeAttribute.BuilderrequiredToCreateForContacts(java.util.Optional<java.lang.Boolean> requiredToCreateForContacts)Whether the attribute is required or not for contacts.TicketTypeAttribute.BuilderticketTypeId(java.lang.Integer ticketTypeId)TicketTypeAttribute.BuilderticketTypeId(java.util.Optional<java.lang.Integer> ticketTypeId)The id of the ticket type that the attribute belongs to.TicketTypeAttribute.Buildertype(java.lang.String type)TicketTypeAttribute.Buildertype(java.util.Optional<java.lang.String> type)String representing the object's type.TicketTypeAttribute.BuilderupdatedAt(java.lang.Integer updatedAt)TicketTypeAttribute.BuilderupdatedAt(java.util.Optional<java.lang.Integer> updatedAt)The date and time the ticket type attribute was last updated.TicketTypeAttribute.BuildervisibleOnCreate(java.lang.Boolean visibleOnCreate)TicketTypeAttribute.BuildervisibleOnCreate(java.util.Optional<java.lang.Boolean> visibleOnCreate)Whether the attribute is visible or not to teammates.TicketTypeAttribute.BuildervisibleToContacts(java.lang.Boolean visibleToContacts)TicketTypeAttribute.BuildervisibleToContacts(java.util.Optional<java.lang.Boolean> visibleToContacts)Whether the attribute is visible or not to contacts.TicketTypeAttribute.BuilderworkspaceId(java.lang.String workspaceId)TicketTypeAttribute.BuilderworkspaceId(java.util.Optional<java.lang.String> workspaceId)The id of the workspace that the ticket type attribute belongs to.
-
-
-
Method Detail
-
from
public TicketTypeAttribute.Builder from(TicketTypeAttribute other)
-
type
public TicketTypeAttribute.Builder type(java.util.Optional<java.lang.String> type)
String representing the object's type. Always has the value
ticket_type_attribute.
-
type
public TicketTypeAttribute.Builder type(java.lang.String type)
-
id
public TicketTypeAttribute.Builder id(java.util.Optional<java.lang.String> id)
The id representing the ticket type attribute.
-
id
public TicketTypeAttribute.Builder id(java.lang.String id)
-
workspaceId
public TicketTypeAttribute.Builder workspaceId(java.util.Optional<java.lang.String> workspaceId)
The id of the workspace that the ticket type attribute belongs to.
-
workspaceId
public TicketTypeAttribute.Builder workspaceId(java.lang.String workspaceId)
-
name
public TicketTypeAttribute.Builder name(java.util.Optional<java.lang.String> name)
The name of the ticket type attribute
-
name
public TicketTypeAttribute.Builder name(java.lang.String name)
-
description
public TicketTypeAttribute.Builder description(java.util.Optional<java.lang.String> description)
The description of the ticket type attribute
-
description
public TicketTypeAttribute.Builder description(java.lang.String description)
-
dataType
public TicketTypeAttribute.Builder dataType(java.util.Optional<TicketTypeAttribute.DataType> dataType)
The type of the data attribute (allowed values: "string list integer decimal boolean datetime files")
-
dataType
public TicketTypeAttribute.Builder dataType(TicketTypeAttribute.DataType dataType)
-
inputOptions
public TicketTypeAttribute.Builder inputOptions(java.util.Optional<java.util.Map<java.lang.String,java.lang.Object>> inputOptions)
Input options for the attribute
-
inputOptions
public TicketTypeAttribute.Builder inputOptions(java.util.Map<java.lang.String,java.lang.Object> inputOptions)
-
order
public TicketTypeAttribute.Builder order(java.util.Optional<java.lang.Integer> order)
The order of the attribute against other attributes
-
order
public TicketTypeAttribute.Builder order(java.lang.Integer order)
-
requiredToCreate
public TicketTypeAttribute.Builder requiredToCreate(java.util.Optional<java.lang.Boolean> requiredToCreate)
Whether the attribute is required or not for teammates.
-
requiredToCreate
public TicketTypeAttribute.Builder requiredToCreate(java.lang.Boolean requiredToCreate)
-
requiredToCreateForContacts
public TicketTypeAttribute.Builder requiredToCreateForContacts(java.util.Optional<java.lang.Boolean> requiredToCreateForContacts)
Whether the attribute is required or not for contacts.
-
requiredToCreateForContacts
public TicketTypeAttribute.Builder requiredToCreateForContacts(java.lang.Boolean requiredToCreateForContacts)
-
visibleOnCreate
public TicketTypeAttribute.Builder visibleOnCreate(java.util.Optional<java.lang.Boolean> visibleOnCreate)
Whether the attribute is visible or not to teammates.
-
visibleOnCreate
public TicketTypeAttribute.Builder visibleOnCreate(java.lang.Boolean visibleOnCreate)
-
visibleToContacts
public TicketTypeAttribute.Builder visibleToContacts(java.util.Optional<java.lang.Boolean> visibleToContacts)
Whether the attribute is visible or not to contacts.
-
visibleToContacts
public TicketTypeAttribute.Builder visibleToContacts(java.lang.Boolean visibleToContacts)
-
default_
public TicketTypeAttribute.Builder default_(java.util.Optional<java.lang.Boolean> default_)
Whether the attribute is built in or not.
-
default_
public TicketTypeAttribute.Builder default_(java.lang.Boolean default_)
-
ticketTypeId
public TicketTypeAttribute.Builder ticketTypeId(java.util.Optional<java.lang.Integer> ticketTypeId)
The id of the ticket type that the attribute belongs to.
-
ticketTypeId
public TicketTypeAttribute.Builder ticketTypeId(java.lang.Integer ticketTypeId)
-
archived
public TicketTypeAttribute.Builder archived(java.util.Optional<java.lang.Boolean> archived)
Whether the ticket type attribute is archived or not.
-
archived
public TicketTypeAttribute.Builder archived(java.lang.Boolean archived)
-
createdAt
public TicketTypeAttribute.Builder createdAt(java.util.Optional<java.lang.Integer> createdAt)
The date and time the ticket type attribute was created.
-
createdAt
public TicketTypeAttribute.Builder createdAt(java.lang.Integer createdAt)
-
updatedAt
public TicketTypeAttribute.Builder updatedAt(java.util.Optional<java.lang.Integer> updatedAt)
The date and time the ticket type attribute was last updated.
-
updatedAt
public TicketTypeAttribute.Builder updatedAt(java.lang.Integer updatedAt)
-
build
public TicketTypeAttribute build()
-
-