Package app.knock.api.models.messages
Class MessageGetContentResponse.Data.MessageSmsContent
-
- All Implemented Interfaces:
public final class MessageGetContentResponse.Data.MessageSmsContentThe content of an SMS message.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classMessageGetContentResponse.Data.MessageSmsContent.BuilderA builder for MessageSmsContent.
-
Method Summary
Modifier and Type Method Description final String_typename()The typename of the schema. final Stringbody()The content body of the SMS message. final Stringto()The phone number the SMS was sent to. final JsonField<String>__typename()Returns the raw JSON value of _typename. final JsonField<String>_body()Returns the raw JSON value of body. final JsonField<String>_to()Returns the raw JSON value of to. final Map<String, JsonValue>_additionalProperties()final MessageGetContentResponse.Data.MessageSmsContent.BuildertoBuilder()final MessageGetContentResponse.Data.MessageSmsContentvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static MessageGetContentResponse.Data.MessageSmsContent.Builderbuilder()Returns a mutable builder for constructing an instance of MessageSmsContent. -
-
Method Detail
-
__typename
final JsonField<String> __typename()
Returns the raw JSON value of _typename.
Unlike _typename, this method doesn't throw if the JSON field has an unexpected type.
-
_body
final JsonField<String> _body()
Returns the raw JSON value of body.
Unlike body, this method doesn't throw if the JSON field has an unexpected type.
-
_to
final JsonField<String> _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 MessageGetContentResponse.Data.MessageSmsContent.Builder toBuilder()
-
validate
final MessageGetContentResponse.Data.MessageSmsContent validate()
-
builder
final static MessageGetContentResponse.Data.MessageSmsContent.Builder builder()
Returns a mutable builder for constructing an instance of MessageSmsContent.
The following fields are required:
._typename() .body() .to()
-
-
-
-