@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class OnCallPhoneNotificationRuleSettings extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_METHOD |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
OnCallPhoneNotificationRuleSettings() |
OnCallPhoneNotificationRuleSettings(OnCallPhoneNotificationRuleMethod method,
NotificationChannelPhoneConfigType type) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this OnCallPhoneNotificationRuleSettings object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
OnCallPhoneNotificationRuleMethod |
getMethod()
Specifies the method in which a phone is used in a notification rule
|
NotificationChannelPhoneConfigType |
getType()
Indicates that the notification channel is a phone
|
int |
hashCode() |
OnCallPhoneNotificationRuleSettings |
method(OnCallPhoneNotificationRuleMethod method) |
OnCallPhoneNotificationRuleSettings |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setMethod(OnCallPhoneNotificationRuleMethod method) |
void |
setType(NotificationChannelPhoneConfigType type) |
String |
toString() |
OnCallPhoneNotificationRuleSettings |
type(NotificationChannelPhoneConfigType type) |
public boolean unparsed
public static final String JSON_PROPERTY_METHOD
public static final String JSON_PROPERTY_TYPE
public OnCallPhoneNotificationRuleSettings()
public OnCallPhoneNotificationRuleSettings(OnCallPhoneNotificationRuleMethod method, NotificationChannelPhoneConfigType type)
public OnCallPhoneNotificationRuleSettings method(OnCallPhoneNotificationRuleMethod method)
public OnCallPhoneNotificationRuleMethod getMethod()
public void setMethod(OnCallPhoneNotificationRuleMethod method)
public OnCallPhoneNotificationRuleSettings type(NotificationChannelPhoneConfigType type)
public NotificationChannelPhoneConfigType getType()
public void setType(NotificationChannelPhoneConfigType type)
public OnCallPhoneNotificationRuleSettings 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.