Package com.okta.sdk.resource.model
Class NetworkZone
java.lang.Object
com.okta.sdk.resource.model.NetworkZone
- 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 NetworkZone
extends Object
implements Serializable
NetworkZone
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Dynamic network zone property: the proxy type used -
Field Summary
Modifier 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
-
Method Summary
Modifier and TypeMethodDescriptionaddAsnsItem
(String asnsItem) addGatewaysItem
(NetworkZoneAddress gatewaysItem) addLocationsItem
(NetworkZoneLocation locationsItem) addProxiesItem
(NetworkZoneAddress proxiesItem) boolean
gateways
(List<NetworkZoneAddress> gateways) getAsns()
Dynamic network zone property.Timestamp when the network zone was createdIP network zone property: the IP addresses (range or CIDR form) of this zone.getId()
Unique identifier for the network zoneTimestamp when the network zone was last modifiedgetLinks()
Get linksDynamic network zone property: an array of geolocations of this network zonegetName()
Unique name for this network zone.IP network zone property: the IP addresses (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.org.openapitools.jackson.nullable.JsonNullable
<List<NetworkZoneAddress>> Dynamic network zone property: the proxy type usedGet statusIndicates if this is a system network zone.getType()
Get typegetUsage()
Get usageint
hashCode()
links
(NetworkZoneLinks links) locations
(List<NetworkZoneLocation> locations) proxies
(List<NetworkZoneAddress> proxies) proxyType
(NetworkZone.ProxyTypeEnum proxyType) void
void
setGateways
(List<NetworkZoneAddress> gateways) void
setLinks
(NetworkZoneLinks links) void
setLocations
(List<NetworkZoneLocation> locations) void
void
setProxies
(List<NetworkZoneAddress> proxies) void
setProxies_JsonNullable
(org.openapitools.jackson.nullable.JsonNullable<List<NetworkZoneAddress>> proxies) void
setProxyType
(NetworkZone.ProxyTypeEnum 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
Dynamic network zone property. array of strings that represent an ASN numeric value- Returns:
- asns
-
setAsns
-
getCreated
Timestamp when the network zone was created- Returns:
- created
-
gateways
-
addGatewaysItem
-
getGateways
IP network zone property: the 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
Unique identifier for the network zone- Returns:
- id
-
getLastUpdated
Timestamp when the network zone was last modified- Returns:
- lastUpdated
-
locations
-
addLocationsItem
-
getLocations
Dynamic network zone property: an array of geolocations of this network zone- Returns:
- locations
-
setLocations
-
name
-
getName
Unique name for this network zone. Maximum of 128 characters.- Returns:
- name
-
setName
-
proxies
-
addProxiesItem
-
getProxies
IP network zone property: the IP addresses (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
-
getProxies_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<List<NetworkZoneAddress>> getProxies_JsonNullable() -
setProxies_JsonNullable
public void setProxies_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<NetworkZoneAddress>> proxies) -
setProxies
-
proxyType
-
getProxyType
Dynamic network zone property: the proxy type used- 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
-