lib/cloudsmith-api/api/packages_api.rb in cloudsmith-api-0.51.38 vs lib/cloudsmith-api/api/packages_api.rb in cloudsmith-api-0.51.93

- old
+ new

@@ -349,11 +349,10 @@ # Schedule a package for resynchronisation. # @param owner # @param repo # @param identifier # @param [Hash] opts the optional parameters - # @option opts [PackagesResync] :data # @return [Package] def packages_resync(owner, repo, identifier, opts = {}) data, _status_code, _headers = packages_resync_with_http_info(owner, repo, identifier, opts) return data end @@ -362,11 +361,10 @@ # Schedule a package for resynchronisation. # @param owner # @param repo # @param identifier # @param [Hash] opts the optional parameters - # @option opts [PackagesResync] :data # @return [Array<(Package, Fixnum, Hash)>] Package data, response status code and response headers def packages_resync_with_http_info(owner, repo, identifier, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: PackagesApi.packages_resync ..." end @@ -388,18 +386,16 @@ # query parameters query_params = {} # header parameters header_params = {} - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(opts[:'data']) + post_body = nil auth_names = ['apikey', 'csrf_token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, @@ -473,17 +469,84 @@ @api_client.config.logger.debug "API called: PackagesApi#packages_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end + # Add/Replace/Remove tags for a package. + # Add/Replace/Remove tags for a package. + # @param owner + # @param repo + # @param identifier + # @param [Hash] opts the optional parameters + # @option opts [PackagesTag] :data + # @return [Package] + def packages_tag(owner, repo, identifier, opts = {}) + data, _status_code, _headers = packages_tag_with_http_info(owner, repo, identifier, opts) + return data + end + + # Add/Replace/Remove tags for a package. + # Add/Replace/Remove tags for a package. + # @param owner + # @param repo + # @param identifier + # @param [Hash] opts the optional parameters + # @option opts [PackagesTag] :data + # @return [Array<(Package, Fixnum, Hash)>] Package data, response status code and response headers + def packages_tag_with_http_info(owner, repo, identifier, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: PackagesApi.packages_tag ..." + end + # verify the required parameter 'owner' is set + if @api_client.config.client_side_validation && owner.nil? + fail ArgumentError, "Missing the required parameter 'owner' when calling PackagesApi.packages_tag" + end + # verify the required parameter 'repo' is set + if @api_client.config.client_side_validation && repo.nil? + fail ArgumentError, "Missing the required parameter 'repo' when calling PackagesApi.packages_tag" + end + # verify the required parameter 'identifier' is set + if @api_client.config.client_side_validation && identifier.nil? + fail ArgumentError, "Missing the required parameter 'identifier' when calling PackagesApi.packages_tag" + end + # resource path + local_var_path = "/packages/{owner}/{repo}/{identifier}/tag/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'identifier' + '}', identifier.to_s) + + # query parameters + query_params = {} + + # header parameters + header_params = {} + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(opts[:'data']) + auth_names = ['apikey', 'csrf_token'] + data, status_code, headers = @api_client.call_api(:POST, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'Package') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: PackagesApi#packages_tag\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # Create a new Alpine package # Create a new Alpine package # @param owner # @param repo # @param [Hash] opts the optional parameters # @option opts [PackagesUploadAlpine] :data - # @return [Package] + # @return [AlpinePackageUpload] def packages_upload_alpine(owner, repo, opts = {}) data, _status_code, _headers = packages_upload_alpine_with_http_info(owner, repo, opts) return data end @@ -491,11 +554,11 @@ # Create a new Alpine package # @param owner # @param repo # @param [Hash] opts the optional parameters # @option opts [PackagesUploadAlpine] :data - # @return [Array<(Package, Fixnum, Hash)>] Package data, response status code and response headers + # @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers def packages_upload_alpine_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: PackagesApi.packages_upload_alpine ..." end # verify the required parameter 'owner' is set @@ -527,11 +590,11 @@ :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'Package') + :return_type => 'AlpinePackageUpload') if @api_client.config.debugging @api_client.config.logger.debug "API called: PackagesApi#packages_upload_alpine\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end @@ -540,11 +603,11 @@ # Create a new Cargo package # @param owner # @param repo # @param [Hash] opts the optional parameters # @option opts [PackagesUploadCargo] :data - # @return [Package] + # @return [AlpinePackageUpload] def packages_upload_cargo(owner, repo, opts = {}) data, _status_code, _headers = packages_upload_cargo_with_http_info(owner, repo, opts) return data end @@ -552,11 +615,11 @@ # Create a new Cargo package # @param owner # @param repo # @param [Hash] opts the optional parameters # @option opts [PackagesUploadCargo] :data - # @return [Array<(Package, Fixnum, Hash)>] Package data, response status code and response headers + # @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers def packages_upload_cargo_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: PackagesApi.packages_upload_cargo ..." end # verify the required parameter 'owner' is set @@ -588,11 +651,11 @@ :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'Package') + :return_type => 'AlpinePackageUpload') if @api_client.config.debugging @api_client.config.logger.debug "API called: PackagesApi#packages_upload_cargo\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end @@ -601,11 +664,11 @@ # Create a new CocoaPods package # @param owner # @param repo # @param [Hash] opts the optional parameters # @option opts [PackagesUploadCocoapods] :data - # @return [Package] + # @return [AlpinePackageUpload] def packages_upload_cocoapods(owner, repo, opts = {}) data, _status_code, _headers = packages_upload_cocoapods_with_http_info(owner, repo, opts) return data end @@ -613,11 +676,11 @@ # Create a new CocoaPods package # @param owner # @param repo # @param [Hash] opts the optional parameters # @option opts [PackagesUploadCocoapods] :data - # @return [Array<(Package, Fixnum, Hash)>] Package data, response status code and response headers + # @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers def packages_upload_cocoapods_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: PackagesApi.packages_upload_cocoapods ..." end # verify the required parameter 'owner' is set @@ -649,11 +712,11 @@ :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'Package') + :return_type => 'AlpinePackageUpload') if @api_client.config.debugging @api_client.config.logger.debug "API called: PackagesApi#packages_upload_cocoapods\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end @@ -662,11 +725,11 @@ # Create a new Composer package # @param owner # @param repo # @param [Hash] opts the optional parameters # @option opts [PackagesUploadComposer] :data - # @return [Package] + # @return [AlpinePackageUpload] def packages_upload_composer(owner, repo, opts = {}) data, _status_code, _headers = packages_upload_composer_with_http_info(owner, repo, opts) return data end @@ -674,11 +737,11 @@ # Create a new Composer package # @param owner # @param repo # @param [Hash] opts the optional parameters # @option opts [PackagesUploadComposer] :data - # @return [Array<(Package, Fixnum, Hash)>] Package data, response status code and response headers + # @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers def packages_upload_composer_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: PackagesApi.packages_upload_composer ..." end # verify the required parameter 'owner' is set @@ -710,11 +773,11 @@ :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'Package') + :return_type => 'AlpinePackageUpload') if @api_client.config.debugging @api_client.config.logger.debug "API called: PackagesApi#packages_upload_composer\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end @@ -784,11 +847,11 @@ # Create a new CRAN package # @param owner # @param repo # @param [Hash] opts the optional parameters # @option opts [PackagesUploadCran] :data - # @return [Package] + # @return [AlpinePackageUpload] def packages_upload_cran(owner, repo, opts = {}) data, _status_code, _headers = packages_upload_cran_with_http_info(owner, repo, opts) return data end @@ -796,11 +859,11 @@ # Create a new CRAN package # @param owner # @param repo # @param [Hash] opts the optional parameters # @option opts [PackagesUploadCran] :data - # @return [Array<(Package, Fixnum, Hash)>] Package data, response status code and response headers + # @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers def packages_upload_cran_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: PackagesApi.packages_upload_cran ..." end # verify the required parameter 'owner' is set @@ -832,11 +895,11 @@ :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'Package') + :return_type => 'AlpinePackageUpload') if @api_client.config.debugging @api_client.config.logger.debug "API called: PackagesApi#packages_upload_cran\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end @@ -845,11 +908,11 @@ # Create a new Dart package # @param owner # @param repo # @param [Hash] opts the optional parameters # @option opts [PackagesUploadDart] :data - # @return [Package] + # @return [AlpinePackageUpload] def packages_upload_dart(owner, repo, opts = {}) data, _status_code, _headers = packages_upload_dart_with_http_info(owner, repo, opts) return data end @@ -857,11 +920,11 @@ # Create a new Dart package # @param owner # @param repo # @param [Hash] opts the optional parameters # @option opts [PackagesUploadDart] :data - # @return [Array<(Package, Fixnum, Hash)>] Package data, response status code and response headers + # @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers def packages_upload_dart_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: PackagesApi.packages_upload_dart ..." end # verify the required parameter 'owner' is set @@ -893,11 +956,11 @@ :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'Package') + :return_type => 'AlpinePackageUpload') if @api_client.config.debugging @api_client.config.logger.debug "API called: PackagesApi#packages_upload_dart\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end @@ -906,11 +969,11 @@ # Create a new Debian package # @param owner # @param repo # @param [Hash] opts the optional parameters # @option opts [PackagesUploadDeb] :data - # @return [Package] + # @return [AlpinePackageUpload] def packages_upload_deb(owner, repo, opts = {}) data, _status_code, _headers = packages_upload_deb_with_http_info(owner, repo, opts) return data end @@ -918,11 +981,11 @@ # Create a new Debian package # @param owner # @param repo # @param [Hash] opts the optional parameters # @option opts [PackagesUploadDeb] :data - # @return [Array<(Package, Fixnum, Hash)>] Package data, response status code and response headers + # @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers def packages_upload_deb_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: PackagesApi.packages_upload_deb ..." end # verify the required parameter 'owner' is set @@ -954,11 +1017,11 @@ :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'Package') + :return_type => 'AlpinePackageUpload') if @api_client.config.debugging @api_client.config.logger.debug "API called: PackagesApi#packages_upload_deb\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end @@ -967,11 +1030,11 @@ # Create a new Docker package # @param owner # @param repo # @param [Hash] opts the optional parameters # @option opts [PackagesUploadDocker] :data - # @return [Package] + # @return [AlpinePackageUpload] def packages_upload_docker(owner, repo, opts = {}) data, _status_code, _headers = packages_upload_docker_with_http_info(owner, repo, opts) return data end @@ -979,11 +1042,11 @@ # Create a new Docker package # @param owner # @param repo # @param [Hash] opts the optional parameters # @option opts [PackagesUploadDocker] :data - # @return [Array<(Package, Fixnum, Hash)>] Package data, response status code and response headers + # @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers def packages_upload_docker_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: PackagesApi.packages_upload_docker ..." end # verify the required parameter 'owner' is set @@ -1015,11 +1078,11 @@ :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'Package') + :return_type => 'AlpinePackageUpload') if @api_client.config.debugging @api_client.config.logger.debug "API called: PackagesApi#packages_upload_docker\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end @@ -1028,11 +1091,11 @@ # Create a new Go package # @param owner # @param repo # @param [Hash] opts the optional parameters # @option opts [PackagesUploadGo] :data - # @return [Package] + # @return [AlpinePackageUpload] def packages_upload_go(owner, repo, opts = {}) data, _status_code, _headers = packages_upload_go_with_http_info(owner, repo, opts) return data end @@ -1040,11 +1103,11 @@ # Create a new Go package # @param owner # @param repo # @param [Hash] opts the optional parameters # @option opts [PackagesUploadGo] :data - # @return [Array<(Package, Fixnum, Hash)>] Package data, response status code and response headers + # @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers def packages_upload_go_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: PackagesApi.packages_upload_go ..." end # verify the required parameter 'owner' is set @@ -1076,11 +1139,11 @@ :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'Package') + :return_type => 'AlpinePackageUpload') if @api_client.config.debugging @api_client.config.logger.debug "API called: PackagesApi#packages_upload_go\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end @@ -1089,11 +1152,11 @@ # Create a new Helm package # @param owner # @param repo # @param [Hash] opts the optional parameters # @option opts [PackagesUploadHelm] :data - # @return [Package] + # @return [AlpinePackageUpload] def packages_upload_helm(owner, repo, opts = {}) data, _status_code, _headers = packages_upload_helm_with_http_info(owner, repo, opts) return data end @@ -1101,11 +1164,11 @@ # Create a new Helm package # @param owner # @param repo # @param [Hash] opts the optional parameters # @option opts [PackagesUploadHelm] :data - # @return [Array<(Package, Fixnum, Hash)>] Package data, response status code and response headers + # @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers def packages_upload_helm_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: PackagesApi.packages_upload_helm ..." end # verify the required parameter 'owner' is set @@ -1137,11 +1200,11 @@ :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'Package') + :return_type => 'AlpinePackageUpload') if @api_client.config.debugging @api_client.config.logger.debug "API called: PackagesApi#packages_upload_helm\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end @@ -1150,11 +1213,11 @@ # Create a new LuaRocks package # @param owner # @param repo # @param [Hash] opts the optional parameters # @option opts [PackagesUploadLuarocks] :data - # @return [Package] + # @return [AlpinePackageUpload] def packages_upload_luarocks(owner, repo, opts = {}) data, _status_code, _headers = packages_upload_luarocks_with_http_info(owner, repo, opts) return data end @@ -1162,11 +1225,11 @@ # Create a new LuaRocks package # @param owner # @param repo # @param [Hash] opts the optional parameters # @option opts [PackagesUploadLuarocks] :data - # @return [Array<(Package, Fixnum, Hash)>] Package data, response status code and response headers + # @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers def packages_upload_luarocks_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: PackagesApi.packages_upload_luarocks ..." end # verify the required parameter 'owner' is set @@ -1198,11 +1261,11 @@ :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'Package') + :return_type => 'AlpinePackageUpload') if @api_client.config.debugging @api_client.config.logger.debug "API called: PackagesApi#packages_upload_luarocks\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end @@ -1272,11 +1335,11 @@ # Create a new npm package # @param owner # @param repo # @param [Hash] opts the optional parameters # @option opts [PackagesUploadNpm] :data - # @return [Package] + # @return [AlpinePackageUpload] def packages_upload_npm(owner, repo, opts = {}) data, _status_code, _headers = packages_upload_npm_with_http_info(owner, repo, opts) return data end @@ -1284,11 +1347,11 @@ # Create a new npm package # @param owner # @param repo # @param [Hash] opts the optional parameters # @option opts [PackagesUploadNpm] :data - # @return [Array<(Package, Fixnum, Hash)>] Package data, response status code and response headers + # @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers def packages_upload_npm_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: PackagesApi.packages_upload_npm ..." end # verify the required parameter 'owner' is set @@ -1320,11 +1383,11 @@ :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'Package') + :return_type => 'AlpinePackageUpload') if @api_client.config.debugging @api_client.config.logger.debug "API called: PackagesApi#packages_upload_npm\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end @@ -1333,11 +1396,11 @@ # Create a new NuGet package # @param owner # @param repo # @param [Hash] opts the optional parameters # @option opts [PackagesUploadNuget] :data - # @return [Package] + # @return [AlpinePackageUpload] def packages_upload_nuget(owner, repo, opts = {}) data, _status_code, _headers = packages_upload_nuget_with_http_info(owner, repo, opts) return data end @@ -1345,11 +1408,11 @@ # Create a new NuGet package # @param owner # @param repo # @param [Hash] opts the optional parameters # @option opts [PackagesUploadNuget] :data - # @return [Array<(Package, Fixnum, Hash)>] Package data, response status code and response headers + # @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers def packages_upload_nuget_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: PackagesApi.packages_upload_nuget ..." end # verify the required parameter 'owner' is set @@ -1381,11 +1444,11 @@ :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'Package') + :return_type => 'AlpinePackageUpload') if @api_client.config.debugging @api_client.config.logger.debug "API called: PackagesApi#packages_upload_nuget\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end @@ -1394,11 +1457,11 @@ # Create a new Python package # @param owner # @param repo # @param [Hash] opts the optional parameters # @option opts [PackagesUploadPython] :data - # @return [Package] + # @return [AlpinePackageUpload] def packages_upload_python(owner, repo, opts = {}) data, _status_code, _headers = packages_upload_python_with_http_info(owner, repo, opts) return data end @@ -1406,11 +1469,11 @@ # Create a new Python package # @param owner # @param repo # @param [Hash] opts the optional parameters # @option opts [PackagesUploadPython] :data - # @return [Array<(Package, Fixnum, Hash)>] Package data, response status code and response headers + # @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers def packages_upload_python_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: PackagesApi.packages_upload_python ..." end # verify the required parameter 'owner' is set @@ -1442,11 +1505,11 @@ :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'Package') + :return_type => 'AlpinePackageUpload') if @api_client.config.debugging @api_client.config.logger.debug "API called: PackagesApi#packages_upload_python\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end @@ -1516,11 +1579,11 @@ # Create a new RedHat package # @param owner # @param repo # @param [Hash] opts the optional parameters # @option opts [PackagesUploadRpm] :data - # @return [Package] + # @return [AlpinePackageUpload] def packages_upload_rpm(owner, repo, opts = {}) data, _status_code, _headers = packages_upload_rpm_with_http_info(owner, repo, opts) return data end @@ -1528,11 +1591,11 @@ # Create a new RedHat package # @param owner # @param repo # @param [Hash] opts the optional parameters # @option opts [PackagesUploadRpm] :data - # @return [Array<(Package, Fixnum, Hash)>] Package data, response status code and response headers + # @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers def packages_upload_rpm_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: PackagesApi.packages_upload_rpm ..." end # verify the required parameter 'owner' is set @@ -1564,11 +1627,11 @@ :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'Package') + :return_type => 'AlpinePackageUpload') if @api_client.config.debugging @api_client.config.logger.debug "API called: PackagesApi#packages_upload_rpm\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end @@ -1577,11 +1640,11 @@ # Create a new Ruby package # @param owner # @param repo # @param [Hash] opts the optional parameters # @option opts [PackagesUploadRuby] :data - # @return [Package] + # @return [AlpinePackageUpload] def packages_upload_ruby(owner, repo, opts = {}) data, _status_code, _headers = packages_upload_ruby_with_http_info(owner, repo, opts) return data end @@ -1589,11 +1652,11 @@ # Create a new Ruby package # @param owner # @param repo # @param [Hash] opts the optional parameters # @option opts [PackagesUploadRuby] :data - # @return [Array<(Package, Fixnum, Hash)>] Package data, response status code and response headers + # @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers def packages_upload_ruby_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: PackagesApi.packages_upload_ruby ..." end # verify the required parameter 'owner' is set @@ -1625,11 +1688,11 @@ :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'Package') + :return_type => 'AlpinePackageUpload') if @api_client.config.debugging @api_client.config.logger.debug "API called: PackagesApi#packages_upload_ruby\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end @@ -1638,11 +1701,11 @@ # Create a new Terraform package # @param owner # @param repo # @param [Hash] opts the optional parameters # @option opts [PackagesUploadTerraform] :data - # @return [Package] + # @return [AlpinePackageUpload] def packages_upload_terraform(owner, repo, opts = {}) data, _status_code, _headers = packages_upload_terraform_with_http_info(owner, repo, opts) return data end @@ -1650,11 +1713,11 @@ # Create a new Terraform package # @param owner # @param repo # @param [Hash] opts the optional parameters # @option opts [PackagesUploadTerraform] :data - # @return [Array<(Package, Fixnum, Hash)>] Package data, response status code and response headers + # @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers def packages_upload_terraform_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: PackagesApi.packages_upload_terraform ..." end # verify the required parameter 'owner' is set @@ -1686,10 +1749,10 @@ :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'Package') + :return_type => 'AlpinePackageUpload') if @api_client.config.debugging @api_client.config.logger.debug "API called: PackagesApi#packages_upload_terraform\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end