Class: PostfinancecheckoutRubySdk::SingleSignOnUsersRolesService

Inherits:
Object
  • Object
show all
Defined in:
lib/postfinancecheckout-ruby-sdk/service/single_sign_on_users_roles_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(api_client = ApiClient.default) ⇒ SingleSignOnUsersRolesService

Returns a new instance of SingleSignOnUsersRolesService.



30
31
32
# File 'lib/postfinancecheckout-ruby-sdk/service/single_sign_on_users_roles_service.rb', line 30

def initialize(api_client = ApiClient.default)
  @api_client = api_client
end

Instance Attribute Details

#api_clientObject

Returns the value of attribute api_client.



27
28
29
# File 'lib/postfinancecheckout-ruby-sdk/service/single_sign_on_users_roles_service.rb', line 27

def api_client
  @api_client
end

Instance Method Details

#delete_single_sign_on_users_user_id_account_roles(user_id, role_id, account, opts = {}) ⇒ nil

Unassign a role from a single sign-on user for an account

Parameters:

  • user_id (Integer)
  • role_id (Integer)
  • account (Integer)

    Specifies the ID of the account the operation should be executed in.

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (nil)


39
40
41
42
# File 'lib/postfinancecheckout-ruby-sdk/service/single_sign_on_users_roles_service.rb', line 39

def (user_id, role_id, , opts = {})
  (user_id, role_id, , opts)
  nil
end

#delete_single_sign_on_users_user_id_account_roles_with_http_info(user_id, role_id, account, opts = {}) ⇒ Array<(nil, Integer, Hash)>

Returns nil, response status code and response headers.

Parameters:

  • user_id (Integer)
  • role_id (Integer)
  • account (Integer)

    Specifies the ID of the account the operation should be executed in.

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (Array<(nil, Integer, Hash)>)

    nil, response status code and response headers



51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# File 'lib/postfinancecheckout-ruby-sdk/service/single_sign_on_users_roles_service.rb', line 51

