Package com.okta.sdk.resource.model
Class OAuth2Scope
java.lang.Object
com.okta.sdk.resource.model.OAuth2Scope
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-23T08:35:59.300824-05:00[America/Chicago]",
comments="Generator version: 7.8.0")
public class OAuth2Scope
extends Object
implements Serializable
OAuth2Scope
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconsent(OAuth2ScopeConsentType consent) description(String description) displayName(String displayName) booleanGet consentIndicates if this Scope is a default scopeDescription of the ScopeName of the end user displayed in a consent dialoggetId()Scope object IDgetLinks()Get linksGet metadataPublishgetName()Scope nameIndicates whether the Scope is optional.Indicates if Okta created the ScopeinthashCode()metadataPublish(OAuth2ScopeMetadataPublish metadataPublish) voidsetConsent(OAuth2ScopeConsentType consent) voidsetDefault(Boolean _default) voidsetDescription(String description) voidsetDisplayName(String displayName) voidvoidsetMetadataPublish(OAuth2ScopeMetadataPublish metadataPublish) voidvoidsetOptional(Boolean optional) voidtoString()
-
Field Details
-
JSON_PROPERTY_CONSENT
- See Also:
-
JSON_PROPERTY_DEFAULT
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_DISPLAY_NAME
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_METADATA_PUBLISH
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_OPTIONAL
- See Also:
-
JSON_PROPERTY_SYSTEM
- See Also:
-
JSON_PROPERTY_LINKS
- See Also:
-
-
Constructor Details
-
OAuth2Scope
public OAuth2Scope()
-
-
Method Details
-
consent
-
getConsent
Get consent- Returns:
- consent
-
setConsent
-
_default
-
getDefault
Indicates if this Scope is a default scope- Returns:
- _default
-
setDefault
-
description
-
getDescription
Description of the Scope- Returns:
- description
-
setDescription
-
displayName
-
getDisplayName
Name of the end user displayed in a consent dialog- Returns:
- displayName
-
setDisplayName
-
getId
Scope object ID- Returns:
- id
-
metadataPublish
-
getMetadataPublish
Get metadataPublish- Returns:
- metadataPublish
-
setMetadataPublish
-
name
-
getName
Scope name- Returns:
- name
-
setName
-
optional
-
getOptional
Indicates whether the Scope is optional. When set to `true`, the user can skip consent for the scope.- Returns:
- optional
-
setOptional
-
system
-
getSystem
Indicates if Okta created the Scope- Returns:
- system
-
setSystem
-
links
-
getLinks
Get links- Returns:
- links
-
setLinks
-
equals
-
hashCode
public int hashCode() -
toString
-