Package com.courier.models.users.tenants
Class TenantAddMultipleParams.Body.Builder
-
- All Implemented Interfaces:
public final class TenantAddMultipleParams.Body.BuilderA builder for Body.
-
-
Method Summary
Modifier and Type Method Description final TenantAddMultipleParams.Body.Buildertenants(List<TenantAssociation> tenants)final TenantAddMultipleParams.Body.Buildertenants(JsonField<List<TenantAssociation>> tenants)Sets Builder.tenants to an arbitrary JSON value. final TenantAddMultipleParams.Body.BuilderaddTenant(TenantAssociation tenant)Adds a single TenantAssociation to tenants. final TenantAddMultipleParams.Body.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final TenantAddMultipleParams.Body.BuilderputAdditionalProperty(String key, JsonValue value)final TenantAddMultipleParams.Body.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final TenantAddMultipleParams.Body.BuilderremoveAdditionalProperty(String key)final TenantAddMultipleParams.Body.BuilderremoveAllAdditionalProperties(Set<String> keys)final TenantAddMultipleParams.Bodybuild()Returns an immutable instance of Body. -
-
Method Detail
-
tenants
final TenantAddMultipleParams.Body.Builder tenants(List<TenantAssociation> tenants)
-
tenants
final TenantAddMultipleParams.Body.Builder tenants(JsonField<List<TenantAssociation>> tenants)
Sets Builder.tenants to an arbitrary JSON value.
You should usually call Builder.tenants with a well-typed
List<TenantAssociation>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addTenant
final TenantAddMultipleParams.Body.Builder addTenant(TenantAssociation tenant)
Adds a single TenantAssociation to tenants.
-
additionalProperties
final TenantAddMultipleParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final TenantAddMultipleParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final TenantAddMultipleParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final TenantAddMultipleParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final TenantAddMultipleParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final TenantAddMultipleParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.tenants()
-
-
-
-