Package com.datadog.api.client.v2.model
Class CustomDestinationHttpDestinationAuthCustomHeader
java.lang.Object
com.datadog.api.client.v2.model.CustomDestinationHttpDestinationAuthCustomHeader
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CustomDestinationHttpDestinationAuthCustomHeader
extends Object
Custom header access authentication.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCustomDestinationHttpDestinationAuthCustomHeader(String headerName, String headerValue, CustomDestinationHttpDestinationAuthCustomHeaderType type) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this CustomDestinationHttpDestinationAuthCustomHeader object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The header name of the authentication.The header value of the authentication.getType()Type of the custom header access authentication.inthashCode()headerName(String headerName) headerValue(String headerValue) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetHeaderName(String headerName) voidsetHeaderValue(String headerValue) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_HEADER_NAME
- See Also:
-
JSON_PROPERTY_HEADER_VALUE
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
CustomDestinationHttpDestinationAuthCustomHeader
public CustomDestinationHttpDestinationAuthCustomHeader() -
CustomDestinationHttpDestinationAuthCustomHeader
public CustomDestinationHttpDestinationAuthCustomHeader(String headerName, String headerValue, CustomDestinationHttpDestinationAuthCustomHeaderType type)
-
-
Method Details
-
headerName
-
getHeaderName
The header name of the authentication.- Returns:
- headerName
-
setHeaderName
-
headerValue
-
getHeaderValue
The header value of the authentication. This field is not returned by the API.- Returns:
- headerValue
-
setHeaderValue
-
type
-
getType
Type of the custom header access authentication.- Returns:
- type
-
setType
-
putAdditionalProperty
public CustomDestinationHttpDestinationAuthCustomHeader 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 setvalue- The associated value- Returns:
- CustomDestinationHttpDestinationAuthCustomHeader
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
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
Return true if this CustomDestinationHttpDestinationAuthCustomHeader object is equal to o. -
hashCode
public int hashCode() -
toString
-