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-09-23T08:35:59.300824-05:00[America/Chicago]",
comments="Generator version: 7.8.0")
public class PolicyContext
extends Object
implements Serializable
PolicyContext
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondevice
(PolicyContextDevice device) boolean
Get deviceGet groupsgetIp()
The network rule condition, zone, or IP addressgetRisk()
Get riskgetUser()
Get usergetZones()
Get zonesgroups
(PolicyContextGroups groups) int
hashCode()
risk
(PolicyContextRisk risk) void
setDevice
(PolicyContextDevice device) void
setGroups
(PolicyContextGroups groups) 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
Get groups- 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
-