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 Details

  • Constructor Details

    • IncidentUserDefinedRolePatchDataAttributesRequest

      public IncidentUserDefinedRolePatchDataAttributesRequest()
  • Method Details

    • description

    • getDescription

      @Nullable public String getDescription()
      A description of the user-defined role.
      Returns:
      description
    • getDescription_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getDescription_JsonNullable()
    • setDescription_JsonNullable

      public void setDescription_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> description)
    • setDescription

      public void setDescription(String description)
    • name

    • getName

      @Nullable public String getName()
      The name of the user-defined role.
      Returns:
      name
    • setName

      public void setName(String name)
    • policy

    • getPolicy

      @Nullable public IncidentUserDefinedRolePolicy getPolicy()
      Policy configuration for a user-defined role.
      Returns:
      policy
    • setPolicy

      public void setPolicy(IncidentUserDefinedRolePolicy policy)
    • 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 set
      value - The associated value
      Returns:
      IncidentUserDefinedRolePatchDataAttributesRequest
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this IncidentUserDefinedRolePatchDataAttributesRequest object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object