Class OAuthClientRegistrationError

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class OAuthClientRegistrationError extends Object
Error payload returned by OAuth2 dynamic client registration as defined by RFC 7591.
  • Field Details

  • Constructor Details

    • OAuthClientRegistrationError

      public OAuthClientRegistrationError()
    • OAuthClientRegistrationError

      public OAuthClientRegistrationError(String error, String errorDescription)
  • Method Details

    • error

      public OAuthClientRegistrationError error(String error)
    • getError

      public String getError()
      Single ASCII error code per RFC 7591, such as invalid_request or invalid_client_metadata.
      Returns:
      error
    • setError

      public void setError(String error)
    • errorDescription

      public OAuthClientRegistrationError errorDescription(String errorDescription)
    • getErrorDescription

      public String getErrorDescription()
      Human-readable description of the error.
      Returns:
      errorDescription
    • setErrorDescription

      public void setErrorDescription(String errorDescription)
    • putAdditionalProperty

      public OAuthClientRegistrationError 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:
      OAuthClientRegistrationError
    • 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 OAuthClientRegistrationError 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