lib/cloudsmith-api/api/packages_api.rb in cloudsmith-api-1.142.3 vs lib/cloudsmith-api/api/packages_api.rb in cloudsmith-api-2.0.0

- old
+ new

@@ -1,7 +1,7 @@ =begin -#Cloudsmith API +#Cloudsmith API (v1) #The API to the Cloudsmith Service OpenAPI spec version: v1 Contact: support@cloudsmith.io @@ -23,11 +23,11 @@ # Copy a package to another repository. # @param owner # @param repo # @param identifier # @param [Hash] opts the optional parameters - # @option opts [PackagesCopy] :data + # @option opts [PackageCopyRequest] :data # @return [PackageCopy] def packages_copy(owner, repo, identifier, opts = {}) data, _status_code, _headers = packages_copy_with_http_info(owner, repo, identifier, opts) data end @@ -36,11 +36,11 @@ # Copy a package to another repository. # @param owner # @param repo # @param identifier # @param [Hash] opts the optional parameters - # @option opts [PackagesCopy] :data + # @option opts [PackageCopyRequest] :data # @return [Array<(PackageCopy, Fixnum, Hash)>] PackageCopy data, response status code and response headers def packages_copy_with_http_info(owner, repo, identifier, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PackagesApi.packages_copy ...' end @@ -62,10 +62,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -126,10 +128,14 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) @@ -187,10 +193,14 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) @@ -213,12 +223,12 @@ # @param owner # @param repo # @param [Hash] opts the optional parameters # @option opts [Integer] :page A page number within the paginated result set. # @option opts [Integer] :page_size Number of results to return per page. - # @option opts [String] :query A search term for querying names, filenames, versions, distributions, architectures, formats or statuses of packages. - # @option opts [String] :sort A field for sorting objects in ascending or descending order. + # @option opts [String] :query A search term for querying names, filenames, versions, distributions, architectures, formats or statuses of packages. (default to ) + # @option opts [String] :sort A field for sorting objects in ascending or descending order. (default to -date) # @return [Array<Package>] def packages_list(owner, repo, opts = {}) data, _status_code, _headers = packages_list_with_http_info(owner, repo, opts) data end @@ -255,10 +265,14 @@ query_params[:'query'] = opts[:'query'] if !opts[:'query'].nil? query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil? # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) @@ -280,11 +294,11 @@ # Move a package to another repository. # @param owner # @param repo # @param identifier # @param [Hash] opts the optional parameters - # @option opts [PackagesMove] :data + # @option opts [PackageMoveRequest] :data # @return [PackageMove] def packages_move(owner, repo, identifier, opts = {}) data, _status_code, _headers = packages_move_with_http_info(owner, repo, identifier, opts) data end @@ -293,11 +307,11 @@ # Move a package to another repository. # @param owner # @param repo # @param identifier # @param [Hash] opts the optional parameters - # @option opts [PackagesMove] :data + # @option opts [PackageMoveRequest] :data # @return [Array<(PackageMove, Fixnum, Hash)>] PackageMove data, response status code and response headers def packages_move_with_http_info(owner, repo, identifier, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PackagesApi.packages_move ...' end @@ -319,10 +333,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -346,12 +362,12 @@ # Quarantine or restore a package. # @param owner # @param repo # @param identifier # @param [Hash] opts the optional parameters - # @option opts [PackagesQuarantine] :data - # @return [Package] + # @option opts [PackageQuarantineRequest] :data + # @return [PackageQuarantine] def packages_quarantine(owner, repo, identifier, opts = {}) data, _status_code, _headers = packages_quarantine_with_http_info(owner, repo, identifier, opts) data end @@ -359,12 +375,12 @@ # Quarantine or restore a package. # @param owner # @param repo # @param identifier # @param [Hash] opts the optional parameters - # @option opts [PackagesQuarantine] :data - # @return [Array<(Package, Fixnum, Hash)>] Package data, response status code and response headers + # @option opts [PackageQuarantineRequest] :data + # @return [Array<(PackageQuarantine, Fixnum, Hash)>] PackageQuarantine data, response status code and response headers def packages_quarantine_with_http_info(owner, repo, identifier, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PackagesApi.packages_quarantine ...' end # verify the required parameter 'owner' is set @@ -385,10 +401,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -400,11 +418,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 => 'PackageQuarantine') if @api_client.config.debugging @api_client.config.logger.debug "API called: PackagesApi#packages_quarantine\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end @@ -449,10 +467,14 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) @@ -474,11 +496,11 @@ # Schedule a package for resynchronisation. # @param owner # @param repo # @param identifier # @param [Hash] opts the optional parameters - # @return [Package] + # @return [PackageResync] def packages_resync(owner, repo, identifier, opts = {}) data, _status_code, _headers = packages_resync_with_http_info(owner, repo, identifier, opts) data end @@ -486,11 +508,11 @@ # Schedule a package for resynchronisation. # @param owner # @param repo # @param identifier # @param [Hash] opts the optional parameters - # @return [Array<(Package, Fixnum, Hash)>] Package data, response status code and response headers + # @return [Array<(PackageResync, Fixnum, Hash)>] PackageResync 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 # verify the required parameter 'owner' is set @@ -511,10 +533,14 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) @@ -524,11 +550,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 => 'PackageResync') if @api_client.config.debugging @api_client.config.logger.debug "API called: PackagesApi#packages_resync\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end @@ -573,10 +599,14 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) @@ -635,10 +665,14 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) @@ -660,11 +694,11 @@ # Add/Replace/Remove tags for a package. # @param owner # @param repo # @param identifier # @param [Hash] opts the optional parameters - # @option opts [PackagesTag] :data + # @option opts [PackageTagRequest] :data # @return [Package] def packages_tag(owner, repo, identifier, opts = {}) data, _status_code, _headers = packages_tag_with_http_info(owner, repo, identifier, opts) data end @@ -673,11 +707,11 @@ # Add/Replace/Remove tags for a package. # @param owner # @param repo # @param identifier # @param [Hash] opts the optional parameters - # @option opts [PackagesTag] :data + # @option opts [PackageTagRequest] :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 @@ -699,10 +733,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -725,11 +761,11 @@ # Create a new Alpine package # Create a new Alpine package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadAlpine] :data + # @option opts [AlpinePackageUploadRequest] :data # @return [AlpinePackageUpload] def packages_upload_alpine(owner, repo, opts = {}) data, _status_code, _headers = packages_upload_alpine_with_http_info(owner, repo, opts) data end @@ -737,11 +773,11 @@ # Create a new Alpine package # Create a new Alpine package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadAlpine] :data + # @option opts [AlpinePackageUploadRequest] :data # @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 @@ -759,10 +795,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -785,24 +823,24 @@ # Create a new Cargo package # Create a new Cargo package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadCargo] :data - # @return [AlpinePackageUpload] + # @option opts [CargoPackageUploadRequest] :data + # @return [CargoPackageUpload] def packages_upload_cargo(owner, repo, opts = {}) data, _status_code, _headers = packages_upload_cargo_with_http_info(owner, repo, opts) data end # Create a new Cargo package # Create a new Cargo package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadCargo] :data - # @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers + # @option opts [CargoPackageUploadRequest] :data + # @return [Array<(CargoPackageUpload, Fixnum, Hash)>] CargoPackageUpload 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 @@ -819,10 +857,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -834,35 +874,35 @@ :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'AlpinePackageUpload') + :return_type => 'CargoPackageUpload') 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 # Create a new CocoaPods package # Create a new CocoaPods package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadCocoapods] :data - # @return [AlpinePackageUpload] + # @option opts [CocoapodsPackageUploadRequest] :data + # @return [CocoapodsPackageUpload] def packages_upload_cocoapods(owner, repo, opts = {}) data, _status_code, _headers = packages_upload_cocoapods_with_http_info(owner, repo, opts) data end # Create a new CocoaPods package # Create a new CocoaPods package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadCocoapods] :data - # @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers + # @option opts [CocoapodsPackageUploadRequest] :data + # @return [Array<(CocoapodsPackageUpload, Fixnum, Hash)>] CocoapodsPackageUpload 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 @@ -879,10 +919,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -894,35 +936,35 @@ :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'AlpinePackageUpload') + :return_type => 'CocoapodsPackageUpload') 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 # Create a new Composer package # Create a new Composer package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadComposer] :data - # @return [AlpinePackageUpload] + # @option opts [ComposerPackageUploadRequest] :data + # @return [ComposerPackageUpload] def packages_upload_composer(owner, repo, opts = {}) data, _status_code, _headers = packages_upload_composer_with_http_info(owner, repo, opts) data end # Create a new Composer package # Create a new Composer package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadComposer] :data - # @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers + # @option opts [ComposerPackageUploadRequest] :data + # @return [Array<(ComposerPackageUpload, Fixnum, Hash)>] ComposerPackageUpload 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 @@ -939,10 +981,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -954,22 +998,22 @@ :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'AlpinePackageUpload') + :return_type => 'ComposerPackageUpload') 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 # Create a new Conan package # Create a new Conan package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadConan] :data + # @option opts [ConanPackageUploadRequest] :data # @return [ConanPackageUpload] def packages_upload_conan(owner, repo, opts = {}) data, _status_code, _headers = packages_upload_conan_with_http_info(owner, repo, opts) data end @@ -977,11 +1021,11 @@ # Create a new Conan package # Create a new Conan package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadConan] :data + # @option opts [ConanPackageUploadRequest] :data # @return [Array<(ConanPackageUpload, Fixnum, Hash)>] ConanPackageUpload data, response status code and response headers def packages_upload_conan_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PackagesApi.packages_upload_conan ...' end @@ -999,10 +1043,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -1025,24 +1071,24 @@ # Create a new Conda package # Create a new Conda package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadConda] :data - # @return [AlpinePackageUpload] + # @option opts [CondaPackageUploadRequest] :data + # @return [CondaPackageUpload] def packages_upload_conda(owner, repo, opts = {}) data, _status_code, _headers = packages_upload_conda_with_http_info(owner, repo, opts) data end # Create a new Conda package # Create a new Conda package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadConda] :data - # @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers + # @option opts [CondaPackageUploadRequest] :data + # @return [Array<(CondaPackageUpload, Fixnum, Hash)>] CondaPackageUpload data, response status code and response headers def packages_upload_conda_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PackagesApi.packages_upload_conda ...' end # verify the required parameter 'owner' is set @@ -1059,10 +1105,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -1074,35 +1122,35 @@ :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'AlpinePackageUpload') + :return_type => 'CondaPackageUpload') if @api_client.config.debugging @api_client.config.logger.debug "API called: PackagesApi#packages_upload_conda\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end # Create a new CRAN package # Create a new CRAN package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadCran] :data - # @return [AlpinePackageUpload] + # @option opts [CranPackageUploadRequest] :data + # @return [CranPackageUpload] def packages_upload_cran(owner, repo, opts = {}) data, _status_code, _headers = packages_upload_cran_with_http_info(owner, repo, opts) data end # Create a new CRAN package # Create a new CRAN package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadCran] :data - # @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers + # @option opts [CranPackageUploadRequest] :data + # @return [Array<(CranPackageUpload, Fixnum, Hash)>] CranPackageUpload 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 @@ -1119,10 +1167,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -1134,35 +1184,35 @@ :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'AlpinePackageUpload') + :return_type => 'CranPackageUpload') 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 # Create a new Dart package # Create a new Dart package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadDart] :data - # @return [AlpinePackageUpload] + # @option opts [DartPackageUploadRequest] :data + # @return [DartPackageUpload] def packages_upload_dart(owner, repo, opts = {}) data, _status_code, _headers = packages_upload_dart_with_http_info(owner, repo, opts) data end # Create a new Dart package # Create a new Dart package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadDart] :data - # @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers + # @option opts [DartPackageUploadRequest] :data + # @return [Array<(DartPackageUpload, Fixnum, Hash)>] DartPackageUpload 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 @@ -1179,10 +1229,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -1194,35 +1246,35 @@ :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'AlpinePackageUpload') + :return_type => 'DartPackageUpload') 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 # Create a new Debian package # Create a new Debian package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadDeb] :data - # @return [AlpinePackageUpload] + # @option opts [DebPackageUploadRequest] :data + # @return [DebPackageUpload] def packages_upload_deb(owner, repo, opts = {}) data, _status_code, _headers = packages_upload_deb_with_http_info(owner, repo, opts) data end # Create a new Debian package # Create a new Debian package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadDeb] :data - # @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers + # @option opts [DebPackageUploadRequest] :data + # @return [Array<(DebPackageUpload, Fixnum, Hash)>] DebPackageUpload 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 @@ -1239,10 +1291,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -1254,35 +1308,35 @@ :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'AlpinePackageUpload') + :return_type => 'DebPackageUpload') 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 # Create a new Docker package # Create a new Docker package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadDocker] :data - # @return [AlpinePackageUpload] + # @option opts [DockerPackageUploadRequest] :data + # @return [DockerPackageUpload] def packages_upload_docker(owner, repo, opts = {}) data, _status_code, _headers = packages_upload_docker_with_http_info(owner, repo, opts) data end # Create a new Docker package # Create a new Docker package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadDocker] :data - # @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers + # @option opts [DockerPackageUploadRequest] :data + # @return [Array<(DockerPackageUpload, Fixnum, Hash)>] DockerPackageUpload 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 @@ -1299,10 +1353,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -1314,35 +1370,35 @@ :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'AlpinePackageUpload') + :return_type => 'DockerPackageUpload') 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 # Create a new Go package # Create a new Go package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadGo] :data - # @return [AlpinePackageUpload] + # @option opts [GoPackageUploadRequest] :data + # @return [GoPackageUpload] def packages_upload_go(owner, repo, opts = {}) data, _status_code, _headers = packages_upload_go_with_http_info(owner, repo, opts) data end # Create a new Go package # Create a new Go package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadGo] :data - # @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers + # @option opts [GoPackageUploadRequest] :data + # @return [Array<(GoPackageUpload, Fixnum, Hash)>] GoPackageUpload 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 @@ -1359,10 +1415,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -1374,35 +1432,35 @@ :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'AlpinePackageUpload') + :return_type => 'GoPackageUpload') 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 # Create a new Helm package # Create a new Helm package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadHelm] :data - # @return [AlpinePackageUpload] + # @option opts [HelmPackageUploadRequest] :data + # @return [HelmPackageUpload] def packages_upload_helm(owner, repo, opts = {}) data, _status_code, _headers = packages_upload_helm_with_http_info(owner, repo, opts) data end # Create a new Helm package # Create a new Helm package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadHelm] :data - # @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers + # @option opts [HelmPackageUploadRequest] :data + # @return [Array<(HelmPackageUpload, Fixnum, Hash)>] HelmPackageUpload 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 @@ -1419,10 +1477,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -1434,35 +1494,35 @@ :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'AlpinePackageUpload') + :return_type => 'HelmPackageUpload') 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 # Create a new LuaRocks package # Create a new LuaRocks package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadLuarocks] :data - # @return [AlpinePackageUpload] + # @option opts [LuarocksPackageUploadRequest] :data + # @return [LuarocksPackageUpload] def packages_upload_luarocks(owner, repo, opts = {}) data, _status_code, _headers = packages_upload_luarocks_with_http_info(owner, repo, opts) data end # Create a new LuaRocks package # Create a new LuaRocks package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadLuarocks] :data - # @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers + # @option opts [LuarocksPackageUploadRequest] :data + # @return [Array<(LuarocksPackageUpload, Fixnum, Hash)>] LuarocksPackageUpload 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 @@ -1479,10 +1539,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -1494,22 +1556,22 @@ :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'AlpinePackageUpload') + :return_type => 'LuarocksPackageUpload') 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 # Create a new Maven package # Create a new Maven package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadMaven] :data + # @option opts [MavenPackageUploadRequest] :data # @return [MavenPackageUpload] def packages_upload_maven(owner, repo, opts = {}) data, _status_code, _headers = packages_upload_maven_with_http_info(owner, repo, opts) data end @@ -1517,11 +1579,11 @@ # Create a new Maven package # Create a new Maven package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadMaven] :data + # @option opts [MavenPackageUploadRequest] :data # @return [Array<(MavenPackageUpload, Fixnum, Hash)>] MavenPackageUpload data, response status code and response headers def packages_upload_maven_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PackagesApi.packages_upload_maven ...' end @@ -1539,10 +1601,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -1565,24 +1629,24 @@ # Create a new npm package # Create a new npm package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadNpm] :data - # @return [AlpinePackageUpload] + # @option opts [NpmPackageUploadRequest] :data + # @return [NpmPackageUpload] def packages_upload_npm(owner, repo, opts = {}) data, _status_code, _headers = packages_upload_npm_with_http_info(owner, repo, opts) data end # Create a new npm package # Create a new npm package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadNpm] :data - # @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers + # @option opts [NpmPackageUploadRequest] :data + # @return [Array<(NpmPackageUpload, Fixnum, Hash)>] NpmPackageUpload 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 @@ -1599,10 +1663,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -1614,35 +1680,35 @@ :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'AlpinePackageUpload') + :return_type => 'NpmPackageUpload') 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 # Create a new NuGet package # Create a new NuGet package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadNuget] :data - # @return [AlpinePackageUpload] + # @option opts [NugetPackageUploadRequest] :data + # @return [NugetPackageUpload] def packages_upload_nuget(owner, repo, opts = {}) data, _status_code, _headers = packages_upload_nuget_with_http_info(owner, repo, opts) data end # Create a new NuGet package # Create a new NuGet package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadNuget] :data - # @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers + # @option opts [NugetPackageUploadRequest] :data + # @return [Array<(NugetPackageUpload, Fixnum, Hash)>] NugetPackageUpload 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 @@ -1659,10 +1725,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -1674,35 +1742,35 @@ :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'AlpinePackageUpload') + :return_type => 'NugetPackageUpload') 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 # Create a new P2 package # Create a new P2 package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadP2] :data - # @return [AlpinePackageUpload] + # @option opts [P2PackageUploadRequest] :data + # @return [P2PackageUpload] def packages_upload_p2(owner, repo, opts = {}) data, _status_code, _headers = packages_upload_p2_with_http_info(owner, repo, opts) data end # Create a new P2 package # Create a new P2 package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadP2] :data - # @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers + # @option opts [P2PackageUploadRequest] :data + # @return [Array<(P2PackageUpload, Fixnum, Hash)>] P2PackageUpload data, response status code and response headers def packages_upload_p2_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PackagesApi.packages_upload_p2 ...' end # verify the required parameter 'owner' is set @@ -1719,10 +1787,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -1734,35 +1804,35 @@ :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'AlpinePackageUpload') + :return_type => 'P2PackageUpload') if @api_client.config.debugging @api_client.config.logger.debug "API called: PackagesApi#packages_upload_p2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end # Create a new Python package # Create a new Python package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadPython] :data - # @return [AlpinePackageUpload] + # @option opts [PythonPackageUploadRequest] :data + # @return [PythonPackageUpload] def packages_upload_python(owner, repo, opts = {}) data, _status_code, _headers = packages_upload_python_with_http_info(owner, repo, opts) data end # Create a new Python package # Create a new Python package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadPython] :data - # @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers + # @option opts [PythonPackageUploadRequest] :data + # @return [Array<(PythonPackageUpload, Fixnum, Hash)>] PythonPackageUpload 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 @@ -1779,10 +1849,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -1794,22 +1866,22 @@ :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'AlpinePackageUpload') + :return_type => 'PythonPackageUpload') 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 # Create a new Raw package # Create a new Raw package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadRaw] :data + # @option opts [RawPackageUploadRequest] :data # @return [RawPackageUpload] def packages_upload_raw(owner, repo, opts = {}) data, _status_code, _headers = packages_upload_raw_with_http_info(owner, repo, opts) data end @@ -1817,11 +1889,11 @@ # Create a new Raw package # Create a new Raw package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadRaw] :data + # @option opts [RawPackageUploadRequest] :data # @return [Array<(RawPackageUpload, Fixnum, Hash)>] RawPackageUpload data, response status code and response headers def packages_upload_raw_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PackagesApi.packages_upload_raw ...' end @@ -1839,10 +1911,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -1865,24 +1939,24 @@ # Create a new RedHat package # Create a new RedHat package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadRpm] :data - # @return [AlpinePackageUpload] + # @option opts [RpmPackageUploadRequest] :data + # @return [RpmPackageUpload] def packages_upload_rpm(owner, repo, opts = {}) data, _status_code, _headers = packages_upload_rpm_with_http_info(owner, repo, opts) data end # Create a new RedHat package # Create a new RedHat package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadRpm] :data - # @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers + # @option opts [RpmPackageUploadRequest] :data + # @return [Array<(RpmPackageUpload, Fixnum, Hash)>] RpmPackageUpload 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 @@ -1899,10 +1973,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -1914,35 +1990,35 @@ :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'AlpinePackageUpload') + :return_type => 'RpmPackageUpload') 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 # Create a new Ruby package # Create a new Ruby package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadRuby] :data - # @return [AlpinePackageUpload] + # @option opts [RubyPackageUploadRequest] :data + # @return [RubyPackageUpload] def packages_upload_ruby(owner, repo, opts = {}) data, _status_code, _headers = packages_upload_ruby_with_http_info(owner, repo, opts) data end # Create a new Ruby package # Create a new Ruby package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadRuby] :data - # @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers + # @option opts [RubyPackageUploadRequest] :data + # @return [Array<(RubyPackageUpload, Fixnum, Hash)>] RubyPackageUpload 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 @@ -1959,10 +2035,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -1974,35 +2052,35 @@ :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'AlpinePackageUpload') + :return_type => 'RubyPackageUpload') 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 # Create a new Terraform package # Create a new Terraform package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadTerraform] :data - # @return [AlpinePackageUpload] + # @option opts [TerraformPackageUploadRequest] :data + # @return [TerraformPackageUpload] def packages_upload_terraform(owner, repo, opts = {}) data, _status_code, _headers = packages_upload_terraform_with_http_info(owner, repo, opts) data end # Create a new Terraform package # Create a new Terraform package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadTerraform] :data - # @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers + # @option opts [TerraformPackageUploadRequest] :data + # @return [Array<(TerraformPackageUpload, Fixnum, Hash)>] TerraformPackageUpload 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 @@ -2019,10 +2097,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -2034,22 +2114,22 @@ :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'AlpinePackageUpload') + :return_type => 'TerraformPackageUpload') 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 # Create a new Vagrant package # Create a new Vagrant package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadVagrant] :data + # @option opts [VagrantPackageUploadRequest] :data # @return [VagrantPackageUpload] def packages_upload_vagrant(owner, repo, opts = {}) data, _status_code, _headers = packages_upload_vagrant_with_http_info(owner, repo, opts) data end @@ -2057,11 +2137,11 @@ # Create a new Vagrant package # Create a new Vagrant package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesUploadVagrant] :data + # @option opts [VagrantPackageUploadRequest] :data # @return [Array<(VagrantPackageUpload, Fixnum, Hash)>] VagrantPackageUpload data, response status code and response headers def packages_upload_vagrant_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PackagesApi.packages_upload_vagrant ...' end @@ -2079,10 +2159,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -2105,11 +2187,11 @@ # Validate parameters for create Alpine package # Validate parameters for create Alpine package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadAlpine] :data + # @option opts [AlpinePackageUploadRequest] :data # @return [nil] def packages_validate_upload_alpine(owner, repo, opts = {}) packages_validate_upload_alpine_with_http_info(owner, repo, opts) nil end @@ -2117,11 +2199,11 @@ # Validate parameters for create Alpine package # Validate parameters for create Alpine package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadAlpine] :data + # @option opts [AlpinePackageUploadRequest] :data # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def packages_validate_upload_alpine_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_alpine ...' end @@ -2139,10 +2221,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -2164,11 +2248,11 @@ # Validate parameters for create Cargo package # Validate parameters for create Cargo package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadCargo] :data + # @option opts [CargoPackageUploadRequest] :data # @return [nil] def packages_validate_upload_cargo(owner, repo, opts = {}) packages_validate_upload_cargo_with_http_info(owner, repo, opts) nil end @@ -2176,11 +2260,11 @@ # Validate parameters for create Cargo package # Validate parameters for create Cargo package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadCargo] :data + # @option opts [CargoPackageUploadRequest] :data # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def packages_validate_upload_cargo_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_cargo ...' end @@ -2198,10 +2282,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -2223,11 +2309,11 @@ # Validate parameters for create CocoaPods package # Validate parameters for create CocoaPods package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadCocoapods] :data + # @option opts [CocoapodsPackageUploadRequest] :data # @return [nil] def packages_validate_upload_cocoapods(owner, repo, opts = {}) packages_validate_upload_cocoapods_with_http_info(owner, repo, opts) nil end @@ -2235,11 +2321,11 @@ # Validate parameters for create CocoaPods package # Validate parameters for create CocoaPods package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadCocoapods] :data + # @option opts [CocoapodsPackageUploadRequest] :data # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def packages_validate_upload_cocoapods_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_cocoapods ...' end @@ -2257,10 +2343,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -2282,11 +2370,11 @@ # Validate parameters for create Composer package # Validate parameters for create Composer package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadComposer] :data + # @option opts [ComposerPackageUploadRequest] :data # @return [nil] def packages_validate_upload_composer(owner, repo, opts = {}) packages_validate_upload_composer_with_http_info(owner, repo, opts) nil end @@ -2294,11 +2382,11 @@ # Validate parameters for create Composer package # Validate parameters for create Composer package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadComposer] :data + # @option opts [ComposerPackageUploadRequest] :data # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def packages_validate_upload_composer_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_composer ...' end @@ -2316,10 +2404,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -2341,11 +2431,11 @@ # Validate parameters for create Conan package # Validate parameters for create Conan package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadConan] :data + # @option opts [ConanPackageUploadRequest] :data # @return [nil] def packages_validate_upload_conan(owner, repo, opts = {}) packages_validate_upload_conan_with_http_info(owner, repo, opts) nil end @@ -2353,11 +2443,11 @@ # Validate parameters for create Conan package # Validate parameters for create Conan package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadConan] :data + # @option opts [ConanPackageUploadRequest] :data # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def packages_validate_upload_conan_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_conan ...' end @@ -2375,10 +2465,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -2400,11 +2492,11 @@ # Validate parameters for create Conda package # Validate parameters for create Conda package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadConda] :data + # @option opts [CondaPackageUploadRequest] :data # @return [nil] def packages_validate_upload_conda(owner, repo, opts = {}) packages_validate_upload_conda_with_http_info(owner, repo, opts) nil end @@ -2412,11 +2504,11 @@ # Validate parameters for create Conda package # Validate parameters for create Conda package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadConda] :data + # @option opts [CondaPackageUploadRequest] :data # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def packages_validate_upload_conda_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_conda ...' end @@ -2434,10 +2526,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -2459,11 +2553,11 @@ # Validate parameters for create CRAN package # Validate parameters for create CRAN package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadCran] :data + # @option opts [CranPackageUploadRequest] :data # @return [nil] def packages_validate_upload_cran(owner, repo, opts = {}) packages_validate_upload_cran_with_http_info(owner, repo, opts) nil end @@ -2471,11 +2565,11 @@ # Validate parameters for create CRAN package # Validate parameters for create CRAN package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadCran] :data + # @option opts [CranPackageUploadRequest] :data # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def packages_validate_upload_cran_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_cran ...' end @@ -2493,10 +2587,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -2518,11 +2614,11 @@ # Validate parameters for create Dart package # Validate parameters for create Dart package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadDart] :data + # @option opts [DartPackageUploadRequest] :data # @return [nil] def packages_validate_upload_dart(owner, repo, opts = {}) packages_validate_upload_dart_with_http_info(owner, repo, opts) nil end @@ -2530,11 +2626,11 @@ # Validate parameters for create Dart package # Validate parameters for create Dart package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadDart] :data + # @option opts [DartPackageUploadRequest] :data # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def packages_validate_upload_dart_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_dart ...' end @@ -2552,10 +2648,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -2577,11 +2675,11 @@ # Validate parameters for create Debian package # Validate parameters for create Debian package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadDeb] :data + # @option opts [DebPackageUploadRequest] :data # @return [nil] def packages_validate_upload_deb(owner, repo, opts = {}) packages_validate_upload_deb_with_http_info(owner, repo, opts) nil end @@ -2589,11 +2687,11 @@ # Validate parameters for create Debian package # Validate parameters for create Debian package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadDeb] :data + # @option opts [DebPackageUploadRequest] :data # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def packages_validate_upload_deb_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_deb ...' end @@ -2611,10 +2709,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -2636,11 +2736,11 @@ # Validate parameters for create Docker package # Validate parameters for create Docker package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadDocker] :data + # @option opts [DockerPackageUploadRequest] :data # @return [nil] def packages_validate_upload_docker(owner, repo, opts = {}) packages_validate_upload_docker_with_http_info(owner, repo, opts) nil end @@ -2648,11 +2748,11 @@ # Validate parameters for create Docker package # Validate parameters for create Docker package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadDocker] :data + # @option opts [DockerPackageUploadRequest] :data # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def packages_validate_upload_docker_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_docker ...' end @@ -2670,10 +2770,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -2695,11 +2797,11 @@ # Validate parameters for create Go package # Validate parameters for create Go package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadGo] :data + # @option opts [GoPackageUploadRequest] :data # @return [nil] def packages_validate_upload_go(owner, repo, opts = {}) packages_validate_upload_go_with_http_info(owner, repo, opts) nil end @@ -2707,11 +2809,11 @@ # Validate parameters for create Go package # Validate parameters for create Go package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadGo] :data + # @option opts [GoPackageUploadRequest] :data # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def packages_validate_upload_go_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_go ...' end @@ -2729,10 +2831,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -2754,11 +2858,11 @@ # Validate parameters for create Helm package # Validate parameters for create Helm package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadHelm] :data + # @option opts [HelmPackageUploadRequest] :data # @return [nil] def packages_validate_upload_helm(owner, repo, opts = {}) packages_validate_upload_helm_with_http_info(owner, repo, opts) nil end @@ -2766,11 +2870,11 @@ # Validate parameters for create Helm package # Validate parameters for create Helm package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadHelm] :data + # @option opts [HelmPackageUploadRequest] :data # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def packages_validate_upload_helm_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_helm ...' end @@ -2788,10 +2892,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -2813,11 +2919,11 @@ # Validate parameters for create LuaRocks package # Validate parameters for create LuaRocks package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadLuarocks] :data + # @option opts [LuarocksPackageUploadRequest] :data # @return [nil] def packages_validate_upload_luarocks(owner, repo, opts = {}) packages_validate_upload_luarocks_with_http_info(owner, repo, opts) nil end @@ -2825,11 +2931,11 @@ # Validate parameters for create LuaRocks package # Validate parameters for create LuaRocks package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadLuarocks] :data + # @option opts [LuarocksPackageUploadRequest] :data # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def packages_validate_upload_luarocks_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_luarocks ...' end @@ -2847,10 +2953,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -2872,11 +2980,11 @@ # Validate parameters for create Maven package # Validate parameters for create Maven package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadMaven] :data + # @option opts [MavenPackageUploadRequest] :data # @return [nil] def packages_validate_upload_maven(owner, repo, opts = {}) packages_validate_upload_maven_with_http_info(owner, repo, opts) nil end @@ -2884,11 +2992,11 @@ # Validate parameters for create Maven package # Validate parameters for create Maven package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadMaven] :data + # @option opts [MavenPackageUploadRequest] :data # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def packages_validate_upload_maven_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_maven ...' end @@ -2906,10 +3014,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -2931,11 +3041,11 @@ # Validate parameters for create npm package # Validate parameters for create npm package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadNpm] :data + # @option opts [NpmPackageUploadRequest] :data # @return [nil] def packages_validate_upload_npm(owner, repo, opts = {}) packages_validate_upload_npm_with_http_info(owner, repo, opts) nil end @@ -2943,11 +3053,11 @@ # Validate parameters for create npm package # Validate parameters for create npm package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadNpm] :data + # @option opts [NpmPackageUploadRequest] :data # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def packages_validate_upload_npm_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_npm ...' end @@ -2965,10 +3075,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -2990,11 +3102,11 @@ # Validate parameters for create NuGet package # Validate parameters for create NuGet package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadNuget] :data + # @option opts [NugetPackageUploadRequest] :data # @return [nil] def packages_validate_upload_nuget(owner, repo, opts = {}) packages_validate_upload_nuget_with_http_info(owner, repo, opts) nil end @@ -3002,11 +3114,11 @@ # Validate parameters for create NuGet package # Validate parameters for create NuGet package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadNuget] :data + # @option opts [NugetPackageUploadRequest] :data # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def packages_validate_upload_nuget_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_nuget ...' end @@ -3024,10 +3136,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -3049,11 +3163,11 @@ # Validate parameters for create P2 package # Validate parameters for create P2 package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadP2] :data + # @option opts [P2PackageUploadRequest] :data # @return [nil] def packages_validate_upload_p2(owner, repo, opts = {}) packages_validate_upload_p2_with_http_info(owner, repo, opts) nil end @@ -3061,11 +3175,11 @@ # Validate parameters for create P2 package # Validate parameters for create P2 package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadP2] :data + # @option opts [P2PackageUploadRequest] :data # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def packages_validate_upload_p2_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_p2 ...' end @@ -3083,10 +3197,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -3108,11 +3224,11 @@ # Validate parameters for create Python package # Validate parameters for create Python package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadPython] :data + # @option opts [PythonPackageUploadRequest] :data # @return [nil] def packages_validate_upload_python(owner, repo, opts = {}) packages_validate_upload_python_with_http_info(owner, repo, opts) nil end @@ -3120,11 +3236,11 @@ # Validate parameters for create Python package # Validate parameters for create Python package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadPython] :data + # @option opts [PythonPackageUploadRequest] :data # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def packages_validate_upload_python_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_python ...' end @@ -3142,10 +3258,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -3167,11 +3285,11 @@ # Validate parameters for create Raw package # Validate parameters for create Raw package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadRaw] :data + # @option opts [RawPackageUploadRequest] :data # @return [nil] def packages_validate_upload_raw(owner, repo, opts = {}) packages_validate_upload_raw_with_http_info(owner, repo, opts) nil end @@ -3179,11 +3297,11 @@ # Validate parameters for create Raw package # Validate parameters for create Raw package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadRaw] :data + # @option opts [RawPackageUploadRequest] :data # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def packages_validate_upload_raw_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_raw ...' end @@ -3201,10 +3319,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -3226,11 +3346,11 @@ # Validate parameters for create RedHat package # Validate parameters for create RedHat package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadRpm] :data + # @option opts [RpmPackageUploadRequest] :data # @return [nil] def packages_validate_upload_rpm(owner, repo, opts = {}) packages_validate_upload_rpm_with_http_info(owner, repo, opts) nil end @@ -3238,11 +3358,11 @@ # Validate parameters for create RedHat package # Validate parameters for create RedHat package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadRpm] :data + # @option opts [RpmPackageUploadRequest] :data # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def packages_validate_upload_rpm_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_rpm ...' end @@ -3260,10 +3380,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -3285,11 +3407,11 @@ # Validate parameters for create Ruby package # Validate parameters for create Ruby package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadRuby] :data + # @option opts [RubyPackageUploadRequest] :data # @return [nil] def packages_validate_upload_ruby(owner, repo, opts = {}) packages_validate_upload_ruby_with_http_info(owner, repo, opts) nil end @@ -3297,11 +3419,11 @@ # Validate parameters for create Ruby package # Validate parameters for create Ruby package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadRuby] :data + # @option opts [RubyPackageUploadRequest] :data # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def packages_validate_upload_ruby_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_ruby ...' end @@ -3319,10 +3441,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -3344,11 +3468,11 @@ # Validate parameters for create Terraform package # Validate parameters for create Terraform package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadTerraform] :data + # @option opts [TerraformPackageUploadRequest] :data # @return [nil] def packages_validate_upload_terraform(owner, repo, opts = {}) packages_validate_upload_terraform_with_http_info(owner, repo, opts) nil end @@ -3356,11 +3480,11 @@ # Validate parameters for create Terraform package # Validate parameters for create Terraform package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadTerraform] :data + # @option opts [TerraformPackageUploadRequest] :data # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def packages_validate_upload_terraform_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_terraform ...' end @@ -3378,10 +3502,12 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} @@ -3403,11 +3529,11 @@ # Validate parameters for create Vagrant package # Validate parameters for create Vagrant package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadVagrant] :data + # @option opts [VagrantPackageUploadRequest] :data # @return [nil] def packages_validate_upload_vagrant(owner, repo, opts = {}) packages_validate_upload_vagrant_with_http_info(owner, repo, opts) nil end @@ -3415,11 +3541,11 @@ # Validate parameters for create Vagrant package # Validate parameters for create Vagrant package # @param owner # @param repo # @param [Hash] opts the optional parameters - # @option opts [PackagesValidateuploadVagrant] :data + # @option opts [VagrantPackageUploadRequest] :data # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def packages_validate_upload_vagrant_with_http_info(owner, repo, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_vagrant ...' end @@ -3437,9 +3563,11 @@ # query parameters query_params = {} # header parameters header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {}