rustici_software_cloud_v2 1.1.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (161) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +355 -356
  4. data/lib/rustici_software_cloud_v2/api/about_api.rb +5 -5
  5. data/lib/rustici_software_cloud_v2/api/application_management_api.rb +191 -63
  6. data/lib/rustici_software_cloud_v2/api/authentication_api.rb +10 -18
  7. data/lib/rustici_software_cloud_v2/api/content_connectors_api.rb +236 -0
  8. data/lib/rustici_software_cloud_v2/api/course_api.rb +1046 -225
  9. data/lib/rustici_software_cloud_v2/api/dispatch_api.rb +634 -269
  10. data/lib/rustici_software_cloud_v2/api/invitations_api.rb +213 -171
  11. data/lib/rustici_software_cloud_v2/api/learner_api.rb +49 -49
  12. data/lib/rustici_software_cloud_v2/api/ping_api.rb +3 -1
  13. data/lib/rustici_software_cloud_v2/api/registration_api.rb +256 -270
  14. data/lib/rustici_software_cloud_v2/api/reporting_api.rb +20 -24
  15. data/lib/rustici_software_cloud_v2/api/xapi_api.rb +82 -67
  16. data/lib/rustici_software_cloud_v2/api/zoomi_api.rb +125 -56
  17. data/lib/rustici_software_cloud_v2/api_client.rb +3 -3
  18. data/lib/rustici_software_cloud_v2/api_error.rb +1 -1
  19. data/lib/rustici_software_cloud_v2/configuration.rb +11 -4
  20. data/lib/rustici_software_cloud_v2/models/about_schema.rb +4 -2
  21. data/lib/rustici_software_cloud_v2/models/activity_result_schema.rb +9 -37
  22. data/lib/rustici_software_cloud_v2/models/application_info_schema.rb +234 -0
  23. data/lib/rustici_software_cloud_v2/models/application_list_schema.rb +4 -2
  24. data/lib/rustici_software_cloud_v2/models/application_request_schema.rb +186 -0
  25. data/lib/rustici_software_cloud_v2/models/application_schema.rb +4 -2
  26. data/lib/rustici_software_cloud_v2/models/application_token.rb +4 -2
  27. data/lib/rustici_software_cloud_v2/models/asset_file_schema.rb +194 -0
  28. data/lib/rustici_software_cloud_v2/models/batch_tags_schema.rb +4 -2
  29. data/lib/rustici_software_cloud_v2/models/comment_schema.rb +4 -2
  30. data/lib/rustici_software_cloud_v2/models/completion_amount_schema.rb +4 -2
  31. data/lib/rustici_software_cloud_v2/models/connector_list_schema.rb +188 -0
  32. data/lib/rustici_software_cloud_v2/models/connector_schema.rb +226 -0
  33. data/lib/rustici_software_cloud_v2/models/course_activity_schema.rb +7 -31
  34. data/lib/rustici_software_cloud_v2/models/course_list_non_paged_schema.rb +4 -2
  35. data/lib/rustici_software_cloud_v2/models/course_list_schema.rb +5 -2
  36. data/lib/rustici_software_cloud_v2/models/course_reference_schema.rb +4 -2
  37. data/lib/rustici_software_cloud_v2/models/course_schema.rb +6 -30
  38. data/lib/rustici_software_cloud_v2/models/create_connector_schema.rb +218 -0
  39. data/lib/rustici_software_cloud_v2/models/create_dispatch_id_schema.rb +3 -20
  40. data/lib/rustici_software_cloud_v2/models/create_dispatch_list_schema.rb +4 -2
  41. data/lib/rustici_software_cloud_v2/models/create_dispatch_schema.rb +5 -3
  42. data/lib/rustici_software_cloud_v2/models/create_private_invitation_schema.rb +5 -3
  43. data/lib/rustici_software_cloud_v2/models/create_public_invitation_schema.rb +5 -3
  44. data/lib/rustici_software_cloud_v2/models/create_registration_schema.rb +4 -2
  45. data/lib/rustici_software_cloud_v2/models/credential_created_schema.rb +4 -2
  46. data/lib/rustici_software_cloud_v2/models/credential_list_schema.rb +4 -2
  47. data/lib/rustici_software_cloud_v2/models/credential_request_schema.rb +4 -2
  48. data/lib/rustici_software_cloud_v2/models/credential_schema.rb +4 -2
  49. data/lib/rustici_software_cloud_v2/models/destination_id_schema.rb +4 -2
  50. data/lib/rustici_software_cloud_v2/models/destination_list_schema.rb +5 -3
  51. data/lib/rustici_software_cloud_v2/models/destination_schema.rb +35 -6
  52. data/lib/rustici_software_cloud_v2/models/dispatch_id_schema.rb +4 -2
  53. data/lib/rustici_software_cloud_v2/models/dispatch_list_schema.rb +5 -2
  54. data/lib/rustici_software_cloud_v2/models/dispatch_lti13_info_schema.rb +186 -0
  55. data/lib/rustici_software_cloud_v2/models/dispatch_lti_info_schema.rb +221 -0
  56. data/lib/rustici_software_cloud_v2/models/dispatch_registration_count_schema.rb +4 -2
  57. data/lib/rustici_software_cloud_v2/models/dispatch_schema.rb +44 -4
  58. data/lib/rustici_software_cloud_v2/models/enabled_schema.rb +4 -2
  59. data/lib/rustici_software_cloud_v2/models/file_list_item_schema.rb +205 -0
  60. data/lib/rustici_software_cloud_v2/models/file_list_schema.rb +187 -0
  61. data/lib/rustici_software_cloud_v2/models/import_asset_request_schema.rb +207 -0
  62. data/lib/rustici_software_cloud_v2/models/import_connector_request_schema.rb +207 -0
  63. data/lib/rustici_software_cloud_v2/models/import_fetch_request_schema.rb +30 -7
  64. data/lib/rustici_software_cloud_v2/models/import_job_result_schema.rb +6 -30
  65. data/lib/rustici_software_cloud_v2/models/import_media_file_reference_request_schema.rb +216 -0
  66. data/lib/rustici_software_cloud_v2/models/import_request_schema.rb +204 -0
  67. data/lib/rustici_software_cloud_v2/models/import_result_schema.rb +4 -2
  68. data/lib/rustici_software_cloud_v2/models/integer_result_schema.rb +4 -2
  69. data/lib/rustici_software_cloud_v2/models/invitation_email_schema.rb +4 -2
  70. data/lib/rustici_software_cloud_v2/models/invitation_job_status_schema.rb +6 -30
  71. data/lib/rustici_software_cloud_v2/models/invitation_summary_list.rb +5 -2
  72. data/lib/rustici_software_cloud_v2/models/invitation_summary_schema.rb +4 -2
  73. data/lib/rustici_software_cloud_v2/models/item_value_pair_schema.rb +4 -2
  74. data/lib/rustici_software_cloud_v2/models/launch_auth_options_schema.rb +4 -2
  75. data/lib/rustici_software_cloud_v2/models/launch_auth_schema.rb +6 -30
  76. data/lib/rustici_software_cloud_v2/models/launch_history_list_schema.rb +4 -2
  77. data/lib/rustici_software_cloud_v2/models/launch_history_schema.rb +9 -37
  78. data/lib/rustici_software_cloud_v2/models/launch_link_request_schema.rb +6 -4
  79. data/lib/rustici_software_cloud_v2/models/launch_link_schema.rb +4 -2
  80. data/lib/rustici_software_cloud_v2/models/learner_preference_schema.rb +4 -2
  81. data/lib/rustici_software_cloud_v2/models/learner_schema.rb +4 -2
  82. data/lib/rustici_software_cloud_v2/models/lti13_platform_configuration_schema.rb +261 -0
  83. data/lib/rustici_software_cloud_v2/models/lti13_tool_configuration_schema.rb +236 -0
  84. data/lib/rustici_software_cloud_v2/models/media_file_metadata_schema.rb +213 -0
  85. data/lib/rustici_software_cloud_v2/models/message_schema.rb +4 -2
  86. data/lib/rustici_software_cloud_v2/models/metadata_schema.rb +11 -9
  87. data/lib/rustici_software_cloud_v2/models/objective_schema.rb +12 -44
  88. data/lib/rustici_software_cloud_v2/models/permissions_schema.rb +4 -2
  89. data/lib/rustici_software_cloud_v2/models/ping_schema.rb +4 -2
  90. data/lib/rustici_software_cloud_v2/models/post_back_schema.rb +9 -37
  91. data/lib/rustici_software_cloud_v2/models/private_invitation_list.rb +5 -2
  92. data/lib/rustici_software_cloud_v2/models/private_invitation_schema.rb +6 -4
  93. data/lib/rustici_software_cloud_v2/models/private_invitation_update_schema.rb +215 -0
  94. data/lib/rustici_software_cloud_v2/models/public_invitation_list.rb +5 -2
  95. data/lib/rustici_software_cloud_v2/models/public_invitation_schema.rb +17 -6
  96. data/lib/rustici_software_cloud_v2/models/public_invitation_update_schema.rb +228 -0
  97. data/lib/rustici_software_cloud_v2/models/registration_completion.rb +1 -1
  98. data/lib/rustici_software_cloud_v2/models/registration_list_schema.rb +5 -2
  99. data/lib/rustici_software_cloud_v2/models/registration_schema.rb +4 -2
  100. data/lib/rustici_software_cloud_v2/models/registration_success.rb +1 -1
  101. data/lib/rustici_software_cloud_v2/models/reportage_account_info_schema.rb +4 -2
  102. data/lib/rustici_software_cloud_v2/models/reportage_account_info_usage_schema.rb +4 -2
  103. data/lib/rustici_software_cloud_v2/models/reportage_auth_token_schema.rb +4 -2
  104. data/lib/rustici_software_cloud_v2/models/reportage_link_schema.rb +4 -2
  105. data/lib/rustici_software_cloud_v2/models/response_error.rb +4 -2
  106. data/lib/rustici_software_cloud_v2/models/runtime_interaction_schema.rb +6 -30
  107. data/lib/rustici_software_cloud_v2/models/runtime_objective_schema.rb +9 -37
  108. data/lib/rustici_software_cloud_v2/models/runtime_schema.rb +6 -30
  109. data/lib/rustici_software_cloud_v2/models/score_schema.rb +4 -2
  110. data/lib/rustici_software_cloud_v2/models/setting_item.rb +6 -30
  111. data/lib/rustici_software_cloud_v2/models/setting_list_schema.rb +4 -2
  112. data/lib/rustici_software_cloud_v2/models/setting_metadata.rb +6 -30
  113. data/lib/rustici_software_cloud_v2/models/setting_valid_value.rb +4 -2
  114. data/lib/rustici_software_cloud_v2/models/settings_individual_schema.rb +4 -2
  115. data/lib/rustici_software_cloud_v2/models/settings_post_schema.rb +4 -2
  116. data/lib/rustici_software_cloud_v2/models/shared_data_entry_schema.rb +4 -2
  117. data/lib/rustici_software_cloud_v2/models/static_properties_schema.rb +4 -2
  118. data/lib/rustici_software_cloud_v2/models/string_result_schema.rb +4 -2
  119. data/lib/rustici_software_cloud_v2/models/tag_list_schema.rb +4 -2
  120. data/lib/rustici_software_cloud_v2/models/title_schema.rb +4 -2
  121. data/lib/rustici_software_cloud_v2/models/token_request_schema.rb +4 -2
  122. data/lib/rustici_software_cloud_v2/models/update_application_schema.rb +196 -0
  123. data/lib/rustici_software_cloud_v2/models/update_connector_schema.rb +196 -0
  124. data/lib/rustici_software_cloud_v2/models/update_dispatch_schema.rb +16 -4
  125. data/lib/rustici_software_cloud_v2/models/user_invitation_list.rb +5 -2
  126. data/lib/rustici_software_cloud_v2/models/user_invitation_schema.rb +4 -2
  127. data/lib/rustici_software_cloud_v2/models/user_invitation_schema_registration_report.rb +4 -2
  128. data/lib/rustici_software_cloud_v2/models/xapi_account.rb +4 -2
  129. data/lib/rustici_software_cloud_v2/models/xapi_activity.rb +4 -2
  130. data/lib/rustici_software_cloud_v2/models/xapi_activity_definition.rb +4 -2
  131. data/lib/rustici_software_cloud_v2/models/xapi_agent_group.rb +6 -30
  132. data/lib/rustici_software_cloud_v2/models/xapi_attachment.rb +4 -2
  133. data/lib/rustici_software_cloud_v2/models/xapi_context.rb +4 -2
  134. data/lib/rustici_software_cloud_v2/models/xapi_context_activity.rb +4 -2
  135. data/lib/rustici_software_cloud_v2/models/xapi_credential_auth_type_schema.rb +6 -30
  136. data/lib/rustici_software_cloud_v2/models/xapi_credential_permissions_level_schema.rb +6 -30
  137. data/lib/rustici_software_cloud_v2/models/xapi_credential_post_schema.rb +4 -2
  138. data/lib/rustici_software_cloud_v2/models/xapi_credential_put_schema.rb +4 -2
  139. data/lib/rustici_software_cloud_v2/models/xapi_credential_schema.rb +4 -2
  140. data/lib/rustici_software_cloud_v2/models/xapi_credentials_list_schema.rb +5 -2
  141. data/lib/rustici_software_cloud_v2/models/xapi_endpoint_schema.rb +4 -2
  142. data/lib/rustici_software_cloud_v2/models/xapi_interaction_component.rb +4 -2
  143. data/lib/rustici_software_cloud_v2/models/xapi_result.rb +4 -2
  144. data/lib/rustici_software_cloud_v2/models/xapi_score.rb +4 -2
  145. data/lib/rustici_software_cloud_v2/models/xapi_statement.rb +4 -2
  146. data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_list_schema.rb +4 -2
  147. data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_post_schema.rb +4 -2
  148. data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_put_schema.rb +4 -2
  149. data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_schema.rb +4 -2
  150. data/lib/rustici_software_cloud_v2/models/xapi_statement_reference.rb +4 -2
  151. data/lib/rustici_software_cloud_v2/models/xapi_statement_result.rb +4 -2
  152. data/lib/rustici_software_cloud_v2/models/xapi_verb.rb +4 -2
  153. data/lib/rustici_software_cloud_v2/models/zoomi_company_id.rb +4 -2
  154. data/lib/rustici_software_cloud_v2/models/zoomi_course_options_schema.rb +14 -2
  155. data/lib/rustici_software_cloud_v2/version.rb +2 -2
  156. data/lib/rustici_software_cloud_v2.rb +23 -1
  157. data/rustici_software_cloud_v2.gemspec +3 -2
  158. data/spec/api_client_spec.rb +18 -1
  159. data/spec/configuration_spec.rb +1 -1
  160. data/spec/spec_helper.rb +1 -1
  161. metadata +45 -3
