Package com.datadog.api.client.v1.model
Class SyntheticsBasicAuthOauthClient
java.lang.Object
com.datadog.api.client.v1.model.SyntheticsBasicAuthOauthClient
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SyntheticsBasicAuthOauthClient
extends Object
Object to handle
oauth client authentication when performing the test.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSyntheticsBasicAuthOauthClient(String accessTokenUrl, String clientId, String clientSecret, SyntheticsBasicAuthOauthTokenApiAuthentication tokenApiAuthentication, SyntheticsBasicAuthOauthClientType type) -
Method Summary
Modifier and TypeMethodDescriptionaccessTokenUrl(String accessTokenUrl) clientSecret(String clientSecret) booleanReturn true if this SyntheticsBasicAuthOauthClient 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.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.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) voidsetResource(String resource) voidvoidsetTokenApiAuthentication(SyntheticsBasicAuthOauthTokenApiAuthentication tokenApiAuthentication) voidtokenApiAuthentication(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_RESOURCE
- See Also:
-
JSON_PROPERTY_SCOPE
- See Also:
-
JSON_PROPERTY_TOKEN_API_AUTHENTICATION
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
SyntheticsBasicAuthOauthClient
public SyntheticsBasicAuthOauthClient() -
SyntheticsBasicAuthOauthClient
public SyntheticsBasicAuthOauthClient(String accessTokenUrl, String clientId, String clientSecret, SyntheticsBasicAuthOauthTokenApiAuthentication tokenApiAuthentication, SyntheticsBasicAuthOauthClientType type)
-
-
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
-
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 SyntheticsBasicAuthOauthClient 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
-
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:
- SyntheticsBasicAuthOauthClient
-
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 SyntheticsBasicAuthOauthClient object is equal to o. -
hashCode
public int hashCode() -
toString
-