Class TemplateListResponse.Item.Builder
-
- All Implemented Interfaces:
public final class TemplateListResponse.Item.BuilderA builder for Item.
-
-
Method Summary
-
-
Method Detail
-
id
final TemplateListResponse.Item.Builder id(String id)
The template's id
-
id
final TemplateListResponse.Item.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
createdAt
final TemplateListResponse.Item.Builder createdAt(String createdAt)
The timestamp at which the template was created
-
createdAt
final TemplateListResponse.Item.Builder createdAt(JsonField<String> createdAt)
Sets Builder.createdAt to an arbitrary JSON value.
You should usually call Builder.createdAt with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
publishedAt
final TemplateListResponse.Item.Builder publishedAt(String publishedAt)
The timestamp at which the template was published
-
publishedAt
final TemplateListResponse.Item.Builder publishedAt(JsonField<String> publishedAt)
Sets Builder.publishedAt to an arbitrary JSON value.
You should usually call Builder.publishedAt with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
updatedAt
final TemplateListResponse.Item.Builder updatedAt(String updatedAt)
The timestamp at which the template was last updated
-
updatedAt
final TemplateListResponse.Item.Builder updatedAt(JsonField<String> updatedAt)
Sets Builder.updatedAt to an arbitrary JSON value.
You should usually call Builder.updatedAt with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
version
final TemplateListResponse.Item.Builder version(String version)
The version of the template
-
version
final TemplateListResponse.Item.Builder version(JsonField<String> version)
Sets Builder.version to an arbitrary JSON value.
You should usually call Builder.version with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
data
final TemplateListResponse.Item.Builder data(TemplateListResponse.Item.Data data)
The template's data containing it's routing configs
-
data
final TemplateListResponse.Item.Builder data(JsonField<TemplateListResponse.Item.Data> data)
Sets Builder.data to an arbitrary JSON value.
You should usually call Builder.data with a well-typed Data value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final TemplateListResponse.Item.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final TemplateListResponse.Item.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final TemplateListResponse.Item.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final TemplateListResponse.Item.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final TemplateListResponse.Item.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final TemplateListResponse.Item build()
Returns an immutable instance of Item.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .createdAt() .publishedAt() .updatedAt() .version() .data()
-
-
-
-