xbim_identity 2.0.0 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- metadata +6 -107
- data/Gemfile +0 -9
- data/README.md +0 -174
- data/Rakefile +0 -10
- data/lib/xbim_identity/api/authentication_api.rb +0 -118
- data/lib/xbim_identity/api/client_applications_api.rb +0 -315
- data/lib/xbim_identity/api/invitations_api.rb +0 -489
- data/lib/xbim_identity/api/me_api.rb +0 -148
- data/lib/xbim_identity/api/members_api.rb +0 -406
- data/lib/xbim_identity/api/registration_api.rb +0 -85
- data/lib/xbim_identity/api/tenants_api.rb +0 -709
- data/lib/xbim_identity/api/users_api.rb +0 -308
- data/lib/xbim_identity/api_client.rb +0 -390
- data/lib/xbim_identity/api_error.rb +0 -57
- data/lib/xbim_identity/configuration.rb +0 -278
- data/lib/xbim_identity/models/application_type.rb +0 -39
- data/lib/xbim_identity/models/client_app.rb +0 -351
- data/lib/xbim_identity/models/client_app_endpoint.rb +0 -239
- data/lib/xbim_identity/models/draft_invitation.rb +0 -379
- data/lib/xbim_identity/models/invitation.rb +0 -379
- data/lib/xbim_identity/models/invitation_create.rb +0 -253
- data/lib/xbim_identity/models/invitation_edit.rb +0 -239
- data/lib/xbim_identity/models/invite_status.rb +0 -41
- data/lib/xbim_identity/models/master.rb +0 -331
- data/lib/xbim_identity/models/master_base.rb +0 -243
- data/lib/xbim_identity/models/master_subscription.rb +0 -323
- data/lib/xbim_identity/models/o_data_boolean.rb +0 -230
- data/lib/xbim_identity/models/o_data_client_app_endpoint_list.rb +0 -252
- data/lib/xbim_identity/models/o_data_client_app_list.rb +0 -252
- data/lib/xbim_identity/models/o_data_invitation_list.rb +0 -252
- data/lib/xbim_identity/models/o_data_string.rb +0 -230
- data/lib/xbim_identity/models/o_data_tenant_list.rb +0 -252
- data/lib/xbim_identity/models/o_data_tenant_user_list.rb +0 -252
- data/lib/xbim_identity/models/o_data_user_list.rb +0 -252
- data/lib/xbim_identity/models/problem_details.rb +0 -259
- data/lib/xbim_identity/models/region.rb +0 -280
- data/lib/xbim_identity/models/region_info.rb +0 -256
- data/lib/xbim_identity/models/subscription.rb +0 -309
- data/lib/xbim_identity/models/team_member_create.rb +0 -229
- data/lib/xbim_identity/models/team_member_edit.rb +0 -219
- data/lib/xbim_identity/models/tenancy_type.rb +0 -38
- data/lib/xbim_identity/models/tenant.rb +0 -383
- data/lib/xbim_identity/models/tenant_create.rb +0 -267
- data/lib/xbim_identity/models/tenant_edit.rb +0 -229
- data/lib/xbim_identity/models/tenant_role.rb +0 -39
- data/lib/xbim_identity/models/tenant_user.rb +0 -299
- data/lib/xbim_identity/models/token_err_response.rb +0 -219
- data/lib/xbim_identity/models/token_response.rb +0 -259
- data/lib/xbim_identity/models/user.rb +0 -261
- data/lib/xbim_identity/models/user_create.rb +0 -247
- data/lib/xbim_identity/models/user_tenant.rb +0 -279
- data/lib/xbim_identity/version.rb +0 -15
- data/lib/xbim_identity.rb +0 -83
- data/spec/api/authentication_api_spec.rb +0 -52
- data/spec/api/client_applications_api_spec.rb +0 -101
- data/spec/api/invitations_api_spec.rb +0 -130
- data/spec/api/me_api_spec.rb +0 -61
- data/spec/api/members_api_spec.rb +0 -113
- data/spec/api/registration_api_spec.rb +0 -48
- data/spec/api/tenants_api_spec.rb +0 -176
- data/spec/api/users_api_spec.rb +0 -95
- data/spec/api_client_spec.rb +0 -226
- data/spec/configuration_spec.rb +0 -42
- data/spec/models/application_type_spec.rb +0 -28
- data/spec/models/client_app_endpoint_spec.rb +0 -46
- data/spec/models/client_app_spec.rb +0 -112
- data/spec/models/draft_invitation_spec.rb +0 -130
- data/spec/models/invitation_create_spec.rb +0 -52
- data/spec/models/invitation_edit_spec.rb +0 -46
- data/spec/models/invitation_spec.rb +0 -130
- data/spec/models/invite_status_spec.rb +0 -28
- data/spec/models/master_base_spec.rb +0 -46
- data/spec/models/master_spec.rb +0 -94
- data/spec/models/master_subscription_spec.rb +0 -94
- data/spec/models/o_data_boolean_spec.rb +0 -40
- data/spec/models/o_data_client_app_endpoint_list_spec.rb +0 -52
- data/spec/models/o_data_client_app_list_spec.rb +0 -52
- data/spec/models/o_data_invitation_list_spec.rb +0 -52
- data/spec/models/o_data_string_spec.rb +0 -40
- data/spec/models/o_data_tenant_list_spec.rb +0 -52
- data/spec/models/o_data_tenant_user_list_spec.rb +0 -52
- data/spec/models/o_data_user_list_spec.rb +0 -52
- data/spec/models/problem_details_spec.rb +0 -58
- data/spec/models/region_info_spec.rb +0 -46
- data/spec/models/region_spec.rb +0 -58
- data/spec/models/subscription_spec.rb +0 -88
- data/spec/models/team_member_create_spec.rb +0 -40
- data/spec/models/team_member_edit_spec.rb +0 -34
- data/spec/models/tenancy_type_spec.rb +0 -28
- data/spec/models/tenant_create_spec.rb +0 -58
- data/spec/models/tenant_edit_spec.rb +0 -40
- data/spec/models/tenant_role_spec.rb +0 -28
- data/spec/models/tenant_spec.rb +0 -130
- data/spec/models/tenant_user_spec.rb +0 -82
- data/spec/models/token_err_response_spec.rb +0 -34
- data/spec/models/token_response_spec.rb +0 -58
- data/spec/models/user_create_spec.rb +0 -46
- data/spec/models/user_spec.rb +0 -58
- data/spec/models/user_tenant_spec.rb +0 -70
- data/spec/spec_helper.rb +0 -111
- data/xbim_identity-1.0.0.gem +0 -0
- data/xbim_identity.gemspec +0 -38
@@ -1,315 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Xbim Flex Identity API 2.0
|
3
|
-
|
4
|
-
#Communication centralised around construction data
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 2.0
|
7
|
-
Contact: info@xbim.net
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.4.0
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'cgi'
|
14
|
-
|
15
|
-
module XbimIdentity
|
16
|
-
class ClientApplicationsApi
|
17
|
-
attr_accessor :api_client
|
18
|
-
|
19
|
-
def initialize(api_client = ApiClient.default)
|
20
|
-
@api_client = api_client
|
21
|
-
end
|
22
|
-
# Gets Endpointsfor the given client
|
23
|
-
# <span style='font-size: 17px;'>Summary:</span>Gets Endpointsfor the given client.<br/>Return Type: <b>ODataClientAppEndpointList</b><br/>For more information about OData responses <a href='https://www.odata.org/getting-started/understand-odata-in-6-steps/'>link</a>.<br/><br/>
|
24
|
-
# @param client_id [String] The client Id
|
25
|
-
# @param [Hash] opts the optional parameters
|
26
|
-
# @option opts [String] :expand Indicates the related entities to be represented inline. The maximum depth is 2.
|
27
|
-
# @option opts [String] :filter Restricts the set of items returned. The maximum number of expressions is 100. The allowed functions are: allfunctions.
|
28
|
-
# @option opts [String] :select Limits the properties returned in the result.
|
29
|
-
# @option opts [String] :orderby Specifies the order in which items are returned. The maximum number of expressions is 5.
|
30
|
-
# @option opts [Integer] :top Limits the number of items returned from a collection.
|
31
|
-
# @option opts [Integer] :skip Excludes the specified number of items of the queried collection from the result.
|
32
|
-
# @option opts [Boolean] :count Indicates whether the total count of items within a collection are returned in the result.
|
33
|
-
# @return [ODataClientAppEndpointList]
|
34
|
-
def id20_client_applications_client_id_endpoints_get(client_id, opts = {})
|
35
|
-
data, _status_code, _headers = id20_client_applications_client_id_endpoints_get_with_http_info(client_id, opts)
|
36
|
-
data
|
37
|
-
end
|
38
|
-
|
39
|
-
# Gets Endpointsfor the given client
|
40
|
-
# <span style='font-size: 17px;'>Summary:</span>Gets Endpointsfor the given client.<br/>Return Type: <b>ODataClientAppEndpointList</b><br/>For more information about OData responses <a href='https://www.odata.org/getting-started/understand-odata-in-6-steps/'>link</a>.<br/><br/>
|
41
|
-
# @param client_id [String] The client Id
|
42
|
-
# @param [Hash] opts the optional parameters
|
43
|
-
# @option opts [String] :expand Indicates the related entities to be represented inline. The maximum depth is 2.
|
44
|
-
# @option opts [String] :filter Restricts the set of items returned. The maximum number of expressions is 100. The allowed functions are: allfunctions.
|
45
|
-
# @option opts [String] :select Limits the properties returned in the result.
|
46
|
-
# @option opts [String] :orderby Specifies the order in which items are returned. The maximum number of expressions is 5.
|
47
|
-
# @option opts [Integer] :top Limits the number of items returned from a collection.
|
48
|
-
# @option opts [Integer] :skip Excludes the specified number of items of the queried collection from the result.
|
49
|
-
# @option opts [Boolean] :count Indicates whether the total count of items within a collection are returned in the result.
|
50
|
-
# @return [Array<(ODataClientAppEndpointList, Integer, Hash)>] ODataClientAppEndpointList data, response status code and response headers
|
51
|
-
def id20_client_applications_client_id_endpoints_get_with_http_info(client_id, opts = {})
|
52
|
-
if @api_client.config.debugging
|
53
|
-
@api_client.config.logger.debug 'Calling API: ClientApplicationsApi.id20_client_applications_client_id_endpoints_get ...'
|
54
|
-
end
|
55
|
-
# resource path
|
56
|
-
local_var_path = '/id/2.0/ClientApplications({clientId})/Endpoints'.sub('{' + 'clientId' + '}', CGI.escape(client_id.to_s))
|
57
|
-
|
58
|
-
# query parameters
|
59
|
-
query_params = opts[:query_params] || {}
|
60
|
-
query_params[:'$expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
61
|
-
query_params[:'$filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
62
|
-
query_params[:'$select'] = opts[:'select'] if !opts[:'select'].nil?
|
63
|
-
query_params[:'$orderby'] = opts[:'orderby'] if !opts[:'orderby'].nil?
|
64
|
-
query_params[:'$top'] = opts[:'top'] if !opts[:'top'].nil?
|
65
|
-
query_params[:'$skip'] = opts[:'skip'] if !opts[:'skip'].nil?
|
66
|
-
query_params[:'$count'] = opts[:'count'] if !opts[:'count'].nil?
|
67
|
-
|
68
|
-
# header parameters
|
69
|
-
header_params = opts[:header_params] || {}
|
70
|
-
# HTTP header 'Accept' (if needed)
|
71
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
72
|
-
|
73
|
-
# form parameters
|
74
|
-
form_params = opts[:form_params] || {}
|
75
|
-
|
76
|
-
# http body (model)
|
77
|
-
post_body = opts[:debug_body]
|
78
|
-
|
79
|
-
# return_type
|
80
|
-
return_type = opts[:debug_return_type] || 'ODataClientAppEndpointList'
|
81
|
-
|
82
|
-
# auth_names
|
83
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
84
|
-
|
85
|
-
new_options = opts.merge(
|
86
|
-
:operation => :"ClientApplicationsApi.id20_client_applications_client_id_endpoints_get",
|
87
|
-
:header_params => header_params,
|
88
|
-
:query_params => query_params,
|
89
|
-
:form_params => form_params,
|
90
|
-
:body => post_body,
|
91
|
-
:auth_names => auth_names,
|
92
|
-
:return_type => return_type
|
93
|
-
)
|
94
|
-
|
95
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
96
|
-
if @api_client.config.debugging
|
97
|
-
@api_client.config.logger.debug "API called: ClientApplicationsApi#id20_client_applications_client_id_endpoints_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
98
|
-
end
|
99
|
-
return data, status_code, headers
|
100
|
-
end
|
101
|
-
|
102
|
-
# Adds an Endpoints to the given client
|
103
|
-
# <span style='font-size: 17px;'>Summary:</span>Adds an Endpoints to the given client.<br/>Return Type: <b></b><br/><br/>
|
104
|
-
# @param client_id [String] The client Id
|
105
|
-
# @param [Hash] opts the optional parameters
|
106
|
-
# @option opts [String] :expand Indicates the related entities to be represented inline. The maximum depth is 2.
|
107
|
-
# @option opts [String] :select Limits the properties returned in the result.
|
108
|
-
# @option opts [ClientAppEndpoint] :client_app_endpoint
|
109
|
-
# @return [nil]
|
110
|
-
def id20_client_applications_client_id_endpoints_post(client_id, opts = {})
|
111
|
-
id20_client_applications_client_id_endpoints_post_with_http_info(client_id, opts)
|
112
|
-
nil
|
113
|
-
end
|
114
|
-
|
115
|
-
# Adds an Endpoints to the given client
|
116
|
-
# <span style='font-size: 17px;'>Summary:</span>Adds an Endpoints to the given client.<br/>Return Type: <b></b><br/><br/>
|
117
|
-
# @param client_id [String] The client Id
|
118
|
-
# @param [Hash] opts the optional parameters
|
119
|
-
# @option opts [String] :expand Indicates the related entities to be represented inline. The maximum depth is 2.
|
120
|
-
# @option opts [String] :select Limits the properties returned in the result.
|
121
|
-
# @option opts [ClientAppEndpoint] :client_app_endpoint
|
122
|
-
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
123
|
-
def id20_client_applications_client_id_endpoints_post_with_http_info(client_id, opts = {})
|
124
|
-
if @api_client.config.debugging
|
125
|
-
@api_client.config.logger.debug 'Calling API: ClientApplicationsApi.id20_client_applications_client_id_endpoints_post ...'
|
126
|
-
end
|
127
|
-
# resource path
|
128
|
-
local_var_path = '/id/2.0/ClientApplications({clientId})/Endpoints'.sub('{' + 'clientId' + '}', CGI.escape(client_id.to_s))
|
129
|
-
|
130
|
-
# query parameters
|
131
|
-
query_params = opts[:query_params] || {}
|
132
|
-
query_params[:'$expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
133
|
-
query_params[:'$select'] = opts[:'select'] if !opts[:'select'].nil?
|
134
|
-
|
135
|
-
# header parameters
|
136
|
-
header_params = opts[:header_params] || {}
|
137
|
-
# HTTP header 'Content-Type'
|
138
|
-
content_type = @api_client.select_header_content_type(['application/json', 'application/xml', 'text/json', 'application/*+json'])
|
139
|
-
if !content_type.nil?
|
140
|
-
header_params['Content-Type'] = content_type
|
141
|
-
end
|
142
|
-
|
143
|
-
# form parameters
|
144
|
-
form_params = opts[:form_params] || {}
|
145
|
-
|
146
|
-
# http body (model)
|
147
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'client_app_endpoint'])
|
148
|
-
|
149
|
-
# return_type
|
150
|
-
return_type = opts[:debug_return_type]
|
151
|
-
|
152
|
-
# auth_names
|
153
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
154
|
-
|
155
|
-
new_options = opts.merge(
|
156
|
-
:operation => :"ClientApplicationsApi.id20_client_applications_client_id_endpoints_post",
|
157
|
-
:header_params => header_params,
|
158
|
-
:query_params => query_params,
|
159
|
-
:form_params => form_params,
|
160
|
-
:body => post_body,
|
161
|
-
:auth_names => auth_names,
|
162
|
-
:return_type => return_type
|
163
|
-
)
|
164
|
-
|
165
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
166
|
-
if @api_client.config.debugging
|
167
|
-
@api_client.config.logger.debug "API called: ClientApplicationsApi#id20_client_applications_client_id_endpoints_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
168
|
-
end
|
169
|
-
return data, status_code, headers
|
170
|
-
end
|
171
|
-
|
172
|
-
# Gets the specified Client Application by its client id
|
173
|
-
# <span style='font-size: 17px;'>Summary:</span>Gets the specified Client Application by its client id.<br/>Return Type: <b>ClientApp</b><br/><br/>
|
174
|
-
# @param client_id [String] The client Id.
|
175
|
-
# @param [Hash] opts the optional parameters
|
176
|
-
# @option opts [String] :expand Indicates the related entities to be represented inline. The maximum depth is 5.
|
177
|
-
# @option opts [String] :select Limits the properties returned in the result.
|
178
|
-
# @return [ClientApp]
|
179
|
-
def id20_client_applications_client_id_get(client_id, opts = {})
|
180
|
-
data, _status_code, _headers = id20_client_applications_client_id_get_with_http_info(client_id, opts)
|
181
|
-
data
|
182
|
-
end
|
183
|
-
|
184
|
-
# Gets the specified Client Application by its client id
|
185
|
-
# <span style='font-size: 17px;'>Summary:</span>Gets the specified Client Application by its client id.<br/>Return Type: <b>ClientApp</b><br/><br/>
|
186
|
-
# @param client_id [String] The client Id.
|
187
|
-
# @param [Hash] opts the optional parameters
|
188
|
-
# @option opts [String] :expand Indicates the related entities to be represented inline. The maximum depth is 5.
|
189
|
-
# @option opts [String] :select Limits the properties returned in the result.
|
190
|
-
# @return [Array<(ClientApp, Integer, Hash)>] ClientApp data, response status code and response headers
|
191
|
-
def id20_client_applications_client_id_get_with_http_info(client_id, opts = {})
|
192
|
-
if @api_client.config.debugging
|
193
|
-
@api_client.config.logger.debug 'Calling API: ClientApplicationsApi.id20_client_applications_client_id_get ...'
|
194
|
-
end
|
195
|
-
# resource path
|
196
|
-
local_var_path = '/id/2.0/ClientApplications({clientId})'.sub('{' + 'clientId' + '}', CGI.escape(client_id.to_s))
|
197
|
-
|
198
|
-
# query parameters
|
199
|
-
query_params = opts[:query_params] || {}
|
200
|
-
query_params[:'$expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
201
|
-
query_params[:'$select'] = opts[:'select'] if !opts[:'select'].nil?
|
202
|
-
|
203
|
-
# header parameters
|
204
|
-
header_params = opts[:header_params] || {}
|
205
|
-
# HTTP header 'Accept' (if needed)
|
206
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
207
|
-
|
208
|
-
# form parameters
|
209
|
-
form_params = opts[:form_params] || {}
|
210
|
-
|
211
|
-
# http body (model)
|
212
|
-
post_body = opts[:debug_body]
|
213
|
-
|
214
|
-
# return_type
|
215
|
-
return_type = opts[:debug_return_type] || 'ClientApp'
|
216
|
-
|
217
|
-
# auth_names
|
218
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
219
|
-
|
220
|
-
new_options = opts.merge(
|
221
|
-
:operation => :"ClientApplicationsApi.id20_client_applications_client_id_get",
|
222
|
-
:header_params => header_params,
|
223
|
-
:query_params => query_params,
|
224
|
-
:form_params => form_params,
|
225
|
-
:body => post_body,
|
226
|
-
:auth_names => auth_names,
|
227
|
-
:return_type => return_type
|
228
|
-
)
|
229
|
-
|
230
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
231
|
-
if @api_client.config.debugging
|
232
|
-
@api_client.config.logger.debug "API called: ClientApplicationsApi#id20_client_applications_client_id_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
233
|
-
end
|
234
|
-
return data, status_code, headers
|
235
|
-
end
|
236
|
-
|
237
|
-
# Operations to query a set of data
|
238
|
-
# <span style='font-size: 17px;'>Summary:</span>Operations to query a set of data.<br/>Queries support: $filter, $orderby, $select, $expand(including nested filters, selects and expands), $top, $skip.<br/>Return Type: <b>ODataClientAppList</b><br/>For more information about OData responses <a href='https://www.odata.org/getting-started/understand-odata-in-6-steps/'>link</a>.<br/><br/>
|
239
|
-
# @param [Hash] opts the optional parameters
|
240
|
-
# @option opts [String] :expand Indicates the related entities to be represented inline. The maximum depth is 5.
|
241
|
-
# @option opts [String] :filter Restricts the set of items returned. The maximum number of expressions is 1000. The allowed functions are: allfunctions.
|
242
|
-
# @option opts [String] :select Limits the properties returned in the result.
|
243
|
-
# @option opts [String] :orderby Specifies the order in which items are returned. The maximum number of expressions is 5.
|
244
|
-
# @option opts [Integer] :top Limits the number of items returned from a collection. The maximum value is 1000.
|
245
|
-
# @option opts [Integer] :skip Excludes the specified number of items of the queried collection from the result.
|
246
|
-
# @option opts [Boolean] :count Indicates whether the total count of items within a collection are returned in the result.
|
247
|
-
# @return [ODataClientAppList]
|
248
|
-
def id20_client_applications_get(opts = {})
|
249
|
-
data, _status_code, _headers = id20_client_applications_get_with_http_info(opts)
|
250
|
-
data
|
251
|
-
end
|
252
|
-
|
253
|
-
# Operations to query a set of data
|
254
|
-
# <span style='font-size: 17px;'>Summary:</span>Operations to query a set of data.<br/>Queries support: $filter, $orderby, $select, $expand(including nested filters, selects and expands), $top, $skip.<br/>Return Type: <b>ODataClientAppList</b><br/>For more information about OData responses <a href='https://www.odata.org/getting-started/understand-odata-in-6-steps/'>link</a>.<br/><br/>
|
255
|
-
# @param [Hash] opts the optional parameters
|
256
|
-
# @option opts [String] :expand Indicates the related entities to be represented inline. The maximum depth is 5.
|
257
|
-
# @option opts [String] :filter Restricts the set of items returned. The maximum number of expressions is 1000. The allowed functions are: allfunctions.
|
258
|
-
# @option opts [String] :select Limits the properties returned in the result.
|
259
|
-
# @option opts [String] :orderby Specifies the order in which items are returned. The maximum number of expressions is 5.
|
260
|
-
# @option opts [Integer] :top Limits the number of items returned from a collection. The maximum value is 1000.
|
261
|
-
# @option opts [Integer] :skip Excludes the specified number of items of the queried collection from the result.
|
262
|
-
# @option opts [Boolean] :count Indicates whether the total count of items within a collection are returned in the result.
|
263
|
-
# @return [Array<(ODataClientAppList, Integer, Hash)>] ODataClientAppList data, response status code and response headers
|
264
|
-
def id20_client_applications_get_with_http_info(opts = {})
|
265
|
-
if @api_client.config.debugging
|
266
|
-
@api_client.config.logger.debug 'Calling API: ClientApplicationsApi.id20_client_applications_get ...'
|
267
|
-
end
|
268
|
-
# resource path
|
269
|
-
local_var_path = '/id/2.0/ClientApplications'
|
270
|
-
|
271
|
-
# query parameters
|
272
|
-
query_params = opts[:query_params] || {}
|
273
|
-
query_params[:'$expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
274
|
-
query_params[:'$filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
275
|
-
query_params[:'$select'] = opts[:'select'] if !opts[:'select'].nil?
|
276
|
-
query_params[:'$orderby'] = opts[:'orderby'] if !opts[:'orderby'].nil?
|
277
|
-
query_params[:'$top'] = opts[:'top'] if !opts[:'top'].nil?
|
278
|
-
query_params[:'$skip'] = opts[:'skip'] if !opts[:'skip'].nil?
|
279
|
-
query_params[:'$count'] = opts[:'count'] if !opts[:'count'].nil?
|
280
|
-
|
281
|
-
# header parameters
|
282
|
-
header_params = opts[:header_params] || {}
|
283
|
-
# HTTP header 'Accept' (if needed)
|
284
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
285
|
-
|
286
|
-
# form parameters
|
287
|
-
form_params = opts[:form_params] || {}
|
288
|
-
|
289
|
-
# http body (model)
|
290
|
-
post_body = opts[:debug_body]
|
291
|
-
|
292
|
-
# return_type
|
293
|
-
return_type = opts[:debug_return_type] || 'ODataClientAppList'
|
294
|
-
|
295
|
-
# auth_names
|
296
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
297
|
-
|
298
|
-
new_options = opts.merge(
|
299
|
-
:operation => :"ClientApplicationsApi.id20_client_applications_get",
|
300
|
-
:header_params => header_params,
|
301
|
-
:query_params => query_params,
|
302
|
-
:form_params => form_params,
|
303
|
-
:body => post_body,
|
304
|
-
:auth_names => auth_names,
|
305
|
-
:return_type => return_type
|
306
|
-
)
|
307
|
-
|
308
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
309
|
-
if @api_client.config.debugging
|
310
|
-
@api_client.config.logger.debug "API called: ClientApplicationsApi#id20_client_applications_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
311
|
-
end
|
312
|
-
return data, status_code, headers
|
313
|
-
end
|
314
|
-
end
|
315
|
-
end
|