Package com.datadog.api.client.v2.model
Class OAuthScopesRestrictionResponseAttributes
java.lang.Object
com.datadog.api.client.v2.model.OAuthScopesRestrictionResponseAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class OAuthScopesRestrictionResponseAttributes
extends Object
Attributes of an OAuth2 client scopes restriction.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOAuthScopesRestrictionResponseAttributes(List<String> requiredPermissionScopes, OAuthScopesRestriction scopesRestriction) -
Method Summary
Modifier and TypeMethodDescriptionaddRequiredPermissionScopesItem(String requiredPermissionScopesItem) booleanReturn true if this OAuthScopesRestrictionResponseAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Permission scopes automatically required for this client (for example, mobile-app permission scopes).Allowlist of OIDC and permission scopes enforced for the OAuth2 client.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.requiredPermissionScopes(List<String> requiredPermissionScopes) scopesRestriction(OAuthScopesRestriction scopesRestriction) voidsetRequiredPermissionScopes(List<String> requiredPermissionScopes) voidsetScopesRestriction(OAuthScopesRestriction scopesRestriction) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_REQUIRED_PERMISSION_SCOPES
- See Also:
-
JSON_PROPERTY_SCOPES_RESTRICTION
- See Also:
-
-
Constructor Details
-
OAuthScopesRestrictionResponseAttributes
public OAuthScopesRestrictionResponseAttributes() -
OAuthScopesRestrictionResponseAttributes
public OAuthScopesRestrictionResponseAttributes(List<String> requiredPermissionScopes, OAuthScopesRestriction scopesRestriction)
-
-
Method Details
-
requiredPermissionScopes
public OAuthScopesRestrictionResponseAttributes requiredPermissionScopes(List<String> requiredPermissionScopes) -
addRequiredPermissionScopesItem
public OAuthScopesRestrictionResponseAttributes addRequiredPermissionScopesItem(String requiredPermissionScopesItem) -
getRequiredPermissionScopes
Permission scopes automatically required for this client (for example, mobile-app permission scopes). Returnsnullwhen no scopes are required.- Returns:
- requiredPermissionScopes
-
setRequiredPermissionScopes
-
scopesRestriction
public OAuthScopesRestrictionResponseAttributes scopesRestriction(OAuthScopesRestriction scopesRestriction) -
getScopesRestriction
Allowlist of OIDC and permission scopes enforced for the OAuth2 client.- Returns:
- scopesRestriction
-
setScopesRestriction
-
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:
- OAuthScopesRestrictionResponseAttributes
-
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 OAuthScopesRestrictionResponseAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-