Package com.datadog.api.client.v2.model
Class NotificationChannelPhoneConfig
java.lang.Object
com.datadog.api.client.v2.model.NotificationChannelPhoneConfig
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class NotificationChannelPhoneConfig
extends Object
Phone notification channel configuration
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNotificationChannelPhoneConfig(String formattedNumber, String number, String region, NotificationChannelPhoneConfigType type, Boolean verified) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this NotificationChannelPhoneConfig object is equal to o.formattedNumber(String formattedNumber) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The formatted international version of Number (e.g.The E-164 formatted phone number (e.g.The ISO 3166-1 alpha-2 two-letter country code.If present, the date the user subscribed this number to SMS messagesorg.openapitools.jackson.nullable.JsonNullable<OffsetDateTime>getType()Indicates that the notification channel is a phoneIndicates whether this phone has been verified by the user in Datadog On-CallinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetFormattedNumber(String formattedNumber) voidvoidvoidsetSmsSubscribedAt(OffsetDateTime smsSubscribedAt) voidsetSmsSubscribedAt_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> smsSubscribedAt) voidvoidsetVerified(Boolean verified) smsSubscribedAt(OffsetDateTime smsSubscribedAt) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_FORMATTED_NUMBER
- See Also:
-
JSON_PROPERTY_NUMBER
- See Also:
-
JSON_PROPERTY_REGION
- See Also:
-
JSON_PROPERTY_SMS_SUBSCRIBED_AT
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_VERIFIED
- See Also:
-
-
Constructor Details
-
NotificationChannelPhoneConfig
public NotificationChannelPhoneConfig() -
NotificationChannelPhoneConfig
public NotificationChannelPhoneConfig(String formattedNumber, String number, String region, NotificationChannelPhoneConfigType type, Boolean verified)
-
-
Method Details
-
formattedNumber
-
getFormattedNumber
The formatted international version of Number (e.g. +33 7 1 23 45 67).- Returns:
- formattedNumber
-
setFormattedNumber
-
number
-
getNumber
The E-164 formatted phone number (e.g. +3371234567)- Returns:
- number
-
setNumber
-
region
-
getRegion
The ISO 3166-1 alpha-2 two-letter country code.- Returns:
- region
-
setRegion
-
smsSubscribedAt
-
getSmsSubscribedAt
If present, the date the user subscribed this number to SMS messages- Returns:
- smsSubscribedAt
-
getSmsSubscribedAt_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getSmsSubscribedAt_JsonNullable() -
setSmsSubscribedAt_JsonNullable
public void setSmsSubscribedAt_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> smsSubscribedAt) -
setSmsSubscribedAt
-
type
-
getType
Indicates that the notification channel is a phone- Returns:
- type
-
setType
-
verified
-
getVerified
Indicates whether this phone has been verified by the user in Datadog On-Call- Returns:
- verified
-
setVerified
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- NotificationChannelPhoneConfig
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this NotificationChannelPhoneConfig object is equal to o. -
hashCode
public int hashCode() -
toString
-