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 Details

  • Constructor Details

    • WebhooksOAuth2ClientCredentialsCreateAttributes

      public WebhooksOAuth2ClientCredentialsCreateAttributes()
    • WebhooksOAuth2ClientCredentialsCreateAttributes

      public WebhooksOAuth2ClientCredentialsCreateAttributes(String accessTokenUrl, String clientId, String clientSecret, String name)
  • Method Details

    • accessTokenUrl

      public WebhooksOAuth2ClientCredentialsCreateAttributes accessTokenUrl(String accessTokenUrl)
    • getAccessTokenUrl

      public String getAccessTokenUrl()
      URL of the OAuth2 access token endpoint.
      Returns:
      accessTokenUrl
    • setAccessTokenUrl

      public void setAccessTokenUrl(String accessTokenUrl)
    • audience

    • getAudience

      @Nullable public String getAudience()
      The intended audience for the OAuth2 access token.
      Returns:
      audience
    • getAudience_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getAudience_JsonNullable()
    • setAudience_JsonNullable

      public void setAudience_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> audience)
    • setAudience

      public void setAudience(String audience)
    • clientId

    • getClientId

      public String getClientId()
      The OAuth2 client ID issued by the authorization server.
      Returns:
      clientId
    • setClientId

      public void setClientId(String clientId)
    • clientSecret

      public WebhooksOAuth2ClientCredentialsCreateAttributes clientSecret(String clientSecret)
    • getClientSecret

      public String getClientSecret()
      The OAuth2 client secret issued by the authorization server. Write-only; never returned by the API.
      Returns:
      clientSecret
    • setClientSecret

      public void setClientSecret(String clientSecret)
    • name

    • getName

      public String getName()
      Human-readable name for this auth method. Must be unique within your organization.
      Returns:
      name
    • setName

      public void setName(String name)
    • scope

    • getScope

      @Nullable public String getScope()
      Space-separated list of OAuth2 scopes to request.
      Returns:
      scope
    • getScope_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getScope_JsonNullable()
    • setScope_JsonNullable

      public void setScope_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> scope)
    • setScope

      public void setScope(String scope)
    • 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 set
      value - The associated value
      Returns:
      WebhooksOAuth2ClientCredentialsCreateAttributes
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this WebhooksOAuth2ClientCredentialsCreateAttributes object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object