Package com.courier.models.inbound
Class InboundTrackEventResponse.Builder
-
- All Implemented Interfaces:
public final class InboundTrackEventResponse.BuilderA builder for InboundTrackEventResponse.
-
-
Method Summary
Modifier and Type Method Description final InboundTrackEventResponse.BuildermessageId(String messageId)A successful call returns a 202status code along with arequestIdin the response body.final InboundTrackEventResponse.BuildermessageId(JsonField<String> messageId)Sets Builder.messageId to an arbitrary JSON value. final InboundTrackEventResponse.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final InboundTrackEventResponse.BuilderputAdditionalProperty(String key, JsonValue value)final InboundTrackEventResponse.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final InboundTrackEventResponse.BuilderremoveAdditionalProperty(String key)final InboundTrackEventResponse.BuilderremoveAllAdditionalProperties(Set<String> keys)final InboundTrackEventResponsebuild()Returns an immutable instance of InboundTrackEventResponse. -
-
Method Detail
-
messageId
final InboundTrackEventResponse.Builder messageId(String messageId)
A successful call returns a
202status code along with arequestIdin the response body.
-
messageId
final InboundTrackEventResponse.Builder messageId(JsonField<String> messageId)
Sets Builder.messageId to an arbitrary JSON value.
You should usually call Builder.messageId 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 InboundTrackEventResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final InboundTrackEventResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final InboundTrackEventResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final InboundTrackEventResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final InboundTrackEventResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final InboundTrackEventResponse build()
Returns an immutable instance of InboundTrackEventResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.messageId()
-
-
-
-