Class WebhooksOAuth2ClientCredentialsUpdateAttributes

java.lang.Object
com.datadog.api.client.v2.model.WebhooksOAuth2ClientCredentialsUpdateAttributes

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class WebhooksOAuth2ClientCredentialsUpdateAttributes extends Object
OAuth2 client credentials attributes for an update request.
  • Field Details

  • Constructor Details

    • WebhooksOAuth2ClientCredentialsUpdateAttributes

      public WebhooksOAuth2ClientCredentialsUpdateAttributes()
  • Method Details

    • accessTokenUrl

      public WebhooksOAuth2ClientCredentialsUpdateAttributes accessTokenUrl(String accessTokenUrl)
    • getAccessTokenUrl

      @Nullable 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

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

      public void setClientId(String clientId)
    • clientSecret

      public WebhooksOAuth2ClientCredentialsUpdateAttributes clientSecret(String clientSecret)
    • getClientSecret

      @Nullable 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

      @Nullable public String getName()
      Human-readable name for this auth method.
      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 WebhooksOAuth2ClientCredentialsUpdateAttributes 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:
      WebhooksOAuth2ClientCredentialsUpdateAttributes
    • 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 WebhooksOAuth2ClientCredentialsUpdateAttributes 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