Package com.datadog.api.client.v2.model
Class WebhooksOAuth2ClientCredentialsResponseAttributes
java.lang.Object
com.datadog.api.client.v2.model.WebhooksOAuth2ClientCredentialsResponseAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class WebhooksOAuth2ClientCredentialsResponseAttributes
extends Object
OAuth2 client credentials attributes returned by the API. The
client_secret is never
echoed.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessTokenUrl(String accessTokenUrl) booleanReturn true if this WebhooksOAuth2ClientCredentialsResponseAttributes 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.getName()Human-readable name for this auth method.Authentication protocol used by the auth method.getScope()Space-separated list of OAuth2 scopes to request.org.openapitools.jackson.nullable.JsonNullable<String>inthashCode()protocol(WebhooksAuthMethodProtocol protocol) 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) voidvoidsetProtocol(WebhooksAuthMethodProtocol protocol) voidvoidsetScope_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_NAME
- See Also:
-
JSON_PROPERTY_PROTOCOL
- See Also:
-
JSON_PROPERTY_SCOPE
- See Also:
-
-
Constructor Details
-
WebhooksOAuth2ClientCredentialsResponseAttributes
public WebhooksOAuth2ClientCredentialsResponseAttributes()
-
-
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
-
name
-
getName
Human-readable name for this auth method.- Returns:
- name
-
setName
-
protocol
public WebhooksOAuth2ClientCredentialsResponseAttributes protocol(WebhooksAuthMethodProtocol protocol) -
getProtocol
Authentication protocol used by the auth method.- Returns:
- protocol
-
setProtocol
-
scope
-
getScope
Space-separated list of OAuth2 scopes to request.- Returns:
- scope
-
getScope_JsonNullable
-
setScope_JsonNullable
-
setScope
-
putAdditionalProperty
public WebhooksOAuth2ClientCredentialsResponseAttributes 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:
- WebhooksOAuth2ClientCredentialsResponseAttributes
-
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 WebhooksOAuth2ClientCredentialsResponseAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-