Class PermissionAttributes

java.lang.Object
com.datadog.api.client.v2.model.PermissionAttributes

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class PermissionAttributes extends Object
Attributes of a permission.
  • Field Details

  • Constructor Details

    • PermissionAttributes

      public PermissionAttributes()
  • Method Details

    • created

      public PermissionAttributes created(OffsetDateTime created)
    • getCreated

      @Nullable public OffsetDateTime getCreated()
      Creation time of the permission.
      Returns:
      created
    • setCreated

      public void setCreated(OffsetDateTime created)
    • description

      public PermissionAttributes description(String description)
    • getDescription

      @Nullable public String getDescription()
      Description of the permission.
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • displayName

      public PermissionAttributes displayName(String displayName)
    • getDisplayName

      @Nullable public String getDisplayName()
      Displayed name for the permission.
      Returns:
      displayName
    • setDisplayName

      public void setDisplayName(String displayName)
    • displayType

      public PermissionAttributes displayType(String displayType)
    • getDisplayType

      @Nullable public String getDisplayType()
      Display type.
      Returns:
      displayType
    • setDisplayType

      public void setDisplayType(String displayType)
    • groupName

      public PermissionAttributes groupName(String groupName)
    • getGroupName

      @Nullable public String getGroupName()
      Name of the permission group.
      Returns:
      groupName
    • setGroupName

      public void setGroupName(String groupName)
    • name

      public PermissionAttributes name(String name)
    • getName

      @Nullable public String getName()
      Name of the permission.
      Returns:
      name
    • setName

      public void setName(String name)
    • nameAliases

      public PermissionAttributes nameAliases(List<String> nameAliases)
    • addNameAliasesItem

      public PermissionAttributes addNameAliasesItem(String nameAliasesItem)
    • getNameAliases

      @Nullable public List<String> getNameAliases()
      List of alias names for the permission.
      Returns:
      nameAliases
    • setNameAliases

      public void setNameAliases(List<String> nameAliases)
    • restricted

      public PermissionAttributes restricted(Boolean restricted)
    • getRestricted

      @Nullable public Boolean getRestricted()
      Whether or not the permission is restricted.
      Returns:
      restricted
    • setRestricted

      public void setRestricted(Boolean restricted)
    • putAdditionalProperty

      public PermissionAttributes 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:
      PermissionAttributes
    • 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 PermissionAttributes 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