public class CheckIfPhoneNumberIsOptedOutResult extends Object implements Serializable
The response from the CheckIfPhoneNumberIsOptedOut action.
| Constructor and Description |
|---|
CheckIfPhoneNumberIsOptedOutResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Boolean |
getIsOptedOut()
Indicates whether the phone number is opted out:
|
int |
hashCode() |
Boolean |
isIsOptedOut()
Indicates whether the phone number is opted out:
|
void |
setIsOptedOut(Boolean isOptedOut)
Indicates whether the phone number is opted out:
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CheckIfPhoneNumberIsOptedOutResult |
withIsOptedOut(Boolean isOptedOut)
Indicates whether the phone number is opted out:
|
public Boolean isIsOptedOut()
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.
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.
public Boolean getIsOptedOut()
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.
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.
public void setIsOptedOut(Boolean isOptedOut)
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.
isOptedOut - 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.
public CheckIfPhoneNumberIsOptedOutResult withIsOptedOut(Boolean isOptedOut)
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.
Returns a reference to this object so that method calls can be chained together.
isOptedOut - 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.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.