Class HTTPTokenAuth

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class HTTPTokenAuth extends Object
The definition of HTTPTokenAuth object.
  • Field Details

  • Constructor Details

    • HTTPTokenAuth

      public HTTPTokenAuth()
    • HTTPTokenAuth

      public HTTPTokenAuth(HTTPTokenAuthType type)
  • Method Details

    • body

      public HTTPTokenAuth body(HTTPBody body)
    • getBody

      @Nullable public HTTPBody getBody()
      The definition of HTTPBody object.
      Returns:
      body
    • setBody

      public void setBody(HTTPBody body)
    • headers

      public HTTPTokenAuth headers(List<HTTPHeader> headers)
    • addHeadersItem

      public HTTPTokenAuth addHeadersItem(HTTPHeader headersItem)
    • getHeaders

      @Nullable public List<HTTPHeader> getHeaders()
      The HTTPTokenAuth headers.
      Returns:
      headers
    • setHeaders

      public void setHeaders(List<HTTPHeader> headers)
    • tokens

      public HTTPTokenAuth tokens(List<HTTPToken> tokens)
    • addTokensItem

      public HTTPTokenAuth addTokensItem(HTTPToken tokensItem)
    • getTokens

      @Nullable public List<HTTPToken> getTokens()
      The HTTPTokenAuth tokens.
      Returns:
      tokens
    • setTokens

      public void setTokens(List<HTTPToken> tokens)
    • type

      public HTTPTokenAuth type(HTTPTokenAuthType type)
    • getType

      public HTTPTokenAuthType getType()
      The definition of HTTPTokenAuthType object.
      Returns:
      type
    • setType

      public void setType(HTTPTokenAuthType type)
    • urlParameters

      public HTTPTokenAuth urlParameters(List<UrlParam> urlParameters)
    • addUrlParametersItem

      public HTTPTokenAuth addUrlParametersItem(UrlParam urlParametersItem)
    • getUrlParameters

      @Nullable public List<UrlParam> getUrlParameters()
      The HTTPTokenAuth url_parameters.
      Returns:
      urlParameters
    • setUrlParameters

      public void setUrlParameters(List<UrlParam> urlParameters)
    • putAdditionalProperty

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