Package com.datadog.api.client.v2.model
Class WebhooksOAuth2ClientCredentialsCreateAttributes
java.lang.Object
com.datadog.api.client.v2.model.WebhooksOAuth2ClientCredentialsCreateAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class WebhooksOAuth2ClientCredentialsCreateAttributes
extends Object
OAuth2 client credentials attributes for a create request.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWebhooksOAuth2ClientCredentialsCreateAttributes(String accessTokenUrl, String clientId, String clientSecret, String name) -
Method Summary
Modifier and TypeMethodDescriptionaccessTokenUrl(String accessTokenUrl) clientSecret(String clientSecret) booleanReturn true if this WebhooksOAuth2ClientCredentialsCreateAttributes object is equal to o.URL of the OAuth2 access token endpoint.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The intended audience for the OAuth2 access token.org.openapitools.jackson.nullable.JsonNullable<String>The OAuth2 client ID issued by the authorization server.The OAuth2 client secret issued by the authorization server.getName()Human-readable name for this auth method.getScope()Space-separated list of OAuth2 scopes to request.org.openapitools.jackson.nullable.JsonNullable<String>inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAccessTokenUrl(String accessTokenUrl) voidsetAudience(String audience) voidsetAudience_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> audience) voidsetClientId(String clientId) voidsetClientSecret(String clientSecret) voidvoidvoidsetScope_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> scope) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ACCESS_TOKEN_URL
- See Also:
-
JSON_PROPERTY_AUDIENCE
- See Also:
-
JSON_PROPERTY_CLIENT_ID
- See Also:
-
JSON_PROPERTY_CLIENT_SECRET
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_SCOPE
- See Also:
-
-
Constructor Details
-
WebhooksOAuth2ClientCredentialsCreateAttributes
public WebhooksOAuth2ClientCredentialsCreateAttributes() -
WebhooksOAuth2ClientCredentialsCreateAttributes
-
-
Method Details
-
accessTokenUrl
-
getAccessTokenUrl
URL of the OAuth2 access token endpoint.- Returns:
- accessTokenUrl
-
setAccessTokenUrl
-
audience
-
getAudience
The intended audience for the OAuth2 access token.- Returns:
- audience
-
getAudience_JsonNullable
-
setAudience_JsonNullable
public void setAudience_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> audience) -
setAudience
-
clientId
-
getClientId
The OAuth2 client ID issued by the authorization server.- Returns:
- clientId
-
setClientId
-
clientSecret
-
getClientSecret
The OAuth2 client secret issued by the authorization server. Write-only; never returned by the API.- Returns:
- clientSecret
-
setClientSecret
-
name
-
getName
Human-readable name for this auth method. Must be unique within your organization.- Returns:
- name
-
setName
-
scope
-
getScope
Space-separated list of OAuth2 scopes to request.- Returns:
- scope
-
getScope_JsonNullable
-
setScope_JsonNullable
-
setScope
-
putAdditionalProperty
public WebhooksOAuth2ClientCredentialsCreateAttributes putAdditionalProperty(String key, Object value) 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:
- WebhooksOAuth2ClientCredentialsCreateAttributes
-
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 WebhooksOAuth2ClientCredentialsCreateAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-