def (user_id, role_id, , opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: SingleSignOnUsersRolesService.delete_single_sign_on_users_user_id_account_roles ...'
  end
  # verify the required parameter 'user_id' is set
  if @api_client.config.client_side_validation && user_id.nil?
    fail ArgumentError, "Missing the required parameter 'user_id' when calling SingleSignOnUsersRolesService.delete_single_sign_on_users_user_id_account_roles"
  end
  # verify the required parameter 'role_id' is set
  if @api_client.config.client_side_validation && role_id.nil?
    fail ArgumentError, "Missing the required parameter 'role_id' when calling SingleSignOnUsersRolesService.delete_single_sign_on_users_user_id_account_roles"
  end
  # verify the required parameter 'account' is set
  if @api_client.config.client_side_validation && .nil?
    fail ArgumentError, "Missing the required parameter 'account' when calling SingleSignOnUsersRolesService.delete_single_sign_on_users_user_id_account_roles"
  end
  # resource path
  local_var_path = '/single-sign-on-users/{userId}/account-roles'.sub('{' + 'userId' + '}', CGI.escape(user_id.to_s))

  # query parameters
  query_params = opts[:query_params] || {}
  query_params[:'roleId'] = role_id

  # header parameters
  header_params = opts[:header_params] || {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
  header_params[:'Account'] = 

  # form parameters
  form_params = opts[:form_params] || {}

  # connection timeout
  connection_timeout = @api_client.config.timeout

  # http body (model)
  post_body = opts[:debug_body]

  # return_type
  return_type = opts[:debug_return_type]

  new_options = opts.merge(
    :operation => :"SingleSignOnUsersRolesService.delete_single_sign_on_users_user_id_account_roles",
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :return_type => return_type
  )

  data, status_code, headers = @api_client.call_api(:DELETE.to_sym.downcase, local_var_path, new_options, connection_timeout)
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: SingleSignOnUsersRolesService#delete_single_sign_on_users_user_id_account_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
  end
  return data, status_code, headers
end

#delete_single_sign_on_users_user_id_space_roles(user_id, role_id, space, opts = {}) ⇒ nil

Unassign a role from a single sign-on user for a space

Parameters:

  • user_id (Integer)
  • role_id (Integer)
  • space (Integer)

    Specifies the ID of the space the operation should be executed in.

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (nil)


115
116
117
118
# File 'lib/postfinancecheckout-ruby-sdk/service/single_sign_on_users_roles_service.rb', line 115

def delete_single_sign_on_users_user_id_space_roles(user_id, role_id, space, opts = {})
  delete_single_sign_on_users_user_id_space_roles_with_http_info(user_id, role_id, space, opts)
  nil
end

#delete_single_sign_on_users_user_id_space_roles_with_http_info(user_id, role_id, space, opts = {}) ⇒ Array<(nil, Integer, Hash)>

Returns nil, response status code and response headers.

Parameters:

  • user_id (Integer)
  • role_id (Integer)
  • space (Integer)

    Specifies the ID of the space the operation should be executed in.

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (Array<(nil, Integer, Hash)>)

    nil, response status code and response headers



127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
# File 'lib/postfinancecheckout-ruby-sdk/service/single_sign_on_users_roles_service.rb', line 127

def delete_single_sign_on_users_user_id_space_roles_with_http_info(user_id, role_id, space, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: SingleSignOnUsersRolesService.delete_single_sign_on_users_user_id_space_roles ...'
  end
  # verify the required parameter 'user_id' is set
  if @api_client.config.client_side_validation && user_id.nil?
    fail ArgumentError, "Missing the required parameter 'user_id' when calling SingleSignOnUsersRolesService.delete_single_sign_on_users_user_id_space_roles"
  end
  # verify the required parameter 'role_id' is set
  if @api_client.config.client_side_validation && role_id.nil?
    fail ArgumentError, "Missing the required parameter 'role_id' when calling SingleSignOnUsersRolesService.delete_single_sign_on_users_user_id_space_roles"
  end
  # verify the required parameter 'space' is set
  if @api_client.config.client_side_validation && space.nil?
    fail ArgumentError, "Missing the required parameter 'space' when calling SingleSignOnUsersRolesService.delete_single_sign_on_users_user_id_space_roles"
  end
  # resource path
  local_var_path = '/single-sign-on-users/{userId}/space-roles'.sub('{' + 'userId' + '}', CGI.escape(user_id.to_s))

  # query parameters
  query_params = opts[:query_params] || {}
  query_params[:'roleId'] = role_id

  # header parameters
  header_params = opts[:header_params] || {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
  header_params[:'Space'] = space

  # form parameters
  form_params = opts[:form_params] || {}

  # connection timeout
  connection_timeout = @api_client.config.timeout

  # http body (model)
  post_body = opts[:debug_body]

  # return_type
  return_type = opts[:debug_return_type]

  new_options = opts.merge(
    :operation => :"SingleSignOnUsersRolesService.delete_single_sign_on_users_user_id_space_roles",
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :return_type => return_type
  )

  data, status_code, headers = @api_client.call_api(:DELETE.to_sym.downcase, local_var_path, new_options, connection_timeout)
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: SingleSignOnUsersRolesService#delete_single_sign_on_users_user_id_space_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
  end
  return data, status_code, headers
end

#get_single_sign_on_users_user_id_account_roles(user_id, account, opts = {}) ⇒ UserAccountRoleListResponse

List all roles of a single sign-on user for an account

Parameters:

  • user_id (Integer)
  • account (Integer)

    Specifies the ID of the account the operation should be executed in.

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:



190
191
192
193
# File 'lib/postfinancecheckout-ruby-sdk/service/single_sign_on_users_roles_service.rb', line 190

def (user_id, , opts = {})
  data, _status_code, _headers = (user_id, , opts)
  data
end

#get_single_sign_on_users_user_id_account_roles_with_http_info(user_id, account, opts = {}) ⇒ Array<(UserAccountRoleListResponse, Integer, Hash)>

Returns UserAccountRoleListResponse data, response status code and response headers.

Parameters:

  • user_id (Integer)
  • account (Integer)

    Specifies the ID of the account the operation should be executed in.

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (Array<(UserAccountRoleListResponse, Integer, Hash)>)

    UserAccountRoleListResponse data, response status code and response headers



201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'lib/postfinancecheckout-ruby-sdk/service/single_sign_on_users_roles_service.rb', line 201

def (user_id, , opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: SingleSignOnUsersRolesService.get_single_sign_on_users_user_id_account_roles ...'
  end
  # verify the required parameter 'user_id' is set
  if @api_client.config.client_side_validation && user_id.nil?
    fail ArgumentError, "Missing the required parameter 'user_id' when calling SingleSignOnUsersRolesService.get_single_sign_on_users_user_id_account_roles"
  end
  # verify the required parameter 'account' is set
  if @api_client.config.client_side_validation && .nil?
    fail ArgumentError, "Missing the required parameter 'account' when calling SingleSignOnUsersRolesService.get_single_sign_on_users_user_id_account_roles"
  end
  # resource path
  local_var_path = '/single-sign-on-users/{userId}/account-roles'.sub('{' + 'userId' + '}', CGI.escape(user_id.to_s))

  # query parameters
  query_params = opts[:query_params] || {}

  # header parameters
  header_params = opts[:header_params] || {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
  header_params[:'Account'] = 

  # form parameters
  form_params = opts[:form_params] || {}

  # connection timeout
  connection_timeout = @api_client.config.timeout

  # http body (model)
  post_body = opts[:debug_body]

  # return_type
  return_type = opts[:debug_return_type] || 'UserAccountRoleListResponse'

  new_options = opts.merge(
    :operation => :"SingleSignOnUsersRolesService.get_single_sign_on_users_user_id_account_roles",
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :return_type => return_type
  )

  data, status_code, headers = @api_client.call_api(:GET.to_sym.downcase, local_var_path, new_options, connection_timeout)
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: SingleSignOnUsersRolesService#get_single_sign_on_users_user_id_account_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
  end
  return data, status_code, headers
end

#get_single_sign_on_users_user_id_space_roles(user_id, space, opts = {}) ⇒ UserSpaceRoleListResponse

List all roles of a single sign-on user for a space

Parameters:

  • user_id (Integer)
  • space (Integer)

    Specifies the ID of the space the operation should be executed in.

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:



259
260
261
262
# File 'lib/postfinancecheckout-ruby-sdk/service/single_sign_on_users_roles_service.rb', line 259

def get_single_sign_on_users_user_id_space_roles(user_id, space, opts = {})
  data, _status_code, _headers = get_single_sign_on_users_user_id_space_roles_with_http_info(user_id, space, opts)
  data
end

#get_single_sign_on_users_user_id_space_roles_with_http_info(user_id, space, opts = {}) ⇒ Array<(UserSpaceRoleListResponse, Integer, Hash)>

Returns UserSpaceRoleListResponse data, response status code and response headers.

Parameters:

  • user_id (Integer)
  • space (Integer)

    Specifies the ID of the space the operation should be executed in.

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (Array<(UserSpaceRoleListResponse, Integer, Hash)>)

    UserSpaceRoleListResponse data, response status code and response headers



270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
# File 'lib/postfinancecheckout-ruby-sdk/service/single_sign_on_users_roles_service.rb', line 270

def get_single_sign_on_users_user_id_space_roles_with_http_info(user_id, space, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: SingleSignOnUsersRolesService.get_single_sign_on_users_user_id_space_roles ...'
  end
  # verify the required parameter 'user_id' is set
  if @api_client.config.client_side_validation && user_id.nil?
    fail ArgumentError, "Missing the required parameter 'user_id' when calling SingleSignOnUsersRolesService.get_single_sign_on_users_user_id_space_roles"
  end
  # verify the required parameter 'space' is set
  if @api_client.config.client_side_validation && space.nil?
    fail ArgumentError, "Missing the required parameter 'space' when calling SingleSignOnUsersRolesService.get_single_sign_on_users_user_id_space_roles"
  end
  # resource path
  local_var_path = '/single-sign-on-users/{userId}/space-roles'.sub('{' + 'userId' + '}', CGI.escape(user_id.to_s))

  # query parameters
  query_params = opts[:query_params] || {}

  # header parameters
  header_params = opts[:header_params] || {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
  header_params[:'Space'] = space

  # form parameters
  form_params = opts[:form_params] || {}

  # connection timeout
  connection_timeout = @api_client.config.timeout

  # http body (model)
  post_body = opts[:debug_body]

  # return_type
  return_type = opts[:debug_return_type] || 'UserSpaceRoleListResponse'

  new_options = opts.merge(
    :operation => :"SingleSignOnUsersRolesService.get_single_sign_on_users_user_id_space_roles",
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :return_type => return_type
  )

  data, status_code, headers = @api_client.call_api(:GET.to_sym.downcase, local_var_path, new_options, connection_timeout)
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: SingleSignOnUsersRolesService#get_single_sign_on_users_user_id_space_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
  end
  return data, status_code, headers
end

#post_single_sign_on_users_user_id_account_roles(user_id, role_id, account, opts = {}) ⇒ UserAccountRole

Assign a role to a single sign-on user for an account

Parameters:

  • user_id (Integer)
  • role_id (Integer)
  • account (Integer)

    Specifies the ID of the account the operation should be executed in.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :applies_on_sub_account (Boolean)

    Whether the role should be assigned to the user in subaccounts only.

Returns:



330
331
332
333
# File 'lib/postfinancecheckout-ruby-sdk/service/single_sign_on_users_roles_service.rb', line 330

def (user_id, role_id, , opts = {})
  data, _status_code, _headers = (user_id, role_id, , opts)
  data
end

#post_single_sign_on_users_user_id_account_roles_with_http_info(user_id, role_id, account, opts = {}) ⇒ Array<(UserAccountRole, Integer, Hash)>

Returns UserAccountRole data, response status code and response headers.

Parameters:

  • user_id (Integer)
  • role_id (Integer)
  • account (Integer)

    Specifies the ID of the account the operation should be executed in.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :applies_on_sub_account (Boolean)

    Whether the role should be assigned to the user in subaccounts only.

Returns:

  • (Array<(UserAccountRole, Integer, Hash)>)

    UserAccountRole data, response status code and response headers



343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
# File 'lib/postfinancecheckout-ruby-sdk/service/single_sign_on_users_roles_service.rb', line 343

def (user_id, role_id, , opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: SingleSignOnUsersRolesService.post_single_sign_on_users_user_id_account_roles ...'
  end
  # verify the required parameter 'user_id' is set
  if @api_client.config.client_side_validation && user_id.nil?
    fail ArgumentError, "Missing the required parameter 'user_id' when calling SingleSignOnUsersRolesService.post_single_sign_on_users_user_id_account_roles"
  end
  # verify the required parameter 'role_id' is set
  if @api_client.config.client_side_validation && role_id.nil?
    fail ArgumentError, "Missing the required parameter 'role_id' when calling SingleSignOnUsersRolesService.post_single_sign_on_users_user_id_account_roles"
  end
  # verify the required parameter 'account' is set
  if @api_client.config.client_side_validation && .nil?
    fail ArgumentError, "Missing the required parameter 'account' when calling SingleSignOnUsersRolesService.post_single_sign_on_users_user_id_account_roles"
  end
  # resource path
  local_var_path = '/single-sign-on-users/{userId}/account-roles'.sub('{' + 'userId' + '}', CGI.escape(user_id.to_s))

  # query parameters
  query_params = opts[:query_params] || {}
  query_params[:'roleId'] = role_id
  query_params[:'appliesOnSubAccount'] = opts[:'applies_on_sub_account'] if !opts[:'applies_on_sub_account'].nil?

  # header parameters
  header_params = opts[:header_params] || {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
  header_params[:'Account'] = 

  # form parameters
  form_params = opts[:form_params] || {}

  # connection timeout
  connection_timeout = @api_client.config.timeout

  # http body (model)
  post_body = opts[:debug_body]

  # return_type
  return_type = opts[:debug_return_type] || 'UserAccountRole'

  new_options = opts.merge(
    :operation => :"SingleSignOnUsersRolesService.post_single_sign_on_users_user_id_account_roles",
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :return_type => return_type
  )

  data, status_code, headers = @api_client.call_api(:POST.to_sym.downcase, local_var_path, new_options, connection_timeout)
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: SingleSignOnUsersRolesService#post_single_sign_on_users_user_id_account_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
  end
  return data, status_code, headers
end

#post_single_sign_on_users_user_id_space_roles(user_id, role_id, space, opts = {}) ⇒ UserSpaceRole

Assign a role to a single sign-on user for a space

Parameters:

  • user_id (Integer)
  • role_id (Integer)
  • space (Integer)

    Specifies the ID of the space the operation should be executed in.

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:



408
409
410
411
# File 'lib/postfinancecheckout-ruby-sdk/service/single_sign_on_users_roles_service.rb', line 408

def post_single_sign_on_users_user_id_space_roles(user_id, role_id, space, opts = {})
  data, _status_code, _headers = post_single_sign_on_users_user_id_space_roles_with_http_info(user_id, role_id, space, opts)
  data
end

#post_single_sign_on_users_user_id_space_roles_with_http_info(user_id, role_id, space, opts = {}) ⇒ Array<(UserSpaceRole, Integer, Hash)>

Returns UserSpaceRole data, response status code and response headers.

Parameters:

  • user_id (Integer)
  • role_id (Integer)
  • space (Integer)

    Specifies the ID of the space the operation should be executed in.

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (Array<(UserSpaceRole, Integer, Hash)>)

    UserSpaceRole data, response status code and response headers



420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
# File 'lib/postfinancecheckout-ruby-sdk/service/single_sign_on_users_roles_service.rb', line 420

def post_single_sign_on_users_user_id_space_roles_with_http_info(user_id, role_id, space, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: SingleSignOnUsersRolesService.post_single_sign_on_users_user_id_space_roles ...'
  end
  # verify the required parameter 'user_id' is set
  if @api_client.config.client_side_validation && user_id.nil?
    fail ArgumentError, "Missing the required parameter 'user_id' when calling SingleSignOnUsersRolesService.post_single_sign_on_users_user_id_space_roles"
  end
  # verify the required parameter 'role_id' is set
  if @api_client.config.client_side_validation && role_id.nil?
    fail ArgumentError, "Missing the required parameter 'role_id' when calling SingleSignOnUsersRolesService.post_single_sign_on_users_user_id_space_roles"
  end
  # verify the required parameter 'space' is set
  if @api_client.config.client_side_validation && space.nil?
    fail ArgumentError, "Missing the required parameter 'space' when calling SingleSignOnUsersRolesService.post_single_sign_on_users_user_id_space_roles"
  end
  # resource path
  local_var_path = '/single-sign-on-users/{userId}/space-roles'.sub('{' + 'userId' + '}', CGI.escape(user_id.to_s))

  # query parameters
  query_params = opts[:query_params] || {}
  query_params[:'roleId'] = role_id

  # header parameters
  header_params = opts[:header_params] || {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
  header_params[:'Space'] = space

  # form parameters
  form_params = opts[:form_params] || {}

  # connection timeout
  connection_timeout = @api_client.config.timeout

  # http body (model)
  post_body = opts[:debug_body]

  # return_type
  return_type = opts[:debug_return_type] || 'UserSpaceRole'

  new_options = opts.merge(
    :operation => :"SingleSignOnUsersRolesService.post_single_sign_on_users_user_id_space_roles",
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :return_type => return_type
  )

  data, status_code, headers = @api_client.call_api(:POST.to_sym.downcase, local_var_path, new_options, connection_timeout)
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: SingleSignOnUsersRolesService#post_single_sign_on_users_user_id_space_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
  end
  return data, status_code, headers
end