@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-07-14T23:40:43.026Z[Etc/UTC]") public class NetworkZoneApi extends Object
Constructor and Description |
---|
NetworkZoneApi() |
NetworkZoneApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
NetworkZone |
activateNetworkZone(String zoneId)
Activate a Network Zone
Activates a network zone by `zoneId`
|
NetworkZone |
activateNetworkZone(String zoneId,
Map<String,String> additionalHeaders)
Activate a Network Zone
Activates a network zone by `zoneId`
|
NetworkZone |
createNetworkZone(NetworkZone zone)
Create a Network Zone
Creates a new network zone.
|
NetworkZone |
createNetworkZone(NetworkZone zone,
Map<String,String> additionalHeaders)
Create a Network Zone
Creates a new network zone.
|
NetworkZone |
deactivateNetworkZone(String zoneId)
Deactivate a Network Zone
Deactivates a network zone by `zoneId`
|
NetworkZone |
deactivateNetworkZone(String zoneId,
Map<String,String> additionalHeaders)
Deactivate a Network Zone
Deactivates a network zone by `zoneId`
|
void |
deleteNetworkZone(String zoneId)
Delete a Network Zone
Deletes network zone by `zoneId`
|
void |
deleteNetworkZone(String zoneId,
Map<String,String> additionalHeaders)
Delete a Network Zone
Deletes network zone by `zoneId`
|
ApiClient |
getApiClient() |
NetworkZone |
getNetworkZone(String zoneId)
Retrieve a Network Zone
Retrieves a network zone by `zoneId`
|
NetworkZone |
getNetworkZone(String zoneId,
Map<String,String> additionalHeaders)
Retrieve a Network Zone
Retrieves a network zone by `zoneId`
|
protected static com.fasterxml.jackson.databind.ObjectMapper |
getObjectMapper() |
List<NetworkZone> |
listNetworkZones(String after,
Integer limit,
String filter)
List all Network Zones
Lists all network zones with pagination.
|
List<NetworkZone> |
listNetworkZones(String after,
Integer limit,
String filter,
Map<String,String> additionalHeaders)
List all Network Zones
Lists all network zones with pagination.
|
NetworkZone |
replaceNetworkZone(String zoneId,
NetworkZone zone)
Replace a Network Zone
Replaces a network zone by `zoneId`.
|
NetworkZone |
replaceNetworkZone(String zoneId,
NetworkZone zone,
Map<String,String> additionalHeaders)
Replace a Network Zone
Replaces a network zone by `zoneId`.
|
void |
setApiClient(ApiClient apiClient) |
public NetworkZoneApi()
public NetworkZoneApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public NetworkZone activateNetworkZone(String zoneId) throws ApiException
zoneId
- `id` of the Network Zone (required)ApiException
- if fails to make API callpublic NetworkZone activateNetworkZone(String zoneId, Map<String,String> additionalHeaders) throws ApiException
zoneId
- `id` of the Network Zone (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic NetworkZone createNetworkZone(NetworkZone zone) throws ApiException
zone
- (required)ApiException
- if fails to make API callpublic NetworkZone createNetworkZone(NetworkZone zone, Map<String,String> additionalHeaders) throws ApiException
zone
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic NetworkZone deactivateNetworkZone(String zoneId) throws ApiException
zoneId
- `id` of the Network Zone (required)ApiException
- if fails to make API callpublic NetworkZone deactivateNetworkZone(String zoneId, Map<String,String> additionalHeaders) throws ApiException
zoneId
- `id` of the Network Zone (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void deleteNetworkZone(String zoneId) throws ApiException
zoneId
- `id` of the Network Zone (required)ApiException
- if fails to make API callpublic void deleteNetworkZone(String zoneId, Map<String,String> additionalHeaders) throws ApiException
zoneId
- `id` of the Network Zone (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic NetworkZone getNetworkZone(String zoneId) throws ApiException
zoneId
- `id` of the Network Zone (required)ApiException
- if fails to make API callpublic NetworkZone getNetworkZone(String zoneId, Map<String,String> additionalHeaders) throws ApiException
zoneId
- `id` of the Network Zone (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic List<NetworkZone> listNetworkZones(String after, Integer limit, String filter) throws ApiException
after
- Specifies the pagination cursor for the next page of network zones (optional)limit
- Specifies the number of results for a page (optional, default to -1)filter
- Filters zones by usage or ID expression (optional)ApiException
- if fails to make API callpublic List<NetworkZone> listNetworkZones(String after, Integer limit, String filter, Map<String,String> additionalHeaders) throws ApiException
after
- Specifies the pagination cursor for the next page of network zones (optional)limit
- Specifies the number of results for a page (optional, default to -1)filter
- Filters zones by usage or ID expression (optional)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic NetworkZone replaceNetworkZone(String zoneId, NetworkZone zone) throws ApiException
zoneId
- `id` of the Network Zone (required)zone
- (required)ApiException
- if fails to make API callpublic NetworkZone replaceNetworkZone(String zoneId, NetworkZone zone, Map<String,String> additionalHeaders) throws ApiException
zoneId
- `id` of the Network Zone (required)zone
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callprotected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
Copyright © 2017–2023 Okta. All rights reserved.