Package com.datadog.api.client.v2.model
Class UpsertOAuthScopesRestrictionDataAttributes
java.lang.Object
com.datadog.api.client.v2.model.UpsertOAuthScopesRestrictionDataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class UpsertOAuthScopesRestrictionDataAttributes
extends Object
Attributes of an upsert OAuth2 scopes restriction request.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddOidcScopesItem(OAuthOidcScope oidcScopesItem) addPermissionScopesItem(String permissionScopesItem) booleanReturn true if this UpsertOAuthScopesRestrictionDataAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.OIDC scopes the client is allowed to request.Datadog permission scopes the client is allowed to request.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
-
UpsertOAuthScopesRestrictionDataAttributes
public UpsertOAuthScopesRestrictionDataAttributes()
-
-
Method Details
-
oidcScopes
-
addOidcScopesItem
-
getOidcScopes
OIDC scopes the client is allowed to request.- Returns:
- oidcScopes
-
setOidcScopes
-
permissionScopes
-
addPermissionScopesItem
public UpsertOAuthScopesRestrictionDataAttributes addPermissionScopesItem(String permissionScopesItem) -
getPermissionScopes
Datadog permission scopes the client is allowed to request. Each value must be a valid permission name.- 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:
- UpsertOAuthScopesRestrictionDataAttributes
-
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 UpsertOAuthScopesRestrictionDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-