Package com.okta.sdk.resource.model
Class Policy
java.lang.Object
com.okta.sdk.resource.model.Policy
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AccessPolicy,AuthenticatorEnrollmentPolicy,EntityRiskPolicy,IdpDiscoveryPolicy,OktaSignOnPolicy,PasswordPolicy,PostAuthSessionPolicy,ProfileEnrollmentPolicy
@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 Policy
extends Object
implements Serializable
Policy
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) booleanTimestamp when the Policy was createdDescription of the PolicyGet embeddedgetId()Identifier of the PolicyTimestamp when the Policy was last modifiedgetLinks()Get linksgetName()Name of the PolicySpecifies the order in which this Policy is evaluated in relation to the other policiesGet statusSpecifies whether Okta created the PolicygetType()Get typeinthashCode()links(PolicyLinks links) voidsetDescription(String description) voidsetLinks(PolicyLinks links) voidvoidsetPriority(Integer priority) voidsetStatus(LifecycleStatus status) voidvoidsetType(PolicyType type) status(LifecycleStatus status) toString()type(PolicyType type)
-
Field Details
-
JSON_PROPERTY_CREATED
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_LAST_UPDATED
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_PRIORITY
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_SYSTEM
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
type
-
JSON_PROPERTY_EMBEDDED
- See Also:
-
JSON_PROPERTY_LINKS
- See Also:
-
-
Constructor Details
-
Policy
public Policy()
-
-
Method Details
-
getCreated
Timestamp when the Policy was created- Returns:
- created
-
description
-
getDescription
Description of the Policy- Returns:
- description
-
setDescription
-
getId
Identifier of the Policy- Returns:
- id
-
getLastUpdated
Timestamp when the Policy was last modified- Returns:
- lastUpdated
-
name
-
getName
Name of the Policy- Returns:
- name
-
setName
-
priority
-
getPriority
Specifies the order in which this Policy is evaluated in relation to the other policies- Returns:
- priority
-
setPriority
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
system
-
getSystem
Specifies whether Okta created the Policy- Returns:
- system
-
setSystem
-
type
-
getType
Get type- Returns:
- type
-
setType
-
getEmbedded
Get embedded- Returns:
- embedded
-
links
-
getLinks
Get links- Returns:
- links
-
setLinks
-
equals
-
hashCode
public int hashCode() -
toString
-