Package com.courier.models
Class Intercom
-
- All Implemented Interfaces:
public final class Intercom
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classIntercom.BuilderA builder for Intercom.
-
Method Summary
Modifier and Type Method Description final Stringfrom()final IntercomRecipientto()final JsonField<String>_from()Returns the raw JSON value of from. final JsonField<IntercomRecipient>_to()Returns the raw JSON value of to. final Map<String, JsonValue>_additionalProperties()final Intercom.BuildertoBuilder()final Intercomvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Intercom.Builderbuilder()Returns a mutable builder for constructing an instance of Intercom. -
-
Method Detail
-
to
final IntercomRecipient to()
-
_from
final JsonField<String> _from()
Returns the raw JSON value of from.
Unlike from, this method doesn't throw if the JSON field has an unexpected type.
-
_to
final JsonField<IntercomRecipient> _to()
Returns the raw JSON value of to.
Unlike to, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final Intercom.Builder toBuilder()
-
validate
final Intercom validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static Intercom.Builder builder()
Returns a mutable builder for constructing an instance of Intercom.
The following fields are required:
.from() .to()
-
-
-
-