lib/cloudsmith-api/api/packages_api.rb in cloudsmith-api-1.30.0 vs lib/cloudsmith-api/api/packages_api.rb in cloudsmith-api-1.33.7
- old
+ new
@@ -4,35 +4,34 @@
#The API to the Cloudsmith Service
OpenAPI spec version: v1
Contact: support@cloudsmith.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
-Swagger Codegen version: 2.2.3
+Swagger Codegen version: 2.4.26
=end
-require "uri"
+require 'uri'
module CloudsmithApi
class PackagesApi
attr_accessor :api_client
def initialize(api_client = ApiClient.default)
@api_client = api_client
end
-
# Copy a package to another repository.
# Copy a package to another repository.
# @param owner
# @param repo
# @param identifier
# @param [Hash] opts the optional parameters
# @option opts [PackagesCopy] :data
# @return [PackageCopy]
def packages_copy(owner, repo, identifier, opts = {})
data, _status_code, _headers = packages_copy_with_http_info(owner, repo, identifier, opts)
- return data
+ data
end
# Copy a package to another repository.
# Copy a package to another repository.
# @param owner
@@ -41,11 +40,11 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesCopy] :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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_copy ...'
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_copy"
end
@@ -56,11 +55,11 @@
# 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_copy"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/{identifier}/copy/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
+ local_var_path = '/packages/{owner}/{repo}/{identifier}/copy/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
# query parameters
query_params = {}
# header parameters
@@ -84,21 +83,20 @@
if @api_client.config.debugging
@api_client.config.logger.debug "API called: PackagesApi#packages_copy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
-
# Delete a specific package in a repository.
# Delete a specific package in a repository.
# @param owner
# @param repo
# @param identifier
# @param [Hash] opts the optional parameters
# @return [nil]
def packages_delete(owner, repo, identifier, opts = {})
packages_delete_with_http_info(owner, repo, identifier, opts)
- return nil
+ nil
end
# Delete a specific package in a repository.
# Delete a specific package in a repository.
# @param owner
@@ -106,11 +104,11 @@
# @param identifier
# @param [Hash] opts the optional parameters
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
def packages_delete_with_http_info(owner, repo, identifier, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: PackagesApi.packages_delete ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_delete ...'
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_delete"
end
@@ -121,11 +119,11 @@
# 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_delete"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/{identifier}/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
+ local_var_path = '/packages/{owner}/{repo}/{identifier}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
# query parameters
query_params = {}
# header parameters
@@ -146,21 +144,20 @@
if @api_client.config.debugging
@api_client.config.logger.debug "API called: PackagesApi#packages_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
-
# Get the direct (non-transitive) dependencies list for a package.
# Get the direct (non-transitive) dependencies list for a package.
# @param owner
# @param repo
# @param identifier
# @param [Hash] opts the optional parameters
# @return [PackageDependencies]
def packages_dependencies(owner, repo, identifier, opts = {})
data, _status_code, _headers = packages_dependencies_with_http_info(owner, repo, identifier, opts)
- return data
+ data
end
# Get the direct (non-transitive) dependencies list for a package.
# Get the direct (non-transitive) dependencies list for a package.
# @param owner
@@ -168,11 +165,11 @@
# @param identifier
# @param [Hash] opts the optional parameters
# @return [Array<(PackageDependencies, Fixnum, Hash)>] PackageDependencies data, response status code and response headers
def packages_dependencies_with_http_info(owner, repo, identifier, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: PackagesApi.packages_dependencies ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_dependencies ...'
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_dependencies"
end
@@ -183,11 +180,11 @@
# 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_dependencies"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/{identifier}/dependencies/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
+ local_var_path = '/packages/{owner}/{repo}/{identifier}/dependencies/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
# query parameters
query_params = {}
# header parameters
@@ -209,11 +206,10 @@
if @api_client.config.debugging
@api_client.config.logger.debug "API called: PackagesApi#packages_dependencies\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
-
# Get a list of all packages associated with repository.
# Get a list of all packages associated with repository.
# @param owner
# @param repo
# @param [Hash] opts the optional parameters
@@ -222,11 +218,11 @@
# @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.
# @return [Array<Package>]
def packages_list(owner, repo, opts = {})
data, _status_code, _headers = packages_list_with_http_info(owner, repo, opts)
- return data
+ data
end
# Get a list of all packages associated with repository.
# Get a list of all packages associated with repository.
# @param owner
@@ -237,22 +233,22 @@
# @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.
# @return [Array<(Array<Package>, Fixnum, Hash)>] Array<Package> data, response status code and response headers
def packages_list_with_http_info(owner, repo, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: PackagesApi.packages_list ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_list ...'
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_list"
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_list"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
@@ -278,22 +274,21 @@
if @api_client.config.debugging
@api_client.config.logger.debug "API called: PackagesApi#packages_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
-
# Move a package to another repository.
# Move a package to another repository.
# @param owner
# @param repo
# @param identifier
# @param [Hash] opts the optional parameters
# @option opts [PackagesMove] :data
# @return [PackageMove]
def packages_move(owner, repo, identifier, opts = {})
data, _status_code, _headers = packages_move_with_http_info(owner, repo, identifier, opts)
- return data
+ data
end
# Move a package to another repository.
# Move a package to another repository.
# @param owner
@@ -302,11 +297,11 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesMove] :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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_move ...'
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_move"
end
@@ -317,11 +312,11 @@
# 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_move"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/{identifier}/move/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
+ local_var_path = '/packages/{owner}/{repo}/{identifier}/move/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
# query parameters
query_params = {}
# header parameters
@@ -345,21 +340,20 @@
if @api_client.config.debugging
@api_client.config.logger.debug "API called: PackagesApi#packages_move\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
-
# Get a specific package in a repository.
# Get a specific package in a repository.
# @param owner
# @param repo
# @param identifier
# @param [Hash] opts the optional parameters
# @return [Package]
def packages_read(owner, repo, identifier, opts = {})
data, _status_code, _headers = packages_read_with_http_info(owner, repo, identifier, opts)
- return data
+ data
end
# Get a specific package in a repository.
# Get a specific package in a repository.
# @param owner
@@ -367,11 +361,11 @@
# @param identifier
# @param [Hash] opts the optional parameters
# @return [Array<(Package, Fixnum, Hash)>] Package data, response status code and response headers
def packages_read_with_http_info(owner, repo, identifier, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: PackagesApi.packages_read ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_read ...'
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_read"
end
@@ -382,11 +376,11 @@
# 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_read"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/{identifier}/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
+ local_var_path = '/packages/{owner}/{repo}/{identifier}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
# query parameters
query_params = {}
# header parameters
@@ -408,21 +402,20 @@
if @api_client.config.debugging
@api_client.config.logger.debug "API called: PackagesApi#packages_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
-
# Schedule a package for resynchronisation.
# Schedule a package for resynchronisation.
# @param owner
# @param repo
# @param identifier
# @param [Hash] opts the optional parameters
# @return [Package]
def packages_resync(owner, repo, identifier, opts = {})
data, _status_code, _headers = packages_resync_with_http_info(owner, repo, identifier, opts)
- return data
+ data
end
# Schedule a package for resynchronisation.
# Schedule a package for resynchronisation.
# @param owner
@@ -430,11 +423,11 @@
# @param identifier
# @param [Hash] opts the optional parameters
# @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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_resync ...'
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_resync"
end
@@ -445,11 +438,11 @@
# 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_resync"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/{identifier}/resync/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
+ local_var_path = '/packages/{owner}/{repo}/{identifier}/resync/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
# query parameters
query_params = {}
# header parameters
@@ -471,21 +464,20 @@
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
-
# Schedule a package for scanning.
# Schedule a package for scanning.
# @param owner
# @param repo
# @param identifier
# @param [Hash] opts the optional parameters
# @return [Package]
def packages_scan(owner, repo, identifier, opts = {})
data, _status_code, _headers = packages_scan_with_http_info(owner, repo, identifier, opts)
- return data
+ data
end
# Schedule a package for scanning.
# Schedule a package for scanning.
# @param owner
@@ -493,11 +485,11 @@
# @param identifier
# @param [Hash] opts the optional parameters
# @return [Array<(Package, Fixnum, Hash)>] Package data, response status code and response headers
def packages_scan_with_http_info(owner, repo, identifier, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: PackagesApi.packages_scan ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_scan ...'
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_scan"
end
@@ -508,11 +500,11 @@
# 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_scan"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/{identifier}/scan/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
+ local_var_path = '/packages/{owner}/{repo}/{identifier}/scan/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
# query parameters
query_params = {}
# header parameters
@@ -534,21 +526,20 @@
if @api_client.config.debugging
@api_client.config.logger.debug "API called: PackagesApi#packages_scan\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
-
# Get the synchronisation status for a package.
# Get the synchronisation status for a package.
# @param owner
# @param repo
# @param identifier
# @param [Hash] opts the optional parameters
# @return [PackageStatus]
def packages_status(owner, repo, identifier, opts = {})
data, _status_code, _headers = packages_status_with_http_info(owner, repo, identifier, opts)
- return data
+ data
end
# Get the synchronisation status for a package.
# Get the synchronisation status for a package.
# @param owner
@@ -556,11 +547,11 @@
# @param identifier
# @param [Hash] opts the optional parameters
# @return [Array<(PackageStatus, Fixnum, Hash)>] PackageStatus data, response status code and response headers
def packages_status_with_http_info(owner, repo, identifier, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: PackagesApi.packages_status ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_status ...'
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_status"
end
@@ -571,11 +562,11 @@
# 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_status"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/{identifier}/status/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
+ local_var_path = '/packages/{owner}/{repo}/{identifier}/status/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
# query parameters
query_params = {}
# header parameters
@@ -597,22 +588,21 @@
if @api_client.config.debugging
@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
+ data
end
# Add/Replace/Remove tags for a package.
# Add/Replace/Remove tags for a package.
# @param owner
@@ -621,11 +611,11 @@
# @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 ..."
+ @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
@@ -636,11 +626,11 @@
# 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)
+ 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
@@ -664,21 +654,20 @@
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 [AlpinePackageUpload]
def packages_upload_alpine(owner, repo, opts = {})
data, _status_code, _headers = packages_upload_alpine_with_http_info(owner, repo, opts)
- return data
+ data
end
# Create a new Alpine package
# Create a new Alpine package
# @param owner
@@ -686,22 +675,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesUploadAlpine] :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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_upload_alpine ...'
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_upload_alpine"
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_upload_alpine"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/upload/alpine/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/upload/alpine/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -725,21 +714,20 @@
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
-
# 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]
def packages_upload_cargo(owner, repo, opts = {})
data, _status_code, _headers = packages_upload_cargo_with_http_info(owner, repo, opts)
- return data
+ data
end
# Create a new Cargo package
# Create a new Cargo package
# @param owner
@@ -747,22 +735,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesUploadCargo] :data
# @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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_upload_cargo ...'
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_upload_cargo"
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_upload_cargo"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/upload/cargo/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/upload/cargo/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -786,21 +774,20 @@
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]
def packages_upload_cocoapods(owner, repo, opts = {})
data, _status_code, _headers = packages_upload_cocoapods_with_http_info(owner, repo, opts)
- return data
+ data
end
# Create a new CocoaPods package
# Create a new CocoaPods package
# @param owner
@@ -808,22 +795,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesUploadCocoapods] :data
# @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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_upload_cocoapods ...'
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_upload_cocoapods"
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_upload_cocoapods"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/upload/cocoapods/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/upload/cocoapods/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -847,21 +834,20 @@
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]
def packages_upload_composer(owner, repo, opts = {})
data, _status_code, _headers = packages_upload_composer_with_http_info(owner, repo, opts)
- return data
+ data
end
# Create a new Composer package
# Create a new Composer package
# @param owner
@@ -869,22 +855,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesUploadComposer] :data
# @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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_upload_composer ...'
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_upload_composer"
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_upload_composer"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/upload/composer/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/upload/composer/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -908,21 +894,20 @@
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
# @return [ConanPackageUpload]
def packages_upload_conan(owner, repo, opts = {})
data, _status_code, _headers = packages_upload_conan_with_http_info(owner, repo, opts)
- return data
+ data
end
# Create a new Conan package
# Create a new Conan package
# @param owner
@@ -930,22 +915,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesUploadConan] :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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_upload_conan ...'
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_upload_conan"
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_upload_conan"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/upload/conan/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/upload/conan/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -969,21 +954,20 @@
if @api_client.config.debugging
@api_client.config.logger.debug "API called: PackagesApi#packages_upload_conan\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
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 [AlpinePackageUpload]
def packages_upload_conda(owner, repo, opts = {})
data, _status_code, _headers = packages_upload_conda_with_http_info(owner, repo, opts)
- return data
+ data
end
# Create a new Conda package
# Create a new Conda package
# @param owner
@@ -991,22 +975,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesUploadConda] :data
# @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload 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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_upload_conda ...'
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_upload_conda"
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_upload_conda"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/upload/conda/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/upload/conda/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -1030,21 +1014,20 @@
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]
def packages_upload_cran(owner, repo, opts = {})
data, _status_code, _headers = packages_upload_cran_with_http_info(owner, repo, opts)
- return data
+ data
end
# Create a new CRAN package
# Create a new CRAN package
# @param owner
@@ -1052,22 +1035,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesUploadCran] :data
# @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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_upload_cran ...'
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_upload_cran"
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_upload_cran"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/upload/cran/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/upload/cran/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -1091,21 +1074,20 @@
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]
def packages_upload_dart(owner, repo, opts = {})
data, _status_code, _headers = packages_upload_dart_with_http_info(owner, repo, opts)
- return data
+ data
end
# Create a new Dart package
# Create a new Dart package
# @param owner
@@ -1113,22 +1095,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesUploadDart] :data
# @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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_upload_dart ...'
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_upload_dart"
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_upload_dart"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/upload/dart/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/upload/dart/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -1152,21 +1134,20 @@
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]
def packages_upload_deb(owner, repo, opts = {})
data, _status_code, _headers = packages_upload_deb_with_http_info(owner, repo, opts)
- return data
+ data
end
# Create a new Debian package
# Create a new Debian package
# @param owner
@@ -1174,22 +1155,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesUploadDeb] :data
# @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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_upload_deb ...'
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_upload_deb"
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_upload_deb"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/upload/deb/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/upload/deb/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -1213,21 +1194,20 @@
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]
def packages_upload_docker(owner, repo, opts = {})
data, _status_code, _headers = packages_upload_docker_with_http_info(owner, repo, opts)
- return data
+ data
end
# Create a new Docker package
# Create a new Docker package
# @param owner
@@ -1235,22 +1215,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesUploadDocker] :data
# @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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_upload_docker ...'
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_upload_docker"
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_upload_docker"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/upload/docker/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/upload/docker/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -1274,21 +1254,20 @@
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]
def packages_upload_go(owner, repo, opts = {})
data, _status_code, _headers = packages_upload_go_with_http_info(owner, repo, opts)
- return data
+ data
end
# Create a new Go package
# Create a new Go package
# @param owner
@@ -1296,22 +1275,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesUploadGo] :data
# @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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_upload_go ...'
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_upload_go"
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_upload_go"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/upload/go/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/upload/go/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -1335,21 +1314,20 @@
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]
def packages_upload_helm(owner, repo, opts = {})
data, _status_code, _headers = packages_upload_helm_with_http_info(owner, repo, opts)
- return data
+ data
end
# Create a new Helm package
# Create a new Helm package
# @param owner
@@ -1357,22 +1335,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesUploadHelm] :data
# @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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_upload_helm ...'
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_upload_helm"
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_upload_helm"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/upload/helm/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/upload/helm/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -1396,21 +1374,20 @@
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]
def packages_upload_luarocks(owner, repo, opts = {})
data, _status_code, _headers = packages_upload_luarocks_with_http_info(owner, repo, opts)
- return data
+ data
end
# Create a new LuaRocks package
# Create a new LuaRocks package
# @param owner
@@ -1418,22 +1395,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesUploadLuarocks] :data
# @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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_upload_luarocks ...'
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_upload_luarocks"
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_upload_luarocks"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/upload/luarocks/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/upload/luarocks/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -1457,21 +1434,20 @@
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
# @return [MavenPackageUpload]
def packages_upload_maven(owner, repo, opts = {})
data, _status_code, _headers = packages_upload_maven_with_http_info(owner, repo, opts)
- return data
+ data
end
# Create a new Maven package
# Create a new Maven package
# @param owner
@@ -1479,22 +1455,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesUploadMaven] :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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_upload_maven ...'
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_upload_maven"
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_upload_maven"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/upload/maven/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/upload/maven/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -1518,21 +1494,20 @@
if @api_client.config.debugging
@api_client.config.logger.debug "API called: PackagesApi#packages_upload_maven\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
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 [AlpinePackageUpload]
def packages_upload_npm(owner, repo, opts = {})
data, _status_code, _headers = packages_upload_npm_with_http_info(owner, repo, opts)
- return data
+ data
end
# Create a new npm package
# Create a new npm package
# @param owner
@@ -1540,22 +1515,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesUploadNpm] :data
# @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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_upload_npm ...'
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_upload_npm"
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_upload_npm"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/upload/npm/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/upload/npm/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -1579,21 +1554,20 @@
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]
def packages_upload_nuget(owner, repo, opts = {})
data, _status_code, _headers = packages_upload_nuget_with_http_info(owner, repo, opts)
- return data
+ data
end
# Create a new NuGet package
# Create a new NuGet package
# @param owner
@@ -1601,22 +1575,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesUploadNuget] :data
# @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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_upload_nuget ...'
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_upload_nuget"
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_upload_nuget"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/upload/nuget/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/upload/nuget/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -1640,21 +1614,20 @@
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]
def packages_upload_p2(owner, repo, opts = {})
data, _status_code, _headers = packages_upload_p2_with_http_info(owner, repo, opts)
- return data
+ data
end
# Create a new P2 package
# Create a new P2 package
# @param owner
@@ -1662,22 +1635,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesUploadP2] :data
# @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload 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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_upload_p2 ...'
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_upload_p2"
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_upload_p2"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/upload/p2/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/upload/p2/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -1701,21 +1674,20 @@
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]
def packages_upload_python(owner, repo, opts = {})
data, _status_code, _headers = packages_upload_python_with_http_info(owner, repo, opts)
- return data
+ data
end
# Create a new Python package
# Create a new Python package
# @param owner
@@ -1723,22 +1695,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesUploadPython] :data
# @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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_upload_python ...'
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_upload_python"
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_upload_python"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/upload/python/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/upload/python/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -1762,21 +1734,20 @@
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
# @return [RawPackageUpload]
def packages_upload_raw(owner, repo, opts = {})
data, _status_code, _headers = packages_upload_raw_with_http_info(owner, repo, opts)
- return data
+ data
end
# Create a new Raw package
# Create a new Raw package
# @param owner
@@ -1784,22 +1755,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesUploadRaw] :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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_upload_raw ...'
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_upload_raw"
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_upload_raw"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/upload/raw/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/upload/raw/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -1823,21 +1794,20 @@
if @api_client.config.debugging
@api_client.config.logger.debug "API called: PackagesApi#packages_upload_raw\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
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 [AlpinePackageUpload]
def packages_upload_rpm(owner, repo, opts = {})
data, _status_code, _headers = packages_upload_rpm_with_http_info(owner, repo, opts)
- return data
+ data
end
# Create a new RedHat package
# Create a new RedHat package
# @param owner
@@ -1845,22 +1815,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesUploadRpm] :data
# @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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_upload_rpm ...'
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_upload_rpm"
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_upload_rpm"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/upload/rpm/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/upload/rpm/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -1884,21 +1854,20 @@
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]
def packages_upload_ruby(owner, repo, opts = {})
data, _status_code, _headers = packages_upload_ruby_with_http_info(owner, repo, opts)
- return data
+ data
end
# Create a new Ruby package
# Create a new Ruby package
# @param owner
@@ -1906,22 +1875,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesUploadRuby] :data
# @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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_upload_ruby ...'
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_upload_ruby"
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_upload_ruby"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/upload/ruby/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/upload/ruby/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -1945,21 +1914,20 @@
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]
def packages_upload_terraform(owner, repo, opts = {})
data, _status_code, _headers = packages_upload_terraform_with_http_info(owner, repo, opts)
- return data
+ data
end
# Create a new Terraform package
# Create a new Terraform package
# @param owner
@@ -1967,22 +1935,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesUploadTerraform] :data
# @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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_upload_terraform ...'
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_upload_terraform"
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_upload_terraform"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/upload/terraform/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/upload/terraform/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -2006,21 +1974,20 @@
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
# @return [VagrantPackageUpload]
def packages_upload_vagrant(owner, repo, opts = {})
data, _status_code, _headers = packages_upload_vagrant_with_http_info(owner, repo, opts)
- return data
+ data
end
# Create a new Vagrant package
# Create a new Vagrant package
# @param owner
@@ -2028,22 +1995,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesUploadVagrant] :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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_upload_vagrant ...'
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_upload_vagrant"
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_upload_vagrant"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/upload/vagrant/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/upload/vagrant/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -2067,21 +2034,20 @@
if @api_client.config.debugging
@api_client.config.logger.debug "API called: PackagesApi#packages_upload_vagrant\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
-
# 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
# @return [nil]
def packages_validate_upload_alpine(owner, repo, opts = {})
packages_validate_upload_alpine_with_http_info(owner, repo, opts)
- return nil
+ nil
end
# Validate parameters for create Alpine package
# Validate parameters for create Alpine package
# @param owner
@@ -2089,22 +2055,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesValidateuploadAlpine] :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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_alpine ...'
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_validate_upload_alpine"
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_validate_upload_alpine"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/validate-upload/alpine/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/validate-upload/alpine/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -2127,21 +2093,20 @@
if @api_client.config.debugging
@api_client.config.logger.debug "API called: PackagesApi#packages_validate_upload_alpine\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
-
# 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
# @return [nil]
def packages_validate_upload_cargo(owner, repo, opts = {})
packages_validate_upload_cargo_with_http_info(owner, repo, opts)
- return nil
+ nil
end
# Validate parameters for create Cargo package
# Validate parameters for create Cargo package
# @param owner
@@ -2149,22 +2114,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesValidateuploadCargo] :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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_cargo ...'
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_validate_upload_cargo"
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_validate_upload_cargo"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/validate-upload/cargo/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/validate-upload/cargo/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -2187,21 +2152,20 @@
if @api_client.config.debugging
@api_client.config.logger.debug "API called: PackagesApi#packages_validate_upload_cargo\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
-
# 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
# @return [nil]
def packages_validate_upload_cocoapods(owner, repo, opts = {})
packages_validate_upload_cocoapods_with_http_info(owner, repo, opts)
- return nil
+ nil
end
# Validate parameters for create CocoaPods package
# Validate parameters for create CocoaPods package
# @param owner
@@ -2209,22 +2173,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesValidateuploadCocoapods] :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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_cocoapods ...'
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_validate_upload_cocoapods"
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_validate_upload_cocoapods"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/validate-upload/cocoapods/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/validate-upload/cocoapods/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -2247,21 +2211,20 @@
if @api_client.config.debugging
@api_client.config.logger.debug "API called: PackagesApi#packages_validate_upload_cocoapods\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
-
# 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
# @return [nil]
def packages_validate_upload_composer(owner, repo, opts = {})
packages_validate_upload_composer_with_http_info(owner, repo, opts)
- return nil
+ nil
end
# Validate parameters for create Composer package
# Validate parameters for create Composer package
# @param owner
@@ -2269,22 +2232,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesValidateuploadComposer] :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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_composer ...'
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_validate_upload_composer"
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_validate_upload_composer"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/validate-upload/composer/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/validate-upload/composer/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -2307,21 +2270,20 @@
if @api_client.config.debugging
@api_client.config.logger.debug "API called: PackagesApi#packages_validate_upload_composer\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
-
# 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
# @return [nil]
def packages_validate_upload_conan(owner, repo, opts = {})
packages_validate_upload_conan_with_http_info(owner, repo, opts)
- return nil
+ nil
end
# Validate parameters for create Conan package
# Validate parameters for create Conan package
# @param owner
@@ -2329,22 +2291,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesValidateuploadConan] :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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_conan ...'
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_validate_upload_conan"
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_validate_upload_conan"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/validate-upload/conan/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/validate-upload/conan/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -2367,21 +2329,20 @@
if @api_client.config.debugging
@api_client.config.logger.debug "API called: PackagesApi#packages_validate_upload_conan\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
-
# 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
# @return [nil]
def packages_validate_upload_conda(owner, repo, opts = {})
packages_validate_upload_conda_with_http_info(owner, repo, opts)
- return nil
+ nil
end
# Validate parameters for create Conda package
# Validate parameters for create Conda package
# @param owner
@@ -2389,22 +2350,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesValidateuploadConda] :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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_conda ...'
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_validate_upload_conda"
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_validate_upload_conda"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/validate-upload/conda/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/validate-upload/conda/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -2427,21 +2388,20 @@
if @api_client.config.debugging
@api_client.config.logger.debug "API called: PackagesApi#packages_validate_upload_conda\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
-
# 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
# @return [nil]
def packages_validate_upload_cran(owner, repo, opts = {})
packages_validate_upload_cran_with_http_info(owner, repo, opts)
- return nil
+ nil
end
# Validate parameters for create CRAN package
# Validate parameters for create CRAN package
# @param owner
@@ -2449,22 +2409,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesValidateuploadCran] :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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_cran ...'
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_validate_upload_cran"
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_validate_upload_cran"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/validate-upload/cran/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/validate-upload/cran/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -2487,21 +2447,20 @@
if @api_client.config.debugging
@api_client.config.logger.debug "API called: PackagesApi#packages_validate_upload_cran\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
-
# 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
# @return [nil]
def packages_validate_upload_dart(owner, repo, opts = {})
packages_validate_upload_dart_with_http_info(owner, repo, opts)
- return nil
+ nil
end
# Validate parameters for create Dart package
# Validate parameters for create Dart package
# @param owner
@@ -2509,22 +2468,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesValidateuploadDart] :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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_dart ...'
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_validate_upload_dart"
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_validate_upload_dart"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/validate-upload/dart/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/validate-upload/dart/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -2547,21 +2506,20 @@
if @api_client.config.debugging
@api_client.config.logger.debug "API called: PackagesApi#packages_validate_upload_dart\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
-
# 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
# @return [nil]
def packages_validate_upload_deb(owner, repo, opts = {})
packages_validate_upload_deb_with_http_info(owner, repo, opts)
- return nil
+ nil
end
# Validate parameters for create Debian package
# Validate parameters for create Debian package
# @param owner
@@ -2569,22 +2527,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesValidateuploadDeb] :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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_deb ...'
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_validate_upload_deb"
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_validate_upload_deb"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/validate-upload/deb/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/validate-upload/deb/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -2607,21 +2565,20 @@
if @api_client.config.debugging
@api_client.config.logger.debug "API called: PackagesApi#packages_validate_upload_deb\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
-
# 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
# @return [nil]
def packages_validate_upload_docker(owner, repo, opts = {})
packages_validate_upload_docker_with_http_info(owner, repo, opts)
- return nil
+ nil
end
# Validate parameters for create Docker package
# Validate parameters for create Docker package
# @param owner
@@ -2629,22 +2586,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesValidateuploadDocker] :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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_docker ...'
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_validate_upload_docker"
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_validate_upload_docker"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/validate-upload/docker/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/validate-upload/docker/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -2667,21 +2624,20 @@
if @api_client.config.debugging
@api_client.config.logger.debug "API called: PackagesApi#packages_validate_upload_docker\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
-
# 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
# @return [nil]
def packages_validate_upload_go(owner, repo, opts = {})
packages_validate_upload_go_with_http_info(owner, repo, opts)
- return nil
+ nil
end
# Validate parameters for create Go package
# Validate parameters for create Go package
# @param owner
@@ -2689,22 +2645,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesValidateuploadGo] :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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_go ...'
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_validate_upload_go"
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_validate_upload_go"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/validate-upload/go/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/validate-upload/go/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -2727,21 +2683,20 @@
if @api_client.config.debugging
@api_client.config.logger.debug "API called: PackagesApi#packages_validate_upload_go\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
-
# 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
# @return [nil]
def packages_validate_upload_helm(owner, repo, opts = {})
packages_validate_upload_helm_with_http_info(owner, repo, opts)
- return nil
+ nil
end
# Validate parameters for create Helm package
# Validate parameters for create Helm package
# @param owner
@@ -2749,22 +2704,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesValidateuploadHelm] :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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_helm ...'
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_validate_upload_helm"
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_validate_upload_helm"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/validate-upload/helm/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/validate-upload/helm/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -2787,21 +2742,20 @@
if @api_client.config.debugging
@api_client.config.logger.debug "API called: PackagesApi#packages_validate_upload_helm\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
-
# 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
# @return [nil]
def packages_validate_upload_luarocks(owner, repo, opts = {})
packages_validate_upload_luarocks_with_http_info(owner, repo, opts)
- return nil
+ nil
end
# Validate parameters for create LuaRocks package
# Validate parameters for create LuaRocks package
# @param owner
@@ -2809,22 +2763,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesValidateuploadLuarocks] :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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_luarocks ...'
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_validate_upload_luarocks"
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_validate_upload_luarocks"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/validate-upload/luarocks/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/validate-upload/luarocks/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -2847,21 +2801,20 @@
if @api_client.config.debugging
@api_client.config.logger.debug "API called: PackagesApi#packages_validate_upload_luarocks\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
-
# 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
# @return [nil]
def packages_validate_upload_maven(owner, repo, opts = {})
packages_validate_upload_maven_with_http_info(owner, repo, opts)
- return nil
+ nil
end
# Validate parameters for create Maven package
# Validate parameters for create Maven package
# @param owner
@@ -2869,22 +2822,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesValidateuploadMaven] :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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_maven ...'
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_validate_upload_maven"
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_validate_upload_maven"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/validate-upload/maven/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/validate-upload/maven/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -2907,21 +2860,20 @@
if @api_client.config.debugging
@api_client.config.logger.debug "API called: PackagesApi#packages_validate_upload_maven\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
-
# 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
# @return [nil]
def packages_validate_upload_npm(owner, repo, opts = {})
packages_validate_upload_npm_with_http_info(owner, repo, opts)
- return nil
+ nil
end
# Validate parameters for create npm package
# Validate parameters for create npm package
# @param owner
@@ -2929,22 +2881,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesValidateuploadNpm] :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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_npm ...'
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_validate_upload_npm"
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_validate_upload_npm"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/validate-upload/npm/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/validate-upload/npm/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -2967,21 +2919,20 @@
if @api_client.config.debugging
@api_client.config.logger.debug "API called: PackagesApi#packages_validate_upload_npm\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
-
# 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
# @return [nil]
def packages_validate_upload_nuget(owner, repo, opts = {})
packages_validate_upload_nuget_with_http_info(owner, repo, opts)
- return nil
+ nil
end
# Validate parameters for create NuGet package
# Validate parameters for create NuGet package
# @param owner
@@ -2989,22 +2940,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesValidateuploadNuget] :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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_nuget ...'
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_validate_upload_nuget"
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_validate_upload_nuget"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/validate-upload/nuget/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/validate-upload/nuget/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -3027,21 +2978,20 @@
if @api_client.config.debugging
@api_client.config.logger.debug "API called: PackagesApi#packages_validate_upload_nuget\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
-
# 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
# @return [nil]
def packages_validate_upload_p2(owner, repo, opts = {})
packages_validate_upload_p2_with_http_info(owner, repo, opts)
- return nil
+ nil
end
# Validate parameters for create P2 package
# Validate parameters for create P2 package
# @param owner
@@ -3049,22 +2999,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesValidateuploadP2] :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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_p2 ...'
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_validate_upload_p2"
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_validate_upload_p2"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/validate-upload/p2/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/validate-upload/p2/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -3087,21 +3037,20 @@
if @api_client.config.debugging
@api_client.config.logger.debug "API called: PackagesApi#packages_validate_upload_p2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
-
# 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
# @return [nil]
def packages_validate_upload_python(owner, repo, opts = {})
packages_validate_upload_python_with_http_info(owner, repo, opts)
- return nil
+ nil
end
# Validate parameters for create Python package
# Validate parameters for create Python package
# @param owner
@@ -3109,22 +3058,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesValidateuploadPython] :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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_python ...'
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_validate_upload_python"
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_validate_upload_python"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/validate-upload/python/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/validate-upload/python/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -3147,21 +3096,20 @@
if @api_client.config.debugging
@api_client.config.logger.debug "API called: PackagesApi#packages_validate_upload_python\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
-
# 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
# @return [nil]
def packages_validate_upload_raw(owner, repo, opts = {})
packages_validate_upload_raw_with_http_info(owner, repo, opts)
- return nil
+ nil
end
# Validate parameters for create Raw package
# Validate parameters for create Raw package
# @param owner
@@ -3169,22 +3117,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesValidateuploadRaw] :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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_raw ...'
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_validate_upload_raw"
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_validate_upload_raw"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/validate-upload/raw/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/validate-upload/raw/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -3207,21 +3155,20 @@
if @api_client.config.debugging
@api_client.config.logger.debug "API called: PackagesApi#packages_validate_upload_raw\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
-
# 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
# @return [nil]
def packages_validate_upload_rpm(owner, repo, opts = {})
packages_validate_upload_rpm_with_http_info(owner, repo, opts)
- return nil
+ nil
end
# Validate parameters for create RedHat package
# Validate parameters for create RedHat package
# @param owner
@@ -3229,22 +3176,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesValidateuploadRpm] :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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_rpm ...'
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_validate_upload_rpm"
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_validate_upload_rpm"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/validate-upload/rpm/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/validate-upload/rpm/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -3267,21 +3214,20 @@
if @api_client.config.debugging
@api_client.config.logger.debug "API called: PackagesApi#packages_validate_upload_rpm\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
-
# 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
# @return [nil]
def packages_validate_upload_ruby(owner, repo, opts = {})
packages_validate_upload_ruby_with_http_info(owner, repo, opts)
- return nil
+ nil
end
# Validate parameters for create Ruby package
# Validate parameters for create Ruby package
# @param owner
@@ -3289,22 +3235,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesValidateuploadRuby] :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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_ruby ...'
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_validate_upload_ruby"
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_validate_upload_ruby"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/validate-upload/ruby/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/validate-upload/ruby/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -3327,21 +3273,20 @@
if @api_client.config.debugging
@api_client.config.logger.debug "API called: PackagesApi#packages_validate_upload_ruby\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
-
# 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
# @return [nil]
def packages_validate_upload_terraform(owner, repo, opts = {})
packages_validate_upload_terraform_with_http_info(owner, repo, opts)
- return nil
+ nil
end
# Validate parameters for create Terraform package
# Validate parameters for create Terraform package
# @param owner
@@ -3349,22 +3294,22 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesValidateuploadTerraform] :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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_terraform ...'
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_validate_upload_terraform"
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_validate_upload_terraform"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/validate-upload/terraform/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/validate-upload/terraform/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters
@@ -3387,21 +3332,20 @@
if @api_client.config.debugging
@api_client.config.logger.debug "API called: PackagesApi#packages_validate_upload_terraform\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
-
# 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
# @return [nil]
def packages_validate_upload_vagrant(owner, repo, opts = {})
packages_validate_upload_vagrant_with_http_info(owner, repo, opts)
- return nil
+ nil
end
# Validate parameters for create Vagrant package
# Validate parameters for create Vagrant package
# @param owner
@@ -3409,21 +3353,21 @@
# @param [Hash] opts the optional parameters
# @option opts [PackagesValidateuploadVagrant] :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 ..."
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_vagrant ...'
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_validate_upload_vagrant"
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_validate_upload_vagrant"
end
# resource path
- local_var_path = "/packages/{owner}/{repo}/validate-upload/vagrant/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
+ local_var_path = '/packages/{owner}/{repo}/validate-upload/vagrant/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
# query parameters
query_params = {}
# header parameters