Class VideoGetCharacterResponse.Builder
-
- All Implemented Interfaces:
public final class VideoGetCharacterResponse.BuilderA builder for VideoGetCharacterResponse.
-
-
Method Summary
-
-
Method Detail
-
id
final VideoGetCharacterResponse.Builder id(String id)
Identifier for the character creation cameo.
-
id
final VideoGetCharacterResponse.Builder id(Optional<String> id)
Alias for calling Builder.id with
id.orElse(null).
-
id
final VideoGetCharacterResponse.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 VideoGetCharacterResponse.Builder createdAt(Long createdAt)
Unix timestamp (in seconds) when the character was created.
-
createdAt
final VideoGetCharacterResponse.Builder createdAt(JsonField<Long> createdAt)
Sets Builder.createdAt to an arbitrary JSON value.
You should usually call Builder.createdAt with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final VideoGetCharacterResponse.Builder name(String name)
Display name for the character.
-
name
final VideoGetCharacterResponse.Builder name(Optional<String> name)
Alias for calling Builder.name with
name.orElse(null).
-
name
final VideoGetCharacterResponse.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final VideoGetCharacterResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final VideoGetCharacterResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final VideoGetCharacterResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final VideoGetCharacterResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final VideoGetCharacterResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final VideoGetCharacterResponse build()
Returns an immutable instance of VideoGetCharacterResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .createdAt() .name()
-
-
-
-