wallee-ruby-sdk 6.3.0 → 7.0.0
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
- data/Gemfile.lock +68 -19
- data/LICENSE +1 -1
- data/README.md +451 -108
- data/lib/wallee-ruby-sdk/api_client.rb +1 -1
- data/lib/wallee-ruby-sdk/models/abstract_o_auth_client_update.rb +340 -0
- data/lib/wallee-ruby-sdk/models/abstract_role_update.rb +13 -1
- data/lib/wallee-ruby-sdk/models/abstract_walleejoin_partnership.rb +330 -0
- data/lib/wallee-ruby-sdk/models/{payment_terminal_preparing.rb → account_create_with_owner.rb} +63 -34
- data/lib/wallee-ruby-sdk/models/authenticated_card_data_create.rb +30 -1
- data/lib/wallee-ruby-sdk/models/bank_payment_type.rb +50 -0
- data/lib/wallee-ruby-sdk/models/basic_address.rb +266 -0
- data/lib/wallee-ruby-sdk/models/boarding_strategy_information_request.rb +247 -0
- data/lib/wallee-ruby-sdk/models/{express_checkout_session_create.rb → charge_attempt_lookup_result.rb} +16 -20
- data/lib/wallee-ruby-sdk/models/charge_attempt_projection.rb +560 -0
- data/lib/wallee-ruby-sdk/models/{express_checkout_shipping_option.rb → create_fulfillment_request.rb} +25 -50
- data/lib/wallee-ruby-sdk/models/delivery_days_range.rb +60 -0
- data/lib/wallee-ruby-sdk/models/delivery_destination.rb +51 -0
- data/lib/wallee-ruby-sdk/models/dunning_case_level.rb +403 -0
- data/lib/wallee-ruby-sdk/models/dunning_case_level_list_response.rb +253 -0
- data/lib/wallee-ruby-sdk/models/dunning_case_level_search_response.rb +263 -0
- data/lib/wallee-ruby-sdk/models/{express_checkout_session_state.rb → dunning_case_level_state.rb} +7 -7
- data/lib/wallee-ruby-sdk/models/extended_rest_o_auth_client.rb +425 -0
- data/lib/wallee-ruby-sdk/models/fulfillment.rb +428 -0
- data/lib/wallee-ruby-sdk/models/fulfillment_search_response.rb +263 -0
- data/lib/wallee-ruby-sdk/models/fulfillment_state.rb +52 -0
- data/lib/wallee-ruby-sdk/models/identity_info.rb +279 -0
- data/lib/wallee-ruby-sdk/models/invoice_processor.rb +51 -0
- data/lib/wallee-ruby-sdk/models/invoice_reconciliation_record.rb +633 -0
- data/lib/wallee-ruby-sdk/models/invoice_reconciliation_record_invoice_link.rb +278 -0
- data/lib/wallee-ruby-sdk/models/invoice_reconciliation_record_invoice_link_list_response.rb +253 -0
- data/lib/wallee-ruby-sdk/models/invoice_reconciliation_record_invoice_link_search_response.rb +263 -0
- data/lib/wallee-ruby-sdk/models/invoice_reconciliation_record_list_response.rb +253 -0
- data/lib/wallee-ruby-sdk/models/invoice_reconciliation_record_rejection_status.rb +51 -0
- data/lib/wallee-ruby-sdk/models/invoice_reconciliation_record_search_response.rb +263 -0
- data/lib/wallee-ruby-sdk/models/invoice_reconciliation_record_state.rb +53 -0
- data/lib/wallee-ruby-sdk/models/{express_checkout_wallet_type.rb → invoice_reconciliation_record_type.rb} +3 -3
- data/lib/wallee-ruby-sdk/models/invoice_reimbursement.rb +463 -0
- data/lib/wallee-ruby-sdk/models/invoice_reimbursement_list_response.rb +253 -0
- data/lib/wallee-ruby-sdk/models/invoice_reimbursement_search_response.rb +263 -0
- data/lib/wallee-ruby-sdk/models/invoice_reimbursement_state.rb +54 -0
- data/lib/wallee-ruby-sdk/models/legal_form.rb +83 -0
- data/lib/wallee-ruby-sdk/models/merchant_application_data_dto.rb +275 -0
- data/lib/wallee-ruby-sdk/models/merchant_application_state.rb +50 -0
- data/lib/wallee-ruby-sdk/models/merchant_application_status_dto.rb +284 -0
- data/lib/wallee-ruby-sdk/models/merchant_bank_details_dto.rb +253 -0
- data/lib/wallee-ruby-sdk/models/merchant_company_details_dto.rb +331 -0
- data/lib/wallee-ruby-sdk/models/merchant_contract_revenue_dto.rb +261 -0
- data/lib/wallee-ruby-sdk/models/merchant_ecommerce_details_dto.rb +348 -0
- data/lib/wallee-ruby-sdk/models/merchant_payment_channels_dto.rb +263 -0
- data/lib/wallee-ruby-sdk/models/merchant_related_persons_dto.rb +243 -0
- data/lib/wallee-ruby-sdk/models/o_auth_client.rb +397 -0
- data/lib/wallee-ruby-sdk/models/o_auth_client_create.rb +365 -0
- data/lib/wallee-ruby-sdk/models/{user_space_role_list_response.rb → o_auth_client_list_response.rb} +4 -4
- data/lib/wallee-ruby-sdk/models/o_auth_client_search_response.rb +263 -0
- data/lib/wallee-ruby-sdk/models/o_auth_client_update.rb +374 -0
- data/lib/wallee-ruby-sdk/models/o_auth_consent.rb +321 -0
- data/lib/wallee-ruby-sdk/models/{user_account_role_list_response.rb → o_auth_consent_list_response.rb} +4 -4
- data/lib/wallee-ruby-sdk/models/o_auth_consent_search_response.rb +263 -0
- data/lib/wallee-ruby-sdk/models/{user_account_role.rb → o_auth_user.rb} +56 -29
- data/lib/wallee-ruby-sdk/models/{express_checkout_create_response.rb → payment_facilitator_pricing_profile_dto.rb} +16 -16
- data/lib/wallee-ruby-sdk/models/payment_facilitator_pricing_profile_state.rb +53 -0
- data/lib/wallee-ruby-sdk/models/payment_initiation_advice_file.rb +337 -0
- data/lib/wallee-ruby-sdk/models/payment_initiation_advice_file_state.rb +55 -0
- data/lib/wallee-ruby-sdk/models/payment_terminal.rb +37 -1
- data/lib/wallee-ruby-sdk/models/payment_terminal_activation_status.rb +301 -0
- data/lib/wallee-ruby-sdk/models/payment_terminal_activation_status_detail_search_response.rb +263 -0
- data/lib/wallee-ruby-sdk/models/payment_terminal_address_create.rb +511 -0
- data/lib/wallee-ruby-sdk/models/{payment_terminal_create.rb → payment_terminal_creation_request.rb} +88 -62
- data/lib/wallee-ruby-sdk/models/payment_terminal_location.rb +1 -0
- data/lib/wallee-ruby-sdk/models/payment_terminal_location_crud_model.rb +398 -0
- data/lib/wallee-ruby-sdk/models/payment_terminal_location_crud_model_rest_api_create.rb +359 -0
- data/lib/wallee-ruby-sdk/models/payment_terminal_location_list_response.rb +253 -0
- data/lib/wallee-ruby-sdk/models/payment_terminal_location_version_state.rb +2 -1
- data/lib/wallee-ruby-sdk/models/payout_account_info.rb +257 -0
- data/lib/wallee-ruby-sdk/models/person_salutation.rb +54 -0
- data/lib/wallee-ruby-sdk/models/pricing_history_dto.rb +266 -0
- data/lib/wallee-ruby-sdk/models/product_metered_fee.rb +11 -1
- data/lib/wallee-ruby-sdk/models/product_metered_fee_update.rb +11 -1
- data/lib/wallee-ruby-sdk/models/refund.rb +13 -1
- data/lib/wallee-ruby-sdk/models/refund_create.rb +13 -1
- data/lib/wallee-ruby-sdk/models/refund_days_range.rb +51 -0
- data/lib/wallee-ruby-sdk/models/refund_percentage_range.rb +56 -0
- data/lib/wallee-ruby-sdk/models/related_person.rb +329 -0
- data/lib/wallee-ruby-sdk/models/representative_info.rb +239 -0
- data/lib/wallee-ruby-sdk/models/rest_member.rb +284 -0
- data/lib/wallee-ruby-sdk/models/{user_space_role.rb → rest_o_auth_client_secret.rb} +38 -37
- data/lib/wallee-ruby-sdk/models/{express_checkout_session.rb → rest_o_auth_client_secret_created.rb} +27 -52
- data/lib/wallee-ruby-sdk/models/role.rb +13 -1
- data/lib/wallee-ruby-sdk/models/role_create.rb +13 -1
- data/lib/wallee-ruby-sdk/models/{abstract_payment_terminal_update.rb → role_ref.rb} +18 -27
- data/lib/wallee-ruby-sdk/models/role_update.rb +13 -1
- data/lib/wallee-ruby-sdk/models/sales_channel.rb +15 -230
- data/lib/wallee-ruby-sdk/models/scope.rb +28 -16
- data/lib/wallee-ruby-sdk/models/secret_key_state.rb +51 -0
- data/lib/wallee-ruby-sdk/models/setter.rb +618 -0
- data/lib/wallee-ruby-sdk/models/sole_proprietor_ownership_type.rb +51 -0
- data/lib/wallee-ruby-sdk/models/sole_proprietorship_info.rb +261 -0
- data/lib/wallee-ruby-sdk/models/state_list_response.rb +253 -0
- data/lib/wallee-ruby-sdk/models/store_trial_subscription_request.rb +273 -0
- data/lib/wallee-ruby-sdk/models/store_trial_subscription_request_setter.rb +307 -0
- data/lib/wallee-ruby-sdk/models/subscription_component_group_configuration_request.rb +249 -0
- data/lib/wallee-ruby-sdk/models/subscription_component_group_configuration_request_setter.rb +249 -0
- data/lib/wallee-ruby-sdk/models/subscription_product_dto.rb +239 -0
- data/lib/wallee-ruby-sdk/models/tokenized_card_data_create.rb +30 -1
- data/lib/wallee-ruby-sdk/models/tracking_number_request.rb +230 -0
- data/lib/wallee-ruby-sdk/models/transaction_completion.rb +13 -1
- data/lib/wallee-ruby-sdk/models/transaction_completion_details.rb +26 -4
- data/lib/wallee-ruby-sdk/models/transaction_overview.rb +1144 -0
- data/lib/wallee-ruby-sdk/models/transaction_projection.rb +1135 -0
- data/lib/wallee-ruby-sdk/models/transaction_user_interface_type.rb +2 -1
- data/lib/wallee-ruby-sdk/models/walleejoin_admin_partner_configuration_request_dto.rb +360 -0
- data/lib/wallee-ruby-sdk/models/walleejoin_admin_partner_configuration_response_dto.rb +351 -0
- data/lib/wallee-ruby-sdk/models/walleejoin_admin_pricing_type.rb +51 -0
- data/lib/wallee-ruby-sdk/models/walleejoin_create_partnership_api_request_dto.rb +266 -0
- data/lib/wallee-ruby-sdk/models/walleejoin_partnership.rb +357 -0
- data/lib/wallee-ruby-sdk/models/walleejoin_partnership_create.rb +337 -0
- data/lib/wallee-ruby-sdk/models/walleejoin_partnership_response_dto.rb +342 -0
- data/lib/wallee-ruby-sdk/models/walleejoin_partnership_response_dto_list_response.rb +253 -0
- data/lib/wallee-ruby-sdk/models/walleejoin_partnership_response_dto_search_response.rb +263 -0
- data/lib/wallee-ruby-sdk/models/walleejoin_partnership_state.rb +51 -0
- data/lib/wallee-ruby-sdk/models/walleejoin_partnership_type.rb +50 -0
- data/lib/wallee-ruby-sdk/models/walleejoin_partnership_update.rb +364 -0
- data/lib/wallee-ruby-sdk/models/wallet_type.rb +40 -1
- data/lib/wallee-ruby-sdk/models/web_ui_account_theme.rb +230 -0
- data/lib/wallee-ruby-sdk/service/accounts_service.rb +16 -9
- data/lib/wallee-ruby-sdk/service/analytics_queries_service.rb +8 -8
- data/lib/wallee-ruby-sdk/service/bank_accounts_service.rb +3 -3
- data/lib/wallee-ruby-sdk/service/bank_transactions_service.rb +3 -3
- data/lib/wallee-ruby-sdk/service/boarding_subscription_strategy_service.rb +181 -0
- data/lib/wallee-ruby-sdk/service/charge_attempts_service.rb +3 -3
- data/lib/wallee-ruby-sdk/service/charge_bank_transactions_service.rb +3 -3
- data/lib/wallee-ruby-sdk/service/charge_flow_levels_service.rb +4 -4
- data/lib/wallee-ruby-sdk/service/charge_flows_level_payment_links_service.rb +3 -3
- data/lib/wallee-ruby-sdk/service/charge_flows_service.rb +3 -3
- data/lib/wallee-ruby-sdk/service/consumed_resources_service.rb +1 -1
- data/lib/wallee-ruby-sdk/service/countries_service.rb +15 -6
- data/lib/wallee-ruby-sdk/service/currency_bank_accounts_service.rb +3 -3
- data/lib/wallee-ruby-sdk/service/customer_addresses_service.rb +7 -7
- data/lib/wallee-ruby-sdk/service/customer_comments_service.rb +8 -8
- data/lib/wallee-ruby-sdk/service/customers_service.rb +11 -11
- data/lib/wallee-ruby-sdk/service/debt_collection_cases_service.rb +12 -12
- data/lib/wallee-ruby-sdk/service/debt_collector_configurations_service.rb +6 -6
- data/lib/wallee-ruby-sdk/service/delivery_indications_service.rb +5 -5
- data/lib/wallee-ruby-sdk/service/document_templates_service.rb +3 -3
- data/lib/wallee-ruby-sdk/service/dunning_case_levels_service.rb +291 -0
- data/lib/wallee-ruby-sdk/service/dunning_cases_service.rb +5 -5
- data/lib/wallee-ruby-sdk/service/dunning_flow_levels_service.rb +3 -3
- data/lib/wallee-ruby-sdk/service/dunning_flows_service.rb +3 -3
- data/lib/wallee-ruby-sdk/service/external_transfer_bank_transactions_service.rb +3 -3
- data/lib/wallee-ruby-sdk/service/fulfillments_service.rb +355 -0
- data/lib/wallee-ruby-sdk/service/internal_transfer_bank_transactions_service.rb +3 -3
- data/lib/wallee-ruby-sdk/service/invoice_reconciliation_record_invoice_links_service.rb +453 -0
- data/lib/wallee-ruby-sdk/service/invoice_reconciliation_records_service.rb +433 -0
- data/lib/wallee-ruby-sdk/service/invoice_reimbursements_service.rb +450 -0
- data/lib/wallee-ruby-sdk/service/join_admin_partner_configuration_service.rb +306 -0
- data/lib/wallee-ruby-sdk/service/join_partnership_service.rb +586 -0
- data/lib/wallee-ruby-sdk/service/manual_tasks_service.rb +5 -5
- data/lib/wallee-ruby-sdk/service/members_service.rb +215 -0
- data/lib/wallee-ruby-sdk/service/merchant_applications_service.rb +334 -0
- data/lib/wallee-ruby-sdk/service/o_auth_clients_service.rb +611 -0
- data/lib/wallee-ruby-sdk/service/o_auth_consents_service.rb +332 -0
- data/lib/wallee-ruby-sdk/service/payment_connector_configurations_service.rb +6 -6
- data/lib/wallee-ruby-sdk/service/payment_links_service.rb +6 -6
- data/lib/wallee-ruby-sdk/service/payment_method_configurations_service.rb +6 -6
- data/lib/wallee-ruby-sdk/service/payment_processor_configurations_service.rb +85 -6
- data/lib/wallee-ruby-sdk/service/payment_terminal_transaction_summaries_service.rb +4 -4
- data/lib/wallee-ruby-sdk/service/payment_terminals_service.rb +475 -22
- data/lib/wallee-ruby-sdk/service/payment_web_apps_service.rb +11 -11
- data/lib/wallee-ruby-sdk/service/refund_bank_transactions_service.rb +3 -3
- data/lib/wallee-ruby-sdk/service/refund_comments_service.rb +8 -8
- data/lib/wallee-ruby-sdk/service/refund_recovery_bank_transactions_service.rb +3 -3
- data/lib/wallee-ruby-sdk/service/refunds_service.rb +7 -7
- data/lib/wallee-ruby-sdk/service/spaces_service.rb +10 -3
- data/lib/wallee-ruby-sdk/service/subscribers_service.rb +6 -6
- data/lib/wallee-ruby-sdk/service/subscription_affiliates_service.rb +6 -6
- data/lib/wallee-ruby-sdk/service/subscription_charges_service.rb +5 -5
- data/lib/wallee-ruby-sdk/service/subscription_ledger_entries_service.rb +4 -4
- data/lib/wallee-ruby-sdk/service/subscription_metric_usage_reports_service.rb +4 -4
- data/lib/wallee-ruby-sdk/service/subscription_metrics_service.rb +6 -6
- data/lib/wallee-ruby-sdk/service/subscription_period_bills_service.rb +4 -4
- data/lib/wallee-ruby-sdk/service/subscription_product_component_groups_service.rb +6 -6
- data/lib/wallee-ruby-sdk/service/subscription_product_components_service.rb +6 -6
- data/lib/wallee-ruby-sdk/service/subscription_product_metered_fee_tiers_service.rb +6 -6
- data/lib/wallee-ruby-sdk/service/subscription_product_metered_fees_service.rb +6 -6
- data/lib/wallee-ruby-sdk/service/subscription_product_period_fees_service.rb +6 -6
- data/lib/wallee-ruby-sdk/service/subscription_product_retirements_service.rb +3 -3
- data/lib/wallee-ruby-sdk/service/subscription_product_setup_fees_service.rb +6 -6
- data/lib/wallee-ruby-sdk/service/subscription_product_version_retirements_service.rb +3 -3
- data/lib/wallee-ruby-sdk/service/subscription_product_versions_service.rb +7 -7
- data/lib/wallee-ruby-sdk/service/subscription_products_service.rb +6 -6
- data/lib/wallee-ruby-sdk/service/subscription_suspensions_service.rb +3 -3
- data/lib/wallee-ruby-sdk/service/subscription_versions_service.rb +3 -3
- data/lib/wallee-ruby-sdk/service/subscriptions_service.rb +13 -13
- data/lib/wallee-ruby-sdk/service/terminal_locations_service.rb +276 -0
- data/lib/wallee-ruby-sdk/service/token_versions_service.rb +3 -3
- data/lib/wallee-ruby-sdk/service/tokens_service.rb +8 -8
- data/lib/wallee-ruby-sdk/service/transaction_client_platforms_service.rb +3 -3
- data/lib/wallee-ruby-sdk/service/transaction_comments_service.rb +8 -8
- data/lib/wallee-ruby-sdk/service/transaction_completions_service.rb +3 -3
- data/lib/wallee-ruby-sdk/service/transaction_invoice_comments_service.rb +8 -8
- data/lib/wallee-ruby-sdk/service/transaction_invoices_service.rb +86 -8
- data/lib/wallee-ruby-sdk/service/transaction_line_item_versions_service.rb +4 -4
- data/lib/wallee-ruby-sdk/service/transaction_voids_service.rb +3 -3
- data/lib/wallee-ruby-sdk/service/transactions_service.rb +179 -37
- data/lib/wallee-ruby-sdk/service/web_apps_service.rb +2 -2
- data/lib/wallee-ruby-sdk/service/web_ui_account_theme_service.rb +245 -0
- data/lib/wallee-ruby-sdk/service/webhook_listeners_service.rb +9 -9
- data/lib/wallee-ruby-sdk/service/webhook_urls_service.rb +9 -9
- data/lib/wallee-ruby-sdk/version.rb +1 -1
- data/lib/wallee-ruby-sdk.rb +115 -17
- data/test/test_querying.rb +11 -0
- metadata +117 -19
- data/lib/wallee-ruby-sdk/service/application_users_roles_service.rb +0 -478
- data/lib/wallee-ruby-sdk/service/express_checkout_service.rb +0 -107
- data/lib/wallee-ruby-sdk/service/human_users_roles_service.rb +0 -478
- data/lib/wallee-ruby-sdk/service/single_sign_on_users_roles_service.rb +0 -478
|
@@ -1,478 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
# Wallee AG Ruby SDK
|
|
3
|
-
#
|
|
4
|
-
# This library allows to interact with the Wallee AG payment service.
|
|
5
|
-
#
|
|
6
|
-
# Copyright owner: Wallee AG
|
|
7
|
-
# Website: https://en.wallee.com
|
|
8
|
-
# Developer email: ecosystem-team@wallee.com
|
|
9
|
-
#
|
|
10
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
11
|
-
# you may not use this file except in compliance with the License.
|
|
12
|
-
# You may obtain a copy of the License at
|
|
13
|
-
#
|
|
14
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
15
|
-
#
|
|
16
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
17
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
18
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
19
|
-
# See the License for the specific language governing permissions and
|
|
20
|
-
# limitations under the License.
|
|
21
|
-
=end
|
|
22
|
-
|
|
23
|
-
require 'cgi'
|
|
24
|
-
|
|
25
|
-
module WalleeRubySdk
|
|
26
|
-
class HumanUsersRolesService
|
|
27
|
-
attr_accessor :api_client
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
def initialize(api_client = ApiClient.default)
|
|
31
|
-
@api_client = api_client
|
|
32
|
-
end
|
|
33
|
-
# Unassign a role from a human user for an account
|
|
34
|
-
# @param user_id [Integer]
|
|
35
|
-
# @param role_id [Integer]
|
|
36
|
-
# @param account [Integer] Specifies the ID of the account the operation should be executed in.
|
|
37
|
-
# @param [Hash] opts the optional parameters
|
|
38
|
-
# @return [nil]
|
|
39
|
-
def delete_human_users_user_id_account_roles(user_id, role_id, account, opts = {})
|
|
40
|
-
delete_human_users_user_id_account_roles_with_http_info(user_id, role_id, account, opts)
|
|
41
|
-
nil
|
|
42
|
-
end
|
|
43
|
-
|
|
44
|
-
# Unassign a role from a human user for an account
|
|
45
|
-
|
|
46
|
-
# @param user_id [Integer]
|
|
47
|
-
# @param role_id [Integer]
|
|
48
|
-
# @param account [Integer] Specifies the ID of the account the operation should be executed in.
|
|
49
|
-
# @param [Hash] opts the optional parameters
|
|
50
|
-
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
51
|
-
def delete_human_users_user_id_account_roles_with_http_info(user_id, role_id, account, opts = {})
|
|
52
|
-
if @api_client.config.debugging
|
|
53
|
-
@api_client.config.logger.debug 'Calling API: HumanUsersRolesService.delete_human_users_user_id_account_roles ...'
|
|
54
|
-
end
|
|
55
|
-
# verify the required parameter 'user_id' is set
|
|
56
|
-
if @api_client.config.client_side_validation && user_id.nil?
|
|
57
|
-
fail ArgumentError, "Missing the required parameter 'user_id' when calling HumanUsersRolesService.delete_human_users_user_id_account_roles"
|
|
58
|
-
end
|
|
59
|
-
# verify the required parameter 'role_id' is set
|
|
60
|
-
if @api_client.config.client_side_validation && role_id.nil?
|
|
61
|
-
fail ArgumentError, "Missing the required parameter 'role_id' when calling HumanUsersRolesService.delete_human_users_user_id_account_roles"
|
|
62
|
-
end
|
|
63
|
-
# verify the required parameter 'account' is set
|
|
64
|
-
if @api_client.config.client_side_validation && account.nil?
|
|
65
|
-
fail ArgumentError, "Missing the required parameter 'account' when calling HumanUsersRolesService.delete_human_users_user_id_account_roles"
|
|
66
|
-
end
|
|
67
|
-
# resource path
|
|
68
|
-
local_var_path = '/human-users/{userId}/account-roles'.sub('{' + 'userId' + '}', CGI.escape(user_id.to_s))
|
|
69
|
-
|
|
70
|
-
# query parameters
|
|
71
|
-
query_params = opts[:query_params] || {}
|
|
72
|
-
query_params[:'roleId'] = role_id
|
|
73
|
-
|
|
74
|
-
# header parameters
|
|
75
|
-
header_params = opts[:header_params] || {}
|
|
76
|
-
# HTTP header 'Accept' (if needed)
|
|
77
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
78
|
-
header_params[:'Account'] = account
|
|
79
|
-
|
|
80
|
-
# form parameters
|
|
81
|
-
form_params = opts[:form_params] || {}
|
|
82
|
-
|
|
83
|
-
# connection timeout
|
|
84
|
-
connection_timeout = @api_client.config.timeout
|
|
85
|
-
|
|
86
|
-
# http body (model)
|
|
87
|
-
post_body = opts[:debug_body]
|
|
88
|
-
|
|
89
|
-
# return_type
|
|
90
|
-
return_type = opts[:debug_return_type]
|
|
91
|
-
|
|
92
|
-
new_options = opts.merge(
|
|
93
|
-
:operation => :"HumanUsersRolesService.delete_human_users_user_id_account_roles",
|
|
94
|
-
:header_params => header_params,
|
|
95
|
-
:query_params => query_params,
|
|
96
|
-
:form_params => form_params,
|
|
97
|
-
:body => post_body,
|
|
98
|
-
:return_type => return_type
|
|
99
|
-
)
|
|
100
|
-
|
|
101
|
-
data, status_code, headers = @api_client.call_api(:DELETE.to_sym.downcase, local_var_path, new_options, connection_timeout)
|
|
102
|
-
if @api_client.config.debugging
|
|
103
|
-
@api_client.config.logger.debug "API called: HumanUsersRolesService#delete_human_users_user_id_account_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
|
|
104
|
-
end
|
|
105
|
-
return data, status_code, headers
|
|
106
|
-
end
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
# Unassign a role from a human user for a space
|
|
110
|
-
# @param user_id [Integer]
|
|
111
|
-
# @param role_id [Integer]
|
|
112
|
-
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
113
|
-
# @param [Hash] opts the optional parameters
|
|
114
|
-
# @return [nil]
|
|
115
|
-
def delete_human_users_user_id_space_roles(user_id, role_id, space, opts = {})
|
|
116
|
-
delete_human_users_user_id_space_roles_with_http_info(user_id, role_id, space, opts)
|
|
117
|
-
nil
|
|
118
|
-
end
|
|
119
|
-
|
|
120
|
-
# Unassign a role from a human user for a space
|
|
121
|
-
|
|
122
|
-
# @param user_id [Integer]
|
|
123
|
-
# @param role_id [Integer]
|
|
124
|
-
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
125
|
-
# @param [Hash] opts the optional parameters
|
|
126
|
-
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
127
|
-
def delete_human_users_user_id_space_roles_with_http_info(user_id, role_id, space, opts = {})
|
|
128
|
-
if @api_client.config.debugging
|
|
129
|
-
@api_client.config.logger.debug 'Calling API: HumanUsersRolesService.delete_human_users_user_id_space_roles ...'
|
|
130
|
-
end
|
|
131
|
-
# verify the required parameter 'user_id' is set
|
|
132
|
-
if @api_client.config.client_side_validation && user_id.nil?
|
|
133
|
-
fail ArgumentError, "Missing the required parameter 'user_id' when calling HumanUsersRolesService.delete_human_users_user_id_space_roles"
|
|
134
|
-
end
|
|
135
|
-
# verify the required parameter 'role_id' is set
|
|
136
|
-
if @api_client.config.client_side_validation && role_id.nil?
|
|
137
|
-
fail ArgumentError, "Missing the required parameter 'role_id' when calling HumanUsersRolesService.delete_human_users_user_id_space_roles"
|
|
138
|
-
end
|
|
139
|
-
# verify the required parameter 'space' is set
|
|
140
|
-
if @api_client.config.client_side_validation && space.nil?
|
|
141
|
-
fail ArgumentError, "Missing the required parameter 'space' when calling HumanUsersRolesService.delete_human_users_user_id_space_roles"
|
|
142
|
-
end
|
|
143
|
-
# resource path
|
|
144
|
-
local_var_path = '/human-users/{userId}/space-roles'.sub('{' + 'userId' + '}', CGI.escape(user_id.to_s))
|
|
145
|
-
|
|
146
|
-
# query parameters
|
|
147
|
-
query_params = opts[:query_params] || {}
|
|
148
|
-
query_params[:'roleId'] = role_id
|
|
149
|
-
|
|
150
|
-
# header parameters
|
|
151
|
-
header_params = opts[:header_params] || {}
|
|
152
|
-
# HTTP header 'Accept' (if needed)
|
|
153
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
154
|
-
header_params[:'Space'] = space
|
|
155
|
-
|
|
156
|
-
# form parameters
|
|
157
|
-
form_params = opts[:form_params] || {}
|
|
158
|
-
|
|
159
|
-
# connection timeout
|
|
160
|
-
connection_timeout = @api_client.config.timeout
|
|
161
|
-
|
|
162
|
-
# http body (model)
|
|
163
|
-
post_body = opts[:debug_body]
|
|
164
|
-
|
|
165
|
-
# return_type
|
|
166
|
-
return_type = opts[:debug_return_type]
|
|
167
|
-
|
|
168
|
-
new_options = opts.merge(
|
|
169
|
-
:operation => :"HumanUsersRolesService.delete_human_users_user_id_space_roles",
|
|
170
|
-
:header_params => header_params,
|
|
171
|
-
:query_params => query_params,
|
|
172
|
-
:form_params => form_params,
|
|
173
|
-
:body => post_body,
|
|
174
|
-
:return_type => return_type
|
|
175
|
-
)
|
|
176
|
-
|
|
177
|
-
data, status_code, headers = @api_client.call_api(:DELETE.to_sym.downcase, local_var_path, new_options, connection_timeout)
|
|
178
|
-
if @api_client.config.debugging
|
|
179
|
-
@api_client.config.logger.debug "API called: HumanUsersRolesService#delete_human_users_user_id_space_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
|
|
180
|
-
end
|
|
181
|
-
return data, status_code, headers
|
|
182
|
-
end
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
# List all roles of a human user for an account
|
|
186
|
-
# @param user_id [Integer]
|
|
187
|
-
# @param account [Integer] Specifies the ID of the account the operation should be executed in.
|
|
188
|
-
# @param [Hash] opts the optional parameters
|
|
189
|
-
# @return [UserAccountRoleListResponse]
|
|
190
|
-
def get_human_users_user_id_account_roles(user_id, account, opts = {})
|
|
191
|
-
data, _status_code, _headers = get_human_users_user_id_account_roles_with_http_info(user_id, account, opts)
|
|
192
|
-
data
|
|
193
|
-
end
|
|
194
|
-
|
|
195
|
-
# List all roles of a human user for an account
|
|
196
|
-
|
|
197
|
-
# @param user_id [Integer]
|
|
198
|
-
# @param account [Integer] Specifies the ID of the account the operation should be executed in.
|
|
199
|
-
# @param [Hash] opts the optional parameters
|
|
200
|
-
# @return [Array<(UserAccountRoleListResponse, Integer, Hash)>] UserAccountRoleListResponse data, response status code and response headers
|
|
201
|
-
def get_human_users_user_id_account_roles_with_http_info(user_id, account, opts = {})
|
|
202
|
-
if @api_client.config.debugging
|
|
203
|
-
@api_client.config.logger.debug 'Calling API: HumanUsersRolesService.get_human_users_user_id_account_roles ...'
|
|
204
|
-
end
|
|
205
|
-
# verify the required parameter 'user_id' is set
|
|
206
|
-
if @api_client.config.client_side_validation && user_id.nil?
|
|
207
|
-
fail ArgumentError, "Missing the required parameter 'user_id' when calling HumanUsersRolesService.get_human_users_user_id_account_roles"
|
|
208
|
-
end
|
|
209
|
-
# verify the required parameter 'account' is set
|
|
210
|
-
if @api_client.config.client_side_validation && account.nil?
|
|
211
|
-
fail ArgumentError, "Missing the required parameter 'account' when calling HumanUsersRolesService.get_human_users_user_id_account_roles"
|
|
212
|
-
end
|
|
213
|
-
# resource path
|
|
214
|
-
local_var_path = '/human-users/{userId}/account-roles'.sub('{' + 'userId' + '}', CGI.escape(user_id.to_s))
|
|
215
|
-
|
|
216
|
-
# query parameters
|
|
217
|
-
query_params = opts[:query_params] || {}
|
|
218
|
-
|
|
219
|
-
# header parameters
|
|
220
|
-
header_params = opts[:header_params] || {}
|
|
221
|
-
# HTTP header 'Accept' (if needed)
|
|
222
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
223
|
-
header_params[:'Account'] = account
|
|
224
|
-
|
|
225
|
-
# form parameters
|
|
226
|
-
form_params = opts[:form_params] || {}
|
|
227
|
-
|
|
228
|
-
# connection timeout
|
|
229
|
-
connection_timeout = @api_client.config.timeout
|
|
230
|
-
|
|
231
|
-
# http body (model)
|
|
232
|
-
post_body = opts[:debug_body]
|
|
233
|
-
|
|
234
|
-
# return_type
|
|
235
|
-
return_type = opts[:debug_return_type] || 'UserAccountRoleListResponse'
|
|
236
|
-
|
|
237
|
-
new_options = opts.merge(
|
|
238
|
-
:operation => :"HumanUsersRolesService.get_human_users_user_id_account_roles",
|
|
239
|
-
:header_params => header_params,
|
|
240
|
-
:query_params => query_params,
|
|
241
|
-
:form_params => form_params,
|
|
242
|
-
:body => post_body,
|
|
243
|
-
:return_type => return_type
|
|
244
|
-
)
|
|
245
|
-
|
|
246
|
-
data, status_code, headers = @api_client.call_api(:GET.to_sym.downcase, local_var_path, new_options, connection_timeout)
|
|
247
|
-
if @api_client.config.debugging
|
|
248
|
-
@api_client.config.logger.debug "API called: HumanUsersRolesService#get_human_users_user_id_account_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
|
|
249
|
-
end
|
|
250
|
-
return data, status_code, headers
|
|
251
|
-
end
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
# List all roles of a human user for a space
|
|
255
|
-
# @param user_id [Integer]
|
|
256
|
-
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
257
|
-
# @param [Hash] opts the optional parameters
|
|
258
|
-
# @return [UserSpaceRoleListResponse]
|
|
259
|
-
def get_human_users_user_id_space_roles(user_id, space, opts = {})
|
|
260
|
-
data, _status_code, _headers = get_human_users_user_id_space_roles_with_http_info(user_id, space, opts)
|
|
261
|
-
data
|
|
262
|
-
end
|
|
263
|
-
|
|
264
|
-
# List all roles of a human user for a space
|
|
265
|
-
|
|
266
|
-
# @param user_id [Integer]
|
|
267
|
-
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
268
|
-
# @param [Hash] opts the optional parameters
|
|
269
|
-
# @return [Array<(UserSpaceRoleListResponse, Integer, Hash)>] UserSpaceRoleListResponse data, response status code and response headers
|
|
270
|
-
def get_human_users_user_id_space_roles_with_http_info(user_id, space, opts = {})
|
|
271
|
-
if @api_client.config.debugging
|
|
272
|
-
@api_client.config.logger.debug 'Calling API: HumanUsersRolesService.get_human_users_user_id_space_roles ...'
|
|
273
|
-
end
|
|
274
|
-
# verify the required parameter 'user_id' is set
|
|
275
|
-
if @api_client.config.client_side_validation && user_id.nil?
|
|
276
|
-
fail ArgumentError, "Missing the required parameter 'user_id' when calling HumanUsersRolesService.get_human_users_user_id_space_roles"
|
|
277
|
-
end
|
|
278
|
-
# verify the required parameter 'space' is set
|
|
279
|
-
if @api_client.config.client_side_validation && space.nil?
|
|
280
|
-
fail ArgumentError, "Missing the required parameter 'space' when calling HumanUsersRolesService.get_human_users_user_id_space_roles"
|
|
281
|
-
end
|
|
282
|
-
# resource path
|
|
283
|
-
local_var_path = '/human-users/{userId}/space-roles'.sub('{' + 'userId' + '}', CGI.escape(user_id.to_s))
|
|
284
|
-
|
|
285
|
-
# query parameters
|
|
286
|
-
query_params = opts[:query_params] || {}
|
|
287
|
-
|
|
288
|
-
# header parameters
|
|
289
|
-
header_params = opts[:header_params] || {}
|
|
290
|
-
# HTTP header 'Accept' (if needed)
|
|
291
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
292
|
-
header_params[:'Space'] = space
|
|
293
|
-
|
|
294
|
-
# form parameters
|
|
295
|
-
form_params = opts[:form_params] || {}
|
|
296
|
-
|
|
297
|
-
# connection timeout
|
|
298
|
-
connection_timeout = @api_client.config.timeout
|
|
299
|
-
|
|
300
|
-
# http body (model)
|
|
301
|
-
post_body = opts[:debug_body]
|
|
302
|
-
|
|
303
|
-
# return_type
|
|
304
|
-
return_type = opts[:debug_return_type] || 'UserSpaceRoleListResponse'
|
|
305
|
-
|
|
306
|
-
new_options = opts.merge(
|
|
307
|
-
:operation => :"HumanUsersRolesService.get_human_users_user_id_space_roles",
|
|
308
|
-
:header_params => header_params,
|
|
309
|
-
:query_params => query_params,
|
|
310
|
-
:form_params => form_params,
|
|
311
|
-
:body => post_body,
|
|
312
|
-
:return_type => return_type
|
|
313
|
-
)
|
|
314
|
-
|
|
315
|
-
data, status_code, headers = @api_client.call_api(:GET.to_sym.downcase, local_var_path, new_options, connection_timeout)
|
|
316
|
-
if @api_client.config.debugging
|
|
317
|
-
@api_client.config.logger.debug "API called: HumanUsersRolesService#get_human_users_user_id_space_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
|
|
318
|
-
end
|
|
319
|
-
return data, status_code, headers
|
|
320
|
-
end
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
# Assign a role to a human user for an account
|
|
324
|
-
# @param user_id [Integer]
|
|
325
|
-
# @param role_id [Integer]
|
|
326
|
-
# @param account [Integer] Specifies the ID of the account the operation should be executed in.
|
|
327
|
-
# @param [Hash] opts the optional parameters
|
|
328
|
-
# @option opts [Boolean] :applies_on_sub_account Whether the role should be assigned to the user in subaccounts only.
|
|
329
|
-
# @return [UserAccountRole]
|
|
330
|
-
def post_human_users_user_id_account_roles(user_id, role_id, account, opts = {})
|
|
331
|
-
data, _status_code, _headers = post_human_users_user_id_account_roles_with_http_info(user_id, role_id, account, opts)
|
|
332
|
-
data
|
|
333
|
-
end
|
|
334
|
-
|
|
335
|
-
# Assign a role to a human user for an account
|
|
336
|
-
|
|
337
|
-
# @param user_id [Integer]
|
|
338
|
-
# @param role_id [Integer]
|
|
339
|
-
# @param account [Integer] Specifies the ID of the account the operation should be executed in.
|
|
340
|
-
# @param [Hash] opts the optional parameters
|
|
341
|
-
# @option opts [Boolean] :applies_on_sub_account Whether the role should be assigned to the user in subaccounts only.
|
|
342
|
-
# @return [Array<(UserAccountRole, Integer, Hash)>] UserAccountRole data, response status code and response headers
|
|
343
|
-
def post_human_users_user_id_account_roles_with_http_info(user_id, role_id, account, opts = {})
|
|
344
|
-
if @api_client.config.debugging
|
|
345
|
-
@api_client.config.logger.debug 'Calling API: HumanUsersRolesService.post_human_users_user_id_account_roles ...'
|
|
346
|
-
end
|
|
347
|
-
# verify the required parameter 'user_id' is set
|
|
348
|
-
if @api_client.config.client_side_validation && user_id.nil?
|
|
349
|
-
fail ArgumentError, "Missing the required parameter 'user_id' when calling HumanUsersRolesService.post_human_users_user_id_account_roles"
|
|
350
|
-
end
|
|
351
|
-
# verify the required parameter 'role_id' is set
|
|
352
|
-
if @api_client.config.client_side_validation && role_id.nil?
|
|
353
|
-
fail ArgumentError, "Missing the required parameter 'role_id' when calling HumanUsersRolesService.post_human_users_user_id_account_roles"
|
|
354
|
-
end
|
|
355
|
-
# verify the required parameter 'account' is set
|
|
356
|
-
if @api_client.config.client_side_validation && account.nil?
|
|
357
|
-
fail ArgumentError, "Missing the required parameter 'account' when calling HumanUsersRolesService.post_human_users_user_id_account_roles"
|
|
358
|
-
end
|
|
359
|
-
# resource path
|
|
360
|
-
local_var_path = '/human-users/{userId}/account-roles'.sub('{' + 'userId' + '}', CGI.escape(user_id.to_s))
|
|
361
|
-
|
|
362
|
-
# query parameters
|
|
363
|
-
query_params = opts[:query_params] || {}
|
|
364
|
-
query_params[:'roleId'] = role_id
|
|
365
|
-
query_params[:'appliesOnSubAccount'] = opts[:'applies_on_sub_account'] if !opts[:'applies_on_sub_account'].nil?
|
|
366
|
-
|
|
367
|
-
# header parameters
|
|
368
|
-
header_params = opts[:header_params] || {}
|
|
369
|
-
# HTTP header 'Accept' (if needed)
|
|
370
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
371
|
-
header_params[:'Account'] = account
|
|
372
|
-
|
|
373
|
-
# form parameters
|
|
374
|
-
form_params = opts[:form_params] || {}
|
|
375
|
-
|
|
376
|
-
# connection timeout
|
|
377
|
-
connection_timeout = @api_client.config.timeout
|
|
378
|
-
|
|
379
|
-
# http body (model)
|
|
380
|
-
post_body = opts[:debug_body]
|
|
381
|
-
|
|
382
|
-
# return_type
|
|
383
|
-
return_type = opts[:debug_return_type] || 'UserAccountRole'
|
|
384
|
-
|
|
385
|
-
new_options = opts.merge(
|
|
386
|
-
:operation => :"HumanUsersRolesService.post_human_users_user_id_account_roles",
|
|
387
|
-
:header_params => header_params,
|
|
388
|
-
:query_params => query_params,
|
|
389
|
-
:form_params => form_params,
|
|
390
|
-
:body => post_body,
|
|
391
|
-
:return_type => return_type
|
|
392
|
-
)
|
|
393
|
-
|
|
394
|
-
data, status_code, headers = @api_client.call_api(:POST.to_sym.downcase, local_var_path, new_options, connection_timeout)
|
|
395
|
-
if @api_client.config.debugging
|
|
396
|
-
@api_client.config.logger.debug "API called: HumanUsersRolesService#post_human_users_user_id_account_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
|
|
397
|
-
end
|
|
398
|
-
return data, status_code, headers
|
|
399
|
-
end
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
# Assign a role to a human user for a space
|
|
403
|
-
# @param user_id [Integer]
|
|
404
|
-
# @param role_id [Integer]
|
|
405
|
-
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
406
|
-
# @param [Hash] opts the optional parameters
|
|
407
|
-
# @return [UserSpaceRole]
|
|
408
|
-
def post_human_users_user_id_space_roles(user_id, role_id, space, opts = {})
|
|
409
|
-
data, _status_code, _headers = post_human_users_user_id_space_roles_with_http_info(user_id, role_id, space, opts)
|
|
410
|
-
data
|
|
411
|
-
end
|
|
412
|
-
|
|
413
|
-
# Assign a role to a human user for a space
|
|
414
|
-
|
|
415
|
-
# @param user_id [Integer]
|
|
416
|
-
# @param role_id [Integer]
|
|
417
|
-
# @param space [Integer] Specifies the ID of the space the operation should be executed in.
|
|
418
|
-
# @param [Hash] opts the optional parameters
|
|
419
|
-
# @return [Array<(UserSpaceRole, Integer, Hash)>] UserSpaceRole data, response status code and response headers
|
|
420
|
-
def post_human_users_user_id_space_roles_with_http_info(user_id, role_id, space, opts = {})
|
|
421
|
-
if @api_client.config.debugging
|
|
422
|
-
@api_client.config.logger.debug 'Calling API: HumanUsersRolesService.post_human_users_user_id_space_roles ...'
|
|
423
|
-
end
|
|
424
|
-
# verify the required parameter 'user_id' is set
|
|
425
|
-
if @api_client.config.client_side_validation && user_id.nil?
|
|
426
|
-
fail ArgumentError, "Missing the required parameter 'user_id' when calling HumanUsersRolesService.post_human_users_user_id_space_roles"
|
|
427
|
-
end
|
|
428
|
-
# verify the required parameter 'role_id' is set
|
|
429
|
-
if @api_client.config.client_side_validation && role_id.nil?
|
|
430
|
-
fail ArgumentError, "Missing the required parameter 'role_id' when calling HumanUsersRolesService.post_human_users_user_id_space_roles"
|
|
431
|
-
end
|
|
432
|
-
# verify the required parameter 'space' is set
|
|
433
|
-
if @api_client.config.client_side_validation && space.nil?
|
|
434
|
-
fail ArgumentError, "Missing the required parameter 'space' when calling HumanUsersRolesService.post_human_users_user_id_space_roles"
|
|
435
|
-
end
|
|
436
|
-
# resource path
|
|
437
|
-
local_var_path = '/human-users/{userId}/space-roles'.sub('{' + 'userId' + '}', CGI.escape(user_id.to_s))
|
|
438
|
-
|
|
439
|
-
# query parameters
|
|
440
|
-
query_params = opts[:query_params] || {}
|
|
441
|
-
query_params[:'roleId'] = role_id
|
|
442
|
-
|
|
443
|
-
# header parameters
|
|
444
|
-
header_params = opts[:header_params] || {}
|
|
445
|
-
# HTTP header 'Accept' (if needed)
|
|
446
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
447
|
-
header_params[:'Space'] = space
|
|
448
|
-
|
|
449
|
-
# form parameters
|
|
450
|
-
form_params = opts[:form_params] || {}
|
|
451
|
-
|
|
452
|
-
# connection timeout
|
|
453
|
-
connection_timeout = @api_client.config.timeout
|
|
454
|
-
|
|
455
|
-
# http body (model)
|
|
456
|
-
post_body = opts[:debug_body]
|
|
457
|
-
|
|
458
|
-
# return_type
|
|
459
|
-
return_type = opts[:debug_return_type] || 'UserSpaceRole'
|
|
460
|
-
|
|
461
|
-
new_options = opts.merge(
|
|
462
|
-
:operation => :"HumanUsersRolesService.post_human_users_user_id_space_roles",
|
|
463
|
-
:header_params => header_params,
|
|
464
|
-
:query_params => query_params,
|
|
465
|
-
:form_params => form_params,
|
|
466
|
-
:body => post_body,
|
|
467
|
-
:return_type => return_type
|
|
468
|
-
)
|
|
469
|
-
|
|
470
|
-
data, status_code, headers = @api_client.call_api(:POST.to_sym.downcase, local_var_path, new_options, connection_timeout)
|
|
471
|
-
if @api_client.config.debugging
|
|
472
|
-
@api_client.config.logger.debug "API called: HumanUsersRolesService#post_human_users_user_id_space_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
|
|
473
|
-
end
|
|
474
|
-
return data, status_code, headers
|
|
475
|
-
end
|
|
476
|
-
|
|
477
|
-
end
|
|
478
|
-
end
|