Class ContentBlock.Builder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.ContentBlock.Builder
-
- Enclosing class:
- ContentBlock
public static final class ContentBlock.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentBlockbuild()ContentBlock.Buildercontent(java.lang.String content)ContentBlock.Buildercontent(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> content)ContentBlock.BuildercreatedAt(java.time.OffsetDateTime createdAt)Date of creationContentBlock.BuildercreatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)Date of creationContentBlock.Builderid(java.lang.String id)Unique identifierContentBlock.Builderid(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)Unique identifierContentBlock.Buildername(java.lang.String name)ContentBlock.Buildername(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)ContentBlock.BuilderremoteId(java.lang.String remoteId)Provider's unique identifierContentBlock.BuilderremoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)Provider's unique identifierContentBlock.Builderstatus(ContentBlockStatus status)Stackone enum identifying the status of content block.ContentBlock.Builderstatus(org.openapitools.jackson.nullable.JsonNullable<? extends ContentBlockStatus> status)Stackone enum identifying the status of content block.ContentBlock.Buildertags(java.util.List<java.lang.String> tags)ContentBlock.Buildertags(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> tags)ContentBlock.Buildertype(ContentBlockType type)Stackone enum identifying the type of content block.ContentBlock.Buildertype(org.openapitools.jackson.nullable.JsonNullable<? extends ContentBlockType> type)Stackone enum identifying the type of content block.ContentBlock.BuilderupdatedAt(java.time.OffsetDateTime updatedAt)Date of last updateContentBlock.BuilderupdatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)Date of last update
-
-
-
Method Detail
-
id
public ContentBlock.Builder id(java.lang.String id)
Unique identifier
-
id
public ContentBlock.Builder id(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
Unique identifier
-
remoteId
public ContentBlock.Builder remoteId(java.lang.String remoteId)
Provider's unique identifier
-
remoteId
public ContentBlock.Builder remoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
Provider's unique identifier
-
name
public ContentBlock.Builder name(java.lang.String name)
-
name
public ContentBlock.Builder name(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)
-
tags
public ContentBlock.Builder tags(java.util.List<java.lang.String> tags)
-
tags
public ContentBlock.Builder tags(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> tags)
-
content
public ContentBlock.Builder content(java.lang.String content)
-
content
public ContentBlock.Builder content(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> content)
-
type
public ContentBlock.Builder type(ContentBlockType type)
Stackone enum identifying the type of content block.
-
type
public ContentBlock.Builder type(org.openapitools.jackson.nullable.JsonNullable<? extends ContentBlockType> type)
Stackone enum identifying the type of content block.
-
status
public ContentBlock.Builder status(ContentBlockStatus status)
Stackone enum identifying the status of content block.
-
status
public ContentBlock.Builder status(org.openapitools.jackson.nullable.JsonNullable<? extends ContentBlockStatus> status)
Stackone enum identifying the status of content block.
-
createdAt
public ContentBlock.Builder createdAt(java.time.OffsetDateTime createdAt)
Date of creation
-
createdAt
public ContentBlock.Builder createdAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)
Date of creation
-
updatedAt
public ContentBlock.Builder updatedAt(java.time.OffsetDateTime updatedAt)
Date of last update
-
updatedAt
public ContentBlock.Builder updatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
Date of last update
-
build
public ContentBlock build()
-
-