Class NotificationChannelPushConfig

java.lang.Object
com.datadog.api.client.v2.model.NotificationChannelPushConfig

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class NotificationChannelPushConfig extends Object
Push notification channel configuration
  • Field Details

  • Constructor Details

    • NotificationChannelPushConfig

      public NotificationChannelPushConfig()
    • NotificationChannelPushConfig

      public NotificationChannelPushConfig(String applicationName, String deviceName, NotificationChannelPushConfigType type)
  • Method Details

    • applicationName

      public NotificationChannelPushConfig applicationName(String applicationName)
    • getApplicationName

      public String getApplicationName()
      The name of the application used to receive push notifications
      Returns:
      applicationName
    • setApplicationName

      public void setApplicationName(String applicationName)
    • deviceName

      public NotificationChannelPushConfig deviceName(String deviceName)
    • getDeviceName

      public String getDeviceName()
      The name of the mobile device being used
      Returns:
      deviceName
    • setDeviceName

      public void setDeviceName(String deviceName)
    • type

    • getType

      Indicates that the notification channel is a mobile device for push notifications
      Returns:
      type
    • setType

      public void setType(NotificationChannelPushConfigType type)
    • putAdditionalProperty

      public NotificationChannelPushConfig 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:
      NotificationChannelPushConfig
    • 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 NotificationChannelPushConfig 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