Package com.datadog.api.client.v2.model
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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNotificationChannelPushConfig(String applicationName, String deviceName, NotificationChannelPushConfigType type) -
Method Summary
Modifier and TypeMethodDescriptionapplicationName(String applicationName) deviceName(String deviceName) booleanReturn true if this NotificationChannelPushConfig object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The name of the application used to receive push notificationsThe name of the mobile device being usedgetType()Indicates that the notification channel is a mobile device for push notificationsinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetApplicationName(String applicationName) voidsetDeviceName(String deviceName) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_APPLICATION_NAME
- See Also:
-
JSON_PROPERTY_DEVICE_NAME
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
NotificationChannelPushConfig
public NotificationChannelPushConfig() -
NotificationChannelPushConfig
public NotificationChannelPushConfig(String applicationName, String deviceName, NotificationChannelPushConfigType type)
-
-
Method Details
-
applicationName
-
getApplicationName
The name of the application used to receive push notifications- Returns:
- applicationName
-
setApplicationName
-
deviceName
-
getDeviceName
The name of the mobile device being used- Returns:
- deviceName
-
setDeviceName
-
type
-
getType
Indicates that the notification channel is a mobile device for push notifications- Returns:
- type
-
setType
-
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:
- NotificationChannelPushConfig
-
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 NotificationChannelPushConfig object is equal to o. -
hashCode
public int hashCode() -
toString
-