@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class PartialAPIKey extends Object
Modifier and Type | Field and Description |
---|---|
static String |
JSON_PROPERTY_ATTRIBUTES |
static String |
JSON_PROPERTY_ID |
static String |
JSON_PROPERTY_RELATIONSHIPS |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
Constructor and Description |
---|
PartialAPIKey() |
Modifier and Type | Method and Description |
---|---|
PartialAPIKey |
attributes(PartialAPIKeyAttributes attributes) |
boolean |
equals(Object o)
Return true if this PartialAPIKey object is equal to o.
|
PartialAPIKeyAttributes |
getAttributes()
Attributes of a partial API key.
|
String |
getId()
ID of the API key.
|
APIKeyRelationships |
getRelationships()
Resources related to the API key.
|
APIKeysType |
getType()
API Keys resource type.
|
int |
hashCode() |
PartialAPIKey |
id(String id) |
PartialAPIKey |
relationships(APIKeyRelationships relationships) |
void |
setAttributes(PartialAPIKeyAttributes attributes) |
void |
setId(String id) |
void |
setRelationships(APIKeyRelationships relationships) |
void |
setType(APIKeysType type) |
String |
toString() |
PartialAPIKey |
type(APIKeysType type) |
public boolean unparsed
public static final String JSON_PROPERTY_ATTRIBUTES
public static final String JSON_PROPERTY_ID
public static final String JSON_PROPERTY_RELATIONSHIPS
public static final String JSON_PROPERTY_TYPE
public PartialAPIKey attributes(PartialAPIKeyAttributes attributes)
@Nullable public PartialAPIKeyAttributes getAttributes()
public void setAttributes(PartialAPIKeyAttributes attributes)
public PartialAPIKey id(String id)
public void setId(String id)
public PartialAPIKey relationships(APIKeyRelationships relationships)
@Nullable public APIKeyRelationships getRelationships()
public void setRelationships(APIKeyRelationships relationships)
public PartialAPIKey type(APIKeysType type)
@Nullable public APIKeysType getType()
public void setType(APIKeysType type)
public boolean equals(Object o)
Copyright © 2022. All rights reserved.