lib/purecloud/api/o_auth_api.rb in purecloud-0.27.0 vs lib/purecloud/api/o_auth_api.rb in purecloud-0.28.0

- old
+ new

@@ -25,11 +25,11 @@ if @api_client.config.debugging @api_client.config.logger.debug "Calling API: OAuthApi#get_identityproviders ..." end # resource path - path = "/api/v1/identityproviders".sub('{format}','json') + path = "/api/v2/identityproviders".sub('{format}','json') # query parameters query_params = {} # header parameters @@ -81,11 +81,11 @@ if @api_client.config.debugging @api_client.config.logger.debug "Calling API: OAuthApi#get_okta ..." end # resource path - path = "/api/v1/identityproviders/okta".sub('{format}','json') + path = "/api/v2/identityproviders/okta".sub('{format}','json') # query parameters query_params = {} # header parameters @@ -139,11 +139,11 @@ if @api_client.config.debugging @api_client.config.logger.debug "Calling API: OAuthApi#put_okta ..." end # resource path - path = "/api/v1/identityproviders/okta".sub('{format}','json') + path = "/api/v2/identityproviders/okta".sub('{format}','json') # query parameters query_params = {} # header parameters @@ -194,11 +194,11 @@ if @api_client.config.debugging @api_client.config.logger.debug "Calling API: OAuthApi#delete_okta ..." end # resource path - path = "/api/v1/identityproviders/okta".sub('{format}','json') + path = "/api/v2/identityproviders/okta".sub('{format}','json') # query parameters query_params = {} # header parameters @@ -249,11 +249,11 @@ if @api_client.config.debugging @api_client.config.logger.debug "Calling API: OAuthApi#get_onelogin ..." end # resource path - path = "/api/v1/identityproviders/onelogin".sub('{format}','json') + path = "/api/v2/identityproviders/onelogin".sub('{format}','json') # query parameters query_params = {} # header parameters @@ -307,11 +307,11 @@ if @api_client.config.debugging @api_client.config.logger.debug "Calling API: OAuthApi#put_onelogin ..." end # resource path - path = "/api/v1/identityproviders/onelogin".sub('{format}','json') + path = "/api/v2/identityproviders/onelogin".sub('{format}','json') # query parameters query_params = {} # header parameters @@ -362,11 +362,11 @@ if @api_client.config.debugging @api_client.config.logger.debug "Calling API: OAuthApi#delete_onelogin ..." end # resource path - path = "/api/v1/identityproviders/onelogin".sub('{format}','json') + path = "/api/v2/identityproviders/onelogin".sub('{format}','json') # query parameters query_params = {} # header parameters @@ -417,11 +417,11 @@ if @api_client.config.debugging @api_client.config.logger.debug "Calling API: OAuthApi#get_purecloud ..." end # resource path - path = "/api/v1/identityproviders/purecloud".sub('{format}','json') + path = "/api/v2/identityproviders/purecloud".sub('{format}','json') # query parameters query_params = {} # header parameters @@ -475,11 +475,11 @@ if @api_client.config.debugging @api_client.config.logger.debug "Calling API: OAuthApi#put_purecloud ..." end # resource path - path = "/api/v1/identityproviders/purecloud".sub('{format}','json') + path = "/api/v2/identityproviders/purecloud".sub('{format}','json') # query parameters query_params = {} # header parameters @@ -530,11 +530,11 @@ if @api_client.config.debugging @api_client.config.logger.debug "Calling API: OAuthApi#delete_purecloud ..." end # resource path - path = "/api/v1/identityproviders/purecloud".sub('{format}','json') + path = "/api/v2/identityproviders/purecloud".sub('{format}','json') # query parameters query_params = {} # header parameters @@ -585,11 +585,11 @@ if @api_client.config.debugging @api_client.config.logger.debug "Calling API: OAuthApi#get_salesforce ..." end # resource path - path = "/api/v1/identityproviders/salesforce".sub('{format}','json') + path = "/api/v2/identityproviders/salesforce".sub('{format}','json') # query parameters query_params = {} # header parameters @@ -643,11 +643,11 @@ if @api_client.config.debugging @api_client.config.logger.debug "Calling API: OAuthApi#put_salesforce ..." end # resource path - path = "/api/v1/identityproviders/salesforce".sub('{format}','json') + path = "/api/v2/identityproviders/salesforce".sub('{format}','json') # query parameters query_params = {} # header parameters @@ -698,11 +698,11 @@ if @api_client.config.debugging @api_client.config.logger.debug "Calling API: OAuthApi#delete_salesforce ..." end # resource path - path = "/api/v1/identityproviders/salesforce".sub('{format}','json') + path = "/api/v2/identityproviders/salesforce".sub('{format}','json') # query parameters query_params = {} # header parameters @@ -753,11 +753,11 @@ if @api_client.config.debugging @api_client.config.logger.debug "Calling API: OAuthApi#get_provider_id ..." end # resource path - path = "/api/v1/identityproviders/{providerId}".sub('{format}','json') + path = "/api/v2/identityproviders/{providerId}".sub('{format}','json') # query parameters query_params = {} # header parameters @@ -811,11 +811,11 @@ if @api_client.config.debugging @api_client.config.logger.debug "Calling API: OAuthApi#put_provider_id ..." end # resource path - path = "/api/v1/identityproviders/{providerId}".sub('{format}','json') + path = "/api/v2/identityproviders/{providerId}".sub('{format}','json') # query parameters query_params = {} # header parameters @@ -866,11 +866,11 @@ if @api_client.config.debugging @api_client.config.logger.debug "Calling API: OAuthApi#delete_provider_id ..." end # resource path - path = "/api/v1/identityproviders/{providerId}".sub('{format}','json') + path = "/api/v2/identityproviders/{providerId}".sub('{format}','json') # query parameters query_params = {} # header parameters @@ -921,11 +921,11 @@ if @api_client.config.debugging @api_client.config.logger.debug "Calling API: OAuthApi#get_clients ..." end # resource path - path = "/api/v1/oauth/clients".sub('{format}','json') + path = "/api/v2/oauth/clients".sub('{format}','json') # query parameters query_params = {} # header parameters @@ -979,11 +979,11 @@ if @api_client.config.debugging @api_client.config.logger.debug "Calling API: OAuthApi#post_clients ..." end # resource path - path = "/api/v1/oauth/clients".sub('{format}','json') + path = "/api/v2/oauth/clients".sub('{format}','json') # query parameters query_params = {} # header parameters @@ -1040,11 +1040,11 @@ # verify the required parameter 'client_id' is set fail "Missing the required parameter 'client_id' when calling get_clients_client_id" if client_id.nil? # resource path - path = "/api/v1/oauth/clients/{clientId}".sub('{format}','json').sub('{' + 'clientId' + '}', client_id.to_s) + path = "/api/v2/oauth/clients/{clientId}".sub('{format}','json').sub('{' + 'clientId' + '}', client_id.to_s) # query parameters query_params = {} # header parameters @@ -1103,11 +1103,11 @@ # verify the required parameter 'client_id' is set fail "Missing the required parameter 'client_id' when calling put_clients_client_id" if client_id.nil? # resource path - path = "/api/v1/oauth/clients/{clientId}".sub('{format}','json').sub('{' + 'clientId' + '}', client_id.to_s) + path = "/api/v2/oauth/clients/{clientId}".sub('{format}','json').sub('{' + 'clientId' + '}', client_id.to_s) # query parameters query_params = {} # header parameters @@ -1164,11 +1164,11 @@ # verify the required parameter 'client_id' is set fail "Missing the required parameter 'client_id' when calling delete_clients_client_id" if client_id.nil? # resource path - path = "/api/v1/oauth/clients/{clientId}".sub('{format}','json').sub('{' + 'clientId' + '}', client_id.to_s) + path = "/api/v2/oauth/clients/{clientId}".sub('{format}','json').sub('{' + 'clientId' + '}', client_id.to_s) # query parameters query_params = {} # header parameters @@ -1224,10 +1224,10 @@ # verify the required parameter 'client_id' is set fail "Missing the required parameter 'client_id' when calling post_clients_client_id_secret" if client_id.nil? # resource path - path = "/api/v1/oauth/clients/{clientId}/secret".sub('{format}','json').sub('{' + 'clientId' + '}', client_id.to_s) + path = "/api/v2/oauth/clients/{clientId}/secret".sub('{format}','json').sub('{' + 'clientId' + '}', client_id.to_s) # query parameters query_params = {} # header parameters