Package com.datadog.api.client.v2.model
Class ElasticCloudIntegrationAccountBasicAuthResponse
java.lang.Object
com.datadog.api.client.v2.model.ElasticCloudIntegrationAccountBasicAuthResponse
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ElasticCloudIntegrationAccountBasicAuthResponse
extends Object
The basic authentication method and username configured on the account.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionElasticCloudIntegrationAccountBasicAuthResponse(ElasticCloudIntegrationAccountBasicAuthType authType, String username) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this ElasticCloudIntegrationAccountBasicAuthResponse object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The authentication method type.Non-secret username or public identifier for the credential pair.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetUsername(String username) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AUTH_TYPE
- See Also:
-
JSON_PROPERTY_USERNAME
- See Also:
-
-
Constructor Details
-
ElasticCloudIntegrationAccountBasicAuthResponse
public ElasticCloudIntegrationAccountBasicAuthResponse() -
ElasticCloudIntegrationAccountBasicAuthResponse
public ElasticCloudIntegrationAccountBasicAuthResponse(ElasticCloudIntegrationAccountBasicAuthType authType, String username)
-
-
Method Details
-
authType
public ElasticCloudIntegrationAccountBasicAuthResponse authType(ElasticCloudIntegrationAccountBasicAuthType authType) -
getAuthType
The authentication method type.- Returns:
- authType
-
setAuthType
-
username
-
getUsername
Non-secret username or public identifier for the credential pair.- Returns:
- username
-
setUsername
-
putAdditionalProperty
public ElasticCloudIntegrationAccountBasicAuthResponse 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:
- ElasticCloudIntegrationAccountBasicAuthResponse
-
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 ElasticCloudIntegrationAccountBasicAuthResponse object is equal to o. -
hashCode
public int hashCode() -
toString
-