Package com.datadog.api.client.v2.model
Class ServiceNowBasicAuth
java.lang.Object
com.datadog.api.client.v2.model.ServiceNowBasicAuth
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ServiceNowBasicAuth
extends Object
The definition of the
ServiceNowBasicAuth object.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionServiceNowBasicAuth(String instance, String password, ServiceNowBasicAuthType type, String username) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this ServiceNowBasicAuth object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.TheServiceNowBasicAuthinstance.TheServiceNowBasicAuthpassword.getType()The definition of theServiceNowBasicAuthobject.TheServiceNowBasicAuthusername.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetInstance(String instance) voidsetPassword(String password) voidvoidsetUsername(String username) toString()type(ServiceNowBasicAuthType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_INSTANCE
- See Also:
-
JSON_PROPERTY_PASSWORD
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_USERNAME
- See Also:
-
-
Constructor Details
-
ServiceNowBasicAuth
public ServiceNowBasicAuth() -
ServiceNowBasicAuth
public ServiceNowBasicAuth(String instance, String password, ServiceNowBasicAuthType type, String username)
-
-
Method Details
-
instance
-
getInstance
TheServiceNowBasicAuthinstance.- Returns:
- instance
-
setInstance
-
password
-
getPassword
TheServiceNowBasicAuthpassword.- Returns:
- password
-
setPassword
-
type
-
getType
The definition of theServiceNowBasicAuthobject.- Returns:
- type
-
setType
-
username
-
getUsername
TheServiceNowBasicAuthusername.- 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:
- ServiceNowBasicAuth
-
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 ServiceNowBasicAuth object is equal to o. -
hashCode
public int hashCode() -
toString
-