@@ -0,0 +1,236 @@
1
+ =begin
2
+ #SCORM Cloud Rest API
3
+
4
+ #REST API used for SCORM Cloud integrations.
5
+
6
+ OpenAPI spec version: 2.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.27
10
+
11
+ =end
12
+
13
+ require 'uri'
14
+
15
+ module RusticiSoftwareCloudV2
16
+ class ContentConnectorsApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # A call to this method will create a new content connector and return a newly created Id for it.
23
+ # @param connector
24
+ # @param [Hash] opts the optional parameters
25
+ # @return [StringResultSchema]
26
+ def create_connector(connector, opts = {})
27
+ data, _status_code, _headers = create_connector_with_http_info(connector, opts)
28
+ data
29
+ end
30
+
31
+ # A call to this method will create a new content connector and return a newly created Id for it.
32
+ # @param connector
33
+ # @param [Hash] opts the optional parameters
34
+ # @return [Array<(StringResultSchema, Fixnum, Hash)>] StringResultSchema data, response status code and response headers
35
+ def create_connector_with_http_info(connector, opts = {})
36
+ if @api_client.config.debugging
37
+ @api_client.config.logger.debug 'Calling API: ContentConnectorsApi.create_connector ...'
38
+ end
39
+ # verify the required parameter 'connector' is set
40
+ if connector.nil?
41
+ fail ArgumentError, "Missing the required parameter 'connector' when calling ContentConnectorsApi.create_connector"
42
+ end
43
+ # resource path
44
+ local_var_path = '/contentConnectors'
45
+
46
+ # query parameters
47
+ query_params = {}
48
+
49
+ # header parameters
50
+ header_params = {}
51
+ # HTTP header 'Accept' (if needed)
52
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
53
+ # HTTP header 'Content-Type'
54
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
55
+
56
+ # form parameters
57
+ form_params = {}
58
+
59
+ # http body (model)
60
+ post_body = @api_client.object_to_http_body(connector)
61
+ auth_names = ['APP_NORMAL', 'OAUTH']
62
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
63
+ :header_params => header_params,
64
+ :query_params => query_params,
65
+ :form_params => form_params,
66
+ :body => post_body,
67
+ :auth_names => auth_names,
68
+ :return_type => 'StringResultSchema')
69
+ if @api_client.config.debugging
70
+ @api_client.config.logger.debug "API called: ContentConnectorsApi#create_connector\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
71
+ end
72
+ return data, status_code, headers
73
+ end
74
+ # Delete a connector
75
+ # Delete the specified connector.
76
+ # @param connector_id the connector id
77
+ # @param [Hash] opts the optional parameters
78
+ # @return [nil]
79
+ def delete_connector(connector_id, opts = {})
80
+ delete_connector_with_http_info(connector_id, opts)
81
+ nil
82
+ end
83
+
84
+ # Delete a connector
85
+ # Delete the specified connector.
86
+ # @param connector_id the connector id
87
+ # @param [Hash] opts the optional parameters
88
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
89
+ def delete_connector_with_http_info(connector_id, opts = {})
90
+ if @api_client.config.debugging
91
+ @api_client.config.logger.debug 'Calling API: ContentConnectorsApi.delete_connector ...'
92
+ end
93
+ # verify the required parameter 'connector_id' is set
94
+ if connector_id.nil?
95
+ fail ArgumentError, "Missing the required parameter 'connector_id' when calling ContentConnectorsApi.delete_connector"
96
+ end
97
+ # resource path
98
+ local_var_path = '/contentConnectors/{connectorId}'.sub('{' + 'connectorId' + '}', connector_id.to_s)
99
+
100
+ # query parameters
101
+ query_params = {}
102
+
103
+ # header parameters
104
+ header_params = {}
105
+ # HTTP header 'Accept' (if needed)
106
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
107
+ # HTTP header 'Content-Type'
108
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
109
+
110
+ # form parameters
111
+ form_params = {}
112
+
113
+ # http body (model)
114
+ post_body = nil
115
+ auth_names = ['APP_NORMAL', 'OAUTH']
116
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
117
+ :header_params => header_params,
118
+ :query_params => query_params,
119
+ :form_params => form_params,
120
+ :body => post_body,
121
+ :auth_names => auth_names)
122
+ if @api_client.config.debugging
123
+ @api_client.config.logger.debug "API called: ContentConnectorsApi#delete_connector\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
124
+ end
125
+ return data, status_code, headers
126
+ end
127
+ # Get a list of all Content Connectors for the application
128
+ # Get list of all Content Connectors in this application.
129
+ # @param [Hash] opts the optional parameters
130
+ # @option opts [BOOLEAN] :include_additional_instance_information
131
+ # @return [ConnectorListSchema]
132
+ def get_connectors_list(opts = {})
133
+ data, _status_code, _headers = get_connectors_list_with_http_info(opts)
134
+ data
135
+ end
136
+
137
+ # Get a list of all Content Connectors for the application
138
+ # Get list of all Content Connectors in this application.
139
+ # @param [Hash] opts the optional parameters
140
+ # @option opts [BOOLEAN] :include_additional_instance_information
141
+ # @return [Array<(ConnectorListSchema, Fixnum, Hash)>] ConnectorListSchema data, response status code and response headers
142
+ def get_connectors_list_with_http_info(opts = {})
143
+ if @api_client.config.debugging
144
+ @api_client.config.logger.debug 'Calling API: ContentConnectorsApi.get_connectors_list ...'
145
+ end
146
+ # resource path
147
+ local_var_path = '/contentConnectors'
148
+
149
+ # query parameters
150
+ query_params = {}
151
+ query_params[:'includeAdditionalInstanceInformation'] = opts[:'include_additional_instance_information'] if !opts[:'include_additional_instance_information'].nil?
152
+
153
+ # header parameters
154
+ header_params = {}
155
+ # HTTP header 'Accept' (if needed)
156
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
157
+ # HTTP header 'Content-Type'
158
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
159
+
160
+ # form parameters
161
+ form_params = {}
162
+
163
+ # http body (model)
164
+ post_body = nil
165
+ auth_names = ['APP_NORMAL', 'OAUTH']
166
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
167
+ :header_params => header_params,
168
+ :query_params => query_params,
169
+ :form_params => form_params,
170
+ :body => post_body,
171
+ :auth_names => auth_names,
172
+ :return_type => 'ConnectorListSchema')
173
+ if @api_client.config.debugging
174
+ @api_client.config.logger.debug "API called: ContentConnectorsApi#get_connectors_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
175
+ end
176
+ return data, status_code, headers
177
+ end
178
+ # Update the configuration or enabled flag associated with `connectorId`.
179
+ # @param connector_id the connector id
180
+ # @param connector
181
+ # @param [Hash] opts the optional parameters
182
+ # @return [nil]
183
+ def update_connector(connector_id, connector, opts = {})
184
+ update_connector_with_http_info(connector_id, connector, opts)
185
+ nil
186
+ end
187
+
188
+ # Update the configuration or enabled flag associated with &#x60;connectorId&#x60;.
189
+ # @param connector_id the connector id
190
+ # @param connector
191
+ # @param [Hash] opts the optional parameters
192
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
193
+ def update_connector_with_http_info(connector_id, connector, opts = {})
194
+ if @api_client.config.debugging
195
+ @api_client.config.logger.debug 'Calling API: ContentConnectorsApi.update_connector ...'
196
+ end
197
+ # verify the required parameter 'connector_id' is set
198
+ if connector_id.nil?
199
+ fail ArgumentError, "Missing the required parameter 'connector_id' when calling ContentConnectorsApi.update_connector"
200
+ end
201
+ # verify the required parameter 'connector' is set
202
+ if connector.nil?
203
+ fail ArgumentError, "Missing the required parameter 'connector' when calling ContentConnectorsApi.update_connector"
204
+ end
205
+ # resource path
206
+ local_var_path = '/contentConnectors/{connectorId}'.sub('{' + 'connectorId' + '}', connector_id.to_s)
207
+
208
+ # query parameters
209
+ query_params = {}
210
+
211
+ # header parameters
212
+ header_params = {}
213
+ # HTTP header 'Accept' (if needed)
214
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
215
+ # HTTP header 'Content-Type'
216
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
217
+
218
+ # form parameters
219
+ form_params = {}
220
+
221
+ # http body (model)
222
+ post_body = @api_client.object_to_http_body(connector)
223
+ auth_names = ['APP_NORMAL', 'OAUTH']
224
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
225
+ :header_params => header_params,
226
+ :query_params => query_params,
227
+ :form_params => form_params,
228
+ :body => post_body,
229
+ :auth_names => auth_names)
230
+ if @api_client.config.debugging
231
+ @api_client.config.logger.debug "API called: ContentConnectorsApi#update_connector\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
232
+ end
233
+ return data, status_code, headers
234
+ end
235
+ end
236
+ end