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,ContinuousAccessPolicy,EntityRiskPolicy,IdpDiscoveryPolicy,MultifactorEnrollmentPolicy,OktaSignOnPolicy,PasswordPolicy,ProfileEnrollmentPolicy
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-08-09T14:20:25.727262-05:00[America/Chicago]",
comments="Generator version: 7.7.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 createdPolicy descriptionGet embeddedgetId()Policy IDTimestamp when the Policy was last updatedgetLinks()Get linksgetName()Policy nameSpecifies 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
-
description
-
getDescription
-
setDescription
-
getId
-
getLastUpdated
Timestamp when the Policy was last updated- Returns:
- lastUpdated
-
name
-
getName
-
setName
-
priority
-
getPriority
-
setPriority
-
status
-
getStatus
-
setStatus
-
system
-
getSystem
-
setSystem
-
type
-
getType
-
setType
-
getEmbedded
-
links
-
getLinks
-
setLinks
-
equals
-
hashCode
-
toString
-