cloudsmith-api 2.0.23 → 2.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +9 -7
- data/README.md +34 -5
- data/build.json +1 -1
- data/docs/AlpinePackageUpload.md +1 -0
- data/docs/AlpineUpstream.md +32 -0
- data/docs/AlpineUpstreamRequest.md +20 -0
- data/docs/AlpineUpstreamRequestPatch.md +20 -0
- data/docs/BulkActionApi.md +70 -0
- data/docs/CargoPackageUpload.md +1 -0
- data/docs/CargoUpstream.md +4 -4
- data/docs/CocoapodsPackageUpload.md +1 -0
- data/docs/ComposerPackageUpload.md +1 -0
- data/docs/ComposerUpstream.md +4 -4
- data/docs/ConanPackageUpload.md +1 -0
- data/docs/CondaPackageUpload.md +1 -0
- data/docs/CondaUpstream.md +4 -4
- data/docs/CranPackageUpload.md +1 -0
- data/docs/CranUpstream.md +4 -4
- data/docs/DartPackageUpload.md +1 -0
- data/docs/DartUpstream.md +4 -4
- data/docs/DebPackageUpload.md +1 -0
- data/docs/DebUpstream.md +4 -4
- data/docs/DockerPackageUpload.md +1 -0
- data/docs/DockerUpstream.md +2 -2
- data/docs/FormatSupport.md +1 -0
- data/docs/FormatSupportUpstream.md +1 -0
- data/docs/GenericPackageUpload.md +91 -0
- data/docs/GenericPackageUploadRequest.md +13 -0
- data/docs/GenericUpstream.md +33 -0
- data/docs/GenericUpstreamRequest.md +21 -0
- data/docs/GenericUpstreamRequestPatch.md +21 -0
- data/docs/GoPackageUpload.md +1 -0
- data/docs/GoUpstream.md +4 -4
- data/docs/HelmPackageUpload.md +1 -0
- data/docs/HelmUpstream.md +4 -4
- data/docs/HexPackageUpload.md +1 -0
- data/docs/HexUpstream.md +4 -4
- data/docs/HuggingfacePackageUpload.md +1 -0
- data/docs/HuggingfaceUpstream.md +4 -4
- data/docs/LuarocksPackageUpload.md +1 -0
- data/docs/MavenPackageUpload.md +1 -0
- data/docs/MavenUpstream.md +5 -4
- data/docs/MavenUpstreamRequest.md +1 -0
- data/docs/MavenUpstreamRequestPatch.md +1 -0
- data/docs/NpmPackageUpload.md +1 -0
- data/docs/NpmUpstream.md +5 -4
- data/docs/NpmUpstreamRequest.md +1 -0
- data/docs/NpmUpstreamRequestPatch.md +1 -0
- data/docs/NugetPackageUpload.md +1 -0
- data/docs/NugetUpstream.md +4 -4
- data/docs/OrganizationTeam.md +1 -1
- data/docs/OrganizationTeamMembers.md +1 -1
- data/docs/OrganizationTeamRequest.md +1 -1
- data/docs/OrganizationTeamRequestPatch.md +1 -1
- data/docs/{OrganizationTeamMembership.md → OrganizationTeamServiceMember.md} +2 -1
- data/docs/P2PackageUpload.md +1 -0
- data/docs/Package.md +2 -0
- data/docs/PackageBulkAction.md +11 -0
- data/docs/PackageBulkActionResponse.md +10 -0
- data/docs/PackageCopy.md +2 -0
- data/docs/PackageCopyRequest.md +1 -1
- data/docs/PackageMove.md +2 -0
- data/docs/PackageMoveRequest.md +1 -1
- data/docs/PackageQuarantine.md +2 -0
- data/docs/PackageResync.md +2 -0
- data/docs/PackageTag.md +2 -0
- data/docs/PackagesApi.md +262 -0
- data/docs/PythonPackageUpload.md +1 -0
- data/docs/PythonUpstream.md +4 -4
- data/docs/RawPackageUpload.md +1 -0
- data/docs/ReposApi.md +1173 -367
- data/docs/Repository.md +2 -0
- data/docs/RepositoryCreate.md +2 -0
- data/docs/RepositoryCreateRequest.md +1 -0
- data/docs/RepositoryRequestPatch.md +1 -0
- data/docs/RpmPackageUpload.md +1 -0
- data/docs/RpmUpstream.md +4 -4
- data/docs/RubyPackageUpload.md +1 -0
- data/docs/RubyUpstream.md +4 -4
- data/docs/SwiftPackageUpload.md +1 -0
- data/docs/SwiftUpstream.md +4 -4
- data/docs/TerraformPackageUpload.md +1 -0
- data/docs/VagrantPackageUpload.md +1 -0
- data/docs/VsxPackageUpload.md +91 -0
- data/docs/VsxPackageUploadRequest.md +10 -0
- data/lib/cloudsmith-api/api/bulk_action_api.rb +77 -0
- data/lib/cloudsmith-api/api/packages_api.rb +246 -0
- data/lib/cloudsmith-api/api/repos_api.rb +1475 -679
- data/lib/cloudsmith-api/models/alpine_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/alpine_upstream.rb +496 -0
- data/lib/cloudsmith-api/models/alpine_upstream_request.rb +365 -0
- data/lib/cloudsmith-api/models/alpine_upstream_request_patch.rb +355 -0
- data/lib/cloudsmith-api/models/cargo_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/cargo_upstream.rb +7 -4
- data/lib/cloudsmith-api/models/cocoapods_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/composer_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/composer_upstream.rb +7 -4
- data/lib/cloudsmith-api/models/conan_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/conda_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/conda_upstream.rb +7 -4
- data/lib/cloudsmith-api/models/cran_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/cran_upstream.rb +7 -4
- data/lib/cloudsmith-api/models/dart_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/dart_upstream.rb +7 -4
- data/lib/cloudsmith-api/models/deb_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/deb_upstream.rb +7 -4
- data/lib/cloudsmith-api/models/docker_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/docker_upstream.rb +4 -2
- data/lib/cloudsmith-api/models/format_support.rb +16 -1
- data/lib/cloudsmith-api/models/format_support_upstream.rb +19 -4
- data/lib/cloudsmith-api/models/generic_package_upload.rb +1001 -0
- data/lib/cloudsmith-api/models/generic_package_upload_request.rb +245 -0
- data/lib/cloudsmith-api/models/generic_upstream.rb +506 -0
- data/lib/cloudsmith-api/models/generic_upstream_request.rb +375 -0
- data/lib/cloudsmith-api/models/generic_upstream_request_patch.rb +365 -0
- data/lib/cloudsmith-api/models/go_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/go_upstream.rb +7 -4
- data/lib/cloudsmith-api/models/helm_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/helm_upstream.rb +7 -4
- data/lib/cloudsmith-api/models/hex_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/hex_upstream.rb +7 -4
- data/lib/cloudsmith-api/models/huggingface_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/huggingface_upstream.rb +7 -4
- data/lib/cloudsmith-api/models/luarocks_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/maven_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/maven_upstream.rb +32 -5
- data/lib/cloudsmith-api/models/maven_upstream_request.rb +25 -1
- data/lib/cloudsmith-api/models/maven_upstream_request_patch.rb +25 -1
- data/lib/cloudsmith-api/models/npm_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/npm_upstream.rb +32 -5
- data/lib/cloudsmith-api/models/npm_upstream_request.rb +25 -1
- data/lib/cloudsmith-api/models/npm_upstream_request_patch.rb +25 -1
- data/lib/cloudsmith-api/models/nuget_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/nuget_upstream.rb +7 -4
- data/lib/cloudsmith-api/models/organization_team.rb +1 -0
- data/lib/cloudsmith-api/models/organization_team_members.rb +1 -1
- data/lib/cloudsmith-api/models/organization_team_request.rb +1 -0
- data/lib/cloudsmith-api/models/organization_team_request_patch.rb +1 -0
- data/lib/cloudsmith-api/models/{organization_team_membership.rb → organization_team_service_member.rb} +28 -5
- data/lib/cloudsmith-api/models/p2_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/package.rb +20 -1
- data/lib/cloudsmith-api/models/package_bulk_action.rb +261 -0
- data/lib/cloudsmith-api/models/package_bulk_action_response.rb +209 -0
- data/lib/cloudsmith-api/models/package_copy.rb +20 -1
- data/lib/cloudsmith-api/models/package_copy_request.rb +1 -0
- data/lib/cloudsmith-api/models/package_move.rb +20 -1
- data/lib/cloudsmith-api/models/package_move_request.rb +1 -0
- data/lib/cloudsmith-api/models/package_quarantine.rb +20 -1
- data/lib/cloudsmith-api/models/package_resync.rb +20 -1
- data/lib/cloudsmith-api/models/package_tag.rb +20 -1
- data/lib/cloudsmith-api/models/python_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/python_upstream.rb +7 -4
- data/lib/cloudsmith-api/models/raw_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/repository.rb +21 -1
- data/lib/cloudsmith-api/models/repository_create.rb +21 -1
- data/lib/cloudsmith-api/models/repository_create_request.rb +11 -1
- data/lib/cloudsmith-api/models/repository_request_patch.rb +11 -1
- data/lib/cloudsmith-api/models/rpm_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/rpm_upstream.rb +7 -4
- data/lib/cloudsmith-api/models/ruby_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/ruby_upstream.rb +7 -4
- data/lib/cloudsmith-api/models/swift_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/swift_upstream.rb +7 -4
- data/lib/cloudsmith-api/models/terraform_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/vagrant_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/vsx_package_upload.rb +1001 -0
- data/lib/cloudsmith-api/models/vsx_package_upload_request.rb +210 -0
- data/lib/cloudsmith-api/version.rb +1 -1
- data/lib/cloudsmith-api.rb +14 -1
- data/spec/api/bulk_action_api_spec.rb +47 -0
- data/spec/api/packages_api_spec.rb +56 -0
- data/spec/api/repos_api_spec.rb +176 -0
- data/spec/models/alpine_package_upload_spec.rb +6 -0
- data/spec/models/alpine_upstream_request_patch_spec.rb +121 -0
- data/spec/models/alpine_upstream_request_spec.rb +121 -0
- data/spec/models/alpine_upstream_spec.rb +197 -0
- data/spec/models/cargo_package_upload_spec.rb +6 -0
- data/spec/models/cocoapods_package_upload_spec.rb +6 -0
- data/spec/models/composer_package_upload_spec.rb +6 -0
- data/spec/models/conan_package_upload_spec.rb +6 -0
- data/spec/models/conda_package_upload_spec.rb +6 -0
- data/spec/models/cran_package_upload_spec.rb +6 -0
- data/spec/models/dart_package_upload_spec.rb +6 -0
- data/spec/models/deb_package_upload_spec.rb +6 -0
- data/spec/models/docker_package_upload_spec.rb +6 -0
- data/spec/models/format_support_spec.rb +6 -0
- data/spec/models/format_support_upstream_spec.rb +6 -0
- data/spec/models/generic_package_upload_request_spec.rb +71 -0
- data/spec/models/generic_package_upload_spec.rb +543 -0
- data/spec/models/generic_upstream_request_patch_spec.rb +127 -0
- data/spec/models/generic_upstream_request_spec.rb +127 -0
- data/spec/models/generic_upstream_spec.rb +203 -0
- data/spec/models/go_package_upload_spec.rb +6 -0
- data/spec/models/helm_package_upload_spec.rb +6 -0
- data/spec/models/hex_package_upload_spec.rb +6 -0
- data/spec/models/huggingface_package_upload_spec.rb +6 -0
- data/spec/models/luarocks_package_upload_spec.rb +6 -0
- data/spec/models/maven_package_upload_spec.rb +6 -0
- data/spec/models/maven_upstream_request_patch_spec.rb +10 -0
- data/spec/models/maven_upstream_request_spec.rb +10 -0
- data/spec/models/maven_upstream_spec.rb +10 -0
- data/spec/models/npm_package_upload_spec.rb +6 -0
- data/spec/models/npm_upstream_request_patch_spec.rb +10 -0
- data/spec/models/npm_upstream_request_spec.rb +10 -0
- data/spec/models/npm_upstream_spec.rb +10 -0
- data/spec/models/nuget_package_upload_spec.rb +6 -0
- data/spec/models/{organization_team_membership_spec.rb → organization_team_service_member_spec.rb} +16 -6
- data/spec/models/p2_package_upload_spec.rb +6 -0
- data/spec/models/package_bulk_action_response_spec.rb +53 -0
- data/spec/models/package_bulk_action_spec.rb +63 -0
- data/spec/models/package_copy_spec.rb +12 -0
- data/spec/models/package_move_spec.rb +12 -0
- data/spec/models/package_quarantine_spec.rb +12 -0
- data/spec/models/package_resync_spec.rb +12 -0
- data/spec/models/package_spec.rb +12 -0
- data/spec/models/package_tag_spec.rb +12 -0
- data/spec/models/python_package_upload_spec.rb +6 -0
- data/spec/models/raw_package_upload_spec.rb +6 -0
- data/spec/models/repository_create_request_spec.rb +6 -0
- data/spec/models/repository_create_spec.rb +12 -0
- data/spec/models/repository_request_patch_spec.rb +6 -0
- data/spec/models/repository_spec.rb +12 -0
- data/spec/models/rpm_package_upload_spec.rb +6 -0
- data/spec/models/ruby_package_upload_spec.rb +6 -0
- data/spec/models/swift_package_upload_spec.rb +6 -0
- data/spec/models/terraform_package_upload_spec.rb +6 -0
- data/spec/models/vagrant_package_upload_spec.rb +6 -0
- data/spec/models/vsx_package_upload_request_spec.rb +53 -0
- data/spec/models/vsx_package_upload_spec.rb +543 -0
- data/vendor/bundle/ruby/2.6.0/cache/addressable-2.8.9.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/ethon-0.18.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/logger-1.7.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-mocks-3.13.8.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-support-3.13.7.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/typhoeus-1.6.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.3.1/gem_make.out +1 -1
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-4.0.1/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-4.0.1/mkmf.log +4 -4
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.17.3/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.17.3/mkmf.log +1 -1
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.6/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.6/mkmf.log +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.8 → addressable-2.8.9}/CHANGELOG.md +10 -1
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.8 → addressable-2.8.9}/lib/addressable/idna/pure.rb +0 -10
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.8 → addressable-2.8.9}/lib/addressable/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-4.0.1/ext/bigdecimal/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/CHANGELOG.md +46 -1
- data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/README.md +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.18.0/ethon.gemspec +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/curls/classes.rb +12 -2
- data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/curls/codes.rb +3 -2
- data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/curls/options.rb +4 -3
- data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/callbacks.rb +10 -3
- data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/informations.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/response_callbacks.rb +6 -1
- data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/loggable.rb +0 -1
- data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.17.3/ext/ffi_c/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/generator/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/parser/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/logger-1.7.0/.document +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/logger-1.7.0/.rdoc_options +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/logger-1.7.0/BSDL +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/logger-1.7.0/COPYING +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/logger-1.7.0/README.md +104 -0
- data/vendor/bundle/ruby/2.6.0/gems/logger-1.7.0/lib/logger/errors.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/logger-1.7.0/lib/logger/formatter.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/logger-1.7.0/lib/logger/log_device.rb +265 -0
- data/vendor/bundle/ruby/2.6.0/gems/logger-1.7.0/lib/logger/period.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/logger-1.7.0/lib/logger/severity.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/logger-1.7.0/lib/logger/version.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/logger-1.7.0/lib/logger.rb +789 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/Changelog.md +9 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/any_instance/recorder.rb +3 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/order_group.rb +15 -4
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/Changelog.md +10 -3
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/fuzzy_matcher.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/CHANGELOG.md +14 -1
- data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/README.md +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/typhoeus.gemspec +1 -1
- data/vendor/bundle/ruby/2.6.0/specifications/{addressable-2.8.8.gemspec → addressable-2.8.9.gemspec} +3 -5
- data/vendor/bundle/ruby/2.6.0/specifications/{ethon-0.15.0.gemspec → ethon-0.18.0.gemspec} +8 -4
- data/vendor/bundle/ruby/2.6.0/specifications/logger-1.7.0.gemspec +22 -0
- data/vendor/bundle/ruby/2.6.0/specifications/{rspec-mocks-3.13.7.gemspec → rspec-mocks-3.13.8.gemspec} +5 -5
- data/vendor/bundle/ruby/2.6.0/specifications/{rspec-support-3.13.6.gemspec → rspec-support-3.13.7.gemspec} +4 -4
- data/vendor/bundle/ruby/2.6.0/specifications/{typhoeus-1.5.0.gemspec → typhoeus-1.6.0.gemspec} +5 -5
- metadata +284 -278
- data/vendor/bundle/ruby/2.6.0/cache/addressable-2.8.8.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/ethon-0.15.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-mocks-3.13.7.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-support-3.13.6.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/typhoeus-1.5.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/Gemfile +0 -31
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/Rakefile +0 -37
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/addressable.gemspec +0 -28
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/spec/addressable/idna_spec.rb +0 -302
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/spec/addressable/net_http_compat_spec.rb +0 -29
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/spec/addressable/security_spec.rb +0 -58
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/spec/addressable/template_spec.rb +0 -1264
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/spec/addressable/uri_spec.rb +0 -6854
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/spec/spec_helper.rb +0 -33
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/tasks/clobber.rake +0 -4
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/tasks/gem.rake +0 -100
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/tasks/git.rake +0 -47
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/tasks/metrics.rake +0 -24
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/tasks/profile.rake +0 -72
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/tasks/rspec.rake +0 -23
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/tasks/yard.rake +0 -29
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/.github/workflows/ruby.yml +0 -41
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/.gitignore +0 -8
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/.rspec +0 -3
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/Gemfile +0 -43
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/Guardfile +0 -10
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/Rakefile +0 -40
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/ethon.gemspec +0 -26
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/profile/benchmarks.rb +0 -104
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/profile/memory_leaks.rb +0 -114
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/profile/perf_spec_helper.rb +0 -37
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/profile/support/memory_test_helpers.rb +0 -76
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/profile/support/os_memory_leak_tracker.rb +0 -48
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/profile/support/ruby_object_leak_tracker.rb +0 -49
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/curl_spec.rb +0 -38
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/callbacks_spec.rb +0 -59
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/debug_info_spec.rb +0 -54
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/features_spec.rb +0 -24
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/form_spec.rb +0 -104
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/header_spec.rb +0 -79
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/http/custom_spec.rb +0 -177
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/http/delete_spec.rb +0 -21
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/http/get_spec.rb +0 -126
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/http/head_spec.rb +0 -80
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/http/options_spec.rb +0 -51
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/http/patch_spec.rb +0 -51
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/http/post_spec.rb +0 -317
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/http/put_spec.rb +0 -168
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/http_spec.rb +0 -64
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/informations_spec.rb +0 -120
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/mirror_spec.rb +0 -47
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/operations_spec.rb +0 -268
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/options_spec.rb +0 -193
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/queryable_spec.rb +0 -235
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/response_callbacks_spec.rb +0 -152
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/util_spec.rb +0 -28
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy_spec.rb +0 -203
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/libc_spec.rb +0 -14
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb +0 -22
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/multi/operations_spec.rb +0 -298
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/multi/options_spec.rb +0 -182
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/multi/stack_spec.rb +0 -80
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/multi_spec.rb +0 -152
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/spec_helper.rb +0 -28
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/support/localhost_server.rb +0 -95
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/support/server.rb +0 -115
- /data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.8 → addressable-2.8.9}/LICENSE.txt +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.8 → addressable-2.8.9}/README.md +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.8 → addressable-2.8.9}/lib/addressable/idna/native.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.8 → addressable-2.8.9}/lib/addressable/idna.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.8 → addressable-2.8.9}/lib/addressable/template.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.8 → addressable-2.8.9}/lib/addressable/uri.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.8 → addressable-2.8.9}/lib/addressable.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/LICENSE +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/curl.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/curls/constants.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/curls/form_options.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/curls/functions.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/curls/infos.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/curls/messages.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/curls/settings.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/debug_info.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/features.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/form.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/header.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/http/actionable.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/http/custom.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/http/delete.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/http/get.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/http/head.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/http/options.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/http/patch.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/http/post.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/http/postable.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/http/put.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/http/putable.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/http.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/mirror.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/operations.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/options.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/params.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/queryable.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/util.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/errors/ethon_error.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/errors/global_init.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/errors/invalid_option.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/errors/invalid_value.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/errors/multi_add.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/errors/multi_fdset.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/errors/multi_remove.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/errors/multi_timeout.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/errors/select.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/errors.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/libc.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/multi/operations.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/multi/options.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/multi/stack.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/multi.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/.document +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/.yardopts +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/LICENSE.md +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/README.md +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/any_instance/chain.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/any_instance/error_generator.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/any_instance/expect_chain_chain.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/any_instance/expectation_chain.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/any_instance/message_chains.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/any_instance/proxy.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/any_instance/stub_chain.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/any_instance/stub_chain_chain.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/any_instance.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/argument_list_matcher.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/argument_matchers.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/configuration.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/error_generator.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/example_methods.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/instance_method_stasher.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/marshal_extension.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/matchers/expectation_customization.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/matchers/have_received.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/matchers/receive.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/matchers/receive_message_chain.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/matchers/receive_messages.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/message_chain.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/message_expectation.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/method_double.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/method_reference.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/minitest_integration.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/mutate_const.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/object_reference.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/proxy.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/space.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/standalone.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/syntax.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/targets.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/test_double.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/verifying_double.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/verifying_message_expectation.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/verifying_proxy.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/LICENSE.md +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/README.md +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/caller_filter.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/comparable_version.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/differ.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/directory_maker.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/encoded_string.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/hunk_generator.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/matcher_definition.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/method_signature_verifier.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/mutex.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/object_formatter.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/recursive_const_methods.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/reentrant_mutex.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/ruby_features.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/source/location.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/source/node.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/source/token.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/source.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/spec/deprecation_helpers.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/spec/diff_helpers.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/spec/formatting_support.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/spec/in_sub_process.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/spec/library_wide_checks.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/spec/shell_out.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/spec/stderr_splitter.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/spec/string_matcher.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/spec/with_isolated_directory.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/spec/with_isolated_stderr.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/spec.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/warnings.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/with_keywords_when_needed.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/CONTRIBUTING.md +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/LICENSE +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/UPGRADE.md +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/rack/typhoeus/middleware/params_decoder/helper.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/rack/typhoeus/middleware/params_decoder.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/rack/typhoeus.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/adapters/faraday.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/cache/dalli.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/cache/rails.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/cache/redis.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/config.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/easy_factory.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/errors/no_stub.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/errors/typhoeus_error.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/errors.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/expectation.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/hydra/addable.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/hydra/before.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/hydra/block_connection.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/hydra/cacheable.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/hydra/memoizable.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/hydra/queueable.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/hydra/runnable.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/hydra/stubbable.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/hydra.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/pool.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/railtie.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/request/actions.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/request/before.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/request/block_connection.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/request/cacheable.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/request/callbacks.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/request/marshal.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/request/memoizable.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/request/operations.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/request/responseable.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/request/streamable.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/request/stubbable.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/request.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/response/cacheable.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/response/header.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/response/informations.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/response/status.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/response.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus.rb +0 -0
|
@@ -1054,6 +1054,8 @@ module CloudsmithApi
|
|
|
1054
1054
|
# @param [Hash] opts the optional parameters
|
|
1055
1055
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
1056
1056
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
1057
|
+
# @option opts [String] :query A search term for querying repositories. Available options are: name, slug. Explicit filters: broadcast_state, repository_type. (default to )
|
|
1058
|
+
# @option opts [String] :sort A field for sorting objects in ascending or descending order. (default to -created_at)
|
|
1057
1059
|
# @return [Array<Repository>]
|
|
1058
1060
|
def repos_namespace_list(owner, opts = {})
|
|
1059
1061
|
data, _status_code, _headers = repos_namespace_list_with_http_info(owner, opts)
|
|
@@ -1066,6 +1068,8 @@ module CloudsmithApi
|
|
|
1066
1068
|
# @param [Hash] opts the optional parameters
|
|
1067
1069
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
1068
1070
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
1071
|
+
# @option opts [String] :query A search term for querying repositories. Available options are: name, slug. Explicit filters: broadcast_state, repository_type.
|
|
1072
|
+
# @option opts [String] :sort A field for sorting objects in ascending or descending order.
|
|
1069
1073
|
# @return [Array<(Array<Repository>, Fixnum, Hash)>] Array<Repository> data, response status code and response headers
|
|
1070
1074
|
def repos_namespace_list_with_http_info(owner, opts = {})
|
|
1071
1075
|
if @api_client.config.debugging
|
|
@@ -1082,6 +1086,8 @@ module CloudsmithApi
|
|
|
1082
1086
|
query_params = {}
|
|
1083
1087
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
1084
1088
|
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
1089
|
+
query_params[:'query'] = opts[:'query'] if !opts[:'query'].nil?
|
|
1090
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
1085
1091
|
|
|
1086
1092
|
# header parameters
|
|
1087
1093
|
header_params = {}
|
|
@@ -1661,39 +1667,39 @@ module CloudsmithApi
|
|
|
1661
1667
|
end
|
|
1662
1668
|
return data, status_code, headers
|
|
1663
1669
|
end
|
|
1664
|
-
# Create
|
|
1665
|
-
# Create
|
|
1670
|
+
# Create an Alpine upstream config for this repository.
|
|
1671
|
+
# Create an Alpine upstream config for this repository.
|
|
1666
1672
|
# @param owner
|
|
1667
1673
|
# @param identifier
|
|
1668
1674
|
# @param [Hash] opts the optional parameters
|
|
1669
|
-
# @option opts [
|
|
1670
|
-
# @return [
|
|
1671
|
-
def
|
|
1672
|
-
data, _status_code, _headers =
|
|
1675
|
+
# @option opts [AlpineUpstreamRequest] :data
|
|
1676
|
+
# @return [AlpineUpstream]
|
|
1677
|
+
def repos_upstream_alpine_create(owner, identifier, opts = {})
|
|
1678
|
+
data, _status_code, _headers = repos_upstream_alpine_create_with_http_info(owner, identifier, opts)
|
|
1673
1679
|
data
|
|
1674
1680
|
end
|
|
1675
1681
|
|
|
1676
|
-
# Create
|
|
1677
|
-
# Create
|
|
1682
|
+
# Create an Alpine upstream config for this repository.
|
|
1683
|
+
# Create an Alpine upstream config for this repository.
|
|
1678
1684
|
# @param owner
|
|
1679
1685
|
# @param identifier
|
|
1680
1686
|
# @param [Hash] opts the optional parameters
|
|
1681
|
-
# @option opts [
|
|
1682
|
-
# @return [Array<(
|
|
1683
|
-
def
|
|
1687
|
+
# @option opts [AlpineUpstreamRequest] :data
|
|
1688
|
+
# @return [Array<(AlpineUpstream, Fixnum, Hash)>] AlpineUpstream data, response status code and response headers
|
|
1689
|
+
def repos_upstream_alpine_create_with_http_info(owner, identifier, opts = {})
|
|
1684
1690
|
if @api_client.config.debugging
|
|
1685
|
-
@api_client.config.logger.debug 'Calling API: ReposApi.
|
|
1691
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_alpine_create ...'
|
|
1686
1692
|
end
|
|
1687
1693
|
# verify the required parameter 'owner' is set
|
|
1688
1694
|
if @api_client.config.client_side_validation && owner.nil?
|
|
1689
|
-
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.
|
|
1695
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_alpine_create"
|
|
1690
1696
|
end
|
|
1691
1697
|
# verify the required parameter 'identifier' is set
|
|
1692
1698
|
if @api_client.config.client_side_validation && identifier.nil?
|
|
1693
|
-
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.
|
|
1699
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_alpine_create"
|
|
1694
1700
|
end
|
|
1695
1701
|
# resource path
|
|
1696
|
-
local_var_path = '/repos/{owner}/{identifier}/upstream/
|
|
1702
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/alpine/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
|
|
1697
1703
|
|
|
1698
1704
|
# query parameters
|
|
1699
1705
|
query_params = {}
|
|
@@ -1717,49 +1723,49 @@ module CloudsmithApi
|
|
|
1717
1723
|
:form_params => form_params,
|
|
1718
1724
|
:body => post_body,
|
|
1719
1725
|
:auth_names => auth_names,
|
|
1720
|
-
:return_type => '
|
|
1726
|
+
:return_type => 'AlpineUpstream')
|
|
1721
1727
|
if @api_client.config.debugging
|
|
1722
|
-
@api_client.config.logger.debug "API called: ReposApi#
|
|
1728
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_alpine_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1723
1729
|
end
|
|
1724
1730
|
return data, status_code, headers
|
|
1725
1731
|
end
|
|
1726
|
-
# Delete
|
|
1727
|
-
# Delete
|
|
1732
|
+
# Delete an Alpine upstream config for this repository.
|
|
1733
|
+
# Delete an Alpine upstream config for this repository.
|
|
1728
1734
|
# @param owner
|
|
1729
1735
|
# @param identifier
|
|
1730
1736
|
# @param slug_perm
|
|
1731
1737
|
# @param [Hash] opts the optional parameters
|
|
1732
1738
|
# @return [nil]
|
|
1733
|
-
def
|
|
1734
|
-
|
|
1739
|
+
def repos_upstream_alpine_delete(owner, identifier, slug_perm, opts = {})
|
|
1740
|
+
repos_upstream_alpine_delete_with_http_info(owner, identifier, slug_perm, opts)
|
|
1735
1741
|
nil
|
|
1736
1742
|
end
|
|
1737
1743
|
|
|
1738
|
-
# Delete
|
|
1739
|
-
# Delete
|
|
1744
|
+
# Delete an Alpine upstream config for this repository.
|
|
1745
|
+
# Delete an Alpine upstream config for this repository.
|
|
1740
1746
|
# @param owner
|
|
1741
1747
|
# @param identifier
|
|
1742
1748
|
# @param slug_perm
|
|
1743
1749
|
# @param [Hash] opts the optional parameters
|
|
1744
1750
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
1745
|
-
def
|
|
1751
|
+
def repos_upstream_alpine_delete_with_http_info(owner, identifier, slug_perm, opts = {})
|
|
1746
1752
|
if @api_client.config.debugging
|
|
1747
|
-
@api_client.config.logger.debug 'Calling API: ReposApi.
|
|
1753
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_alpine_delete ...'
|
|
1748
1754
|
end
|
|
1749
1755
|
# verify the required parameter 'owner' is set
|
|
1750
1756
|
if @api_client.config.client_side_validation && owner.nil?
|
|
1751
|
-
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.
|
|
1757
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_alpine_delete"
|
|
1752
1758
|
end
|
|
1753
1759
|
# verify the required parameter 'identifier' is set
|
|
1754
1760
|
if @api_client.config.client_side_validation && identifier.nil?
|
|
1755
|
-
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.
|
|
1761
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_alpine_delete"
|
|
1756
1762
|
end
|
|
1757
1763
|
# verify the required parameter 'slug_perm' is set
|
|
1758
1764
|
if @api_client.config.client_side_validation && slug_perm.nil?
|
|
1759
|
-
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.
|
|
1765
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_alpine_delete"
|
|
1760
1766
|
end
|
|
1761
1767
|
# resource path
|
|
1762
|
-
local_var_path = '/repos/{owner}/{identifier}/upstream/
|
|
1768
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/alpine/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
|
1763
1769
|
|
|
1764
1770
|
# query parameters
|
|
1765
1771
|
query_params = {}
|
|
@@ -1784,45 +1790,45 @@ module CloudsmithApi
|
|
|
1784
1790
|
:body => post_body,
|
|
1785
1791
|
:auth_names => auth_names)
|
|
1786
1792
|
if @api_client.config.debugging
|
|
1787
|
-
@api_client.config.logger.debug "API called: ReposApi#
|
|
1793
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_alpine_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1788
1794
|
end
|
|
1789
1795
|
return data, status_code, headers
|
|
1790
1796
|
end
|
|
1791
|
-
# List
|
|
1792
|
-
# List
|
|
1797
|
+
# List Alpine upstream configs for this repository.
|
|
1798
|
+
# List Alpine upstream configs for this repository.
|
|
1793
1799
|
# @param owner
|
|
1794
1800
|
# @param identifier
|
|
1795
1801
|
# @param [Hash] opts the optional parameters
|
|
1796
1802
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
1797
1803
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
1798
|
-
# @return [Array<
|
|
1799
|
-
def
|
|
1800
|
-
data, _status_code, _headers =
|
|
1804
|
+
# @return [Array<AlpineUpstream>]
|
|
1805
|
+
def repos_upstream_alpine_list(owner, identifier, opts = {})
|
|
1806
|
+
data, _status_code, _headers = repos_upstream_alpine_list_with_http_info(owner, identifier, opts)
|
|
1801
1807
|
data
|
|
1802
1808
|
end
|
|
1803
1809
|
|
|
1804
|
-
# List
|
|
1805
|
-
# List
|
|
1810
|
+
# List Alpine upstream configs for this repository.
|
|
1811
|
+
# List Alpine upstream configs for this repository.
|
|
1806
1812
|
# @param owner
|
|
1807
1813
|
# @param identifier
|
|
1808
1814
|
# @param [Hash] opts the optional parameters
|
|
1809
1815
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
1810
1816
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
1811
|
-
# @return [Array<(Array<
|
|
1812
|
-
def
|
|
1817
|
+
# @return [Array<(Array<AlpineUpstream>, Fixnum, Hash)>] Array<AlpineUpstream> data, response status code and response headers
|
|
1818
|
+
def repos_upstream_alpine_list_with_http_info(owner, identifier, opts = {})
|
|
1813
1819
|
if @api_client.config.debugging
|
|
1814
|
-
@api_client.config.logger.debug 'Calling API: ReposApi.
|
|
1820
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_alpine_list ...'
|
|
1815
1821
|
end
|
|
1816
1822
|
# verify the required parameter 'owner' is set
|
|
1817
1823
|
if @api_client.config.client_side_validation && owner.nil?
|
|
1818
|
-
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.
|
|
1824
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_alpine_list"
|
|
1819
1825
|
end
|
|
1820
1826
|
# verify the required parameter 'identifier' is set
|
|
1821
1827
|
if @api_client.config.client_side_validation && identifier.nil?
|
|
1822
|
-
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.
|
|
1828
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_alpine_list"
|
|
1823
1829
|
end
|
|
1824
1830
|
# resource path
|
|
1825
|
-
local_var_path = '/repos/{owner}/{identifier}/upstream/
|
|
1831
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/alpine/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
|
|
1826
1832
|
|
|
1827
1833
|
# query parameters
|
|
1828
1834
|
query_params = {}
|
|
@@ -1848,51 +1854,51 @@ module CloudsmithApi
|
|
|
1848
1854
|
:form_params => form_params,
|
|
1849
1855
|
:body => post_body,
|
|
1850
1856
|
:auth_names => auth_names,
|
|
1851
|
-
:return_type => 'Array<
|
|
1857
|
+
:return_type => 'Array<AlpineUpstream>')
|
|
1852
1858
|
if @api_client.config.debugging
|
|
1853
|
-
@api_client.config.logger.debug "API called: ReposApi#
|
|
1859
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_alpine_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1854
1860
|
end
|
|
1855
1861
|
return data, status_code, headers
|
|
1856
1862
|
end
|
|
1857
|
-
# Partially update
|
|
1858
|
-
# Partially update
|
|
1863
|
+
# Partially update an Alpine upstream config for this repository.
|
|
1864
|
+
# Partially update an Alpine upstream config for this repository.
|
|
1859
1865
|
# @param owner
|
|
1860
1866
|
# @param identifier
|
|
1861
1867
|
# @param slug_perm
|
|
1862
1868
|
# @param [Hash] opts the optional parameters
|
|
1863
|
-
# @option opts [
|
|
1864
|
-
# @return [
|
|
1865
|
-
def
|
|
1866
|
-
data, _status_code, _headers =
|
|
1869
|
+
# @option opts [AlpineUpstreamRequestPatch] :data
|
|
1870
|
+
# @return [AlpineUpstream]
|
|
1871
|
+
def repos_upstream_alpine_partial_update(owner, identifier, slug_perm, opts = {})
|
|
1872
|
+
data, _status_code, _headers = repos_upstream_alpine_partial_update_with_http_info(owner, identifier, slug_perm, opts)
|
|
1867
1873
|
data
|
|
1868
1874
|
end
|
|
1869
1875
|
|
|
1870
|
-
# Partially update
|
|
1871
|
-
# Partially update
|
|
1876
|
+
# Partially update an Alpine upstream config for this repository.
|
|
1877
|
+
# Partially update an Alpine upstream config for this repository.
|
|
1872
1878
|
# @param owner
|
|
1873
1879
|
# @param identifier
|
|
1874
1880
|
# @param slug_perm
|
|
1875
1881
|
# @param [Hash] opts the optional parameters
|
|
1876
|
-
# @option opts [
|
|
1877
|
-
# @return [Array<(
|
|
1878
|
-
def
|
|
1882
|
+
# @option opts [AlpineUpstreamRequestPatch] :data
|
|
1883
|
+
# @return [Array<(AlpineUpstream, Fixnum, Hash)>] AlpineUpstream data, response status code and response headers
|
|
1884
|
+
def repos_upstream_alpine_partial_update_with_http_info(owner, identifier, slug_perm, opts = {})
|
|
1879
1885
|
if @api_client.config.debugging
|
|
1880
|
-
@api_client.config.logger.debug 'Calling API: ReposApi.
|
|
1886
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_alpine_partial_update ...'
|
|
1881
1887
|
end
|
|
1882
1888
|
# verify the required parameter 'owner' is set
|
|
1883
1889
|
if @api_client.config.client_side_validation && owner.nil?
|
|
1884
|
-
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.
|
|
1890
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_alpine_partial_update"
|
|
1885
1891
|
end
|
|
1886
1892
|
# verify the required parameter 'identifier' is set
|
|
1887
1893
|
if @api_client.config.client_side_validation && identifier.nil?
|
|
1888
|
-
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.
|
|
1894
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_alpine_partial_update"
|
|
1889
1895
|
end
|
|
1890
1896
|
# verify the required parameter 'slug_perm' is set
|
|
1891
1897
|
if @api_client.config.client_side_validation && slug_perm.nil?
|
|
1892
|
-
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.
|
|
1898
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_alpine_partial_update"
|
|
1893
1899
|
end
|
|
1894
1900
|
# resource path
|
|
1895
|
-
local_var_path = '/repos/{owner}/{identifier}/upstream/
|
|
1901
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/alpine/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
|
1896
1902
|
|
|
1897
1903
|
# query parameters
|
|
1898
1904
|
query_params = {}
|
|
@@ -1916,49 +1922,49 @@ module CloudsmithApi
|
|
|
1916
1922
|
:form_params => form_params,
|
|
1917
1923
|
:body => post_body,
|
|
1918
1924
|
:auth_names => auth_names,
|
|
1919
|
-
:return_type => '
|
|
1925
|
+
:return_type => 'AlpineUpstream')
|
|
1920
1926
|
if @api_client.config.debugging
|
|
1921
|
-
@api_client.config.logger.debug "API called: ReposApi#
|
|
1927
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_alpine_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1922
1928
|
end
|
|
1923
1929
|
return data, status_code, headers
|
|
1924
1930
|
end
|
|
1925
|
-
# Retrieve
|
|
1926
|
-
# Retrieve
|
|
1931
|
+
# Retrieve an Alpine upstream config for this repository.
|
|
1932
|
+
# Retrieve an Alpine upstream config for this repository.
|
|
1927
1933
|
# @param owner
|
|
1928
1934
|
# @param identifier
|
|
1929
1935
|
# @param slug_perm
|
|
1930
1936
|
# @param [Hash] opts the optional parameters
|
|
1931
|
-
# @return [
|
|
1932
|
-
def
|
|
1933
|
-
data, _status_code, _headers =
|
|
1937
|
+
# @return [AlpineUpstream]
|
|
1938
|
+
def repos_upstream_alpine_read(owner, identifier, slug_perm, opts = {})
|
|
1939
|
+
data, _status_code, _headers = repos_upstream_alpine_read_with_http_info(owner, identifier, slug_perm, opts)
|
|
1934
1940
|
data
|
|
1935
1941
|
end
|
|
1936
1942
|
|
|
1937
|
-
# Retrieve
|
|
1938
|
-
# Retrieve
|
|
1943
|
+
# Retrieve an Alpine upstream config for this repository.
|
|
1944
|
+
# Retrieve an Alpine upstream config for this repository.
|
|
1939
1945
|
# @param owner
|
|
1940
1946
|
# @param identifier
|
|
1941
1947
|
# @param slug_perm
|
|
1942
1948
|
# @param [Hash] opts the optional parameters
|
|
1943
|
-
# @return [Array<(
|
|
1944
|
-
def
|
|
1949
|
+
# @return [Array<(AlpineUpstream, Fixnum, Hash)>] AlpineUpstream data, response status code and response headers
|
|
1950
|
+
def repos_upstream_alpine_read_with_http_info(owner, identifier, slug_perm, opts = {})
|
|
1945
1951
|
if @api_client.config.debugging
|
|
1946
|
-
@api_client.config.logger.debug 'Calling API: ReposApi.
|
|
1952
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_alpine_read ...'
|
|
1947
1953
|
end
|
|
1948
1954
|
# verify the required parameter 'owner' is set
|
|
1949
1955
|
if @api_client.config.client_side_validation && owner.nil?
|
|
1950
|
-
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.
|
|
1956
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_alpine_read"
|
|
1951
1957
|
end
|
|
1952
1958
|
# verify the required parameter 'identifier' is set
|
|
1953
1959
|
if @api_client.config.client_side_validation && identifier.nil?
|
|
1954
|
-
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.
|
|
1960
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_alpine_read"
|
|
1955
1961
|
end
|
|
1956
1962
|
# verify the required parameter 'slug_perm' is set
|
|
1957
1963
|
if @api_client.config.client_side_validation && slug_perm.nil?
|
|
1958
|
-
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.
|
|
1964
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_alpine_read"
|
|
1959
1965
|
end
|
|
1960
1966
|
# resource path
|
|
1961
|
-
local_var_path = '/repos/{owner}/{identifier}/upstream/
|
|
1967
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/alpine/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
|
1962
1968
|
|
|
1963
1969
|
# query parameters
|
|
1964
1970
|
query_params = {}
|
|
@@ -1982,51 +1988,51 @@ module CloudsmithApi
|
|
|
1982
1988
|
:form_params => form_params,
|
|
1983
1989
|
:body => post_body,
|
|
1984
1990
|
:auth_names => auth_names,
|
|
1985
|
-
:return_type => '
|
|
1991
|
+
:return_type => 'AlpineUpstream')
|
|
1986
1992
|
if @api_client.config.debugging
|
|
1987
|
-
@api_client.config.logger.debug "API called: ReposApi#
|
|
1993
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_alpine_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1988
1994
|
end
|
|
1989
1995
|
return data, status_code, headers
|
|
1990
1996
|
end
|
|
1991
|
-
# Update
|
|
1992
|
-
# Update
|
|
1997
|
+
# Update an Alpine upstream config for this repository.
|
|
1998
|
+
# Update an Alpine upstream config for this repository.
|
|
1993
1999
|
# @param owner
|
|
1994
2000
|
# @param identifier
|
|
1995
2001
|
# @param slug_perm
|
|
1996
2002
|
# @param [Hash] opts the optional parameters
|
|
1997
|
-
# @option opts [
|
|
1998
|
-
# @return [
|
|
1999
|
-
def
|
|
2000
|
-
data, _status_code, _headers =
|
|
2003
|
+
# @option opts [AlpineUpstreamRequest] :data
|
|
2004
|
+
# @return [AlpineUpstream]
|
|
2005
|
+
def repos_upstream_alpine_update(owner, identifier, slug_perm, opts = {})
|
|
2006
|
+
data, _status_code, _headers = repos_upstream_alpine_update_with_http_info(owner, identifier, slug_perm, opts)
|
|
2001
2007
|
data
|
|
2002
2008
|
end
|
|
2003
2009
|
|
|
2004
|
-
# Update
|
|
2005
|
-
# Update
|
|
2010
|
+
# Update an Alpine upstream config for this repository.
|
|
2011
|
+
# Update an Alpine upstream config for this repository.
|
|
2006
2012
|
# @param owner
|
|
2007
2013
|
# @param identifier
|
|
2008
2014
|
# @param slug_perm
|
|
2009
2015
|
# @param [Hash] opts the optional parameters
|
|
2010
|
-
# @option opts [
|
|
2011
|
-
# @return [Array<(
|
|
2012
|
-
def
|
|
2016
|
+
# @option opts [AlpineUpstreamRequest] :data
|
|
2017
|
+
# @return [Array<(AlpineUpstream, Fixnum, Hash)>] AlpineUpstream data, response status code and response headers
|
|
2018
|
+
def repos_upstream_alpine_update_with_http_info(owner, identifier, slug_perm, opts = {})
|
|
2013
2019
|
if @api_client.config.debugging
|
|
2014
|
-
@api_client.config.logger.debug 'Calling API: ReposApi.
|
|
2020
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_alpine_update ...'
|
|
2015
2021
|
end
|
|
2016
2022
|
# verify the required parameter 'owner' is set
|
|
2017
2023
|
if @api_client.config.client_side_validation && owner.nil?
|
|
2018
|
-
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.
|
|
2024
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_alpine_update"
|
|
2019
2025
|
end
|
|
2020
2026
|
# verify the required parameter 'identifier' is set
|
|
2021
2027
|
if @api_client.config.client_side_validation && identifier.nil?
|
|
2022
|
-
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.
|
|
2028
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_alpine_update"
|
|
2023
2029
|
end
|
|
2024
2030
|
# verify the required parameter 'slug_perm' is set
|
|
2025
2031
|
if @api_client.config.client_side_validation && slug_perm.nil?
|
|
2026
|
-
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.
|
|
2032
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_alpine_update"
|
|
2027
2033
|
end
|
|
2028
2034
|
# resource path
|
|
2029
|
-
local_var_path = '/repos/{owner}/{identifier}/upstream/
|
|
2035
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/alpine/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
|
2030
2036
|
|
|
2031
2037
|
# query parameters
|
|
2032
2038
|
query_params = {}
|
|
@@ -2050,45 +2056,45 @@ module CloudsmithApi
|
|
|
2050
2056
|
:form_params => form_params,
|
|
2051
2057
|
:body => post_body,
|
|
2052
2058
|
:auth_names => auth_names,
|
|
2053
|
-
:return_type => '
|
|
2059
|
+
:return_type => 'AlpineUpstream')
|
|
2054
2060
|
if @api_client.config.debugging
|
|
2055
|
-
@api_client.config.logger.debug "API called: ReposApi#
|
|
2061
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_alpine_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2056
2062
|
end
|
|
2057
2063
|
return data, status_code, headers
|
|
2058
2064
|
end
|
|
2059
|
-
# Create a
|
|
2060
|
-
# Create a
|
|
2065
|
+
# Create a Cargo upstream config for this repository.
|
|
2066
|
+
# Create a Cargo upstream config for this repository.
|
|
2061
2067
|
# @param owner
|
|
2062
2068
|
# @param identifier
|
|
2063
2069
|
# @param [Hash] opts the optional parameters
|
|
2064
|
-
# @option opts [
|
|
2065
|
-
# @return [
|
|
2066
|
-
def
|
|
2067
|
-
data, _status_code, _headers =
|
|
2070
|
+
# @option opts [CargoUpstreamRequest] :data
|
|
2071
|
+
# @return [CargoUpstream]
|
|
2072
|
+
def repos_upstream_cargo_create(owner, identifier, opts = {})
|
|
2073
|
+
data, _status_code, _headers = repos_upstream_cargo_create_with_http_info(owner, identifier, opts)
|
|
2068
2074
|
data
|
|
2069
2075
|
end
|
|
2070
2076
|
|
|
2071
|
-
# Create a
|
|
2072
|
-
# Create a
|
|
2077
|
+
# Create a Cargo upstream config for this repository.
|
|
2078
|
+
# Create a Cargo upstream config for this repository.
|
|
2073
2079
|
# @param owner
|
|
2074
2080
|
# @param identifier
|
|
2075
2081
|
# @param [Hash] opts the optional parameters
|
|
2076
|
-
# @option opts [
|
|
2077
|
-
# @return [Array<(
|
|
2078
|
-
def
|
|
2082
|
+
# @option opts [CargoUpstreamRequest] :data
|
|
2083
|
+
# @return [Array<(CargoUpstream, Fixnum, Hash)>] CargoUpstream data, response status code and response headers
|
|
2084
|
+
def repos_upstream_cargo_create_with_http_info(owner, identifier, opts = {})
|
|
2079
2085
|
if @api_client.config.debugging
|
|
2080
|
-
@api_client.config.logger.debug 'Calling API: ReposApi.
|
|
2086
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_cargo_create ...'
|
|
2081
2087
|
end
|
|
2082
2088
|
# verify the required parameter 'owner' is set
|
|
2083
2089
|
if @api_client.config.client_side_validation && owner.nil?
|
|
2084
|
-
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.
|
|
2090
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_cargo_create"
|
|
2085
2091
|
end
|
|
2086
2092
|
# verify the required parameter 'identifier' is set
|
|
2087
2093
|
if @api_client.config.client_side_validation && identifier.nil?
|
|
2088
|
-
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.
|
|
2094
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_cargo_create"
|
|
2089
2095
|
end
|
|
2090
2096
|
# resource path
|
|
2091
|
-
local_var_path = '/repos/{owner}/{identifier}/upstream/
|
|
2097
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/cargo/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
|
|
2092
2098
|
|
|
2093
2099
|
# query parameters
|
|
2094
2100
|
query_params = {}
|
|
@@ -2112,49 +2118,49 @@ module CloudsmithApi
|
|
|
2112
2118
|
:form_params => form_params,
|
|
2113
2119
|
:body => post_body,
|
|
2114
2120
|
:auth_names => auth_names,
|
|
2115
|
-
:return_type => '
|
|
2121
|
+
:return_type => 'CargoUpstream')
|
|
2116
2122
|
if @api_client.config.debugging
|
|
2117
|
-
@api_client.config.logger.debug "API called: ReposApi#
|
|
2123
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_cargo_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2118
2124
|
end
|
|
2119
2125
|
return data, status_code, headers
|
|
2120
2126
|
end
|
|
2121
|
-
# Delete a
|
|
2122
|
-
# Delete a
|
|
2127
|
+
# Delete a Cargo upstream config for this repository.
|
|
2128
|
+
# Delete a Cargo upstream config for this repository.
|
|
2123
2129
|
# @param owner
|
|
2124
2130
|
# @param identifier
|
|
2125
2131
|
# @param slug_perm
|
|
2126
2132
|
# @param [Hash] opts the optional parameters
|
|
2127
2133
|
# @return [nil]
|
|
2128
|
-
def
|
|
2129
|
-
|
|
2134
|
+
def repos_upstream_cargo_delete(owner, identifier, slug_perm, opts = {})
|
|
2135
|
+
repos_upstream_cargo_delete_with_http_info(owner, identifier, slug_perm, opts)
|
|
2130
2136
|
nil
|
|
2131
2137
|
end
|
|
2132
2138
|
|
|
2133
|
-
# Delete a
|
|
2134
|
-
# Delete a
|
|
2139
|
+
# Delete a Cargo upstream config for this repository.
|
|
2140
|
+
# Delete a Cargo upstream config for this repository.
|
|
2135
2141
|
# @param owner
|
|
2136
2142
|
# @param identifier
|
|
2137
2143
|
# @param slug_perm
|
|
2138
2144
|
# @param [Hash] opts the optional parameters
|
|
2139
2145
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
2140
|
-
def
|
|
2146
|
+
def repos_upstream_cargo_delete_with_http_info(owner, identifier, slug_perm, opts = {})
|
|
2141
2147
|
if @api_client.config.debugging
|
|
2142
|
-
@api_client.config.logger.debug 'Calling API: ReposApi.
|
|
2148
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_cargo_delete ...'
|
|
2143
2149
|
end
|
|
2144
2150
|
# verify the required parameter 'owner' is set
|
|
2145
2151
|
if @api_client.config.client_side_validation && owner.nil?
|
|
2146
|
-
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.
|
|
2152
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_cargo_delete"
|
|
2147
2153
|
end
|
|
2148
2154
|
# verify the required parameter 'identifier' is set
|
|
2149
2155
|
if @api_client.config.client_side_validation && identifier.nil?
|
|
2150
|
-
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.
|
|
2156
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_cargo_delete"
|
|
2151
2157
|
end
|
|
2152
2158
|
# verify the required parameter 'slug_perm' is set
|
|
2153
2159
|
if @api_client.config.client_side_validation && slug_perm.nil?
|
|
2154
|
-
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.
|
|
2160
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_cargo_delete"
|
|
2155
2161
|
end
|
|
2156
2162
|
# resource path
|
|
2157
|
-
local_var_path = '/repos/{owner}/{identifier}/upstream/
|
|
2163
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/cargo/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
|
2158
2164
|
|
|
2159
2165
|
# query parameters
|
|
2160
2166
|
query_params = {}
|
|
@@ -2179,45 +2185,45 @@ module CloudsmithApi
|
|
|
2179
2185
|
:body => post_body,
|
|
2180
2186
|
:auth_names => auth_names)
|
|
2181
2187
|
if @api_client.config.debugging
|
|
2182
|
-
@api_client.config.logger.debug "API called: ReposApi#
|
|
2188
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_cargo_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2183
2189
|
end
|
|
2184
2190
|
return data, status_code, headers
|
|
2185
2191
|
end
|
|
2186
|
-
# List
|
|
2187
|
-
# List
|
|
2192
|
+
# List Cargo upstream configs for this repository.
|
|
2193
|
+
# List Cargo upstream configs for this repository.
|
|
2188
2194
|
# @param owner
|
|
2189
2195
|
# @param identifier
|
|
2190
2196
|
# @param [Hash] opts the optional parameters
|
|
2191
2197
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
2192
2198
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
2193
|
-
# @return [Array<
|
|
2194
|
-
def
|
|
2195
|
-
data, _status_code, _headers =
|
|
2199
|
+
# @return [Array<CargoUpstream>]
|
|
2200
|
+
def repos_upstream_cargo_list(owner, identifier, opts = {})
|
|
2201
|
+
data, _status_code, _headers = repos_upstream_cargo_list_with_http_info(owner, identifier, opts)
|
|
2196
2202
|
data
|
|
2197
2203
|
end
|
|
2198
2204
|
|
|
2199
|
-
# List
|
|
2200
|
-
# List
|
|
2205
|
+
# List Cargo upstream configs for this repository.
|
|
2206
|
+
# List Cargo upstream configs for this repository.
|
|
2201
2207
|
# @param owner
|
|
2202
2208
|
# @param identifier
|
|
2203
2209
|
# @param [Hash] opts the optional parameters
|
|
2204
2210
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
2205
2211
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
2206
|
-
# @return [Array<(Array<
|
|
2207
|
-
def
|
|
2212
|
+
# @return [Array<(Array<CargoUpstream>, Fixnum, Hash)>] Array<CargoUpstream> data, response status code and response headers
|
|
2213
|
+
def repos_upstream_cargo_list_with_http_info(owner, identifier, opts = {})
|
|
2208
2214
|
if @api_client.config.debugging
|
|
2209
|
-
@api_client.config.logger.debug 'Calling API: ReposApi.
|
|
2215
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_cargo_list ...'
|
|
2210
2216
|
end
|
|
2211
2217
|
# verify the required parameter 'owner' is set
|
|
2212
2218
|
if @api_client.config.client_side_validation && owner.nil?
|
|
2213
|
-
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.
|
|
2219
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_cargo_list"
|
|
2214
2220
|
end
|
|
2215
2221
|
# verify the required parameter 'identifier' is set
|
|
2216
2222
|
if @api_client.config.client_side_validation && identifier.nil?
|
|
2217
|
-
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.
|
|
2223
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_cargo_list"
|
|
2218
2224
|
end
|
|
2219
2225
|
# resource path
|
|
2220
|
-
local_var_path = '/repos/{owner}/{identifier}/upstream/
|
|
2226
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/cargo/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
|
|
2221
2227
|
|
|
2222
2228
|
# query parameters
|
|
2223
2229
|
query_params = {}
|
|
@@ -2243,51 +2249,51 @@ module CloudsmithApi
|
|
|
2243
2249
|
:form_params => form_params,
|
|
2244
2250
|
:body => post_body,
|
|
2245
2251
|
:auth_names => auth_names,
|
|
2246
|
-
:return_type => 'Array<
|
|
2252
|
+
:return_type => 'Array<CargoUpstream>')
|
|
2247
2253
|
if @api_client.config.debugging
|
|
2248
|
-
@api_client.config.logger.debug "API called: ReposApi#
|
|
2254
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_cargo_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2249
2255
|
end
|
|
2250
2256
|
return data, status_code, headers
|
|
2251
2257
|
end
|
|
2252
|
-
# Partially update a
|
|
2253
|
-
# Partially update a
|
|
2258
|
+
# Partially update a Cargo upstream config for this repository.
|
|
2259
|
+
# Partially update a Cargo upstream config for this repository.
|
|
2254
2260
|
# @param owner
|
|
2255
2261
|
# @param identifier
|
|
2256
2262
|
# @param slug_perm
|
|
2257
2263
|
# @param [Hash] opts the optional parameters
|
|
2258
|
-
# @option opts [
|
|
2259
|
-
# @return [
|
|
2260
|
-
def
|
|
2261
|
-
data, _status_code, _headers =
|
|
2264
|
+
# @option opts [CargoUpstreamRequestPatch] :data
|
|
2265
|
+
# @return [CargoUpstream]
|
|
2266
|
+
def repos_upstream_cargo_partial_update(owner, identifier, slug_perm, opts = {})
|
|
2267
|
+
data, _status_code, _headers = repos_upstream_cargo_partial_update_with_http_info(owner, identifier, slug_perm, opts)
|
|
2262
2268
|
data
|
|
2263
2269
|
end
|
|
2264
2270
|
|
|
2265
|
-
# Partially update a
|
|
2266
|
-
# Partially update a
|
|
2271
|
+
# Partially update a Cargo upstream config for this repository.
|
|
2272
|
+
# Partially update a Cargo upstream config for this repository.
|
|
2267
2273
|
# @param owner
|
|
2268
2274
|
# @param identifier
|
|
2269
2275
|
# @param slug_perm
|
|
2270
2276
|
# @param [Hash] opts the optional parameters
|
|
2271
|
-
# @option opts [
|
|
2272
|
-
# @return [Array<(
|
|
2273
|
-
def
|
|
2277
|
+
# @option opts [CargoUpstreamRequestPatch] :data
|
|
2278
|
+
# @return [Array<(CargoUpstream, Fixnum, Hash)>] CargoUpstream data, response status code and response headers
|
|
2279
|
+
def repos_upstream_cargo_partial_update_with_http_info(owner, identifier, slug_perm, opts = {})
|
|
2274
2280
|
if @api_client.config.debugging
|
|
2275
|
-
@api_client.config.logger.debug 'Calling API: ReposApi.
|
|
2281
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_cargo_partial_update ...'
|
|
2276
2282
|
end
|
|
2277
2283
|
# verify the required parameter 'owner' is set
|
|
2278
2284
|
if @api_client.config.client_side_validation && owner.nil?
|
|
2279
|
-
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.
|
|
2285
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_cargo_partial_update"
|
|
2280
2286
|
end
|
|
2281
2287
|
# verify the required parameter 'identifier' is set
|
|
2282
2288
|
if @api_client.config.client_side_validation && identifier.nil?
|
|
2283
|
-
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.
|
|
2289
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_cargo_partial_update"
|
|
2284
2290
|
end
|
|
2285
2291
|
# verify the required parameter 'slug_perm' is set
|
|
2286
2292
|
if @api_client.config.client_side_validation && slug_perm.nil?
|
|
2287
|
-
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.
|
|
2293
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_cargo_partial_update"
|
|
2288
2294
|
end
|
|
2289
2295
|
# resource path
|
|
2290
|
-
local_var_path = '/repos/{owner}/{identifier}/upstream/
|
|
2296
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/cargo/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
|
2291
2297
|
|
|
2292
2298
|
# query parameters
|
|
2293
2299
|
query_params = {}
|
|
@@ -2311,49 +2317,49 @@ module CloudsmithApi
|
|
|
2311
2317
|
:form_params => form_params,
|
|
2312
2318
|
:body => post_body,
|
|
2313
2319
|
:auth_names => auth_names,
|
|
2314
|
-
:return_type => '
|
|
2320
|
+
:return_type => 'CargoUpstream')
|
|
2315
2321
|
if @api_client.config.debugging
|
|
2316
|
-
@api_client.config.logger.debug "API called: ReposApi#
|
|
2322
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_cargo_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2317
2323
|
end
|
|
2318
2324
|
return data, status_code, headers
|
|
2319
2325
|
end
|
|
2320
|
-
# Retrieve a
|
|
2321
|
-
# Retrieve a
|
|
2326
|
+
# Retrieve a Cargo upstream config for this repository.
|
|
2327
|
+
# Retrieve a Cargo upstream config for this repository.
|
|
2322
2328
|
# @param owner
|
|
2323
2329
|
# @param identifier
|
|
2324
2330
|
# @param slug_perm
|
|
2325
2331
|
# @param [Hash] opts the optional parameters
|
|
2326
|
-
# @return [
|
|
2327
|
-
def
|
|
2328
|
-
data, _status_code, _headers =
|
|
2332
|
+
# @return [CargoUpstream]
|
|
2333
|
+
def repos_upstream_cargo_read(owner, identifier, slug_perm, opts = {})
|
|
2334
|
+
data, _status_code, _headers = repos_upstream_cargo_read_with_http_info(owner, identifier, slug_perm, opts)
|
|
2329
2335
|
data
|
|
2330
2336
|
end
|
|
2331
2337
|
|
|
2332
|
-
# Retrieve a
|
|
2333
|
-
# Retrieve a
|
|
2338
|
+
# Retrieve a Cargo upstream config for this repository.
|
|
2339
|
+
# Retrieve a Cargo upstream config for this repository.
|
|
2334
2340
|
# @param owner
|
|
2335
2341
|
# @param identifier
|
|
2336
2342
|
# @param slug_perm
|
|
2337
2343
|
# @param [Hash] opts the optional parameters
|
|
2338
|
-
# @return [Array<(
|
|
2339
|
-
def
|
|
2344
|
+
# @return [Array<(CargoUpstream, Fixnum, Hash)>] CargoUpstream data, response status code and response headers
|
|
2345
|
+
def repos_upstream_cargo_read_with_http_info(owner, identifier, slug_perm, opts = {})
|
|
2340
2346
|
if @api_client.config.debugging
|
|
2341
|
-
@api_client.config.logger.debug 'Calling API: ReposApi.
|
|
2347
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_cargo_read ...'
|
|
2342
2348
|
end
|
|
2343
2349
|
# verify the required parameter 'owner' is set
|
|
2344
2350
|
if @api_client.config.client_side_validation && owner.nil?
|
|
2345
|
-
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.
|
|
2351
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_cargo_read"
|
|
2346
2352
|
end
|
|
2347
2353
|
# verify the required parameter 'identifier' is set
|
|
2348
2354
|
if @api_client.config.client_side_validation && identifier.nil?
|
|
2349
|
-
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.
|
|
2355
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_cargo_read"
|
|
2350
2356
|
end
|
|
2351
2357
|
# verify the required parameter 'slug_perm' is set
|
|
2352
2358
|
if @api_client.config.client_side_validation && slug_perm.nil?
|
|
2353
|
-
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.
|
|
2359
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_cargo_read"
|
|
2354
2360
|
end
|
|
2355
2361
|
# resource path
|
|
2356
|
-
local_var_path = '/repos/{owner}/{identifier}/upstream/
|
|
2362
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/cargo/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
|
2357
2363
|
|
|
2358
2364
|
# query parameters
|
|
2359
2365
|
query_params = {}
|
|
@@ -2377,51 +2383,773 @@ module CloudsmithApi
|
|
|
2377
2383
|
:form_params => form_params,
|
|
2378
2384
|
:body => post_body,
|
|
2379
2385
|
:auth_names => auth_names,
|
|
2380
|
-
:return_type => '
|
|
2386
|
+
:return_type => 'CargoUpstream')
|
|
2381
2387
|
if @api_client.config.debugging
|
|
2382
|
-
@api_client.config.logger.debug "API called: ReposApi#
|
|
2388
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_cargo_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2383
2389
|
end
|
|
2384
2390
|
return data, status_code, headers
|
|
2385
2391
|
end
|
|
2392
|
+
# Update a Cargo upstream config for this repository.
|
|
2393
|
+
# Update a Cargo upstream config for this repository.
|
|
2394
|
+
# @param owner
|
|
2395
|
+
# @param identifier
|
|
2396
|
+
# @param slug_perm
|
|
2397
|
+
# @param [Hash] opts the optional parameters
|
|
2398
|
+
# @option opts [CargoUpstreamRequest] :data
|
|
2399
|
+
# @return [CargoUpstream]
|
|
2400
|
+
def repos_upstream_cargo_update(owner, identifier, slug_perm, opts = {})
|
|
2401
|
+
data, _status_code, _headers = repos_upstream_cargo_update_with_http_info(owner, identifier, slug_perm, opts)
|
|
2402
|
+
data
|
|
2403
|
+
end
|
|
2404
|
+
|
|
2405
|
+
# Update a Cargo upstream config for this repository.
|
|
2406
|
+
# Update a Cargo upstream config for this repository.
|
|
2407
|
+
# @param owner
|
|
2408
|
+
# @param identifier
|
|
2409
|
+
# @param slug_perm
|
|
2410
|
+
# @param [Hash] opts the optional parameters
|
|
2411
|
+
# @option opts [CargoUpstreamRequest] :data
|
|
2412
|
+
# @return [Array<(CargoUpstream, Fixnum, Hash)>] CargoUpstream data, response status code and response headers
|
|
2413
|
+
def repos_upstream_cargo_update_with_http_info(owner, identifier, slug_perm, opts = {})
|
|
2414
|
+
if @api_client.config.debugging
|
|
2415
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_cargo_update ...'
|
|
2416
|
+
end
|
|
2417
|
+
# verify the required parameter 'owner' is set
|
|
2418
|
+
if @api_client.config.client_side_validation && owner.nil?
|
|
2419
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_cargo_update"
|
|
2420
|
+
end
|
|
2421
|
+
# verify the required parameter 'identifier' is set
|
|
2422
|
+
if @api_client.config.client_side_validation && identifier.nil?
|
|
2423
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_cargo_update"
|
|
2424
|
+
end
|
|
2425
|
+
# verify the required parameter 'slug_perm' is set
|
|
2426
|
+
if @api_client.config.client_side_validation && slug_perm.nil?
|
|
2427
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_cargo_update"
|
|
2428
|
+
end
|
|
2429
|
+
# resource path
|
|
2430
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/cargo/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
|
2431
|
+
|
|
2432
|
+
# query parameters
|
|
2433
|
+
query_params = {}
|
|
2434
|
+
|
|
2435
|
+
# header parameters
|
|
2436
|
+
header_params = {}
|
|
2437
|
+
# HTTP header 'Accept' (if needed)
|
|
2438
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
2439
|
+
# HTTP header 'Content-Type'
|
|
2440
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
2441
|
+
|
|
2442
|
+
# form parameters
|
|
2443
|
+
form_params = {}
|
|
2444
|
+
|
|
2445
|
+
# http body (model)
|
|
2446
|
+
post_body = @api_client.object_to_http_body(opts[:'data'])
|
|
2447
|
+
auth_names = ['apikey', 'basic']
|
|
2448
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
2449
|
+
:header_params => header_params,
|
|
2450
|
+
:query_params => query_params,
|
|
2451
|
+
:form_params => form_params,
|
|
2452
|
+
:body => post_body,
|
|
2453
|
+
:auth_names => auth_names,
|
|
2454
|
+
:return_type => 'CargoUpstream')
|
|
2455
|
+
if @api_client.config.debugging
|
|
2456
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_cargo_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2457
|
+
end
|
|
2458
|
+
return data, status_code, headers
|
|
2459
|
+
end
|
|
2460
|
+
# Create a Composer upstream config for this repository.
|
|
2461
|
+
# Create a Composer upstream config for this repository.
|
|
2462
|
+
# @param owner
|
|
2463
|
+
# @param identifier
|
|
2464
|
+
# @param [Hash] opts the optional parameters
|
|
2465
|
+
# @option opts [ComposerUpstreamRequest] :data
|
|
2466
|
+
# @return [ComposerUpstream]
|
|
2467
|
+
def repos_upstream_composer_create(owner, identifier, opts = {})
|
|
2468
|
+
data, _status_code, _headers = repos_upstream_composer_create_with_http_info(owner, identifier, opts)
|
|
2469
|
+
data
|
|
2470
|
+
end
|
|
2471
|
+
|
|
2472
|
+
# Create a Composer upstream config for this repository.
|
|
2473
|
+
# Create a Composer upstream config for this repository.
|
|
2474
|
+
# @param owner
|
|
2475
|
+
# @param identifier
|
|
2476
|
+
# @param [Hash] opts the optional parameters
|
|
2477
|
+
# @option opts [ComposerUpstreamRequest] :data
|
|
2478
|
+
# @return [Array<(ComposerUpstream, Fixnum, Hash)>] ComposerUpstream data, response status code and response headers
|
|
2479
|
+
def repos_upstream_composer_create_with_http_info(owner, identifier, opts = {})
|
|
2480
|
+
if @api_client.config.debugging
|
|
2481
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_composer_create ...'
|
|
2482
|
+
end
|
|
2483
|
+
# verify the required parameter 'owner' is set
|
|
2484
|
+
if @api_client.config.client_side_validation && owner.nil?
|
|
2485
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_composer_create"
|
|
2486
|
+
end
|
|
2487
|
+
# verify the required parameter 'identifier' is set
|
|
2488
|
+
if @api_client.config.client_side_validation && identifier.nil?
|
|
2489
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_composer_create"
|
|
2490
|
+
end
|
|
2491
|
+
# resource path
|
|
2492
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/composer/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
|
|
2493
|
+
|
|
2494
|
+
# query parameters
|
|
2495
|
+
query_params = {}
|
|
2496
|
+
|
|
2497
|
+
# header parameters
|
|
2498
|
+
header_params = {}
|
|
2499
|
+
# HTTP header 'Accept' (if needed)
|
|
2500
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
2501
|
+
# HTTP header 'Content-Type'
|
|
2502
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
2503
|
+
|
|
2504
|
+
# form parameters
|
|
2505
|
+
form_params = {}
|
|
2506
|
+
|
|
2507
|
+
# http body (model)
|
|
2508
|
+
post_body = @api_client.object_to_http_body(opts[:'data'])
|
|
2509
|
+
auth_names = ['apikey', 'basic']
|
|
2510
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
2511
|
+
:header_params => header_params,
|
|
2512
|
+
:query_params => query_params,
|
|
2513
|
+
:form_params => form_params,
|
|
2514
|
+
:body => post_body,
|
|
2515
|
+
:auth_names => auth_names,
|
|
2516
|
+
:return_type => 'ComposerUpstream')
|
|
2517
|
+
if @api_client.config.debugging
|
|
2518
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_composer_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2519
|
+
end
|
|
2520
|
+
return data, status_code, headers
|
|
2521
|
+
end
|
|
2522
|
+
# Delete a Composer upstream config for this repository.
|
|
2523
|
+
# Delete a Composer upstream config for this repository.
|
|
2524
|
+
# @param owner
|
|
2525
|
+
# @param identifier
|
|
2526
|
+
# @param slug_perm
|
|
2527
|
+
# @param [Hash] opts the optional parameters
|
|
2528
|
+
# @return [nil]
|
|
2529
|
+
def repos_upstream_composer_delete(owner, identifier, slug_perm, opts = {})
|
|
2530
|
+
repos_upstream_composer_delete_with_http_info(owner, identifier, slug_perm, opts)
|
|
2531
|
+
nil
|
|
2532
|
+
end
|
|
2533
|
+
|
|
2534
|
+
# Delete a Composer upstream config for this repository.
|
|
2535
|
+
# Delete a Composer upstream config for this repository.
|
|
2536
|
+
# @param owner
|
|
2537
|
+
# @param identifier
|
|
2538
|
+
# @param slug_perm
|
|
2539
|
+
# @param [Hash] opts the optional parameters
|
|
2540
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
2541
|
+
def repos_upstream_composer_delete_with_http_info(owner, identifier, slug_perm, opts = {})
|
|
2542
|
+
if @api_client.config.debugging
|
|
2543
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_composer_delete ...'
|
|
2544
|
+
end
|
|
2545
|
+
# verify the required parameter 'owner' is set
|
|
2546
|
+
if @api_client.config.client_side_validation && owner.nil?
|
|
2547
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_composer_delete"
|
|
2548
|
+
end
|
|
2549
|
+
# verify the required parameter 'identifier' is set
|
|
2550
|
+
if @api_client.config.client_side_validation && identifier.nil?
|
|
2551
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_composer_delete"
|
|
2552
|
+
end
|
|
2553
|
+
# verify the required parameter 'slug_perm' is set
|
|
2554
|
+
if @api_client.config.client_side_validation && slug_perm.nil?
|
|
2555
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_composer_delete"
|
|
2556
|
+
end
|
|
2557
|
+
# resource path
|
|
2558
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/composer/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
|
2559
|
+
|
|
2560
|
+
# query parameters
|
|
2561
|
+
query_params = {}
|
|
2562
|
+
|
|
2563
|
+
# header parameters
|
|
2564
|
+
header_params = {}
|
|
2565
|
+
# HTTP header 'Accept' (if needed)
|
|
2566
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
2567
|
+
# HTTP header 'Content-Type'
|
|
2568
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
2569
|
+
|
|
2570
|
+
# form parameters
|
|
2571
|
+
form_params = {}
|
|
2572
|
+
|
|
2573
|
+
# http body (model)
|
|
2574
|
+
post_body = nil
|
|
2575
|
+
auth_names = ['apikey', 'basic']
|
|
2576
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
2577
|
+
:header_params => header_params,
|
|
2578
|
+
:query_params => query_params,
|
|
2579
|
+
:form_params => form_params,
|
|
2580
|
+
:body => post_body,
|
|
2581
|
+
:auth_names => auth_names)
|
|
2582
|
+
if @api_client.config.debugging
|
|
2583
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_composer_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2584
|
+
end
|
|
2585
|
+
return data, status_code, headers
|
|
2586
|
+
end
|
|
2587
|
+
# List Composer upstream configs for this repository.
|
|
2588
|
+
# List Composer upstream configs for this repository.
|
|
2589
|
+
# @param owner
|
|
2590
|
+
# @param identifier
|
|
2591
|
+
# @param [Hash] opts the optional parameters
|
|
2592
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
2593
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
2594
|
+
# @return [Array<ComposerUpstream>]
|
|
2595
|
+
def repos_upstream_composer_list(owner, identifier, opts = {})
|
|
2596
|
+
data, _status_code, _headers = repos_upstream_composer_list_with_http_info(owner, identifier, opts)
|
|
2597
|
+
data
|
|
2598
|
+
end
|
|
2599
|
+
|
|
2600
|
+
# List Composer upstream configs for this repository.
|
|
2601
|
+
# List Composer upstream configs for this repository.
|
|
2602
|
+
# @param owner
|
|
2603
|
+
# @param identifier
|
|
2604
|
+
# @param [Hash] opts the optional parameters
|
|
2605
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
2606
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
2607
|
+
# @return [Array<(Array<ComposerUpstream>, Fixnum, Hash)>] Array<ComposerUpstream> data, response status code and response headers
|
|
2608
|
+
def repos_upstream_composer_list_with_http_info(owner, identifier, opts = {})
|
|
2609
|
+
if @api_client.config.debugging
|
|
2610
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_composer_list ...'
|
|
2611
|
+
end
|
|
2612
|
+
# verify the required parameter 'owner' is set
|
|
2613
|
+
if @api_client.config.client_side_validation && owner.nil?
|
|
2614
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_composer_list"
|
|
2615
|
+
end
|
|
2616
|
+
# verify the required parameter 'identifier' is set
|
|
2617
|
+
if @api_client.config.client_side_validation && identifier.nil?
|
|
2618
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_composer_list"
|
|
2619
|
+
end
|
|
2620
|
+
# resource path
|
|
2621
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/composer/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
|
|
2622
|
+
|
|
2623
|
+
# query parameters
|
|
2624
|
+
query_params = {}
|
|
2625
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
2626
|
+
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
2627
|
+
|
|
2628
|
+
# header parameters
|
|
2629
|
+
header_params = {}
|
|
2630
|
+
# HTTP header 'Accept' (if needed)
|
|
2631
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
2632
|
+
# HTTP header 'Content-Type'
|
|
2633
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
2634
|
+
|
|
2635
|
+
# form parameters
|
|
2636
|
+
form_params = {}
|
|
2637
|
+
|
|
2638
|
+
# http body (model)
|
|
2639
|
+
post_body = nil
|
|
2640
|
+
auth_names = ['apikey', 'basic']
|
|
2641
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
2642
|
+
:header_params => header_params,
|
|
2643
|
+
:query_params => query_params,
|
|
2644
|
+
:form_params => form_params,
|
|
2645
|
+
:body => post_body,
|
|
2646
|
+
:auth_names => auth_names,
|
|
2647
|
+
:return_type => 'Array<ComposerUpstream>')
|
|
2648
|
+
if @api_client.config.debugging
|
|
2649
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_composer_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2650
|
+
end
|
|
2651
|
+
return data, status_code, headers
|
|
2652
|
+
end
|
|
2653
|
+
# Partially update a Composer upstream config for this repository.
|
|
2654
|
+
# Partially update a Composer upstream config for this repository.
|
|
2655
|
+
# @param owner
|
|
2656
|
+
# @param identifier
|
|
2657
|
+
# @param slug_perm
|
|
2658
|
+
# @param [Hash] opts the optional parameters
|
|
2659
|
+
# @option opts [ComposerUpstreamRequestPatch] :data
|
|
2660
|
+
# @return [ComposerUpstream]
|
|
2661
|
+
def repos_upstream_composer_partial_update(owner, identifier, slug_perm, opts = {})
|
|
2662
|
+
data, _status_code, _headers = repos_upstream_composer_partial_update_with_http_info(owner, identifier, slug_perm, opts)
|
|
2663
|
+
data
|
|
2664
|
+
end
|
|
2665
|
+
|
|
2666
|
+
# Partially update a Composer upstream config for this repository.
|
|
2667
|
+
# Partially update a Composer upstream config for this repository.
|
|
2668
|
+
# @param owner
|
|
2669
|
+
# @param identifier
|
|
2670
|
+
# @param slug_perm
|
|
2671
|
+
# @param [Hash] opts the optional parameters
|
|
2672
|
+
# @option opts [ComposerUpstreamRequestPatch] :data
|
|
2673
|
+
# @return [Array<(ComposerUpstream, Fixnum, Hash)>] ComposerUpstream data, response status code and response headers
|
|
2674
|
+
def repos_upstream_composer_partial_update_with_http_info(owner, identifier, slug_perm, opts = {})
|
|
2675
|
+
if @api_client.config.debugging
|
|
2676
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_composer_partial_update ...'
|
|
2677
|
+
end
|
|
2678
|
+
# verify the required parameter 'owner' is set
|
|
2679
|
+
if @api_client.config.client_side_validation && owner.nil?
|
|
2680
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_composer_partial_update"
|
|
2681
|
+
end
|
|
2682
|
+
# verify the required parameter 'identifier' is set
|
|
2683
|
+
if @api_client.config.client_side_validation && identifier.nil?
|
|
2684
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_composer_partial_update"
|
|
2685
|
+
end
|
|
2686
|
+
# verify the required parameter 'slug_perm' is set
|
|
2687
|
+
if @api_client.config.client_side_validation && slug_perm.nil?
|
|
2688
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_composer_partial_update"
|
|
2689
|
+
end
|
|
2690
|
+
# resource path
|
|
2691
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/composer/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
|
2692
|
+
|
|
2693
|
+
# query parameters
|
|
2694
|
+
query_params = {}
|
|
2695
|
+
|
|
2696
|
+
# header parameters
|
|
2697
|
+
header_params = {}
|
|
2698
|
+
# HTTP header 'Accept' (if needed)
|
|
2699
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
2700
|
+
# HTTP header 'Content-Type'
|
|
2701
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
2702
|
+
|
|
2703
|
+
# form parameters
|
|
2704
|
+
form_params = {}
|
|
2705
|
+
|
|
2706
|
+
# http body (model)
|
|
2707
|
+
post_body = @api_client.object_to_http_body(opts[:'data'])
|
|
2708
|
+
auth_names = ['apikey', 'basic']
|
|
2709
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
2710
|
+
:header_params => header_params,
|
|
2711
|
+
:query_params => query_params,
|
|
2712
|
+
:form_params => form_params,
|
|
2713
|
+
:body => post_body,
|
|
2714
|
+
:auth_names => auth_names,
|
|
2715
|
+
:return_type => 'ComposerUpstream')
|
|
2716
|
+
if @api_client.config.debugging
|
|
2717
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_composer_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2718
|
+
end
|
|
2719
|
+
return data, status_code, headers
|
|
2720
|
+
end
|
|
2721
|
+
# Retrieve a Composer upstream config for this repository.
|
|
2722
|
+
# Retrieve a Composer upstream config for this repository.
|
|
2723
|
+
# @param owner
|
|
2724
|
+
# @param identifier
|
|
2725
|
+
# @param slug_perm
|
|
2726
|
+
# @param [Hash] opts the optional parameters
|
|
2727
|
+
# @return [ComposerUpstream]
|
|
2728
|
+
def repos_upstream_composer_read(owner, identifier, slug_perm, opts = {})
|
|
2729
|
+
data, _status_code, _headers = repos_upstream_composer_read_with_http_info(owner, identifier, slug_perm, opts)
|
|
2730
|
+
data
|
|
2731
|
+
end
|
|
2732
|
+
|
|
2733
|
+
# Retrieve a Composer upstream config for this repository.
|
|
2734
|
+
# Retrieve a Composer upstream config for this repository.
|
|
2735
|
+
# @param owner
|
|
2736
|
+
# @param identifier
|
|
2737
|
+
# @param slug_perm
|
|
2738
|
+
# @param [Hash] opts the optional parameters
|
|
2739
|
+
# @return [Array<(ComposerUpstream, Fixnum, Hash)>] ComposerUpstream data, response status code and response headers
|
|
2740
|
+
def repos_upstream_composer_read_with_http_info(owner, identifier, slug_perm, opts = {})
|
|
2741
|
+
if @api_client.config.debugging
|
|
2742
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_composer_read ...'
|
|
2743
|
+
end
|
|
2744
|
+
# verify the required parameter 'owner' is set
|
|
2745
|
+
if @api_client.config.client_side_validation && owner.nil?
|
|
2746
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_composer_read"
|
|
2747
|
+
end
|
|
2748
|
+
# verify the required parameter 'identifier' is set
|
|
2749
|
+
if @api_client.config.client_side_validation && identifier.nil?
|
|
2750
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_composer_read"
|
|
2751
|
+
end
|
|
2752
|
+
# verify the required parameter 'slug_perm' is set
|
|
2753
|
+
if @api_client.config.client_side_validation && slug_perm.nil?
|
|
2754
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_composer_read"
|
|
2755
|
+
end
|
|
2756
|
+
# resource path
|
|
2757
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/composer/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
|
2758
|
+
|
|
2759
|
+
# query parameters
|
|
2760
|
+
query_params = {}
|
|
2761
|
+
|
|
2762
|
+
# header parameters
|
|
2763
|
+
header_params = {}
|
|
2764
|
+
# HTTP header 'Accept' (if needed)
|
|
2765
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
2766
|
+
# HTTP header 'Content-Type'
|
|
2767
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
2768
|
+
|
|
2769
|
+
# form parameters
|
|
2770
|
+
form_params = {}
|
|
2771
|
+
|
|
2772
|
+
# http body (model)
|
|
2773
|
+
post_body = nil
|
|
2774
|
+
auth_names = ['apikey', 'basic']
|
|
2775
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
2776
|
+
:header_params => header_params,
|
|
2777
|
+
:query_params => query_params,
|
|
2778
|
+
:form_params => form_params,
|
|
2779
|
+
:body => post_body,
|
|
2780
|
+
:auth_names => auth_names,
|
|
2781
|
+
:return_type => 'ComposerUpstream')
|
|
2782
|
+
if @api_client.config.debugging
|
|
2783
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_composer_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2784
|
+
end
|
|
2785
|
+
return data, status_code, headers
|
|
2786
|
+
end
|
|
2787
|
+
# Update a Composer upstream config for this repository.
|
|
2788
|
+
# Update a Composer upstream config for this repository.
|
|
2789
|
+
# @param owner
|
|
2790
|
+
# @param identifier
|
|
2791
|
+
# @param slug_perm
|
|
2792
|
+
# @param [Hash] opts the optional parameters
|
|
2793
|
+
# @option opts [ComposerUpstreamRequest] :data
|
|
2794
|
+
# @return [ComposerUpstream]
|
|
2795
|
+
def repos_upstream_composer_update(owner, identifier, slug_perm, opts = {})
|
|
2796
|
+
data, _status_code, _headers = repos_upstream_composer_update_with_http_info(owner, identifier, slug_perm, opts)
|
|
2797
|
+
data
|
|
2798
|
+
end
|
|
2799
|
+
|
|
2800
|
+
# Update a Composer upstream config for this repository.
|
|
2386
2801
|
# Update a Composer upstream config for this repository.
|
|
2387
|
-
# Update a Composer upstream config for this repository.
|
|
2388
2802
|
# @param owner
|
|
2389
2803
|
# @param identifier
|
|
2390
2804
|
# @param slug_perm
|
|
2391
2805
|
# @param [Hash] opts the optional parameters
|
|
2392
|
-
# @option opts [ComposerUpstreamRequest] :data
|
|
2393
|
-
# @return [ComposerUpstream]
|
|
2394
|
-
def
|
|
2395
|
-
|
|
2806
|
+
# @option opts [ComposerUpstreamRequest] :data
|
|
2807
|
+
# @return [Array<(ComposerUpstream, Fixnum, Hash)>] ComposerUpstream data, response status code and response headers
|
|
2808
|
+
def repos_upstream_composer_update_with_http_info(owner, identifier, slug_perm, opts = {})
|
|
2809
|
+
if @api_client.config.debugging
|
|
2810
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_composer_update ...'
|
|
2811
|
+
end
|
|
2812
|
+
# verify the required parameter 'owner' is set
|
|
2813
|
+
if @api_client.config.client_side_validation && owner.nil?
|
|
2814
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_composer_update"
|
|
2815
|
+
end
|
|
2816
|
+
# verify the required parameter 'identifier' is set
|
|
2817
|
+
if @api_client.config.client_side_validation && identifier.nil?
|
|
2818
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_composer_update"
|
|
2819
|
+
end
|
|
2820
|
+
# verify the required parameter 'slug_perm' is set
|
|
2821
|
+
if @api_client.config.client_side_validation && slug_perm.nil?
|
|
2822
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_composer_update"
|
|
2823
|
+
end
|
|
2824
|
+
# resource path
|
|
2825
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/composer/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
|
2826
|
+
|
|
2827
|
+
# query parameters
|
|
2828
|
+
query_params = {}
|
|
2829
|
+
|
|
2830
|
+
# header parameters
|
|
2831
|
+
header_params = {}
|
|
2832
|
+
# HTTP header 'Accept' (if needed)
|
|
2833
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
2834
|
+
# HTTP header 'Content-Type'
|
|
2835
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
2836
|
+
|
|
2837
|
+
# form parameters
|
|
2838
|
+
form_params = {}
|
|
2839
|
+
|
|
2840
|
+
# http body (model)
|
|
2841
|
+
post_body = @api_client.object_to_http_body(opts[:'data'])
|
|
2842
|
+
auth_names = ['apikey', 'basic']
|
|
2843
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
2844
|
+
:header_params => header_params,
|
|
2845
|
+
:query_params => query_params,
|
|
2846
|
+
:form_params => form_params,
|
|
2847
|
+
:body => post_body,
|
|
2848
|
+
:auth_names => auth_names,
|
|
2849
|
+
:return_type => 'ComposerUpstream')
|
|
2850
|
+
if @api_client.config.debugging
|
|
2851
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_composer_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2852
|
+
end
|
|
2853
|
+
return data, status_code, headers
|
|
2854
|
+
end
|
|
2855
|
+
# Create a Conda upstream config for this repository.
|
|
2856
|
+
# Create a Conda upstream config for this repository.
|
|
2857
|
+
# @param owner
|
|
2858
|
+
# @param identifier
|
|
2859
|
+
# @param [Hash] opts the optional parameters
|
|
2860
|
+
# @option opts [CondaUpstreamRequest] :data
|
|
2861
|
+
# @return [CondaUpstream]
|
|
2862
|
+
def repos_upstream_conda_create(owner, identifier, opts = {})
|
|
2863
|
+
data, _status_code, _headers = repos_upstream_conda_create_with_http_info(owner, identifier, opts)
|
|
2864
|
+
data
|
|
2865
|
+
end
|
|
2866
|
+
|
|
2867
|
+
# Create a Conda upstream config for this repository.
|
|
2868
|
+
# Create a Conda upstream config for this repository.
|
|
2869
|
+
# @param owner
|
|
2870
|
+
# @param identifier
|
|
2871
|
+
# @param [Hash] opts the optional parameters
|
|
2872
|
+
# @option opts [CondaUpstreamRequest] :data
|
|
2873
|
+
# @return [Array<(CondaUpstream, Fixnum, Hash)>] CondaUpstream data, response status code and response headers
|
|
2874
|
+
def repos_upstream_conda_create_with_http_info(owner, identifier, opts = {})
|
|
2875
|
+
if @api_client.config.debugging
|
|
2876
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_conda_create ...'
|
|
2877
|
+
end
|
|
2878
|
+
# verify the required parameter 'owner' is set
|
|
2879
|
+
if @api_client.config.client_side_validation && owner.nil?
|
|
2880
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_conda_create"
|
|
2881
|
+
end
|
|
2882
|
+
# verify the required parameter 'identifier' is set
|
|
2883
|
+
if @api_client.config.client_side_validation && identifier.nil?
|
|
2884
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_conda_create"
|
|
2885
|
+
end
|
|
2886
|
+
# resource path
|
|
2887
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/conda/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
|
|
2888
|
+
|
|
2889
|
+
# query parameters
|
|
2890
|
+
query_params = {}
|
|
2891
|
+
|
|
2892
|
+
# header parameters
|
|
2893
|
+
header_params = {}
|
|
2894
|
+
# HTTP header 'Accept' (if needed)
|
|
2895
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
2896
|
+
# HTTP header 'Content-Type'
|
|
2897
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
2898
|
+
|
|
2899
|
+
# form parameters
|
|
2900
|
+
form_params = {}
|
|
2901
|
+
|
|
2902
|
+
# http body (model)
|
|
2903
|
+
post_body = @api_client.object_to_http_body(opts[:'data'])
|
|
2904
|
+
auth_names = ['apikey', 'basic']
|
|
2905
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
2906
|
+
:header_params => header_params,
|
|
2907
|
+
:query_params => query_params,
|
|
2908
|
+
:form_params => form_params,
|
|
2909
|
+
:body => post_body,
|
|
2910
|
+
:auth_names => auth_names,
|
|
2911
|
+
:return_type => 'CondaUpstream')
|
|
2912
|
+
if @api_client.config.debugging
|
|
2913
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_conda_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2914
|
+
end
|
|
2915
|
+
return data, status_code, headers
|
|
2916
|
+
end
|
|
2917
|
+
# Delete a Conda upstream config for this repository.
|
|
2918
|
+
# Delete a Conda upstream config for this repository.
|
|
2919
|
+
# @param owner
|
|
2920
|
+
# @param identifier
|
|
2921
|
+
# @param slug_perm
|
|
2922
|
+
# @param [Hash] opts the optional parameters
|
|
2923
|
+
# @return [nil]
|
|
2924
|
+
def repos_upstream_conda_delete(owner, identifier, slug_perm, opts = {})
|
|
2925
|
+
repos_upstream_conda_delete_with_http_info(owner, identifier, slug_perm, opts)
|
|
2926
|
+
nil
|
|
2927
|
+
end
|
|
2928
|
+
|
|
2929
|
+
# Delete a Conda upstream config for this repository.
|
|
2930
|
+
# Delete a Conda upstream config for this repository.
|
|
2931
|
+
# @param owner
|
|
2932
|
+
# @param identifier
|
|
2933
|
+
# @param slug_perm
|
|
2934
|
+
# @param [Hash] opts the optional parameters
|
|
2935
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
2936
|
+
def repos_upstream_conda_delete_with_http_info(owner, identifier, slug_perm, opts = {})
|
|
2937
|
+
if @api_client.config.debugging
|
|
2938
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_conda_delete ...'
|
|
2939
|
+
end
|
|
2940
|
+
# verify the required parameter 'owner' is set
|
|
2941
|
+
if @api_client.config.client_side_validation && owner.nil?
|
|
2942
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_conda_delete"
|
|
2943
|
+
end
|
|
2944
|
+
# verify the required parameter 'identifier' is set
|
|
2945
|
+
if @api_client.config.client_side_validation && identifier.nil?
|
|
2946
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_conda_delete"
|
|
2947
|
+
end
|
|
2948
|
+
# verify the required parameter 'slug_perm' is set
|
|
2949
|
+
if @api_client.config.client_side_validation && slug_perm.nil?
|
|
2950
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_conda_delete"
|
|
2951
|
+
end
|
|
2952
|
+
# resource path
|
|
2953
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/conda/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
|
2954
|
+
|
|
2955
|
+
# query parameters
|
|
2956
|
+
query_params = {}
|
|
2957
|
+
|
|
2958
|
+
# header parameters
|
|
2959
|
+
header_params = {}
|
|
2960
|
+
# HTTP header 'Accept' (if needed)
|
|
2961
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
2962
|
+
# HTTP header 'Content-Type'
|
|
2963
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
2964
|
+
|
|
2965
|
+
# form parameters
|
|
2966
|
+
form_params = {}
|
|
2967
|
+
|
|
2968
|
+
# http body (model)
|
|
2969
|
+
post_body = nil
|
|
2970
|
+
auth_names = ['apikey', 'basic']
|
|
2971
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
2972
|
+
:header_params => header_params,
|
|
2973
|
+
:query_params => query_params,
|
|
2974
|
+
:form_params => form_params,
|
|
2975
|
+
:body => post_body,
|
|
2976
|
+
:auth_names => auth_names)
|
|
2977
|
+
if @api_client.config.debugging
|
|
2978
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_conda_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2979
|
+
end
|
|
2980
|
+
return data, status_code, headers
|
|
2981
|
+
end
|
|
2982
|
+
# List Conda upstream configs for this repository.
|
|
2983
|
+
# List Conda upstream configs for this repository.
|
|
2984
|
+
# @param owner
|
|
2985
|
+
# @param identifier
|
|
2986
|
+
# @param [Hash] opts the optional parameters
|
|
2987
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
2988
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
2989
|
+
# @return [Array<CondaUpstream>]
|
|
2990
|
+
def repos_upstream_conda_list(owner, identifier, opts = {})
|
|
2991
|
+
data, _status_code, _headers = repos_upstream_conda_list_with_http_info(owner, identifier, opts)
|
|
2992
|
+
data
|
|
2993
|
+
end
|
|
2994
|
+
|
|
2995
|
+
# List Conda upstream configs for this repository.
|
|
2996
|
+
# List Conda upstream configs for this repository.
|
|
2997
|
+
# @param owner
|
|
2998
|
+
# @param identifier
|
|
2999
|
+
# @param [Hash] opts the optional parameters
|
|
3000
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
3001
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
3002
|
+
# @return [Array<(Array<CondaUpstream>, Fixnum, Hash)>] Array<CondaUpstream> data, response status code and response headers
|
|
3003
|
+
def repos_upstream_conda_list_with_http_info(owner, identifier, opts = {})
|
|
3004
|
+
if @api_client.config.debugging
|
|
3005
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_conda_list ...'
|
|
3006
|
+
end
|
|
3007
|
+
# verify the required parameter 'owner' is set
|
|
3008
|
+
if @api_client.config.client_side_validation && owner.nil?
|
|
3009
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_conda_list"
|
|
3010
|
+
end
|
|
3011
|
+
# verify the required parameter 'identifier' is set
|
|
3012
|
+
if @api_client.config.client_side_validation && identifier.nil?
|
|
3013
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_conda_list"
|
|
3014
|
+
end
|
|
3015
|
+
# resource path
|
|
3016
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/conda/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
|
|
3017
|
+
|
|
3018
|
+
# query parameters
|
|
3019
|
+
query_params = {}
|
|
3020
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
3021
|
+
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
3022
|
+
|
|
3023
|
+
# header parameters
|
|
3024
|
+
header_params = {}
|
|
3025
|
+
# HTTP header 'Accept' (if needed)
|
|
3026
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
3027
|
+
# HTTP header 'Content-Type'
|
|
3028
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
3029
|
+
|
|
3030
|
+
# form parameters
|
|
3031
|
+
form_params = {}
|
|
3032
|
+
|
|
3033
|
+
# http body (model)
|
|
3034
|
+
post_body = nil
|
|
3035
|
+
auth_names = ['apikey', 'basic']
|
|
3036
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
3037
|
+
:header_params => header_params,
|
|
3038
|
+
:query_params => query_params,
|
|
3039
|
+
:form_params => form_params,
|
|
3040
|
+
:body => post_body,
|
|
3041
|
+
:auth_names => auth_names,
|
|
3042
|
+
:return_type => 'Array<CondaUpstream>')
|
|
3043
|
+
if @api_client.config.debugging
|
|
3044
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_conda_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3045
|
+
end
|
|
3046
|
+
return data, status_code, headers
|
|
3047
|
+
end
|
|
3048
|
+
# Partially update a Conda upstream config for this repository.
|
|
3049
|
+
# Partially update a Conda upstream config for this repository.
|
|
3050
|
+
# @param owner
|
|
3051
|
+
# @param identifier
|
|
3052
|
+
# @param slug_perm
|
|
3053
|
+
# @param [Hash] opts the optional parameters
|
|
3054
|
+
# @option opts [CondaUpstreamRequestPatch] :data
|
|
3055
|
+
# @return [CondaUpstream]
|
|
3056
|
+
def repos_upstream_conda_partial_update(owner, identifier, slug_perm, opts = {})
|
|
3057
|
+
data, _status_code, _headers = repos_upstream_conda_partial_update_with_http_info(owner, identifier, slug_perm, opts)
|
|
3058
|
+
data
|
|
3059
|
+
end
|
|
3060
|
+
|
|
3061
|
+
# Partially update a Conda upstream config for this repository.
|
|
3062
|
+
# Partially update a Conda upstream config for this repository.
|
|
3063
|
+
# @param owner
|
|
3064
|
+
# @param identifier
|
|
3065
|
+
# @param slug_perm
|
|
3066
|
+
# @param [Hash] opts the optional parameters
|
|
3067
|
+
# @option opts [CondaUpstreamRequestPatch] :data
|
|
3068
|
+
# @return [Array<(CondaUpstream, Fixnum, Hash)>] CondaUpstream data, response status code and response headers
|
|
3069
|
+
def repos_upstream_conda_partial_update_with_http_info(owner, identifier, slug_perm, opts = {})
|
|
3070
|
+
if @api_client.config.debugging
|
|
3071
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_conda_partial_update ...'
|
|
3072
|
+
end
|
|
3073
|
+
# verify the required parameter 'owner' is set
|
|
3074
|
+
if @api_client.config.client_side_validation && owner.nil?
|
|
3075
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_conda_partial_update"
|
|
3076
|
+
end
|
|
3077
|
+
# verify the required parameter 'identifier' is set
|
|
3078
|
+
if @api_client.config.client_side_validation && identifier.nil?
|
|
3079
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_conda_partial_update"
|
|
3080
|
+
end
|
|
3081
|
+
# verify the required parameter 'slug_perm' is set
|
|
3082
|
+
if @api_client.config.client_side_validation && slug_perm.nil?
|
|
3083
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_conda_partial_update"
|
|
3084
|
+
end
|
|
3085
|
+
# resource path
|
|
3086
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/conda/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
|
3087
|
+
|
|
3088
|
+
# query parameters
|
|
3089
|
+
query_params = {}
|
|
3090
|
+
|
|
3091
|
+
# header parameters
|
|
3092
|
+
header_params = {}
|
|
3093
|
+
# HTTP header 'Accept' (if needed)
|
|
3094
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
3095
|
+
# HTTP header 'Content-Type'
|
|
3096
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
3097
|
+
|
|
3098
|
+
# form parameters
|
|
3099
|
+
form_params = {}
|
|
3100
|
+
|
|
3101
|
+
# http body (model)
|
|
3102
|
+
post_body = @api_client.object_to_http_body(opts[:'data'])
|
|
3103
|
+
auth_names = ['apikey', 'basic']
|
|
3104
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
3105
|
+
:header_params => header_params,
|
|
3106
|
+
:query_params => query_params,
|
|
3107
|
+
:form_params => form_params,
|
|
3108
|
+
:body => post_body,
|
|
3109
|
+
:auth_names => auth_names,
|
|
3110
|
+
:return_type => 'CondaUpstream')
|
|
3111
|
+
if @api_client.config.debugging
|
|
3112
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_conda_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3113
|
+
end
|
|
3114
|
+
return data, status_code, headers
|
|
3115
|
+
end
|
|
3116
|
+
# Retrieve a Conda upstream config for this repository.
|
|
3117
|
+
# Retrieve a Conda upstream config for this repository.
|
|
3118
|
+
# @param owner
|
|
3119
|
+
# @param identifier
|
|
3120
|
+
# @param slug_perm
|
|
3121
|
+
# @param [Hash] opts the optional parameters
|
|
3122
|
+
# @return [CondaUpstream]
|
|
3123
|
+
def repos_upstream_conda_read(owner, identifier, slug_perm, opts = {})
|
|
3124
|
+
data, _status_code, _headers = repos_upstream_conda_read_with_http_info(owner, identifier, slug_perm, opts)
|
|
2396
3125
|
data
|
|
2397
3126
|
end
|
|
2398
3127
|
|
|
2399
|
-
#
|
|
2400
|
-
#
|
|
3128
|
+
# Retrieve a Conda upstream config for this repository.
|
|
3129
|
+
# Retrieve a Conda upstream config for this repository.
|
|
2401
3130
|
# @param owner
|
|
2402
3131
|
# @param identifier
|
|
2403
3132
|
# @param slug_perm
|
|
2404
3133
|
# @param [Hash] opts the optional parameters
|
|
2405
|
-
# @
|
|
2406
|
-
|
|
2407
|
-
def repos_upstream_composer_update_with_http_info(owner, identifier, slug_perm, opts = {})
|
|
3134
|
+
# @return [Array<(CondaUpstream, Fixnum, Hash)>] CondaUpstream data, response status code and response headers
|
|
3135
|
+
def repos_upstream_conda_read_with_http_info(owner, identifier, slug_perm, opts = {})
|
|
2408
3136
|
if @api_client.config.debugging
|
|
2409
|
-
@api_client.config.logger.debug 'Calling API: ReposApi.
|
|
3137
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_conda_read ...'
|
|
2410
3138
|
end
|
|
2411
3139
|
# verify the required parameter 'owner' is set
|
|
2412
3140
|
if @api_client.config.client_side_validation && owner.nil?
|
|
2413
|
-
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.
|
|
3141
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_conda_read"
|
|
2414
3142
|
end
|
|
2415
3143
|
# verify the required parameter 'identifier' is set
|
|
2416
3144
|
if @api_client.config.client_side_validation && identifier.nil?
|
|
2417
|
-
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.
|
|
3145
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_conda_read"
|
|
2418
3146
|
end
|
|
2419
3147
|
# verify the required parameter 'slug_perm' is set
|
|
2420
3148
|
if @api_client.config.client_side_validation && slug_perm.nil?
|
|
2421
|
-
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.
|
|
3149
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_conda_read"
|
|
2422
3150
|
end
|
|
2423
3151
|
# resource path
|
|
2424
|
-
local_var_path = '/repos/{owner}/{identifier}/upstream/
|
|
3152
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/conda/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
|
2425
3153
|
|
|
2426
3154
|
# query parameters
|
|
2427
3155
|
query_params = {}
|
|
@@ -2437,53 +3165,59 @@ module CloudsmithApi
|
|
|
2437
3165
|
form_params = {}
|
|
2438
3166
|
|
|
2439
3167
|
# http body (model)
|
|
2440
|
-
post_body =
|
|
3168
|
+
post_body = nil
|
|
2441
3169
|
auth_names = ['apikey', 'basic']
|
|
2442
|
-
data, status_code, headers = @api_client.call_api(:
|
|
3170
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
2443
3171
|
:header_params => header_params,
|
|
2444
3172
|
:query_params => query_params,
|
|
2445
3173
|
:form_params => form_params,
|
|
2446
3174
|
:body => post_body,
|
|
2447
3175
|
:auth_names => auth_names,
|
|
2448
|
-
:return_type => '
|
|
3176
|
+
:return_type => 'CondaUpstream')
|
|
2449
3177
|
if @api_client.config.debugging
|
|
2450
|
-
@api_client.config.logger.debug "API called: ReposApi#
|
|
3178
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_conda_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2451
3179
|
end
|
|
2452
3180
|
return data, status_code, headers
|
|
2453
3181
|
end
|
|
2454
|
-
#
|
|
2455
|
-
#
|
|
3182
|
+
# Update a Conda upstream config for this repository.
|
|
3183
|
+
# Update a Conda upstream config for this repository.
|
|
2456
3184
|
# @param owner
|
|
2457
3185
|
# @param identifier
|
|
3186
|
+
# @param slug_perm
|
|
2458
3187
|
# @param [Hash] opts the optional parameters
|
|
2459
3188
|
# @option opts [CondaUpstreamRequest] :data
|
|
2460
3189
|
# @return [CondaUpstream]
|
|
2461
|
-
def
|
|
2462
|
-
data, _status_code, _headers =
|
|
3190
|
+
def repos_upstream_conda_update(owner, identifier, slug_perm, opts = {})
|
|
3191
|
+
data, _status_code, _headers = repos_upstream_conda_update_with_http_info(owner, identifier, slug_perm, opts)
|
|
2463
3192
|
data
|
|
2464
3193
|
end
|
|
2465
3194
|
|
|
2466
|
-
#
|
|
2467
|
-
#
|
|
3195
|
+
# Update a Conda upstream config for this repository.
|
|
3196
|
+
# Update a Conda upstream config for this repository.
|
|
2468
3197
|
# @param owner
|
|
2469
3198
|
# @param identifier
|
|
3199
|
+
# @param slug_perm
|
|
2470
3200
|
# @param [Hash] opts the optional parameters
|
|
2471
3201
|
# @option opts [CondaUpstreamRequest] :data
|
|
2472
3202
|
# @return [Array<(CondaUpstream, Fixnum, Hash)>] CondaUpstream data, response status code and response headers
|
|
2473
|
-
def
|
|
3203
|
+
def repos_upstream_conda_update_with_http_info(owner, identifier, slug_perm, opts = {})
|
|
2474
3204
|
if @api_client.config.debugging
|
|
2475
|
-
@api_client.config.logger.debug 'Calling API: ReposApi.
|
|
3205
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_conda_update ...'
|
|
2476
3206
|
end
|
|
2477
3207
|
# verify the required parameter 'owner' is set
|
|
2478
3208
|
if @api_client.config.client_side_validation && owner.nil?
|
|
2479
|
-
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.
|
|
3209
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_conda_update"
|
|
2480
3210
|
end
|
|
2481
3211
|
# verify the required parameter 'identifier' is set
|
|
2482
3212
|
if @api_client.config.client_side_validation && identifier.nil?
|
|
2483
|
-
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.
|
|
3213
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_conda_update"
|
|
3214
|
+
end
|
|
3215
|
+
# verify the required parameter 'slug_perm' is set
|
|
3216
|
+
if @api_client.config.client_side_validation && slug_perm.nil?
|
|
3217
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_conda_update"
|
|
2484
3218
|
end
|
|
2485
3219
|
# resource path
|
|
2486
|
-
local_var_path = '/repos/{owner}/{identifier}/upstream/conda/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
|
|
3220
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/conda/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
|
2487
3221
|
|
|
2488
3222
|
# query parameters
|
|
2489
3223
|
query_params = {}
|
|
@@ -2501,7 +3235,7 @@ module CloudsmithApi
|
|
|
2501
3235
|
# http body (model)
|
|
2502
3236
|
post_body = @api_client.object_to_http_body(opts[:'data'])
|
|
2503
3237
|
auth_names = ['apikey', 'basic']
|
|
2504
|
-
data, status_code, headers = @api_client.call_api(:
|
|
3238
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
2505
3239
|
:header_params => header_params,
|
|
2506
3240
|
:query_params => query_params,
|
|
2507
3241
|
:form_params => form_params,
|
|
@@ -2509,47 +3243,109 @@ module CloudsmithApi
|
|
|
2509
3243
|
:auth_names => auth_names,
|
|
2510
3244
|
:return_type => 'CondaUpstream')
|
|
2511
3245
|
if @api_client.config.debugging
|
|
2512
|
-
@api_client.config.logger.debug "API called: ReposApi#
|
|
3246
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_conda_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2513
3247
|
end
|
|
2514
3248
|
return data, status_code, headers
|
|
2515
3249
|
end
|
|
2516
|
-
#
|
|
2517
|
-
#
|
|
3250
|
+
# Create a CRAN upstream config for this repository.
|
|
3251
|
+
# Create a CRAN upstream config for this repository.
|
|
3252
|
+
# @param owner
|
|
3253
|
+
# @param identifier
|
|
3254
|
+
# @param [Hash] opts the optional parameters
|
|
3255
|
+
# @option opts [CranUpstreamRequest] :data
|
|
3256
|
+
# @return [CranUpstream]
|
|
3257
|
+
def repos_upstream_cran_create(owner, identifier, opts = {})
|
|
3258
|
+
data, _status_code, _headers = repos_upstream_cran_create_with_http_info(owner, identifier, opts)
|
|
3259
|
+
data
|
|
3260
|
+
end
|
|
3261
|
+
|
|
3262
|
+
# Create a CRAN upstream config for this repository.
|
|
3263
|
+
# Create a CRAN upstream config for this repository.
|
|
3264
|
+
# @param owner
|
|
3265
|
+
# @param identifier
|
|
3266
|
+
# @param [Hash] opts the optional parameters
|
|
3267
|
+
# @option opts [CranUpstreamRequest] :data
|
|
3268
|
+
# @return [Array<(CranUpstream, Fixnum, Hash)>] CranUpstream data, response status code and response headers
|
|
3269
|
+
def repos_upstream_cran_create_with_http_info(owner, identifier, opts = {})
|
|
3270
|
+
if @api_client.config.debugging
|
|
3271
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_cran_create ...'
|
|
3272
|
+
end
|
|
3273
|
+
# verify the required parameter 'owner' is set
|
|
3274
|
+
if @api_client.config.client_side_validation && owner.nil?
|
|
3275
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_cran_create"
|
|
3276
|
+
end
|
|
3277
|
+
# verify the required parameter 'identifier' is set
|
|
3278
|
+
if @api_client.config.client_side_validation && identifier.nil?
|
|
3279
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_cran_create"
|
|
3280
|
+
end
|
|
3281
|
+
# resource path
|
|
3282
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/cran/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
|
|
3283
|
+
|
|
3284
|
+
# query parameters
|
|
3285
|
+
query_params = {}
|
|
3286
|
+
|
|
3287
|
+
# header parameters
|
|
3288
|
+
header_params = {}
|
|
3289
|
+
# HTTP header 'Accept' (if needed)
|
|
3290
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
3291
|
+
# HTTP header 'Content-Type'
|
|
3292
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
3293
|
+
|
|
3294
|
+
# form parameters
|
|
3295
|
+
form_params = {}
|
|
3296
|
+
|
|
3297
|
+
# http body (model)
|
|
3298
|
+
post_body = @api_client.object_to_http_body(opts[:'data'])
|
|
3299
|
+
auth_names = ['apikey', 'basic']
|
|
3300
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
3301
|
+
:header_params => header_params,
|
|
3302
|
+
:query_params => query_params,
|
|
3303
|
+
:form_params => form_params,
|
|
3304
|
+
:body => post_body,
|
|
3305
|
+
:auth_names => auth_names,
|
|
3306
|
+
:return_type => 'CranUpstream')
|
|
3307
|
+
if @api_client.config.debugging
|
|
3308
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_cran_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3309
|
+
end
|
|
3310
|
+
return data, status_code, headers
|
|
3311
|
+
end
|
|
3312
|
+
# Delete a CRAN upstream config for this repository.
|
|
3313
|
+
# Delete a CRAN upstream config for this repository.
|
|
2518
3314
|
# @param owner
|
|
2519
3315
|
# @param identifier
|
|
2520
3316
|
# @param slug_perm
|
|
2521
3317
|
# @param [Hash] opts the optional parameters
|
|
2522
3318
|
# @return [nil]
|
|
2523
|
-
def
|
|
2524
|
-
|
|
3319
|
+
def repos_upstream_cran_delete(owner, identifier, slug_perm, opts = {})
|
|
3320
|
+
repos_upstream_cran_delete_with_http_info(owner, identifier, slug_perm, opts)
|
|
2525
3321
|
nil
|
|
2526
3322
|
end
|
|
2527
3323
|
|
|
2528
|
-
# Delete a
|
|
2529
|
-
# Delete a
|
|
3324
|
+
# Delete a CRAN upstream config for this repository.
|
|
3325
|
+
# Delete a CRAN upstream config for this repository.
|
|
2530
3326
|
# @param owner
|
|
2531
3327
|
# @param identifier
|
|
2532
3328
|
# @param slug_perm
|
|
2533
3329
|
# @param [Hash] opts the optional parameters
|
|
2534
3330
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
2535
|
-
def
|
|
3331
|
+
def repos_upstream_cran_delete_with_http_info(owner, identifier, slug_perm, opts = {})
|
|
2536
3332
|
if @api_client.config.debugging
|
|
2537
|
-
@api_client.config.logger.debug 'Calling API: ReposApi.
|
|
3333
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_cran_delete ...'
|
|
2538
3334
|
end
|
|
2539
3335
|
# verify the required parameter 'owner' is set
|
|
2540
3336
|
if @api_client.config.client_side_validation && owner.nil?
|
|
2541
|
-
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.
|
|
3337
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_cran_delete"
|
|
2542
3338
|
end
|
|
2543
3339
|
# verify the required parameter 'identifier' is set
|
|
2544
3340
|
if @api_client.config.client_side_validation && identifier.nil?
|
|
2545
|
-
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.
|
|
3341
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_cran_delete"
|
|
2546
3342
|
end
|
|
2547
3343
|
# verify the required parameter 'slug_perm' is set
|
|
2548
3344
|
if @api_client.config.client_side_validation && slug_perm.nil?
|
|
2549
|
-
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.
|
|
3345
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_cran_delete"
|
|
2550
3346
|
end
|
|
2551
3347
|
# resource path
|
|
2552
|
-
local_var_path = '/repos/{owner}/{identifier}/upstream/
|
|
3348
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/cran/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
|
2553
3349
|
|
|
2554
3350
|
# query parameters
|
|
2555
3351
|
query_params = {}
|
|
@@ -2574,45 +3370,45 @@ module CloudsmithApi
|
|
|
2574
3370
|
:body => post_body,
|
|
2575
3371
|
:auth_names => auth_names)
|
|
2576
3372
|
if @api_client.config.debugging
|
|
2577
|
-
@api_client.config.logger.debug "API called: ReposApi#
|
|
3373
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_cran_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2578
3374
|
end
|
|
2579
3375
|
return data, status_code, headers
|
|
2580
3376
|
end
|
|
2581
|
-
# List
|
|
2582
|
-
# List
|
|
3377
|
+
# List CRAN upstream configs for this repository.
|
|
3378
|
+
# List CRAN upstream configs for this repository.
|
|
2583
3379
|
# @param owner
|
|
2584
3380
|
# @param identifier
|
|
2585
3381
|
# @param [Hash] opts the optional parameters
|
|
2586
3382
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
2587
3383
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
2588
|
-
# @return [Array<
|
|
2589
|
-
def
|
|
2590
|
-
data, _status_code, _headers =
|
|
3384
|
+
# @return [Array<CranUpstream>]
|
|
3385
|
+
def repos_upstream_cran_list(owner, identifier, opts = {})
|
|
3386
|
+
data, _status_code, _headers = repos_upstream_cran_list_with_http_info(owner, identifier, opts)
|
|
2591
3387
|
data
|
|
2592
3388
|
end
|
|
2593
3389
|
|
|
2594
|
-
# List
|
|
2595
|
-
# List
|
|
3390
|
+
# List CRAN upstream configs for this repository.
|
|
3391
|
+
# List CRAN upstream configs for this repository.
|
|
2596
3392
|
# @param owner
|
|
2597
3393
|
# @param identifier
|
|
2598
3394
|
# @param [Hash] opts the optional parameters
|
|
2599
3395
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
2600
3396
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
2601
|
-
# @return [Array<(Array<
|
|
2602
|
-
def
|
|
3397
|
+
# @return [Array<(Array<CranUpstream>, Fixnum, Hash)>] Array<CranUpstream> data, response status code and response headers
|
|
3398
|
+
def repos_upstream_cran_list_with_http_info(owner, identifier, opts = {})
|
|
2603
3399
|
if @api_client.config.debugging
|
|
2604
|
-
@api_client.config.logger.debug 'Calling API: ReposApi.
|
|
3400
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_cran_list ...'
|
|
2605
3401
|
end
|
|
2606
3402
|
# verify the required parameter 'owner' is set
|
|
2607
3403
|
if @api_client.config.client_side_validation && owner.nil?
|
|
2608
|
-
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.
|
|
3404
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_cran_list"
|
|
2609
3405
|
end
|
|
2610
3406
|
# verify the required parameter 'identifier' is set
|
|
2611
3407
|
if @api_client.config.client_side_validation && identifier.nil?
|
|
2612
|
-
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.
|
|
3408
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_cran_list"
|
|
2613
3409
|
end
|
|
2614
3410
|
# resource path
|
|
2615
|
-
local_var_path = '/repos/{owner}/{identifier}/upstream/
|
|
3411
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/cran/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
|
|
2616
3412
|
|
|
2617
3413
|
# query parameters
|
|
2618
3414
|
query_params = {}
|
|
@@ -2638,51 +3434,51 @@ module CloudsmithApi
|
|
|
2638
3434
|
:form_params => form_params,
|
|
2639
3435
|
:body => post_body,
|
|
2640
3436
|
:auth_names => auth_names,
|
|
2641
|
-
:return_type => 'Array<
|
|
3437
|
+
:return_type => 'Array<CranUpstream>')
|
|
2642
3438
|
if @api_client.config.debugging
|
|
2643
|
-
@api_client.config.logger.debug "API called: ReposApi#
|
|
3439
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_cran_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2644
3440
|
end
|
|
2645
3441
|
return data, status_code, headers
|
|
2646
3442
|
end
|
|
2647
|
-
# Partially update a
|
|
2648
|
-
# Partially update a
|
|
3443
|
+
# Partially update a CRAN upstream config for this repository.
|
|
3444
|
+
# Partially update a CRAN upstream config for this repository.
|
|
2649
3445
|
# @param owner
|
|
2650
3446
|
# @param identifier
|
|
2651
3447
|
# @param slug_perm
|
|
2652
3448
|
# @param [Hash] opts the optional parameters
|
|
2653
|
-
# @option opts [
|
|
2654
|
-
# @return [
|
|
2655
|
-
def
|
|
2656
|
-
data, _status_code, _headers =
|
|
3449
|
+
# @option opts [CranUpstreamRequestPatch] :data
|
|
3450
|
+
# @return [CranUpstream]
|
|
3451
|
+
def repos_upstream_cran_partial_update(owner, identifier, slug_perm, opts = {})
|
|
3452
|
+
data, _status_code, _headers = repos_upstream_cran_partial_update_with_http_info(owner, identifier, slug_perm, opts)
|
|
2657
3453
|
data
|
|
2658
3454
|
end
|
|
2659
3455
|
|
|
2660
|
-
# Partially update a
|
|
2661
|
-
# Partially update a
|
|
3456
|
+
# Partially update a CRAN upstream config for this repository.
|
|
3457
|
+
# Partially update a CRAN upstream config for this repository.
|
|
2662
3458
|
# @param owner
|
|
2663
3459
|
# @param identifier
|
|
2664
|
-
# @param slug_perm
|
|
2665
|
-
# @param [Hash] opts the optional parameters
|
|
2666
|
-
# @option opts [
|
|
2667
|
-
# @return [Array<(
|
|
2668
|
-
def
|
|
3460
|
+
# @param slug_perm
|
|
3461
|
+
# @param [Hash] opts the optional parameters
|
|
3462
|
+
# @option opts [CranUpstreamRequestPatch] :data
|
|
3463
|
+
# @return [Array<(CranUpstream, Fixnum, Hash)>] CranUpstream data, response status code and response headers
|
|
3464
|
+
def repos_upstream_cran_partial_update_with_http_info(owner, identifier, slug_perm, opts = {})
|
|
2669
3465
|
if @api_client.config.debugging
|
|
2670
|
-
@api_client.config.logger.debug 'Calling API: ReposApi.
|
|
3466
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_cran_partial_update ...'
|
|
2671
3467
|
end
|
|
2672
3468
|
# verify the required parameter 'owner' is set
|
|
2673
3469
|
if @api_client.config.client_side_validation && owner.nil?
|
|
2674
|
-
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.
|
|
3470
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_cran_partial_update"
|
|
2675
3471
|
end
|
|
2676
3472
|
# verify the required parameter 'identifier' is set
|
|
2677
3473
|
if @api_client.config.client_side_validation && identifier.nil?
|
|
2678
|
-
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.
|
|
3474
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_cran_partial_update"
|
|
2679
3475
|
end
|
|
2680
3476
|
# verify the required parameter 'slug_perm' is set
|
|
2681
3477
|
if @api_client.config.client_side_validation && slug_perm.nil?
|
|
2682
|
-
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.
|
|
3478
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_cran_partial_update"
|
|
2683
3479
|
end
|
|
2684
3480
|
# resource path
|
|
2685
|
-
local_var_path = '/repos/{owner}/{identifier}/upstream/
|
|
3481
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/cran/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
|
2686
3482
|
|
|
2687
3483
|
# query parameters
|
|
2688
3484
|
query_params = {}
|
|
@@ -2706,49 +3502,49 @@ module CloudsmithApi
|
|
|
2706
3502
|
:form_params => form_params,
|
|
2707
3503
|
:body => post_body,
|
|
2708
3504
|
:auth_names => auth_names,
|
|
2709
|
-
:return_type => '
|
|
3505
|
+
:return_type => 'CranUpstream')
|
|
2710
3506
|
if @api_client.config.debugging
|
|
2711
|
-
@api_client.config.logger.debug "API called: ReposApi#
|
|
3507
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_cran_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2712
3508
|
end
|
|
2713
3509
|
return data, status_code, headers
|
|
2714
3510
|
end
|
|
2715
|
-
# Retrieve a
|
|
2716
|
-
# Retrieve a
|
|
3511
|
+
# Retrieve a CRAN upstream config for this repository.
|
|
3512
|
+
# Retrieve a CRAN upstream config for this repository.
|
|
2717
3513
|
# @param owner
|
|
2718
3514
|
# @param identifier
|
|
2719
3515
|
# @param slug_perm
|
|
2720
3516
|
# @param [Hash] opts the optional parameters
|
|
2721
|
-
# @return [
|
|
2722
|
-
def
|
|
2723
|
-
data, _status_code, _headers =
|
|
3517
|
+
# @return [CranUpstream]
|
|
3518
|
+
def repos_upstream_cran_read(owner, identifier, slug_perm, opts = {})
|
|
3519
|
+
data, _status_code, _headers = repos_upstream_cran_read_with_http_info(owner, identifier, slug_perm, opts)
|
|
2724
3520
|
data
|
|
2725
3521
|
end
|
|
2726
3522
|
|
|
2727
|
-
# Retrieve a
|
|
2728
|
-
# Retrieve a
|
|
3523
|
+
# Retrieve a CRAN upstream config for this repository.
|
|
3524
|
+
# Retrieve a CRAN upstream config for this repository.
|
|
2729
3525
|
# @param owner
|
|
2730
3526
|
# @param identifier
|
|
2731
3527
|
# @param slug_perm
|
|
2732
3528
|
# @param [Hash] opts the optional parameters
|
|
2733
|
-
# @return [Array<(
|
|
2734
|
-
def
|
|
3529
|
+
# @return [Array<(CranUpstream, Fixnum, Hash)>] CranUpstream data, response status code and response headers
|
|
3530
|
+
def repos_upstream_cran_read_with_http_info(owner, identifier, slug_perm, opts = {})
|
|
2735
3531
|
if @api_client.config.debugging
|
|
2736
|
-
@api_client.config.logger.debug 'Calling API: ReposApi.
|
|
3532
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_cran_read ...'
|
|
2737
3533
|
end
|
|
2738
3534
|
# verify the required parameter 'owner' is set
|
|
2739
3535
|
if @api_client.config.client_side_validation && owner.nil?
|
|
2740
|
-
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.
|
|
3536
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_cran_read"
|
|
2741
3537
|
end
|
|
2742
3538
|
# verify the required parameter 'identifier' is set
|
|
2743
3539
|
if @api_client.config.client_side_validation && identifier.nil?
|
|
2744
|
-
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.
|
|
3540
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_cran_read"
|
|
2745
3541
|
end
|
|
2746
3542
|
# verify the required parameter 'slug_perm' is set
|
|
2747
3543
|
if @api_client.config.client_side_validation && slug_perm.nil?
|
|
2748
|
-
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.
|
|
3544
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_cran_read"
|
|
2749
3545
|
end
|
|
2750
3546
|
# resource path
|
|
2751
|
-
local_var_path = '/repos/{owner}/{identifier}/upstream/
|
|
3547
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/cran/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
|
2752
3548
|
|
|
2753
3549
|
# query parameters
|
|
2754
3550
|
query_params = {}
|
|
@@ -2772,51 +3568,51 @@ module CloudsmithApi
|
|
|
2772
3568
|
:form_params => form_params,
|
|
2773
3569
|
:body => post_body,
|
|
2774
3570
|
:auth_names => auth_names,
|
|
2775
|
-
:return_type => '
|
|
3571
|
+
:return_type => 'CranUpstream')
|
|
2776
3572
|
if @api_client.config.debugging
|
|
2777
|
-
@api_client.config.logger.debug "API called: ReposApi#
|
|
3573
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_cran_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2778
3574
|
end
|
|
2779
3575
|
return data, status_code, headers
|
|
2780
3576
|
end
|
|
2781
|
-
# Update a
|
|
2782
|
-
# Update a
|
|
3577
|
+
# Update a CRAN upstream config for this repository.
|
|
3578
|
+
# Update a CRAN upstream config for this repository.
|
|
2783
3579
|
# @param owner
|
|
2784
3580
|
# @param identifier
|
|
2785
3581
|
# @param slug_perm
|
|
2786
3582
|
# @param [Hash] opts the optional parameters
|
|
2787
|
-
# @option opts [
|
|
2788
|
-
# @return [
|
|
2789
|
-
def
|
|
2790
|
-
data, _status_code, _headers =
|
|
3583
|
+
# @option opts [CranUpstreamRequest] :data
|
|
3584
|
+
# @return [CranUpstream]
|
|
3585
|
+
def repos_upstream_cran_update(owner, identifier, slug_perm, opts = {})
|
|
3586
|
+
data, _status_code, _headers = repos_upstream_cran_update_with_http_info(owner, identifier, slug_perm, opts)
|
|
2791
3587
|
data
|
|
2792
3588
|
end
|
|
2793
3589
|
|
|
2794
|
-
# Update a
|
|
2795
|
-
# Update a
|
|
3590
|
+
# Update a CRAN upstream config for this repository.
|
|
3591
|
+
# Update a CRAN upstream config for this repository.
|
|
2796
3592
|
# @param owner
|
|
2797
3593
|
# @param identifier
|
|
2798
3594
|
# @param slug_perm
|
|
2799
3595
|
# @param [Hash] opts the optional parameters
|
|
2800
|
-
# @option opts [
|
|
2801
|
-
# @return [Array<(
|
|
2802
|
-
def
|
|
3596
|
+
# @option opts [CranUpstreamRequest] :data
|
|
3597
|
+
# @return [Array<(CranUpstream, Fixnum, Hash)>] CranUpstream data, response status code and response headers
|
|
3598
|
+
def repos_upstream_cran_update_with_http_info(owner, identifier, slug_perm, opts = {})
|
|
2803
3599
|
if @api_client.config.debugging
|
|
2804
|
-
@api_client.config.logger.debug 'Calling API: ReposApi.
|
|
3600
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_cran_update ...'
|
|
2805
3601
|
end
|
|
2806
3602
|
# verify the required parameter 'owner' is set
|
|
2807
3603
|
if @api_client.config.client_side_validation && owner.nil?
|
|
2808
|
-
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.
|
|
3604
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_cran_update"
|
|
2809
3605
|
end
|
|
2810
3606
|
# verify the required parameter 'identifier' is set
|
|
2811
3607
|
if @api_client.config.client_side_validation && identifier.nil?
|
|
2812
|
-
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.
|
|
3608
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_cran_update"
|
|
2813
3609
|
end
|
|
2814
3610
|
# verify the required parameter 'slug_perm' is set
|
|
2815
3611
|
if @api_client.config.client_side_validation && slug_perm.nil?
|
|
2816
|
-
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.
|
|
3612
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_cran_update"
|
|
2817
3613
|
end
|
|
2818
3614
|
# resource path
|
|
2819
|
-
local_var_path = '/repos/{owner}/{identifier}/upstream/
|
|
3615
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/cran/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
|
2820
3616
|
|
|
2821
3617
|
# query parameters
|
|
2822
3618
|
query_params = {}
|
|
@@ -2840,45 +3636,45 @@ module CloudsmithApi
|
|
|
2840
3636
|
:form_params => form_params,
|
|
2841
3637
|
:body => post_body,
|
|
2842
3638
|
:auth_names => auth_names,
|
|
2843
|
-
:return_type => '
|
|
3639
|
+
:return_type => 'CranUpstream')
|
|
2844
3640
|
if @api_client.config.debugging
|
|
2845
|
-
@api_client.config.logger.debug "API called: ReposApi#
|
|
3641
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_cran_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2846
3642
|
end
|
|
2847
3643
|
return data, status_code, headers
|
|
2848
3644
|
end
|
|
2849
|
-
# Create a
|
|
2850
|
-
# Create a
|
|
3645
|
+
# Create a Dart upstream config for this repository.
|
|
3646
|
+
# Create a Dart upstream config for this repository.
|
|
2851
3647
|
# @param owner
|
|
2852
3648
|
# @param identifier
|
|
2853
3649
|
# @param [Hash] opts the optional parameters
|
|
2854
|
-
# @option opts [
|
|
2855
|
-
# @return [
|
|
2856
|
-
def
|
|
2857
|
-
data, _status_code, _headers =
|
|
3650
|
+
# @option opts [DartUpstreamRequest] :data
|
|
3651
|
+
# @return [DartUpstream]
|
|
3652
|
+
def repos_upstream_dart_create(owner, identifier, opts = {})
|
|
3653
|
+
data, _status_code, _headers = repos_upstream_dart_create_with_http_info(owner, identifier, opts)
|
|
2858
3654
|
data
|
|
2859
3655
|
end
|
|
2860
3656
|
|
|
2861
|
-
# Create a
|
|
2862
|
-
# Create a
|
|
3657
|
+
# Create a Dart upstream config for this repository.
|
|
3658
|
+
# Create a Dart upstream config for this repository.
|
|
2863
3659
|
# @param owner
|
|
2864
3660
|
# @param identifier
|
|
2865
3661
|
# @param [Hash] opts the optional parameters
|
|
2866
|
-
# @option opts [
|
|
2867
|
-
# @return [Array<(
|
|
2868
|
-
def
|
|
3662
|
+
# @option opts [DartUpstreamRequest] :data
|
|
3663
|
+
# @return [Array<(DartUpstream, Fixnum, Hash)>] DartUpstream data, response status code and response headers
|
|
3664
|
+
def repos_upstream_dart_create_with_http_info(owner, identifier, opts = {})
|
|
2869
3665
|
if @api_client.config.debugging
|
|
2870
|
-
@api_client.config.logger.debug 'Calling API: ReposApi.
|
|
3666
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_dart_create ...'
|
|
2871
3667
|
end
|
|
2872
3668
|
# verify the required parameter 'owner' is set
|
|
2873
3669
|
if @api_client.config.client_side_validation && owner.nil?
|
|
2874
|
-
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.
|
|
3670
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_dart_create"
|
|
2875
3671
|
end
|
|
2876
3672
|
# verify the required parameter 'identifier' is set
|
|
2877
3673
|
if @api_client.config.client_side_validation && identifier.nil?
|
|
2878
|
-
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.
|
|
3674
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_dart_create"
|
|
2879
3675
|
end
|
|
2880
3676
|
# resource path
|
|
2881
|
-
local_var_path = '/repos/{owner}/{identifier}/upstream/
|
|
3677
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/dart/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
|
|
2882
3678
|
|
|
2883
3679
|
# query parameters
|
|
2884
3680
|
query_params = {}
|
|
@@ -2902,49 +3698,49 @@ module CloudsmithApi
|
|
|
2902
3698
|
:form_params => form_params,
|
|
2903
3699
|
:body => post_body,
|
|
2904
3700
|
:auth_names => auth_names,
|
|
2905
|
-
:return_type => '
|
|
3701
|
+
:return_type => 'DartUpstream')
|
|
2906
3702
|
if @api_client.config.debugging
|
|
2907
|
-
@api_client.config.logger.debug "API called: ReposApi#
|
|
3703
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_dart_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2908
3704
|
end
|
|
2909
3705
|
return data, status_code, headers
|
|
2910
3706
|
end
|
|
2911
|
-
# Delete a
|
|
2912
|
-
# Delete a
|
|
3707
|
+
# Delete a Dart upstream config for this repository.
|
|
3708
|
+
# Delete a Dart upstream config for this repository.
|
|
2913
3709
|
# @param owner
|
|
2914
3710
|
# @param identifier
|
|
2915
3711
|
# @param slug_perm
|
|
2916
3712
|
# @param [Hash] opts the optional parameters
|
|
2917
3713
|
# @return [nil]
|
|
2918
|
-
def
|
|
2919
|
-
|
|
3714
|
+
def repos_upstream_dart_delete(owner, identifier, slug_perm, opts = {})
|
|
3715
|
+
repos_upstream_dart_delete_with_http_info(owner, identifier, slug_perm, opts)
|
|
2920
3716
|
nil
|
|
2921
3717
|
end
|
|
2922
3718
|
|
|
2923
|
-
# Delete a
|
|
2924
|
-
# Delete a
|
|
3719
|
+
# Delete a Dart upstream config for this repository.
|
|
3720
|
+
# Delete a Dart upstream config for this repository.
|
|
2925
3721
|
# @param owner
|
|
2926
3722
|
# @param identifier
|
|
2927
3723
|
# @param slug_perm
|
|
2928
3724
|
# @param [Hash] opts the optional parameters
|
|
2929
3725
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
2930
|
-
def
|
|
3726
|
+
def repos_upstream_dart_delete_with_http_info(owner, identifier, slug_perm, opts = {})
|
|
2931
3727
|
if @api_client.config.debugging
|
|
2932
|
-
@api_client.config.logger.debug 'Calling API: ReposApi.
|
|
3728
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_dart_delete ...'
|
|
2933
3729
|
end
|
|
2934
3730
|
# verify the required parameter 'owner' is set
|
|
2935
3731
|
if @api_client.config.client_side_validation && owner.nil?
|
|
2936
|
-
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.
|
|
3732
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_dart_delete"
|
|
2937
3733
|
end
|
|
2938
3734
|
# verify the required parameter 'identifier' is set
|
|
2939
3735
|
if @api_client.config.client_side_validation && identifier.nil?
|
|
2940
|
-
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.
|
|
3736
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_dart_delete"
|
|
2941
3737
|
end
|
|
2942
3738
|
# verify the required parameter 'slug_perm' is set
|
|
2943
3739
|
if @api_client.config.client_side_validation && slug_perm.nil?
|
|
2944
|
-
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.
|
|
3740
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_dart_delete"
|
|
2945
3741
|
end
|
|
2946
3742
|
# resource path
|
|
2947
|
-
local_var_path = '/repos/{owner}/{identifier}/upstream/
|
|
3743
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/dart/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
|
2948
3744
|
|
|
2949
3745
|
# query parameters
|
|
2950
3746
|
query_params = {}
|
|
@@ -2969,45 +3765,45 @@ module CloudsmithApi
|
|
|
2969
3765
|
:body => post_body,
|
|
2970
3766
|
:auth_names => auth_names)
|
|
2971
3767
|
if @api_client.config.debugging
|
|
2972
|
-
@api_client.config.logger.debug "API called: ReposApi#
|
|
3768
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_dart_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2973
3769
|
end
|
|
2974
3770
|
return data, status_code, headers
|
|
2975
3771
|
end
|
|
2976
|
-
# List
|
|
2977
|
-
# List
|
|
3772
|
+
# List Dart upstream configs for this repository.
|
|
3773
|
+
# List Dart upstream configs for this repository.
|
|
2978
3774
|
# @param owner
|
|
2979
3775
|
# @param identifier
|
|
2980
3776
|
# @param [Hash] opts the optional parameters
|
|
2981
3777
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
2982
3778
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
2983
|
-
# @return [Array<
|
|
2984
|
-
def
|
|
2985
|
-
data, _status_code, _headers =
|
|
3779
|
+
# @return [Array<DartUpstream>]
|
|
3780
|
+
def repos_upstream_dart_list(owner, identifier, opts = {})
|
|
3781
|
+
data, _status_code, _headers = repos_upstream_dart_list_with_http_info(owner, identifier, opts)
|
|
2986
3782
|
data
|
|
2987
3783
|
end
|
|
2988
3784
|
|
|
2989
|
-
# List
|
|
2990
|
-
# List
|
|
3785
|
+
# List Dart upstream configs for this repository.
|
|
3786
|
+
# List Dart upstream configs for this repository.
|
|
2991
3787
|
# @param owner
|
|
2992
3788
|
# @param identifier
|
|
2993
3789
|
# @param [Hash] opts the optional parameters
|
|
2994
3790
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
2995
3791
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
2996
|
-
# @return [Array<(Array<
|
|
2997
|
-
def
|
|
3792
|
+
# @return [Array<(Array<DartUpstream>, Fixnum, Hash)>] Array<DartUpstream> data, response status code and response headers
|
|
3793
|
+
def repos_upstream_dart_list_with_http_info(owner, identifier, opts = {})
|
|
2998
3794
|
if @api_client.config.debugging
|
|
2999
|
-
@api_client.config.logger.debug 'Calling API: ReposApi.
|
|
3795
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_dart_list ...'
|
|
3000
3796
|
end
|
|
3001
3797
|
# verify the required parameter 'owner' is set
|
|
3002
3798
|
if @api_client.config.client_side_validation && owner.nil?
|
|
3003
|
-
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.
|
|
3799
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_dart_list"
|
|
3004
3800
|
end
|
|
3005
3801
|
# verify the required parameter 'identifier' is set
|
|
3006
3802
|
if @api_client.config.client_side_validation && identifier.nil?
|
|
3007
|
-
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.
|
|
3803
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_dart_list"
|
|
3008
3804
|
end
|
|
3009
3805
|
# resource path
|
|
3010
|
-
local_var_path = '/repos/{owner}/{identifier}/upstream/
|
|
3806
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/dart/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
|
|
3011
3807
|
|
|
3012
3808
|
# query parameters
|
|
3013
3809
|
query_params = {}
|
|
@@ -3033,51 +3829,51 @@ module CloudsmithApi
|
|
|
3033
3829
|
:form_params => form_params,
|
|
3034
3830
|
:body => post_body,
|
|
3035
3831
|
:auth_names => auth_names,
|
|
3036
|
-
:return_type => 'Array<
|
|
3832
|
+
:return_type => 'Array<DartUpstream>')
|
|
3037
3833
|
if @api_client.config.debugging
|
|
3038
|
-
@api_client.config.logger.debug "API called: ReposApi#
|
|
3834
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_dart_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3039
3835
|
end
|
|
3040
3836
|
return data, status_code, headers
|
|
3041
3837
|
end
|
|
3042
|
-
# Partially update a
|
|
3043
|
-
# Partially update a
|
|
3838
|
+
# Partially update a Dart upstream config for this repository.
|
|
3839
|
+
# Partially update a Dart upstream config for this repository.
|
|
3044
3840
|
# @param owner
|
|
3045
3841
|
# @param identifier
|
|
3046
3842
|
# @param slug_perm
|
|
3047
3843
|
# @param [Hash] opts the optional parameters
|
|
3048
|
-
# @option opts [
|
|
3049
|
-
# @return [
|
|
3050
|
-
def
|
|
3051
|
-
data, _status_code, _headers =
|
|
3844
|
+
# @option opts [DartUpstreamRequestPatch] :data
|
|
3845
|
+
# @return [DartUpstream]
|
|
3846
|
+
def repos_upstream_dart_partial_update(owner, identifier, slug_perm, opts = {})
|
|
3847
|
+
data, _status_code, _headers = repos_upstream_dart_partial_update_with_http_info(owner, identifier, slug_perm, opts)
|
|
3052
3848
|
data
|
|
3053
3849
|
end
|
|
3054
3850
|
|
|
3055
|
-
# Partially update a
|
|
3056
|
-
# Partially update a
|
|
3851
|
+
# Partially update a Dart upstream config for this repository.
|
|
3852
|
+
# Partially update a Dart upstream config for this repository.
|
|
3057
3853
|
# @param owner
|
|
3058
3854
|
# @param identifier
|
|
3059
3855
|
# @param slug_perm
|
|
3060
3856
|
# @param [Hash] opts the optional parameters
|
|
3061
|
-
# @option opts [
|
|
3062
|
-
# @return [Array<(
|
|
3063
|
-
def
|
|
3857
|
+
# @option opts [DartUpstreamRequestPatch] :data
|
|
3858
|
+
# @return [Array<(DartUpstream, Fixnum, Hash)>] DartUpstream data, response status code and response headers
|
|
3859
|
+
def repos_upstream_dart_partial_update_with_http_info(owner, identifier, slug_perm, opts = {})
|
|
3064
3860
|
if @api_client.config.debugging
|
|
3065
|
-
@api_client.config.logger.debug 'Calling API: ReposApi.
|
|
3861
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_dart_partial_update ...'
|
|
3066
3862
|
end
|
|
3067
3863
|
# verify the required parameter 'owner' is set
|
|
3068
3864
|
if @api_client.config.client_side_validation && owner.nil?
|
|
3069
|
-
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.
|
|
3865
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_dart_partial_update"
|
|
3070
3866
|
end
|
|
3071
3867
|
# verify the required parameter 'identifier' is set
|
|
3072
3868
|
if @api_client.config.client_side_validation && identifier.nil?
|
|
3073
|
-
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.
|
|
3869
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_dart_partial_update"
|
|
3074
3870
|
end
|
|
3075
3871
|
# verify the required parameter 'slug_perm' is set
|
|
3076
3872
|
if @api_client.config.client_side_validation && slug_perm.nil?
|
|
3077
|
-
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.
|
|
3873
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_dart_partial_update"
|
|
3078
3874
|
end
|
|
3079
3875
|
# resource path
|
|
3080
|
-
local_var_path = '/repos/{owner}/{identifier}/upstream/
|
|
3876
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/dart/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
|
3081
3877
|
|
|
3082
3878
|
# query parameters
|
|
3083
3879
|
query_params = {}
|
|
@@ -3101,49 +3897,49 @@ module CloudsmithApi
|
|
|
3101
3897
|
:form_params => form_params,
|
|
3102
3898
|
:body => post_body,
|
|
3103
3899
|
:auth_names => auth_names,
|
|
3104
|
-
:return_type => '
|
|
3900
|
+
:return_type => 'DartUpstream')
|
|
3105
3901
|
if @api_client.config.debugging
|
|
3106
|
-
@api_client.config.logger.debug "API called: ReposApi#
|
|
3902
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_dart_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3107
3903
|
end
|
|
3108
3904
|
return data, status_code, headers
|
|
3109
3905
|
end
|
|
3110
|
-
# Retrieve a
|
|
3111
|
-
# Retrieve a
|
|
3906
|
+
# Retrieve a Dart upstream config for this repository.
|
|
3907
|
+
# Retrieve a Dart upstream config for this repository.
|
|
3112
3908
|
# @param owner
|
|
3113
3909
|
# @param identifier
|
|
3114
3910
|
# @param slug_perm
|
|
3115
3911
|
# @param [Hash] opts the optional parameters
|
|
3116
|
-
# @return [
|
|
3117
|
-
def
|
|
3118
|
-
data, _status_code, _headers =
|
|
3912
|
+
# @return [DartUpstream]
|
|
3913
|
+
def repos_upstream_dart_read(owner, identifier, slug_perm, opts = {})
|
|
3914
|
+
data, _status_code, _headers = repos_upstream_dart_read_with_http_info(owner, identifier, slug_perm, opts)
|
|
3119
3915
|
data
|
|
3120
3916
|
end
|
|
3121
3917
|
|
|
3122
|
-
# Retrieve a
|
|
3123
|
-
# Retrieve a
|
|
3918
|
+
# Retrieve a Dart upstream config for this repository.
|
|
3919
|
+
# Retrieve a Dart upstream config for this repository.
|
|
3124
3920
|
# @param owner
|
|
3125
3921
|
# @param identifier
|
|
3126
3922
|
# @param slug_perm
|
|
3127
3923
|
# @param [Hash] opts the optional parameters
|
|
3128
|
-
# @return [Array<(
|
|
3129
|
-
def
|
|
3924
|
+
# @return [Array<(DartUpstream, Fixnum, Hash)>] DartUpstream data, response status code and response headers
|
|
3925
|
+
def repos_upstream_dart_read_with_http_info(owner, identifier, slug_perm, opts = {})
|
|
3130
3926
|
if @api_client.config.debugging
|
|
3131
|
-
@api_client.config.logger.debug 'Calling API: ReposApi.
|
|
3927
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_dart_read ...'
|
|
3132
3928
|
end
|
|
3133
3929
|
# verify the required parameter 'owner' is set
|
|
3134
3930
|
if @api_client.config.client_side_validation && owner.nil?
|
|
3135
|
-
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.
|
|
3931
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_dart_read"
|
|
3136
3932
|
end
|
|
3137
3933
|
# verify the required parameter 'identifier' is set
|
|
3138
3934
|
if @api_client.config.client_side_validation && identifier.nil?
|
|
3139
|
-
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.
|
|
3935
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_dart_read"
|
|
3140
3936
|
end
|
|
3141
3937
|
# verify the required parameter 'slug_perm' is set
|
|
3142
3938
|
if @api_client.config.client_side_validation && slug_perm.nil?
|
|
3143
|
-
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.
|
|
3939
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_dart_read"
|
|
3144
3940
|
end
|
|
3145
3941
|
# resource path
|
|
3146
|
-
local_var_path = '/repos/{owner}/{identifier}/upstream/
|
|
3942
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/dart/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
|
3147
3943
|
|
|
3148
3944
|
# query parameters
|
|
3149
3945
|
query_params = {}
|
|
@@ -3167,51 +3963,51 @@ module CloudsmithApi
|
|
|
3167
3963
|
:form_params => form_params,
|
|
3168
3964
|
:body => post_body,
|
|
3169
3965
|
:auth_names => auth_names,
|
|
3170
|
-
:return_type => '
|
|
3966
|
+
:return_type => 'DartUpstream')
|
|
3171
3967
|
if @api_client.config.debugging
|
|
3172
|
-
@api_client.config.logger.debug "API called: ReposApi#
|
|
3968
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_dart_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3173
3969
|
end
|
|
3174
3970
|
return data, status_code, headers
|
|
3175
3971
|
end
|
|
3176
|
-
# Update a
|
|
3177
|
-
# Update a
|
|
3972
|
+
# Update a Dart upstream config for this repository.
|
|
3973
|
+
# Update a Dart upstream config for this repository.
|
|
3178
3974
|
# @param owner
|
|
3179
3975
|
# @param identifier
|
|
3180
3976
|
# @param slug_perm
|
|
3181
3977
|
# @param [Hash] opts the optional parameters
|
|
3182
|
-
# @option opts [
|
|
3183
|
-
# @return [
|
|
3184
|
-
def
|
|
3185
|
-
data, _status_code, _headers =
|
|
3978
|
+
# @option opts [DartUpstreamRequest] :data
|
|
3979
|
+
# @return [DartUpstream]
|
|
3980
|
+
def repos_upstream_dart_update(owner, identifier, slug_perm, opts = {})
|
|
3981
|
+
data, _status_code, _headers = repos_upstream_dart_update_with_http_info(owner, identifier, slug_perm, opts)
|
|
3186
3982
|
data
|
|
3187
3983
|
end
|
|
3188
3984
|
|
|
3189
|
-
# Update a
|
|
3190
|
-
# Update a
|
|
3985
|
+
# Update a Dart upstream config for this repository.
|
|
3986
|
+
# Update a Dart upstream config for this repository.
|
|
3191
3987
|
# @param owner
|
|
3192
3988
|
# @param identifier
|
|
3193
3989
|
# @param slug_perm
|
|
3194
3990
|
# @param [Hash] opts the optional parameters
|
|
3195
|
-
# @option opts [
|
|
3196
|
-
# @return [Array<(
|
|
3197
|
-
def
|
|
3991
|
+
# @option opts [DartUpstreamRequest] :data
|
|
3992
|
+
# @return [Array<(DartUpstream, Fixnum, Hash)>] DartUpstream data, response status code and response headers
|
|
3993
|
+
def repos_upstream_dart_update_with_http_info(owner, identifier, slug_perm, opts = {})
|
|
3198
3994
|
if @api_client.config.debugging
|
|
3199
|
-
@api_client.config.logger.debug 'Calling API: ReposApi.
|
|
3995
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_dart_update ...'
|
|
3200
3996
|
end
|
|
3201
3997
|
# verify the required parameter 'owner' is set
|
|
3202
3998
|
if @api_client.config.client_side_validation && owner.nil?
|
|
3203
|
-
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.
|
|
3999
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_dart_update"
|
|
3204
4000
|
end
|
|
3205
4001
|
# verify the required parameter 'identifier' is set
|
|
3206
4002
|
if @api_client.config.client_side_validation && identifier.nil?
|
|
3207
|
-
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.
|
|
4003
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_dart_update"
|
|
3208
4004
|
end
|
|
3209
4005
|
# verify the required parameter 'slug_perm' is set
|
|
3210
4006
|
if @api_client.config.client_side_validation && slug_perm.nil?
|
|
3211
|
-
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.
|
|
4007
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_dart_update"
|
|
3212
4008
|
end
|
|
3213
4009
|
# resource path
|
|
3214
|
-
local_var_path = '/repos/{owner}/{identifier}/upstream/
|
|
4010
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/dart/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
|
3215
4011
|
|
|
3216
4012
|
# query parameters
|
|
3217
4013
|
query_params = {}
|
|
@@ -3235,45 +4031,45 @@ module CloudsmithApi
|
|
|
3235
4031
|
:form_params => form_params,
|
|
3236
4032
|
:body => post_body,
|
|
3237
4033
|
:auth_names => auth_names,
|
|
3238
|
-
:return_type => '
|
|
4034
|
+
:return_type => 'DartUpstream')
|
|
3239
4035
|
if @api_client.config.debugging
|
|
3240
|
-
@api_client.config.logger.debug "API called: ReposApi#
|
|
4036
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_dart_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3241
4037
|
end
|
|
3242
4038
|
return data, status_code, headers
|
|
3243
4039
|
end
|
|
3244
|
-
# Create a
|
|
3245
|
-
# Create a
|
|
4040
|
+
# Create a Debian upstream config for this repository.
|
|
4041
|
+
# Create a Debian upstream config for this repository.
|
|
3246
4042
|
# @param owner
|
|
3247
4043
|
# @param identifier
|
|
3248
4044
|
# @param [Hash] opts the optional parameters
|
|
3249
|
-
# @option opts [
|
|
3250
|
-
# @return [
|
|
3251
|
-
def
|
|
3252
|
-
data, _status_code, _headers =
|
|
4045
|
+
# @option opts [DebUpstreamRequest] :data
|
|
4046
|
+
# @return [DebUpstream]
|
|
4047
|
+
def repos_upstream_deb_create(owner, identifier, opts = {})
|
|
4048
|
+
data, _status_code, _headers = repos_upstream_deb_create_with_http_info(owner, identifier, opts)
|
|
3253
4049
|
data
|
|
3254
4050
|
end
|
|
3255
4051
|
|
|
3256
|
-
# Create a
|
|
3257
|
-
# Create a
|
|
4052
|
+
# Create a Debian upstream config for this repository.
|
|
4053
|
+
# Create a Debian upstream config for this repository.
|
|
3258
4054
|
# @param owner
|
|
3259
4055
|
# @param identifier
|
|
3260
4056
|
# @param [Hash] opts the optional parameters
|
|
3261
|
-
# @option opts [
|
|
3262
|
-
# @return [Array<(
|
|
3263
|
-
def
|
|
4057
|
+
# @option opts [DebUpstreamRequest] :data
|
|
4058
|
+
# @return [Array<(DebUpstream, Fixnum, Hash)>] DebUpstream data, response status code and response headers
|
|
4059
|
+
def repos_upstream_deb_create_with_http_info(owner, identifier, opts = {})
|
|
3264
4060
|
if @api_client.config.debugging
|
|
3265
|
-
@api_client.config.logger.debug 'Calling API: ReposApi.
|
|
4061
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_deb_create ...'
|
|
3266
4062
|
end
|
|
3267
4063
|
# verify the required parameter 'owner' is set
|
|
3268
4064
|
if @api_client.config.client_side_validation && owner.nil?
|
|
3269
|
-
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.
|
|
4065
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_deb_create"
|
|
3270
4066
|
end
|
|
3271
4067
|
# verify the required parameter 'identifier' is set
|
|
3272
4068
|
if @api_client.config.client_side_validation && identifier.nil?
|
|
3273
|
-
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.
|
|
4069
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_deb_create"
|
|
3274
4070
|
end
|
|
3275
4071
|
# resource path
|
|
3276
|
-
local_var_path = '/repos/{owner}/{identifier}/upstream/
|
|
4072
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/deb/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
|
|
3277
4073
|
|
|
3278
4074
|
# query parameters
|
|
3279
4075
|
query_params = {}
|
|
@@ -3297,49 +4093,49 @@ module CloudsmithApi
|
|
|
3297
4093
|
:form_params => form_params,
|
|
3298
4094
|
:body => post_body,
|
|
3299
4095
|
:auth_names => auth_names,
|
|
3300
|
-
:return_type => '
|
|
4096
|
+
:return_type => 'DebUpstream')
|
|
3301
4097
|
if @api_client.config.debugging
|
|
3302
|
-
@api_client.config.logger.debug "API called: ReposApi#
|
|
4098
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_deb_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3303
4099
|
end
|
|
3304
4100
|
return data, status_code, headers
|
|
3305
4101
|
end
|
|
3306
|
-
# Delete a
|
|
3307
|
-
# Delete a
|
|
4102
|
+
# Delete a Debian upstream config for this repository.
|
|
4103
|
+
# Delete a Debian upstream config for this repository.
|
|
3308
4104
|
# @param owner
|
|
3309
4105
|
# @param identifier
|
|
3310
4106
|
# @param slug_perm
|
|
3311
4107
|
# @param [Hash] opts the optional parameters
|
|
3312
4108
|
# @return [nil]
|
|
3313
|
-
def
|
|
3314
|
-
|
|
4109
|
+
def repos_upstream_deb_delete(owner, identifier, slug_perm, opts = {})
|
|
4110
|
+
repos_upstream_deb_delete_with_http_info(owner, identifier, slug_perm, opts)
|
|
3315
4111
|
nil
|
|
3316
4112
|
end
|
|
3317
4113
|
|
|
3318
|
-
# Delete a
|
|
3319
|
-
# Delete a
|
|
4114
|
+
# Delete a Debian upstream config for this repository.
|
|
4115
|
+
# Delete a Debian upstream config for this repository.
|
|
3320
4116
|
# @param owner
|
|
3321
4117
|
# @param identifier
|
|
3322
4118
|
# @param slug_perm
|
|
3323
4119
|
# @param [Hash] opts the optional parameters
|
|
3324
4120
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
3325
|
-
def
|
|
4121
|
+
def repos_upstream_deb_delete_with_http_info(owner, identifier, slug_perm, opts = {})
|
|
3326
4122
|
if @api_client.config.debugging
|
|
3327
|
-
@api_client.config.logger.debug 'Calling API: ReposApi.
|
|
4123
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_deb_delete ...'
|
|
3328
4124
|
end
|
|
3329
4125
|
# verify the required parameter 'owner' is set
|
|
3330
4126
|
if @api_client.config.client_side_validation && owner.nil?
|
|
3331
|
-
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.
|
|
4127
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_deb_delete"
|
|
3332
4128
|
end
|
|
3333
4129
|
# verify the required parameter 'identifier' is set
|
|
3334
4130
|
if @api_client.config.client_side_validation && identifier.nil?
|
|
3335
|
-
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.
|
|
4131
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_deb_delete"
|
|
3336
4132
|
end
|
|
3337
4133
|
# verify the required parameter 'slug_perm' is set
|
|
3338
4134
|
if @api_client.config.client_side_validation && slug_perm.nil?
|
|
3339
|
-
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.
|
|
4135
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_deb_delete"
|
|
3340
4136
|
end
|
|
3341
4137
|
# resource path
|
|
3342
|
-
local_var_path = '/repos/{owner}/{identifier}/upstream/
|
|
4138
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/deb/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
|
3343
4139
|
|
|
3344
4140
|
# query parameters
|
|
3345
4141
|
query_params = {}
|
|
@@ -3364,45 +4160,45 @@ module CloudsmithApi
|
|
|
3364
4160
|
:body => post_body,
|
|
3365
4161
|
:auth_names => auth_names)
|
|
3366
4162
|
if @api_client.config.debugging
|
|
3367
|
-
@api_client.config.logger.debug "API called: ReposApi#
|
|
4163
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_deb_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3368
4164
|
end
|
|
3369
4165
|
return data, status_code, headers
|
|
3370
4166
|
end
|
|
3371
|
-
# List
|
|
3372
|
-
# List
|
|
4167
|
+
# List Debian upstream configs for this repository.
|
|
4168
|
+
# List Debian upstream configs for this repository.
|
|
3373
4169
|
# @param owner
|
|
3374
4170
|
# @param identifier
|
|
3375
4171
|
# @param [Hash] opts the optional parameters
|
|
3376
4172
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
3377
4173
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
3378
|
-
# @return [Array<
|
|
3379
|
-
def
|
|
3380
|
-
data, _status_code, _headers =
|
|
4174
|
+
# @return [Array<DebUpstream>]
|
|
4175
|
+
def repos_upstream_deb_list(owner, identifier, opts = {})
|
|
4176
|
+
data, _status_code, _headers = repos_upstream_deb_list_with_http_info(owner, identifier, opts)
|
|
3381
4177
|
data
|
|
3382
4178
|
end
|
|
3383
4179
|
|
|
3384
|
-
# List
|
|
3385
|
-
# List
|
|
4180
|
+
# List Debian upstream configs for this repository.
|
|
4181
|
+
# List Debian upstream configs for this repository.
|
|
3386
4182
|
# @param owner
|
|
3387
4183
|
# @param identifier
|
|
3388
4184
|
# @param [Hash] opts the optional parameters
|
|
3389
4185
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
3390
4186
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
3391
|
-
# @return [Array<(Array<
|
|
3392
|
-
def
|
|
4187
|
+
# @return [Array<(Array<DebUpstream>, Fixnum, Hash)>] Array<DebUpstream> data, response status code and response headers
|
|
4188
|
+
def repos_upstream_deb_list_with_http_info(owner, identifier, opts = {})
|
|
3393
4189
|
if @api_client.config.debugging
|
|
3394
|
-
@api_client.config.logger.debug 'Calling API: ReposApi.
|
|
4190
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_deb_list ...'
|
|
3395
4191
|
end
|
|
3396
4192
|
# verify the required parameter 'owner' is set
|
|
3397
4193
|
if @api_client.config.client_side_validation && owner.nil?
|
|
3398
|
-
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.
|
|
4194
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_deb_list"
|
|
3399
4195
|
end
|
|
3400
4196
|
# verify the required parameter 'identifier' is set
|
|
3401
4197
|
if @api_client.config.client_side_validation && identifier.nil?
|
|
3402
|
-
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.
|
|
4198
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_deb_list"
|
|
3403
4199
|
end
|
|
3404
4200
|
# resource path
|
|
3405
|
-
local_var_path = '/repos/{owner}/{identifier}/upstream/
|
|
4201
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/deb/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
|
|
3406
4202
|
|
|
3407
4203
|
# query parameters
|
|
3408
4204
|
query_params = {}
|
|
@@ -3428,51 +4224,51 @@ module CloudsmithApi
|
|
|
3428
4224
|
:form_params => form_params,
|
|
3429
4225
|
:body => post_body,
|
|
3430
4226
|
:auth_names => auth_names,
|
|
3431
|
-
:return_type => 'Array<
|
|
4227
|
+
:return_type => 'Array<DebUpstream>')
|
|
3432
4228
|
if @api_client.config.debugging
|
|
3433
|
-
@api_client.config.logger.debug "API called: ReposApi#
|
|
4229
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_deb_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3434
4230
|
end
|
|
3435
4231
|
return data, status_code, headers
|
|
3436
4232
|
end
|
|
3437
|
-
# Partially update a
|
|
3438
|
-
# Partially update a
|
|
4233
|
+
# Partially update a Debian upstream config for this repository.
|
|
4234
|
+
# Partially update a Debian upstream config for this repository.
|
|
3439
4235
|
# @param owner
|
|
3440
4236
|
# @param identifier
|
|
3441
4237
|
# @param slug_perm
|
|
3442
4238
|
# @param [Hash] opts the optional parameters
|
|
3443
|
-
# @option opts [
|
|
3444
|
-
# @return [
|
|
3445
|
-
def
|
|
3446
|
-
data, _status_code, _headers =
|
|
4239
|
+
# @option opts [DebUpstreamRequestPatch] :data
|
|
4240
|
+
# @return [DebUpstream]
|
|
4241
|
+
def repos_upstream_deb_partial_update(owner, identifier, slug_perm, opts = {})
|
|
4242
|
+
data, _status_code, _headers = repos_upstream_deb_partial_update_with_http_info(owner, identifier, slug_perm, opts)
|
|
3447
4243
|
data
|
|
3448
4244
|
end
|
|
3449
4245
|
|
|
3450
|
-
# Partially update a
|
|
3451
|
-
# Partially update a
|
|
4246
|
+
# Partially update a Debian upstream config for this repository.
|
|
4247
|
+
# Partially update a Debian upstream config for this repository.
|
|
3452
4248
|
# @param owner
|
|
3453
4249
|
# @param identifier
|
|
3454
4250
|
# @param slug_perm
|
|
3455
4251
|
# @param [Hash] opts the optional parameters
|
|
3456
|
-
# @option opts [
|
|
3457
|
-
# @return [Array<(
|
|
3458
|
-
def
|
|
4252
|
+
# @option opts [DebUpstreamRequestPatch] :data
|
|
4253
|
+
# @return [Array<(DebUpstream, Fixnum, Hash)>] DebUpstream data, response status code and response headers
|
|
4254
|
+
def repos_upstream_deb_partial_update_with_http_info(owner, identifier, slug_perm, opts = {})
|
|
3459
4255
|
if @api_client.config.debugging
|
|
3460
|
-
@api_client.config.logger.debug 'Calling API: ReposApi.
|
|
4256
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_deb_partial_update ...'
|
|
3461
4257
|
end
|
|
3462
4258
|
# verify the required parameter 'owner' is set
|
|
3463
4259
|
if @api_client.config.client_side_validation && owner.nil?
|
|
3464
|
-
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.
|
|
4260
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_deb_partial_update"
|
|
3465
4261
|
end
|
|
3466
4262
|
# verify the required parameter 'identifier' is set
|
|
3467
4263
|
if @api_client.config.client_side_validation && identifier.nil?
|
|
3468
|
-
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.
|
|
4264
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_deb_partial_update"
|
|
3469
4265
|
end
|
|
3470
4266
|
# verify the required parameter 'slug_perm' is set
|
|
3471
4267
|
if @api_client.config.client_side_validation && slug_perm.nil?
|
|
3472
|
-
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.
|
|
4268
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_deb_partial_update"
|
|
3473
4269
|
end
|
|
3474
4270
|
# resource path
|
|
3475
|
-
local_var_path = '/repos/{owner}/{identifier}/upstream/
|
|
4271
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/deb/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
|
3476
4272
|
|
|
3477
4273
|
# query parameters
|
|
3478
4274
|
query_params = {}
|
|
@@ -3496,49 +4292,49 @@ module CloudsmithApi
|
|
|
3496
4292
|
:form_params => form_params,
|
|
3497
4293
|
:body => post_body,
|
|
3498
4294
|
:auth_names => auth_names,
|
|
3499
|
-
:return_type => '
|
|
4295
|
+
:return_type => 'DebUpstream')
|
|
3500
4296
|
if @api_client.config.debugging
|
|
3501
|
-
@api_client.config.logger.debug "API called: ReposApi#
|
|
4297
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_deb_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3502
4298
|
end
|
|
3503
4299
|
return data, status_code, headers
|
|
3504
4300
|
end
|
|
3505
|
-
# Retrieve a
|
|
3506
|
-
# Retrieve a
|
|
4301
|
+
# Retrieve a Debian upstream config for this repository.
|
|
4302
|
+
# Retrieve a Debian upstream config for this repository.
|
|
3507
4303
|
# @param owner
|
|
3508
4304
|
# @param identifier
|
|
3509
4305
|
# @param slug_perm
|
|
3510
4306
|
# @param [Hash] opts the optional parameters
|
|
3511
|
-
# @return [
|
|
3512
|
-
def
|
|
3513
|
-
data, _status_code, _headers =
|
|
4307
|
+
# @return [DebUpstream]
|
|
4308
|
+
def repos_upstream_deb_read(owner, identifier, slug_perm, opts = {})
|
|
4309
|
+
data, _status_code, _headers = repos_upstream_deb_read_with_http_info(owner, identifier, slug_perm, opts)
|
|
3514
4310
|
data
|
|
3515
4311
|
end
|
|
3516
4312
|
|
|
3517
|
-
# Retrieve a
|
|
3518
|
-
# Retrieve a
|
|
4313
|
+
# Retrieve a Debian upstream config for this repository.
|
|
4314
|
+
# Retrieve a Debian upstream config for this repository.
|
|
3519
4315
|
# @param owner
|
|
3520
4316
|
# @param identifier
|
|
3521
4317
|
# @param slug_perm
|
|
3522
4318
|
# @param [Hash] opts the optional parameters
|
|
3523
|
-
# @return [Array<(
|
|
3524
|
-
def
|
|
4319
|
+
# @return [Array<(DebUpstream, Fixnum, Hash)>] DebUpstream data, response status code and response headers
|
|
4320
|
+
def repos_upstream_deb_read_with_http_info(owner, identifier, slug_perm, opts = {})
|
|
3525
4321
|
if @api_client.config.debugging
|
|
3526
|
-
@api_client.config.logger.debug 'Calling API: ReposApi.
|
|
4322
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_deb_read ...'
|
|
3527
4323
|
end
|
|
3528
4324
|
# verify the required parameter 'owner' is set
|
|
3529
4325
|
if @api_client.config.client_side_validation && owner.nil?
|
|
3530
|
-
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.
|
|
4326
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_deb_read"
|
|
3531
4327
|
end
|
|
3532
4328
|
# verify the required parameter 'identifier' is set
|
|
3533
4329
|
if @api_client.config.client_side_validation && identifier.nil?
|
|
3534
|
-
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.
|
|
4330
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_deb_read"
|
|
3535
4331
|
end
|
|
3536
4332
|
# verify the required parameter 'slug_perm' is set
|
|
3537
4333
|
if @api_client.config.client_side_validation && slug_perm.nil?
|
|
3538
|
-
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.
|
|
4334
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_deb_read"
|
|
3539
4335
|
end
|
|
3540
4336
|
# resource path
|
|
3541
|
-
local_var_path = '/repos/{owner}/{identifier}/upstream/
|
|
4337
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/deb/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
|
3542
4338
|
|
|
3543
4339
|
# query parameters
|
|
3544
4340
|
query_params = {}
|
|
@@ -3562,51 +4358,51 @@ module CloudsmithApi
|
|
|
3562
4358
|
:form_params => form_params,
|
|
3563
4359
|
:body => post_body,
|
|
3564
4360
|
:auth_names => auth_names,
|
|
3565
|
-
:return_type => '
|
|
4361
|
+
:return_type => 'DebUpstream')
|
|
3566
4362
|
if @api_client.config.debugging
|
|
3567
|
-
@api_client.config.logger.debug "API called: ReposApi#
|
|
4363
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_deb_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3568
4364
|
end
|
|
3569
4365
|
return data, status_code, headers
|
|
3570
4366
|
end
|
|
3571
|
-
# Update a
|
|
3572
|
-
# Update a
|
|
4367
|
+
# Update a Debian upstream config for this repository.
|
|
4368
|
+
# Update a Debian upstream config for this repository.
|
|
3573
4369
|
# @param owner
|
|
3574
4370
|
# @param identifier
|
|
3575
4371
|
# @param slug_perm
|
|
3576
4372
|
# @param [Hash] opts the optional parameters
|
|
3577
|
-
# @option opts [
|
|
3578
|
-
# @return [
|
|
3579
|
-
def
|
|
3580
|
-
data, _status_code, _headers =
|
|
4373
|
+
# @option opts [DebUpstreamRequest] :data
|
|
4374
|
+
# @return [DebUpstream]
|
|
4375
|
+
def repos_upstream_deb_update(owner, identifier, slug_perm, opts = {})
|
|
4376
|
+
data, _status_code, _headers = repos_upstream_deb_update_with_http_info(owner, identifier, slug_perm, opts)
|
|
3581
4377
|
data
|
|
3582
4378
|
end
|
|
3583
4379
|
|
|
3584
|
-
# Update a
|
|
3585
|
-
# Update a
|
|
4380
|
+
# Update a Debian upstream config for this repository.
|
|
4381
|
+
# Update a Debian upstream config for this repository.
|
|
3586
4382
|
# @param owner
|
|
3587
4383
|
# @param identifier
|
|
3588
4384
|
# @param slug_perm
|
|
3589
4385
|
# @param [Hash] opts the optional parameters
|
|
3590
|
-
# @option opts [
|
|
3591
|
-
# @return [Array<(
|
|
3592
|
-
def
|
|
4386
|
+
# @option opts [DebUpstreamRequest] :data
|
|
4387
|
+
# @return [Array<(DebUpstream, Fixnum, Hash)>] DebUpstream data, response status code and response headers
|
|
4388
|
+
def repos_upstream_deb_update_with_http_info(owner, identifier, slug_perm, opts = {})
|
|
3593
4389
|
if @api_client.config.debugging
|
|
3594
|
-
@api_client.config.logger.debug 'Calling API: ReposApi.
|
|
4390
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_deb_update ...'
|
|
3595
4391
|
end
|
|
3596
4392
|
# verify the required parameter 'owner' is set
|
|
3597
4393
|
if @api_client.config.client_side_validation && owner.nil?
|
|
3598
|
-
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.
|
|
4394
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_deb_update"
|
|
3599
4395
|
end
|
|
3600
4396
|
# verify the required parameter 'identifier' is set
|
|
3601
4397
|
if @api_client.config.client_side_validation && identifier.nil?
|
|
3602
|
-
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.
|
|
4398
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_deb_update"
|
|
3603
4399
|
end
|
|
3604
4400
|
# verify the required parameter 'slug_perm' is set
|
|
3605
4401
|
if @api_client.config.client_side_validation && slug_perm.nil?
|
|
3606
|
-
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.
|
|
4402
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_deb_update"
|
|
3607
4403
|
end
|
|
3608
4404
|
# resource path
|
|
3609
|
-
local_var_path = '/repos/{owner}/{identifier}/upstream/
|
|
4405
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/deb/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
|
3610
4406
|
|
|
3611
4407
|
# query parameters
|
|
3612
4408
|
query_params = {}
|
|
@@ -3630,45 +4426,45 @@ module CloudsmithApi
|
|
|
3630
4426
|
:form_params => form_params,
|
|
3631
4427
|
:body => post_body,
|
|
3632
4428
|
:auth_names => auth_names,
|
|
3633
|
-
:return_type => '
|
|
4429
|
+
:return_type => 'DebUpstream')
|
|
3634
4430
|
if @api_client.config.debugging
|
|
3635
|
-
@api_client.config.logger.debug "API called: ReposApi#
|
|
4431
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_deb_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3636
4432
|
end
|
|
3637
4433
|
return data, status_code, headers
|
|
3638
4434
|
end
|
|
3639
|
-
# Create a
|
|
3640
|
-
# Create a
|
|
4435
|
+
# Create a Docker upstream config for this repository.
|
|
4436
|
+
# Create a Docker upstream config for this repository.
|
|
3641
4437
|
# @param owner
|
|
3642
4438
|
# @param identifier
|
|
3643
4439
|
# @param [Hash] opts the optional parameters
|
|
3644
|
-
# @option opts [
|
|
3645
|
-
# @return [
|
|
3646
|
-
def
|
|
3647
|
-
data, _status_code, _headers =
|
|
4440
|
+
# @option opts [DockerUpstreamRequest] :data
|
|
4441
|
+
# @return [DockerUpstream]
|
|
4442
|
+
def repos_upstream_docker_create(owner, identifier, opts = {})
|
|
4443
|
+
data, _status_code, _headers = repos_upstream_docker_create_with_http_info(owner, identifier, opts)
|
|
3648
4444
|
data
|
|
3649
4445
|
end
|
|
3650
4446
|
|
|
3651
|
-
# Create a
|
|
3652
|
-
# Create a
|
|
4447
|
+
# Create a Docker upstream config for this repository.
|
|
4448
|
+
# Create a Docker upstream config for this repository.
|
|
3653
4449
|
# @param owner
|
|
3654
4450
|
# @param identifier
|
|
3655
4451
|
# @param [Hash] opts the optional parameters
|
|
3656
|
-
# @option opts [
|
|
3657
|
-
# @return [Array<(
|
|
3658
|
-
def
|
|
4452
|
+
# @option opts [DockerUpstreamRequest] :data
|
|
4453
|
+
# @return [Array<(DockerUpstream, Fixnum, Hash)>] DockerUpstream data, response status code and response headers
|
|
4454
|
+
def repos_upstream_docker_create_with_http_info(owner, identifier, opts = {})
|
|
3659
4455
|
if @api_client.config.debugging
|
|
3660
|
-
@api_client.config.logger.debug 'Calling API: ReposApi.
|
|
4456
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_docker_create ...'
|
|
3661
4457
|
end
|
|
3662
4458
|
# verify the required parameter 'owner' is set
|
|
3663
4459
|
if @api_client.config.client_side_validation && owner.nil?
|
|
3664
|
-
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.
|
|
4460
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_docker_create"
|
|
3665
4461
|
end
|
|
3666
4462
|
# verify the required parameter 'identifier' is set
|
|
3667
4463
|
if @api_client.config.client_side_validation && identifier.nil?
|
|
3668
|
-
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.
|
|
4464
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_docker_create"
|
|
3669
4465
|
end
|
|
3670
4466
|
# resource path
|
|
3671
|
-
local_var_path = '/repos/{owner}/{identifier}/upstream/
|
|
4467
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/docker/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
|
|
3672
4468
|
|
|
3673
4469
|
# query parameters
|
|
3674
4470
|
query_params = {}
|
|
@@ -3692,49 +4488,49 @@ module CloudsmithApi
|
|
|
3692
4488
|
:form_params => form_params,
|
|
3693
4489
|
:body => post_body,
|
|
3694
4490
|
:auth_names => auth_names,
|
|
3695
|
-
:return_type => '
|
|
4491
|
+
:return_type => 'DockerUpstream')
|
|
3696
4492
|
if @api_client.config.debugging
|
|
3697
|
-
@api_client.config.logger.debug "API called: ReposApi#
|
|
4493
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_docker_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3698
4494
|
end
|
|
3699
4495
|
return data, status_code, headers
|
|
3700
|
-
end
|
|
3701
|
-
# Delete a
|
|
3702
|
-
# Delete a
|
|
4496
|
+
end
|
|
4497
|
+
# Delete a Docker upstream config for this repository.
|
|
4498
|
+
# Delete a Docker upstream config for this repository.
|
|
3703
4499
|
# @param owner
|
|
3704
4500
|
# @param identifier
|
|
3705
4501
|
# @param slug_perm
|
|
3706
4502
|
# @param [Hash] opts the optional parameters
|
|
3707
4503
|
# @return [nil]
|
|
3708
|
-
def
|
|
3709
|
-
|
|
4504
|
+
def repos_upstream_docker_delete(owner, identifier, slug_perm, opts = {})
|
|
4505
|
+
repos_upstream_docker_delete_with_http_info(owner, identifier, slug_perm, opts)
|
|
3710
4506
|
nil
|
|
3711
4507
|
end
|
|
3712
4508
|
|
|
3713
|
-
# Delete a
|
|
3714
|
-
# Delete a
|
|
4509
|
+
# Delete a Docker upstream config for this repository.
|
|
4510
|
+
# Delete a Docker upstream config for this repository.
|
|
3715
4511
|
# @param owner
|
|
3716
4512
|
# @param identifier
|
|
3717
4513
|
# @param slug_perm
|
|
3718
4514
|
# @param [Hash] opts the optional parameters
|
|
3719
4515
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
3720
|
-
def
|
|
4516
|
+
def repos_upstream_docker_delete_with_http_info(owner, identifier, slug_perm, opts = {})
|
|
3721
4517
|
if @api_client.config.debugging
|
|
3722
|
-
@api_client.config.logger.debug 'Calling API: ReposApi.
|
|
4518
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_docker_delete ...'
|
|
3723
4519
|
end
|
|
3724
4520
|
# verify the required parameter 'owner' is set
|
|
3725
4521
|
if @api_client.config.client_side_validation && owner.nil?
|
|
3726
|
-
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.
|
|
4522
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_docker_delete"
|
|
3727
4523
|
end
|
|
3728
4524
|
# verify the required parameter 'identifier' is set
|
|
3729
4525
|
if @api_client.config.client_side_validation && identifier.nil?
|
|
3730
|
-
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.
|
|
4526
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_docker_delete"
|
|
3731
4527
|
end
|
|
3732
4528
|
# verify the required parameter 'slug_perm' is set
|
|
3733
4529
|
if @api_client.config.client_side_validation && slug_perm.nil?
|
|
3734
|
-
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.
|
|
4530
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_docker_delete"
|
|
3735
4531
|
end
|
|
3736
4532
|
# resource path
|
|
3737
|
-
local_var_path = '/repos/{owner}/{identifier}/upstream/
|
|
4533
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/docker/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
|
3738
4534
|
|
|
3739
4535
|
# query parameters
|
|
3740
4536
|
query_params = {}
|
|
@@ -3759,45 +4555,45 @@ module CloudsmithApi
|
|
|
3759
4555
|
:body => post_body,
|
|
3760
4556
|
:auth_names => auth_names)
|
|
3761
4557
|
if @api_client.config.debugging
|
|
3762
|
-
@api_client.config.logger.debug "API called: ReposApi#
|
|
4558
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_docker_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3763
4559
|
end
|
|
3764
4560
|
return data, status_code, headers
|
|
3765
4561
|
end
|
|
3766
|
-
# List
|
|
3767
|
-
# List
|
|
4562
|
+
# List Docker upstream configs for this repository.
|
|
4563
|
+
# List Docker upstream configs for this repository.
|
|
3768
4564
|
# @param owner
|
|
3769
4565
|
# @param identifier
|
|
3770
4566
|
# @param [Hash] opts the optional parameters
|
|
3771
4567
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
3772
4568
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
3773
|
-
# @return [Array<
|
|
3774
|
-
def
|
|
3775
|
-
data, _status_code, _headers =
|
|
4569
|
+
# @return [Array<DockerUpstream>]
|
|
4570
|
+
def repos_upstream_docker_list(owner, identifier, opts = {})
|
|
4571
|
+
data, _status_code, _headers = repos_upstream_docker_list_with_http_info(owner, identifier, opts)
|
|
3776
4572
|
data
|
|
3777
4573
|
end
|
|
3778
4574
|
|
|
3779
|
-
# List
|
|
3780
|
-
# List
|
|
4575
|
+
# List Docker upstream configs for this repository.
|
|
4576
|
+
# List Docker upstream configs for this repository.
|
|
3781
4577
|
# @param owner
|
|
3782
4578
|
# @param identifier
|
|
3783
4579
|
# @param [Hash] opts the optional parameters
|
|
3784
4580
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
3785
4581
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
3786
|
-
# @return [Array<(Array<
|
|
3787
|
-
def
|
|
4582
|
+
# @return [Array<(Array<DockerUpstream>, Fixnum, Hash)>] Array<DockerUpstream> data, response status code and response headers
|
|
4583
|
+
def repos_upstream_docker_list_with_http_info(owner, identifier, opts = {})
|
|
3788
4584
|
if @api_client.config.debugging
|
|
3789
|
-
@api_client.config.logger.debug 'Calling API: ReposApi.
|
|
4585
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_docker_list ...'
|
|
3790
4586
|
end
|
|
3791
4587
|
# verify the required parameter 'owner' is set
|
|
3792
4588
|
if @api_client.config.client_side_validation && owner.nil?
|
|
3793
|
-
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.
|
|
4589
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_docker_list"
|
|
3794
4590
|
end
|
|
3795
4591
|
# verify the required parameter 'identifier' is set
|
|
3796
4592
|
if @api_client.config.client_side_validation && identifier.nil?
|
|
3797
|
-
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.
|
|
4593
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_docker_list"
|
|
3798
4594
|
end
|
|
3799
4595
|
# resource path
|
|
3800
|
-
local_var_path = '/repos/{owner}/{identifier}/upstream/
|
|
4596
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/docker/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
|
|
3801
4597
|
|
|
3802
4598
|
# query parameters
|
|
3803
4599
|
query_params = {}
|
|
@@ -3823,51 +4619,51 @@ module CloudsmithApi
|
|
|
3823
4619
|
:form_params => form_params,
|
|
3824
4620
|
:body => post_body,
|
|
3825
4621
|
:auth_names => auth_names,
|
|
3826
|
-
:return_type => 'Array<
|
|
4622
|
+
:return_type => 'Array<DockerUpstream>')
|
|
3827
4623
|
if @api_client.config.debugging
|
|
3828
|
-
@api_client.config.logger.debug "API called: ReposApi#
|
|
4624
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_docker_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3829
4625
|
end
|
|
3830
4626
|
return data, status_code, headers
|
|
3831
4627
|
end
|
|
3832
|
-
# Partially update a
|
|
3833
|
-
# Partially update a
|
|
4628
|
+
# Partially update a Docker upstream config for this repository.
|
|
4629
|
+
# Partially update a Docker upstream config for this repository.
|
|
3834
4630
|
# @param owner
|
|
3835
4631
|
# @param identifier
|
|
3836
4632
|
# @param slug_perm
|
|
3837
4633
|
# @param [Hash] opts the optional parameters
|
|
3838
|
-
# @option opts [
|
|
3839
|
-
# @return [
|
|
3840
|
-
def
|
|
3841
|
-
data, _status_code, _headers =
|
|
4634
|
+
# @option opts [DockerUpstreamRequestPatch] :data
|
|
4635
|
+
# @return [DockerUpstream]
|
|
4636
|
+
def repos_upstream_docker_partial_update(owner, identifier, slug_perm, opts = {})
|
|
4637
|
+
data, _status_code, _headers = repos_upstream_docker_partial_update_with_http_info(owner, identifier, slug_perm, opts)
|
|
3842
4638
|
data
|
|
3843
4639
|
end
|
|
3844
4640
|
|
|
3845
|
-
# Partially update a
|
|
3846
|
-
# Partially update a
|
|
4641
|
+
# Partially update a Docker upstream config for this repository.
|
|
4642
|
+
# Partially update a Docker upstream config for this repository.
|
|
3847
4643
|
# @param owner
|
|
3848
4644
|
# @param identifier
|
|
3849
4645
|
# @param slug_perm
|
|
3850
4646
|
# @param [Hash] opts the optional parameters
|
|
3851
|
-
# @option opts [
|
|
3852
|
-
# @return [Array<(
|
|
3853
|
-
def
|
|
4647
|
+
# @option opts [DockerUpstreamRequestPatch] :data
|
|
4648
|
+
# @return [Array<(DockerUpstream, Fixnum, Hash)>] DockerUpstream data, response status code and response headers
|
|
4649
|
+
def repos_upstream_docker_partial_update_with_http_info(owner, identifier, slug_perm, opts = {})
|
|
3854
4650
|
if @api_client.config.debugging
|
|
3855
|
-
@api_client.config.logger.debug 'Calling API: ReposApi.
|
|
4651
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_docker_partial_update ...'
|
|
3856
4652
|
end
|
|
3857
4653
|
# verify the required parameter 'owner' is set
|
|
3858
4654
|
if @api_client.config.client_side_validation && owner.nil?
|
|
3859
|
-
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.
|
|
4655
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_docker_partial_update"
|
|
3860
4656
|
end
|
|
3861
4657
|
# verify the required parameter 'identifier' is set
|
|
3862
4658
|
if @api_client.config.client_side_validation && identifier.nil?
|
|
3863
|
-
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.
|
|
4659
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_docker_partial_update"
|
|
3864
4660
|
end
|
|
3865
4661
|
# verify the required parameter 'slug_perm' is set
|
|
3866
4662
|
if @api_client.config.client_side_validation && slug_perm.nil?
|
|
3867
|
-
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.
|
|
4663
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_docker_partial_update"
|
|
3868
4664
|
end
|
|
3869
4665
|
# resource path
|
|
3870
|
-
local_var_path = '/repos/{owner}/{identifier}/upstream/
|
|
4666
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/docker/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
|
3871
4667
|
|
|
3872
4668
|
# query parameters
|
|
3873
4669
|
query_params = {}
|
|
@@ -3891,49 +4687,49 @@ module CloudsmithApi
|
|
|
3891
4687
|
:form_params => form_params,
|
|
3892
4688
|
:body => post_body,
|
|
3893
4689
|
:auth_names => auth_names,
|
|
3894
|
-
:return_type => '
|
|
4690
|
+
:return_type => 'DockerUpstream')
|
|
3895
4691
|
if @api_client.config.debugging
|
|
3896
|
-
@api_client.config.logger.debug "API called: ReposApi#
|
|
4692
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_docker_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3897
4693
|
end
|
|
3898
4694
|
return data, status_code, headers
|
|
3899
4695
|
end
|
|
3900
|
-
# Retrieve a
|
|
3901
|
-
# Retrieve a
|
|
4696
|
+
# Retrieve a Docker upstream config for this repository.
|
|
4697
|
+
# Retrieve a Docker upstream config for this repository.
|
|
3902
4698
|
# @param owner
|
|
3903
4699
|
# @param identifier
|
|
3904
4700
|
# @param slug_perm
|
|
3905
4701
|
# @param [Hash] opts the optional parameters
|
|
3906
|
-
# @return [
|
|
3907
|
-
def
|
|
3908
|
-
data, _status_code, _headers =
|
|
4702
|
+
# @return [DockerUpstream]
|
|
4703
|
+
def repos_upstream_docker_read(owner, identifier, slug_perm, opts = {})
|
|
4704
|
+
data, _status_code, _headers = repos_upstream_docker_read_with_http_info(owner, identifier, slug_perm, opts)
|
|
3909
4705
|
data
|
|
3910
4706
|
end
|
|
3911
4707
|
|
|
3912
|
-
# Retrieve a
|
|
3913
|
-
# Retrieve a
|
|
4708
|
+
# Retrieve a Docker upstream config for this repository.
|
|
4709
|
+
# Retrieve a Docker upstream config for this repository.
|
|
3914
4710
|
# @param owner
|
|
3915
4711
|
# @param identifier
|
|
3916
4712
|
# @param slug_perm
|
|
3917
4713
|
# @param [Hash] opts the optional parameters
|
|
3918
|
-
# @return [Array<(
|
|
3919
|
-
def
|
|
4714
|
+
# @return [Array<(DockerUpstream, Fixnum, Hash)>] DockerUpstream data, response status code and response headers
|
|
4715
|
+
def repos_upstream_docker_read_with_http_info(owner, identifier, slug_perm, opts = {})
|
|
3920
4716
|
if @api_client.config.debugging
|
|
3921
|
-
@api_client.config.logger.debug 'Calling API: ReposApi.
|
|
4717
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_docker_read ...'
|
|
3922
4718
|
end
|
|
3923
4719
|
# verify the required parameter 'owner' is set
|
|
3924
4720
|
if @api_client.config.client_side_validation && owner.nil?
|
|
3925
|
-
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.
|
|
4721
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_docker_read"
|
|
3926
4722
|
end
|
|
3927
4723
|
# verify the required parameter 'identifier' is set
|
|
3928
4724
|
if @api_client.config.client_side_validation && identifier.nil?
|
|
3929
|
-
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.
|
|
4725
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_docker_read"
|
|
3930
4726
|
end
|
|
3931
4727
|
# verify the required parameter 'slug_perm' is set
|
|
3932
4728
|
if @api_client.config.client_side_validation && slug_perm.nil?
|
|
3933
|
-
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.
|
|
4729
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_docker_read"
|
|
3934
4730
|
end
|
|
3935
4731
|
# resource path
|
|
3936
|
-
local_var_path = '/repos/{owner}/{identifier}/upstream/
|
|
4732
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/docker/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
|
3937
4733
|
|
|
3938
4734
|
# query parameters
|
|
3939
4735
|
query_params = {}
|
|
@@ -3957,51 +4753,51 @@ module CloudsmithApi
|
|
|
3957
4753
|
:form_params => form_params,
|
|
3958
4754
|
:body => post_body,
|
|
3959
4755
|
:auth_names => auth_names,
|
|
3960
|
-
:return_type => '
|
|
4756
|
+
:return_type => 'DockerUpstream')
|
|
3961
4757
|
if @api_client.config.debugging
|
|
3962
|
-
@api_client.config.logger.debug "API called: ReposApi#
|
|
4758
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_docker_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3963
4759
|
end
|
|
3964
4760
|
return data, status_code, headers
|
|
3965
4761
|
end
|
|
3966
|
-
# Update a
|
|
3967
|
-
# Update a
|
|
4762
|
+
# Update a Docker upstream config for this repository.
|
|
4763
|
+
# Update a Docker upstream config for this repository.
|
|
3968
4764
|
# @param owner
|
|
3969
4765
|
# @param identifier
|
|
3970
4766
|
# @param slug_perm
|
|
3971
4767
|
# @param [Hash] opts the optional parameters
|
|
3972
|
-
# @option opts [
|
|
3973
|
-
# @return [
|
|
3974
|
-
def
|
|
3975
|
-
data, _status_code, _headers =
|
|
4768
|
+
# @option opts [DockerUpstreamRequest] :data
|
|
4769
|
+
# @return [DockerUpstream]
|
|
4770
|
+
def repos_upstream_docker_update(owner, identifier, slug_perm, opts = {})
|
|
4771
|
+
data, _status_code, _headers = repos_upstream_docker_update_with_http_info(owner, identifier, slug_perm, opts)
|
|
3976
4772
|
data
|
|
3977
4773
|
end
|
|
3978
4774
|
|
|
3979
|
-
# Update a
|
|
3980
|
-
# Update a
|
|
4775
|
+
# Update a Docker upstream config for this repository.
|
|
4776
|
+
# Update a Docker upstream config for this repository.
|
|
3981
4777
|
# @param owner
|
|
3982
4778
|
# @param identifier
|
|
3983
4779
|
# @param slug_perm
|
|
3984
4780
|
# @param [Hash] opts the optional parameters
|
|
3985
|
-
# @option opts [
|
|
3986
|
-
# @return [Array<(
|
|
3987
|
-
def
|
|
4781
|
+
# @option opts [DockerUpstreamRequest] :data
|
|
4782
|
+
# @return [Array<(DockerUpstream, Fixnum, Hash)>] DockerUpstream data, response status code and response headers
|
|
4783
|
+
def repos_upstream_docker_update_with_http_info(owner, identifier, slug_perm, opts = {})
|
|
3988
4784
|
if @api_client.config.debugging
|
|
3989
|
-
@api_client.config.logger.debug 'Calling API: ReposApi.
|
|
4785
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_docker_update ...'
|
|
3990
4786
|
end
|
|
3991
4787
|
# verify the required parameter 'owner' is set
|
|
3992
4788
|
if @api_client.config.client_side_validation && owner.nil?
|
|
3993
|
-
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.
|
|
4789
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_docker_update"
|
|
3994
4790
|
end
|
|
3995
4791
|
# verify the required parameter 'identifier' is set
|
|
3996
4792
|
if @api_client.config.client_side_validation && identifier.nil?
|
|
3997
|
-
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.
|
|
4793
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_docker_update"
|
|
3998
4794
|
end
|
|
3999
4795
|
# verify the required parameter 'slug_perm' is set
|
|
4000
4796
|
if @api_client.config.client_side_validation && slug_perm.nil?
|
|
4001
|
-
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.
|
|
4797
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_docker_update"
|
|
4002
4798
|
end
|
|
4003
4799
|
# resource path
|
|
4004
|
-
local_var_path = '/repos/{owner}/{identifier}/upstream/
|
|
4800
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/docker/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
|
4005
4801
|
|
|
4006
4802
|
# query parameters
|
|
4007
4803
|
query_params = {}
|
|
@@ -4025,45 +4821,45 @@ module CloudsmithApi
|
|
|
4025
4821
|
:form_params => form_params,
|
|
4026
4822
|
:body => post_body,
|
|
4027
4823
|
:auth_names => auth_names,
|
|
4028
|
-
:return_type => '
|
|
4824
|
+
:return_type => 'DockerUpstream')
|
|
4029
4825
|
if @api_client.config.debugging
|
|
4030
|
-
@api_client.config.logger.debug "API called: ReposApi#
|
|
4826
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_docker_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4031
4827
|
end
|
|
4032
4828
|
return data, status_code, headers
|
|
4033
4829
|
end
|
|
4034
|
-
# Create a
|
|
4035
|
-
# Create a
|
|
4830
|
+
# Create a Generic upstream config for this repository.
|
|
4831
|
+
# Create a Generic upstream config for this repository.
|
|
4036
4832
|
# @param owner
|
|
4037
4833
|
# @param identifier
|
|
4038
4834
|
# @param [Hash] opts the optional parameters
|
|
4039
|
-
# @option opts [
|
|
4040
|
-
# @return [
|
|
4041
|
-
def
|
|
4042
|
-
data, _status_code, _headers =
|
|
4835
|
+
# @option opts [GenericUpstreamRequest] :data
|
|
4836
|
+
# @return [GenericUpstream]
|
|
4837
|
+
def repos_upstream_generic_create(owner, identifier, opts = {})
|
|
4838
|
+
data, _status_code, _headers = repos_upstream_generic_create_with_http_info(owner, identifier, opts)
|
|
4043
4839
|
data
|
|
4044
4840
|
end
|
|
4045
4841
|
|
|
4046
|
-
# Create a
|
|
4047
|
-
# Create a
|
|
4842
|
+
# Create a Generic upstream config for this repository.
|
|
4843
|
+
# Create a Generic upstream config for this repository.
|
|
4048
4844
|
# @param owner
|
|
4049
4845
|
# @param identifier
|
|
4050
4846
|
# @param [Hash] opts the optional parameters
|
|
4051
|
-
# @option opts [
|
|
4052
|
-
# @return [Array<(
|
|
4053
|
-
def
|
|
4847
|
+
# @option opts [GenericUpstreamRequest] :data
|
|
4848
|
+
# @return [Array<(GenericUpstream, Fixnum, Hash)>] GenericUpstream data, response status code and response headers
|
|
4849
|
+
def repos_upstream_generic_create_with_http_info(owner, identifier, opts = {})
|
|
4054
4850
|
if @api_client.config.debugging
|
|
4055
|
-
@api_client.config.logger.debug 'Calling API: ReposApi.
|
|
4851
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_generic_create ...'
|
|
4056
4852
|
end
|
|
4057
4853
|
# verify the required parameter 'owner' is set
|
|
4058
4854
|
if @api_client.config.client_side_validation && owner.nil?
|
|
4059
|
-
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.
|
|
4855
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_generic_create"
|
|
4060
4856
|
end
|
|
4061
4857
|
# verify the required parameter 'identifier' is set
|
|
4062
4858
|
if @api_client.config.client_side_validation && identifier.nil?
|
|
4063
|
-
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.
|
|
4859
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_generic_create"
|
|
4064
4860
|
end
|
|
4065
4861
|
# resource path
|
|
4066
|
-
local_var_path = '/repos/{owner}/{identifier}/upstream/
|
|
4862
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/generic/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
|
|
4067
4863
|
|
|
4068
4864
|
# query parameters
|
|
4069
4865
|
query_params = {}
|
|
@@ -4087,49 +4883,49 @@ module CloudsmithApi
|
|
|
4087
4883
|
:form_params => form_params,
|
|
4088
4884
|
:body => post_body,
|
|
4089
4885
|
:auth_names => auth_names,
|
|
4090
|
-
:return_type => '
|
|
4886
|
+
:return_type => 'GenericUpstream')
|
|
4091
4887
|
if @api_client.config.debugging
|
|
4092
|
-
@api_client.config.logger.debug "API called: ReposApi#
|
|
4888
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_generic_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4093
4889
|
end
|
|
4094
4890
|
return data, status_code, headers
|
|
4095
4891
|
end
|
|
4096
|
-
# Delete a
|
|
4097
|
-
# Delete a
|
|
4892
|
+
# Delete a Generic upstream config for this repository.
|
|
4893
|
+
# Delete a Generic upstream config for this repository.
|
|
4098
4894
|
# @param owner
|
|
4099
4895
|
# @param identifier
|
|
4100
4896
|
# @param slug_perm
|
|
4101
4897
|
# @param [Hash] opts the optional parameters
|
|
4102
4898
|
# @return [nil]
|
|
4103
|
-
def
|
|
4104
|
-
|
|
4899
|
+
def repos_upstream_generic_delete(owner, identifier, slug_perm, opts = {})
|
|
4900
|
+
repos_upstream_generic_delete_with_http_info(owner, identifier, slug_perm, opts)
|
|
4105
4901
|
nil
|
|
4106
4902
|
end
|
|
4107
4903
|
|
|
4108
|
-
# Delete a
|
|
4109
|
-
# Delete a
|
|
4904
|
+
# Delete a Generic upstream config for this repository.
|
|
4905
|
+
# Delete a Generic upstream config for this repository.
|
|
4110
4906
|
# @param owner
|
|
4111
4907
|
# @param identifier
|
|
4112
4908
|
# @param slug_perm
|
|
4113
4909
|
# @param [Hash] opts the optional parameters
|
|
4114
4910
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
4115
|
-
def
|
|
4911
|
+
def repos_upstream_generic_delete_with_http_info(owner, identifier, slug_perm, opts = {})
|
|
4116
4912
|
if @api_client.config.debugging
|
|
4117
|
-
@api_client.config.logger.debug 'Calling API: ReposApi.
|
|
4913
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_generic_delete ...'
|
|
4118
4914
|
end
|
|
4119
4915
|
# verify the required parameter 'owner' is set
|
|
4120
4916
|
if @api_client.config.client_side_validation && owner.nil?
|
|
4121
|
-
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.
|
|
4917
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_generic_delete"
|
|
4122
4918
|
end
|
|
4123
4919
|
# verify the required parameter 'identifier' is set
|
|
4124
4920
|
if @api_client.config.client_side_validation && identifier.nil?
|
|
4125
|
-
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.
|
|
4921
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_generic_delete"
|
|
4126
4922
|
end
|
|
4127
4923
|
# verify the required parameter 'slug_perm' is set
|
|
4128
4924
|
if @api_client.config.client_side_validation && slug_perm.nil?
|
|
4129
|
-
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.
|
|
4925
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_generic_delete"
|
|
4130
4926
|
end
|
|
4131
4927
|
# resource path
|
|
4132
|
-
local_var_path = '/repos/{owner}/{identifier}/upstream/
|
|
4928
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/generic/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
|
4133
4929
|
|
|
4134
4930
|
# query parameters
|
|
4135
4931
|
query_params = {}
|
|
@@ -4154,45 +4950,45 @@ module CloudsmithApi
|
|
|
4154
4950
|
:body => post_body,
|
|
4155
4951
|
:auth_names => auth_names)
|
|
4156
4952
|
if @api_client.config.debugging
|
|
4157
|
-
@api_client.config.logger.debug "API called: ReposApi#
|
|
4953
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_generic_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4158
4954
|
end
|
|
4159
4955
|
return data, status_code, headers
|
|
4160
4956
|
end
|
|
4161
|
-
# List
|
|
4162
|
-
# List
|
|
4957
|
+
# List Generic upstream configs for this repository.
|
|
4958
|
+
# List Generic upstream configs for this repository.
|
|
4163
4959
|
# @param owner
|
|
4164
4960
|
# @param identifier
|
|
4165
4961
|
# @param [Hash] opts the optional parameters
|
|
4166
4962
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
4167
4963
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
4168
|
-
# @return [Array<
|
|
4169
|
-
def
|
|
4170
|
-
data, _status_code, _headers =
|
|
4964
|
+
# @return [Array<GenericUpstream>]
|
|
4965
|
+
def repos_upstream_generic_list(owner, identifier, opts = {})
|
|
4966
|
+
data, _status_code, _headers = repos_upstream_generic_list_with_http_info(owner, identifier, opts)
|
|
4171
4967
|
data
|
|
4172
4968
|
end
|
|
4173
4969
|
|
|
4174
|
-
# List
|
|
4175
|
-
# List
|
|
4970
|
+
# List Generic upstream configs for this repository.
|
|
4971
|
+
# List Generic upstream configs for this repository.
|
|
4176
4972
|
# @param owner
|
|
4177
4973
|
# @param identifier
|
|
4178
4974
|
# @param [Hash] opts the optional parameters
|
|
4179
4975
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
4180
4976
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
4181
|
-
# @return [Array<(Array<
|
|
4182
|
-
def
|
|
4977
|
+
# @return [Array<(Array<GenericUpstream>, Fixnum, Hash)>] Array<GenericUpstream> data, response status code and response headers
|
|
4978
|
+
def repos_upstream_generic_list_with_http_info(owner, identifier, opts = {})
|
|
4183
4979
|
if @api_client.config.debugging
|
|
4184
|
-
@api_client.config.logger.debug 'Calling API: ReposApi.
|
|
4980
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_generic_list ...'
|
|
4185
4981
|
end
|
|
4186
4982
|
# verify the required parameter 'owner' is set
|
|
4187
4983
|
if @api_client.config.client_side_validation && owner.nil?
|
|
4188
|
-
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.
|
|
4984
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_generic_list"
|
|
4189
4985
|
end
|
|
4190
4986
|
# verify the required parameter 'identifier' is set
|
|
4191
4987
|
if @api_client.config.client_side_validation && identifier.nil?
|
|
4192
|
-
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.
|
|
4988
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_generic_list"
|
|
4193
4989
|
end
|
|
4194
4990
|
# resource path
|
|
4195
|
-
local_var_path = '/repos/{owner}/{identifier}/upstream/
|
|
4991
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/generic/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
|
|
4196
4992
|
|
|
4197
4993
|
# query parameters
|
|
4198
4994
|
query_params = {}
|
|
@@ -4218,51 +5014,51 @@ module CloudsmithApi
|
|
|
4218
5014
|
:form_params => form_params,
|
|
4219
5015
|
:body => post_body,
|
|
4220
5016
|
:auth_names => auth_names,
|
|
4221
|
-
:return_type => 'Array<
|
|
5017
|
+
:return_type => 'Array<GenericUpstream>')
|
|
4222
5018
|
if @api_client.config.debugging
|
|
4223
|
-
@api_client.config.logger.debug "API called: ReposApi#
|
|
5019
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_generic_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4224
5020
|
end
|
|
4225
5021
|
return data, status_code, headers
|
|
4226
5022
|
end
|
|
4227
|
-
# Partially update a
|
|
4228
|
-
# Partially update a
|
|
5023
|
+
# Partially update a Generic upstream config for this repository.
|
|
5024
|
+
# Partially update a Generic upstream config for this repository.
|
|
4229
5025
|
# @param owner
|
|
4230
5026
|
# @param identifier
|
|
4231
5027
|
# @param slug_perm
|
|
4232
5028
|
# @param [Hash] opts the optional parameters
|
|
4233
|
-
# @option opts [
|
|
4234
|
-
# @return [
|
|
4235
|
-
def
|
|
4236
|
-
data, _status_code, _headers =
|
|
5029
|
+
# @option opts [GenericUpstreamRequestPatch] :data
|
|
5030
|
+
# @return [GenericUpstream]
|
|
5031
|
+
def repos_upstream_generic_partial_update(owner, identifier, slug_perm, opts = {})
|
|
5032
|
+
data, _status_code, _headers = repos_upstream_generic_partial_update_with_http_info(owner, identifier, slug_perm, opts)
|
|
4237
5033
|
data
|
|
4238
5034
|
end
|
|
4239
5035
|
|
|
4240
|
-
# Partially update a
|
|
4241
|
-
# Partially update a
|
|
5036
|
+
# Partially update a Generic upstream config for this repository.
|
|
5037
|
+
# Partially update a Generic upstream config for this repository.
|
|
4242
5038
|
# @param owner
|
|
4243
5039
|
# @param identifier
|
|
4244
5040
|
# @param slug_perm
|
|
4245
5041
|
# @param [Hash] opts the optional parameters
|
|
4246
|
-
# @option opts [
|
|
4247
|
-
# @return [Array<(
|
|
4248
|
-
def
|
|
5042
|
+
# @option opts [GenericUpstreamRequestPatch] :data
|
|
5043
|
+
# @return [Array<(GenericUpstream, Fixnum, Hash)>] GenericUpstream data, response status code and response headers
|
|
5044
|
+
def repos_upstream_generic_partial_update_with_http_info(owner, identifier, slug_perm, opts = {})
|
|
4249
5045
|
if @api_client.config.debugging
|
|
4250
|
-
@api_client.config.logger.debug 'Calling API: ReposApi.
|
|
5046
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_generic_partial_update ...'
|
|
4251
5047
|
end
|
|
4252
5048
|
# verify the required parameter 'owner' is set
|
|
4253
5049
|
if @api_client.config.client_side_validation && owner.nil?
|
|
4254
|
-
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.
|
|
5050
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_generic_partial_update"
|
|
4255
5051
|
end
|
|
4256
5052
|
# verify the required parameter 'identifier' is set
|
|
4257
5053
|
if @api_client.config.client_side_validation && identifier.nil?
|
|
4258
|
-
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.
|
|
5054
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_generic_partial_update"
|
|
4259
5055
|
end
|
|
4260
5056
|
# verify the required parameter 'slug_perm' is set
|
|
4261
5057
|
if @api_client.config.client_side_validation && slug_perm.nil?
|
|
4262
|
-
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.
|
|
5058
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_generic_partial_update"
|
|
4263
5059
|
end
|
|
4264
5060
|
# resource path
|
|
4265
|
-
local_var_path = '/repos/{owner}/{identifier}/upstream/
|
|
5061
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/generic/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
|
4266
5062
|
|
|
4267
5063
|
# query parameters
|
|
4268
5064
|
query_params = {}
|
|
@@ -4286,49 +5082,49 @@ module CloudsmithApi
|
|
|
4286
5082
|
:form_params => form_params,
|
|
4287
5083
|
:body => post_body,
|
|
4288
5084
|
:auth_names => auth_names,
|
|
4289
|
-
:return_type => '
|
|
5085
|
+
:return_type => 'GenericUpstream')
|
|
4290
5086
|
if @api_client.config.debugging
|
|
4291
|
-
@api_client.config.logger.debug "API called: ReposApi#
|
|
5087
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_generic_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4292
5088
|
end
|
|
4293
5089
|
return data, status_code, headers
|
|
4294
5090
|
end
|
|
4295
|
-
# Retrieve a
|
|
4296
|
-
# Retrieve a
|
|
5091
|
+
# Retrieve a Generic upstream config for this repository.
|
|
5092
|
+
# Retrieve a Generic upstream config for this repository.
|
|
4297
5093
|
# @param owner
|
|
4298
5094
|
# @param identifier
|
|
4299
5095
|
# @param slug_perm
|
|
4300
5096
|
# @param [Hash] opts the optional parameters
|
|
4301
|
-
# @return [
|
|
4302
|
-
def
|
|
4303
|
-
data, _status_code, _headers =
|
|
5097
|
+
# @return [GenericUpstream]
|
|
5098
|
+
def repos_upstream_generic_read(owner, identifier, slug_perm, opts = {})
|
|
5099
|
+
data, _status_code, _headers = repos_upstream_generic_read_with_http_info(owner, identifier, slug_perm, opts)
|
|
4304
5100
|
data
|
|
4305
5101
|
end
|
|
4306
5102
|
|
|
4307
|
-
# Retrieve a
|
|
4308
|
-
# Retrieve a
|
|
5103
|
+
# Retrieve a Generic upstream config for this repository.
|
|
5104
|
+
# Retrieve a Generic upstream config for this repository.
|
|
4309
5105
|
# @param owner
|
|
4310
5106
|
# @param identifier
|
|
4311
5107
|
# @param slug_perm
|
|
4312
5108
|
# @param [Hash] opts the optional parameters
|
|
4313
|
-
# @return [Array<(
|
|
4314
|
-
def
|
|
5109
|
+
# @return [Array<(GenericUpstream, Fixnum, Hash)>] GenericUpstream data, response status code and response headers
|
|
5110
|
+
def repos_upstream_generic_read_with_http_info(owner, identifier, slug_perm, opts = {})
|
|
4315
5111
|
if @api_client.config.debugging
|
|
4316
|
-
@api_client.config.logger.debug 'Calling API: ReposApi.
|
|
5112
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_generic_read ...'
|
|
4317
5113
|
end
|
|
4318
5114
|
# verify the required parameter 'owner' is set
|
|
4319
5115
|
if @api_client.config.client_side_validation && owner.nil?
|
|
4320
|
-
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.
|
|
5116
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_generic_read"
|
|
4321
5117
|
end
|
|
4322
5118
|
# verify the required parameter 'identifier' is set
|
|
4323
5119
|
if @api_client.config.client_side_validation && identifier.nil?
|
|
4324
|
-
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.
|
|
5120
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_generic_read"
|
|
4325
5121
|
end
|
|
4326
5122
|
# verify the required parameter 'slug_perm' is set
|
|
4327
5123
|
if @api_client.config.client_side_validation && slug_perm.nil?
|
|
4328
|
-
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.
|
|
5124
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_generic_read"
|
|
4329
5125
|
end
|
|
4330
5126
|
# resource path
|
|
4331
|
-
local_var_path = '/repos/{owner}/{identifier}/upstream/
|
|
5127
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/generic/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
|
4332
5128
|
|
|
4333
5129
|
# query parameters
|
|
4334
5130
|
query_params = {}
|
|
@@ -4352,51 +5148,51 @@ module CloudsmithApi
|
|
|
4352
5148
|
:form_params => form_params,
|
|
4353
5149
|
:body => post_body,
|
|
4354
5150
|
:auth_names => auth_names,
|
|
4355
|
-
:return_type => '
|
|
5151
|
+
:return_type => 'GenericUpstream')
|
|
4356
5152
|
if @api_client.config.debugging
|
|
4357
|
-
@api_client.config.logger.debug "API called: ReposApi#
|
|
5153
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_generic_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4358
5154
|
end
|
|
4359
5155
|
return data, status_code, headers
|
|
4360
5156
|
end
|
|
4361
|
-
# Update a
|
|
4362
|
-
# Update a
|
|
5157
|
+
# Update a Generic upstream config for this repository.
|
|
5158
|
+
# Update a Generic upstream config for this repository.
|
|
4363
5159
|
# @param owner
|
|
4364
5160
|
# @param identifier
|
|
4365
5161
|
# @param slug_perm
|
|
4366
5162
|
# @param [Hash] opts the optional parameters
|
|
4367
|
-
# @option opts [
|
|
4368
|
-
# @return [
|
|
4369
|
-
def
|
|
4370
|
-
data, _status_code, _headers =
|
|
5163
|
+
# @option opts [GenericUpstreamRequest] :data
|
|
5164
|
+
# @return [GenericUpstream]
|
|
5165
|
+
def repos_upstream_generic_update(owner, identifier, slug_perm, opts = {})
|
|
5166
|
+
data, _status_code, _headers = repos_upstream_generic_update_with_http_info(owner, identifier, slug_perm, opts)
|
|
4371
5167
|
data
|
|
4372
5168
|
end
|
|
4373
5169
|
|
|
4374
|
-
# Update a
|
|
4375
|
-
# Update a
|
|
5170
|
+
# Update a Generic upstream config for this repository.
|
|
5171
|
+
# Update a Generic upstream config for this repository.
|
|
4376
5172
|
# @param owner
|
|
4377
5173
|
# @param identifier
|
|
4378
5174
|
# @param slug_perm
|
|
4379
5175
|
# @param [Hash] opts the optional parameters
|
|
4380
|
-
# @option opts [
|
|
4381
|
-
# @return [Array<(
|
|
4382
|
-
def
|
|
5176
|
+
# @option opts [GenericUpstreamRequest] :data
|
|
5177
|
+
# @return [Array<(GenericUpstream, Fixnum, Hash)>] GenericUpstream data, response status code and response headers
|
|
5178
|
+
def repos_upstream_generic_update_with_http_info(owner, identifier, slug_perm, opts = {})
|
|
4383
5179
|
if @api_client.config.debugging
|
|
4384
|
-
@api_client.config.logger.debug 'Calling API: ReposApi.
|
|
5180
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_generic_update ...'
|
|
4385
5181
|
end
|
|
4386
5182
|
# verify the required parameter 'owner' is set
|
|
4387
5183
|
if @api_client.config.client_side_validation && owner.nil?
|
|
4388
|
-
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.
|
|
5184
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_generic_update"
|
|
4389
5185
|
end
|
|
4390
5186
|
# verify the required parameter 'identifier' is set
|
|
4391
5187
|
if @api_client.config.client_side_validation && identifier.nil?
|
|
4392
|
-
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.
|
|
5188
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_generic_update"
|
|
4393
5189
|
end
|
|
4394
5190
|
# verify the required parameter 'slug_perm' is set
|
|
4395
5191
|
if @api_client.config.client_side_validation && slug_perm.nil?
|
|
4396
|
-
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.
|
|
5192
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_generic_update"
|
|
4397
5193
|
end
|
|
4398
5194
|
# resource path
|
|
4399
|
-
local_var_path = '/repos/{owner}/{identifier}/upstream/
|
|
5195
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/generic/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
|
4400
5196
|
|
|
4401
5197
|
# query parameters
|
|
4402
5198
|
query_params = {}
|
|
@@ -4420,9 +5216,9 @@ module CloudsmithApi
|
|
|
4420
5216
|
:form_params => form_params,
|
|
4421
5217
|
:body => post_body,
|
|
4422
5218
|
:auth_names => auth_names,
|
|
4423
|
-
:return_type => '
|
|
5219
|
+
:return_type => 'GenericUpstream')
|
|
4424
5220
|
if @api_client.config.debugging
|
|
4425
|
-
@api_client.config.logger.debug "API called: ReposApi#
|
|
5221
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_generic_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4426
5222
|
end
|
|
4427
5223
|
return data, status_code, headers
|
|
4428
5224
|
end
|