Package com.datadog.api.client.v2.model
Class IncidentUserDefinedRolePatchDataAttributesRequest
java.lang.Object
com.datadog.api.client.v2.model.IncidentUserDefinedRolePatchDataAttributesRequest
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class IncidentUserDefinedRolePatchDataAttributesRequest
extends Object
Attributes for updating an incident user-defined role.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) booleanReturn true if this IncidentUserDefinedRolePatchDataAttributesRequest object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A description of the user-defined role.org.openapitools.jackson.nullable.JsonNullable<String>getName()The name of the user-defined role.Policy configuration for a user-defined role.inthashCode()policy(IncidentUserDefinedRolePolicy policy) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDescription(String description) voidsetDescription_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> description) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_POLICY
- See Also:
-
-
Constructor Details
-
IncidentUserDefinedRolePatchDataAttributesRequest
public IncidentUserDefinedRolePatchDataAttributesRequest()
-
-
Method Details
-
description
-
getDescription
A description of the user-defined role.- Returns:
- description
-
getDescription_JsonNullable
-
setDescription_JsonNullable
public void setDescription_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> description) -
setDescription
-
name
-
getName
The name of the user-defined role.- Returns:
- name
-
setName
-
policy
public IncidentUserDefinedRolePatchDataAttributesRequest policy(IncidentUserDefinedRolePolicy policy) -
getPolicy
Policy configuration for a user-defined role.- Returns:
- policy
-
setPolicy
-
putAdditionalProperty
public IncidentUserDefinedRolePatchDataAttributesRequest 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:
- IncidentUserDefinedRolePatchDataAttributesRequest
-
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 IncidentUserDefinedRolePatchDataAttributesRequest object is equal to o. -
hashCode
public int hashCode() -
toString
-