Package com.datadog.api.client.v2.model
Class CustomDestinationHttpDestinationAuthBasic
java.lang.Object
com.datadog.api.client.v2.model.CustomDestinationHttpDestinationAuthBasic
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CustomDestinationHttpDestinationAuthBasic
extends Object
Basic access authentication.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCustomDestinationHttpDestinationAuthBasic(String password, CustomDestinationHttpDestinationAuthBasicType type, String username) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this CustomDestinationHttpDestinationAuthBasic object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The password of the authentication.getType()Type of the basic access authentication.The username of the authentication.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetPassword(String password) voidvoidsetUsername(String username) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_PASSWORD
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_USERNAME
- See Also:
-
-
Constructor Details
-
CustomDestinationHttpDestinationAuthBasic
public CustomDestinationHttpDestinationAuthBasic() -
CustomDestinationHttpDestinationAuthBasic
public CustomDestinationHttpDestinationAuthBasic(String password, CustomDestinationHttpDestinationAuthBasicType type, String username)
-
-
Method Details
-
password
-
getPassword
The password of the authentication. This field is not returned by the API.- Returns:
- password
-
setPassword
-
type
-
getType
Type of the basic access authentication.- Returns:
- type
-
setType
-
username
-
getUsername
The username of the authentication. This field is not returned by the API.- Returns:
- username
-
setUsername
-
putAdditionalProperty
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:
- CustomDestinationHttpDestinationAuthBasic
-
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 CustomDestinationHttpDestinationAuthBasic object is equal to o. -
hashCode
public int hashCode() -
toString
-