@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class NotionAPIKeyUpdate extends Object
NotionAPIKey object.| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_API_TOKEN |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
NotionAPIKeyUpdate() |
NotionAPIKeyUpdate(NotionAPIKeyType type) |
| Modifier and Type | Method and Description |
|---|---|
NotionAPIKeyUpdate |
apiToken(String apiToken) |
boolean |
equals(Object o)
Return true if this NotionAPIKeyUpdate object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getApiToken()
The
NotionAPIKeyUpdate api_token. |
NotionAPIKeyType |
getType()
The definition of the
NotionAPIKey object. |
int |
hashCode() |
NotionAPIKeyUpdate |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setApiToken(String apiToken) |
void |
setType(NotionAPIKeyType type) |
String |
toString() |
NotionAPIKeyUpdate |
type(NotionAPIKeyType type) |
public boolean unparsed
public static final String JSON_PROPERTY_API_TOKEN
public static final String JSON_PROPERTY_TYPE
public NotionAPIKeyUpdate()
public NotionAPIKeyUpdate(NotionAPIKeyType type)
public NotionAPIKeyUpdate apiToken(String apiToken)
@Nullable public String getApiToken()
NotionAPIKeyUpdate api_token.public void setApiToken(String apiToken)
public NotionAPIKeyUpdate type(NotionAPIKeyType type)
public NotionAPIKeyType getType()
NotionAPIKey object.public void setType(NotionAPIKeyType type)
public NotionAPIKeyUpdate putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.