gbizinfo 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +7 -0
  2. data/.openapi-generator/FILES +48 -0
  3. data/.openapi-generator/VERSION +1 -0
  4. data/.openapi-generator-ignore +30 -0
  5. data/.rspec +3 -0
  6. data/.rubocop.yml +13 -0
  7. data/CHANGELOG.md +3 -0
  8. data/CODE_OF_CONDUCT.md +84 -0
  9. data/Gemfile +12 -0
  10. data/Gemfile.lock +64 -0
  11. data/LICENSE.txt +21 -0
  12. data/README.md +121 -0
  13. data/Rakefile +12 -0
  14. data/bin/console +15 -0
  15. data/bin/setup +8 -0
  16. data/docs/ApiError.md +20 -0
  17. data/docs/CertificationInfo.md +30 -0
  18. data/docs/CommendationInfo.md +26 -0
  19. data/docs/CompatibilityOfChildcareAndWork.md +24 -0
  20. data/docs/Finance.md +24 -0
  21. data/docs/GBizINFORESTAPIApi.md +678 -0
  22. data/docs/GBizINFORESTAPIPeriodSpecifiedSearchApi.md +591 -0
  23. data/docs/HojinInfo.md +76 -0
  24. data/docs/HojinInfoResponse.md +24 -0
  25. data/docs/HojinInfoUpdateInfoResponse.md +30 -0
  26. data/docs/MajorShareholders.md +20 -0
  27. data/docs/ManagementIndex.md +66 -0
  28. data/docs/PatentInfo.md +26 -0
  29. data/docs/ProcurementInfo.md +26 -0
  30. data/docs/SubsidyInfo.md +32 -0
  31. data/docs/WomenActivityInfos.md +28 -0
  32. data/docs/WorkplaceBaseInfos.md +28 -0
  33. data/docs/WorkplaceInfoBean.md +22 -0
  34. data/gbizinfo.gemspec +37 -0
  35. data/git_push.sh +57 -0
  36. data/lib/gbizinfo/api/g_biz_inforestapi_api.rb +748 -0
  37. data/lib/gbizinfo/api/g_biz_inforestapi_period_specified_search_api.rb +670 -0
  38. data/lib/gbizinfo/api_client.rb +391 -0
  39. data/lib/gbizinfo/api_error.rb +58 -0
  40. data/lib/gbizinfo/configuration.rb +290 -0
  41. data/lib/gbizinfo/models/api_error.rb +225 -0
  42. data/lib/gbizinfo/models/certification_info.rb +275 -0
  43. data/lib/gbizinfo/models/commendation_info.rb +255 -0
  44. data/lib/gbizinfo/models/compatibility_of_childcare_and_work.rb +245 -0
  45. data/lib/gbizinfo/models/finance.rb +249 -0
  46. data/lib/gbizinfo/models/hojin_info.rb +515 -0
  47. data/lib/gbizinfo/models/hojin_info_response.rb +249 -0
  48. data/lib/gbizinfo/models/hojin_info_update_info_response.rb +279 -0
  49. data/lib/gbizinfo/models/major_shareholders.rb +225 -0
  50. data/lib/gbizinfo/models/management_index.rb +455 -0
  51. data/lib/gbizinfo/models/patent_info.rb +257 -0
  52. data/lib/gbizinfo/models/procurement_info.rb +257 -0
  53. data/lib/gbizinfo/models/subsidy_info.rb +287 -0
  54. data/lib/gbizinfo/models/women_activity_infos.rb +265 -0
  55. data/lib/gbizinfo/models/workplace_base_infos.rb +265 -0
  56. data/lib/gbizinfo/models/workplace_info_bean.rb +232 -0
  57. data/lib/gbizinfo/version.rb +15 -0
  58. data/lib/gbizinfo.rb +57 -0
  59. data/openapi/root.yaml +1377 -0
  60. data/sig/gbizinfo.rbs +4 -0
  61. metadata +105 -0
