Package com.datadog.api.client.v2.model
Class FleetScheduleV2NotificationRule
java.lang.Object
com.datadog.api.client.v2.model.FleetScheduleV2NotificationRule
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class FleetScheduleV2NotificationRule
extends Object
Notification configuration attached to a schedule.
Included when available. If the notification rule cannot be retrieved, this field is omitted
and the schedule is still returned. If the notification rule is retrieved but its handles cannot
be resolved, it is still included with an empty handles array.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddHandlesItem(String handlesItem) addTagsItem(String tagsItem) booleanReturn true if this FleetScheduleV2NotificationRule object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Notification handles (for example, Slack channels or PagerDuty integrations).getTags()Tags associated with the notification rule.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetHandles(List<String> handles) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_HANDLES
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
-
Constructor Details
-
FleetScheduleV2NotificationRule
public FleetScheduleV2NotificationRule()
-
-
Method Details
-
handles
-
addHandlesItem
-
getHandles
Notification handles (for example, Slack channels or PagerDuty integrations).- Returns:
- handles
-
setHandles
-
tags
-
addTagsItem
-
getTags
Tags associated with the notification rule.- Returns:
- tags
-
setTags
-
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:
- FleetScheduleV2NotificationRule
-
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 FleetScheduleV2NotificationRule object is equal to o. -
hashCode
public int hashCode() -
toString
-