@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class OAuthScopesRestrictionResponseAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_REQUIRED_PERMISSION_SCOPES |
static String |
JSON_PROPERTY_SCOPES_RESTRICTION |
boolean |
unparsed |
| Constructor and Description |
|---|
OAuthScopesRestrictionResponseAttributes() |
OAuthScopesRestrictionResponseAttributes(List<String> requiredPermissionScopes,
OAuthScopesRestriction scopesRestriction) |
| Modifier and Type | Method and Description |
|---|---|
OAuthScopesRestrictionResponseAttributes |
addRequiredPermissionScopesItem(String requiredPermissionScopesItem) |
boolean |
equals(Object o)
Return true if this OAuthScopesRestrictionResponseAttributes object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
List<String> |
getRequiredPermissionScopes()
Permission scopes automatically required for this client (for example, mobile-app permission
scopes).
|
OAuthScopesRestriction |
getScopesRestriction()
Allowlist of OIDC and permission scopes enforced for the OAuth2 client.
|
int |
hashCode() |
OAuthScopesRestrictionResponseAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
OAuthScopesRestrictionResponseAttributes |
requiredPermissionScopes(List<String> requiredPermissionScopes) |
OAuthScopesRestrictionResponseAttributes |
scopesRestriction(OAuthScopesRestriction scopesRestriction) |
void |
setRequiredPermissionScopes(List<String> requiredPermissionScopes) |
void |
setScopesRestriction(OAuthScopesRestriction scopesRestriction) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_REQUIRED_PERMISSION_SCOPES
public static final String JSON_PROPERTY_SCOPES_RESTRICTION
public OAuthScopesRestrictionResponseAttributes()
public OAuthScopesRestrictionResponseAttributes(List<String> requiredPermissionScopes, OAuthScopesRestriction scopesRestriction)
public OAuthScopesRestrictionResponseAttributes requiredPermissionScopes(List<String> requiredPermissionScopes)
public OAuthScopesRestrictionResponseAttributes addRequiredPermissionScopesItem(String requiredPermissionScopesItem)
@Nullable public List<String> getRequiredPermissionScopes()
null when no scopes are required.public void setRequiredPermissionScopes(List<String> requiredPermissionScopes)
public OAuthScopesRestrictionResponseAttributes scopesRestriction(OAuthScopesRestriction scopesRestriction)
@Nullable public OAuthScopesRestriction getScopesRestriction()
public void setScopesRestriction(OAuthScopesRestriction scopesRestriction)
public OAuthScopesRestrictionResponseAttributes putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.