@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class NotificationChannelPhoneConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_FORMATTED_NUMBER |
static String |
JSON_PROPERTY_NUMBER |
static String |
JSON_PROPERTY_REGION |
static String |
JSON_PROPERTY_SMS_SUBSCRIBED_AT |
static String |
JSON_PROPERTY_TYPE |
static String |
JSON_PROPERTY_VERIFIED |
boolean |
unparsed |
| Constructor and Description |
|---|
NotificationChannelPhoneConfig() |
NotificationChannelPhoneConfig(String formattedNumber,
String number,
String region,
NotificationChannelPhoneConfigType type,
Boolean verified) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this NotificationChannelPhoneConfig object is equal to o.
|
NotificationChannelPhoneConfig |
formattedNumber(String formattedNumber) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getFormattedNumber()
The formatted international version of Number (e.g.
|
String |
getNumber()
The E-164 formatted phone number (e.g.
|
String |
getRegion()
The ISO 3166-1 alpha-2 two-letter country code.
|
org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> |
getSmsSubscribedAt_JsonNullable() |
OffsetDateTime |
getSmsSubscribedAt()
If present, the date the user subscribed this number to SMS messages
|
NotificationChannelPhoneConfigType |
getType()
Indicates that the notification channel is a phone
|
Boolean |
getVerified()
Indicates whether this phone has been verified by the user in Datadog On-Call
|
int |
hashCode() |
NotificationChannelPhoneConfig |
number(String number) |
NotificationChannelPhoneConfig |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
NotificationChannelPhoneConfig |
region(String region) |
void |
setFormattedNumber(String formattedNumber) |
void |
setNumber(String number) |
void |
setRegion(String region) |
void |
setSmsSubscribedAt_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> smsSubscribedAt) |
void |
setSmsSubscribedAt(OffsetDateTime smsSubscribedAt) |
void |
setType(NotificationChannelPhoneConfigType type) |
void |
setVerified(Boolean verified) |
NotificationChannelPhoneConfig |
smsSubscribedAt(OffsetDateTime smsSubscribedAt) |
String |
toString() |
NotificationChannelPhoneConfig |
type(NotificationChannelPhoneConfigType type) |
NotificationChannelPhoneConfig |
verified(Boolean verified) |
public boolean unparsed
public static final String JSON_PROPERTY_FORMATTED_NUMBER
public static final String JSON_PROPERTY_NUMBER
public static final String JSON_PROPERTY_REGION
public static final String JSON_PROPERTY_SMS_SUBSCRIBED_AT
public static final String JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_VERIFIED
public NotificationChannelPhoneConfig()
public NotificationChannelPhoneConfig(String formattedNumber, String number, String region, NotificationChannelPhoneConfigType type, Boolean verified)
public NotificationChannelPhoneConfig formattedNumber(String formattedNumber)
public String getFormattedNumber()
public void setFormattedNumber(String formattedNumber)
public NotificationChannelPhoneConfig number(String number)
public String getNumber()
public void setNumber(String number)
public NotificationChannelPhoneConfig region(String region)
public String getRegion()
public void setRegion(String region)
public NotificationChannelPhoneConfig smsSubscribedAt(OffsetDateTime smsSubscribedAt)
@Nullable public OffsetDateTime getSmsSubscribedAt()
public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getSmsSubscribedAt_JsonNullable()
public void setSmsSubscribedAt_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> smsSubscribedAt)
public void setSmsSubscribedAt(OffsetDateTime smsSubscribedAt)
public NotificationChannelPhoneConfig type(NotificationChannelPhoneConfigType type)
public NotificationChannelPhoneConfigType getType()
public void setType(NotificationChannelPhoneConfigType type)
public NotificationChannelPhoneConfig verified(Boolean verified)
public Boolean getVerified()
public void setVerified(Boolean verified)
public NotificationChannelPhoneConfig putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.