Class Organization.Builder
-
- All Implemented Interfaces:
public final class Organization.BuilderA builder for Organization.
-
-
Method Summary
-
-
Method Detail
-
id
final Organization.Builder id(String id)
Unique identifier for the organization
-
id
final Organization.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 Organization.Builder name(String name)
Name of the organization
-
name
final Organization.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.
-
apiUrl
final Organization.Builder apiUrl(String apiUrl)
-
apiUrl
final Organization.Builder apiUrl(Optional<String> apiUrl)
Alias for calling Builder.apiUrl with
apiUrl.orElse(null).
-
apiUrl
final Organization.Builder apiUrl(JsonField<String> apiUrl)
Sets Builder.apiUrl to an arbitrary JSON value.
You should usually call Builder.apiUrl with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
created
final Organization.Builder created(OffsetDateTime created)
Date of organization creation
-
created
final Organization.Builder created(Optional<OffsetDateTime> created)
Alias for calling Builder.created with
created.orElse(null).
-
created
final Organization.Builder created(JsonField<OffsetDateTime> created)
Sets Builder.created to an arbitrary JSON value.
You should usually call Builder.created with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
isUniversalApi
final Organization.Builder isUniversalApi(Boolean isUniversalApi)
-
isUniversalApi
final Organization.Builder isUniversalApi(Boolean isUniversalApi)
Alias for Builder.isUniversalApi.
This unboxed primitive overload exists for backwards compatibility.
-
isUniversalApi
final Organization.Builder isUniversalApi(Optional<Boolean> isUniversalApi)
Alias for calling Builder.isUniversalApi with
isUniversalApi.orElse(null).
-
isUniversalApi
final Organization.Builder isUniversalApi(JsonField<Boolean> isUniversalApi)
Sets Builder.isUniversalApi to an arbitrary JSON value.
You should usually call Builder.isUniversalApi with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
proxyUrl
final Organization.Builder proxyUrl(String proxyUrl)
-
proxyUrl
final Organization.Builder proxyUrl(Optional<String> proxyUrl)
Alias for calling Builder.proxyUrl with
proxyUrl.orElse(null).
-
proxyUrl
final Organization.Builder proxyUrl(JsonField<String> proxyUrl)
Sets Builder.proxyUrl to an arbitrary JSON value.
You should usually call Builder.proxyUrl with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
realtimeUrl
final Organization.Builder realtimeUrl(String realtimeUrl)
-
realtimeUrl
final Organization.Builder realtimeUrl(Optional<String> realtimeUrl)
Alias for calling Builder.realtimeUrl with
realtimeUrl.orElse(null).
-
realtimeUrl
final Organization.Builder realtimeUrl(JsonField<String> realtimeUrl)
Sets Builder.realtimeUrl to an arbitrary JSON value.
You should usually call Builder.realtimeUrl 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 Organization.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final Organization.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final Organization.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final Organization.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final Organization.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final Organization build()
Returns an immutable instance of Organization.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .name()
-
-
-
-