Package com.okta.sdk.resource.model
Class PolicyRule
java.lang.Object
com.okta.sdk.resource.model.PolicyRule
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AccessPolicyRule
,AuthenticatorEnrollmentPolicyRule
,EntityRiskPolicyRule
,IdpDiscoveryPolicyRule
,OktaSignOnPolicyRule
,PasswordPolicyRule
,PostAuthSessionPolicyRule
,ProfileEnrollmentPolicyRule
@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 PolicyRule
extends Object
implements Serializable
PolicyRule
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Timestamp when the rule was createdorg.openapitools.jackson.nullable.JsonNullable
<OffsetDateTime> getId()
Identifier for the ruleTimestamp when the rule was last modifiedorg.openapitools.jackson.nullable.JsonNullable
<OffsetDateTime> getLinks()
Get linksgetName()
Name of the rulePriority of the ruleGet statusSpecifies whether Okta created the Policy Rule (`system=true`).getType()
Get typeint
hashCode()
links
(PolicyLinks links) void
void
setLinks
(PolicyLinks links) void
void
setPriority
(Integer priority) void
setStatus
(LifecycleStatus status) void
void
setType
(PolicyRuleType type) status
(LifecycleStatus status) toString()
type
(PolicyRuleType type)
-
Field Details
-
JSON_PROPERTY_CREATED
- 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_LINKS
- See Also:
-
-
Constructor Details
-
PolicyRule
public PolicyRule()
-
-
Method Details
-
getCreated
Timestamp when the rule was created- Returns:
- created
-
getCreated_JsonNullable
-
id
-
getId
Identifier for the rule- Returns:
- id
-
setId
-
getLastUpdated
Timestamp when the rule was last modified- Returns:
- lastUpdated
-
getLastUpdated_JsonNullable
-
name
-
getName
Name of the rule- Returns:
- name
-
setName
-
priority
-
getPriority
Priority of the rule- Returns:
- priority
-
setPriority
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
system
-
getSystem
Specifies whether Okta created the Policy Rule (`system=true`). You can't delete Policy Rules that have `system` set to `true`.- Returns:
- system
-
setSystem
-
type
-
getType
Get type- Returns:
- type
-
setType
-
links
-
getLinks
Get links- Returns:
- links
-
setLinks
-
equals
-
hashCode
public int hashCode() -
toString
-