Package com.datadog.api.client.v1.model
Class ApiKey
java.lang.Object
com.datadog.api.client.v1.model.ApiKey
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ApiKey
extends Object
Datadog API key.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this ApiKey object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Date of creation of the API key.Datadog user handle that created the API key.getKey()API key.getName()Name of your API key.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CREATED
- See Also:
-
JSON_PROPERTY_CREATED_BY
- See Also:
-
JSON_PROPERTY_KEY
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
-
Constructor Details
-
ApiKey
public ApiKey()
-
-
Method Details
-
getCreated
Date of creation of the API key.- Returns:
- created
-
getCreatedBy
Datadog user handle that created the API key.- Returns:
- createdBy
-
getKey
API key.- Returns:
- key
-
name
-
getName
Name of your API key.- Returns:
- name
-
setName
-
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:
- ApiKey
-
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 ApiKey object is equal to o. -
hashCode
public int hashCode() -
toString
-