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 Details

  • Constructor Details

    • WebhooksOAuth2ClientCredentialsResponseAttributes

      public WebhooksOAuth2ClientCredentialsResponseAttributes()
  • Method Details

    • accessTokenUrl

      public WebhooksOAuth2ClientCredentialsResponseAttributes 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)
    • name

    • getName

      @Nullable public String getName()
      Human-readable name for this auth method.
      Returns:
      name
    • setName

      public void setName(String name)
    • protocol

    • getProtocol

      @Nullable public WebhooksAuthMethodProtocol getProtocol()
      Authentication protocol used by the auth method.
      Returns:
      protocol
    • setProtocol

      public void setProtocol(WebhooksAuthMethodProtocol protocol)
    • 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 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 set
      value - The associated value
      Returns:
      WebhooksOAuth2ClientCredentialsResponseAttributes
    • 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 WebhooksOAuth2ClientCredentialsResponseAttributes 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