Package com.datadog.api.client.v2.model
Class IncidentHandleDataRequest
java.lang.Object
com.datadog.api.client.v2.model.IncidentHandleDataRequest
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class IncidentHandleDataRequest
extends Object
Data object representing an incident handle in a create or update request.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionIncidentHandleDataRequest(IncidentHandleAttributesRequest attributes, IncidentHandleType type) -
Method Summary
Modifier and TypeMethodDescriptionattributes(IncidentHandleAttributesRequest attributes) booleanReturn true if this IncidentHandleDataRequest object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Incident handle attributes for requestsgetId()The ID of the incident handle (required for PUT requests)Relationships to associate with an incident handle in a create or update request.org.openapitools.jackson.nullable.JsonNullable<IncidentHandleRelationshipsRequest>getType()Incident handle resource typeinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.relationships(IncidentHandleRelationshipsRequest relationships) voidsetAttributes(IncidentHandleAttributesRequest attributes) voidvoidsetRelationships(IncidentHandleRelationshipsRequest relationships) voidsetRelationships_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<IncidentHandleRelationshipsRequest> relationships) voidsetType(IncidentHandleType type) toString()type(IncidentHandleType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_RELATIONSHIPS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
IncidentHandleDataRequest
public IncidentHandleDataRequest() -
IncidentHandleDataRequest
public IncidentHandleDataRequest(IncidentHandleAttributesRequest attributes, IncidentHandleType type)
-
-
Method Details
-
attributes
-
getAttributes
Incident handle attributes for requests- Returns:
- attributes
-
setAttributes
-
id
-
getId
The ID of the incident handle (required for PUT requests)- Returns:
- id
-
setId
-
relationships
-
getRelationships
Relationships to associate with an incident handle in a create or update request.- Returns:
- relationships
-
getRelationships_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<IncidentHandleRelationshipsRequest> getRelationships_JsonNullable() -
setRelationships_JsonNullable
public void setRelationships_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<IncidentHandleRelationshipsRequest> relationships) -
setRelationships
-
type
-
getType
Incident handle resource type- 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:
- IncidentHandleDataRequest
-
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 IncidentHandleDataRequest object is equal to o. -
hashCode
public int hashCode() -
toString
-