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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconsent
(OAuth2ScopeConsentType consent) description
(String description) displayName
(String displayName) boolean
Get 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 Scopeint
hashCode()
metadataPublish
(OAuth2ScopeMetadataPublish metadataPublish) void
setConsent
(OAuth2ScopeConsentType consent) void
setDefault
(Boolean _default) void
setDescription
(String description) void
setDisplayName
(String displayName) void
void
setMetadataPublish
(OAuth2ScopeMetadataPublish metadataPublish) void
void
setOptional
(Boolean optional) void
toString()
-
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
-