Class NetworkZoneApi

java.lang.Object
org.openapitools.client.api.NetworkZoneApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-04-19T09:13:44.263607-05:00[America/Chicago]") @Component("org.openapitools.client.api.NetworkZoneApi") public class NetworkZoneApi extends Object
  • Constructor Details

    • NetworkZoneApi

      public NetworkZoneApi()
    • NetworkZoneApi

      @Autowired public NetworkZoneApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • activateNetworkZone

      public NetworkZone activateNetworkZone(String zoneId) throws org.springframework.web.client.RestClientException
      Activate a Network Zone Activates a network zone

      200 - Success

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      zoneId - (required)
      Returns:
      NetworkZone
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • activateNetworkZoneWithHttpInfo

      public org.springframework.http.ResponseEntity<NetworkZone> activateNetworkZoneWithHttpInfo(String zoneId) throws org.springframework.web.client.RestClientException
      Activate a Network Zone Activates a network zone

      200 - Success

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      zoneId - (required)
      Returns:
      ResponseEntity<NetworkZone>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • activateNetworkZoneWithPaginationInfo

      public PagedList activateNetworkZoneWithPaginationInfo(String zoneId) throws org.springframework.web.client.RestClientException
      Activate a Network Zone Activates a network zone

      200 - Success

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      zoneId - (required)
      Returns:
      ResponseEntity<NetworkZone>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • createNetworkZone

      public NetworkZone createNetworkZone(NetworkZone zone) throws org.springframework.web.client.RestClientException
      Create a Network Zone Creates a new network zone to your Okta organization

      200 - Success

      400 - Bad Request

      403 - Forbidden

      429 - Too Many Requests

      Parameters:
      zone - (required)
      Returns:
      NetworkZone
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • createNetworkZone

      public <T> T createNetworkZone(Class<?> T, NetworkZone zone) throws org.springframework.web.client.RestClientException
      Create a Network Zone Creates a new network zone to your Okta organization

      200 - Success

      400 - Bad Request

      403 - Forbidden

      429 - Too Many Requests

      Parameters:
      T - (required) - the assignable return type
      zone - (required)
      Returns:
      T instance
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • createNetworkZoneWithHttpInfo

      public org.springframework.http.ResponseEntity<NetworkZone> createNetworkZoneWithHttpInfo(NetworkZone zone) throws org.springframework.web.client.RestClientException
      Create a Network Zone Creates a new network zone to your Okta organization

      200 - Success

      400 - Bad Request

      403 - Forbidden

      429 - Too Many Requests

      Parameters:
      zone - (required)
      Returns:
      ResponseEntity<NetworkZone>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • createNetworkZoneWithPaginationInfo

      public PagedList createNetworkZoneWithPaginationInfo(NetworkZone zone) throws org.springframework.web.client.RestClientException
      Create a Network Zone Creates a new network zone to your Okta organization

      200 - Success

      400 - Bad Request

      403 - Forbidden

      429 - Too Many Requests

      Parameters:
      zone - (required)
      Returns:
      ResponseEntity<NetworkZone>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • deactivateNetworkZone

      public NetworkZone deactivateNetworkZone(String zoneId) throws org.springframework.web.client.RestClientException
      Deactivate a Network Zone Deactivates a network zone

      200 - Success

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      zoneId - (required)
      Returns:
      NetworkZone
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • deactivateNetworkZoneWithHttpInfo

      public org.springframework.http.ResponseEntity<NetworkZone> deactivateNetworkZoneWithHttpInfo(String zoneId) throws org.springframework.web.client.RestClientException
      Deactivate a Network Zone Deactivates a network zone

      200 - Success

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      zoneId - (required)
      Returns:
      ResponseEntity<NetworkZone>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • deactivateNetworkZoneWithPaginationInfo

      public PagedList deactivateNetworkZoneWithPaginationInfo(String zoneId) throws org.springframework.web.client.RestClientException
      Deactivate a Network Zone Deactivates a network zone

      200 - Success

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      zoneId - (required)
      Returns:
      ResponseEntity<NetworkZone>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • deleteNetworkZone

      public void deleteNetworkZone(String zoneId) throws org.springframework.web.client.RestClientException
      Delete a Network Zone Deletes network zone

      204 - No Content

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      zoneId - (required)
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • deleteNetworkZoneWithHttpInfo

      public org.springframework.http.ResponseEntity<Void> deleteNetworkZoneWithHttpInfo(String zoneId) throws org.springframework.web.client.RestClientException
      Delete a Network Zone Deletes network zone

      204 - No Content

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      zoneId - (required)
      Returns:
      ResponseEntity<Void>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • getNetworkZone

      public NetworkZone getNetworkZone(String zoneId) throws org.springframework.web.client.RestClientException
      Retrieve a Network Zone Retrieves a network zone from your Okta organization by `id`

      200 - Success

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      zoneId - (required)
      Returns:
      NetworkZone
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • getNetworkZoneWithHttpInfo

      public org.springframework.http.ResponseEntity<NetworkZone> getNetworkZoneWithHttpInfo(String zoneId) throws org.springframework.web.client.RestClientException
      Retrieve a Network Zone Retrieves a network zone from your Okta organization by `id`

      200 - Success

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      zoneId - (required)
      Returns:
      ResponseEntity<NetworkZone>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • getNetworkZoneWithPaginationInfo

      public PagedList getNetworkZoneWithPaginationInfo(String zoneId) throws org.springframework.web.client.RestClientException
      Retrieve a Network Zone Retrieves a network zone from your Okta organization by `id`

      200 - Success

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      zoneId - (required)
      Returns:
      ResponseEntity<NetworkZone>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • listNetworkZones

      public List<NetworkZone> listNetworkZones(String after, Integer limit, String filter) throws org.springframework.web.client.RestClientException
      List all Network Zones Lists all network zones with pagination. A subset of zones can be returned that match a supported filter expression or query.

      200 - Success

      403 - Forbidden

      429 - Too Many Requests

      Parameters:
      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)
      Returns:
      List<NetworkZone>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • listNetworkZonesWithHttpInfo

      public org.springframework.http.ResponseEntity<List<NetworkZone>> listNetworkZonesWithHttpInfo(String after, Integer limit, String filter) throws org.springframework.web.client.RestClientException
      List all Network Zones Lists all network zones with pagination. A subset of zones can be returned that match a supported filter expression or query.

      200 - Success

      403 - Forbidden

      429 - Too Many Requests

      Parameters:
      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)
      Returns:
      ResponseEntity<List<NetworkZone>>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • listNetworkZonesWithPaginationInfo

      public PagedList listNetworkZonesWithPaginationInfo(String after, Integer limit, String filter) throws org.springframework.web.client.RestClientException
      List all Network Zones Lists all network zones with pagination. A subset of zones can be returned that match a supported filter expression or query.

      200 - Success

      403 - Forbidden

      429 - Too Many Requests

      Parameters:
      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)
      Returns:
      ResponseEntity<List<NetworkZone>>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • replaceNetworkZone

      public NetworkZone replaceNetworkZone(String zoneId, NetworkZone zone) throws org.springframework.web.client.RestClientException
      Replace a Network Zone Replaces a network zone

      200 - Success

      400 - Bad Request

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      zoneId - (required)
      zone - (required)
      Returns:
      NetworkZone
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • replaceNetworkZone

      public <T> T replaceNetworkZone(Class<?> T, String zoneId, NetworkZone zone) throws org.springframework.web.client.RestClientException
      Replace a Network Zone Replaces a network zone

      200 - Success

      400 - Bad Request

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      T - (required) - the assignable return type
      zoneId - (required)
      zone - (required)
      Returns:
      T instance
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • replaceNetworkZoneWithHttpInfo

      public org.springframework.http.ResponseEntity<NetworkZone> replaceNetworkZoneWithHttpInfo(String zoneId, NetworkZone zone) throws org.springframework.web.client.RestClientException
      Replace a Network Zone Replaces a network zone

      200 - Success

      400 - Bad Request

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      zoneId - (required)
      zone - (required)
      Returns:
      ResponseEntity<NetworkZone>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • replaceNetworkZoneWithPaginationInfo

      public PagedList replaceNetworkZoneWithPaginationInfo(String zoneId, NetworkZone zone) throws org.springframework.web.client.RestClientException
      Replace a Network Zone Replaces a network zone

      200 - Success

      400 - Bad Request

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      zoneId - (required)
      zone - (required)
      Returns:
      ResponseEntity<NetworkZone>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API