Package com.datadog.api.client.v2.model
Class PartialAPIKeyAttributes
java.lang.Object
com.datadog.api.client.v2.model.PartialAPIKeyAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class PartialAPIKeyAttributes
extends Object
Attributes of a partial API key.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this PartialAPIKeyAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The category of the API key.Creation date of the API key.Date the API Key was last used.org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime>getLast4()The last four characters of the API key.Date the API key was last modified.getName()Name of the API key.Whether the API key can enroll a Private Action Runner.The remote config read enabled status.inthashCode()privateActionRunnerEnrollEnabled(Boolean privateActionRunnerEnrollEnabled) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.remoteConfigReadEnabled(Boolean remoteConfigReadEnabled) voidsetCategory(String category) voidvoidsetPrivateActionRunnerEnrollEnabled(Boolean privateActionRunnerEnrollEnabled) voidsetRemoteConfigReadEnabled(Boolean remoteConfigReadEnabled) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CATEGORY
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_DATE_LAST_USED
- See Also:
-
JSON_PROPERTY_LAST4
- See Also:
-
JSON_PROPERTY_MODIFIED_AT
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_PRIVATE_ACTION_RUNNER_ENROLL_ENABLED
- See Also:
-
JSON_PROPERTY_REMOTE_CONFIG_READ_ENABLED
- See Also:
-
-
Constructor Details
-
PartialAPIKeyAttributes
public PartialAPIKeyAttributes()
-
-
Method Details
-
category
-
getCategory
The category of the API key.- Returns:
- category
-
setCategory
-
getCreatedAt
Creation date of the API key.- Returns:
- createdAt
-
getDateLastUsed
Date the API Key was last used.- Returns:
- dateLastUsed
-
getDateLastUsed_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getDateLastUsed_JsonNullable() -
getLast4
The last four characters of the API key.- Returns:
- last4
-
getModifiedAt
Date the API key was last modified.- Returns:
- modifiedAt
-
name
-
getName
Name of the API key.- Returns:
- name
-
setName
-
privateActionRunnerEnrollEnabled
public PartialAPIKeyAttributes privateActionRunnerEnrollEnabled(Boolean privateActionRunnerEnrollEnabled) -
getPrivateActionRunnerEnrollEnabled
Whether the API key can enroll a Private Action Runner.- Returns:
- privateActionRunnerEnrollEnabled
-
setPrivateActionRunnerEnrollEnabled
-
remoteConfigReadEnabled
-
getRemoteConfigReadEnabled
The remote config read enabled status.- Returns:
- remoteConfigReadEnabled
-
setRemoteConfigReadEnabled
-
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:
- PartialAPIKeyAttributes
-
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 PartialAPIKeyAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-