Class RestrictionQueryAttributes

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

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

  • Constructor Details

    • RestrictionQueryAttributes

      public RestrictionQueryAttributes()
  • Method Details

    • getCreatedAt

      @Nullable public OffsetDateTime getCreatedAt()
      Creation time of the restriction query.
      Returns:
      createdAt
    • getLastModifierEmail

      @Nullable public String getLastModifierEmail()
      Email of the user who last modified this restriction query.
      Returns:
      lastModifierEmail
    • getLastModifierName

      @Nullable public String getLastModifierName()
      Name of the user who last modified this restriction query.
      Returns:
      lastModifierName
    • getModifiedAt

      @Nullable public OffsetDateTime getModifiedAt()
      Time of last restriction query modification.
      Returns:
      modifiedAt
    • restrictionQuery

      public RestrictionQueryAttributes restrictionQuery(String restrictionQuery)
    • getRestrictionQuery

      @Nullable public String getRestrictionQuery()
      The query that defines the restriction. Only the content matching the query can be returned.
      Returns:
      restrictionQuery
    • setRestrictionQuery

      public void setRestrictionQuery(String restrictionQuery)
    • getRoleCount

      @Nullable public Long getRoleCount()
      Number of roles associated with this restriction query.
      Returns:
      roleCount
    • getUserCount

      @Nullable public Long getUserCount()
      Number of users associated with this restriction query.
      Returns:
      userCount
    • putAdditionalProperty

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