lib/kuapir/api/films_api.rb in kuapir-0.1.3 vs lib/kuapir/api/films_api.rb in kuapir-0.1.4

- old
+ new

@@ -32,14 +32,10 @@ # 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 > 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 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.' end @@ -446,14 +442,10 @@ # 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 > 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 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.' end @@ -520,14 +512,10 @@ # 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 > 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 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.' end @@ -594,14 +582,10 @@ # 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 > 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 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.' end @@ -666,14 +650,10 @@ # 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 > 500_000_000 - raise ArgumentError, - '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.' end @@ -744,14 +724,10 @@ # 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 > 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 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.' end @@ -835,14 +811,10 @@ # 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 > 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 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.' end @@ -907,14 +879,10 @@ # 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 > 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 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.' end @@ -980,13 +948,9 @@ end # 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 > 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 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.'