Package com.courier.models
Class SendDirectMessage
-
- All Implemented Interfaces:
public final class SendDirectMessage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSendDirectMessage.BuilderA builder for SendDirectMessage.
-
Method Summary
Modifier and Type Method Description final StringuserId()final JsonField<String>_userId()Returns the raw JSON value of userId. final Map<String, JsonValue>_additionalProperties()final SendDirectMessage.BuildertoBuilder()final SendDirectMessagevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static SendDirectMessage.Builderbuilder()Returns a mutable builder for constructing an instance of SendDirectMessage. -
-
Method Detail
-
_userId
final JsonField<String> _userId()
Returns the raw JSON value of userId.
Unlike userId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final SendDirectMessage.Builder toBuilder()
-
validate
final SendDirectMessage 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 SendDirectMessage.Builder builder()
Returns a mutable builder for constructing an instance of SendDirectMessage.
The following fields are required:
.userId()
-
-
-
-