Class BetaOrganization.Builder
-
- All Implemented Interfaces:
public final class BetaOrganization.BuilderA builder for BetaOrganization.
-
-
Method Summary
Modifier and Type Method Description final BetaOrganization.Builderid(String id)ID of the Organization. final BetaOrganization.Builderid(JsonField<String> id)Sets Builder.id to an arbitrary JSON value. final BetaOrganization.Buildername(String name)Name of the Organization. final BetaOrganization.Buildername(JsonField<String> name)Sets Builder.name to an arbitrary JSON value. final BetaOrganization.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final BetaOrganization.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final BetaOrganization.BuilderputAdditionalProperty(String key, JsonValue value)final BetaOrganization.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final BetaOrganization.BuilderremoveAdditionalProperty(String key)final BetaOrganization.BuilderremoveAllAdditionalProperties(Set<String> keys)final BetaOrganizationbuild()Returns an immutable instance of BetaOrganization. -
-
Method Detail
-
id
final BetaOrganization.Builder id(String id)
ID of the Organization.
-
id
final BetaOrganization.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.
-
name
final BetaOrganization.Builder name(String name)
Name of the Organization.
-
name
final BetaOrganization.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.
-
type
final BetaOrganization.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("organization")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaOrganization.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaOrganization.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaOrganization.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaOrganization.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaOrganization.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaOrganization build()
Returns an immutable instance of BetaOrganization.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .name()
-
-
-
-