Class TicketingAttachment.Builder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.TicketingAttachment.Builder
-
- Enclosing class:
- TicketingAttachment
public static final class TicketingAttachment.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TicketingAttachmentbuild()TicketingAttachment.BuildercreatedAt(java.time.OffsetDateTime createdAt)The timestamp when the record was createdTicketingAttachment.BuildercreatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)The timestamp when the record was createdTicketingAttachment.BuilderfileFormat(TicketingAttachmentFileFormat fileFormat)The type of the fileTicketingAttachment.BuilderfileFormat(org.openapitools.jackson.nullable.JsonNullable<? extends TicketingAttachmentFileFormat> fileFormat)The type of the fileTicketingAttachment.BuilderfileName(java.lang.String fileName)The name of the fileTicketingAttachment.BuilderfileName(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> fileName)The name of the fileTicketingAttachment.BuilderfileUrl(java.lang.String fileUrl)The resource URL of the fileTicketingAttachment.BuilderfileUrl(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> fileUrl)The resource URL of the fileTicketingAttachment.Builderid(java.lang.String id)Unique identifierTicketingAttachment.Builderid(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)Unique identifierTicketingAttachment.BuilderremoteId(java.lang.String remoteId)Provider's unique identifierTicketingAttachment.BuilderremoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)Provider's unique identifierTicketingAttachment.Buildersize(double size)The size of the fileTicketingAttachment.Buildersize(org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> size)The size of the fileTicketingAttachment.BuilderticketId(java.lang.String ticketId)The reference ticket ID the attachment belongs toTicketingAttachment.BuilderticketId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> ticketId)The reference ticket ID the attachment belongs toTicketingAttachment.BuilderupdatedAt(java.time.OffsetDateTime updatedAt)The timestamp when the record was last updatedTicketingAttachment.BuilderupdatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)The timestamp when the record was last updatedTicketingAttachment.BuilderuserId(java.lang.String userId)The user who uploaded the fileTicketingAttachment.BuilderuserId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> userId)The user who uploaded the file
-
-
-
Method Detail
-
id
public TicketingAttachment.Builder id(java.lang.String id)
Unique identifier
-
id
public TicketingAttachment.Builder id(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
Unique identifier
-
remoteId
public TicketingAttachment.Builder remoteId(java.lang.String remoteId)
Provider's unique identifier
-
remoteId
public TicketingAttachment.Builder remoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
Provider's unique identifier
-
ticketId
public TicketingAttachment.Builder ticketId(java.lang.String ticketId)
The reference ticket ID the attachment belongs to
-
ticketId
public TicketingAttachment.Builder ticketId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> ticketId)
The reference ticket ID the attachment belongs to
-
userId
public TicketingAttachment.Builder userId(java.lang.String userId)
The user who uploaded the file
-
userId
public TicketingAttachment.Builder userId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> userId)
The user who uploaded the file
-
fileName
public TicketingAttachment.Builder fileName(java.lang.String fileName)
The name of the file
-
fileName
public TicketingAttachment.Builder fileName(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> fileName)
The name of the file
-
fileFormat
public TicketingAttachment.Builder fileFormat(TicketingAttachmentFileFormat fileFormat)
The type of the file
-
fileFormat
public TicketingAttachment.Builder fileFormat(org.openapitools.jackson.nullable.JsonNullable<? extends TicketingAttachmentFileFormat> fileFormat)
The type of the file
-
fileUrl
public TicketingAttachment.Builder fileUrl(java.lang.String fileUrl)
The resource URL of the file
-
fileUrl
public TicketingAttachment.Builder fileUrl(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> fileUrl)
The resource URL of the file
-
size
public TicketingAttachment.Builder size(double size)
The size of the file
-
size
public TicketingAttachment.Builder size(org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> size)
The size of the file
-
createdAt
public TicketingAttachment.Builder createdAt(java.time.OffsetDateTime createdAt)
The timestamp when the record was created
-
createdAt
public TicketingAttachment.Builder createdAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)
The timestamp when the record was created
-
updatedAt
public TicketingAttachment.Builder updatedAt(java.time.OffsetDateTime updatedAt)
The timestamp when the record was last updated
-
updatedAt
public TicketingAttachment.Builder updatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
The timestamp when the record was last updated
-
build
public TicketingAttachment build()
-
-