Package org.openapitools.client.model
Class NetworkZone
java.lang.Object
org.openapitools.client.model.NetworkZone
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-14T14:39:12.692995-05:00[America/Chicago]")
public class NetworkZone
extends Object
NetworkZone
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAsnsItem
(String asnsItem) addGatewaysItem
(NetworkZoneAddress gatewaysItem) addLocationsItem
(NetworkZoneLocation locationsItem) addProxiesItem
(NetworkZoneAddress proxiesItem) boolean
gateways
(List<NetworkZoneAddress> gateways) getAsns()
Format of each array value: a string representation of an ASN numeric valueGet createdIP addresses (range or CIDR form) of this Zone.getId()
Get idGet lastUpdatedgetLinks()
Get linksThe geolocations of this ZonegetName()
Unique name for this Zone.IP address (range or CIDR form) that are allowed to forward a request from gateway addresses.One of: `\"\"` or `null` (when not specified), `Any` (meaning any proxy), `Tor`, or `NotTorAnonymizer`Get statusIndicates if this is a system Network Zone.getType()
Get typegetUsage()
Get usageint
hashCode()
locations
(List<NetworkZoneLocation> locations) proxies
(List<NetworkZoneAddress> proxies) void
void
setGateways
(List<NetworkZoneAddress> gateways) void
void
setLocations
(List<NetworkZoneLocation> locations) void
void
setProxies
(List<NetworkZoneAddress> proxies) void
setProxyType
(String proxyType) void
setStatus
(NetworkZoneStatus status) void
void
setType
(NetworkZoneType type) void
setUsage
(NetworkZoneUsage usage) status
(NetworkZoneStatus status) toString()
type
(NetworkZoneType type) usage
(NetworkZoneUsage usage)
-
Field Details
-
JSON_PROPERTY_ASNS
- See Also:
-
JSON_PROPERTY_CREATED
- See Also:
-
JSON_PROPERTY_GATEWAYS
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_LAST_UPDATED
- See Also:
-
JSON_PROPERTY_LOCATIONS
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_PROXIES
- See Also:
-
JSON_PROPERTY_PROXY_TYPE
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_SYSTEM
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_USAGE
- See Also:
-
JSON_PROPERTY_LINKS
- See Also:
-
-
Constructor Details
-
NetworkZone
public NetworkZone()
-
-
Method Details
-
asns
-
addAsnsItem
-
getAsns
Format of each array value: a string representation of an ASN numeric value- Returns:
- asns
-
setAsns
-
getCreated
Get created- Returns:
- created
-
gateways
-
addGatewaysItem
-
getGateways
IP addresses (range or CIDR form) of this Zone. The maximum array length is 150 entries for admin-created IP zones, 1000 entries for IP blocklist zones, and 5000 entries for the default system IP Zone.- Returns:
- gateways
-
setGateways
-
getId
Get id- Returns:
- id
-
getLastUpdated
Get lastUpdated- Returns:
- lastUpdated
-
locations
-
addLocationsItem
-
getLocations
The geolocations of this Zone- Returns:
- locations
-
setLocations
-
name
-
getName
Unique name for this Zone. Maximum of 128 characters.- Returns:
- name
-
setName
-
proxies
-
addProxiesItem
-
getProxies
IP address (range or CIDR form) that are allowed to forward a request from gateway addresses. These proxies are automatically trusted by Threat Insights, and used to identify the client IP of a request. The maximum array length is 150 entries for admin-created zones and 5000 entries for the default system IP Zone.- Returns:
- proxies
-
setProxies
-
proxyType
-
getProxyType
One of: `\"\"` or `null` (when not specified), `Any` (meaning any proxy), `Tor`, or `NotTorAnonymizer`- Returns:
- proxyType
-
setProxyType
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
system
-
getSystem
Indicates if this is a system Network Zone. For admin-created zones, this is always `false`. The system IP Policy Network Zone (`LegacyIpZone`) is included by default in your Okta org. Notice that `system=true` for the `LegacyIpZone` object. Admin users can modify the name of this default system Zone and can add up to 5000 gateway or proxy IP entries.- Returns:
- system
-
setSystem
-
type
-
getType
Get type- Returns:
- type
-
setType
-
usage
-
getUsage
Get usage- Returns:
- usage
-
setUsage
-
links
-
getLinks
Get links- Returns:
- links
-
setLinks
-
equals
-
hashCode
public int hashCode() -
toString
-