Package com.mypurecloud.sdk.v2.model
Class AuthorizationPolicy
java.lang.Object
com.mypurecloud.sdk.v2.model.AuthorizationPolicy
- All Implemented Interfaces:
Serializable
AuthorizationPolicy
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe effect this policy should have when its conditions are met -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionFlag for active enforcement.applyToClients(Boolean applyToClients) Flag to determine whether policy applies to OAuth ClientsThe condition tree the policy will evaluatedescription(String description) effect(AuthorizationPolicy.EffectEnum effect) The effect this policy should have when its conditions are metbooleangetId()getName()inthashCode()presetAttributes(Map<String, TypedAttribute> presetAttributes) Map of names and values of preset attributes to use in policy evaluationvoidvoidsetApplyToClients(Boolean applyToClients) voidsetCondition(Object condition) voidsetDescription(String description) voidvoidvoidsetPresetAttributes(Map<String, TypedAttribute> presetAttributes) voidsetSubject(Subject subject) The subject to whom the policy will apply, including type and idtoString()
-
Constructor Details
-
AuthorizationPolicy
public AuthorizationPolicy() -
AuthorizationPolicy
-
-
Method Details
-
getId
-
name
-
getName
-
setName
-
getTargetResource
-
subject
The subject to whom the policy will apply, including type and id -
getSubject
-
setSubject
-
effect
The effect this policy should have when its conditions are met -
getEffect
-
setEffect
-
condition
The condition tree the policy will evaluate -
getCondition
-
setCondition
-
description
-
getDescription
-
setDescription
-
getDateModified
-
presetAttributes
Map of names and values of preset attributes to use in policy evaluation -
getPresetAttributes
-
setPresetAttributes
-
active
Flag for active enforcement. If this value is false or null, the policy will be saved but will not be checked or enforced on users. -
getActive
-
setActive
-
applyToClients
Flag to determine whether policy applies to OAuth Clients -
getApplyToClients
-
setApplyToClients
-
getSelfUri
-
equals
-
hashCode
public int hashCode() -
toString
-