Package com.datadog.api.client.v2.model
Class IncidentCreateOnCallPageDataAttributesRequest
java.lang.Object
com.datadog.api.client.v2.model.IncidentCreateOnCallPageDataAttributesRequest
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class IncidentCreateOnCallPageDataAttributesRequest
extends Object
Attributes for creating an on-call page from an incident.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddServicesItem(String servicesItem) addTagsItem(String tagsItem) description(String description) booleanReturn true if this IncidentCreateOnCallPageDataAttributesRequest object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The description of the page.getRole()A reference to an incident role for a page.List of affected services.getTags()List of tags for the page.The target recipient for a page.getTitle()The title of the page.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDescription(String description) voidvoidsetServices(List<String> services) voidvoidsetTarget(IncidentPageTarget target) voidtarget(IncidentPageTarget target) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_ROLE
- See Also:
-
JSON_PROPERTY_SERVICES
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
JSON_PROPERTY_TARGET
- See Also:
-
JSON_PROPERTY_TITLE
- See Also:
-
-
Constructor Details
-
IncidentCreateOnCallPageDataAttributesRequest
public IncidentCreateOnCallPageDataAttributesRequest()
-
-
Method Details
-
description
-
getDescription
The description of the page.- Returns:
- description
-
setDescription
-
role
-
getRole
A reference to an incident role for a page.- Returns:
- role
-
setRole
-
services
-
addServicesItem
-
getServices
List of affected services.- Returns:
- services
-
setServices
-
tags
-
addTagsItem
-
getTags
List of tags for the page.- Returns:
- tags
-
setTags
-
target
-
getTarget
The target recipient for a page.- Returns:
- target
-
setTarget
-
title
-
getTitle
The title of the page.- Returns:
- title
-
setTitle
-
putAdditionalProperty
public IncidentCreateOnCallPageDataAttributesRequest 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 setvalue- The associated value- Returns:
- IncidentCreateOnCallPageDataAttributesRequest
-
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 IncidentCreateOnCallPageDataAttributesRequest object is equal to o. -
hashCode
public int hashCode() -
toString
-