@@ -0,0 +1,748 @@
1
+ =begin
2
+ #gBizINFO REST API
3
+
4
+ #<div>各REST APIはHTTPリクエストヘッダX-hojinInfo-api-tokenに動作確認用のAPIトークンDTcLxzo1lZaUYaQPVdSRxdS4MzlXNCs4を指定して動作を確認することができます。</div><div>※動作確認用のAPIトークンはこのページでの動作確認でのみ使用してください。</div><div>※REST APIを利用する際は必ず、<a href='https://info.gbiz.go.jp/hojin/api_registration/form'>Web API利用申請</a>を行い、APIトークンを取得してください。</div>
5
+
6
+ The version of the OpenAPI document: 1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 7.0.0
10
+
11
+ =end
12
+
13
+ require 'cgi'
14
+
15
+ module Gbizinfo
16
+ class GBizINFORESTAPIApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # gBizINFOから届出・認定情報を取得します.
23
+ # 指定された法人番号の情報を取得します。
24
+ # @param x_hojin_info_api_token [String] APIトークン
25
+ # @param corporate_number [String] 法人番号:法人番号を設定。 入力された法人番号を完全一致で検索。
26
+ # @param [Hash] opts the optional parameters
27
+ # @return [HojinInfoResponse]
28
+ def get_certification_using_get(x_hojin_info_api_token, corporate_number, opts = {})
29
+ data, _status_code, _headers = get_certification_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts)
30
+ data
31
+ end
32
+
33
+ # gBizINFOから届出・認定情報を取得します.
34
+ # 指定された法人番号の情報を取得します。
35
+ # @param x_hojin_info_api_token [String] APIトークン
36
+ # @param corporate_number [String] 法人番号:法人番号を設定。 入力された法人番号を完全一致で検索。
37
+ # @param [Hash] opts the optional parameters
38
+ # @return [Array<(HojinInfoResponse, Integer, Hash)>] HojinInfoResponse data, response status code and response headers
39
+ def get_certification_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts = {})
40
+ if @api_client.config.debugging
41
+ @api_client.config.logger.debug 'Calling API: GBizINFORESTAPIApi.get_certification_using_get ...'
42
+ end
43
+ # verify the required parameter 'x_hojin_info_api_token' is set
44
+ if @api_client.config.client_side_validation && x_hojin_info_api_token.nil?
45
+ fail ArgumentError, "Missing the required parameter 'x_hojin_info_api_token' when calling GBizINFORESTAPIApi.get_certification_using_get"
46
+ end
47
+ # verify the required parameter 'corporate_number' is set
48
+ if @api_client.config.client_side_validation && corporate_number.nil?
49
+ fail ArgumentError, "Missing the required parameter 'corporate_number' when calling GBizINFORESTAPIApi.get_certification_using_get"
50
+ end
51
+ # resource path
52
+ local_var_path = '/v1/hojin/{corporate_number}/certification'.sub('{' + 'corporate_number' + '}', CGI.escape(corporate_number.to_s))
53
+
54
+ # query parameters
55
+ query_params = opts[:query_params] || {}
56
+
57
+ # header parameters
58
+ header_params = opts[:header_params] || {}
59
+ # HTTP header 'Accept' (if needed)
60
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
61
+ header_params[:'X-hojinInfo-api-token'] = x_hojin_info_api_token
62
+
63
+ # form parameters
64
+ form_params = opts[:form_params] || {}
65
+
66
+ # http body (model)
67
+ post_body = opts[:debug_body]
68
+
69
+ # return_type
70
+ return_type = opts[:debug_return_type] || 'HojinInfoResponse'
71
+
72
+ # auth_names
73
+ auth_names = opts[:debug_auth_names] || []
74
+
75
+ new_options = opts.merge(
76
+ :operation => :"GBizINFORESTAPIApi.get_certification_using_get",
77
+ :header_params => header_params,
78
+ :query_params => query_params,
79
+ :form_params => form_params,
80
+ :body => post_body,
81
+ :auth_names => auth_names,
82
+ :return_type => return_type
83
+ )
84
+
85
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
86
+ if @api_client.config.debugging
87
+ @api_client.config.logger.debug "API called: GBizINFORESTAPIApi#get_certification_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
88
+ end
89
+ return data, status_code, headers
90
+ end
91
+
92
+ # gBizINFOから表彰情報を取得します.
93
+ # 指定された法人番号の情報を取得します。
94
+ # @param x_hojin_info_api_token [String] APIトークン
95
+ # @param corporate_number [String] 法人番号:法人番号を設定。 入力された法人番号を完全一致で検索。
96
+ # @param [Hash] opts the optional parameters
97
+ # @return [HojinInfoResponse]
98
+ def get_commendation_using_get(x_hojin_info_api_token, corporate_number, opts = {})
99
+ data, _status_code, _headers = get_commendation_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts)
100
+ data
101
+ end
102
+
103
+ # gBizINFOから表彰情報を取得します.
104
+ # 指定された法人番号の情報を取得します。
105
+ # @param x_hojin_info_api_token [String] APIトークン
106
+ # @param corporate_number [String] 法人番号:法人番号を設定。 入力された法人番号を完全一致で検索。
107
+ # @param [Hash] opts the optional parameters
108
+ # @return [Array<(HojinInfoResponse, Integer, Hash)>] HojinInfoResponse data, response status code and response headers
109
+ def get_commendation_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts = {})
110
+ if @api_client.config.debugging
111
+ @api_client.config.logger.debug 'Calling API: GBizINFORESTAPIApi.get_commendation_using_get ...'
112
+ end
113
+ # verify the required parameter 'x_hojin_info_api_token' is set
114
+ if @api_client.config.client_side_validation && x_hojin_info_api_token.nil?
115
+ fail ArgumentError, "Missing the required parameter 'x_hojin_info_api_token' when calling GBizINFORESTAPIApi.get_commendation_using_get"
116
+ end
117
+ # verify the required parameter 'corporate_number' is set
118
+ if @api_client.config.client_side_validation && corporate_number.nil?
119
+ fail ArgumentError, "Missing the required parameter 'corporate_number' when calling GBizINFORESTAPIApi.get_commendation_using_get"
120
+ end
121
+ # resource path
122
+ local_var_path = '/v1/hojin/{corporate_number}/commendation'.sub('{' + 'corporate_number' + '}', CGI.escape(corporate_number.to_s))
123
+
124
+ # query parameters
125
+ query_params = opts[:query_params] || {}
126
+
127
+ # header parameters
128
+ header_params = opts[:header_params] || {}
129
+ # HTTP header 'Accept' (if needed)
130
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
131
+ header_params[:'X-hojinInfo-api-token'] = x_hojin_info_api_token
132
+
133
+ # form parameters
134
+ form_params = opts[:form_params] || {}
135
+
136
+ # http body (model)
137
+ post_body = opts[:debug_body]
138
+
139
+ # return_type
140
+ return_type = opts[:debug_return_type] || 'HojinInfoResponse'
141
+
142
+ # auth_names
143
+ auth_names = opts[:debug_auth_names] || []
144
+
145
+ new_options = opts.merge(
146
+ :operation => :"GBizINFORESTAPIApi.get_commendation_using_get",
147
+ :header_params => header_params,
148
+ :query_params => query_params,
149
+ :form_params => form_params,
150
+ :body => post_body,
151
+ :auth_names => auth_names,
152
+ :return_type => return_type
153
+ )
154
+
155
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
156
+ if @api_client.config.debugging
157
+ @api_client.config.logger.debug "API called: GBizINFORESTAPIApi#get_commendation_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
158
+ end
159
+ return data, status_code, headers
160
+ end
161
+
162
+ # gBizINFOから財務情報を取得します.
163
+ # 指定された法人番号の情報を取得します。
164
+ # @param x_hojin_info_api_token [String] APIトークン
165
+ # @param corporate_number [String] 法人番号:法人番号を設定。 入力された法人番号を完全一致で検索。
166
+ # @param [Hash] opts the optional parameters
167
+ # @return [HojinInfoResponse]
168
+ def get_finance_using_get(x_hojin_info_api_token, corporate_number, opts = {})
169
+ data, _status_code, _headers = get_finance_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts)
170
+ data
171
+ end
172
+
173
+ # gBizINFOから財務情報を取得します.
174
+ # 指定された法人番号の情報を取得します。
175
+ # @param x_hojin_info_api_token [String] APIトークン
176
+ # @param corporate_number [String] 法人番号:法人番号を設定。 入力された法人番号を完全一致で検索。
177
+ # @param [Hash] opts the optional parameters
178
+ # @return [Array<(HojinInfoResponse, Integer, Hash)>] HojinInfoResponse data, response status code and response headers
179
+ def get_finance_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts = {})
180
+ if @api_client.config.debugging
181
+ @api_client.config.logger.debug 'Calling API: GBizINFORESTAPIApi.get_finance_using_get ...'
182
+ end
183
+ # verify the required parameter 'x_hojin_info_api_token' is set
184
+ if @api_client.config.client_side_validation && x_hojin_info_api_token.nil?
185
+ fail ArgumentError, "Missing the required parameter 'x_hojin_info_api_token' when calling GBizINFORESTAPIApi.get_finance_using_get"
186
+ end
187
+ # verify the required parameter 'corporate_number' is set
188
+ if @api_client.config.client_side_validation && corporate_number.nil?
189
+ fail ArgumentError, "Missing the required parameter 'corporate_number' when calling GBizINFORESTAPIApi.get_finance_using_get"
190
+ end
191
+ # resource path
192
+ local_var_path = '/v1/hojin/{corporate_number}/finance'.sub('{' + 'corporate_number' + '}', CGI.escape(corporate_number.to_s))
193
+
194
+ # query parameters
195
+ query_params = opts[:query_params] || {}
196
+
197
+ # header parameters
198
+ header_params = opts[:header_params] || {}
199
+ # HTTP header 'Accept' (if needed)
200
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
201
+ header_params[:'X-hojinInfo-api-token'] = x_hojin_info_api_token
202
+
203
+ # form parameters
204
+ form_params = opts[:form_params] || {}
205
+
206
+ # http body (model)
207
+ post_body = opts[:debug_body]
208
+
209
+ # return_type
210
+ return_type = opts[:debug_return_type] || 'HojinInfoResponse'
211
+
212
+ # auth_names
213
+ auth_names = opts[:debug_auth_names] || []
214
+
215
+ new_options = opts.merge(
216
+ :operation => :"GBizINFORESTAPIApi.get_finance_using_get",
217
+ :header_params => header_params,
218
+ :query_params => query_params,
219
+ :form_params => form_params,
220
+ :body => post_body,
221
+ :auth_names => auth_names,
222
+ :return_type => return_type
223
+ )
224
+
225
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
226
+ if @api_client.config.debugging
227
+ @api_client.config.logger.debug "API called: GBizINFORESTAPIApi#get_finance_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
228
+ end
229
+ return data, status_code, headers
230
+ end
231
+
232
+ # gBizINFOから特許情報を取得します.
233
+ # 指定された法人番号の情報を取得します。
234
+ # @param x_hojin_info_api_token [String] APIトークン
235
+ # @param corporate_number [String] 法人番号:法人番号を設定。 入力された法人番号を完全一致で検索。
236
+ # @param [Hash] opts the optional parameters
237
+ # @return [HojinInfoResponse]
238
+ def get_patent_using_get(x_hojin_info_api_token, corporate_number, opts = {})
239
+ data, _status_code, _headers = get_patent_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts)
240
+ data
241
+ end
242
+
243
+ # gBizINFOから特許情報を取得します.
244
+ # 指定された法人番号の情報を取得します。
245
+ # @param x_hojin_info_api_token [String] APIトークン
246
+ # @param corporate_number [String] 法人番号:法人番号を設定。 入力された法人番号を完全一致で検索。
247
+ # @param [Hash] opts the optional parameters
248
+ # @return [Array<(HojinInfoResponse, Integer, Hash)>] HojinInfoResponse data, response status code and response headers
249
+ def get_patent_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts = {})
250
+ if @api_client.config.debugging
251
+ @api_client.config.logger.debug 'Calling API: GBizINFORESTAPIApi.get_patent_using_get ...'
252
+ end
253
+ # verify the required parameter 'x_hojin_info_api_token' is set
254
+ if @api_client.config.client_side_validation && x_hojin_info_api_token.nil?
255
+ fail ArgumentError, "Missing the required parameter 'x_hojin_info_api_token' when calling GBizINFORESTAPIApi.get_patent_using_get"
256
+ end
257
+ # verify the required parameter 'corporate_number' is set
258
+ if @api_client.config.client_side_validation && corporate_number.nil?
259
+ fail ArgumentError, "Missing the required parameter 'corporate_number' when calling GBizINFORESTAPIApi.get_patent_using_get"
260
+ end
261
+ # resource path
262
+ local_var_path = '/v1/hojin/{corporate_number}/patent'.sub('{' + 'corporate_number' + '}', CGI.escape(corporate_number.to_s))
263
+
264
+ # query parameters
265
+ query_params = opts[:query_params] || {}
266
+
267
+ # header parameters
268
+ header_params = opts[:header_params] || {}
269
+ # HTTP header 'Accept' (if needed)
270
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
271
+ header_params[:'X-hojinInfo-api-token'] = x_hojin_info_api_token
272
+
273
+ # form parameters
274
+ form_params = opts[:form_params] || {}
275
+
276
+ # http body (model)
277
+ post_body = opts[:debug_body]
278
+
279
+ # return_type
280
+ return_type = opts[:debug_return_type] || 'HojinInfoResponse'
281
+
282
+ # auth_names
283
+ auth_names = opts[:debug_auth_names] || []
284
+
285
+ new_options = opts.merge(
286
+ :operation => :"GBizINFORESTAPIApi.get_patent_using_get",
287
+ :header_params => header_params,
288
+ :query_params => query_params,
289
+ :form_params => form_params,
290
+ :body => post_body,
291
+ :auth_names => auth_names,
292
+ :return_type => return_type
293
+ )
294
+
295
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
296
+ if @api_client.config.debugging
297
+ @api_client.config.logger.debug "API called: GBizINFORESTAPIApi#get_patent_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
298
+ end
299
+ return data, status_code, headers
300
+ end
301
+
302
+ # gBizINFOから調達情報を取得します.
303
+ # 指定された法人番号の情報を取得します。
304
+ # @param x_hojin_info_api_token [String] APIトークン
305
+ # @param corporate_number [String] 法人番号:法人番号を設定。 入力された法人番号を完全一致で検索。
306
+ # @param [Hash] opts the optional parameters
307
+ # @return [HojinInfoResponse]
308
+ def get_procurement_using_get(x_hojin_info_api_token, corporate_number, opts = {})
309
+ data, _status_code, _headers = get_procurement_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts)
310
+ data
311
+ end
312
+
313
+ # gBizINFOから調達情報を取得します.
314
+ # 指定された法人番号の情報を取得します。
315
+ # @param x_hojin_info_api_token [String] APIトークン
316
+ # @param corporate_number [String] 法人番号:法人番号を設定。 入力された法人番号を完全一致で検索。
317
+ # @param [Hash] opts the optional parameters
318
+ # @return [Array<(HojinInfoResponse, Integer, Hash)>] HojinInfoResponse data, response status code and response headers
319
+ def get_procurement_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts = {})
320
+ if @api_client.config.debugging
321
+ @api_client.config.logger.debug 'Calling API: GBizINFORESTAPIApi.get_procurement_using_get ...'
322
+ end
323
+ # verify the required parameter 'x_hojin_info_api_token' is set
324
+ if @api_client.config.client_side_validation && x_hojin_info_api_token.nil?
325
+ fail ArgumentError, "Missing the required parameter 'x_hojin_info_api_token' when calling GBizINFORESTAPIApi.get_procurement_using_get"
326
+ end
327
+ # verify the required parameter 'corporate_number' is set
328
+ if @api_client.config.client_side_validation && corporate_number.nil?
329
+ fail ArgumentError, "Missing the required parameter 'corporate_number' when calling GBizINFORESTAPIApi.get_procurement_using_get"
330
+ end
331
+ # resource path
332
+ local_var_path = '/v1/hojin/{corporate_number}/procurement'.sub('{' + 'corporate_number' + '}', CGI.escape(corporate_number.to_s))
333
+
334
+ # query parameters
335
+ query_params = opts[:query_params] || {}
336
+
337
+ # header parameters
338
+ header_params = opts[:header_params] || {}
339
+ # HTTP header 'Accept' (if needed)
340
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
341
+ header_params[:'X-hojinInfo-api-token'] = x_hojin_info_api_token
342
+
343
+ # form parameters
344
+ form_params = opts[:form_params] || {}
345
+
346
+ # http body (model)
347
+ post_body = opts[:debug_body]
348
+
349
+ # return_type
350
+ return_type = opts[:debug_return_type] || 'HojinInfoResponse'
351
+
352
+ # auth_names
353
+ auth_names = opts[:debug_auth_names] || []
354
+
355
+ new_options = opts.merge(
356
+ :operation => :"GBizINFORESTAPIApi.get_procurement_using_get",
357
+ :header_params => header_params,
358
+ :query_params => query_params,
359
+ :form_params => form_params,
360
+ :body => post_body,
361
+ :auth_names => auth_names,
362
+ :return_type => return_type
363
+ )
364
+
365
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
366
+ if @api_client.config.debugging
367
+ @api_client.config.logger.debug "API called: GBizINFORESTAPIApi#get_procurement_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
368
+ end
369
+ return data, status_code, headers
370
+ end
371
+
372
+ # gBizINFOから補助金情報を取得します.
373
+ # 指定された法人番号の情報を取得します。
374
+ # @param x_hojin_info_api_token [String] APIトークン
375
+ # @param corporate_number [String] 法人番号:法人番号を設定。 入力された法人番号を完全一致で検索。
376
+ # @param [Hash] opts the optional parameters
377
+ # @return [HojinInfoResponse]
378
+ def get_subsidy_using_get(x_hojin_info_api_token, corporate_number, opts = {})
379
+ data, _status_code, _headers = get_subsidy_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts)
380
+ data
381
+ end
382
+
383
+ # gBizINFOから補助金情報を取得します.
384
+ # 指定された法人番号の情報を取得します。
385
+ # @param x_hojin_info_api_token [String] APIトークン
386
+ # @param corporate_number [String] 法人番号:法人番号を設定。 入力された法人番号を完全一致で検索。
387
+ # @param [Hash] opts the optional parameters
388
+ # @return [Array<(HojinInfoResponse, Integer, Hash)>] HojinInfoResponse data, response status code and response headers
389
+ def get_subsidy_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts = {})
390
+ if @api_client.config.debugging
391
+ @api_client.config.logger.debug 'Calling API: GBizINFORESTAPIApi.get_subsidy_using_get ...'
392
+ end
393
+ # verify the required parameter 'x_hojin_info_api_token' is set
394
+ if @api_client.config.client_side_validation && x_hojin_info_api_token.nil?
395
+ fail ArgumentError, "Missing the required parameter 'x_hojin_info_api_token' when calling GBizINFORESTAPIApi.get_subsidy_using_get"
396
+ end
397
+ # verify the required parameter 'corporate_number' is set
398
+ if @api_client.config.client_side_validation && corporate_number.nil?
399
+ fail ArgumentError, "Missing the required parameter 'corporate_number' when calling GBizINFORESTAPIApi.get_subsidy_using_get"
400
+ end
401
+ # resource path
402
+ local_var_path = '/v1/hojin/{corporate_number}/subsidy'.sub('{' + 'corporate_number' + '}', CGI.escape(corporate_number.to_s))
403
+
404
+ # query parameters
405
+ query_params = opts[:query_params] || {}
406
+
407
+ # header parameters
408
+ header_params = opts[:header_params] || {}
409
+ # HTTP header 'Accept' (if needed)
410
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
411
+ header_params[:'X-hojinInfo-api-token'] = x_hojin_info_api_token
412
+
413
+ # form parameters
414
+ form_params = opts[:form_params] || {}
415
+
416
+ # http body (model)
417
+ post_body = opts[:debug_body]
418
+
419
+ # return_type
420
+ return_type = opts[:debug_return_type] || 'HojinInfoResponse'
421
+
422
+ # auth_names
423
+ auth_names = opts[:debug_auth_names] || []
424
+
425
+ new_options = opts.merge(
426
+ :operation => :"GBizINFORESTAPIApi.get_subsidy_using_get",
427
+ :header_params => header_params,
428
+ :query_params => query_params,
429
+ :form_params => form_params,
430
+ :body => post_body,
431
+ :auth_names => auth_names,
432
+ :return_type => return_type
433
+ )
434
+
435
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
436
+ if @api_client.config.debugging
437
+ @api_client.config.logger.debug "API called: GBizINFORESTAPIApi#get_subsidy_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
438
+ end
439
+ return data, status_code, headers
440
+ end
441
+
442
+ # gBizINFOから法人基本情報を取得します.
443
+ # 指定された法人番号の情報を取得します。
444
+ # @param x_hojin_info_api_token [String] APIトークン
445
+ # @param corporate_number [String] 法人番号:法人番号を設定。 入力された法人番号を完全一致で検索。
446
+ # @param [Hash] opts the optional parameters
447
+ # @return [HojinInfoResponse]
448
+ def get_using_get(x_hojin_info_api_token, corporate_number, opts = {})
449
+ data, _status_code, _headers = get_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts)
450
+ data
451
+ end
452
+
453
+ # gBizINFOから法人基本情報を取得します.
454
+ # 指定された法人番号の情報を取得します。
455
+ # @param x_hojin_info_api_token [String] APIトークン
456
+ # @param corporate_number [String] 法人番号:法人番号を設定。 入力された法人番号を完全一致で検索。
457
+ # @param [Hash] opts the optional parameters
458
+ # @return [Array<(HojinInfoResponse, Integer, Hash)>] HojinInfoResponse data, response status code and response headers
459
+ def get_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts = {})
460
+ if @api_client.config.debugging
461
+ @api_client.config.logger.debug 'Calling API: GBizINFORESTAPIApi.get_using_get ...'
462
+ end
463
+ # verify the required parameter 'x_hojin_info_api_token' is set
464
+ if @api_client.config.client_side_validation && x_hojin_info_api_token.nil?
465
+ fail ArgumentError, "Missing the required parameter 'x_hojin_info_api_token' when calling GBizINFORESTAPIApi.get_using_get"
466
+ end
467
+ # verify the required parameter 'corporate_number' is set
468
+ if @api_client.config.client_side_validation && corporate_number.nil?
469
+ fail ArgumentError, "Missing the required parameter 'corporate_number' when calling GBizINFORESTAPIApi.get_using_get"
470
+ end
471
+ # resource path
472
+ local_var_path = '/v1/hojin/{corporate_number}'.sub('{' + 'corporate_number' + '}', CGI.escape(corporate_number.to_s))
473
+
474
+ # query parameters
475
+ query_params = opts[:query_params] || {}
476
+
477
+ # header parameters
478
+ header_params = opts[:header_params] || {}
479
+ # HTTP header 'Accept' (if needed)
480
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
481
+ header_params[:'X-hojinInfo-api-token'] = x_hojin_info_api_token
482
+
483
+ # form parameters
484
+ form_params = opts[:form_params] || {}
485
+
486
+ # http body (model)
487
+ post_body = opts[:debug_body]
488
+
489
+ # return_type
490
+ return_type = opts[:debug_return_type] || 'HojinInfoResponse'
491
+
492
+ # auth_names
493
+ auth_names = opts[:debug_auth_names] || []
494
+
495
+ new_options = opts.merge(
496
+ :operation => :"GBizINFORESTAPIApi.get_using_get",
497
+ :header_params => header_params,
498
+ :query_params => query_params,
499
+ :form_params => form_params,
500
+ :body => post_body,
501
+ :auth_names => auth_names,
502
+ :return_type => return_type
503
+ )
504
+
505
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
506
+ if @api_client.config.debugging
507
+ @api_client.config.logger.debug "API called: GBizINFORESTAPIApi#get_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
508
+ end
509
+ return data, status_code, headers
510
+ end
511
+
512
+ # gBizINFOから職場情報を取得します.
513
+ # 指定された法人番号の情報を取得します。
514
+ # @param x_hojin_info_api_token [String] APIトークン
515
+ # @param corporate_number [String] 法人番号:法人番号を設定。 入力された法人番号を完全一致で検索。
516
+ # @param [Hash] opts the optional parameters
517
+ # @return [HojinInfoResponse]
518
+ def get_workplace_information_using_get(x_hojin_info_api_token, corporate_number, opts = {})
519
+ data, _status_code, _headers = get_workplace_information_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts)
520
+ data
521
+ end
522
+
523
+ # gBizINFOから職場情報を取得します.
524
+ # 指定された法人番号の情報を取得します。
525
+ # @param x_hojin_info_api_token [String] APIトークン
526
+ # @param corporate_number [String] 法人番号:法人番号を設定。 入力された法人番号を完全一致で検索。
527
+ # @param [Hash] opts the optional parameters
528
+ # @return [Array<(HojinInfoResponse, Integer, Hash)>] HojinInfoResponse data, response status code and response headers
529
+ def get_workplace_information_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts = {})
530
+ if @api_client.config.debugging
531
+ @api_client.config.logger.debug 'Calling API: GBizINFORESTAPIApi.get_workplace_information_using_get ...'
532
+ end
533
+ # verify the required parameter 'x_hojin_info_api_token' is set
534
+ if @api_client.config.client_side_validation && x_hojin_info_api_token.nil?
535
+ fail ArgumentError, "Missing the required parameter 'x_hojin_info_api_token' when calling GBizINFORESTAPIApi.get_workplace_information_using_get"
536
+ end
537
+ # verify the required parameter 'corporate_number' is set
538
+ if @api_client.config.client_side_validation && corporate_number.nil?
539
+ fail ArgumentError, "Missing the required parameter 'corporate_number' when calling GBizINFORESTAPIApi.get_workplace_information_using_get"
540
+ end
541
+ # resource path
542
+ local_var_path = '/v1/hojin/{corporate_number}/workplace'.sub('{' + 'corporate_number' + '}', CGI.escape(corporate_number.to_s))
543
+
544
+ # query parameters
545
+ query_params = opts[:query_params] || {}
546
+
547
+ # header parameters
548
+ header_params = opts[:header_params] || {}
549
+ # HTTP header 'Accept' (if needed)
550
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
551
+ header_params[:'X-hojinInfo-api-token'] = x_hojin_info_api_token
552
+
553
+ # form parameters
554
+ form_params = opts[:form_params] || {}
555
+
556
+ # http body (model)
557
+ post_body = opts[:debug_body]
558
+
559
+ # return_type
560
+ return_type = opts[:debug_return_type] || 'HojinInfoResponse'
561
+
562
+ # auth_names
563
+ auth_names = opts[:debug_auth_names] || []
564
+
565
+ new_options = opts.merge(
566
+ :operation => :"GBizINFORESTAPIApi.get_workplace_information_using_get",
567
+ :header_params => header_params,
568
+ :query_params => query_params,
569
+ :form_params => form_params,
570
+ :body => post_body,
571
+ :auth_names => auth_names,
572
+ :return_type => return_type
573
+ )
574
+
575
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
576
+ if @api_client.config.debugging
577
+ @api_client.config.logger.debug "API called: GBizINFORESTAPIApi#get_workplace_information_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
578
+ end
579
+ return data, status_code, headers
580
+ end
581
+
582
+ # gBizINFOに登録された法人を検索します.
583
+ # gBizINFOに登録された法人を検索します。
584
+ # @param x_hojin_info_api_token [String] APIトークン
585
+ # @param [Hash] opts the optional parameters
586
+ # @option opts [String] :corporate_number 法人番号:法人番号を設定。 入力された法人番号を完全一致で検索。
587
+ # @option opts [String] :name 法人名:法人名を設定。 入力された法人名を部分一致で検索。
588
+ # @option opts [String] :exist_flg 法人活動情報:以下のコードを設定。 true あり false なし
589
+ # @option opts [String] :corporate_type 法人種別:以下のコードを設定。 101 国の機関 201 地方公共団体 301 株式会社 302 有限会社 303 合名会社 304 合資会社 305 合同会社 399 その他の設立登記法人 401 外国会社等 499 その他 複数の場合はカンマ区切りでコードを設定。
590
+ # @option opts [String] :prefecture 所在地(都道府県):JIS X 0401都道府県コードを設定。
591
+ # @option opts [String] :city 所在地(市区町村):総務省地方公共団体コードの市区町村コードを設定。(prefecture設定必須)
592
+ # @option opts [String] :capital_stock_from 資本金(以上):資本金の下限を設定。0以上の整数を設定。
593
+ # @option opts [String] :capital_stock_to 資本金(以下):資本金の上限を設定。0以上の整数を設定。
594
+ # @option opts [String] :employee_number_from 従業員数(以上):従業員数の下限を設定。0以上の整数を設定。
595
+ # @option opts [String] :employee_number_to 従業員数(以下):従業員数の上限を設定。0以上の整数を設定。
596
+ # @option opts [String] :founded_year 創業年・設立年:正の整数を設定。 複数の場合はカンマ区切りで年を設定。
597
+ # @option opts [String] :sales_area 営業エリア:https://info.gbiz.go.jp/codelist/document/codelist.pdf 地域対応表のgBizINFOのマスターコードを設定。 複数の場合はカンマ区切りでコードを設定。
598
+ # @option opts [String] :business_item 全省庁統一資格の営業品目:https://info.gbiz.go.jp/codelist/document/codelist.pdf 営業品目コードを設定。 複数の場合はカンマ区切りでコードを設定。
599
+ # @option opts [String] :unified_qualification 全省庁統一資格の資格等級(従来型):従来型の資格等級指定を行う場合に使用する。資格等級(物品の製造、物品の販売、役務の提供等、物品の買受け)のいずれかがA,B,C,Dであるものを指定。複数指定の場合は半角カンマ区切りで半角コードを設定。
600
+ # @option opts [String] :unified_qualification_sub01 全省庁統一資格の資格等級(物品の製造):物品の製造をA,B,C,Dで指定。複数指定の場合は半角カンマ区切りで半角コードを設定。
601
+ # @option opts [String] :unified_qualification_sub02 全省庁統一資格の資格等級(物品の販売):物品の販売をA,B,C,Dで指定。複数指定の場合は半角カンマ区切りで半角コードを設定。
602
+ # @option opts [String] :unified_qualification_sub03 全省庁統一資格の資格等級(役務の提供等):役務の提供等をA,B,C,Dで指定。複数指定の場合は半角カンマ区切りで半角コードを設定。
603
+ # @option opts [String] :unified_qualification_sub04 全省庁統一資格の資格等級(物品の買受け):物品の買受けをA,B,C,Dで指定。複数指定の場合は半角カンマ区切りで半角コードを設定。
604
+ # @option opts [String] :net_sales_summary_of_business_results_from 売上高(以上):売上高の下限を設定。0以上の整数を設定。
605
+ # @option opts [String] :net_sales_summary_of_business_results_to 売上高(以下):売上高の上限を設定。0以上の整数を設定。
606
+ # @option opts [String] :net_income_loss_summary_of_business_results_from 当期純利益又は当期純損失(△)(以上):当期純利益又は当期純損失(△)の下限を設定。0以上の整数を設定。
607
+ # @option opts [String] :net_income_loss_summary_of_business_results_to 当期純利益又は当期純損失(△)(以下):当期純利益又は当期純損失(△)の上限を設定。0以上の整数を設定。
608
+ # @option opts [String] :total_assets_summary_of_business_results_from 総資産額(以上):総資産額の下限を設定。0以上の整数を設定。
609
+ # @option opts [String] :total_assets_summary_of_business_results_to 総資産額(以下):総資産額の上限を設定。0以上の整数を設定。
610
+ # @option opts [String] :name_major_shareholders 大株主名:大株主名を設定。 入力された大株主名を部分一致で検索。
611
+ # @option opts [String] :average_continuous_service_years 平均継続勤務年数:以下のコードを設定。 A:~5年 B:6年~10年 C:11年~20年 D:21年~
612
+ # @option opts [String] :average_age 従業員の平均年齢:以下のコードを設定。 A:~30歳 B:31歳~45歳 C:46歳~60歳 D:61歳~
613
+ # @option opts [String] :month_average_predetermined_overtime_hours 月平均所定外労働時間:以下のコードを設定。 A:20時間未満 B:40時間未満 C:40時間以上
614
+ # @option opts [String] :female_workers_proportion 労働者に占める女性労働者の割合:以下のコードを設定。 A:~20% B:21%~40% C:41%~60% D:61%~
615
+ # @option opts [String] :year 年度:正の整数を設定。 複数の場合はカンマ区切りで年を設定。
616
+ # @option opts [String] :ministry 担当府省: 担当府省コードの内部コードを指定。複数の場合はカンマ区切りでコードを設定。 内部コードは以下。 https://info.gbiz.go.jp/common/data/setcodelist.pdf
617
+ # @option opts [String] :source 出典元:以下のコードを設定。 1 調達 2 表彰 3 届出認定 4 補助金 5 特許 6 財務 複数の場合はカンマ区切りでコードを設定。
618
+ # @option opts [String] :page 検索結果のページ番号:正の整数を設定。 下限値1,上限値10。 (default to '1')
619
+ # @option opts [String] :limit 検索結果の1ページあたりの件数:0以上の整数を設定。 下限値0,上限値5000。 (default to '1000')
620
+ # @return [HojinInfoResponse]
621
+ def search_info_using_get(x_hojin_info_api_token, opts = {})
622
+ data, _status_code, _headers = search_info_using_get_with_http_info(x_hojin_info_api_token, opts)
623
+ data
624
+ end
625
+
626
+ # gBizINFOに登録された法人を検索します.
627
+ # gBizINFOに登録された法人を検索します。
628
+ # @param x_hojin_info_api_token [String] APIトークン
629
+ # @param [Hash] opts the optional parameters
630
+ # @option opts [String] :corporate_number 法人番号:法人番号を設定。 入力された法人番号を完全一致で検索。
631
+ # @option opts [String] :name 法人名:法人名を設定。 入力された法人名を部分一致で検索。
632
+ # @option opts [String] :exist_flg 法人活動情報:以下のコードを設定。 true あり false なし
633
+ # @option opts [String] :corporate_type 法人種別:以下のコードを設定。 101 国の機関 201 地方公共団体 301 株式会社 302 有限会社 303 合名会社 304 合資会社 305 合同会社 399 その他の設立登記法人 401 外国会社等 499 その他 複数の場合はカンマ区切りでコードを設定。
634
+ # @option opts [String] :prefecture 所在地(都道府県):JIS X 0401都道府県コードを設定。
635
+ # @option opts [String] :city 所在地(市区町村):総務省地方公共団体コードの市区町村コードを設定。(prefecture設定必須)
636
+ # @option opts [String] :capital_stock_from 資本金(以上):資本金の下限を設定。0以上の整数を設定。
637
+ # @option opts [String] :capital_stock_to 資本金(以下):資本金の上限を設定。0以上の整数を設定。
638
+ # @option opts [String] :employee_number_from 従業員数(以上):従業員数の下限を設定。0以上の整数を設定。
639
+ # @option opts [String] :employee_number_to 従業員数(以下):従業員数の上限を設定。0以上の整数を設定。
640
+ # @option opts [String] :founded_year 創業年・設立年:正の整数を設定。 複数の場合はカンマ区切りで年を設定。
641
+ # @option opts [String] :sales_area 営業エリア:https://info.gbiz.go.jp/codelist/document/codelist.pdf 地域対応表のgBizINFOのマスターコードを設定。 複数の場合はカンマ区切りでコードを設定。
642
+ # @option opts [String] :business_item 全省庁統一資格の営業品目:https://info.gbiz.go.jp/codelist/document/codelist.pdf 営業品目コードを設定。 複数の場合はカンマ区切りでコードを設定。
643
+ # @option opts [String] :unified_qualification 全省庁統一資格の資格等級(従来型):従来型の資格等級指定を行う場合に使用する。資格等級(物品の製造、物品の販売、役務の提供等、物品の買受け)のいずれかがA,B,C,Dであるものを指定。複数指定の場合は半角カンマ区切りで半角コードを設定。
644
+ # @option opts [String] :unified_qualification_sub01 全省庁統一資格の資格等級(物品の製造):物品の製造をA,B,C,Dで指定。複数指定の場合は半角カンマ区切りで半角コードを設定。
645
+ # @option opts [String] :unified_qualification_sub02 全省庁統一資格の資格等級(物品の販売):物品の販売をA,B,C,Dで指定。複数指定の場合は半角カンマ区切りで半角コードを設定。
646
+ # @option opts [String] :unified_qualification_sub03 全省庁統一資格の資格等級(役務の提供等):役務の提供等をA,B,C,Dで指定。複数指定の場合は半角カンマ区切りで半角コードを設定。
647
+ # @option opts [String] :unified_qualification_sub04 全省庁統一資格の資格等級(物品の買受け):物品の買受けをA,B,C,Dで指定。複数指定の場合は半角カンマ区切りで半角コードを設定。
648
+ # @option opts [String] :net_sales_summary_of_business_results_from 売上高(以上):売上高の下限を設定。0以上の整数を設定。
649
+ # @option opts [String] :net_sales_summary_of_business_results_to 売上高(以下):売上高の上限を設定。0以上の整数を設定。
650
+ # @option opts [String] :net_income_loss_summary_of_business_results_from 当期純利益又は当期純損失(△)(以上):当期純利益又は当期純損失(△)の下限を設定。0以上の整数を設定。
651
+ # @option opts [String] :net_income_loss_summary_of_business_results_to 当期純利益又は当期純損失(△)(以下):当期純利益又は当期純損失(△)の上限を設定。0以上の整数を設定。
652
+ # @option opts [String] :total_assets_summary_of_business_results_from 総資産額(以上):総資産額の下限を設定。0以上の整数を設定。
653
+ # @option opts [String] :total_assets_summary_of_business_results_to 総資産額(以下):総資産額の上限を設定。0以上の整数を設定。
654
+ # @option opts [String] :name_major_shareholders 大株主名:大株主名を設定。 入力された大株主名を部分一致で検索。
655
+ # @option opts [String] :average_continuous_service_years 平均継続勤務年数:以下のコードを設定。 A:~5年 B:6年~10年 C:11年~20年 D:21年~
656
+ # @option opts [String] :average_age 従業員の平均年齢:以下のコードを設定。 A:~30歳 B:31歳~45歳 C:46歳~60歳 D:61歳~
657
+ # @option opts [String] :month_average_predetermined_overtime_hours 月平均所定外労働時間:以下のコードを設定。 A:20時間未満 B:40時間未満 C:40時間以上
658
+ # @option opts [String] :female_workers_proportion 労働者に占める女性労働者の割合:以下のコードを設定。 A:~20% B:21%~40% C:41%~60% D:61%~
659
+ # @option opts [String] :year 年度:正の整数を設定。 複数の場合はカンマ区切りで年を設定。
660
+ # @option opts [String] :ministry 担当府省: 担当府省コードの内部コードを指定。複数の場合はカンマ区切りでコードを設定。 内部コードは以下。 https://info.gbiz.go.jp/common/data/setcodelist.pdf
661
+ # @option opts [String] :source 出典元:以下のコードを設定。 1 調達 2 表彰 3 届出認定 4 補助金 5 特許 6 財務 複数の場合はカンマ区切りでコードを設定。
662
+ # @option opts [String] :page 検索結果のページ番号:正の整数を設定。 下限値1,上限値10。 (default to '1')
663
+ # @option opts [String] :limit 検索結果の1ページあたりの件数:0以上の整数を設定。 下限値0,上限値5000。 (default to '1000')
664
+ # @return [Array<(HojinInfoResponse, Integer, Hash)>] HojinInfoResponse data, response status code and response headers
665
+ def search_info_using_get_with_http_info(x_hojin_info_api_token, opts = {})
666
+ if @api_client.config.debugging
667
+ @api_client.config.logger.debug 'Calling API: GBizINFORESTAPIApi.search_info_using_get ...'
668
+ end
669
+ # verify the required parameter 'x_hojin_info_api_token' is set
670
+ if @api_client.config.client_side_validation && x_hojin_info_api_token.nil?
671
+ fail ArgumentError, "Missing the required parameter 'x_hojin_info_api_token' when calling GBizINFORESTAPIApi.search_info_using_get"
672
+ end
673
+ # resource path
674
+ local_var_path = '/v1/hojin'
675
+
676
+ # query parameters
677
+ query_params = opts[:query_params] || {}
678
+ query_params[:'corporate_number'] = opts[:'corporate_number'] if !opts[:'corporate_number'].nil?
679
+ query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
680
+ query_params[:'exist_flg'] = opts[:'exist_flg'] if !opts[:'exist_flg'].nil?
681
+ query_params[:'corporate_type'] = opts[:'corporate_type'] if !opts[:'corporate_type'].nil?
682
+ query_params[:'prefecture'] = opts[:'prefecture'] if !opts[:'prefecture'].nil?
683
+ query_params[:'city'] = opts[:'city'] if !opts[:'city'].nil?
684
+ query_params[:'capital_stock_from'] = opts[:'capital_stock_from'] if !opts[:'capital_stock_from'].nil?
685
+ query_params[:'capital_stock_to'] = opts[:'capital_stock_to'] if !opts[:'capital_stock_to'].nil?
686
+ query_params[:'employee_number_from'] = opts[:'employee_number_from'] if !opts[:'employee_number_from'].nil?
687
+ query_params[:'employee_number_to'] = opts[:'employee_number_to'] if !opts[:'employee_number_to'].nil?
688
+ query_params[:'founded_year'] = opts[:'founded_year'] if !opts[:'founded_year'].nil?
689
+ query_params[:'sales_area'] = opts[:'sales_area'] if !opts[:'sales_area'].nil?
690
+ query_params[:'business_item'] = opts[:'business_item'] if !opts[:'business_item'].nil?
691
+ query_params[:'unified_qualification'] = opts[:'unified_qualification'] if !opts[:'unified_qualification'].nil?
692
+ query_params[:'unified_qualification_sub01'] = opts[:'unified_qualification_sub01'] if !opts[:'unified_qualification_sub01'].nil?
693
+ query_params[:'unified_qualification_sub02'] = opts[:'unified_qualification_sub02'] if !opts[:'unified_qualification_sub02'].nil?
694
+ query_params[:'unified_qualification_sub03'] = opts[:'unified_qualification_sub03'] if !opts[:'unified_qualification_sub03'].nil?
695
+ query_params[:'unified_qualification_sub04'] = opts[:'unified_qualification_sub04'] if !opts[:'unified_qualification_sub04'].nil?
696
+ query_params[:'net_sales_summary_of_business_results_from'] = opts[:'net_sales_summary_of_business_results_from'] if !opts[:'net_sales_summary_of_business_results_from'].nil?
697
+ query_params[:'net_sales_summary_of_business_results_to'] = opts[:'net_sales_summary_of_business_results_to'] if !opts[:'net_sales_summary_of_business_results_to'].nil?
698
+ query_params[:'net_income_loss_summary_of_business_results_from'] = opts[:'net_income_loss_summary_of_business_results_from'] if !opts[:'net_income_loss_summary_of_business_results_from'].nil?
699
+ query_params[:'net_income_loss_summary_of_business_results_to'] = opts[:'net_income_loss_summary_of_business_results_to'] if !opts[:'net_income_loss_summary_of_business_results_to'].nil?
700
+ query_params[:'total_assets_summary_of_business_results_from'] = opts[:'total_assets_summary_of_business_results_from'] if !opts[:'total_assets_summary_of_business_results_from'].nil?
701
+ query_params[:'total_assets_summary_of_business_results_to'] = opts[:'total_assets_summary_of_business_results_to'] if !opts[:'total_assets_summary_of_business_results_to'].nil?
702
+ query_params[:'name_major_shareholders'] = opts[:'name_major_shareholders'] if !opts[:'name_major_shareholders'].nil?
703
+ query_params[:'average_continuous_service_years'] = opts[:'average_continuous_service_years'] if !opts[:'average_continuous_service_years'].nil?
704
+ query_params[:'average_age'] = opts[:'average_age'] if !opts[:'average_age'].nil?
705
+ query_params[:'month_average_predetermined_overtime_hours'] = opts[:'month_average_predetermined_overtime_hours'] if !opts[:'month_average_predetermined_overtime_hours'].nil?
706
+ query_params[:'female_workers_proportion'] = opts[:'female_workers_proportion'] if !opts[:'female_workers_proportion'].nil?
707
+ query_params[:'year'] = opts[:'year'] if !opts[:'year'].nil?
708
+ query_params[:'ministry'] = opts[:'ministry'] if !opts[:'ministry'].nil?
709
+ query_params[:'source'] = opts[:'source'] if !opts[:'source'].nil?
710
+ query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
711
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
712
+
713
+ # header parameters
714
+ header_params = opts[:header_params] || {}
715
+ # HTTP header 'Accept' (if needed)
716
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
717
+ header_params[:'X-hojinInfo-api-token'] = x_hojin_info_api_token
718
+
719
+ # form parameters
720
+ form_params = opts[:form_params] || {}
721
+
722
+ # http body (model)
723
+ post_body = opts[:debug_body]
724
+
725
+ # return_type
726
+ return_type = opts[:debug_return_type] || 'HojinInfoResponse'
727
+
728
+ # auth_names
729
+ auth_names = opts[:debug_auth_names] || []
730
+
731
+ new_options = opts.merge(
732
+ :operation => :"GBizINFORESTAPIApi.search_info_using_get",
733
+ :header_params => header_params,
734
+ :query_params => query_params,
735
+ :form_params => form_params,
736
+ :body => post_body,
737
+ :auth_names => auth_names,
738
+ :return_type => return_type
739
+ )
740
+
741
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
742
+ if @api_client.config.debugging
743
+ @api_client.config.logger.debug "API called: GBizINFORESTAPIApi#search_info_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
744
+ end
745
+ return data, status_code, headers
746
+ end
747
+ end
748
+ end