Class IPNetworkZone

java.lang.Object
com.okta.sdk.resource.model.NetworkZone
com.okta.sdk.resource.model.IPNetworkZone
All Implemented Interfaces:
Serializable

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2026-03-13T17:36:05.533634+05:30[Asia/Kolkata]", comments="Generator version: 7.15.0") public class IPNetworkZone extends NetworkZone implements Serializable
IPNetworkZone
See Also:
  • Field Details

  • Constructor Details

    • IPNetworkZone

      public IPNetworkZone()
  • Method Details

    • useAsExemptList

      public IPNetworkZone useAsExemptList(Boolean useAsExemptList)
    • getUseAsExemptList

      @Nullable public Boolean getUseAsExemptList()
      You can **only** use this parameter when making a request to the Replace the network zone endpoint (`/api/v1/zones/{zoneId}`). Set this parameter to `true` in your request when you update the `DefaultExemptIpZone` to allow IPs through the blocklist.
      Returns:
      useAsExemptList
    • setUseAsExemptList

      public void setUseAsExemptList(Boolean useAsExemptList)
    • gateways

      public IPNetworkZone gateways(List<NetworkZoneAddress> gateways)
    • addgatewaysItem

      public IPNetworkZone addgatewaysItem(NetworkZoneAddress gatewaysItem)
    • getGateways

      @Nullable public List<NetworkZoneAddress> getGateways()
      The IP addresses (range or CIDR form) for an IP Network 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

      public void setGateways(List<NetworkZoneAddress> gateways)
    • proxies

      public IPNetworkZone proxies(List<NetworkZoneAddress> proxies)
    • addproxiesItem

      public IPNetworkZone addproxiesItem(NetworkZoneAddress proxiesItem)
    • getProxies

      @Nullable public List<NetworkZoneAddress> getProxies()
      The IP addresses (range or CIDR form) that are allowed to forward a request from gateway addresses for an IP Network Zone. 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

      public void setProxies(List<NetworkZoneAddress> proxies)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class NetworkZone
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class NetworkZone
    • toString

      public String toString()
      Overrides:
      toString in class NetworkZone