Package com.datadog.api.client.v2.model
Class OAuthScopesRestriction
java.lang.Object
com.datadog.api.client.v2.model.OAuthScopesRestriction
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class OAuthScopesRestriction
extends Object
Allowlist of OIDC and permission scopes enforced for the OAuth2 client.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOAuthScopesRestriction(List<OAuthOidcScope> oidcScopes, List<String> permissionScopes) -
Method Summary
Modifier and TypeMethodDescriptionaddOidcScopesItem(OAuthOidcScope oidcScopesItem) addPermissionScopesItem(String permissionScopesItem) booleanReturn true if this OAuthScopesRestriction object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.OIDC scopes the client is restricted to.Datadog permission scopes the client is restricted to.inthashCode()oidcScopes(List<OAuthOidcScope> oidcScopes) permissionScopes(List<String> permissionScopes) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetOidcScopes(List<OAuthOidcScope> oidcScopes) voidsetPermissionScopes(List<String> permissionScopes) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_OIDC_SCOPES
- See Also:
-
JSON_PROPERTY_PERMISSION_SCOPES
- See Also:
-
-
Constructor Details
-
OAuthScopesRestriction
public OAuthScopesRestriction() -
OAuthScopesRestriction
-
-
Method Details
-
oidcScopes
-
addOidcScopesItem
-
getOidcScopes
OIDC scopes the client is restricted to.- Returns:
- oidcScopes
-
setOidcScopes
-
permissionScopes
-
addPermissionScopesItem
-
getPermissionScopes
Datadog permission scopes the client is restricted to.- Returns:
- permissionScopes
-
setPermissionScopes
-
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:
- OAuthScopesRestriction
-
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 OAuthScopesRestriction object is equal to o. -
hashCode
public int hashCode() -
toString
-