class
Amazonite::Sns::CheckIfPhoneNumberIsOptedOutResponse
- Amazonite::Sns::CheckIfPhoneNumberIsOptedOutResponse
- Reference
- Object
Overview
The response from the CheckIfPhoneNumberIsOptedOut action.
Defined in:
sns/check_if_phone_number_is_opted_out_response.crConstructors
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) -
#is_opted_out : Bool | Nil
Indicates whether the phone number is opted out:
-
#is_opted_out=(is_opted_out : Bool | Nil)
Indicates whether the phone number is opted out:
- #to_query_params(prefix : String) : Array(Tuple(String, String))
- #validate! : Nil
Constructor Detail
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true if this reference is the same as other. Invokes same?.
def is_opted_out : Bool | Nil
#
Indicates whether the phone number is opted out:
-
true– The phone number is opted out, meaning you cannot publish SMS messages to it. -
false– The phone number is opted in, meaning you can publish SMS messages to it.
def is_opted_out=(is_opted_out : Bool | Nil)
#
Indicates whether the phone number is opted out:
-
true– The phone number is opted out, meaning you cannot publish SMS messages to it. -
false– The phone number is opted in, meaning you can publish SMS messages to it.