Package com.datadog.api.client.v2.model
Class OAuthScopesRestrictionResponseData
java.lang.Object
com.datadog.api.client.v2.model.OAuthScopesRestrictionResponseData
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class OAuthScopesRestrictionResponseData
extends Object
Data object of an OAuth2 client scopes restriction response.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOAuthScopesRestrictionResponseData(OAuthScopesRestrictionResponseAttributes attributes, UUID id, OAuthScopesRestrictionType type) -
Method Summary
Modifier and TypeMethodDescriptionattributes(OAuthScopesRestrictionResponseAttributes attributes) booleanReturn true if this OAuthScopesRestrictionResponseData object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Attributes of an OAuth2 client scopes restriction.getId()UUID of the OAuth2 client this restriction applies to.getType()JSON:API resource type for an OAuth2 client scopes restriction.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
-
OAuthScopesRestrictionResponseData
public OAuthScopesRestrictionResponseData() -
OAuthScopesRestrictionResponseData
public OAuthScopesRestrictionResponseData(OAuthScopesRestrictionResponseAttributes attributes, UUID id, OAuthScopesRestrictionType type)
-
-
Method Details
-
attributes
public OAuthScopesRestrictionResponseData attributes(OAuthScopesRestrictionResponseAttributes attributes) -
getAttributes
Attributes of an OAuth2 client scopes restriction.- Returns:
- attributes
-
setAttributes
-
id
-
getId
UUID of the OAuth2 client this restriction applies to.- Returns:
- id
-
setId
-
type
-
getType
JSON:API resource type for an OAuth2 client scopes restriction.- 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:
- OAuthScopesRestrictionResponseData
-
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 OAuthScopesRestrictionResponseData object is equal to o. -
hashCode
public int hashCode() -
toString
-