lib/cloudsmith-api/api/orgs_api.rb in cloudsmith-api-2.0.13 vs lib/cloudsmith-api/api/orgs_api.rb in cloudsmith-api-2.0.14
- old
+ new
@@ -17,10 +17,63 @@
attr_accessor :api_client
def initialize(api_client = ApiClient.default)
@api_client = api_client
end
+ # Delete the specified organization.
+ # Delete the specified organization.
+ # @param org
+ # @param [Hash] opts the optional parameters
+ # @return [nil]
+ def orgs_delete(org, opts = {})
+ orgs_delete_with_http_info(org, opts)
+ nil
+ end
+
+ # Delete the specified organization.
+ # Delete the specified organization.
+ # @param org
+ # @param [Hash] opts the optional parameters
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
+ def orgs_delete_with_http_info(org, opts = {})
+ if @api_client.config.debugging
+ @api_client.config.logger.debug 'Calling API: OrgsApi.orgs_delete ...'
+ end
+ # verify the required parameter 'org' is set
+ if @api_client.config.client_side_validation && org.nil?
+ fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_delete"
+ end
+ # resource path
+ local_var_path = '/orgs/{org}/'.sub('{' + 'org' + '}', org.to_s)
+
+ # query parameters
+ query_params = {}
+
+ # header parameters
+ header_params = {}
+ # HTTP header 'Accept' (if needed)
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
+ # HTTP header 'Content-Type'
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
+
+ # form parameters
+ form_params = {}
+
+ # http body (model)
+ post_body = nil
+ auth_names = ['apikey', 'basic', 'token']
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
+ :header_params => header_params,
+ :query_params => query_params,
+ :form_params => form_params,
+ :body => post_body,
+ :auth_names => auth_names)
+ if @api_client.config.debugging
+ @api_client.config.logger.debug "API called: OrgsApi#orgs_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ end
+ return data, status_code, headers
+ end
# Create a package deny policy.
# Create a package deny policy.
# @param org
# @param [Hash] opts the optional parameters
# @option opts [PackageDenyPolicyRequest] :data
@@ -60,11 +113,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = @api_client.object_to_http_body(opts[:'data'])
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -120,11 +173,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -179,11 +232,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -241,11 +294,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = @api_client.object_to_http_body(opts[:'data'])
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -301,11 +354,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -363,11 +416,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = @api_client.object_to_http_body(opts[:'data'])
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -419,11 +472,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = @api_client.object_to_http_body(opts[:'data'])
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -479,11 +532,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -538,11 +591,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -598,11 +651,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -660,11 +713,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = @api_client.object_to_http_body(opts[:'data'])
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -720,11 +773,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -776,11 +829,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = @api_client.object_to_http_body(opts[:'data'])
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -836,11 +889,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -897,11 +950,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = @api_client.object_to_http_body(opts[:'data'])
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -963,11 +1016,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -1029,11 +1082,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -1089,11 +1142,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -1151,11 +1204,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = @api_client.object_to_http_body(opts[:'data'])
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -1211,11 +1264,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -1273,11 +1326,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = @api_client.object_to_http_body(opts[:'data'])
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -1333,11 +1386,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -1387,11 +1440,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -1447,11 +1500,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -1509,11 +1562,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -1569,11 +1622,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -1629,11 +1682,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -1688,11 +1741,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -1705,22 +1758,22 @@
# Create the OpenID Connect provider settings for the org.
# Create the OpenID Connect provider settings for the org.
# @param org
# @param [Hash] opts the optional parameters
# @option opts [ProviderSettingsRequest] :data
- # @return [nil]
+ # @return [ProviderSettings]
def orgs_openid_connect_create(org, opts = {})
- orgs_openid_connect_create_with_http_info(org, opts)
- nil
+ data, _status_code, _headers = orgs_openid_connect_create_with_http_info(org, opts)
+ data
end
# Create the OpenID Connect provider settings for the org.
# Create the OpenID Connect provider settings for the org.
# @param org
# @param [Hash] opts the optional parameters
# @option opts [ProviderSettingsRequest] :data
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
+ # @return [Array<(ProviderSettings, Fixnum, Hash)>] ProviderSettings data, response status code and response headers
def orgs_openid_connect_create_with_http_info(org, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: OrgsApi.orgs_openid_connect_create ...'
end
# verify the required parameter 'org' is set
@@ -1743,17 +1796,18 @@
# form parameters
form_params = {}
# http body (model)
post_body = @api_client.object_to_http_body(opts[:'data'])
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
- :auth_names => auth_names)
+ :auth_names => auth_names,
+ :return_type => 'ProviderSettings')
if @api_client.config.debugging
@api_client.config.logger.debug "API called: OrgsApi#orgs_openid_connect_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
@@ -1802,11 +1856,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -1861,11 +1915,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -1923,11 +1977,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = @api_client.object_to_http_body(opts[:'data'])
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -1983,11 +2037,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -2045,11 +2099,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = @api_client.object_to_http_body(opts[:'data'])
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -2099,11 +2153,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -2155,11 +2209,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = @api_client.object_to_http_body(opts[:'data'])
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -2215,11 +2269,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -2227,10 +2281,116 @@
if @api_client.config.debugging
@api_client.config.logger.debug "API called: OrgsApi#orgs_saml_group_sync_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
+ # Disable SAML Group Sync for this organization.
+ # Disable SAML Group Sync for this organization.
+ # @param org
+ # @param [Hash] opts the optional parameters
+ # @return [nil]
+ def orgs_saml_group_sync_disable(org, opts = {})
+ orgs_saml_group_sync_disable_with_http_info(org, opts)
+ nil
+ end
+
+ # Disable SAML Group Sync for this organization.
+ # Disable SAML Group Sync for this organization.
+ # @param org
+ # @param [Hash] opts the optional parameters
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
+ def orgs_saml_group_sync_disable_with_http_info(org, opts = {})
+ if @api_client.config.debugging
+ @api_client.config.logger.debug 'Calling API: OrgsApi.orgs_saml_group_sync_disable ...'
+ end
+ # verify the required parameter 'org' is set
+ if @api_client.config.client_side_validation && org.nil?
+ fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_saml_group_sync_disable"
+ end
+ # resource path
+ local_var_path = '/orgs/{org}/saml-group-sync/disable/'.sub('{' + 'org' + '}', org.to_s)
+
+ # query parameters
+ query_params = {}
+
+ # header parameters
+ header_params = {}
+ # HTTP header 'Accept' (if needed)
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
+ # HTTP header 'Content-Type'
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
+
+ # form parameters
+ form_params = {}
+
+ # http body (model)
+ post_body = nil
+ auth_names = ['apikey', 'basic', 'token']
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
+ :header_params => header_params,
+ :query_params => query_params,
+ :form_params => form_params,
+ :body => post_body,
+ :auth_names => auth_names)
+ if @api_client.config.debugging
+ @api_client.config.logger.debug "API called: OrgsApi#orgs_saml_group_sync_disable\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ end
+ return data, status_code, headers
+ end
+ # Enable SAML Group Sync for this organization.
+ # Enable SAML Group Sync for this organization.
+ # @param org
+ # @param [Hash] opts the optional parameters
+ # @return [nil]
+ def orgs_saml_group_sync_enable(org, opts = {})
+ orgs_saml_group_sync_enable_with_http_info(org, opts)
+ nil
+ end
+
+ # Enable SAML Group Sync for this organization.
+ # Enable SAML Group Sync for this organization.
+ # @param org
+ # @param [Hash] opts the optional parameters
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
+ def orgs_saml_group_sync_enable_with_http_info(org, opts = {})
+ if @api_client.config.debugging
+ @api_client.config.logger.debug 'Calling API: OrgsApi.orgs_saml_group_sync_enable ...'
+ end
+ # verify the required parameter 'org' is set
+ if @api_client.config.client_side_validation && org.nil?
+ fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_saml_group_sync_enable"
+ end
+ # resource path
+ local_var_path = '/orgs/{org}/saml-group-sync/enable/'.sub('{' + 'org' + '}', org.to_s)
+
+ # query parameters
+ query_params = {}
+
+ # header parameters
+ header_params = {}
+ # HTTP header 'Accept' (if needed)
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
+ # HTTP header 'Content-Type'
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
+
+ # form parameters
+ form_params = {}
+
+ # http body (model)
+ post_body = nil
+ auth_names = ['apikey', 'basic', 'token']
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
+ :header_params => header_params,
+ :query_params => query_params,
+ :form_params => form_params,
+ :body => post_body,
+ :auth_names => auth_names)
+ if @api_client.config.debugging
+ @api_client.config.logger.debug "API called: OrgsApi#orgs_saml_group_sync_enable\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ end
+ return data, status_code, headers
+ end
# Get the details of all SAML Group Sync mapping within an organization.
# Get the details of all SAML Group Sync mapping within an organization.
# @param org
# @param [Hash] opts the optional parameters
# @option opts [Integer] :page A page number within the paginated result set.
@@ -2274,11 +2434,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -2287,10 +2447,64 @@
if @api_client.config.debugging
@api_client.config.logger.debug "API called: OrgsApi#orgs_saml_group_sync_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
+ # Retrieve the SAML Group Sync status for this organization.
+ # Retrieve the SAML Group Sync status for this organization.
+ # @param org
+ # @param [Hash] opts the optional parameters
+ # @return [OrganizationGroupSyncStatus]
+ def orgs_saml_group_sync_status(org, opts = {})
+ data, _status_code, _headers = orgs_saml_group_sync_status_with_http_info(org, opts)
+ data
+ end
+
+ # Retrieve the SAML Group Sync status for this organization.
+ # Retrieve the SAML Group Sync status for this organization.
+ # @param org
+ # @param [Hash] opts the optional parameters
+ # @return [Array<(OrganizationGroupSyncStatus, Fixnum, Hash)>] OrganizationGroupSyncStatus data, response status code and response headers
+ def orgs_saml_group_sync_status_with_http_info(org, opts = {})
+ if @api_client.config.debugging
+ @api_client.config.logger.debug 'Calling API: OrgsApi.orgs_saml_group_sync_status ...'
+ end
+ # verify the required parameter 'org' is set
+ if @api_client.config.client_side_validation && org.nil?
+ fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_saml_group_sync_status"
+ end
+ # resource path
+ local_var_path = '/orgs/{org}/saml-group-sync/status/'.sub('{' + 'org' + '}', org.to_s)
+
+ # query parameters
+ query_params = {}
+
+ # header parameters
+ header_params = {}
+ # HTTP header 'Accept' (if needed)
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
+ # HTTP header 'Content-Type'
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
+
+ # form parameters
+ form_params = {}
+
+ # http body (model)
+ post_body = nil
+ auth_names = ['apikey', 'basic', 'token']
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
+ :header_params => header_params,
+ :query_params => query_params,
+ :form_params => form_params,
+ :body => post_body,
+ :auth_names => auth_names,
+ :return_type => 'OrganizationGroupSyncStatus')
+ if @api_client.config.debugging
+ @api_client.config.logger.debug "API called: OrgsApi#orgs_saml_group_sync_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ end
+ return data, status_code, headers
+ end
# Create a service within an organization.
# Create a service within an organization.
# @param org
# @param [Hash] opts the optional parameters
# @option opts [ServiceRequest] :data
@@ -2330,11 +2544,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = @api_client.object_to_http_body(opts[:'data'])
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -2390,11 +2604,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -2449,11 +2663,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -2511,11 +2725,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = @api_client.object_to_http_body(opts[:'data'])
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -2571,11 +2785,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -2631,11 +2845,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -2687,11 +2901,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = @api_client.object_to_http_body(opts[:'data'])
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -2747,11 +2961,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -2806,11 +3020,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -2868,11 +3082,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = @api_client.object_to_http_body(opts[:'data'])
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -2928,11 +3142,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -2946,10 +3160,11 @@
# Replace all team members.
# Replace all team members.
# @param org
# @param team
# @param [Hash] opts the optional parameters
+ # @option opts [OrganizationTeamMembers] :data
# @return [OrganizationTeamMembers]
def orgs_teams_members_update(org, team, opts = {})
data, _status_code, _headers = orgs_teams_members_update_with_http_info(org, team, opts)
data
end
@@ -2957,10 +3172,11 @@
# Replace all team members.
# Replace all team members.
# @param org
# @param team
# @param [Hash] opts the optional parameters
+ # @option opts [OrganizationTeamMembers] :data
# @return [Array<(OrganizationTeamMembers, Fixnum, Hash)>] OrganizationTeamMembers data, response status code and response headers
def orgs_teams_members_update_with_http_info(org, team, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: OrgsApi.orgs_teams_members_update ...'
end
@@ -2987,12 +3203,12 @@
# form parameters
form_params = {}
# http body (model)
- post_body = nil
- auth_names = ['apikey']
+ post_body = @api_client.object_to_http_body(opts[:'data'])
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -3050,11 +3266,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = @api_client.object_to_http_body(opts[:'data'])
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -3110,11 +3326,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -3166,11 +3382,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = @api_client.object_to_http_body(opts[:'data'])
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -3226,11 +3442,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -3287,11 +3503,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = @api_client.object_to_http_body(opts[:'data'])
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -3353,11 +3569,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -3419,11 +3635,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -3479,11 +3695,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -3541,11 +3757,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = @api_client.object_to_http_body(opts[:'data'])
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -3601,11 +3817,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -3663,11 +3879,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = @api_client.object_to_http_body(opts[:'data'])
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -3723,10 +3939,10 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['apikey']
+ auth_names = ['apikey', 'basic', 'token']
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,