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