Package com.okta.sdk.resource.model
Class PolicyContext
java.lang.Object
com.okta.sdk.resource.model.PolicyContext
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-03-29T16:47:02.065887-05:00[America/Chicago]",
comments="Generator version: 7.4.0")
public class PolicyContext
extends Object
implements Serializable
PolicyContext
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondevice
(PolicyContextDevice device) boolean
Get deviceAn array of Group IDs for the simulate operation.getIp()
The network rule condition, zone, or IP addressgetRisk()
Get riskgetUser()
Get usergetZones()
Get zonesint
hashCode()
risk
(PolicyContextRisk risk) void
setDevice
(PolicyContextDevice device) void
void
void
setRisk
(PolicyContextRisk risk) void
setUser
(PolicyContextUser user) void
setZones
(PolicyContextZones zones) toString()
user
(PolicyContextUser user) zones
(PolicyContextZones zones)
-
Field Details
-
JSON_PROPERTY_DEVICE
- See Also:
-
JSON_PROPERTY_GROUPS
- See Also:
-
JSON_PROPERTY_IP
- See Also:
-
JSON_PROPERTY_RISK
- See Also:
-
JSON_PROPERTY_USER
- See Also:
-
JSON_PROPERTY_ZONES
- See Also:
-
-
Constructor Details
-
PolicyContext
public PolicyContext()
-
-
Method Details
-
device
-
getDevice
Get device- Returns:
- device
-
setDevice
-
groups
-
getGroups
An array of Group IDs for the simulate operation. Only user IDs or Group IDs are allowed, not both.- Returns:
- groups
-
setGroups
-
ip
-
getIp
The network rule condition, zone, or IP address- Returns:
- ip
-
setIp
-
risk
-
getRisk
Get risk- Returns:
- risk
-
setRisk
-
user
-
getUser
Get user- Returns:
- user
-
setUser
-
zones
-
getZones
Get zones- Returns:
- zones
-
setZones
-
equals
-
hashCode
public int hashCode() -
toString
-