@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class NotionAPIKey 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 |
|---|
NotionAPIKey() |
NotionAPIKey(String apiToken,
NotionAPIKeyType type) |
| Modifier and Type | Method and Description |
|---|---|
NotionAPIKey |
apiToken(String apiToken) |
boolean |
equals(Object o)
Return true if this NotionAPIKey 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
NotionAPIKey api_token. |
NotionAPIKeyType |
getType()
The definition of the
NotionAPIKey object. |
int |
hashCode() |
NotionAPIKey |
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() |
NotionAPIKey |
type(NotionAPIKeyType type) |
public boolean unparsed
public static final String JSON_PROPERTY_API_TOKEN
public static final String JSON_PROPERTY_TYPE
public NotionAPIKey()
public NotionAPIKey(String apiToken, NotionAPIKeyType type)
public NotionAPIKey apiToken(String apiToken)
public String getApiToken()
NotionAPIKey api_token.public void setApiToken(String apiToken)
public NotionAPIKey type(NotionAPIKeyType type)
public NotionAPIKeyType getType()
NotionAPIKey object.public void setType(NotionAPIKeyType type)
public NotionAPIKey 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.