Package com.datadog.api.client.v2.model
Class WebhooksOAuth2ClientCredentialsResponseData
java.lang.Object
com.datadog.api.client.v2.model.WebhooksOAuth2ClientCredentialsResponseData
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class WebhooksOAuth2ClientCredentialsResponseData
extends Object
OAuth2 client credentials data from a response.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWebhooksOAuth2ClientCredentialsResponseData(WebhooksOAuth2ClientCredentialsResponseAttributes attributes, String id, WebhooksOAuth2ClientCredentialsType type) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this WebhooksOAuth2ClientCredentialsResponseData object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.OAuth2 client credentials attributes returned by the API.getId()The ID of the OAuth2 client credentials auth method.getType()OAuth2 client credentials resource type.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
WebhooksOAuth2ClientCredentialsResponseData
public WebhooksOAuth2ClientCredentialsResponseData() -
WebhooksOAuth2ClientCredentialsResponseData
public WebhooksOAuth2ClientCredentialsResponseData(WebhooksOAuth2ClientCredentialsResponseAttributes attributes, String id, WebhooksOAuth2ClientCredentialsType type)
-
-
Method Details
-
attributes
public WebhooksOAuth2ClientCredentialsResponseData attributes(WebhooksOAuth2ClientCredentialsResponseAttributes attributes) -
getAttributes
OAuth2 client credentials attributes returned by the API. Theclient_secretis never echoed.- Returns:
- attributes
-
setAttributes
-
id
-
getId
The ID of the OAuth2 client credentials auth method.- Returns:
- id
-
setId
-
type
-
getType
OAuth2 client credentials resource type.- 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:
- WebhooksOAuth2ClientCredentialsResponseData
-
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 WebhooksOAuth2ClientCredentialsResponseData object is equal to o. -
hashCode
public int hashCode() -
toString
-