Package com.datadog.api.client.v1.model
Class SyntheticsBasicAuthOauthROP
java.lang.Object
com.datadog.api.client.v1.model.SyntheticsBasicAuthOauthROP
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SyntheticsBasicAuthOauthROP
extends Object
Object to handle
oauth rop authentication when performing the test.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSyntheticsBasicAuthOauthROP(String accessTokenUrl, String password, SyntheticsBasicAuthOauthTokenApiAuthentication tokenApiAuthentication, SyntheticsBasicAuthOauthROPType type, String username) -
Method Summary
Modifier and TypeMethodDescriptionaccessTokenUrl(String accessTokenUrl) clientSecret(String clientSecret) booleanReturn true if this SyntheticsBasicAuthOauthROP object is equal to o.Access token URL to use when performing the authentication.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Audience to use when performing the authentication.Client ID to use when performing the authentication.Client secret to use when performing the authentication.Password to use when performing the authentication.Resource to use when performing the authentication.getScope()Scope to use when performing the authentication.Type of token to use when performing the authentication.getType()The type of basic authentication to use when performing the test.Username to use when performing the authentication.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAccessTokenUrl(String accessTokenUrl) voidsetAudience(String audience) voidsetClientId(String clientId) voidsetClientSecret(String clientSecret) voidsetPassword(String password) voidsetResource(String resource) voidvoidsetTokenApiAuthentication(SyntheticsBasicAuthOauthTokenApiAuthentication tokenApiAuthentication) voidvoidsetUsername(String username) tokenApiAuthentication(SyntheticsBasicAuthOauthTokenApiAuthentication tokenApiAuthentication) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ACCESS_TOKEN_URL
- See Also:
-
JSON_PROPERTY_AUDIENCE
- See Also:
-
JSON_PROPERTY_CLIENT_ID
- See Also:
-
JSON_PROPERTY_CLIENT_SECRET
- See Also:
-
JSON_PROPERTY_PASSWORD
- See Also:
-
JSON_PROPERTY_RESOURCE
- See Also:
-
JSON_PROPERTY_SCOPE
- See Also:
-
JSON_PROPERTY_TOKEN_API_AUTHENTICATION
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_USERNAME
- See Also:
-
-
Constructor Details
-
SyntheticsBasicAuthOauthROP
public SyntheticsBasicAuthOauthROP() -
SyntheticsBasicAuthOauthROP
public SyntheticsBasicAuthOauthROP(String accessTokenUrl, String password, SyntheticsBasicAuthOauthTokenApiAuthentication tokenApiAuthentication, SyntheticsBasicAuthOauthROPType type, String username)
-
-
Method Details
-
accessTokenUrl
-
getAccessTokenUrl
Access token URL to use when performing the authentication.- Returns:
- accessTokenUrl
-
setAccessTokenUrl
-
audience
-
getAudience
Audience to use when performing the authentication.- Returns:
- audience
-
setAudience
-
clientId
-
getClientId
Client ID to use when performing the authentication.- Returns:
- clientId
-
setClientId
-
clientSecret
-
getClientSecret
Client secret to use when performing the authentication.- Returns:
- clientSecret
-
setClientSecret
-
password
-
getPassword
Password to use when performing the authentication.- Returns:
- password
-
setPassword
-
resource
-
getResource
Resource to use when performing the authentication.- Returns:
- resource
-
setResource
-
scope
-
getScope
Scope to use when performing the authentication.- Returns:
- scope
-
setScope
-
tokenApiAuthentication
public SyntheticsBasicAuthOauthROP tokenApiAuthentication(SyntheticsBasicAuthOauthTokenApiAuthentication tokenApiAuthentication) -
getTokenApiAuthentication
Type of token to use when performing the authentication.- Returns:
- tokenApiAuthentication
-
setTokenApiAuthentication
public void setTokenApiAuthentication(SyntheticsBasicAuthOauthTokenApiAuthentication tokenApiAuthentication) -
type
-
getType
The type of basic authentication to use when performing the test.- Returns:
- type
-
setType
-
username
-
getUsername
Username to use when performing the authentication.- 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:
- SyntheticsBasicAuthOauthROP
-
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 SyntheticsBasicAuthOauthROP object is equal to o. -
hashCode
public int hashCode() -
toString
-