Class ValidateV2Attributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ValidateV2Attributes extends Object
Attributes of the API key validation response.
  • Field Details

  • Constructor Details

    • ValidateV2Attributes

      public ValidateV2Attributes()
    • ValidateV2Attributes

      public ValidateV2Attributes(String apiKeyId, List<String> apiKeyScopes, Boolean valid)
  • Method Details

    • apiKeyId

      public ValidateV2Attributes apiKeyId(String apiKeyId)
    • getApiKeyId

      public String getApiKeyId()
      The UUID of the API key.
      Returns:
      apiKeyId
    • setApiKeyId

      public void setApiKeyId(String apiKeyId)
    • apiKeyScopes

      public ValidateV2Attributes apiKeyScopes(List<String> apiKeyScopes)
    • addApiKeyScopesItem

      public ValidateV2Attributes addApiKeyScopesItem(String apiKeyScopesItem)
    • getApiKeyScopes

      public List<String> getApiKeyScopes()
      List of scope names associated with the API key.
      Returns:
      apiKeyScopes
    • setApiKeyScopes

      public void setApiKeyScopes(List<String> apiKeyScopes)
    • valid

      public ValidateV2Attributes valid(Boolean valid)
    • getValid

      public Boolean getValid()
      Whether the API key is valid.
      Returns:
      valid
    • setValid

      public void setValid(Boolean valid)
    • putAdditionalProperty

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