Package com.datadog.api.client.v2.model
Class IncidentHandleRelationships
java.lang.Object
com.datadog.api.client.v2.model.IncidentHandleRelationships
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class IncidentHandleRelationships
extends Object
Relationships associated with an incident handle response, including linked users and incident
type.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionIncidentHandleRelationships(IncidentHandleRelationship createdByUser, IncidentHandleRelationship incidentType, IncidentHandleRelationship lastModifiedByUser) -
Method Summary
Modifier and TypeMethodDescriptioncommanderUser(IncidentHandleRelationship commanderUser) createdByUser(IncidentHandleRelationship createdByUser) booleanReturn true if this IncidentHandleRelationships object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A single relationship object for an incident handle, wrapping the related resource data.A single relationship object for an incident handle, wrapping the related resource data.A single relationship object for an incident handle, wrapping the related resource data.A single relationship object for an incident handle, wrapping the related resource data.inthashCode()incidentType(IncidentHandleRelationship incidentType) lastModifiedByUser(IncidentHandleRelationship lastModifiedByUser) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCommanderUser(IncidentHandleRelationship commanderUser) voidsetCreatedByUser(IncidentHandleRelationship createdByUser) voidsetIncidentType(IncidentHandleRelationship incidentType) voidsetLastModifiedByUser(IncidentHandleRelationship lastModifiedByUser) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_COMMANDER_USER
- See Also:
-
JSON_PROPERTY_CREATED_BY_USER
- See Also:
-
JSON_PROPERTY_INCIDENT_TYPE
- See Also:
-
JSON_PROPERTY_LAST_MODIFIED_BY_USER
- See Also:
-
-
Constructor Details
-
IncidentHandleRelationships
public IncidentHandleRelationships() -
IncidentHandleRelationships
public IncidentHandleRelationships(IncidentHandleRelationship createdByUser, IncidentHandleRelationship incidentType, IncidentHandleRelationship lastModifiedByUser)
-
-
Method Details
-
commanderUser
-
getCommanderUser
A single relationship object for an incident handle, wrapping the related resource data.- Returns:
- commanderUser
-
setCommanderUser
-
createdByUser
-
getCreatedByUser
A single relationship object for an incident handle, wrapping the related resource data.- Returns:
- createdByUser
-
setCreatedByUser
-
incidentType
-
getIncidentType
A single relationship object for an incident handle, wrapping the related resource data.- Returns:
- incidentType
-
setIncidentType
-
lastModifiedByUser
public IncidentHandleRelationships lastModifiedByUser(IncidentHandleRelationship lastModifiedByUser) -
getLastModifiedByUser
A single relationship object for an incident handle, wrapping the related resource data.- Returns:
- lastModifiedByUser
-
setLastModifiedByUser
-
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:
- IncidentHandleRelationships
-
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 IncidentHandleRelationships object is equal to o. -
hashCode
public int hashCode() -
toString
-