Package com.datadog.api.client.v2.model
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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionValidateV2Attributes(String apiKeyId, List<String> apiKeyScopes, Boolean valid) -
Method Summary
Modifier and TypeMethodDescriptionaddApiKeyScopesItem(String apiKeyScopesItem) apiKeyScopes(List<String> apiKeyScopes) booleanReturn true if this ValidateV2Attributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The UUID of the API key.List of scope names associated with the API key.getValid()Whether the API key is valid.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetApiKeyId(String apiKeyId) voidsetApiKeyScopes(List<String> apiKeyScopes) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_API_KEY_ID
- See Also:
-
JSON_PROPERTY_API_KEY_SCOPES
- See Also:
-
JSON_PROPERTY_VALID
- See Also:
-
-
Constructor Details
-
ValidateV2Attributes
public ValidateV2Attributes() -
ValidateV2Attributes
-
-
Method Details
-
apiKeyId
-
getApiKeyId
The UUID of the API key.- Returns:
- apiKeyId
-
setApiKeyId
-
apiKeyScopes
-
addApiKeyScopesItem
-
getApiKeyScopes
List of scope names associated with the API key.- Returns:
- apiKeyScopes
-
setApiKeyScopes
-
valid
-
getValid
Whether the API key is valid.- Returns:
- valid
-
setValid
-
putAdditionalProperty
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:
- ValidateV2Attributes
-
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 ValidateV2Attributes object is equal to o. -
hashCode
public int hashCode() -
toString
-