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 Details

  • Constructor Details

  • Method Details

    • formattedNumber

      public NotificationChannelPhoneConfig formattedNumber(String formattedNumber)
    • getFormattedNumber

      public String getFormattedNumber()
      The formatted international version of Number (e.g. +33 7 1 23 45 67).
      Returns:
      formattedNumber
    • setFormattedNumber

      public void setFormattedNumber(String formattedNumber)
    • number

      public NotificationChannelPhoneConfig number(String number)
    • getNumber

      public String getNumber()
      The E-164 formatted phone number (e.g. +3371234567)
      Returns:
      number
    • setNumber

      public void setNumber(String number)
    • region

      public NotificationChannelPhoneConfig region(String region)
    • getRegion

      public String getRegion()
      The ISO 3166-1 alpha-2 two-letter country code.
      Returns:
      region
    • setRegion

      public void setRegion(String region)
    • smsSubscribedAt

      public NotificationChannelPhoneConfig smsSubscribedAt(OffsetDateTime smsSubscribedAt)
    • getSmsSubscribedAt

      @Nullable public OffsetDateTime 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

      public void setSmsSubscribedAt(OffsetDateTime smsSubscribedAt)
    • type

    • getType

      Indicates that the notification channel is a phone
      Returns:
      type
    • setType

      public void setType(NotificationChannelPhoneConfigType type)
    • verified

      public NotificationChannelPhoneConfig verified(Boolean verified)
    • getVerified

      public Boolean getVerified()
      Indicates whether this phone has been verified by the user in Datadog On-Call
      Returns:
      verified
    • setVerified

      public void setVerified(Boolean verified)
    • putAdditionalProperty

      public NotificationChannelPhoneConfig putAdditionalProperty(String key, Object value)
      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 set
      value - The associated value
      Returns:
      NotificationChannelPhoneConfig
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this NotificationChannelPhoneConfig object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object