@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-07-14T17:07:26.321-05:00[America/Chicago]") public class PolicyContext extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
JSON_PROPERTY_DEVICE |
static String |
JSON_PROPERTY_GROUPS |
static String |
JSON_PROPERTY_IP |
static String |
JSON_PROPERTY_RISK |
static String |
JSON_PROPERTY_USER |
static String |
JSON_PROPERTY_ZONES |
Constructor and Description |
---|
PolicyContext() |
Modifier and Type | Method and Description |
---|---|
PolicyContext |
device(PolicyContextDevice device) |
boolean |
equals(Object o) |
PolicyContextDevice |
getDevice()
Get device
|
Object |
getGroups()
An array of Group IDs for the simulate operation.
|
String |
getIp()
The network rule condition, zone, or IP address
|
PolicyContextRisk |
getRisk()
Get risk
|
PolicyContextUser |
getUser()
Get user
|
PolicyContextZones |
getZones()
Get zones
|
PolicyContext |
groups(Object groups) |
int |
hashCode() |
PolicyContext |
ip(String ip) |
PolicyContext |
risk(PolicyContextRisk risk) |
void |
setDevice(PolicyContextDevice device) |
void |
setGroups(Object groups) |
void |
setIp(String ip) |
void |
setRisk(PolicyContextRisk risk) |
void |
setUser(PolicyContextUser user) |
void |
setZones(PolicyContextZones zones) |
String |
toString() |
PolicyContext |
user(PolicyContextUser user) |
PolicyContext |
zones(PolicyContextZones zones) |
public static final String JSON_PROPERTY_DEVICE
public static final String JSON_PROPERTY_GROUPS
public static final String JSON_PROPERTY_IP
public static final String JSON_PROPERTY_RISK
public static final String JSON_PROPERTY_USER
public static final String JSON_PROPERTY_ZONES
public PolicyContext device(PolicyContextDevice device)
@Nullable public PolicyContextDevice getDevice()
public void setDevice(PolicyContextDevice device)
public PolicyContext groups(Object groups)
@Nonnull public Object getGroups()
public void setGroups(Object groups)
public PolicyContext ip(String ip)
public void setIp(String ip)
public PolicyContext risk(PolicyContextRisk risk)
@Nullable public PolicyContextRisk getRisk()
public void setRisk(PolicyContextRisk risk)
public PolicyContext user(PolicyContextUser user)
@Nonnull public PolicyContextUser getUser()
public void setUser(PolicyContextUser user)
public PolicyContext zones(PolicyContextZones zones)
@Nullable public PolicyContextZones getZones()
public void setZones(PolicyContextZones zones)
Copyright © 2017–2023 Okta. All rights reserved.