Package com.courier.models
Class SendToChannel.Builder
-
- All Implemented Interfaces:
public final class SendToChannel.BuilderA builder for SendToChannel.
-
-
Method Summary
Modifier and Type Method Description final SendToChannel.BuilderchannelId(String channelId)final SendToChannel.BuilderchannelId(JsonField<String> channelId)Sets Builder.channelId to an arbitrary JSON value. final SendToChannel.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final SendToChannel.BuilderputAdditionalProperty(String key, JsonValue value)final SendToChannel.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final SendToChannel.BuilderremoveAdditionalProperty(String key)final SendToChannel.BuilderremoveAllAdditionalProperties(Set<String> keys)final SendToChannelbuild()Returns an immutable instance of SendToChannel. -
-
Method Detail
-
channelId
final SendToChannel.Builder channelId(String channelId)
-
channelId
final SendToChannel.Builder channelId(JsonField<String> channelId)
Sets Builder.channelId to an arbitrary JSON value.
You should usually call Builder.channelId 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 SendToChannel.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final SendToChannel.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final SendToChannel.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final SendToChannel.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final SendToChannel.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final SendToChannel build()
Returns an immutable instance of SendToChannel.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.channelId()
-
-
-
-