open_api_smart_recruiters_sdk 0.2.1
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 +7 -0
- data/.rspec +3 -0
- data/.rubocop.yml +13 -0
- data/Gemfile +16 -0
- data/Gemfile.lock +65 -0
- data/LICENSE.txt +21 -0
- data/README.md +35 -0
- data/Rakefile +12 -0
- data/lib/smart_recruiters/api/application_api_api.rb +188 -0
- data/lib/smart_recruiters/api/candidates_api.rb +2417 -0
- data/lib/smart_recruiters/api/configuration_api.rb +2504 -0
- data/lib/smart_recruiters/api/job_applications_api.rb +63 -0
- data/lib/smart_recruiters/api/jobs_api.rb +1851 -0
- data/lib/smart_recruiters/api/subscriptions_api.rb +469 -0
- data/lib/smart_recruiters/api_client.rb +379 -0
- data/lib/smart_recruiters/api_error.rb +46 -0
- data/lib/smart_recruiters/authorization.rb +66 -0
- data/lib/smart_recruiters/configuration.rb +214 -0
- data/lib/smart_recruiters/models/action.rb +248 -0
- data/lib/smart_recruiters/models/actions.rb +190 -0
- data/lib/smart_recruiters/models/all_of_candidate_details_primary_assignment.rb +262 -0
- data/lib/smart_recruiters/models/all_of_candidate_details_secondary_assignments_items.rb +262 -0
- data/lib/smart_recruiters/models/answer_field.rb +227 -0
- data/lib/smart_recruiters/models/answer_field_value.rb +216 -0
- data/lib/smart_recruiters/models/answer_record.rb +197 -0
- data/lib/smart_recruiters/models/application.rb +260 -0
- data/lib/smart_recruiters/models/application_attachment_webhook_payload.rb +248 -0
- data/lib/smart_recruiters/models/application_status_info.rb +231 -0
- data/lib/smart_recruiters/models/application_url.rb +198 -0
- data/lib/smart_recruiters/models/application_webhook_payload.rb +230 -0
- data/lib/smart_recruiters/models/apply_api_error.rb +259 -0
- data/lib/smart_recruiters/models/apply_api_request.rb +386 -0
- data/lib/smart_recruiters/models/apply_api_response.rb +224 -0
- data/lib/smart_recruiters/models/apply_configuration.rb +229 -0
- data/lib/smart_recruiters/models/apply_settings.rb +197 -0
- data/lib/smart_recruiters/models/assignment.rb +251 -0
- data/lib/smart_recruiters/models/assignment_actions.rb +197 -0
- data/lib/smart_recruiters/models/attachment.rb +230 -0
- data/lib/smart_recruiters/models/attachment_actions.rb +202 -0
- data/lib/smart_recruiters/models/attachments.rb +218 -0
- data/lib/smart_recruiters/models/callback_authentication.rb +188 -0
- data/lib/smart_recruiters/models/callback_basic_auth.rb +249 -0
- data/lib/smart_recruiters/models/callback_header_auth.rb +250 -0
- data/lib/smart_recruiters/models/callback_o_auth2_auth.rb +262 -0
- data/lib/smart_recruiters/models/callback_request.rb +216 -0
- data/lib/smart_recruiters/models/callback_request_request_details.rb +219 -0
- data/lib/smart_recruiters/models/callback_request_status.rb +19 -0
- data/lib/smart_recruiters/models/callback_requests.rb +192 -0
- data/lib/smart_recruiters/models/callback_url.rb +188 -0
- data/lib/smart_recruiters/models/candidate.rb +349 -0
- data/lib/smart_recruiters/models/candidate_actions.rb +216 -0
- data/lib/smart_recruiters/models/candidate_attachment_for_job.rb +253 -0
- data/lib/smart_recruiters/models/candidate_attachment_for_job_actions.rb +216 -0
- data/lib/smart_recruiters/models/candidate_attachments_for_job.rb +218 -0
- data/lib/smart_recruiters/models/candidate_consent.rb +197 -0
- data/lib/smart_recruiters/models/candidate_consent_decisions.rb +213 -0
- data/lib/smart_recruiters/models/candidate_consent_status.rb +212 -0
- data/lib/smart_recruiters/models/candidate_details.rb +349 -0
- data/lib/smart_recruiters/models/candidate_details_actions.rb +229 -0
- data/lib/smart_recruiters/models/candidate_input.rb +308 -0
- data/lib/smart_recruiters/models/candidate_job.rb +216 -0
- data/lib/smart_recruiters/models/candidate_location.rb +251 -0
- data/lib/smart_recruiters/models/candidate_primary_assignment.rb +225 -0
- data/lib/smart_recruiters/models/candidate_primary_assignment_job.rb +230 -0
- data/lib/smart_recruiters/models/candidate_primary_assignment_job_actions.rb +202 -0
- data/lib/smart_recruiters/models/candidate_properties.rb +199 -0
- data/lib/smart_recruiters/models/candidate_property.rb +268 -0
- data/lib/smart_recruiters/models/candidate_property_actions.rb +202 -0
- data/lib/smart_recruiters/models/candidate_property_availability.rb +253 -0
- data/lib/smart_recruiters/models/candidate_property_definition.rb +233 -0
- data/lib/smart_recruiters/models/candidate_property_definition_list.rb +208 -0
- data/lib/smart_recruiters/models/candidate_property_filter.rb +215 -0
- data/lib/smart_recruiters/models/candidate_property_filter_values.rb +208 -0
- data/lib/smart_recruiters/models/candidate_property_input_value.rb +198 -0
- data/lib/smart_recruiters/models/candidate_property_type.rb +27 -0
- data/lib/smart_recruiters/models/candidate_property_value.rb +212 -0
- data/lib/smart_recruiters/models/candidate_property_value_label.rb +202 -0
- data/lib/smart_recruiters/models/candidate_property_value_list.rb +208 -0
- data/lib/smart_recruiters/models/candidate_secondary_assignments.rb +202 -0
- data/lib/smart_recruiters/models/candidate_source.rb +225 -0
- data/lib/smart_recruiters/models/candidate_status.rb +230 -0
- data/lib/smart_recruiters/models/candidate_status_enum.rb +26 -0
- data/lib/smart_recruiters/models/candidate_status_history_list.rb +208 -0
- data/lib/smart_recruiters/models/candidate_status_history_list_elem.rb +224 -0
- data/lib/smart_recruiters/models/candidate_tags.rb +204 -0
- data/lib/smart_recruiters/models/candidate_webhook_payload.rb +202 -0
- data/lib/smart_recruiters/models/candidates.rb +255 -0
- data/lib/smart_recruiters/models/company_configuration.rb +246 -0
- data/lib/smart_recruiters/models/compensation.rb +215 -0
- data/lib/smart_recruiters/models/consent_decision.rb +226 -0
- data/lib/smart_recruiters/models/consent_decision_status.rb +20 -0
- data/lib/smart_recruiters/models/consent_request.rb +203 -0
- data/lib/smart_recruiters/models/consent_request_scheduled.rb +250 -0
- data/lib/smart_recruiters/models/consent_request_scheduled_body.rb +197 -0
- data/lib/smart_recruiters/models/consent_request_unavailable.rb +245 -0
- data/lib/smart_recruiters/models/consent_requests_results.rb +204 -0
- data/lib/smart_recruiters/models/consent_scope.rb +22 -0
- data/lib/smart_recruiters/models/consent_status.rb +20 -0
- data/lib/smart_recruiters/models/department.rb +220 -0
- data/lib/smart_recruiters/models/departments.rb +208 -0
- data/lib/smart_recruiters/models/dependent_job_properties.rb +218 -0
- data/lib/smart_recruiters/models/dependent_job_properties_ids.rb +204 -0
- data/lib/smart_recruiters/models/dependent_job_property.rb +216 -0
- data/lib/smart_recruiters/models/dependent_job_property_value.rb +220 -0
- data/lib/smart_recruiters/models/dependent_job_property_values.rb +208 -0
- data/lib/smart_recruiters/models/dependent_job_property_values_relation.rb +218 -0
- data/lib/smart_recruiters/models/dependent_job_property_values_relations.rb +218 -0
- data/lib/smart_recruiters/models/education.rb +270 -0
- data/lib/smart_recruiters/models/email_address.rb +188 -0
- data/lib/smart_recruiters/models/employment.rb +261 -0
- data/lib/smart_recruiters/models/error.rb +211 -0
- data/lib/smart_recruiters/models/error_response.rb +208 -0
- data/lib/smart_recruiters/models/event.rb +206 -0
- data/lib/smart_recruiters/models/event_name.rb +64 -0
- data/lib/smart_recruiters/models/experience.rb +251 -0
- data/lib/smart_recruiters/models/field_value.rb +216 -0
- data/lib/smart_recruiters/models/headcount_patch_request.rb +197 -0
- data/lib/smart_recruiters/models/headcount_update_accepted.rb +231 -0
- data/lib/smart_recruiters/models/hiring_process.rb +224 -0
- data/lib/smart_recruiters/models/hiring_process_sub_statuses.rb +221 -0
- data/lib/smart_recruiters/models/hiring_processes.rb +218 -0
- data/lib/smart_recruiters/models/hiring_team_member.rb +220 -0
- data/lib/smart_recruiters/models/hiring_team_member_response.rb +215 -0
- data/lib/smart_recruiters/models/hiring_team_member_response_actions.rb +202 -0
- data/lib/smart_recruiters/models/hiring_team_member_role.rb +22 -0
- data/lib/smart_recruiters/models/hiring_team_members.rb +208 -0
- data/lib/smart_recruiters/models/id_attachments_body.rb +249 -0
- data/lib/smart_recruiters/models/identifiable.rb +202 -0
- data/lib/smart_recruiters/models/industry.rb +207 -0
- data/lib/smart_recruiters/models/job.rb +197 -0
- data/lib/smart_recruiters/models/job_ad.rb +206 -0
- data/lib/smart_recruiters/models/job_ad_content.rb +220 -0
- data/lib/smart_recruiters/models/job_ad_input.rb +206 -0
- data/lib/smart_recruiters/models/job_ad_item.rb +397 -0
- data/lib/smart_recruiters/models/job_ad_item_actions.rb +202 -0
- data/lib/smart_recruiters/models/job_ad_language.rb +202 -0
- data/lib/smart_recruiters/models/job_ad_postings_webhook_payload.rb +216 -0
- data/lib/smart_recruiters/models/job_ad_publication_scheduled.rb +231 -0
- data/lib/smart_recruiters/models/job_ad_section.rb +206 -0
- data/lib/smart_recruiters/models/job_ad_sections.rb +233 -0
- data/lib/smart_recruiters/models/job_ad_unpublish_scheduled.rb +231 -0
- data/lib/smart_recruiters/models/job_ad_videos.rb +199 -0
- data/lib/smart_recruiters/models/job_ad_webhook_payload.rb +216 -0
- data/lib/smart_recruiters/models/job_ads.rb +192 -0
- data/lib/smart_recruiters/models/job_application.rb +242 -0
- data/lib/smart_recruiters/models/job_application_status.rb +26 -0
- data/lib/smart_recruiters/models/job_approval.rb +217 -0
- data/lib/smart_recruiters/models/job_approval_position.rb +251 -0
- data/lib/smart_recruiters/models/job_approval_webhook_payload.rb +216 -0
- data/lib/smart_recruiters/models/job_details.rb +394 -0
- data/lib/smart_recruiters/models/job_details_actions.rb +233 -0
- data/lib/smart_recruiters/models/job_id_attachments_body.rb +249 -0
- data/lib/smart_recruiters/models/job_input.rb +341 -0
- data/lib/smart_recruiters/models/job_job.rb +215 -0
- data/lib/smart_recruiters/models/job_job_actions.rb +211 -0
- data/lib/smart_recruiters/models/job_location_input.rb +252 -0
- data/lib/smart_recruiters/models/job_note.rb +202 -0
- data/lib/smart_recruiters/models/job_position.rb +256 -0
- data/lib/smart_recruiters/models/job_position_input.rb +282 -0
- data/lib/smart_recruiters/models/job_positions.rb +218 -0
- data/lib/smart_recruiters/models/job_property.rb +225 -0
- data/lib/smart_recruiters/models/job_property_definition.rb +300 -0
- data/lib/smart_recruiters/models/job_property_definition_creation_request.rb +282 -0
- data/lib/smart_recruiters/models/job_property_definition_list.rb +208 -0
- data/lib/smart_recruiters/models/job_property_input.rb +220 -0
- data/lib/smart_recruiters/models/job_property_value.rb +206 -0
- data/lib/smart_recruiters/models/job_property_value_definition.rb +220 -0
- data/lib/smart_recruiters/models/job_property_value_definition_list.rb +208 -0
- data/lib/smart_recruiters/models/job_status.rb +25 -0
- data/lib/smart_recruiters/models/job_status_history.rb +216 -0
- data/lib/smart_recruiters/models/job_status_history_actions.rb +202 -0
- data/lib/smart_recruiters/models/job_status_history_content.rb +220 -0
- data/lib/smart_recruiters/models/job_status_update.rb +202 -0
- data/lib/smart_recruiters/models/job_summary.rb +302 -0
- data/lib/smart_recruiters/models/job_webhook_payload.rb +202 -0
- data/lib/smart_recruiters/models/jobs.rb +235 -0
- data/lib/smart_recruiters/models/json_patch.rb +192 -0
- data/lib/smart_recruiters/models/json_pointer.rb +188 -0
- data/lib/smart_recruiters/models/label_translation.rb +216 -0
- data/lib/smart_recruiters/models/label_translations.rb +192 -0
- data/lib/smart_recruiters/models/labeled.rb +202 -0
- data/lib/smart_recruiters/models/language.rb +220 -0
- data/lib/smart_recruiters/models/language_code.rb +87 -0
- data/lib/smart_recruiters/models/location.rb +251 -0
- data/lib/smart_recruiters/models/model_when.rb +189 -0
- data/lib/smart_recruiters/models/offer_approval_webhook_payload.rb +244 -0
- data/lib/smart_recruiters/models/offer_properties_category.rb +208 -0
- data/lib/smart_recruiters/models/offer_properties_definition.rb +199 -0
- data/lib/smart_recruiters/models/offer_property_definition.rb +258 -0
- data/lib/smart_recruiters/models/offer_webhook_payload.rb +230 -0
- data/lib/smart_recruiters/models/onboarding_assignments_completed_webhook_payload.rb +216 -0
- data/lib/smart_recruiters/models/onboarding_high_priority_assignments_completed_webhook_payload.rb +216 -0
- data/lib/smart_recruiters/models/onboarding_process_webhook_payload.rb +216 -0
- data/lib/smart_recruiters/models/onboarding_status.rb +236 -0
- data/lib/smart_recruiters/models/one_of_candidate_property_value.rb +188 -0
- data/lib/smart_recruiters/models/one_of_consent_requests_results_results_items.rb +188 -0
- data/lib/smart_recruiters/models/one_of_json_patch_items.rb +188 -0
- data/lib/smart_recruiters/models/path.rb +202 -0
- data/lib/smart_recruiters/models/personal_details.rb +242 -0
- data/lib/smart_recruiters/models/position_webhook_payload.rb +216 -0
- data/lib/smart_recruiters/models/posting_status.rb +21 -0
- data/lib/smart_recruiters/models/privacy_policy.rb +206 -0
- data/lib/smart_recruiters/models/properties.rb +208 -0
- data/lib/smart_recruiters/models/property.rb +211 -0
- data/lib/smart_recruiters/models/publication.rb +244 -0
- data/lib/smart_recruiters/models/publication_list.rb +204 -0
- data/lib/smart_recruiters/models/publication_list_item.rb +239 -0
- data/lib/smart_recruiters/models/relation_job_property_value.rb +211 -0
- data/lib/smart_recruiters/models/review_webhook_payload.rb +216 -0
- data/lib/smart_recruiters/models/salary_range.rb +215 -0
- data/lib/smart_recruiters/models/screening_answer.rb +313 -0
- data/lib/smart_recruiters/models/screening_answers.rb +218 -0
- data/lib/smart_recruiters/models/screening_question.rb +246 -0
- data/lib/smart_recruiters/models/screening_question_answer.rb +218 -0
- data/lib/smart_recruiters/models/screening_question_field.rb +315 -0
- data/lib/smart_recruiters/models/screening_questions_answers_webhook_payload.rb +230 -0
- data/lib/smart_recruiters/models/secret_key_payload.rb +197 -0
- data/lib/smart_recruiters/models/source.rb +244 -0
- data/lib/smart_recruiters/models/source_actions.rb +202 -0
- data/lib/smart_recruiters/models/source_definition.rb +230 -0
- data/lib/smart_recruiters/models/source_details.rb +225 -0
- data/lib/smart_recruiters/models/source_types.rb +218 -0
- data/lib/smart_recruiters/models/source_types_actions.rb +202 -0
- data/lib/smart_recruiters/models/source_types_content.rb +246 -0
- data/lib/smart_recruiters/models/sources.rb +246 -0
- data/lib/smart_recruiters/models/subscription.rb +270 -0
- data/lib/smart_recruiters/models/subscription_request.rb +236 -0
- data/lib/smart_recruiters/models/subscriptions.rb +192 -0
- data/lib/smart_recruiters/models/user_identity.rb +215 -0
- data/lib/smart_recruiters/models/uuid.rb +188 -0
- data/lib/smart_recruiters/models/valid_job_status.rb +24 -0
- data/lib/smart_recruiters/models/web.rb +233 -0
- data/lib/smart_recruiters/models/web_profile.rb +233 -0
- data/lib/smart_recruiters/version.rb +5 -0
- data/lib/smart_recruiters.rb +46 -0
- data/open_api_smart_recruiters_sdk.gemspec +45 -0
- data/sig/smart_recruiters.rbs +4 -0
- metadata +367 -0
|
@@ -0,0 +1,2504 @@
|
|
|
1
|
+
module SmartRecruiters
|
|
2
|
+
class ConfigurationApi
|
|
3
|
+
attr_accessor :api_client
|
|
4
|
+
|
|
5
|
+
def initialize(api_client = ApiClient.default)
|
|
6
|
+
@api_client = api_client
|
|
7
|
+
end
|
|
8
|
+
# Get a list of available candidate properties
|
|
9
|
+
# Get all candidate properties and their configuration for a company
|
|
10
|
+
# @param [Hash] opts the optional parameters
|
|
11
|
+
# @return [CandidatePropertyDefinitionList]
|
|
12
|
+
def configuration_candidate_properties_all(opts = {})
|
|
13
|
+
data, _status_code, _headers = configuration_candidate_properties_all_with_http_info(opts)
|
|
14
|
+
data
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
# Get a list of available candidate properties
|
|
18
|
+
# Get all candidate properties and their configuration for a company
|
|
19
|
+
# @param [Hash] opts the optional parameters
|
|
20
|
+
# @return [Array<(CandidatePropertyDefinitionList, Integer, Hash)>] CandidatePropertyDefinitionList data, response status code and response headers
|
|
21
|
+
def configuration_candidate_properties_all_with_http_info(opts = {})
|
|
22
|
+
if @api_client.config.debugging
|
|
23
|
+
@api_client.config.logger.debug 'Calling API: ConfigurationApi.configuration_candidate_properties_all ...'
|
|
24
|
+
end
|
|
25
|
+
# resource path
|
|
26
|
+
local_var_path = '/configuration/candidate-properties'
|
|
27
|
+
|
|
28
|
+
# query parameters
|
|
29
|
+
query_params = opts[:query_params] || {}
|
|
30
|
+
|
|
31
|
+
# header parameters
|
|
32
|
+
header_params = opts[:header_params] || {}
|
|
33
|
+
# HTTP header 'Accept' (if needed)
|
|
34
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
35
|
+
|
|
36
|
+
# form parameters
|
|
37
|
+
form_params = opts[:form_params] || {}
|
|
38
|
+
|
|
39
|
+
# http body (model)
|
|
40
|
+
post_body = opts[:body]
|
|
41
|
+
|
|
42
|
+
return_type = opts[:return_type] || 'CandidatePropertyDefinitionList'
|
|
43
|
+
|
|
44
|
+
auth_names = opts[:auth_names] || ['key', 'oauth']
|
|
45
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
46
|
+
:header_params => header_params,
|
|
47
|
+
:query_params => query_params,
|
|
48
|
+
:form_params => form_params,
|
|
49
|
+
:body => post_body,
|
|
50
|
+
:auth_names => auth_names,
|
|
51
|
+
:return_type => return_type)
|
|
52
|
+
|
|
53
|
+
if @api_client.config.debugging
|
|
54
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#configuration_candidate_properties_all\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
55
|
+
end
|
|
56
|
+
return data, status_code, headers
|
|
57
|
+
end
|
|
58
|
+
# Get candidate property by id
|
|
59
|
+
# Get candidate property details and its configuration by id.
|
|
60
|
+
# @param id candidate property identifier
|
|
61
|
+
# @param [Hash] opts the optional parameters
|
|
62
|
+
# @return [CandidatePropertyDefinition]
|
|
63
|
+
def configuration_candidate_properties_get(id, opts = {})
|
|
64
|
+
data, _status_code, _headers = configuration_candidate_properties_get_with_http_info(id, opts)
|
|
65
|
+
data
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
# Get candidate property by id
|
|
69
|
+
# Get candidate property details and its configuration by id.
|
|
70
|
+
# @param id candidate property identifier
|
|
71
|
+
# @param [Hash] opts the optional parameters
|
|
72
|
+
# @return [Array<(CandidatePropertyDefinition, Integer, Hash)>] CandidatePropertyDefinition data, response status code and response headers
|
|
73
|
+
def configuration_candidate_properties_get_with_http_info(id, opts = {})
|
|
74
|
+
if @api_client.config.debugging
|
|
75
|
+
@api_client.config.logger.debug 'Calling API: ConfigurationApi.configuration_candidate_properties_get ...'
|
|
76
|
+
end
|
|
77
|
+
# verify the required parameter 'id' is set
|
|
78
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
79
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ConfigurationApi.configuration_candidate_properties_get"
|
|
80
|
+
end
|
|
81
|
+
# resource path
|
|
82
|
+
local_var_path = '/configuration/candidate-properties/{id}'.sub('{' + 'id' + '}', id.to_s)
|
|
83
|
+
|
|
84
|
+
# query parameters
|
|
85
|
+
query_params = opts[:query_params] || {}
|
|
86
|
+
|
|
87
|
+
# header parameters
|
|
88
|
+
header_params = opts[:header_params] || {}
|
|
89
|
+
# HTTP header 'Accept' (if needed)
|
|
90
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
91
|
+
|
|
92
|
+
# form parameters
|
|
93
|
+
form_params = opts[:form_params] || {}
|
|
94
|
+
|
|
95
|
+
# http body (model)
|
|
96
|
+
post_body = opts[:body]
|
|
97
|
+
|
|
98
|
+
return_type = opts[:return_type] || 'CandidatePropertyDefinition'
|
|
99
|
+
|
|
100
|
+
auth_names = opts[:auth_names] || ['key', 'oauth']
|
|
101
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
102
|
+
:header_params => header_params,
|
|
103
|
+
:query_params => query_params,
|
|
104
|
+
:form_params => form_params,
|
|
105
|
+
:body => post_body,
|
|
106
|
+
:auth_names => auth_names,
|
|
107
|
+
:return_type => return_type)
|
|
108
|
+
|
|
109
|
+
if @api_client.config.debugging
|
|
110
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#configuration_candidate_properties_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
111
|
+
end
|
|
112
|
+
return data, status_code, headers
|
|
113
|
+
end
|
|
114
|
+
# Get Candidate Property values
|
|
115
|
+
# Lists all available values for given candidate property id. This endpoint is available only for SINGLE_SELECT candidate property type.
|
|
116
|
+
# @param id candidate property identifier
|
|
117
|
+
# @param [Hash] opts the optional parameters
|
|
118
|
+
# @return [CandidatePropertyValueList]
|
|
119
|
+
def configuration_candidate_properties_values_all(id, opts = {})
|
|
120
|
+
data, _status_code, _headers = configuration_candidate_properties_values_all_with_http_info(id, opts)
|
|
121
|
+
data
|
|
122
|
+
end
|
|
123
|
+
|
|
124
|
+
# Get Candidate Property values
|
|
125
|
+
# Lists all available values for given candidate property id. This endpoint is available only for SINGLE_SELECT candidate property type.
|
|
126
|
+
# @param id candidate property identifier
|
|
127
|
+
# @param [Hash] opts the optional parameters
|
|
128
|
+
# @return [Array<(CandidatePropertyValueList, Integer, Hash)>] CandidatePropertyValueList data, response status code and response headers
|
|
129
|
+
def configuration_candidate_properties_values_all_with_http_info(id, opts = {})
|
|
130
|
+
if @api_client.config.debugging
|
|
131
|
+
@api_client.config.logger.debug 'Calling API: ConfigurationApi.configuration_candidate_properties_values_all ...'
|
|
132
|
+
end
|
|
133
|
+
# verify the required parameter 'id' is set
|
|
134
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
135
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ConfigurationApi.configuration_candidate_properties_values_all"
|
|
136
|
+
end
|
|
137
|
+
# resource path
|
|
138
|
+
local_var_path = '/configuration/candidate-properties/{id}/values'.sub('{' + 'id' + '}', id.to_s)
|
|
139
|
+
|
|
140
|
+
# query parameters
|
|
141
|
+
query_params = opts[:query_params] || {}
|
|
142
|
+
|
|
143
|
+
# header parameters
|
|
144
|
+
header_params = opts[:header_params] || {}
|
|
145
|
+
# HTTP header 'Accept' (if needed)
|
|
146
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
147
|
+
|
|
148
|
+
# form parameters
|
|
149
|
+
form_params = opts[:form_params] || {}
|
|
150
|
+
|
|
151
|
+
# http body (model)
|
|
152
|
+
post_body = opts[:body]
|
|
153
|
+
|
|
154
|
+
return_type = opts[:return_type] || 'CandidatePropertyValueList'
|
|
155
|
+
|
|
156
|
+
auth_names = opts[:auth_names] || ['key', 'oauth']
|
|
157
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
158
|
+
:header_params => header_params,
|
|
159
|
+
:query_params => query_params,
|
|
160
|
+
:form_params => form_params,
|
|
161
|
+
:body => post_body,
|
|
162
|
+
:auth_names => auth_names,
|
|
163
|
+
:return_type => return_type)
|
|
164
|
+
|
|
165
|
+
if @api_client.config.debugging
|
|
166
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#configuration_candidate_properties_values_all\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
167
|
+
end
|
|
168
|
+
return data, status_code, headers
|
|
169
|
+
end
|
|
170
|
+
# Create candidate property value
|
|
171
|
+
# Create SINGLE_SELECT candidate property value
|
|
172
|
+
# @param body Candidate property value.
|
|
173
|
+
# @param id candidate property identifier
|
|
174
|
+
# @param [Hash] opts the optional parameters
|
|
175
|
+
# @return [CandidatePropertyValue]
|
|
176
|
+
def configuration_candidate_properties_values_create(body, id, opts = {})
|
|
177
|
+
data, _status_code, _headers = configuration_candidate_properties_values_create_with_http_info(body, id, opts)
|
|
178
|
+
data
|
|
179
|
+
end
|
|
180
|
+
|
|
181
|
+
# Create candidate property value
|
|
182
|
+
# Create SINGLE_SELECT candidate property value
|
|
183
|
+
# @param body Candidate property value.
|
|
184
|
+
# @param id candidate property identifier
|
|
185
|
+
# @param [Hash] opts the optional parameters
|
|
186
|
+
# @return [Array<(CandidatePropertyValue, Integer, Hash)>] CandidatePropertyValue data, response status code and response headers
|
|
187
|
+
def configuration_candidate_properties_values_create_with_http_info(body, id, opts = {})
|
|
188
|
+
if @api_client.config.debugging
|
|
189
|
+
@api_client.config.logger.debug 'Calling API: ConfigurationApi.configuration_candidate_properties_values_create ...'
|
|
190
|
+
end
|
|
191
|
+
# verify the required parameter 'body' is set
|
|
192
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
193
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConfigurationApi.configuration_candidate_properties_values_create"
|
|
194
|
+
end
|
|
195
|
+
# verify the required parameter 'id' is set
|
|
196
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
197
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ConfigurationApi.configuration_candidate_properties_values_create"
|
|
198
|
+
end
|
|
199
|
+
# resource path
|
|
200
|
+
local_var_path = '/configuration/candidate-properties/{id}/values'.sub('{' + 'id' + '}', id.to_s)
|
|
201
|
+
|
|
202
|
+
# query parameters
|
|
203
|
+
query_params = opts[:query_params] || {}
|
|
204
|
+
|
|
205
|
+
# header parameters
|
|
206
|
+
header_params = opts[:header_params] || {}
|
|
207
|
+
# HTTP header 'Accept' (if needed)
|
|
208
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
209
|
+
# HTTP header 'Content-Type'
|
|
210
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
211
|
+
|
|
212
|
+
# form parameters
|
|
213
|
+
form_params = opts[:form_params] || {}
|
|
214
|
+
|
|
215
|
+
# http body (model)
|
|
216
|
+
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
|
217
|
+
|
|
218
|
+
return_type = opts[:return_type] || 'CandidatePropertyValue'
|
|
219
|
+
|
|
220
|
+
auth_names = opts[:auth_names] || ['key', 'oauth']
|
|
221
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
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
|
+
if @api_client.config.debugging
|
|
230
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#configuration_candidate_properties_values_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
231
|
+
end
|
|
232
|
+
return data, status_code, headers
|
|
233
|
+
end
|
|
234
|
+
# Remove candidate property value
|
|
235
|
+
# Remove candidate property value label
|
|
236
|
+
# @param id candidate property identifier
|
|
237
|
+
# @param value_id candidate property's value identifier
|
|
238
|
+
# @param [Hash] opts the optional parameters
|
|
239
|
+
# @return [nil]
|
|
240
|
+
def configuration_candidate_properties_values_delete(id, value_id, opts = {})
|
|
241
|
+
configuration_candidate_properties_values_delete_with_http_info(id, value_id, opts)
|
|
242
|
+
nil
|
|
243
|
+
end
|
|
244
|
+
|
|
245
|
+
# Remove candidate property value
|
|
246
|
+
# Remove candidate property value label
|
|
247
|
+
# @param id candidate property identifier
|
|
248
|
+
# @param value_id candidate property's value identifier
|
|
249
|
+
# @param [Hash] opts the optional parameters
|
|
250
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
251
|
+
def configuration_candidate_properties_values_delete_with_http_info(id, value_id, opts = {})
|
|
252
|
+
if @api_client.config.debugging
|
|
253
|
+
@api_client.config.logger.debug 'Calling API: ConfigurationApi.configuration_candidate_properties_values_delete ...'
|
|
254
|
+
end
|
|
255
|
+
# verify the required parameter 'id' is set
|
|
256
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
257
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ConfigurationApi.configuration_candidate_properties_values_delete"
|
|
258
|
+
end
|
|
259
|
+
# verify the required parameter 'value_id' is set
|
|
260
|
+
if @api_client.config.client_side_validation && value_id.nil?
|
|
261
|
+
fail ArgumentError, "Missing the required parameter 'value_id' when calling ConfigurationApi.configuration_candidate_properties_values_delete"
|
|
262
|
+
end
|
|
263
|
+
# resource path
|
|
264
|
+
local_var_path = '/configuration/candidate-properties/{id}/values/{valueId}'.sub('{' + 'id' + '}', id.to_s).sub('{' + 'valueId' + '}', value_id.to_s)
|
|
265
|
+
|
|
266
|
+
# query parameters
|
|
267
|
+
query_params = opts[:query_params] || {}
|
|
268
|
+
|
|
269
|
+
# header parameters
|
|
270
|
+
header_params = opts[:header_params] || {}
|
|
271
|
+
# HTTP header 'Accept' (if needed)
|
|
272
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
273
|
+
|
|
274
|
+
# form parameters
|
|
275
|
+
form_params = opts[:form_params] || {}
|
|
276
|
+
|
|
277
|
+
# http body (model)
|
|
278
|
+
post_body = opts[:body]
|
|
279
|
+
|
|
280
|
+
return_type = opts[:return_type]
|
|
281
|
+
|
|
282
|
+
auth_names = opts[:auth_names] || ['key', 'oauth']
|
|
283
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
284
|
+
:header_params => header_params,
|
|
285
|
+
:query_params => query_params,
|
|
286
|
+
:form_params => form_params,
|
|
287
|
+
:body => post_body,
|
|
288
|
+
:auth_names => auth_names,
|
|
289
|
+
:return_type => return_type)
|
|
290
|
+
|
|
291
|
+
if @api_client.config.debugging
|
|
292
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#configuration_candidate_properties_values_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
293
|
+
end
|
|
294
|
+
return data, status_code, headers
|
|
295
|
+
end
|
|
296
|
+
# Get Candidate Property value by id
|
|
297
|
+
# Get Candidate Property value by its id.
|
|
298
|
+
# @param id candidate property identifier
|
|
299
|
+
# @param value_id candidate property's value identifier
|
|
300
|
+
# @param [Hash] opts the optional parameters
|
|
301
|
+
# @return [CandidatePropertyValue]
|
|
302
|
+
def configuration_candidate_properties_values_get(id, value_id, opts = {})
|
|
303
|
+
data, _status_code, _headers = configuration_candidate_properties_values_get_with_http_info(id, value_id, opts)
|
|
304
|
+
data
|
|
305
|
+
end
|
|
306
|
+
|
|
307
|
+
# Get Candidate Property value by id
|
|
308
|
+
# Get Candidate Property value by its id.
|
|
309
|
+
# @param id candidate property identifier
|
|
310
|
+
# @param value_id candidate property's value identifier
|
|
311
|
+
# @param [Hash] opts the optional parameters
|
|
312
|
+
# @return [Array<(CandidatePropertyValue, Integer, Hash)>] CandidatePropertyValue data, response status code and response headers
|
|
313
|
+
def configuration_candidate_properties_values_get_with_http_info(id, value_id, opts = {})
|
|
314
|
+
if @api_client.config.debugging
|
|
315
|
+
@api_client.config.logger.debug 'Calling API: ConfigurationApi.configuration_candidate_properties_values_get ...'
|
|
316
|
+
end
|
|
317
|
+
# verify the required parameter 'id' is set
|
|
318
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
319
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ConfigurationApi.configuration_candidate_properties_values_get"
|
|
320
|
+
end
|
|
321
|
+
# verify the required parameter 'value_id' is set
|
|
322
|
+
if @api_client.config.client_side_validation && value_id.nil?
|
|
323
|
+
fail ArgumentError, "Missing the required parameter 'value_id' when calling ConfigurationApi.configuration_candidate_properties_values_get"
|
|
324
|
+
end
|
|
325
|
+
# resource path
|
|
326
|
+
local_var_path = '/configuration/candidate-properties/{id}/values/{valueId}'.sub('{' + 'id' + '}', id.to_s).sub('{' + 'valueId' + '}', value_id.to_s)
|
|
327
|
+
|
|
328
|
+
# query parameters
|
|
329
|
+
query_params = opts[:query_params] || {}
|
|
330
|
+
|
|
331
|
+
# header parameters
|
|
332
|
+
header_params = opts[:header_params] || {}
|
|
333
|
+
# HTTP header 'Accept' (if needed)
|
|
334
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
335
|
+
|
|
336
|
+
# form parameters
|
|
337
|
+
form_params = opts[:form_params] || {}
|
|
338
|
+
|
|
339
|
+
# http body (model)
|
|
340
|
+
post_body = opts[:body]
|
|
341
|
+
|
|
342
|
+
return_type = opts[:return_type] || 'CandidatePropertyValue'
|
|
343
|
+
|
|
344
|
+
auth_names = opts[:auth_names] || ['key', 'oauth']
|
|
345
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
346
|
+
:header_params => header_params,
|
|
347
|
+
:query_params => query_params,
|
|
348
|
+
:form_params => form_params,
|
|
349
|
+
:body => post_body,
|
|
350
|
+
:auth_names => auth_names,
|
|
351
|
+
:return_type => return_type)
|
|
352
|
+
|
|
353
|
+
if @api_client.config.debugging
|
|
354
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#configuration_candidate_properties_values_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
355
|
+
end
|
|
356
|
+
return data, status_code, headers
|
|
357
|
+
end
|
|
358
|
+
# Update candidate property value label
|
|
359
|
+
# Update candidate property value label
|
|
360
|
+
# @param body Candidate property value label.
|
|
361
|
+
# @param id candidate property identifier
|
|
362
|
+
# @param value_id candidate property's value identifier
|
|
363
|
+
# @param [Hash] opts the optional parameters
|
|
364
|
+
# @return [CandidatePropertyValue]
|
|
365
|
+
def configuration_candidate_properties_values_update(body, id, value_id, opts = {})
|
|
366
|
+
data, _status_code, _headers = configuration_candidate_properties_values_update_with_http_info(body, id, value_id, opts)
|
|
367
|
+
data
|
|
368
|
+
end
|
|
369
|
+
|
|
370
|
+
# Update candidate property value label
|
|
371
|
+
# Update candidate property value label
|
|
372
|
+
# @param body Candidate property value label.
|
|
373
|
+
# @param id candidate property identifier
|
|
374
|
+
# @param value_id candidate property's value identifier
|
|
375
|
+
# @param [Hash] opts the optional parameters
|
|
376
|
+
# @return [Array<(CandidatePropertyValue, Integer, Hash)>] CandidatePropertyValue data, response status code and response headers
|
|
377
|
+
def configuration_candidate_properties_values_update_with_http_info(body, id, value_id, opts = {})
|
|
378
|
+
if @api_client.config.debugging
|
|
379
|
+
@api_client.config.logger.debug 'Calling API: ConfigurationApi.configuration_candidate_properties_values_update ...'
|
|
380
|
+
end
|
|
381
|
+
# verify the required parameter 'body' is set
|
|
382
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
383
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConfigurationApi.configuration_candidate_properties_values_update"
|
|
384
|
+
end
|
|
385
|
+
# verify the required parameter 'id' is set
|
|
386
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
387
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ConfigurationApi.configuration_candidate_properties_values_update"
|
|
388
|
+
end
|
|
389
|
+
# verify the required parameter 'value_id' is set
|
|
390
|
+
if @api_client.config.client_side_validation && value_id.nil?
|
|
391
|
+
fail ArgumentError, "Missing the required parameter 'value_id' when calling ConfigurationApi.configuration_candidate_properties_values_update"
|
|
392
|
+
end
|
|
393
|
+
# resource path
|
|
394
|
+
local_var_path = '/configuration/candidate-properties/{id}/values/{valueId}'.sub('{' + 'id' + '}', id.to_s).sub('{' + 'valueId' + '}', value_id.to_s)
|
|
395
|
+
|
|
396
|
+
# query parameters
|
|
397
|
+
query_params = opts[:query_params] || {}
|
|
398
|
+
|
|
399
|
+
# header parameters
|
|
400
|
+
header_params = opts[:header_params] || {}
|
|
401
|
+
# HTTP header 'Accept' (if needed)
|
|
402
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
403
|
+
# HTTP header 'Content-Type'
|
|
404
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
405
|
+
|
|
406
|
+
# form parameters
|
|
407
|
+
form_params = opts[:form_params] || {}
|
|
408
|
+
|
|
409
|
+
# http body (model)
|
|
410
|
+
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
|
411
|
+
|
|
412
|
+
return_type = opts[:return_type] || 'CandidatePropertyValue'
|
|
413
|
+
|
|
414
|
+
auth_names = opts[:auth_names] || ['key', 'oauth']
|
|
415
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
416
|
+
:header_params => header_params,
|
|
417
|
+
:query_params => query_params,
|
|
418
|
+
:form_params => form_params,
|
|
419
|
+
:body => post_body,
|
|
420
|
+
:auth_names => auth_names,
|
|
421
|
+
:return_type => return_type)
|
|
422
|
+
|
|
423
|
+
if @api_client.config.debugging
|
|
424
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#configuration_candidate_properties_values_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
425
|
+
end
|
|
426
|
+
return data, status_code, headers
|
|
427
|
+
end
|
|
428
|
+
# Get company information
|
|
429
|
+
# Get all information about your company.
|
|
430
|
+
# @param [Hash] opts the optional parameters
|
|
431
|
+
# @return [CompanyConfiguration]
|
|
432
|
+
def configuration_company_my(opts = {})
|
|
433
|
+
data, _status_code, _headers = configuration_company_my_with_http_info(opts)
|
|
434
|
+
data
|
|
435
|
+
end
|
|
436
|
+
|
|
437
|
+
# Get company information
|
|
438
|
+
# Get all information about your company.
|
|
439
|
+
# @param [Hash] opts the optional parameters
|
|
440
|
+
# @return [Array<(CompanyConfiguration, Integer, Hash)>] CompanyConfiguration data, response status code and response headers
|
|
441
|
+
def configuration_company_my_with_http_info(opts = {})
|
|
442
|
+
if @api_client.config.debugging
|
|
443
|
+
@api_client.config.logger.debug 'Calling API: ConfigurationApi.configuration_company_my ...'
|
|
444
|
+
end
|
|
445
|
+
# resource path
|
|
446
|
+
local_var_path = '/configuration/company'
|
|
447
|
+
|
|
448
|
+
# query parameters
|
|
449
|
+
query_params = opts[:query_params] || {}
|
|
450
|
+
|
|
451
|
+
# header parameters
|
|
452
|
+
header_params = opts[:header_params] || {}
|
|
453
|
+
# HTTP header 'Accept' (if needed)
|
|
454
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
455
|
+
|
|
456
|
+
# form parameters
|
|
457
|
+
form_params = opts[:form_params] || {}
|
|
458
|
+
|
|
459
|
+
# http body (model)
|
|
460
|
+
post_body = opts[:body]
|
|
461
|
+
|
|
462
|
+
return_type = opts[:return_type] || 'CompanyConfiguration'
|
|
463
|
+
|
|
464
|
+
auth_names = opts[:auth_names] || ['key', 'oauth']
|
|
465
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
466
|
+
:header_params => header_params,
|
|
467
|
+
:query_params => query_params,
|
|
468
|
+
:form_params => form_params,
|
|
469
|
+
:body => post_body,
|
|
470
|
+
:auth_names => auth_names,
|
|
471
|
+
:return_type => return_type)
|
|
472
|
+
|
|
473
|
+
if @api_client.config.debugging
|
|
474
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#configuration_company_my\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
475
|
+
end
|
|
476
|
+
return data, status_code, headers
|
|
477
|
+
end
|
|
478
|
+
# Get departments
|
|
479
|
+
# @param [Hash] opts the optional parameters
|
|
480
|
+
# @option opts [LanguageCode] :accept_language language of returned content
|
|
481
|
+
# @return [Departments]
|
|
482
|
+
def configuration_department_all(opts = {})
|
|
483
|
+
data, _status_code, _headers = configuration_department_all_with_http_info(opts)
|
|
484
|
+
data
|
|
485
|
+
end
|
|
486
|
+
|
|
487
|
+
# Get departments
|
|
488
|
+
# @param [Hash] opts the optional parameters
|
|
489
|
+
# @option opts [LanguageCode] :accept_language language of returned content
|
|
490
|
+
# @return [Array<(Departments, Integer, Hash)>] Departments data, response status code and response headers
|
|
491
|
+
def configuration_department_all_with_http_info(opts = {})
|
|
492
|
+
if @api_client.config.debugging
|
|
493
|
+
@api_client.config.logger.debug 'Calling API: ConfigurationApi.configuration_department_all ...'
|
|
494
|
+
end
|
|
495
|
+
# resource path
|
|
496
|
+
local_var_path = '/configuration/departments'
|
|
497
|
+
|
|
498
|
+
# query parameters
|
|
499
|
+
query_params = opts[:query_params] || {}
|
|
500
|
+
|
|
501
|
+
# header parameters
|
|
502
|
+
header_params = opts[:header_params] || {}
|
|
503
|
+
# HTTP header 'Accept' (if needed)
|
|
504
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
505
|
+
header_params[:'Accept-Language'] = opts[:'accept_language'] if !opts[:'accept_language'].nil?
|
|
506
|
+
|
|
507
|
+
# form parameters
|
|
508
|
+
form_params = opts[:form_params] || {}
|
|
509
|
+
|
|
510
|
+
# http body (model)
|
|
511
|
+
post_body = opts[:body]
|
|
512
|
+
|
|
513
|
+
return_type = opts[:return_type] || 'Departments'
|
|
514
|
+
|
|
515
|
+
auth_names = opts[:auth_names] || ['key', 'oauth']
|
|
516
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
517
|
+
:header_params => header_params,
|
|
518
|
+
:query_params => query_params,
|
|
519
|
+
:form_params => form_params,
|
|
520
|
+
:body => post_body,
|
|
521
|
+
:auth_names => auth_names,
|
|
522
|
+
:return_type => return_type)
|
|
523
|
+
|
|
524
|
+
if @api_client.config.debugging
|
|
525
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#configuration_department_all\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
526
|
+
end
|
|
527
|
+
return data, status_code, headers
|
|
528
|
+
end
|
|
529
|
+
# Creates department
|
|
530
|
+
# @param body department to be created
|
|
531
|
+
# @param [Hash] opts the optional parameters
|
|
532
|
+
# @return [Department]
|
|
533
|
+
def configuration_department_create(body, opts = {})
|
|
534
|
+
data, _status_code, _headers = configuration_department_create_with_http_info(body, opts)
|
|
535
|
+
data
|
|
536
|
+
end
|
|
537
|
+
|
|
538
|
+
# Creates department
|
|
539
|
+
# @param body department to be created
|
|
540
|
+
# @param [Hash] opts the optional parameters
|
|
541
|
+
# @return [Array<(Department, Integer, Hash)>] Department data, response status code and response headers
|
|
542
|
+
def configuration_department_create_with_http_info(body, opts = {})
|
|
543
|
+
if @api_client.config.debugging
|
|
544
|
+
@api_client.config.logger.debug 'Calling API: ConfigurationApi.configuration_department_create ...'
|
|
545
|
+
end
|
|
546
|
+
# verify the required parameter 'body' is set
|
|
547
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
548
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConfigurationApi.configuration_department_create"
|
|
549
|
+
end
|
|
550
|
+
# resource path
|
|
551
|
+
local_var_path = '/configuration/departments'
|
|
552
|
+
|
|
553
|
+
# query parameters
|
|
554
|
+
query_params = opts[:query_params] || {}
|
|
555
|
+
|
|
556
|
+
# header parameters
|
|
557
|
+
header_params = opts[:header_params] || {}
|
|
558
|
+
# HTTP header 'Accept' (if needed)
|
|
559
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
560
|
+
# HTTP header 'Content-Type'
|
|
561
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
562
|
+
|
|
563
|
+
# form parameters
|
|
564
|
+
form_params = opts[:form_params] || {}
|
|
565
|
+
|
|
566
|
+
# http body (model)
|
|
567
|
+
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
|
568
|
+
|
|
569
|
+
return_type = opts[:return_type] || 'Department'
|
|
570
|
+
|
|
571
|
+
auth_names = opts[:auth_names] || ['key', 'oauth']
|
|
572
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
573
|
+
:header_params => header_params,
|
|
574
|
+
:query_params => query_params,
|
|
575
|
+
:form_params => form_params,
|
|
576
|
+
:body => post_body,
|
|
577
|
+
:auth_names => auth_names,
|
|
578
|
+
:return_type => return_type)
|
|
579
|
+
|
|
580
|
+
if @api_client.config.debugging
|
|
581
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#configuration_department_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
582
|
+
end
|
|
583
|
+
return data, status_code, headers
|
|
584
|
+
end
|
|
585
|
+
# Get department
|
|
586
|
+
# @param id Identifier of a department
|
|
587
|
+
# @param [Hash] opts the optional parameters
|
|
588
|
+
# @return [Department]
|
|
589
|
+
def configuration_department_get(id, opts = {})
|
|
590
|
+
data, _status_code, _headers = configuration_department_get_with_http_info(id, opts)
|
|
591
|
+
data
|
|
592
|
+
end
|
|
593
|
+
|
|
594
|
+
# Get department
|
|
595
|
+
# @param id Identifier of a department
|
|
596
|
+
# @param [Hash] opts the optional parameters
|
|
597
|
+
# @return [Array<(Department, Integer, Hash)>] Department data, response status code and response headers
|
|
598
|
+
def configuration_department_get_with_http_info(id, opts = {})
|
|
599
|
+
if @api_client.config.debugging
|
|
600
|
+
@api_client.config.logger.debug 'Calling API: ConfigurationApi.configuration_department_get ...'
|
|
601
|
+
end
|
|
602
|
+
# verify the required parameter 'id' is set
|
|
603
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
604
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ConfigurationApi.configuration_department_get"
|
|
605
|
+
end
|
|
606
|
+
# resource path
|
|
607
|
+
local_var_path = '/configuration/departments/{id}'.sub('{' + 'id' + '}', id.to_s)
|
|
608
|
+
|
|
609
|
+
# query parameters
|
|
610
|
+
query_params = opts[:query_params] || {}
|
|
611
|
+
|
|
612
|
+
# header parameters
|
|
613
|
+
header_params = opts[:header_params] || {}
|
|
614
|
+
# HTTP header 'Accept' (if needed)
|
|
615
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
616
|
+
|
|
617
|
+
# form parameters
|
|
618
|
+
form_params = opts[:form_params] || {}
|
|
619
|
+
|
|
620
|
+
# http body (model)
|
|
621
|
+
post_body = opts[:body]
|
|
622
|
+
|
|
623
|
+
return_type = opts[:return_type] || 'Department'
|
|
624
|
+
|
|
625
|
+
auth_names = opts[:auth_names] || ['key', 'oauth']
|
|
626
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
627
|
+
:header_params => header_params,
|
|
628
|
+
:query_params => query_params,
|
|
629
|
+
:form_params => form_params,
|
|
630
|
+
:body => post_body,
|
|
631
|
+
:auth_names => auth_names,
|
|
632
|
+
:return_type => return_type)
|
|
633
|
+
|
|
634
|
+
if @api_client.config.debugging
|
|
635
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#configuration_department_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
636
|
+
end
|
|
637
|
+
return data, status_code, headers
|
|
638
|
+
end
|
|
639
|
+
# Get list of hiring process
|
|
640
|
+
# @param [Hash] opts the optional parameters
|
|
641
|
+
# @return [HiringProcesses]
|
|
642
|
+
def configuration_hiring_process_all(opts = {})
|
|
643
|
+
data, _status_code, _headers = configuration_hiring_process_all_with_http_info(opts)
|
|
644
|
+
data
|
|
645
|
+
end
|
|
646
|
+
|
|
647
|
+
# Get list of hiring process
|
|
648
|
+
# @param [Hash] opts the optional parameters
|
|
649
|
+
# @return [Array<(HiringProcesses, Integer, Hash)>] HiringProcesses data, response status code and response headers
|
|
650
|
+
def configuration_hiring_process_all_with_http_info(opts = {})
|
|
651
|
+
if @api_client.config.debugging
|
|
652
|
+
@api_client.config.logger.debug 'Calling API: ConfigurationApi.configuration_hiring_process_all ...'
|
|
653
|
+
end
|
|
654
|
+
# resource path
|
|
655
|
+
local_var_path = '/configuration/hiring-processes'
|
|
656
|
+
|
|
657
|
+
# query parameters
|
|
658
|
+
query_params = opts[:query_params] || {}
|
|
659
|
+
|
|
660
|
+
# header parameters
|
|
661
|
+
header_params = opts[:header_params] || {}
|
|
662
|
+
# HTTP header 'Accept' (if needed)
|
|
663
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
664
|
+
|
|
665
|
+
# form parameters
|
|
666
|
+
form_params = opts[:form_params] || {}
|
|
667
|
+
|
|
668
|
+
# http body (model)
|
|
669
|
+
post_body = opts[:body]
|
|
670
|
+
|
|
671
|
+
return_type = opts[:return_type] || 'HiringProcesses'
|
|
672
|
+
|
|
673
|
+
auth_names = opts[:auth_names] || ['key', 'oauth']
|
|
674
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
675
|
+
:header_params => header_params,
|
|
676
|
+
:query_params => query_params,
|
|
677
|
+
:form_params => form_params,
|
|
678
|
+
:body => post_body,
|
|
679
|
+
:auth_names => auth_names,
|
|
680
|
+
:return_type => return_type)
|
|
681
|
+
|
|
682
|
+
if @api_client.config.debugging
|
|
683
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#configuration_hiring_process_all\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
684
|
+
end
|
|
685
|
+
return data, status_code, headers
|
|
686
|
+
end
|
|
687
|
+
# Get hiring process
|
|
688
|
+
# @param id Identifier of a hiring process
|
|
689
|
+
# @param [Hash] opts the optional parameters
|
|
690
|
+
# @return [HiringProcess]
|
|
691
|
+
def configuration_hiring_process_get(id, opts = {})
|
|
692
|
+
data, _status_code, _headers = configuration_hiring_process_get_with_http_info(id, opts)
|
|
693
|
+
data
|
|
694
|
+
end
|
|
695
|
+
|
|
696
|
+
# Get hiring process
|
|
697
|
+
# @param id Identifier of a hiring process
|
|
698
|
+
# @param [Hash] opts the optional parameters
|
|
699
|
+
# @return [Array<(HiringProcess, Integer, Hash)>] HiringProcess data, response status code and response headers
|
|
700
|
+
def configuration_hiring_process_get_with_http_info(id, opts = {})
|
|
701
|
+
if @api_client.config.debugging
|
|
702
|
+
@api_client.config.logger.debug 'Calling API: ConfigurationApi.configuration_hiring_process_get ...'
|
|
703
|
+
end
|
|
704
|
+
# verify the required parameter 'id' is set
|
|
705
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
706
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ConfigurationApi.configuration_hiring_process_get"
|
|
707
|
+
end
|
|
708
|
+
# resource path
|
|
709
|
+
local_var_path = '/configuration/hiring-processes/{id}'.sub('{' + 'id' + '}', id.to_s)
|
|
710
|
+
|
|
711
|
+
# query parameters
|
|
712
|
+
query_params = opts[:query_params] || {}
|
|
713
|
+
|
|
714
|
+
# header parameters
|
|
715
|
+
header_params = opts[:header_params] || {}
|
|
716
|
+
# HTTP header 'Accept' (if needed)
|
|
717
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
718
|
+
|
|
719
|
+
# form parameters
|
|
720
|
+
form_params = opts[:form_params] || {}
|
|
721
|
+
|
|
722
|
+
# http body (model)
|
|
723
|
+
post_body = opts[:body]
|
|
724
|
+
|
|
725
|
+
return_type = opts[:return_type] || 'HiringProcess'
|
|
726
|
+
|
|
727
|
+
auth_names = opts[:auth_names] || ['key', 'oauth']
|
|
728
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
729
|
+
:header_params => header_params,
|
|
730
|
+
:query_params => query_params,
|
|
731
|
+
:form_params => form_params,
|
|
732
|
+
:body => post_body,
|
|
733
|
+
:auth_names => auth_names,
|
|
734
|
+
:return_type => return_type)
|
|
735
|
+
|
|
736
|
+
if @api_client.config.debugging
|
|
737
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#configuration_hiring_process_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
738
|
+
end
|
|
739
|
+
return data, status_code, headers
|
|
740
|
+
end
|
|
741
|
+
# Activate a job property
|
|
742
|
+
# Activates a job property with given id.
|
|
743
|
+
# @param id job property identifier
|
|
744
|
+
# @param [Hash] opts the optional parameters
|
|
745
|
+
# @return [nil]
|
|
746
|
+
def configuration_job_properties_activate(id, opts = {})
|
|
747
|
+
configuration_job_properties_activate_with_http_info(id, opts)
|
|
748
|
+
nil
|
|
749
|
+
end
|
|
750
|
+
|
|
751
|
+
# Activate a job property
|
|
752
|
+
# Activates a job property with given id.
|
|
753
|
+
# @param id job property identifier
|
|
754
|
+
# @param [Hash] opts the optional parameters
|
|
755
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
756
|
+
def configuration_job_properties_activate_with_http_info(id, opts = {})
|
|
757
|
+
if @api_client.config.debugging
|
|
758
|
+
@api_client.config.logger.debug 'Calling API: ConfigurationApi.configuration_job_properties_activate ...'
|
|
759
|
+
end
|
|
760
|
+
# verify the required parameter 'id' is set
|
|
761
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
762
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ConfigurationApi.configuration_job_properties_activate"
|
|
763
|
+
end
|
|
764
|
+
# resource path
|
|
765
|
+
local_var_path = '/configuration/job-properties/{id}/activation'.sub('{' + 'id' + '}', id.to_s)
|
|
766
|
+
|
|
767
|
+
# query parameters
|
|
768
|
+
query_params = opts[:query_params] || {}
|
|
769
|
+
|
|
770
|
+
# header parameters
|
|
771
|
+
header_params = opts[:header_params] || {}
|
|
772
|
+
# HTTP header 'Accept' (if needed)
|
|
773
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
774
|
+
|
|
775
|
+
# form parameters
|
|
776
|
+
form_params = opts[:form_params] || {}
|
|
777
|
+
|
|
778
|
+
# http body (model)
|
|
779
|
+
post_body = opts[:body]
|
|
780
|
+
|
|
781
|
+
return_type = opts[:return_type]
|
|
782
|
+
|
|
783
|
+
auth_names = opts[:auth_names] || ['key', 'oauth']
|
|
784
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
785
|
+
:header_params => header_params,
|
|
786
|
+
:query_params => query_params,
|
|
787
|
+
:form_params => form_params,
|
|
788
|
+
:body => post_body,
|
|
789
|
+
:auth_names => auth_names,
|
|
790
|
+
:return_type => return_type)
|
|
791
|
+
|
|
792
|
+
if @api_client.config.debugging
|
|
793
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#configuration_job_properties_activate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
794
|
+
end
|
|
795
|
+
return data, status_code, headers
|
|
796
|
+
end
|
|
797
|
+
# Get a list of available job properties
|
|
798
|
+
# Get a list of available job properties.
|
|
799
|
+
# @param [Hash] opts the optional parameters
|
|
800
|
+
# @option opts [LanguageCode] :accept_language language of returned content
|
|
801
|
+
# @return [JobPropertyDefinitionList]
|
|
802
|
+
def configuration_job_properties_all(opts = {})
|
|
803
|
+
data, _status_code, _headers = configuration_job_properties_all_with_http_info(opts)
|
|
804
|
+
data
|
|
805
|
+
end
|
|
806
|
+
|
|
807
|
+
# Get a list of available job properties
|
|
808
|
+
# Get a list of available job properties.
|
|
809
|
+
# @param [Hash] opts the optional parameters
|
|
810
|
+
# @option opts [LanguageCode] :accept_language language of returned content
|
|
811
|
+
# @return [Array<(JobPropertyDefinitionList, Integer, Hash)>] JobPropertyDefinitionList data, response status code and response headers
|
|
812
|
+
def configuration_job_properties_all_with_http_info(opts = {})
|
|
813
|
+
if @api_client.config.debugging
|
|
814
|
+
@api_client.config.logger.debug 'Calling API: ConfigurationApi.configuration_job_properties_all ...'
|
|
815
|
+
end
|
|
816
|
+
# resource path
|
|
817
|
+
local_var_path = '/configuration/job-properties'
|
|
818
|
+
|
|
819
|
+
# query parameters
|
|
820
|
+
query_params = opts[:query_params] || {}
|
|
821
|
+
|
|
822
|
+
# header parameters
|
|
823
|
+
header_params = opts[:header_params] || {}
|
|
824
|
+
# HTTP header 'Accept' (if needed)
|
|
825
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
826
|
+
header_params[:'Accept-Language'] = opts[:'accept_language'] if !opts[:'accept_language'].nil?
|
|
827
|
+
|
|
828
|
+
# form parameters
|
|
829
|
+
form_params = opts[:form_params] || {}
|
|
830
|
+
|
|
831
|
+
# http body (model)
|
|
832
|
+
post_body = opts[:body]
|
|
833
|
+
|
|
834
|
+
return_type = opts[:return_type] || 'JobPropertyDefinitionList'
|
|
835
|
+
|
|
836
|
+
auth_names = opts[:auth_names] || ['key', 'oauth']
|
|
837
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
838
|
+
:header_params => header_params,
|
|
839
|
+
:query_params => query_params,
|
|
840
|
+
:form_params => form_params,
|
|
841
|
+
:body => post_body,
|
|
842
|
+
:auth_names => auth_names,
|
|
843
|
+
:return_type => return_type)
|
|
844
|
+
|
|
845
|
+
if @api_client.config.debugging
|
|
846
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#configuration_job_properties_all\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
847
|
+
end
|
|
848
|
+
return data, status_code, headers
|
|
849
|
+
end
|
|
850
|
+
# Create a job property
|
|
851
|
+
# Creates a job property
|
|
852
|
+
# @param [Hash] opts the optional parameters
|
|
853
|
+
# @option opts [JobPropertyDefinitionCreationRequest] :body job property to be created
|
|
854
|
+
# @return [JobPropertyDefinition]
|
|
855
|
+
def configuration_job_properties_create(opts = {})
|
|
856
|
+
data, _status_code, _headers = configuration_job_properties_create_with_http_info(opts)
|
|
857
|
+
data
|
|
858
|
+
end
|
|
859
|
+
|
|
860
|
+
# Create a job property
|
|
861
|
+
# Creates a job property
|
|
862
|
+
# @param [Hash] opts the optional parameters
|
|
863
|
+
# @option opts [JobPropertyDefinitionCreationRequest] :body job property to be created
|
|
864
|
+
# @return [Array<(JobPropertyDefinition, Integer, Hash)>] JobPropertyDefinition data, response status code and response headers
|
|
865
|
+
def configuration_job_properties_create_with_http_info(opts = {})
|
|
866
|
+
if @api_client.config.debugging
|
|
867
|
+
@api_client.config.logger.debug 'Calling API: ConfigurationApi.configuration_job_properties_create ...'
|
|
868
|
+
end
|
|
869
|
+
# resource path
|
|
870
|
+
local_var_path = '/configuration/job-properties'
|
|
871
|
+
|
|
872
|
+
# query parameters
|
|
873
|
+
query_params = opts[:query_params] || {}
|
|
874
|
+
|
|
875
|
+
# header parameters
|
|
876
|
+
header_params = opts[:header_params] || {}
|
|
877
|
+
# HTTP header 'Accept' (if needed)
|
|
878
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
879
|
+
# HTTP header 'Content-Type'
|
|
880
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
881
|
+
|
|
882
|
+
# form parameters
|
|
883
|
+
form_params = opts[:form_params] || {}
|
|
884
|
+
|
|
885
|
+
# http body (model)
|
|
886
|
+
post_body = opts[:body] || @api_client.object_to_http_body(opts[:'body'])
|
|
887
|
+
|
|
888
|
+
return_type = opts[:return_type] || 'JobPropertyDefinition'
|
|
889
|
+
|
|
890
|
+
auth_names = opts[:auth_names] || ['key', 'oauth']
|
|
891
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
892
|
+
:header_params => header_params,
|
|
893
|
+
:query_params => query_params,
|
|
894
|
+
:form_params => form_params,
|
|
895
|
+
:body => post_body,
|
|
896
|
+
:auth_names => auth_names,
|
|
897
|
+
:return_type => return_type)
|
|
898
|
+
|
|
899
|
+
if @api_client.config.debugging
|
|
900
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#configuration_job_properties_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
901
|
+
end
|
|
902
|
+
return data, status_code, headers
|
|
903
|
+
end
|
|
904
|
+
# Deactivate a job property
|
|
905
|
+
# Deactivates a job property.
|
|
906
|
+
# @param id job property identifier
|
|
907
|
+
# @param [Hash] opts the optional parameters
|
|
908
|
+
# @return [nil]
|
|
909
|
+
def configuration_job_properties_deactivate(id, opts = {})
|
|
910
|
+
configuration_job_properties_deactivate_with_http_info(id, opts)
|
|
911
|
+
nil
|
|
912
|
+
end
|
|
913
|
+
|
|
914
|
+
# Deactivate a job property
|
|
915
|
+
# Deactivates a job property.
|
|
916
|
+
# @param id job property identifier
|
|
917
|
+
# @param [Hash] opts the optional parameters
|
|
918
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
919
|
+
def configuration_job_properties_deactivate_with_http_info(id, opts = {})
|
|
920
|
+
if @api_client.config.debugging
|
|
921
|
+
@api_client.config.logger.debug 'Calling API: ConfigurationApi.configuration_job_properties_deactivate ...'
|
|
922
|
+
end
|
|
923
|
+
# verify the required parameter 'id' is set
|
|
924
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
925
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ConfigurationApi.configuration_job_properties_deactivate"
|
|
926
|
+
end
|
|
927
|
+
# resource path
|
|
928
|
+
local_var_path = '/configuration/job-properties/{id}/activation'.sub('{' + 'id' + '}', id.to_s)
|
|
929
|
+
|
|
930
|
+
# query parameters
|
|
931
|
+
query_params = opts[:query_params] || {}
|
|
932
|
+
|
|
933
|
+
# header parameters
|
|
934
|
+
header_params = opts[:header_params] || {}
|
|
935
|
+
# HTTP header 'Accept' (if needed)
|
|
936
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
937
|
+
|
|
938
|
+
# form parameters
|
|
939
|
+
form_params = opts[:form_params] || {}
|
|
940
|
+
|
|
941
|
+
# http body (model)
|
|
942
|
+
post_body = opts[:body]
|
|
943
|
+
|
|
944
|
+
return_type = opts[:return_type]
|
|
945
|
+
|
|
946
|
+
auth_names = opts[:auth_names] || ['key', 'oauth']
|
|
947
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
948
|
+
:header_params => header_params,
|
|
949
|
+
:query_params => query_params,
|
|
950
|
+
:form_params => form_params,
|
|
951
|
+
:body => post_body,
|
|
952
|
+
:auth_names => auth_names,
|
|
953
|
+
:return_type => return_type)
|
|
954
|
+
|
|
955
|
+
if @api_client.config.debugging
|
|
956
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#configuration_job_properties_deactivate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
957
|
+
end
|
|
958
|
+
return data, status_code, headers
|
|
959
|
+
end
|
|
960
|
+
# Get job property's dependents
|
|
961
|
+
# Get list of job property's dependents
|
|
962
|
+
# @param id job property identifier
|
|
963
|
+
# @param [Hash] opts the optional parameters
|
|
964
|
+
# @option opts [LanguageCode] :accept_language language of returned content
|
|
965
|
+
# @return [DependentJobProperties]
|
|
966
|
+
def configuration_job_properties_dependents_all(id, opts = {})
|
|
967
|
+
data, _status_code, _headers = configuration_job_properties_dependents_all_with_http_info(id, opts)
|
|
968
|
+
data
|
|
969
|
+
end
|
|
970
|
+
|
|
971
|
+
# Get job property's dependents
|
|
972
|
+
# Get list of job property's dependents
|
|
973
|
+
# @param id job property identifier
|
|
974
|
+
# @param [Hash] opts the optional parameters
|
|
975
|
+
# @option opts [LanguageCode] :accept_language language of returned content
|
|
976
|
+
# @return [Array<(DependentJobProperties, Integer, Hash)>] DependentJobProperties data, response status code and response headers
|
|
977
|
+
def configuration_job_properties_dependents_all_with_http_info(id, opts = {})
|
|
978
|
+
if @api_client.config.debugging
|
|
979
|
+
@api_client.config.logger.debug 'Calling API: ConfigurationApi.configuration_job_properties_dependents_all ...'
|
|
980
|
+
end
|
|
981
|
+
# verify the required parameter 'id' is set
|
|
982
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
983
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ConfigurationApi.configuration_job_properties_dependents_all"
|
|
984
|
+
end
|
|
985
|
+
# resource path
|
|
986
|
+
local_var_path = '/configuration/job-properties/{id}/dependents'.sub('{' + 'id' + '}', id.to_s)
|
|
987
|
+
|
|
988
|
+
# query parameters
|
|
989
|
+
query_params = opts[:query_params] || {}
|
|
990
|
+
|
|
991
|
+
# header parameters
|
|
992
|
+
header_params = opts[:header_params] || {}
|
|
993
|
+
# HTTP header 'Accept' (if needed)
|
|
994
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
995
|
+
header_params[:'Accept-Language'] = opts[:'accept_language'] if !opts[:'accept_language'].nil?
|
|
996
|
+
|
|
997
|
+
# form parameters
|
|
998
|
+
form_params = opts[:form_params] || {}
|
|
999
|
+
|
|
1000
|
+
# http body (model)
|
|
1001
|
+
post_body = opts[:body]
|
|
1002
|
+
|
|
1003
|
+
return_type = opts[:return_type] || 'DependentJobProperties'
|
|
1004
|
+
|
|
1005
|
+
auth_names = opts[:auth_names] || ['key', 'oauth']
|
|
1006
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1007
|
+
:header_params => header_params,
|
|
1008
|
+
:query_params => query_params,
|
|
1009
|
+
:form_params => form_params,
|
|
1010
|
+
:body => post_body,
|
|
1011
|
+
:auth_names => auth_names,
|
|
1012
|
+
:return_type => return_type)
|
|
1013
|
+
|
|
1014
|
+
if @api_client.config.debugging
|
|
1015
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#configuration_job_properties_dependents_all\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1016
|
+
end
|
|
1017
|
+
return data, status_code, headers
|
|
1018
|
+
end
|
|
1019
|
+
# Create job property dependents
|
|
1020
|
+
# Create dependencies between job properties
|
|
1021
|
+
# @param body Job properties' id
|
|
1022
|
+
# @param id job property identifier
|
|
1023
|
+
# @param [Hash] opts the optional parameters
|
|
1024
|
+
# @return [DependentJobProperties]
|
|
1025
|
+
def configuration_job_properties_dependents_create(body, id, opts = {})
|
|
1026
|
+
data, _status_code, _headers = configuration_job_properties_dependents_create_with_http_info(body, id, opts)
|
|
1027
|
+
data
|
|
1028
|
+
end
|
|
1029
|
+
|
|
1030
|
+
# Create job property dependents
|
|
1031
|
+
# Create dependencies between job properties
|
|
1032
|
+
# @param body Job properties' id
|
|
1033
|
+
# @param id job property identifier
|
|
1034
|
+
# @param [Hash] opts the optional parameters
|
|
1035
|
+
# @return [Array<(DependentJobProperties, Integer, Hash)>] DependentJobProperties data, response status code and response headers
|
|
1036
|
+
def configuration_job_properties_dependents_create_with_http_info(body, id, opts = {})
|
|
1037
|
+
if @api_client.config.debugging
|
|
1038
|
+
@api_client.config.logger.debug 'Calling API: ConfigurationApi.configuration_job_properties_dependents_create ...'
|
|
1039
|
+
end
|
|
1040
|
+
# verify the required parameter 'body' is set
|
|
1041
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
1042
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConfigurationApi.configuration_job_properties_dependents_create"
|
|
1043
|
+
end
|
|
1044
|
+
# verify the required parameter 'id' is set
|
|
1045
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1046
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ConfigurationApi.configuration_job_properties_dependents_create"
|
|
1047
|
+
end
|
|
1048
|
+
# resource path
|
|
1049
|
+
local_var_path = '/configuration/job-properties/{id}/dependents'.sub('{' + 'id' + '}', id.to_s)
|
|
1050
|
+
|
|
1051
|
+
# query parameters
|
|
1052
|
+
query_params = opts[:query_params] || {}
|
|
1053
|
+
|
|
1054
|
+
# header parameters
|
|
1055
|
+
header_params = opts[:header_params] || {}
|
|
1056
|
+
# HTTP header 'Accept' (if needed)
|
|
1057
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1058
|
+
# HTTP header 'Content-Type'
|
|
1059
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
1060
|
+
|
|
1061
|
+
# form parameters
|
|
1062
|
+
form_params = opts[:form_params] || {}
|
|
1063
|
+
|
|
1064
|
+
# http body (model)
|
|
1065
|
+
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
|
1066
|
+
|
|
1067
|
+
return_type = opts[:return_type] || 'DependentJobProperties'
|
|
1068
|
+
|
|
1069
|
+
auth_names = opts[:auth_names] || ['key', 'oauth']
|
|
1070
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
1071
|
+
:header_params => header_params,
|
|
1072
|
+
:query_params => query_params,
|
|
1073
|
+
:form_params => form_params,
|
|
1074
|
+
:body => post_body,
|
|
1075
|
+
:auth_names => auth_names,
|
|
1076
|
+
:return_type => return_type)
|
|
1077
|
+
|
|
1078
|
+
if @api_client.config.debugging
|
|
1079
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#configuration_job_properties_dependents_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1080
|
+
end
|
|
1081
|
+
return data, status_code, headers
|
|
1082
|
+
end
|
|
1083
|
+
# Remove job property's dependent
|
|
1084
|
+
# Remove dependency between job properties
|
|
1085
|
+
# @param id job property identifier
|
|
1086
|
+
# @param dependent_id job property's dependent identifier
|
|
1087
|
+
# @param [Hash] opts the optional parameters
|
|
1088
|
+
# @return [nil]
|
|
1089
|
+
def configuration_job_properties_dependents_remove(id, dependent_id, opts = {})
|
|
1090
|
+
configuration_job_properties_dependents_remove_with_http_info(id, dependent_id, opts)
|
|
1091
|
+
nil
|
|
1092
|
+
end
|
|
1093
|
+
|
|
1094
|
+
# Remove job property's dependent
|
|
1095
|
+
# Remove dependency between job properties
|
|
1096
|
+
# @param id job property identifier
|
|
1097
|
+
# @param dependent_id job property's dependent identifier
|
|
1098
|
+
# @param [Hash] opts the optional parameters
|
|
1099
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
1100
|
+
def configuration_job_properties_dependents_remove_with_http_info(id, dependent_id, opts = {})
|
|
1101
|
+
if @api_client.config.debugging
|
|
1102
|
+
@api_client.config.logger.debug 'Calling API: ConfigurationApi.configuration_job_properties_dependents_remove ...'
|
|
1103
|
+
end
|
|
1104
|
+
# verify the required parameter 'id' is set
|
|
1105
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1106
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ConfigurationApi.configuration_job_properties_dependents_remove"
|
|
1107
|
+
end
|
|
1108
|
+
# verify the required parameter 'dependent_id' is set
|
|
1109
|
+
if @api_client.config.client_side_validation && dependent_id.nil?
|
|
1110
|
+
fail ArgumentError, "Missing the required parameter 'dependent_id' when calling ConfigurationApi.configuration_job_properties_dependents_remove"
|
|
1111
|
+
end
|
|
1112
|
+
# resource path
|
|
1113
|
+
local_var_path = '/configuration/job-properties/{id}/dependents/{dependentId}'.sub('{' + 'id' + '}', id.to_s).sub('{' + 'dependentId' + '}', dependent_id.to_s)
|
|
1114
|
+
|
|
1115
|
+
# query parameters
|
|
1116
|
+
query_params = opts[:query_params] || {}
|
|
1117
|
+
|
|
1118
|
+
# header parameters
|
|
1119
|
+
header_params = opts[:header_params] || {}
|
|
1120
|
+
# HTTP header 'Accept' (if needed)
|
|
1121
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1122
|
+
|
|
1123
|
+
# form parameters
|
|
1124
|
+
form_params = opts[:form_params] || {}
|
|
1125
|
+
|
|
1126
|
+
# http body (model)
|
|
1127
|
+
post_body = opts[:body]
|
|
1128
|
+
|
|
1129
|
+
return_type = opts[:return_type]
|
|
1130
|
+
|
|
1131
|
+
auth_names = opts[:auth_names] || ['key', 'oauth']
|
|
1132
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
1133
|
+
:header_params => header_params,
|
|
1134
|
+
:query_params => query_params,
|
|
1135
|
+
:form_params => form_params,
|
|
1136
|
+
:body => post_body,
|
|
1137
|
+
:auth_names => auth_names,
|
|
1138
|
+
:return_type => return_type)
|
|
1139
|
+
|
|
1140
|
+
if @api_client.config.debugging
|
|
1141
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#configuration_job_properties_dependents_remove\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1142
|
+
end
|
|
1143
|
+
return data, status_code, headers
|
|
1144
|
+
end
|
|
1145
|
+
# Add job property's dependent value
|
|
1146
|
+
# Add job property's dependent value for specific job property's value
|
|
1147
|
+
# @param body Identifier of job property's dependent value
|
|
1148
|
+
# @param id job property identifier
|
|
1149
|
+
# @param value_id job property's value identifier
|
|
1150
|
+
# @param dependent_id job property's dependent identifier
|
|
1151
|
+
# @param [Hash] opts the optional parameters
|
|
1152
|
+
# @return [nil]
|
|
1153
|
+
def configuration_job_properties_dependents_values_add(body, id, value_id, dependent_id, opts = {})
|
|
1154
|
+
configuration_job_properties_dependents_values_add_with_http_info(body, id, value_id, dependent_id, opts)
|
|
1155
|
+
nil
|
|
1156
|
+
end
|
|
1157
|
+
|
|
1158
|
+
# Add job property's dependent value
|
|
1159
|
+
# Add job property's dependent value for specific job property's value
|
|
1160
|
+
# @param body Identifier of job property's dependent value
|
|
1161
|
+
# @param id job property identifier
|
|
1162
|
+
# @param value_id job property's value identifier
|
|
1163
|
+
# @param dependent_id job property's dependent identifier
|
|
1164
|
+
# @param [Hash] opts the optional parameters
|
|
1165
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
1166
|
+
def configuration_job_properties_dependents_values_add_with_http_info(body, id, value_id, dependent_id, opts = {})
|
|
1167
|
+
if @api_client.config.debugging
|
|
1168
|
+
@api_client.config.logger.debug 'Calling API: ConfigurationApi.configuration_job_properties_dependents_values_add ...'
|
|
1169
|
+
end
|
|
1170
|
+
# verify the required parameter 'body' is set
|
|
1171
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
1172
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConfigurationApi.configuration_job_properties_dependents_values_add"
|
|
1173
|
+
end
|
|
1174
|
+
# verify the required parameter 'id' is set
|
|
1175
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1176
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ConfigurationApi.configuration_job_properties_dependents_values_add"
|
|
1177
|
+
end
|
|
1178
|
+
# verify the required parameter 'value_id' is set
|
|
1179
|
+
if @api_client.config.client_side_validation && value_id.nil?
|
|
1180
|
+
fail ArgumentError, "Missing the required parameter 'value_id' when calling ConfigurationApi.configuration_job_properties_dependents_values_add"
|
|
1181
|
+
end
|
|
1182
|
+
# verify the required parameter 'dependent_id' is set
|
|
1183
|
+
if @api_client.config.client_side_validation && dependent_id.nil?
|
|
1184
|
+
fail ArgumentError, "Missing the required parameter 'dependent_id' when calling ConfigurationApi.configuration_job_properties_dependents_values_add"
|
|
1185
|
+
end
|
|
1186
|
+
# resource path
|
|
1187
|
+
local_var_path = '/configuration/job-properties/{id}/values/{valueId}/dependents/{dependentId}/values'.sub('{' + 'id' + '}', id.to_s).sub('{' + 'valueId' + '}', value_id.to_s).sub('{' + 'dependentId' + '}', dependent_id.to_s)
|
|
1188
|
+
|
|
1189
|
+
# query parameters
|
|
1190
|
+
query_params = opts[:query_params] || {}
|
|
1191
|
+
|
|
1192
|
+
# header parameters
|
|
1193
|
+
header_params = opts[:header_params] || {}
|
|
1194
|
+
# HTTP header 'Accept' (if needed)
|
|
1195
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1196
|
+
# HTTP header 'Content-Type'
|
|
1197
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
1198
|
+
|
|
1199
|
+
# form parameters
|
|
1200
|
+
form_params = opts[:form_params] || {}
|
|
1201
|
+
|
|
1202
|
+
# http body (model)
|
|
1203
|
+
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
|
1204
|
+
|
|
1205
|
+
return_type = opts[:return_type]
|
|
1206
|
+
|
|
1207
|
+
auth_names = opts[:auth_names] || ['key', 'oauth']
|
|
1208
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
1209
|
+
:header_params => header_params,
|
|
1210
|
+
:query_params => query_params,
|
|
1211
|
+
:form_params => form_params,
|
|
1212
|
+
:body => post_body,
|
|
1213
|
+
:auth_names => auth_names,
|
|
1214
|
+
:return_type => return_type)
|
|
1215
|
+
|
|
1216
|
+
if @api_client.config.debugging
|
|
1217
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#configuration_job_properties_dependents_values_add\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1218
|
+
end
|
|
1219
|
+
return data, status_code, headers
|
|
1220
|
+
end
|
|
1221
|
+
# Get dependent job property's values
|
|
1222
|
+
# Get dependent job property's values with corelation to the parent field.
|
|
1223
|
+
# @param id job property identifier
|
|
1224
|
+
# @param dependent_id job property's dependent identifier
|
|
1225
|
+
# @param [Hash] opts the optional parameters
|
|
1226
|
+
# @option opts [LanguageCode] :accept_language language of returned content
|
|
1227
|
+
# @return [DependentJobPropertyValuesRelations]
|
|
1228
|
+
def configuration_job_properties_dependents_values_all(id, dependent_id, opts = {})
|
|
1229
|
+
data, _status_code, _headers = configuration_job_properties_dependents_values_all_with_http_info(id, dependent_id, opts)
|
|
1230
|
+
data
|
|
1231
|
+
end
|
|
1232
|
+
|
|
1233
|
+
# Get dependent job property's values
|
|
1234
|
+
# Get dependent job property's values with corelation to the parent field.
|
|
1235
|
+
# @param id job property identifier
|
|
1236
|
+
# @param dependent_id job property's dependent identifier
|
|
1237
|
+
# @param [Hash] opts the optional parameters
|
|
1238
|
+
# @option opts [LanguageCode] :accept_language language of returned content
|
|
1239
|
+
# @return [Array<(DependentJobPropertyValuesRelations, Integer, Hash)>] DependentJobPropertyValuesRelations data, response status code and response headers
|
|
1240
|
+
def configuration_job_properties_dependents_values_all_with_http_info(id, dependent_id, opts = {})
|
|
1241
|
+
if @api_client.config.debugging
|
|
1242
|
+
@api_client.config.logger.debug 'Calling API: ConfigurationApi.configuration_job_properties_dependents_values_all ...'
|
|
1243
|
+
end
|
|
1244
|
+
# verify the required parameter 'id' is set
|
|
1245
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1246
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ConfigurationApi.configuration_job_properties_dependents_values_all"
|
|
1247
|
+
end
|
|
1248
|
+
# verify the required parameter 'dependent_id' is set
|
|
1249
|
+
if @api_client.config.client_side_validation && dependent_id.nil?
|
|
1250
|
+
fail ArgumentError, "Missing the required parameter 'dependent_id' when calling ConfigurationApi.configuration_job_properties_dependents_values_all"
|
|
1251
|
+
end
|
|
1252
|
+
# resource path
|
|
1253
|
+
local_var_path = '/configuration/job-properties/{id}/dependents/{dependentId}/values'.sub('{' + 'id' + '}', id.to_s).sub('{' + 'dependentId' + '}', dependent_id.to_s)
|
|
1254
|
+
|
|
1255
|
+
# query parameters
|
|
1256
|
+
query_params = opts[:query_params] || {}
|
|
1257
|
+
|
|
1258
|
+
# header parameters
|
|
1259
|
+
header_params = opts[:header_params] || {}
|
|
1260
|
+
# HTTP header 'Accept' (if needed)
|
|
1261
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1262
|
+
header_params[:'Accept-Language'] = opts[:'accept_language'] if !opts[:'accept_language'].nil?
|
|
1263
|
+
|
|
1264
|
+
# form parameters
|
|
1265
|
+
form_params = opts[:form_params] || {}
|
|
1266
|
+
|
|
1267
|
+
# http body (model)
|
|
1268
|
+
post_body = opts[:body]
|
|
1269
|
+
|
|
1270
|
+
return_type = opts[:return_type] || 'DependentJobPropertyValuesRelations'
|
|
1271
|
+
|
|
1272
|
+
auth_names = opts[:auth_names] || ['key', 'oauth']
|
|
1273
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1274
|
+
:header_params => header_params,
|
|
1275
|
+
:query_params => query_params,
|
|
1276
|
+
:form_params => form_params,
|
|
1277
|
+
:body => post_body,
|
|
1278
|
+
:auth_names => auth_names,
|
|
1279
|
+
:return_type => return_type)
|
|
1280
|
+
|
|
1281
|
+
if @api_client.config.debugging
|
|
1282
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#configuration_job_properties_dependents_values_all\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1283
|
+
end
|
|
1284
|
+
return data, status_code, headers
|
|
1285
|
+
end
|
|
1286
|
+
# Get job property's dependent values
|
|
1287
|
+
# Get list of job property's dependent values for specific job property's value
|
|
1288
|
+
# @param id job property identifier
|
|
1289
|
+
# @param value_id job property's value identifier
|
|
1290
|
+
# @param dependent_id job property's dependent identifier
|
|
1291
|
+
# @param [Hash] opts the optional parameters
|
|
1292
|
+
# @option opts [LanguageCode] :accept_language language of returned content
|
|
1293
|
+
# @return [DependentJobPropertyValues]
|
|
1294
|
+
def configuration_job_properties_dependents_values_get(id, value_id, dependent_id, opts = {})
|
|
1295
|
+
data, _status_code, _headers = configuration_job_properties_dependents_values_get_with_http_info(id, value_id, dependent_id, opts)
|
|
1296
|
+
data
|
|
1297
|
+
end
|
|
1298
|
+
|
|
1299
|
+
# Get job property's dependent values
|
|
1300
|
+
# Get list of job property's dependent values for specific job property's value
|
|
1301
|
+
# @param id job property identifier
|
|
1302
|
+
# @param value_id job property's value identifier
|
|
1303
|
+
# @param dependent_id job property's dependent identifier
|
|
1304
|
+
# @param [Hash] opts the optional parameters
|
|
1305
|
+
# @option opts [LanguageCode] :accept_language language of returned content
|
|
1306
|
+
# @return [Array<(DependentJobPropertyValues, Integer, Hash)>] DependentJobPropertyValues data, response status code and response headers
|
|
1307
|
+
def configuration_job_properties_dependents_values_get_with_http_info(id, value_id, dependent_id, opts = {})
|
|
1308
|
+
if @api_client.config.debugging
|
|
1309
|
+
@api_client.config.logger.debug 'Calling API: ConfigurationApi.configuration_job_properties_dependents_values_get ...'
|
|
1310
|
+
end
|
|
1311
|
+
# verify the required parameter 'id' is set
|
|
1312
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1313
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ConfigurationApi.configuration_job_properties_dependents_values_get"
|
|
1314
|
+
end
|
|
1315
|
+
# verify the required parameter 'value_id' is set
|
|
1316
|
+
if @api_client.config.client_side_validation && value_id.nil?
|
|
1317
|
+
fail ArgumentError, "Missing the required parameter 'value_id' when calling ConfigurationApi.configuration_job_properties_dependents_values_get"
|
|
1318
|
+
end
|
|
1319
|
+
# verify the required parameter 'dependent_id' is set
|
|
1320
|
+
if @api_client.config.client_side_validation && dependent_id.nil?
|
|
1321
|
+
fail ArgumentError, "Missing the required parameter 'dependent_id' when calling ConfigurationApi.configuration_job_properties_dependents_values_get"
|
|
1322
|
+
end
|
|
1323
|
+
# resource path
|
|
1324
|
+
local_var_path = '/configuration/job-properties/{id}/values/{valueId}/dependents/{dependentId}/values'.sub('{' + 'id' + '}', id.to_s).sub('{' + 'valueId' + '}', value_id.to_s).sub('{' + 'dependentId' + '}', dependent_id.to_s)
|
|
1325
|
+
|
|
1326
|
+
# query parameters
|
|
1327
|
+
query_params = opts[:query_params] || {}
|
|
1328
|
+
|
|
1329
|
+
# header parameters
|
|
1330
|
+
header_params = opts[:header_params] || {}
|
|
1331
|
+
# HTTP header 'Accept' (if needed)
|
|
1332
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1333
|
+
header_params[:'Accept-Language'] = opts[:'accept_language'] if !opts[:'accept_language'].nil?
|
|
1334
|
+
|
|
1335
|
+
# form parameters
|
|
1336
|
+
form_params = opts[:form_params] || {}
|
|
1337
|
+
|
|
1338
|
+
# http body (model)
|
|
1339
|
+
post_body = opts[:body]
|
|
1340
|
+
|
|
1341
|
+
return_type = opts[:return_type] || 'DependentJobPropertyValues'
|
|
1342
|
+
|
|
1343
|
+
auth_names = opts[:auth_names] || ['key', 'oauth']
|
|
1344
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1345
|
+
:header_params => header_params,
|
|
1346
|
+
:query_params => query_params,
|
|
1347
|
+
:form_params => form_params,
|
|
1348
|
+
:body => post_body,
|
|
1349
|
+
:auth_names => auth_names,
|
|
1350
|
+
:return_type => return_type)
|
|
1351
|
+
|
|
1352
|
+
if @api_client.config.debugging
|
|
1353
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#configuration_job_properties_dependents_values_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1354
|
+
end
|
|
1355
|
+
return data, status_code, headers
|
|
1356
|
+
end
|
|
1357
|
+
# Remove job property's dependent values relationship
|
|
1358
|
+
# Remove relationship between dependent job properties values
|
|
1359
|
+
# @param id job property identifier
|
|
1360
|
+
# @param value_id job property's value identifier
|
|
1361
|
+
# @param dependent_id job property's dependent identifier
|
|
1362
|
+
# @param dependent_value_id job property's dependent value identifier
|
|
1363
|
+
# @param [Hash] opts the optional parameters
|
|
1364
|
+
# @return [nil]
|
|
1365
|
+
def configuration_job_properties_dependents_values_remove(id, value_id, dependent_id, dependent_value_id, opts = {})
|
|
1366
|
+
configuration_job_properties_dependents_values_remove_with_http_info(id, value_id, dependent_id, dependent_value_id, opts)
|
|
1367
|
+
nil
|
|
1368
|
+
end
|
|
1369
|
+
|
|
1370
|
+
# Remove job property's dependent values relationship
|
|
1371
|
+
# Remove relationship between dependent job properties values
|
|
1372
|
+
# @param id job property identifier
|
|
1373
|
+
# @param value_id job property's value identifier
|
|
1374
|
+
# @param dependent_id job property's dependent identifier
|
|
1375
|
+
# @param dependent_value_id job property's dependent value identifier
|
|
1376
|
+
# @param [Hash] opts the optional parameters
|
|
1377
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
1378
|
+
def configuration_job_properties_dependents_values_remove_with_http_info(id, value_id, dependent_id, dependent_value_id, opts = {})
|
|
1379
|
+
if @api_client.config.debugging
|
|
1380
|
+
@api_client.config.logger.debug 'Calling API: ConfigurationApi.configuration_job_properties_dependents_values_remove ...'
|
|
1381
|
+
end
|
|
1382
|
+
# verify the required parameter 'id' is set
|
|
1383
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1384
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ConfigurationApi.configuration_job_properties_dependents_values_remove"
|
|
1385
|
+
end
|
|
1386
|
+
# verify the required parameter 'value_id' is set
|
|
1387
|
+
if @api_client.config.client_side_validation && value_id.nil?
|
|
1388
|
+
fail ArgumentError, "Missing the required parameter 'value_id' when calling ConfigurationApi.configuration_job_properties_dependents_values_remove"
|
|
1389
|
+
end
|
|
1390
|
+
# verify the required parameter 'dependent_id' is set
|
|
1391
|
+
if @api_client.config.client_side_validation && dependent_id.nil?
|
|
1392
|
+
fail ArgumentError, "Missing the required parameter 'dependent_id' when calling ConfigurationApi.configuration_job_properties_dependents_values_remove"
|
|
1393
|
+
end
|
|
1394
|
+
# verify the required parameter 'dependent_value_id' is set
|
|
1395
|
+
if @api_client.config.client_side_validation && dependent_value_id.nil?
|
|
1396
|
+
fail ArgumentError, "Missing the required parameter 'dependent_value_id' when calling ConfigurationApi.configuration_job_properties_dependents_values_remove"
|
|
1397
|
+
end
|
|
1398
|
+
# resource path
|
|
1399
|
+
local_var_path = '/configuration/job-properties/{id}/values/{valueId}/dependents/{dependentId}/values/{dependentValueId}'.sub('{' + 'id' + '}', id.to_s).sub('{' + 'valueId' + '}', value_id.to_s).sub('{' + 'dependentId' + '}', dependent_id.to_s).sub('{' + 'dependentValueId' + '}', dependent_value_id.to_s)
|
|
1400
|
+
|
|
1401
|
+
# query parameters
|
|
1402
|
+
query_params = opts[:query_params] || {}
|
|
1403
|
+
|
|
1404
|
+
# header parameters
|
|
1405
|
+
header_params = opts[:header_params] || {}
|
|
1406
|
+
# HTTP header 'Accept' (if needed)
|
|
1407
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1408
|
+
|
|
1409
|
+
# form parameters
|
|
1410
|
+
form_params = opts[:form_params] || {}
|
|
1411
|
+
|
|
1412
|
+
# http body (model)
|
|
1413
|
+
post_body = opts[:body]
|
|
1414
|
+
|
|
1415
|
+
return_type = opts[:return_type]
|
|
1416
|
+
|
|
1417
|
+
auth_names = opts[:auth_names] || ['key', 'oauth']
|
|
1418
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
1419
|
+
:header_params => header_params,
|
|
1420
|
+
:query_params => query_params,
|
|
1421
|
+
:form_params => form_params,
|
|
1422
|
+
:body => post_body,
|
|
1423
|
+
:auth_names => auth_names,
|
|
1424
|
+
:return_type => return_type)
|
|
1425
|
+
|
|
1426
|
+
if @api_client.config.debugging
|
|
1427
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#configuration_job_properties_dependents_values_remove\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1428
|
+
end
|
|
1429
|
+
return data, status_code, headers
|
|
1430
|
+
end
|
|
1431
|
+
# Get job property by id
|
|
1432
|
+
# Get job property by id
|
|
1433
|
+
# @param id job property identifier
|
|
1434
|
+
# @param [Hash] opts the optional parameters
|
|
1435
|
+
# @option opts [LanguageCode] :accept_language language of returned content
|
|
1436
|
+
# @return [JobPropertyDefinition]
|
|
1437
|
+
def configuration_job_properties_get(id, opts = {})
|
|
1438
|
+
data, _status_code, _headers = configuration_job_properties_get_with_http_info(id, opts)
|
|
1439
|
+
data
|
|
1440
|
+
end
|
|
1441
|
+
|
|
1442
|
+
# Get job property by id
|
|
1443
|
+
# Get job property by id
|
|
1444
|
+
# @param id job property identifier
|
|
1445
|
+
# @param [Hash] opts the optional parameters
|
|
1446
|
+
# @option opts [LanguageCode] :accept_language language of returned content
|
|
1447
|
+
# @return [Array<(JobPropertyDefinition, Integer, Hash)>] JobPropertyDefinition data, response status code and response headers
|
|
1448
|
+
def configuration_job_properties_get_with_http_info(id, opts = {})
|
|
1449
|
+
if @api_client.config.debugging
|
|
1450
|
+
@api_client.config.logger.debug 'Calling API: ConfigurationApi.configuration_job_properties_get ...'
|
|
1451
|
+
end
|
|
1452
|
+
# verify the required parameter 'id' is set
|
|
1453
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1454
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ConfigurationApi.configuration_job_properties_get"
|
|
1455
|
+
end
|
|
1456
|
+
# resource path
|
|
1457
|
+
local_var_path = '/configuration/job-properties/{id}'.sub('{' + 'id' + '}', id.to_s)
|
|
1458
|
+
|
|
1459
|
+
# query parameters
|
|
1460
|
+
query_params = opts[:query_params] || {}
|
|
1461
|
+
|
|
1462
|
+
# header parameters
|
|
1463
|
+
header_params = opts[:header_params] || {}
|
|
1464
|
+
# HTTP header 'Accept' (if needed)
|
|
1465
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1466
|
+
header_params[:'Accept-Language'] = opts[:'accept_language'] if !opts[:'accept_language'].nil?
|
|
1467
|
+
|
|
1468
|
+
# form parameters
|
|
1469
|
+
form_params = opts[:form_params] || {}
|
|
1470
|
+
|
|
1471
|
+
# http body (model)
|
|
1472
|
+
post_body = opts[:body]
|
|
1473
|
+
|
|
1474
|
+
return_type = opts[:return_type] || 'JobPropertyDefinition'
|
|
1475
|
+
|
|
1476
|
+
auth_names = opts[:auth_names] || ['key', 'oauth']
|
|
1477
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1478
|
+
:header_params => header_params,
|
|
1479
|
+
:query_params => query_params,
|
|
1480
|
+
:form_params => form_params,
|
|
1481
|
+
:body => post_body,
|
|
1482
|
+
:auth_names => auth_names,
|
|
1483
|
+
:return_type => return_type)
|
|
1484
|
+
|
|
1485
|
+
if @api_client.config.debugging
|
|
1486
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#configuration_job_properties_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1487
|
+
end
|
|
1488
|
+
return data, status_code, headers
|
|
1489
|
+
end
|
|
1490
|
+
# Add a job property's translations
|
|
1491
|
+
# Submit a job property's translations to different languages
|
|
1492
|
+
# @param body
|
|
1493
|
+
# @param id job property identifier
|
|
1494
|
+
# @param [Hash] opts the optional parameters
|
|
1495
|
+
# @return [nil]
|
|
1496
|
+
def configuration_job_properties_translations_patch(body, id, opts = {})
|
|
1497
|
+
configuration_job_properties_translations_patch_with_http_info(body, id, opts)
|
|
1498
|
+
nil
|
|
1499
|
+
end
|
|
1500
|
+
|
|
1501
|
+
# Add a job property's translations
|
|
1502
|
+
# Submit a job property's translations to different languages
|
|
1503
|
+
# @param body
|
|
1504
|
+
# @param id job property identifier
|
|
1505
|
+
# @param [Hash] opts the optional parameters
|
|
1506
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
1507
|
+
def configuration_job_properties_translations_patch_with_http_info(body, id, opts = {})
|
|
1508
|
+
if @api_client.config.debugging
|
|
1509
|
+
@api_client.config.logger.debug 'Calling API: ConfigurationApi.configuration_job_properties_translations_patch ...'
|
|
1510
|
+
end
|
|
1511
|
+
# verify the required parameter 'body' is set
|
|
1512
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
1513
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConfigurationApi.configuration_job_properties_translations_patch"
|
|
1514
|
+
end
|
|
1515
|
+
# verify the required parameter 'id' is set
|
|
1516
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1517
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ConfigurationApi.configuration_job_properties_translations_patch"
|
|
1518
|
+
end
|
|
1519
|
+
# resource path
|
|
1520
|
+
local_var_path = '/configuration/job-properties/{id}/translations'.sub('{' + 'id' + '}', id.to_s)
|
|
1521
|
+
|
|
1522
|
+
# query parameters
|
|
1523
|
+
query_params = opts[:query_params] || {}
|
|
1524
|
+
|
|
1525
|
+
# header parameters
|
|
1526
|
+
header_params = opts[:header_params] || {}
|
|
1527
|
+
# HTTP header 'Accept' (if needed)
|
|
1528
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1529
|
+
# HTTP header 'Content-Type'
|
|
1530
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
1531
|
+
|
|
1532
|
+
# form parameters
|
|
1533
|
+
form_params = opts[:form_params] || {}
|
|
1534
|
+
|
|
1535
|
+
# http body (model)
|
|
1536
|
+
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
|
1537
|
+
|
|
1538
|
+
return_type = opts[:return_type]
|
|
1539
|
+
|
|
1540
|
+
auth_names = opts[:auth_names] || ['key', 'oauth']
|
|
1541
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
1542
|
+
:header_params => header_params,
|
|
1543
|
+
:query_params => query_params,
|
|
1544
|
+
:form_params => form_params,
|
|
1545
|
+
:body => post_body,
|
|
1546
|
+
:auth_names => auth_names,
|
|
1547
|
+
:return_type => return_type)
|
|
1548
|
+
|
|
1549
|
+
if @api_client.config.debugging
|
|
1550
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#configuration_job_properties_translations_patch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1551
|
+
end
|
|
1552
|
+
return data, status_code, headers
|
|
1553
|
+
end
|
|
1554
|
+
# Update a job property
|
|
1555
|
+
# Updates a job property.
|
|
1556
|
+
# @param id job property identifier
|
|
1557
|
+
# @param [Hash] opts the optional parameters
|
|
1558
|
+
# @option opts [Array<Object>] :body patch request
|
|
1559
|
+
# @return [JobPropertyDefinition]
|
|
1560
|
+
def configuration_job_properties_update(id, opts = {})
|
|
1561
|
+
data, _status_code, _headers = configuration_job_properties_update_with_http_info(id, opts)
|
|
1562
|
+
data
|
|
1563
|
+
end
|
|
1564
|
+
|
|
1565
|
+
# Update a job property
|
|
1566
|
+
# Updates a job property.
|
|
1567
|
+
# @param id job property identifier
|
|
1568
|
+
# @param [Hash] opts the optional parameters
|
|
1569
|
+
# @option opts [Array<Object>] :body patch request
|
|
1570
|
+
# @return [Array<(JobPropertyDefinition, Integer, Hash)>] JobPropertyDefinition data, response status code and response headers
|
|
1571
|
+
def configuration_job_properties_update_with_http_info(id, opts = {})
|
|
1572
|
+
if @api_client.config.debugging
|
|
1573
|
+
@api_client.config.logger.debug 'Calling API: ConfigurationApi.configuration_job_properties_update ...'
|
|
1574
|
+
end
|
|
1575
|
+
# verify the required parameter 'id' is set
|
|
1576
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1577
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ConfigurationApi.configuration_job_properties_update"
|
|
1578
|
+
end
|
|
1579
|
+
# resource path
|
|
1580
|
+
local_var_path = '/configuration/job-properties/{id}'.sub('{' + 'id' + '}', id.to_s)
|
|
1581
|
+
|
|
1582
|
+
# query parameters
|
|
1583
|
+
query_params = opts[:query_params] || {}
|
|
1584
|
+
|
|
1585
|
+
# header parameters
|
|
1586
|
+
header_params = opts[:header_params] || {}
|
|
1587
|
+
# HTTP header 'Accept' (if needed)
|
|
1588
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1589
|
+
# HTTP header 'Content-Type'
|
|
1590
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json'])
|
|
1591
|
+
|
|
1592
|
+
# form parameters
|
|
1593
|
+
form_params = opts[:form_params] || {}
|
|
1594
|
+
|
|
1595
|
+
# http body (model)
|
|
1596
|
+
post_body = opts[:body] || @api_client.object_to_http_body(opts[:'body'])
|
|
1597
|
+
|
|
1598
|
+
return_type = opts[:return_type] || 'JobPropertyDefinition'
|
|
1599
|
+
|
|
1600
|
+
auth_names = opts[:auth_names] || ['key', 'oauth']
|
|
1601
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
1602
|
+
:header_params => header_params,
|
|
1603
|
+
:query_params => query_params,
|
|
1604
|
+
:form_params => form_params,
|
|
1605
|
+
:body => post_body,
|
|
1606
|
+
:auth_names => auth_names,
|
|
1607
|
+
:return_type => return_type)
|
|
1608
|
+
|
|
1609
|
+
if @api_client.config.debugging
|
|
1610
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#configuration_job_properties_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1611
|
+
end
|
|
1612
|
+
return data, status_code, headers
|
|
1613
|
+
end
|
|
1614
|
+
# Archive a job property value
|
|
1615
|
+
# Archive a job property value
|
|
1616
|
+
# @param id job property identifier
|
|
1617
|
+
# @param value_id job property's value identifier
|
|
1618
|
+
# @param [Hash] opts the optional parameters
|
|
1619
|
+
# @return [nil]
|
|
1620
|
+
def configuration_job_properties_values_archive(id, value_id, opts = {})
|
|
1621
|
+
configuration_job_properties_values_archive_with_http_info(id, value_id, opts)
|
|
1622
|
+
nil
|
|
1623
|
+
end
|
|
1624
|
+
|
|
1625
|
+
# Archive a job property value
|
|
1626
|
+
# Archive a job property value
|
|
1627
|
+
# @param id job property identifier
|
|
1628
|
+
# @param value_id job property's value identifier
|
|
1629
|
+
# @param [Hash] opts the optional parameters
|
|
1630
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
1631
|
+
def configuration_job_properties_values_archive_with_http_info(id, value_id, opts = {})
|
|
1632
|
+
if @api_client.config.debugging
|
|
1633
|
+
@api_client.config.logger.debug 'Calling API: ConfigurationApi.configuration_job_properties_values_archive ...'
|
|
1634
|
+
end
|
|
1635
|
+
# verify the required parameter 'id' is set
|
|
1636
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1637
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ConfigurationApi.configuration_job_properties_values_archive"
|
|
1638
|
+
end
|
|
1639
|
+
# verify the required parameter 'value_id' is set
|
|
1640
|
+
if @api_client.config.client_side_validation && value_id.nil?
|
|
1641
|
+
fail ArgumentError, "Missing the required parameter 'value_id' when calling ConfigurationApi.configuration_job_properties_values_archive"
|
|
1642
|
+
end
|
|
1643
|
+
# resource path
|
|
1644
|
+
local_var_path = '/configuration/job-properties/{id}/archive-values/{valueId}'.sub('{' + 'id' + '}', id.to_s).sub('{' + 'valueId' + '}', value_id.to_s)
|
|
1645
|
+
|
|
1646
|
+
# query parameters
|
|
1647
|
+
query_params = opts[:query_params] || {}
|
|
1648
|
+
|
|
1649
|
+
# header parameters
|
|
1650
|
+
header_params = opts[:header_params] || {}
|
|
1651
|
+
# HTTP header 'Accept' (if needed)
|
|
1652
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1653
|
+
|
|
1654
|
+
# form parameters
|
|
1655
|
+
form_params = opts[:form_params] || {}
|
|
1656
|
+
|
|
1657
|
+
# http body (model)
|
|
1658
|
+
post_body = opts[:body]
|
|
1659
|
+
|
|
1660
|
+
return_type = opts[:return_type]
|
|
1661
|
+
|
|
1662
|
+
auth_names = opts[:auth_names] || ['key', 'oauth']
|
|
1663
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
1664
|
+
:header_params => header_params,
|
|
1665
|
+
:query_params => query_params,
|
|
1666
|
+
:form_params => form_params,
|
|
1667
|
+
:body => post_body,
|
|
1668
|
+
:auth_names => auth_names,
|
|
1669
|
+
:return_type => return_type)
|
|
1670
|
+
|
|
1671
|
+
if @api_client.config.debugging
|
|
1672
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#configuration_job_properties_values_archive\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1673
|
+
end
|
|
1674
|
+
return data, status_code, headers
|
|
1675
|
+
end
|
|
1676
|
+
# Create a job property value
|
|
1677
|
+
# Creates a job property value.
|
|
1678
|
+
# @param id job property identifier
|
|
1679
|
+
# @param [Hash] opts the optional parameters
|
|
1680
|
+
# @option opts [JobPropertyValueDefinition] :body job property object to be created
|
|
1681
|
+
# @return [JobPropertyValueDefinition]
|
|
1682
|
+
def configuration_job_properties_values_create(id, opts = {})
|
|
1683
|
+
data, _status_code, _headers = configuration_job_properties_values_create_with_http_info(id, opts)
|
|
1684
|
+
data
|
|
1685
|
+
end
|
|
1686
|
+
|
|
1687
|
+
# Create a job property value
|
|
1688
|
+
# Creates a job property value.
|
|
1689
|
+
# @param id job property identifier
|
|
1690
|
+
# @param [Hash] opts the optional parameters
|
|
1691
|
+
# @option opts [JobPropertyValueDefinition] :body job property object to be created
|
|
1692
|
+
# @return [Array<(JobPropertyValueDefinition, Integer, Hash)>] JobPropertyValueDefinition data, response status code and response headers
|
|
1693
|
+
def configuration_job_properties_values_create_with_http_info(id, opts = {})
|
|
1694
|
+
if @api_client.config.debugging
|
|
1695
|
+
@api_client.config.logger.debug 'Calling API: ConfigurationApi.configuration_job_properties_values_create ...'
|
|
1696
|
+
end
|
|
1697
|
+
# verify the required parameter 'id' is set
|
|
1698
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1699
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ConfigurationApi.configuration_job_properties_values_create"
|
|
1700
|
+
end
|
|
1701
|
+
# resource path
|
|
1702
|
+
local_var_path = '/configuration/job-properties/{id}/values'.sub('{' + 'id' + '}', id.to_s)
|
|
1703
|
+
|
|
1704
|
+
# query parameters
|
|
1705
|
+
query_params = opts[:query_params] || {}
|
|
1706
|
+
|
|
1707
|
+
# header parameters
|
|
1708
|
+
header_params = opts[:header_params] || {}
|
|
1709
|
+
# HTTP header 'Accept' (if needed)
|
|
1710
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1711
|
+
# HTTP header 'Content-Type'
|
|
1712
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
1713
|
+
|
|
1714
|
+
# form parameters
|
|
1715
|
+
form_params = opts[:form_params] || {}
|
|
1716
|
+
|
|
1717
|
+
# http body (model)
|
|
1718
|
+
post_body = opts[:body] || @api_client.object_to_http_body(opts[:'body'])
|
|
1719
|
+
|
|
1720
|
+
return_type = opts[:return_type] || 'JobPropertyValueDefinition'
|
|
1721
|
+
|
|
1722
|
+
auth_names = opts[:auth_names] || ['key', 'oauth']
|
|
1723
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
1724
|
+
:header_params => header_params,
|
|
1725
|
+
:query_params => query_params,
|
|
1726
|
+
:form_params => form_params,
|
|
1727
|
+
:body => post_body,
|
|
1728
|
+
:auth_names => auth_names,
|
|
1729
|
+
:return_type => return_type)
|
|
1730
|
+
|
|
1731
|
+
if @api_client.config.debugging
|
|
1732
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#configuration_job_properties_values_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1733
|
+
end
|
|
1734
|
+
return data, status_code, headers
|
|
1735
|
+
end
|
|
1736
|
+
# Archive a job property value
|
|
1737
|
+
# Archive a job property value. Please use `PUT /configuration/job-properties/{id}/archive-values/{valueId}` instead.
|
|
1738
|
+
# @param id job property identifier
|
|
1739
|
+
# @param value_id job property's value identifier
|
|
1740
|
+
# @param [Hash] opts the optional parameters
|
|
1741
|
+
# @return [nil]
|
|
1742
|
+
def configuration_job_properties_values_deprecated_archive(id, value_id, opts = {})
|
|
1743
|
+
configuration_job_properties_values_deprecated_archive_with_http_info(id, value_id, opts)
|
|
1744
|
+
nil
|
|
1745
|
+
end
|
|
1746
|
+
|
|
1747
|
+
# Archive a job property value
|
|
1748
|
+
# Archive a job property value. Please use `PUT /configuration/job-properties/{id}/archive-values/{valueId}` instead.
|
|
1749
|
+
# @param id job property identifier
|
|
1750
|
+
# @param value_id job property's value identifier
|
|
1751
|
+
# @param [Hash] opts the optional parameters
|
|
1752
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
1753
|
+
def configuration_job_properties_values_deprecated_archive_with_http_info(id, value_id, opts = {})
|
|
1754
|
+
if @api_client.config.debugging
|
|
1755
|
+
@api_client.config.logger.debug 'Calling API: ConfigurationApi.configuration_job_properties_values_deprecated_archive ...'
|
|
1756
|
+
end
|
|
1757
|
+
# verify the required parameter 'id' is set
|
|
1758
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1759
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ConfigurationApi.configuration_job_properties_values_deprecated_archive"
|
|
1760
|
+
end
|
|
1761
|
+
# verify the required parameter 'value_id' is set
|
|
1762
|
+
if @api_client.config.client_side_validation && value_id.nil?
|
|
1763
|
+
fail ArgumentError, "Missing the required parameter 'value_id' when calling ConfigurationApi.configuration_job_properties_values_deprecated_archive"
|
|
1764
|
+
end
|
|
1765
|
+
# resource path
|
|
1766
|
+
local_var_path = '/configuration/job-properties/{id}/values/{valueId}'.sub('{' + 'id' + '}', id.to_s).sub('{' + 'valueId' + '}', value_id.to_s)
|
|
1767
|
+
|
|
1768
|
+
# query parameters
|
|
1769
|
+
query_params = opts[:query_params] || {}
|
|
1770
|
+
|
|
1771
|
+
# header parameters
|
|
1772
|
+
header_params = opts[:header_params] || {}
|
|
1773
|
+
# HTTP header 'Accept' (if needed)
|
|
1774
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1775
|
+
|
|
1776
|
+
# form parameters
|
|
1777
|
+
form_params = opts[:form_params] || {}
|
|
1778
|
+
|
|
1779
|
+
# http body (model)
|
|
1780
|
+
post_body = opts[:body]
|
|
1781
|
+
|
|
1782
|
+
return_type = opts[:return_type]
|
|
1783
|
+
|
|
1784
|
+
auth_names = opts[:auth_names] || ['key', 'oauth']
|
|
1785
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
1786
|
+
:header_params => header_params,
|
|
1787
|
+
:query_params => query_params,
|
|
1788
|
+
:form_params => form_params,
|
|
1789
|
+
:body => post_body,
|
|
1790
|
+
:auth_names => auth_names,
|
|
1791
|
+
:return_type => return_type)
|
|
1792
|
+
|
|
1793
|
+
if @api_client.config.debugging
|
|
1794
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#configuration_job_properties_values_deprecated_archive\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1795
|
+
end
|
|
1796
|
+
return data, status_code, headers
|
|
1797
|
+
end
|
|
1798
|
+
# Unarchive a job property value
|
|
1799
|
+
# Unarchive a job property value. `DELETE /configuration/job-properties/{id}/archive-values/{valueId}` instead.
|
|
1800
|
+
# @param id job property identifier
|
|
1801
|
+
# @param value_id job property's value identifier
|
|
1802
|
+
# @param [Hash] opts the optional parameters
|
|
1803
|
+
# @return [nil]
|
|
1804
|
+
def configuration_job_properties_values_deprecated_unarchive(id, value_id, opts = {})
|
|
1805
|
+
configuration_job_properties_values_deprecated_unarchive_with_http_info(id, value_id, opts)
|
|
1806
|
+
nil
|
|
1807
|
+
end
|
|
1808
|
+
|
|
1809
|
+
# Unarchive a job property value
|
|
1810
|
+
# Unarchive a job property value. `DELETE /configuration/job-properties/{id}/archive-values/{valueId}` instead.
|
|
1811
|
+
# @param id job property identifier
|
|
1812
|
+
# @param value_id job property's value identifier
|
|
1813
|
+
# @param [Hash] opts the optional parameters
|
|
1814
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
1815
|
+
def configuration_job_properties_values_deprecated_unarchive_with_http_info(id, value_id, opts = {})
|
|
1816
|
+
if @api_client.config.debugging
|
|
1817
|
+
@api_client.config.logger.debug 'Calling API: ConfigurationApi.configuration_job_properties_values_deprecated_unarchive ...'
|
|
1818
|
+
end
|
|
1819
|
+
# verify the required parameter 'id' is set
|
|
1820
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1821
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ConfigurationApi.configuration_job_properties_values_deprecated_unarchive"
|
|
1822
|
+
end
|
|
1823
|
+
# verify the required parameter 'value_id' is set
|
|
1824
|
+
if @api_client.config.client_side_validation && value_id.nil?
|
|
1825
|
+
fail ArgumentError, "Missing the required parameter 'value_id' when calling ConfigurationApi.configuration_job_properties_values_deprecated_unarchive"
|
|
1826
|
+
end
|
|
1827
|
+
# resource path
|
|
1828
|
+
local_var_path = '/configuration/job-properties/{id}/values/{valueId}'.sub('{' + 'id' + '}', id.to_s).sub('{' + 'valueId' + '}', value_id.to_s)
|
|
1829
|
+
|
|
1830
|
+
# query parameters
|
|
1831
|
+
query_params = opts[:query_params] || {}
|
|
1832
|
+
|
|
1833
|
+
# header parameters
|
|
1834
|
+
header_params = opts[:header_params] || {}
|
|
1835
|
+
# HTTP header 'Accept' (if needed)
|
|
1836
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1837
|
+
|
|
1838
|
+
# form parameters
|
|
1839
|
+
form_params = opts[:form_params] || {}
|
|
1840
|
+
|
|
1841
|
+
# http body (model)
|
|
1842
|
+
post_body = opts[:body]
|
|
1843
|
+
|
|
1844
|
+
return_type = opts[:return_type]
|
|
1845
|
+
|
|
1846
|
+
auth_names = opts[:auth_names] || ['key', 'oauth']
|
|
1847
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
1848
|
+
:header_params => header_params,
|
|
1849
|
+
:query_params => query_params,
|
|
1850
|
+
:form_params => form_params,
|
|
1851
|
+
:body => post_body,
|
|
1852
|
+
:auth_names => auth_names,
|
|
1853
|
+
:return_type => return_type)
|
|
1854
|
+
|
|
1855
|
+
if @api_client.config.debugging
|
|
1856
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#configuration_job_properties_values_deprecated_unarchive\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1857
|
+
end
|
|
1858
|
+
return data, status_code, headers
|
|
1859
|
+
end
|
|
1860
|
+
# Get available job property values
|
|
1861
|
+
# Get available job property values.
|
|
1862
|
+
# @param id job property identifier
|
|
1863
|
+
# @param [Hash] opts the optional parameters
|
|
1864
|
+
# @option opts [LanguageCode] :accept_language language of returned content
|
|
1865
|
+
# @return [JobPropertyValueDefinitionList]
|
|
1866
|
+
def configuration_job_properties_values_get(id, opts = {})
|
|
1867
|
+
data, _status_code, _headers = configuration_job_properties_values_get_with_http_info(id, opts)
|
|
1868
|
+
data
|
|
1869
|
+
end
|
|
1870
|
+
|
|
1871
|
+
# Get available job property values
|
|
1872
|
+
# Get available job property values.
|
|
1873
|
+
# @param id job property identifier
|
|
1874
|
+
# @param [Hash] opts the optional parameters
|
|
1875
|
+
# @option opts [LanguageCode] :accept_language language of returned content
|
|
1876
|
+
# @return [Array<(JobPropertyValueDefinitionList, Integer, Hash)>] JobPropertyValueDefinitionList data, response status code and response headers
|
|
1877
|
+
def configuration_job_properties_values_get_with_http_info(id, opts = {})
|
|
1878
|
+
if @api_client.config.debugging
|
|
1879
|
+
@api_client.config.logger.debug 'Calling API: ConfigurationApi.configuration_job_properties_values_get ...'
|
|
1880
|
+
end
|
|
1881
|
+
# verify the required parameter 'id' is set
|
|
1882
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1883
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ConfigurationApi.configuration_job_properties_values_get"
|
|
1884
|
+
end
|
|
1885
|
+
# resource path
|
|
1886
|
+
local_var_path = '/configuration/job-properties/{id}/values'.sub('{' + 'id' + '}', id.to_s)
|
|
1887
|
+
|
|
1888
|
+
# query parameters
|
|
1889
|
+
query_params = opts[:query_params] || {}
|
|
1890
|
+
|
|
1891
|
+
# header parameters
|
|
1892
|
+
header_params = opts[:header_params] || {}
|
|
1893
|
+
# HTTP header 'Accept' (if needed)
|
|
1894
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1895
|
+
header_params[:'Accept-Language'] = opts[:'accept_language'] if !opts[:'accept_language'].nil?
|
|
1896
|
+
|
|
1897
|
+
# form parameters
|
|
1898
|
+
form_params = opts[:form_params] || {}
|
|
1899
|
+
|
|
1900
|
+
# http body (model)
|
|
1901
|
+
post_body = opts[:body]
|
|
1902
|
+
|
|
1903
|
+
return_type = opts[:return_type] || 'JobPropertyValueDefinitionList'
|
|
1904
|
+
|
|
1905
|
+
auth_names = opts[:auth_names] || ['key', 'oauth']
|
|
1906
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1907
|
+
:header_params => header_params,
|
|
1908
|
+
:query_params => query_params,
|
|
1909
|
+
:form_params => form_params,
|
|
1910
|
+
:body => post_body,
|
|
1911
|
+
:auth_names => auth_names,
|
|
1912
|
+
:return_type => return_type)
|
|
1913
|
+
|
|
1914
|
+
if @api_client.config.debugging
|
|
1915
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#configuration_job_properties_values_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1916
|
+
end
|
|
1917
|
+
return data, status_code, headers
|
|
1918
|
+
end
|
|
1919
|
+
# Add a job property value's translations
|
|
1920
|
+
# Submit a job property value's translations to different languages
|
|
1921
|
+
# @param body
|
|
1922
|
+
# @param id job property identifier
|
|
1923
|
+
# @param value_id job property's value identifier
|
|
1924
|
+
# @param [Hash] opts the optional parameters
|
|
1925
|
+
# @return [nil]
|
|
1926
|
+
def configuration_job_properties_values_translations_patch(body, id, value_id, opts = {})
|
|
1927
|
+
configuration_job_properties_values_translations_patch_with_http_info(body, id, value_id, opts)
|
|
1928
|
+
nil
|
|
1929
|
+
end
|
|
1930
|
+
|
|
1931
|
+
# Add a job property value's translations
|
|
1932
|
+
# Submit a job property value's translations to different languages
|
|
1933
|
+
# @param body
|
|
1934
|
+
# @param id job property identifier
|
|
1935
|
+
# @param value_id job property's value identifier
|
|
1936
|
+
# @param [Hash] opts the optional parameters
|
|
1937
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
1938
|
+
def configuration_job_properties_values_translations_patch_with_http_info(body, id, value_id, opts = {})
|
|
1939
|
+
if @api_client.config.debugging
|
|
1940
|
+
@api_client.config.logger.debug 'Calling API: ConfigurationApi.configuration_job_properties_values_translations_patch ...'
|
|
1941
|
+
end
|
|
1942
|
+
# verify the required parameter 'body' is set
|
|
1943
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
1944
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConfigurationApi.configuration_job_properties_values_translations_patch"
|
|
1945
|
+
end
|
|
1946
|
+
# verify the required parameter 'id' is set
|
|
1947
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1948
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ConfigurationApi.configuration_job_properties_values_translations_patch"
|
|
1949
|
+
end
|
|
1950
|
+
# verify the required parameter 'value_id' is set
|
|
1951
|
+
if @api_client.config.client_side_validation && value_id.nil?
|
|
1952
|
+
fail ArgumentError, "Missing the required parameter 'value_id' when calling ConfigurationApi.configuration_job_properties_values_translations_patch"
|
|
1953
|
+
end
|
|
1954
|
+
# resource path
|
|
1955
|
+
local_var_path = '/configuration/job-properties/{id}/values/{valueId}/translations'.sub('{' + 'id' + '}', id.to_s).sub('{' + 'valueId' + '}', value_id.to_s)
|
|
1956
|
+
|
|
1957
|
+
# query parameters
|
|
1958
|
+
query_params = opts[:query_params] || {}
|
|
1959
|
+
|
|
1960
|
+
# header parameters
|
|
1961
|
+
header_params = opts[:header_params] || {}
|
|
1962
|
+
# HTTP header 'Accept' (if needed)
|
|
1963
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1964
|
+
# HTTP header 'Content-Type'
|
|
1965
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
1966
|
+
|
|
1967
|
+
# form parameters
|
|
1968
|
+
form_params = opts[:form_params] || {}
|
|
1969
|
+
|
|
1970
|
+
# http body (model)
|
|
1971
|
+
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
|
1972
|
+
|
|
1973
|
+
return_type = opts[:return_type]
|
|
1974
|
+
|
|
1975
|
+
auth_names = opts[:auth_names] || ['key', 'oauth']
|
|
1976
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
1977
|
+
:header_params => header_params,
|
|
1978
|
+
:query_params => query_params,
|
|
1979
|
+
:form_params => form_params,
|
|
1980
|
+
:body => post_body,
|
|
1981
|
+
:auth_names => auth_names,
|
|
1982
|
+
:return_type => return_type)
|
|
1983
|
+
|
|
1984
|
+
if @api_client.config.debugging
|
|
1985
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#configuration_job_properties_values_translations_patch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1986
|
+
end
|
|
1987
|
+
return data, status_code, headers
|
|
1988
|
+
end
|
|
1989
|
+
# Unarchive a job property value
|
|
1990
|
+
# Unarchive a job property value
|
|
1991
|
+
# @param id job property identifier
|
|
1992
|
+
# @param value_id job property's value identifier
|
|
1993
|
+
# @param [Hash] opts the optional parameters
|
|
1994
|
+
# @return [nil]
|
|
1995
|
+
def configuration_job_properties_values_unarchive(id, value_id, opts = {})
|
|
1996
|
+
configuration_job_properties_values_unarchive_with_http_info(id, value_id, opts)
|
|
1997
|
+
nil
|
|
1998
|
+
end
|
|
1999
|
+
|
|
2000
|
+
# Unarchive a job property value
|
|
2001
|
+
# Unarchive a job property value
|
|
2002
|
+
# @param id job property identifier
|
|
2003
|
+
# @param value_id job property's value identifier
|
|
2004
|
+
# @param [Hash] opts the optional parameters
|
|
2005
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
2006
|
+
def configuration_job_properties_values_unarchive_with_http_info(id, value_id, opts = {})
|
|
2007
|
+
if @api_client.config.debugging
|
|
2008
|
+
@api_client.config.logger.debug 'Calling API: ConfigurationApi.configuration_job_properties_values_unarchive ...'
|
|
2009
|
+
end
|
|
2010
|
+
# verify the required parameter 'id' is set
|
|
2011
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
2012
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ConfigurationApi.configuration_job_properties_values_unarchive"
|
|
2013
|
+
end
|
|
2014
|
+
# verify the required parameter 'value_id' is set
|
|
2015
|
+
if @api_client.config.client_side_validation && value_id.nil?
|
|
2016
|
+
fail ArgumentError, "Missing the required parameter 'value_id' when calling ConfigurationApi.configuration_job_properties_values_unarchive"
|
|
2017
|
+
end
|
|
2018
|
+
# resource path
|
|
2019
|
+
local_var_path = '/configuration/job-properties/{id}/archive-values/{valueId}'.sub('{' + 'id' + '}', id.to_s).sub('{' + 'valueId' + '}', value_id.to_s)
|
|
2020
|
+
|
|
2021
|
+
# query parameters
|
|
2022
|
+
query_params = opts[:query_params] || {}
|
|
2023
|
+
|
|
2024
|
+
# header parameters
|
|
2025
|
+
header_params = opts[:header_params] || {}
|
|
2026
|
+
# HTTP header 'Accept' (if needed)
|
|
2027
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
2028
|
+
|
|
2029
|
+
# form parameters
|
|
2030
|
+
form_params = opts[:form_params] || {}
|
|
2031
|
+
|
|
2032
|
+
# http body (model)
|
|
2033
|
+
post_body = opts[:body]
|
|
2034
|
+
|
|
2035
|
+
return_type = opts[:return_type]
|
|
2036
|
+
|
|
2037
|
+
auth_names = opts[:auth_names] || ['key', 'oauth']
|
|
2038
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
2039
|
+
:header_params => header_params,
|
|
2040
|
+
:query_params => query_params,
|
|
2041
|
+
:form_params => form_params,
|
|
2042
|
+
:body => post_body,
|
|
2043
|
+
:auth_names => auth_names,
|
|
2044
|
+
:return_type => return_type)
|
|
2045
|
+
|
|
2046
|
+
if @api_client.config.debugging
|
|
2047
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#configuration_job_properties_values_unarchive\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2048
|
+
end
|
|
2049
|
+
return data, status_code, headers
|
|
2050
|
+
end
|
|
2051
|
+
# Update a job property value
|
|
2052
|
+
# Update a job property value. Returns an updated job property value object.
|
|
2053
|
+
# @param id job property identifier
|
|
2054
|
+
# @param value_id job property's value identifier
|
|
2055
|
+
# @param [Hash] opts the optional parameters
|
|
2056
|
+
# @option opts [Array<Object>] :body patch request
|
|
2057
|
+
# @return [JobPropertyValueDefinition]
|
|
2058
|
+
def configuration_job_properties_values_update(id, value_id, opts = {})
|
|
2059
|
+
data, _status_code, _headers = configuration_job_properties_values_update_with_http_info(id, value_id, opts)
|
|
2060
|
+
data
|
|
2061
|
+
end
|
|
2062
|
+
|
|
2063
|
+
# Update a job property value
|
|
2064
|
+
# Update a job property value. Returns an updated job property value object.
|
|
2065
|
+
# @param id job property identifier
|
|
2066
|
+
# @param value_id job property's value identifier
|
|
2067
|
+
# @param [Hash] opts the optional parameters
|
|
2068
|
+
# @option opts [Array<Object>] :body patch request
|
|
2069
|
+
# @return [Array<(JobPropertyValueDefinition, Integer, Hash)>] JobPropertyValueDefinition data, response status code and response headers
|
|
2070
|
+
def configuration_job_properties_values_update_with_http_info(id, value_id, opts = {})
|
|
2071
|
+
if @api_client.config.debugging
|
|
2072
|
+
@api_client.config.logger.debug 'Calling API: ConfigurationApi.configuration_job_properties_values_update ...'
|
|
2073
|
+
end
|
|
2074
|
+
# verify the required parameter 'id' is set
|
|
2075
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
2076
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ConfigurationApi.configuration_job_properties_values_update"
|
|
2077
|
+
end
|
|
2078
|
+
# verify the required parameter 'value_id' is set
|
|
2079
|
+
if @api_client.config.client_side_validation && value_id.nil?
|
|
2080
|
+
fail ArgumentError, "Missing the required parameter 'value_id' when calling ConfigurationApi.configuration_job_properties_values_update"
|
|
2081
|
+
end
|
|
2082
|
+
# resource path
|
|
2083
|
+
local_var_path = '/configuration/job-properties/{id}/values/{valueId}'.sub('{' + 'id' + '}', id.to_s).sub('{' + 'valueId' + '}', value_id.to_s)
|
|
2084
|
+
|
|
2085
|
+
# query parameters
|
|
2086
|
+
query_params = opts[:query_params] || {}
|
|
2087
|
+
|
|
2088
|
+
# header parameters
|
|
2089
|
+
header_params = opts[:header_params] || {}
|
|
2090
|
+
# HTTP header 'Accept' (if needed)
|
|
2091
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
2092
|
+
# HTTP header 'Content-Type'
|
|
2093
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json'])
|
|
2094
|
+
|
|
2095
|
+
# form parameters
|
|
2096
|
+
form_params = opts[:form_params] || {}
|
|
2097
|
+
|
|
2098
|
+
# http body (model)
|
|
2099
|
+
post_body = opts[:body] || @api_client.object_to_http_body(opts[:'body'])
|
|
2100
|
+
|
|
2101
|
+
return_type = opts[:return_type] || 'JobPropertyValueDefinition'
|
|
2102
|
+
|
|
2103
|
+
auth_names = opts[:auth_names] || ['key', 'oauth']
|
|
2104
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
2105
|
+
:header_params => header_params,
|
|
2106
|
+
:query_params => query_params,
|
|
2107
|
+
:form_params => form_params,
|
|
2108
|
+
:body => post_body,
|
|
2109
|
+
:auth_names => auth_names,
|
|
2110
|
+
:return_type => return_type)
|
|
2111
|
+
|
|
2112
|
+
if @api_client.config.debugging
|
|
2113
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#configuration_job_properties_values_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2114
|
+
end
|
|
2115
|
+
return data, status_code, headers
|
|
2116
|
+
end
|
|
2117
|
+
# Get a list of available offer properties
|
|
2118
|
+
# Get a list of available offer properties.
|
|
2119
|
+
# @param [Hash] opts the optional parameters
|
|
2120
|
+
# @return [OfferPropertiesDefinition]
|
|
2121
|
+
def configuration_offer_properties_all(opts = {})
|
|
2122
|
+
data, _status_code, _headers = configuration_offer_properties_all_with_http_info(opts)
|
|
2123
|
+
data
|
|
2124
|
+
end
|
|
2125
|
+
|
|
2126
|
+
# Get a list of available offer properties
|
|
2127
|
+
# Get a list of available offer properties.
|
|
2128
|
+
# @param [Hash] opts the optional parameters
|
|
2129
|
+
# @return [Array<(OfferPropertiesDefinition, Integer, Hash)>] OfferPropertiesDefinition data, response status code and response headers
|
|
2130
|
+
def configuration_offer_properties_all_with_http_info(opts = {})
|
|
2131
|
+
if @api_client.config.debugging
|
|
2132
|
+
@api_client.config.logger.debug 'Calling API: ConfigurationApi.configuration_offer_properties_all ...'
|
|
2133
|
+
end
|
|
2134
|
+
# resource path
|
|
2135
|
+
local_var_path = '/configuration/offer-properties'
|
|
2136
|
+
|
|
2137
|
+
# query parameters
|
|
2138
|
+
query_params = opts[:query_params] || {}
|
|
2139
|
+
|
|
2140
|
+
# header parameters
|
|
2141
|
+
header_params = opts[:header_params] || {}
|
|
2142
|
+
# HTTP header 'Accept' (if needed)
|
|
2143
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
2144
|
+
|
|
2145
|
+
# form parameters
|
|
2146
|
+
form_params = opts[:form_params] || {}
|
|
2147
|
+
|
|
2148
|
+
# http body (model)
|
|
2149
|
+
post_body = opts[:body]
|
|
2150
|
+
|
|
2151
|
+
return_type = opts[:return_type] || 'OfferPropertiesDefinition'
|
|
2152
|
+
|
|
2153
|
+
auth_names = opts[:auth_names] || ['key', 'oauth']
|
|
2154
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
2155
|
+
:header_params => header_params,
|
|
2156
|
+
:query_params => query_params,
|
|
2157
|
+
:form_params => form_params,
|
|
2158
|
+
:body => post_body,
|
|
2159
|
+
:auth_names => auth_names,
|
|
2160
|
+
:return_type => return_type)
|
|
2161
|
+
|
|
2162
|
+
if @api_client.config.debugging
|
|
2163
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#configuration_offer_properties_all\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2164
|
+
end
|
|
2165
|
+
return data, status_code, headers
|
|
2166
|
+
end
|
|
2167
|
+
# Get rejection reasons
|
|
2168
|
+
# Get rejection reasons
|
|
2169
|
+
# @param [Hash] opts the optional parameters
|
|
2170
|
+
# @return [Properties]
|
|
2171
|
+
def configuration_reasons_rejection_all(opts = {})
|
|
2172
|
+
data, _status_code, _headers = configuration_reasons_rejection_all_with_http_info(opts)
|
|
2173
|
+
data
|
|
2174
|
+
end
|
|
2175
|
+
|
|
2176
|
+
# Get rejection reasons
|
|
2177
|
+
# Get rejection reasons
|
|
2178
|
+
# @param [Hash] opts the optional parameters
|
|
2179
|
+
# @return [Array<(Properties, Integer, Hash)>] Properties data, response status code and response headers
|
|
2180
|
+
def configuration_reasons_rejection_all_with_http_info(opts = {})
|
|
2181
|
+
if @api_client.config.debugging
|
|
2182
|
+
@api_client.config.logger.debug 'Calling API: ConfigurationApi.configuration_reasons_rejection_all ...'
|
|
2183
|
+
end
|
|
2184
|
+
# resource path
|
|
2185
|
+
local_var_path = '/configuration/rejection-reasons'
|
|
2186
|
+
|
|
2187
|
+
# query parameters
|
|
2188
|
+
query_params = opts[:query_params] || {}
|
|
2189
|
+
|
|
2190
|
+
# header parameters
|
|
2191
|
+
header_params = opts[:header_params] || {}
|
|
2192
|
+
# HTTP header 'Accept' (if needed)
|
|
2193
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
2194
|
+
|
|
2195
|
+
# form parameters
|
|
2196
|
+
form_params = opts[:form_params] || {}
|
|
2197
|
+
|
|
2198
|
+
# http body (model)
|
|
2199
|
+
post_body = opts[:body]
|
|
2200
|
+
|
|
2201
|
+
return_type = opts[:return_type] || 'Properties'
|
|
2202
|
+
|
|
2203
|
+
auth_names = opts[:auth_names] || ['key', 'oauth']
|
|
2204
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
2205
|
+
:header_params => header_params,
|
|
2206
|
+
:query_params => query_params,
|
|
2207
|
+
:form_params => form_params,
|
|
2208
|
+
:body => post_body,
|
|
2209
|
+
:auth_names => auth_names,
|
|
2210
|
+
:return_type => return_type)
|
|
2211
|
+
|
|
2212
|
+
if @api_client.config.debugging
|
|
2213
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#configuration_reasons_rejection_all\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2214
|
+
end
|
|
2215
|
+
return data, status_code, headers
|
|
2216
|
+
end
|
|
2217
|
+
# Get withdrawal reasons
|
|
2218
|
+
# Get withdrawal reasons
|
|
2219
|
+
# @param [Hash] opts the optional parameters
|
|
2220
|
+
# @return [Properties]
|
|
2221
|
+
def configuration_reasons_withdrawal_all(opts = {})
|
|
2222
|
+
data, _status_code, _headers = configuration_reasons_withdrawal_all_with_http_info(opts)
|
|
2223
|
+
data
|
|
2224
|
+
end
|
|
2225
|
+
|
|
2226
|
+
# Get withdrawal reasons
|
|
2227
|
+
# Get withdrawal reasons
|
|
2228
|
+
# @param [Hash] opts the optional parameters
|
|
2229
|
+
# @return [Array<(Properties, Integer, Hash)>] Properties data, response status code and response headers
|
|
2230
|
+
def configuration_reasons_withdrawal_all_with_http_info(opts = {})
|
|
2231
|
+
if @api_client.config.debugging
|
|
2232
|
+
@api_client.config.logger.debug 'Calling API: ConfigurationApi.configuration_reasons_withdrawal_all ...'
|
|
2233
|
+
end
|
|
2234
|
+
# resource path
|
|
2235
|
+
local_var_path = '/configuration/withdrawal-reasons'
|
|
2236
|
+
|
|
2237
|
+
# query parameters
|
|
2238
|
+
query_params = opts[:query_params] || {}
|
|
2239
|
+
|
|
2240
|
+
# header parameters
|
|
2241
|
+
header_params = opts[:header_params] || {}
|
|
2242
|
+
# HTTP header 'Accept' (if needed)
|
|
2243
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
2244
|
+
|
|
2245
|
+
# form parameters
|
|
2246
|
+
form_params = opts[:form_params] || {}
|
|
2247
|
+
|
|
2248
|
+
# http body (model)
|
|
2249
|
+
post_body = opts[:body]
|
|
2250
|
+
|
|
2251
|
+
return_type = opts[:return_type] || 'Properties'
|
|
2252
|
+
|
|
2253
|
+
auth_names = opts[:auth_names] || ['key', 'oauth']
|
|
2254
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
2255
|
+
:header_params => header_params,
|
|
2256
|
+
:query_params => query_params,
|
|
2257
|
+
:form_params => form_params,
|
|
2258
|
+
:body => post_body,
|
|
2259
|
+
:auth_names => auth_names,
|
|
2260
|
+
:return_type => return_type)
|
|
2261
|
+
|
|
2262
|
+
if @api_client.config.debugging
|
|
2263
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#configuration_reasons_withdrawal_all\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2264
|
+
end
|
|
2265
|
+
return data, status_code, headers
|
|
2266
|
+
end
|
|
2267
|
+
# List candidate source types with subtypes
|
|
2268
|
+
# Get a list of all available candidate source type with subtypes
|
|
2269
|
+
# @param [Hash] opts the optional parameters
|
|
2270
|
+
# @return [SourceTypes]
|
|
2271
|
+
def configuration_source_types(opts = {})
|
|
2272
|
+
data, _status_code, _headers = configuration_source_types_with_http_info(opts)
|
|
2273
|
+
data
|
|
2274
|
+
end
|
|
2275
|
+
|
|
2276
|
+
# List candidate source types with subtypes
|
|
2277
|
+
# Get a list of all available candidate source type with subtypes
|
|
2278
|
+
# @param [Hash] opts the optional parameters
|
|
2279
|
+
# @return [Array<(SourceTypes, Integer, Hash)>] SourceTypes data, response status code and response headers
|
|
2280
|
+
def configuration_source_types_with_http_info(opts = {})
|
|
2281
|
+
if @api_client.config.debugging
|
|
2282
|
+
@api_client.config.logger.debug 'Calling API: ConfigurationApi.configuration_source_types ...'
|
|
2283
|
+
end
|
|
2284
|
+
# resource path
|
|
2285
|
+
local_var_path = '/configuration/sources'
|
|
2286
|
+
|
|
2287
|
+
# query parameters
|
|
2288
|
+
query_params = opts[:query_params] || {}
|
|
2289
|
+
|
|
2290
|
+
# header parameters
|
|
2291
|
+
header_params = opts[:header_params] || {}
|
|
2292
|
+
# HTTP header 'Accept' (if needed)
|
|
2293
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
2294
|
+
|
|
2295
|
+
# form parameters
|
|
2296
|
+
form_params = opts[:form_params] || {}
|
|
2297
|
+
|
|
2298
|
+
# http body (model)
|
|
2299
|
+
post_body = opts[:body]
|
|
2300
|
+
|
|
2301
|
+
return_type = opts[:return_type] || 'SourceTypes'
|
|
2302
|
+
|
|
2303
|
+
auth_names = opts[:auth_names] || ['key', 'oauth']
|
|
2304
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
2305
|
+
:header_params => header_params,
|
|
2306
|
+
:query_params => query_params,
|
|
2307
|
+
:form_params => form_params,
|
|
2308
|
+
:body => post_body,
|
|
2309
|
+
:auth_names => auth_names,
|
|
2310
|
+
:return_type => return_type)
|
|
2311
|
+
|
|
2312
|
+
if @api_client.config.debugging
|
|
2313
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#configuration_source_types\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2314
|
+
end
|
|
2315
|
+
return data, status_code, headers
|
|
2316
|
+
end
|
|
2317
|
+
# List candidate sources
|
|
2318
|
+
# Get a list of all available candidate sources by type.
|
|
2319
|
+
# @param source_type Source type from /configuration/sources
|
|
2320
|
+
# @param [Hash] opts the optional parameters
|
|
2321
|
+
# @option opts [String] :source_sub_type Source SubType from /configuration/sources
|
|
2322
|
+
# @option opts [Integer] :limit number of elements to return. max value is 100 (default to 100)
|
|
2323
|
+
# @option opts [Integer] :offset number of elements to skip while processing result (default to 0)
|
|
2324
|
+
# @return [Sources]
|
|
2325
|
+
def configuration_source_values_all(source_type, opts = {})
|
|
2326
|
+
data, _status_code, _headers = configuration_source_values_all_with_http_info(source_type, opts)
|
|
2327
|
+
data
|
|
2328
|
+
end
|
|
2329
|
+
|
|
2330
|
+
# List candidate sources
|
|
2331
|
+
# Get a list of all available candidate sources by type.
|
|
2332
|
+
# @param source_type Source type from /configuration/sources
|
|
2333
|
+
# @param [Hash] opts the optional parameters
|
|
2334
|
+
# @option opts [String] :source_sub_type Source SubType from /configuration/sources
|
|
2335
|
+
# @option opts [Integer] :limit number of elements to return. max value is 100
|
|
2336
|
+
# @option opts [Integer] :offset number of elements to skip while processing result
|
|
2337
|
+
# @return [Array<(Sources, Integer, Hash)>] Sources data, response status code and response headers
|
|
2338
|
+
def configuration_source_values_all_with_http_info(source_type, opts = {})
|
|
2339
|
+
if @api_client.config.debugging
|
|
2340
|
+
@api_client.config.logger.debug 'Calling API: ConfigurationApi.configuration_source_values_all ...'
|
|
2341
|
+
end
|
|
2342
|
+
# verify the required parameter 'source_type' is set
|
|
2343
|
+
if @api_client.config.client_side_validation && source_type.nil?
|
|
2344
|
+
fail ArgumentError, "Missing the required parameter 'source_type' when calling ConfigurationApi.configuration_source_values_all"
|
|
2345
|
+
end
|
|
2346
|
+
# resource path
|
|
2347
|
+
local_var_path = '/configuration/sources/{sourceType}/values'.sub('{' + 'sourceType' + '}', source_type.to_s)
|
|
2348
|
+
|
|
2349
|
+
# query parameters
|
|
2350
|
+
query_params = opts[:query_params] || {}
|
|
2351
|
+
query_params[:'sourceSubType'] = opts[:'source_sub_type'] if !opts[:'source_sub_type'].nil?
|
|
2352
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
2353
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
2354
|
+
|
|
2355
|
+
# header parameters
|
|
2356
|
+
header_params = opts[:header_params] || {}
|
|
2357
|
+
# HTTP header 'Accept' (if needed)
|
|
2358
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
2359
|
+
|
|
2360
|
+
# form parameters
|
|
2361
|
+
form_params = opts[:form_params] || {}
|
|
2362
|
+
|
|
2363
|
+
# http body (model)
|
|
2364
|
+
post_body = opts[:body]
|
|
2365
|
+
|
|
2366
|
+
return_type = opts[:return_type] || 'Sources'
|
|
2367
|
+
|
|
2368
|
+
auth_names = opts[:auth_names] || ['key', 'oauth']
|
|
2369
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
2370
|
+
:header_params => header_params,
|
|
2371
|
+
:query_params => query_params,
|
|
2372
|
+
:form_params => form_params,
|
|
2373
|
+
:body => post_body,
|
|
2374
|
+
:auth_names => auth_names,
|
|
2375
|
+
:return_type => return_type)
|
|
2376
|
+
|
|
2377
|
+
if @api_client.config.debugging
|
|
2378
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#configuration_source_values_all\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2379
|
+
end
|
|
2380
|
+
return data, status_code, headers
|
|
2381
|
+
end
|
|
2382
|
+
# Get a candidate source
|
|
2383
|
+
# Get a single candidate sources for a given type.
|
|
2384
|
+
# @param source_type Source type from /configuration/sources
|
|
2385
|
+
# @param source_value_id Source id
|
|
2386
|
+
# @param [Hash] opts the optional parameters
|
|
2387
|
+
# @option opts [String] :source_sub_type Source SubType from /configuration/sources
|
|
2388
|
+
# @return [Source]
|
|
2389
|
+
def configuration_source_values_single(source_type, source_value_id, opts = {})
|
|
2390
|
+
data, _status_code, _headers = configuration_source_values_single_with_http_info(source_type, source_value_id, opts)
|
|
2391
|
+
data
|
|
2392
|
+
end
|
|
2393
|
+
|
|
2394
|
+
# Get a candidate source
|
|
2395
|
+
# Get a single candidate sources for a given type.
|
|
2396
|
+
# @param source_type Source type from /configuration/sources
|
|
2397
|
+
# @param source_value_id Source id
|
|
2398
|
+
# @param [Hash] opts the optional parameters
|
|
2399
|
+
# @option opts [String] :source_sub_type Source SubType from /configuration/sources
|
|
2400
|
+
# @return [Array<(Source, Integer, Hash)>] Source data, response status code and response headers
|
|
2401
|
+
def configuration_source_values_single_with_http_info(source_type, source_value_id, opts = {})
|
|
2402
|
+
if @api_client.config.debugging
|
|
2403
|
+
@api_client.config.logger.debug 'Calling API: ConfigurationApi.configuration_source_values_single ...'
|
|
2404
|
+
end
|
|
2405
|
+
# verify the required parameter 'source_type' is set
|
|
2406
|
+
if @api_client.config.client_side_validation && source_type.nil?
|
|
2407
|
+
fail ArgumentError, "Missing the required parameter 'source_type' when calling ConfigurationApi.configuration_source_values_single"
|
|
2408
|
+
end
|
|
2409
|
+
# verify the required parameter 'source_value_id' is set
|
|
2410
|
+
if @api_client.config.client_side_validation && source_value_id.nil?
|
|
2411
|
+
fail ArgumentError, "Missing the required parameter 'source_value_id' when calling ConfigurationApi.configuration_source_values_single"
|
|
2412
|
+
end
|
|
2413
|
+
# resource path
|
|
2414
|
+
local_var_path = '/configuration/sources/{sourceType}/values/{sourceValueId}'.sub('{' + 'sourceType' + '}', source_type.to_s).sub('{' + 'sourceValueId' + '}', source_value_id.to_s)
|
|
2415
|
+
|
|
2416
|
+
# query parameters
|
|
2417
|
+
query_params = opts[:query_params] || {}
|
|
2418
|
+
query_params[:'sourceSubType'] = opts[:'source_sub_type'] if !opts[:'source_sub_type'].nil?
|
|
2419
|
+
|
|
2420
|
+
# header parameters
|
|
2421
|
+
header_params = opts[:header_params] || {}
|
|
2422
|
+
# HTTP header 'Accept' (if needed)
|
|
2423
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
2424
|
+
|
|
2425
|
+
# form parameters
|
|
2426
|
+
form_params = opts[:form_params] || {}
|
|
2427
|
+
|
|
2428
|
+
# http body (model)
|
|
2429
|
+
post_body = opts[:body]
|
|
2430
|
+
|
|
2431
|
+
return_type = opts[:return_type] || 'Source'
|
|
2432
|
+
|
|
2433
|
+
auth_names = opts[:auth_names] || ['key', 'oauth']
|
|
2434
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
2435
|
+
:header_params => header_params,
|
|
2436
|
+
:query_params => query_params,
|
|
2437
|
+
:form_params => form_params,
|
|
2438
|
+
:body => post_body,
|
|
2439
|
+
:auth_names => auth_names,
|
|
2440
|
+
:return_type => return_type)
|
|
2441
|
+
|
|
2442
|
+
if @api_client.config.debugging
|
|
2443
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#configuration_source_values_single\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2444
|
+
end
|
|
2445
|
+
return data, status_code, headers
|
|
2446
|
+
end
|
|
2447
|
+
# Get a candidate source by identifier.
|
|
2448
|
+
# Get a single candidate source for a given identifier (included deleted source).
|
|
2449
|
+
# @param source_identifier Source identifier
|
|
2450
|
+
# @param [Hash] opts the optional parameters
|
|
2451
|
+
# @return [SourceDefinition]
|
|
2452
|
+
def configuration_source_values_single_by_identifier(source_identifier, opts = {})
|
|
2453
|
+
data, _status_code, _headers = configuration_source_values_single_by_identifier_with_http_info(source_identifier, opts)
|
|
2454
|
+
data
|
|
2455
|
+
end
|
|
2456
|
+
|
|
2457
|
+
# Get a candidate source by identifier.
|
|
2458
|
+
# Get a single candidate source for a given identifier (included deleted source).
|
|
2459
|
+
# @param source_identifier Source identifier
|
|
2460
|
+
# @param [Hash] opts the optional parameters
|
|
2461
|
+
# @return [Array<(SourceDefinition, Integer, Hash)>] SourceDefinition data, response status code and response headers
|
|
2462
|
+
def configuration_source_values_single_by_identifier_with_http_info(source_identifier, opts = {})
|
|
2463
|
+
if @api_client.config.debugging
|
|
2464
|
+
@api_client.config.logger.debug 'Calling API: ConfigurationApi.configuration_source_values_single_by_identifier ...'
|
|
2465
|
+
end
|
|
2466
|
+
# verify the required parameter 'source_identifier' is set
|
|
2467
|
+
if @api_client.config.client_side_validation && source_identifier.nil?
|
|
2468
|
+
fail ArgumentError, "Missing the required parameter 'source_identifier' when calling ConfigurationApi.configuration_source_values_single_by_identifier"
|
|
2469
|
+
end
|
|
2470
|
+
# resource path
|
|
2471
|
+
local_var_path = '/configuration/sources/{sourceIdentifier}'.sub('{' + 'sourceIdentifier' + '}', source_identifier.to_s)
|
|
2472
|
+
|
|
2473
|
+
# query parameters
|
|
2474
|
+
query_params = opts[:query_params] || {}
|
|
2475
|
+
|
|
2476
|
+
# header parameters
|
|
2477
|
+
header_params = opts[:header_params] || {}
|
|
2478
|
+
# HTTP header 'Accept' (if needed)
|
|
2479
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
2480
|
+
|
|
2481
|
+
# form parameters
|
|
2482
|
+
form_params = opts[:form_params] || {}
|
|
2483
|
+
|
|
2484
|
+
# http body (model)
|
|
2485
|
+
post_body = opts[:body]
|
|
2486
|
+
|
|
2487
|
+
return_type = opts[:return_type] || 'SourceDefinition'
|
|
2488
|
+
|
|
2489
|
+
auth_names = opts[:auth_names] || ['key', 'oauth']
|
|
2490
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
2491
|
+
:header_params => header_params,
|
|
2492
|
+
:query_params => query_params,
|
|
2493
|
+
:form_params => form_params,
|
|
2494
|
+
:body => post_body,
|
|
2495
|
+
:auth_names => auth_names,
|
|
2496
|
+
:return_type => return_type)
|
|
2497
|
+
|
|
2498
|
+
if @api_client.config.debugging
|
|
2499
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#configuration_source_values_single_by_identifier\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2500
|
+
end
|
|
2501
|
+
return data, status_code, headers
|
|
2502
|
+
end
|
|
2503
|
+
end
|
|
2504
|
+
end
|