lib/kuapir/api/films_api.rb in kuapir-0.1.2 vs lib/kuapir/api/films_api.rb in kuapir-0.1.3
- old
+ new
@@ -32,13 +32,13 @@
# verify the required parameter 'id' is set
if @api_client.config.client_side_validation && id.nil?
raise ArgumentError,
"Missing the required parameter 'id' when calling FilmsApi.api_v21_films_id_sequels_and_prequels_get"
end
- if @api_client.config.client_side_validation && id > 5000000
+ if @api_client.config.client_side_validation && id > 500_000_000
raise ArgumentError,
- 'invalid value for "id" when calling FilmsApi.api_v21_films_id_sequels_and_prequels_get, must be smaller than or equal to 5000000.'
+ 'invalid value for "id" when calling FilmsApi.api_v21_films_id_sequels_and_prequels_get, must be smaller than or equal to 500_000_000.'
end
if @api_client.config.client_side_validation && id < 1
raise ArgumentError,
'invalid value for "id" when calling FilmsApi.api_v21_films_id_sequels_and_prequels_get, must be greater than or equal to 1.'
@@ -446,13 +446,13 @@
# verify the required parameter 'id' is set
if @api_client.config.client_side_validation && id.nil?
raise ArgumentError,
"Missing the required parameter 'id' when calling FilmsApi.api_v22_films_id_box_office_get"
end
- if @api_client.config.client_side_validation && id > 5000000
+ if @api_client.config.client_side_validation && id > 500_000_000
raise ArgumentError,
- 'invalid value for "id" when calling FilmsApi.api_v22_films_id_box_office_get, must be smaller than or equal to 5000000.'
+ 'invalid value for "id" when calling FilmsApi.api_v22_films_id_box_office_get, must be smaller than or equal to 500_000_000.'
end
if @api_client.config.client_side_validation && id < 1
raise ArgumentError,
'invalid value for "id" when calling FilmsApi.api_v22_films_id_box_office_get, must be greater than or equal to 1.'
@@ -520,13 +520,13 @@
# verify the required parameter 'id' is set
if @api_client.config.client_side_validation && id.nil?
raise ArgumentError,
"Missing the required parameter 'id' when calling FilmsApi.api_v22_films_id_distributions_get"
end
- if @api_client.config.client_side_validation && id > 5000000
+ if @api_client.config.client_side_validation && id > 500_000_000
raise ArgumentError,
- 'invalid value for "id" when calling FilmsApi.api_v22_films_id_distributions_get, must be smaller than or equal to 5000000.'
+ 'invalid value for "id" when calling FilmsApi.api_v22_films_id_distributions_get, must be smaller than or equal to 500_000_000.'
end
if @api_client.config.client_side_validation && id < 1
raise ArgumentError,
'invalid value for "id" when calling FilmsApi.api_v22_films_id_distributions_get, must be greater than or equal to 1.'
@@ -594,13 +594,13 @@
# verify the required parameter 'id' is set
if @api_client.config.client_side_validation && id.nil?
raise ArgumentError,
"Missing the required parameter 'id' when calling FilmsApi.api_v22_films_id_facts_get"
end
- if @api_client.config.client_side_validation && id > 5000000
+ if @api_client.config.client_side_validation && id > 500_000_000
raise ArgumentError,
- 'invalid value for "id" when calling FilmsApi.api_v22_films_id_facts_get, must be smaller than or equal to 5000000.'
+ 'invalid value for "id" when calling FilmsApi.api_v22_films_id_facts_get, must be smaller than or equal to 500_000_000.'
end
if @api_client.config.client_side_validation && id < 1
raise ArgumentError,
'invalid value for "id" when calling FilmsApi.api_v22_films_id_facts_get, must be greater than or equal to 1.'
@@ -666,13 +666,13 @@
# verify the required parameter 'id' is set
if @api_client.config.client_side_validation && id.nil?
raise ArgumentError,
"Missing the required parameter 'id' when calling FilmsApi.api_v22_films_id_get"
end
- if @api_client.config.client_side_validation && id > 5000000
+ if @api_client.config.client_side_validation && id > 500_000_000
raise ArgumentError,
- 'invalid value for "id" when calling FilmsApi.api_v22_films_id_get, must be smaller than or equal to 5000000.'
+ 'invalid value for "id" when calling FilmsApi.api_v22_films_id_get, must be smaller than or equal to 500_000_000.'
end
if @api_client.config.client_side_validation && id < 1
raise ArgumentError,
'invalid value for "id" when calling FilmsApi.api_v22_films_id_get, must be greater than or equal to 1.'
@@ -744,13 +744,13 @@
# verify the required parameter 'id' is set
if @api_client.config.client_side_validation && id.nil?
raise ArgumentError,
"Missing the required parameter 'id' when calling FilmsApi.api_v22_films_id_images_get"
end
- if @api_client.config.client_side_validation && id > 5000000
+ if @api_client.config.client_side_validation && id > 500_000_000
raise ArgumentError,
- 'invalid value for "id" when calling FilmsApi.api_v22_films_id_images_get, must be smaller than or equal to 5000000.'
+ 'invalid value for "id" when calling FilmsApi.api_v22_films_id_images_get, must be smaller than or equal to 500_000_000.'
end
if @api_client.config.client_side_validation && id < 1
raise ArgumentError,
'invalid value for "id" when calling FilmsApi.api_v22_films_id_images_get, must be greater than or equal to 1.'
@@ -835,13 +835,13 @@
# verify the required parameter 'id' is set
if @api_client.config.client_side_validation && id.nil?
raise ArgumentError,
"Missing the required parameter 'id' when calling FilmsApi.api_v22_films_id_seasons_get"
end
- if @api_client.config.client_side_validation && id > 5000000
+ if @api_client.config.client_side_validation && id > 500_000_000
raise ArgumentError,
- 'invalid value for "id" when calling FilmsApi.api_v22_films_id_seasons_get, must be smaller than or equal to 5000000.'
+ 'invalid value for "id" when calling FilmsApi.api_v22_films_id_seasons_get, must be smaller than or equal to 500_000_000.'
end
if @api_client.config.client_side_validation && id < 1
raise ArgumentError,
'invalid value for "id" when calling FilmsApi.api_v22_films_id_seasons_get, must be greater than or equal to 1.'
@@ -907,13 +907,13 @@
# verify the required parameter 'id' is set
if @api_client.config.client_side_validation && id.nil?
raise ArgumentError,
"Missing the required parameter 'id' when calling FilmsApi.api_v22_films_id_similars_get"
end
- if @api_client.config.client_side_validation && id > 5000000
+ if @api_client.config.client_side_validation && id > 500_000_000
raise ArgumentError,
- 'invalid value for "id" when calling FilmsApi.api_v22_films_id_similars_get, must be smaller than or equal to 5000000.'
+ 'invalid value for "id" when calling FilmsApi.api_v22_films_id_similars_get, must be smaller than or equal to 500_000_000.'
end
if @api_client.config.client_side_validation && id < 1
raise ArgumentError,
'invalid value for "id" when calling FilmsApi.api_v22_films_id_similars_get, must be greater than or equal to 1.'
@@ -981,12 +981,12 @@
# verify the required parameter 'id' is set
if @api_client.config.client_side_validation && id.nil?
raise ArgumentError,
"Missing the required parameter 'id' when calling FilmsApi.api_v22_films_id_videos_get"
end
- if @api_client.config.client_side_validation && id > 5000000
+ if @api_client.config.client_side_validation && id > 500_000_000
raise ArgumentError,
- 'invalid value for "id" when calling FilmsApi.api_v22_films_id_videos_get, must be smaller than or equal to 5000000.'
+ 'invalid value for "id" when calling FilmsApi.api_v22_films_id_videos_get, must be smaller than or equal to 500_000_000.'
end
if @api_client.config.client_side_validation && id < 1
raise ArgumentError,
'invalid value for "id" when calling FilmsApi.api_v22_films_id_videos_get, must be greater than or equal to 1.'