cloudsmith-api 2.0.11 → 2.0.13
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 +4 -4
- data/README.md +23 -5
- data/build.json +1 -1
- data/docs/AlpinePackageUpload.md +7 -0
- data/docs/CargoPackageUpload.md +7 -0
- data/docs/CocoapodsPackageUpload.md +7 -0
- data/docs/ComposerPackageUpload.md +7 -0
- data/docs/ConanPackageUpload.md +7 -0
- data/docs/CondaPackageUpload.md +7 -0
- data/docs/CranPackageUpload.md +7 -0
- data/docs/DartPackageUpload.md +7 -0
- data/docs/DebPackageUpload.md +7 -0
- data/docs/DockerPackageUpload.md +7 -0
- data/docs/GoPackageUpload.md +7 -0
- data/docs/HelmPackageUpload.md +7 -0
- data/docs/HexPackageUpload.md +7 -0
- data/docs/LuarocksPackageUpload.md +7 -0
- data/docs/MavenPackageUpload.md +7 -0
- data/docs/NpmPackageUpload.md +7 -0
- data/docs/NugetPackageUpload.md +7 -0
- data/docs/OrganizationMembership.md +1 -1
- data/docs/OrgsApi.md +358 -0
- data/docs/P2PackageUpload.md +7 -0
- data/docs/Package.md +7 -0
- data/docs/PackageCopy.md +7 -0
- data/docs/PackageMove.md +7 -0
- data/docs/PackageQuarantine.md +7 -0
- data/docs/PackageResync.md +7 -0
- data/docs/PackageStatus.md +7 -0
- data/docs/PackageTag.md +7 -0
- data/docs/PackagesApi.md +4 -4
- data/docs/ProviderSettings.md +14 -0
- data/docs/ProviderSettingsRequest.md +12 -0
- data/docs/ProviderSettingsRequestPatch.md +12 -0
- data/docs/PythonPackageUpload.md +7 -0
- data/docs/RawPackageUpload.md +7 -0
- data/docs/ReposApi.md +377 -0
- data/docs/RpmPackageUpload.md +7 -0
- data/docs/RubyPackageUpload.md +7 -0
- data/docs/StatusBasic.md +1 -1
- data/docs/SwiftPackageUpload.md +8 -1
- data/docs/SwiftPackageUploadRequest.md +1 -0
- data/docs/SwiftUpstream.md +23 -0
- data/docs/SwiftUpstreamRequest.md +20 -0
- data/docs/SwiftUpstreamRequestPatch.md +20 -0
- data/docs/TerraformPackageUpload.md +7 -0
- data/docs/VagrantPackageUpload.md +7 -0
- data/lib/cloudsmith-api/api/orgs_api.rb +358 -0
- data/lib/cloudsmith-api/api/packages_api.rb +4 -4
- data/lib/cloudsmith-api/api/repos_api.rb +395 -0
- data/lib/cloudsmith-api/models/alpine_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/cargo_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/cocoapods_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/composer_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/conan_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/conda_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/cran_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/dart_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/deb_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/docker_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/go_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/helm_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/hex_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/luarocks_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/maven_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/npm_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/nuget_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/organization_membership.rb +1 -1
- data/lib/cloudsmith-api/models/p2_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/package.rb +64 -1
- data/lib/cloudsmith-api/models/package_copy.rb +64 -1
- data/lib/cloudsmith-api/models/package_move.rb +64 -1
- data/lib/cloudsmith-api/models/package_quarantine.rb +64 -1
- data/lib/cloudsmith-api/models/package_resync.rb +64 -1
- data/lib/cloudsmith-api/models/package_status.rb +64 -1
- data/lib/cloudsmith-api/models/package_tag.rb +64 -1
- data/lib/cloudsmith-api/models/provider_settings.rb +272 -0
- data/lib/cloudsmith-api/models/provider_settings_request.rb +252 -0
- data/lib/cloudsmith-api/models/provider_settings_request_patch.rb +227 -0
- data/lib/cloudsmith-api/models/python_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/raw_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/rpm_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/ruby_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/status_basic.rb +1 -1
- data/lib/cloudsmith-api/models/swift_package_upload.rb +69 -1
- data/lib/cloudsmith-api/models/swift_package_upload_request.rb +16 -1
- data/lib/cloudsmith-api/models/swift_upstream.rb +393 -0
- data/lib/cloudsmith-api/models/swift_upstream_request.rb +365 -0
- data/lib/cloudsmith-api/models/swift_upstream_request_patch.rb +355 -0
- data/lib/cloudsmith-api/models/terraform_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/vagrant_package_upload.rb +64 -1
- data/lib/cloudsmith-api/version.rb +1 -1
- data/lib/cloudsmith-api.rb +6 -0
- data/spec/api/orgs_api_spec.rb +81 -0
- data/spec/api/packages_api_spec.rb +2 -2
- data/spec/api/repos_api_spec.rb +87 -0
- data/spec/models/alpine_package_upload_spec.rb +42 -0
- data/spec/models/cargo_package_upload_spec.rb +42 -0
- data/spec/models/cocoapods_package_upload_spec.rb +42 -0
- data/spec/models/composer_package_upload_spec.rb +42 -0
- data/spec/models/conan_package_upload_spec.rb +42 -0
- data/spec/models/conda_package_upload_spec.rb +42 -0
- data/spec/models/cran_package_upload_spec.rb +42 -0
- data/spec/models/dart_package_upload_spec.rb +42 -0
- data/spec/models/deb_package_upload_spec.rb +42 -0
- data/spec/models/docker_package_upload_spec.rb +42 -0
- data/spec/models/go_package_upload_spec.rb +42 -0
- data/spec/models/helm_package_upload_spec.rb +42 -0
- data/spec/models/hex_package_upload_spec.rb +42 -0
- data/spec/models/luarocks_package_upload_spec.rb +42 -0
- data/spec/models/maven_package_upload_spec.rb +42 -0
- data/spec/models/npm_package_upload_spec.rb +42 -0
- data/spec/models/nuget_package_upload_spec.rb +42 -0
- data/spec/models/p2_package_upload_spec.rb +42 -0
- data/spec/models/package_copy_spec.rb +42 -0
- data/spec/models/package_move_spec.rb +42 -0
- data/spec/models/package_quarantine_spec.rb +42 -0
- data/spec/models/package_resync_spec.rb +42 -0
- data/spec/models/package_spec.rb +42 -0
- data/spec/models/package_status_spec.rb +42 -0
- data/spec/models/package_tag_spec.rb +42 -0
- data/spec/models/provider_settings_request_patch_spec.rb +65 -0
- data/spec/models/provider_settings_request_spec.rb +65 -0
- data/spec/models/provider_settings_spec.rb +77 -0
- data/spec/models/python_package_upload_spec.rb +42 -0
- data/spec/models/raw_package_upload_spec.rb +42 -0
- data/spec/models/rpm_package_upload_spec.rb +42 -0
- data/spec/models/ruby_package_upload_spec.rb +42 -0
- data/spec/models/swift_package_upload_request_spec.rb +6 -0
- data/spec/models/swift_package_upload_spec.rb +42 -0
- data/spec/models/swift_upstream_request_patch_spec.rb +121 -0
- data/spec/models/swift_upstream_request_spec.rb +121 -0
- data/spec/models/swift_upstream_spec.rb +139 -0
- data/spec/models/terraform_package_upload_spec.rb +42 -0
- data/spec/models/vagrant_package_upload_spec.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/cache/bigdecimal-3.1.7.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/json-2.7.2.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/public_suffix-5.0.5.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.21/gem_make.out +1 -1
- data/vendor/bundle/ruby/2.6.0/{gems/bigdecimal-3.1.6/ext/bigdecimal → extensions/x86_64-linux/2.6.0/bigdecimal-3.1.7}/bigdecimal.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/gem_make.out +6 -6
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/mkmf.log +10 -10
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.16.3/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.16.3/mkmf.log +1 -1
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.7.1 → json-2.7.2}/gem_make.out +5 -5
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.2/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.2/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.7.1 → json-2.7.2}/mkmf.log +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/bigdecimal.c +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/bigdecimal.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6/lib → bigdecimal-3.1.7/ext/bigdecimal}/bigdecimal.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/missing.o +0 -0
- data/vendor/bundle/ruby/2.6.0/{extensions/x86_64-linux/2.6.0/bigdecimal-3.1.6 → gems/bigdecimal-3.1.7/lib}/bigdecimal.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.16.3/ext/ffi_c/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/README.md +0 -9
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/generator/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/generator/generator.c +36 -6
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.2/ext/json/ext/generator/generator.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.2/ext/json/ext/generator/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/parser.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.2/ext/json/ext/parser/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/ostruct.rb +5 -2
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/common.rb +2 -1
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.2/lib/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.2/lib/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/generic_object.rb +6 -2
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/CHANGELOG.md +7 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/LICENSE.txt +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/README.md +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/data/list.txt +239 -80
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/lib/public_suffix/domain.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/lib/public_suffix/errors.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/lib/public_suffix/list.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/lib/public_suffix/rule.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/lib/public_suffix/version.rb +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/lib/public_suffix.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/specifications/{bigdecimal-3.1.6.gemspec → bigdecimal-3.1.7.gemspec} +3 -3
- data/vendor/bundle/ruby/2.6.0/specifications/{json-2.7.1.gemspec → json-2.7.2.gemspec} +0 -0
- data/vendor/bundle/ruby/2.6.0/specifications/{public_suffix-5.0.4.gemspec → public_suffix-5.0.5.gemspec} +4 -4
- metadata +129 -105
- data/vendor/bundle/ruby/2.6.0/cache/bigdecimal-3.1.6.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/json-2.7.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/public_suffix-5.0.4.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.1/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.1/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.1/ext/json/ext/generator/generator.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.1/ext/json/ext/generator/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.1/ext/json/ext/parser/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.1/lib/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.1/lib/json/ext/parser.so +0 -0
- /data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/gem.build_complete +0 -0
- /data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.7.1 → json-2.7.2}/gem.build_complete +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/LICENSE +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/bigdecimal.gemspec +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/.sitearchdir.time +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/bigdecimal.h +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/bits.h +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/extconf.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/feature.h +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/missing/dtoa.c +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/missing.c +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/missing.h +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/static_assert.h +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/lib/bigdecimal/jacobian.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/lib/bigdecimal/ludcmp.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/lib/bigdecimal/math.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/lib/bigdecimal/newton.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/lib/bigdecimal/util.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/lib/bigdecimal.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/sample/linear.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/sample/nlsolve.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/sample/pi.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/CHANGES.md +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/LICENSE +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/fbuffer/fbuffer.h +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/generator/.sitearchdir.-.json.-.ext.time +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/generator/depend +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/generator/extconf.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/generator/generator.h +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/.sitearchdir.-.json.-.ext.time +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/depend +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/extconf.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/parser.c +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/parser.h +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/parser.rl +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/extconf.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/json.gemspec +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/bigdecimal.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/complex.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/core.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/date.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/date_time.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/exception.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/range.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/rational.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/regexp.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/set.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/struct.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/symbol.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/time.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/ext.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/pure/generator.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/pure/parser.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/pure.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/.yardopts +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/2.0-Upgrade.md +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/SECURITY.md +0 -0
|
@@ -5581,6 +5581,401 @@ module CloudsmithApi
|
|
|
5581
5581
|
end
|
|
5582
5582
|
return data, status_code, headers
|
|
5583
5583
|
end
|
|
5584
|
+
# Create a Swift upstream config for this repository.
|
|
5585
|
+
# Create a Swift upstream config for this repository.
|
|
5586
|
+
# @param owner
|
|
5587
|
+
# @param identifier
|
|
5588
|
+
# @param [Hash] opts the optional parameters
|
|
5589
|
+
# @option opts [SwiftUpstreamRequest] :data
|
|
5590
|
+
# @return [SwiftUpstream]
|
|
5591
|
+
def repos_upstream_swift_create(owner, identifier, opts = {})
|
|
5592
|
+
data, _status_code, _headers = repos_upstream_swift_create_with_http_info(owner, identifier, opts)
|
|
5593
|
+
data
|
|
5594
|
+
end
|
|
5595
|
+
|
|
5596
|
+
# Create a Swift upstream config for this repository.
|
|
5597
|
+
# Create a Swift upstream config for this repository.
|
|
5598
|
+
# @param owner
|
|
5599
|
+
# @param identifier
|
|
5600
|
+
# @param [Hash] opts the optional parameters
|
|
5601
|
+
# @option opts [SwiftUpstreamRequest] :data
|
|
5602
|
+
# @return [Array<(SwiftUpstream, Fixnum, Hash)>] SwiftUpstream data, response status code and response headers
|
|
5603
|
+
def repos_upstream_swift_create_with_http_info(owner, identifier, opts = {})
|
|
5604
|
+
if @api_client.config.debugging
|
|
5605
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_swift_create ...'
|
|
5606
|
+
end
|
|
5607
|
+
# verify the required parameter 'owner' is set
|
|
5608
|
+
if @api_client.config.client_side_validation && owner.nil?
|
|
5609
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_swift_create"
|
|
5610
|
+
end
|
|
5611
|
+
# verify the required parameter 'identifier' is set
|
|
5612
|
+
if @api_client.config.client_side_validation && identifier.nil?
|
|
5613
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_swift_create"
|
|
5614
|
+
end
|
|
5615
|
+
# resource path
|
|
5616
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/swift/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
|
|
5617
|
+
|
|
5618
|
+
# query parameters
|
|
5619
|
+
query_params = {}
|
|
5620
|
+
|
|
5621
|
+
# header parameters
|
|
5622
|
+
header_params = {}
|
|
5623
|
+
# HTTP header 'Accept' (if needed)
|
|
5624
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
5625
|
+
# HTTP header 'Content-Type'
|
|
5626
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
5627
|
+
|
|
5628
|
+
# form parameters
|
|
5629
|
+
form_params = {}
|
|
5630
|
+
|
|
5631
|
+
# http body (model)
|
|
5632
|
+
post_body = @api_client.object_to_http_body(opts[:'data'])
|
|
5633
|
+
auth_names = ['apikey']
|
|
5634
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
5635
|
+
:header_params => header_params,
|
|
5636
|
+
:query_params => query_params,
|
|
5637
|
+
:form_params => form_params,
|
|
5638
|
+
:body => post_body,
|
|
5639
|
+
:auth_names => auth_names,
|
|
5640
|
+
:return_type => 'SwiftUpstream')
|
|
5641
|
+
if @api_client.config.debugging
|
|
5642
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_swift_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5643
|
+
end
|
|
5644
|
+
return data, status_code, headers
|
|
5645
|
+
end
|
|
5646
|
+
# Delete a Swift upstream config for this repository.
|
|
5647
|
+
# Delete a Swift upstream config for this repository.
|
|
5648
|
+
# @param owner
|
|
5649
|
+
# @param identifier
|
|
5650
|
+
# @param slug_perm
|
|
5651
|
+
# @param [Hash] opts the optional parameters
|
|
5652
|
+
# @return [nil]
|
|
5653
|
+
def repos_upstream_swift_delete(owner, identifier, slug_perm, opts = {})
|
|
5654
|
+
repos_upstream_swift_delete_with_http_info(owner, identifier, slug_perm, opts)
|
|
5655
|
+
nil
|
|
5656
|
+
end
|
|
5657
|
+
|
|
5658
|
+
# Delete a Swift upstream config for this repository.
|
|
5659
|
+
# Delete a Swift upstream config for this repository.
|
|
5660
|
+
# @param owner
|
|
5661
|
+
# @param identifier
|
|
5662
|
+
# @param slug_perm
|
|
5663
|
+
# @param [Hash] opts the optional parameters
|
|
5664
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
5665
|
+
def repos_upstream_swift_delete_with_http_info(owner, identifier, slug_perm, opts = {})
|
|
5666
|
+
if @api_client.config.debugging
|
|
5667
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_swift_delete ...'
|
|
5668
|
+
end
|
|
5669
|
+
# verify the required parameter 'owner' is set
|
|
5670
|
+
if @api_client.config.client_side_validation && owner.nil?
|
|
5671
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_swift_delete"
|
|
5672
|
+
end
|
|
5673
|
+
# verify the required parameter 'identifier' is set
|
|
5674
|
+
if @api_client.config.client_side_validation && identifier.nil?
|
|
5675
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_swift_delete"
|
|
5676
|
+
end
|
|
5677
|
+
# verify the required parameter 'slug_perm' is set
|
|
5678
|
+
if @api_client.config.client_side_validation && slug_perm.nil?
|
|
5679
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_swift_delete"
|
|
5680
|
+
end
|
|
5681
|
+
# resource path
|
|
5682
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/swift/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
|
5683
|
+
|
|
5684
|
+
# query parameters
|
|
5685
|
+
query_params = {}
|
|
5686
|
+
|
|
5687
|
+
# header parameters
|
|
5688
|
+
header_params = {}
|
|
5689
|
+
# HTTP header 'Accept' (if needed)
|
|
5690
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
5691
|
+
# HTTP header 'Content-Type'
|
|
5692
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
5693
|
+
|
|
5694
|
+
# form parameters
|
|
5695
|
+
form_params = {}
|
|
5696
|
+
|
|
5697
|
+
# http body (model)
|
|
5698
|
+
post_body = nil
|
|
5699
|
+
auth_names = ['apikey']
|
|
5700
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
5701
|
+
:header_params => header_params,
|
|
5702
|
+
:query_params => query_params,
|
|
5703
|
+
:form_params => form_params,
|
|
5704
|
+
:body => post_body,
|
|
5705
|
+
:auth_names => auth_names)
|
|
5706
|
+
if @api_client.config.debugging
|
|
5707
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_swift_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5708
|
+
end
|
|
5709
|
+
return data, status_code, headers
|
|
5710
|
+
end
|
|
5711
|
+
# List Swift upstream configs for this repository.
|
|
5712
|
+
# List Swift upstream configs for this repository.
|
|
5713
|
+
# @param owner
|
|
5714
|
+
# @param identifier
|
|
5715
|
+
# @param [Hash] opts the optional parameters
|
|
5716
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
5717
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
5718
|
+
# @return [Array<SwiftUpstream>]
|
|
5719
|
+
def repos_upstream_swift_list(owner, identifier, opts = {})
|
|
5720
|
+
data, _status_code, _headers = repos_upstream_swift_list_with_http_info(owner, identifier, opts)
|
|
5721
|
+
data
|
|
5722
|
+
end
|
|
5723
|
+
|
|
5724
|
+
# List Swift upstream configs for this repository.
|
|
5725
|
+
# List Swift upstream configs for this repository.
|
|
5726
|
+
# @param owner
|
|
5727
|
+
# @param identifier
|
|
5728
|
+
# @param [Hash] opts the optional parameters
|
|
5729
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
5730
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
5731
|
+
# @return [Array<(Array<SwiftUpstream>, Fixnum, Hash)>] Array<SwiftUpstream> data, response status code and response headers
|
|
5732
|
+
def repos_upstream_swift_list_with_http_info(owner, identifier, opts = {})
|
|
5733
|
+
if @api_client.config.debugging
|
|
5734
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_swift_list ...'
|
|
5735
|
+
end
|
|
5736
|
+
# verify the required parameter 'owner' is set
|
|
5737
|
+
if @api_client.config.client_side_validation && owner.nil?
|
|
5738
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_swift_list"
|
|
5739
|
+
end
|
|
5740
|
+
# verify the required parameter 'identifier' is set
|
|
5741
|
+
if @api_client.config.client_side_validation && identifier.nil?
|
|
5742
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_swift_list"
|
|
5743
|
+
end
|
|
5744
|
+
# resource path
|
|
5745
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/swift/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
|
|
5746
|
+
|
|
5747
|
+
# query parameters
|
|
5748
|
+
query_params = {}
|
|
5749
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
5750
|
+
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
5751
|
+
|
|
5752
|
+
# header parameters
|
|
5753
|
+
header_params = {}
|
|
5754
|
+
# HTTP header 'Accept' (if needed)
|
|
5755
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
5756
|
+
# HTTP header 'Content-Type'
|
|
5757
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
5758
|
+
|
|
5759
|
+
# form parameters
|
|
5760
|
+
form_params = {}
|
|
5761
|
+
|
|
5762
|
+
# http body (model)
|
|
5763
|
+
post_body = nil
|
|
5764
|
+
auth_names = ['apikey']
|
|
5765
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
5766
|
+
:header_params => header_params,
|
|
5767
|
+
:query_params => query_params,
|
|
5768
|
+
:form_params => form_params,
|
|
5769
|
+
:body => post_body,
|
|
5770
|
+
:auth_names => auth_names,
|
|
5771
|
+
:return_type => 'Array<SwiftUpstream>')
|
|
5772
|
+
if @api_client.config.debugging
|
|
5773
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_swift_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5774
|
+
end
|
|
5775
|
+
return data, status_code, headers
|
|
5776
|
+
end
|
|
5777
|
+
# Partially update a Swift upstream config for this repository.
|
|
5778
|
+
# Partially update a Swift upstream config for this repository.
|
|
5779
|
+
# @param owner
|
|
5780
|
+
# @param identifier
|
|
5781
|
+
# @param slug_perm
|
|
5782
|
+
# @param [Hash] opts the optional parameters
|
|
5783
|
+
# @option opts [SwiftUpstreamRequestPatch] :data
|
|
5784
|
+
# @return [SwiftUpstream]
|
|
5785
|
+
def repos_upstream_swift_partial_update(owner, identifier, slug_perm, opts = {})
|
|
5786
|
+
data, _status_code, _headers = repos_upstream_swift_partial_update_with_http_info(owner, identifier, slug_perm, opts)
|
|
5787
|
+
data
|
|
5788
|
+
end
|
|
5789
|
+
|
|
5790
|
+
# Partially update a Swift upstream config for this repository.
|
|
5791
|
+
# Partially update a Swift upstream config for this repository.
|
|
5792
|
+
# @param owner
|
|
5793
|
+
# @param identifier
|
|
5794
|
+
# @param slug_perm
|
|
5795
|
+
# @param [Hash] opts the optional parameters
|
|
5796
|
+
# @option opts [SwiftUpstreamRequestPatch] :data
|
|
5797
|
+
# @return [Array<(SwiftUpstream, Fixnum, Hash)>] SwiftUpstream data, response status code and response headers
|
|
5798
|
+
def repos_upstream_swift_partial_update_with_http_info(owner, identifier, slug_perm, opts = {})
|
|
5799
|
+
if @api_client.config.debugging
|
|
5800
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_swift_partial_update ...'
|
|
5801
|
+
end
|
|
5802
|
+
# verify the required parameter 'owner' is set
|
|
5803
|
+
if @api_client.config.client_side_validation && owner.nil?
|
|
5804
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_swift_partial_update"
|
|
5805
|
+
end
|
|
5806
|
+
# verify the required parameter 'identifier' is set
|
|
5807
|
+
if @api_client.config.client_side_validation && identifier.nil?
|
|
5808
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_swift_partial_update"
|
|
5809
|
+
end
|
|
5810
|
+
# verify the required parameter 'slug_perm' is set
|
|
5811
|
+
if @api_client.config.client_side_validation && slug_perm.nil?
|
|
5812
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_swift_partial_update"
|
|
5813
|
+
end
|
|
5814
|
+
# resource path
|
|
5815
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/swift/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
|
5816
|
+
|
|
5817
|
+
# query parameters
|
|
5818
|
+
query_params = {}
|
|
5819
|
+
|
|
5820
|
+
# header parameters
|
|
5821
|
+
header_params = {}
|
|
5822
|
+
# HTTP header 'Accept' (if needed)
|
|
5823
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
5824
|
+
# HTTP header 'Content-Type'
|
|
5825
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
5826
|
+
|
|
5827
|
+
# form parameters
|
|
5828
|
+
form_params = {}
|
|
5829
|
+
|
|
5830
|
+
# http body (model)
|
|
5831
|
+
post_body = @api_client.object_to_http_body(opts[:'data'])
|
|
5832
|
+
auth_names = ['apikey']
|
|
5833
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
5834
|
+
:header_params => header_params,
|
|
5835
|
+
:query_params => query_params,
|
|
5836
|
+
:form_params => form_params,
|
|
5837
|
+
:body => post_body,
|
|
5838
|
+
:auth_names => auth_names,
|
|
5839
|
+
:return_type => 'SwiftUpstream')
|
|
5840
|
+
if @api_client.config.debugging
|
|
5841
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_swift_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5842
|
+
end
|
|
5843
|
+
return data, status_code, headers
|
|
5844
|
+
end
|
|
5845
|
+
# Retrieve a Swift upstream config for this repository.
|
|
5846
|
+
# Retrieve a Swift upstream config for this repository.
|
|
5847
|
+
# @param owner
|
|
5848
|
+
# @param identifier
|
|
5849
|
+
# @param slug_perm
|
|
5850
|
+
# @param [Hash] opts the optional parameters
|
|
5851
|
+
# @return [SwiftUpstream]
|
|
5852
|
+
def repos_upstream_swift_read(owner, identifier, slug_perm, opts = {})
|
|
5853
|
+
data, _status_code, _headers = repos_upstream_swift_read_with_http_info(owner, identifier, slug_perm, opts)
|
|
5854
|
+
data
|
|
5855
|
+
end
|
|
5856
|
+
|
|
5857
|
+
# Retrieve a Swift upstream config for this repository.
|
|
5858
|
+
# Retrieve a Swift upstream config for this repository.
|
|
5859
|
+
# @param owner
|
|
5860
|
+
# @param identifier
|
|
5861
|
+
# @param slug_perm
|
|
5862
|
+
# @param [Hash] opts the optional parameters
|
|
5863
|
+
# @return [Array<(SwiftUpstream, Fixnum, Hash)>] SwiftUpstream data, response status code and response headers
|
|
5864
|
+
def repos_upstream_swift_read_with_http_info(owner, identifier, slug_perm, opts = {})
|
|
5865
|
+
if @api_client.config.debugging
|
|
5866
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_swift_read ...'
|
|
5867
|
+
end
|
|
5868
|
+
# verify the required parameter 'owner' is set
|
|
5869
|
+
if @api_client.config.client_side_validation && owner.nil?
|
|
5870
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_swift_read"
|
|
5871
|
+
end
|
|
5872
|
+
# verify the required parameter 'identifier' is set
|
|
5873
|
+
if @api_client.config.client_side_validation && identifier.nil?
|
|
5874
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_swift_read"
|
|
5875
|
+
end
|
|
5876
|
+
# verify the required parameter 'slug_perm' is set
|
|
5877
|
+
if @api_client.config.client_side_validation && slug_perm.nil?
|
|
5878
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_swift_read"
|
|
5879
|
+
end
|
|
5880
|
+
# resource path
|
|
5881
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/swift/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
|
5882
|
+
|
|
5883
|
+
# query parameters
|
|
5884
|
+
query_params = {}
|
|
5885
|
+
|
|
5886
|
+
# header parameters
|
|
5887
|
+
header_params = {}
|
|
5888
|
+
# HTTP header 'Accept' (if needed)
|
|
5889
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
5890
|
+
# HTTP header 'Content-Type'
|
|
5891
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
5892
|
+
|
|
5893
|
+
# form parameters
|
|
5894
|
+
form_params = {}
|
|
5895
|
+
|
|
5896
|
+
# http body (model)
|
|
5897
|
+
post_body = nil
|
|
5898
|
+
auth_names = ['apikey']
|
|
5899
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
5900
|
+
:header_params => header_params,
|
|
5901
|
+
:query_params => query_params,
|
|
5902
|
+
:form_params => form_params,
|
|
5903
|
+
:body => post_body,
|
|
5904
|
+
:auth_names => auth_names,
|
|
5905
|
+
:return_type => 'SwiftUpstream')
|
|
5906
|
+
if @api_client.config.debugging
|
|
5907
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_swift_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5908
|
+
end
|
|
5909
|
+
return data, status_code, headers
|
|
5910
|
+
end
|
|
5911
|
+
# Update a Swift upstream config for this repository.
|
|
5912
|
+
# Update a Swift upstream config for this repository.
|
|
5913
|
+
# @param owner
|
|
5914
|
+
# @param identifier
|
|
5915
|
+
# @param slug_perm
|
|
5916
|
+
# @param [Hash] opts the optional parameters
|
|
5917
|
+
# @option opts [SwiftUpstreamRequest] :data
|
|
5918
|
+
# @return [SwiftUpstream]
|
|
5919
|
+
def repos_upstream_swift_update(owner, identifier, slug_perm, opts = {})
|
|
5920
|
+
data, _status_code, _headers = repos_upstream_swift_update_with_http_info(owner, identifier, slug_perm, opts)
|
|
5921
|
+
data
|
|
5922
|
+
end
|
|
5923
|
+
|
|
5924
|
+
# Update a Swift upstream config for this repository.
|
|
5925
|
+
# Update a Swift upstream config for this repository.
|
|
5926
|
+
# @param owner
|
|
5927
|
+
# @param identifier
|
|
5928
|
+
# @param slug_perm
|
|
5929
|
+
# @param [Hash] opts the optional parameters
|
|
5930
|
+
# @option opts [SwiftUpstreamRequest] :data
|
|
5931
|
+
# @return [Array<(SwiftUpstream, Fixnum, Hash)>] SwiftUpstream data, response status code and response headers
|
|
5932
|
+
def repos_upstream_swift_update_with_http_info(owner, identifier, slug_perm, opts = {})
|
|
5933
|
+
if @api_client.config.debugging
|
|
5934
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_swift_update ...'
|
|
5935
|
+
end
|
|
5936
|
+
# verify the required parameter 'owner' is set
|
|
5937
|
+
if @api_client.config.client_side_validation && owner.nil?
|
|
5938
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_swift_update"
|
|
5939
|
+
end
|
|
5940
|
+
# verify the required parameter 'identifier' is set
|
|
5941
|
+
if @api_client.config.client_side_validation && identifier.nil?
|
|
5942
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_swift_update"
|
|
5943
|
+
end
|
|
5944
|
+
# verify the required parameter 'slug_perm' is set
|
|
5945
|
+
if @api_client.config.client_side_validation && slug_perm.nil?
|
|
5946
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_swift_update"
|
|
5947
|
+
end
|
|
5948
|
+
# resource path
|
|
5949
|
+
local_var_path = '/repos/{owner}/{identifier}/upstream/swift/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
|
5950
|
+
|
|
5951
|
+
# query parameters
|
|
5952
|
+
query_params = {}
|
|
5953
|
+
|
|
5954
|
+
# header parameters
|
|
5955
|
+
header_params = {}
|
|
5956
|
+
# HTTP header 'Accept' (if needed)
|
|
5957
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
5958
|
+
# HTTP header 'Content-Type'
|
|
5959
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
5960
|
+
|
|
5961
|
+
# form parameters
|
|
5962
|
+
form_params = {}
|
|
5963
|
+
|
|
5964
|
+
# http body (model)
|
|
5965
|
+
post_body = @api_client.object_to_http_body(opts[:'data'])
|
|
5966
|
+
auth_names = ['apikey']
|
|
5967
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
5968
|
+
:header_params => header_params,
|
|
5969
|
+
:query_params => query_params,
|
|
5970
|
+
:form_params => form_params,
|
|
5971
|
+
:body => post_body,
|
|
5972
|
+
:auth_names => auth_names,
|
|
5973
|
+
:return_type => 'SwiftUpstream')
|
|
5974
|
+
if @api_client.config.debugging
|
|
5975
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_upstream_swift_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5976
|
+
end
|
|
5977
|
+
return data, status_code, headers
|
|
5978
|
+
end
|
|
5584
5979
|
# Get a list of all repositories associated with current user.
|
|
5585
5980
|
# Get a list of all repositories associated with current user.
|
|
5586
5981
|
# @param [Hash] opts the optional parameters
|
|
@@ -58,10 +58,24 @@ class AlpinePackageUpload
|
|
|
58
58
|
|
|
59
59
|
attr_accessor :indexed
|
|
60
60
|
|
|
61
|
+
attr_accessor :is_cancellable
|
|
62
|
+
|
|
63
|
+
attr_accessor :is_copyable
|
|
64
|
+
|
|
65
|
+
attr_accessor :is_deleteable
|
|
66
|
+
|
|
61
67
|
attr_accessor :is_downloadable
|
|
62
68
|
|
|
69
|
+
attr_accessor :is_moveable
|
|
70
|
+
|
|
71
|
+
attr_accessor :is_quarantinable
|
|
72
|
+
|
|
63
73
|
attr_accessor :is_quarantined
|
|
64
74
|
|
|
75
|
+
attr_accessor :is_resyncable
|
|
76
|
+
|
|
77
|
+
attr_accessor :is_security_scannable
|
|
78
|
+
|
|
65
79
|
attr_accessor :is_sync_awaiting
|
|
66
80
|
|
|
67
81
|
attr_accessor :is_sync_completed
|
|
@@ -218,8 +232,15 @@ class AlpinePackageUpload
|
|
|
218
232
|
:'format_url' => :'format_url',
|
|
219
233
|
:'identifier_perm' => :'identifier_perm',
|
|
220
234
|
:'indexed' => :'indexed',
|
|
235
|
+
:'is_cancellable' => :'is_cancellable',
|
|
236
|
+
:'is_copyable' => :'is_copyable',
|
|
237
|
+
:'is_deleteable' => :'is_deleteable',
|
|
221
238
|
:'is_downloadable' => :'is_downloadable',
|
|
239
|
+
:'is_moveable' => :'is_moveable',
|
|
240
|
+
:'is_quarantinable' => :'is_quarantinable',
|
|
222
241
|
:'is_quarantined' => :'is_quarantined',
|
|
242
|
+
:'is_resyncable' => :'is_resyncable',
|
|
243
|
+
:'is_security_scannable' => :'is_security_scannable',
|
|
223
244
|
:'is_sync_awaiting' => :'is_sync_awaiting',
|
|
224
245
|
:'is_sync_completed' => :'is_sync_completed',
|
|
225
246
|
:'is_sync_failed' => :'is_sync_failed',
|
|
@@ -292,8 +313,15 @@ class AlpinePackageUpload
|
|
|
292
313
|
:'format_url' => :'String',
|
|
293
314
|
:'identifier_perm' => :'String',
|
|
294
315
|
:'indexed' => :'BOOLEAN',
|
|
316
|
+
:'is_cancellable' => :'BOOLEAN',
|
|
317
|
+
:'is_copyable' => :'BOOLEAN',
|
|
318
|
+
:'is_deleteable' => :'BOOLEAN',
|
|
295
319
|
:'is_downloadable' => :'BOOLEAN',
|
|
320
|
+
:'is_moveable' => :'BOOLEAN',
|
|
321
|
+
:'is_quarantinable' => :'BOOLEAN',
|
|
296
322
|
:'is_quarantined' => :'BOOLEAN',
|
|
323
|
+
:'is_resyncable' => :'BOOLEAN',
|
|
324
|
+
:'is_security_scannable' => :'BOOLEAN',
|
|
297
325
|
:'is_sync_awaiting' => :'BOOLEAN',
|
|
298
326
|
:'is_sync_completed' => :'BOOLEAN',
|
|
299
327
|
:'is_sync_failed' => :'BOOLEAN',
|
|
@@ -435,14 +463,42 @@ class AlpinePackageUpload
|
|
|
435
463
|
self.indexed = attributes[:'indexed']
|
|
436
464
|
end
|
|
437
465
|
|
|
466
|
+
if attributes.has_key?(:'is_cancellable')
|
|
467
|
+
self.is_cancellable = attributes[:'is_cancellable']
|
|
468
|
+
end
|
|
469
|
+
|
|
470
|
+
if attributes.has_key?(:'is_copyable')
|
|
471
|
+
self.is_copyable = attributes[:'is_copyable']
|
|
472
|
+
end
|
|
473
|
+
|
|
474
|
+
if attributes.has_key?(:'is_deleteable')
|
|
475
|
+
self.is_deleteable = attributes[:'is_deleteable']
|
|
476
|
+
end
|
|
477
|
+
|
|
438
478
|
if attributes.has_key?(:'is_downloadable')
|
|
439
479
|
self.is_downloadable = attributes[:'is_downloadable']
|
|
440
480
|
end
|
|
441
481
|
|
|
482
|
+
if attributes.has_key?(:'is_moveable')
|
|
483
|
+
self.is_moveable = attributes[:'is_moveable']
|
|
484
|
+
end
|
|
485
|
+
|
|
486
|
+
if attributes.has_key?(:'is_quarantinable')
|
|
487
|
+
self.is_quarantinable = attributes[:'is_quarantinable']
|
|
488
|
+
end
|
|
489
|
+
|
|
442
490
|
if attributes.has_key?(:'is_quarantined')
|
|
443
491
|
self.is_quarantined = attributes[:'is_quarantined']
|
|
444
492
|
end
|
|
445
493
|
|
|
494
|
+
if attributes.has_key?(:'is_resyncable')
|
|
495
|
+
self.is_resyncable = attributes[:'is_resyncable']
|
|
496
|
+
end
|
|
497
|
+
|
|
498
|
+
if attributes.has_key?(:'is_security_scannable')
|
|
499
|
+
self.is_security_scannable = attributes[:'is_security_scannable']
|
|
500
|
+
end
|
|
501
|
+
|
|
446
502
|
if attributes.has_key?(:'is_sync_awaiting')
|
|
447
503
|
self.is_sync_awaiting = attributes[:'is_sync_awaiting']
|
|
448
504
|
end
|
|
@@ -680,8 +736,15 @@ class AlpinePackageUpload
|
|
|
680
736
|
format_url == o.format_url &&
|
|
681
737
|
identifier_perm == o.identifier_perm &&
|
|
682
738
|
indexed == o.indexed &&
|
|
739
|
+
is_cancellable == o.is_cancellable &&
|
|
740
|
+
is_copyable == o.is_copyable &&
|
|
741
|
+
is_deleteable == o.is_deleteable &&
|
|
683
742
|
is_downloadable == o.is_downloadable &&
|
|
743
|
+
is_moveable == o.is_moveable &&
|
|
744
|
+
is_quarantinable == o.is_quarantinable &&
|
|
684
745
|
is_quarantined == o.is_quarantined &&
|
|
746
|
+
is_resyncable == o.is_resyncable &&
|
|
747
|
+
is_security_scannable == o.is_security_scannable &&
|
|
685
748
|
is_sync_awaiting == o.is_sync_awaiting &&
|
|
686
749
|
is_sync_completed == o.is_sync_completed &&
|
|
687
750
|
is_sync_failed == o.is_sync_failed &&
|
|
@@ -739,7 +802,7 @@ class AlpinePackageUpload
|
|
|
739
802
|
# Calculates hash code according to all attributes.
|
|
740
803
|
# @return [Fixnum] Hash code
|
|
741
804
|
def hash
|
|
742
|
-
[architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, identifier_perm, indexed, is_downloadable, is_quarantined, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
|
|
805
|
+
[architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, identifier_perm, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
|
|
743
806
|
end
|
|
744
807
|
|
|
745
808
|
# Builds the object from hash
|
|
@@ -58,10 +58,24 @@ class CargoPackageUpload
|
|
|
58
58
|
|
|
59
59
|
attr_accessor :indexed
|
|
60
60
|
|
|
61
|
+
attr_accessor :is_cancellable
|
|
62
|
+
|
|
63
|
+
attr_accessor :is_copyable
|
|
64
|
+
|
|
65
|
+
attr_accessor :is_deleteable
|
|
66
|
+
|
|
61
67
|
attr_accessor :is_downloadable
|
|
62
68
|
|
|
69
|
+
attr_accessor :is_moveable
|
|
70
|
+
|
|
71
|
+
attr_accessor :is_quarantinable
|
|
72
|
+
|
|
63
73
|
attr_accessor :is_quarantined
|
|
64
74
|
|
|
75
|
+
attr_accessor :is_resyncable
|
|
76
|
+
|
|
77
|
+
attr_accessor :is_security_scannable
|
|
78
|
+
|
|
65
79
|
attr_accessor :is_sync_awaiting
|
|
66
80
|
|
|
67
81
|
attr_accessor :is_sync_completed
|
|
@@ -218,8 +232,15 @@ class CargoPackageUpload
|
|
|
218
232
|
:'format_url' => :'format_url',
|
|
219
233
|
:'identifier_perm' => :'identifier_perm',
|
|
220
234
|
:'indexed' => :'indexed',
|
|
235
|
+
:'is_cancellable' => :'is_cancellable',
|
|
236
|
+
:'is_copyable' => :'is_copyable',
|
|
237
|
+
:'is_deleteable' => :'is_deleteable',
|
|
221
238
|
:'is_downloadable' => :'is_downloadable',
|
|
239
|
+
:'is_moveable' => :'is_moveable',
|
|
240
|
+
:'is_quarantinable' => :'is_quarantinable',
|
|
222
241
|
:'is_quarantined' => :'is_quarantined',
|
|
242
|
+
:'is_resyncable' => :'is_resyncable',
|
|
243
|
+
:'is_security_scannable' => :'is_security_scannable',
|
|
223
244
|
:'is_sync_awaiting' => :'is_sync_awaiting',
|
|
224
245
|
:'is_sync_completed' => :'is_sync_completed',
|
|
225
246
|
:'is_sync_failed' => :'is_sync_failed',
|
|
@@ -292,8 +313,15 @@ class CargoPackageUpload
|
|
|
292
313
|
:'format_url' => :'String',
|
|
293
314
|
:'identifier_perm' => :'String',
|
|
294
315
|
:'indexed' => :'BOOLEAN',
|
|
316
|
+
:'is_cancellable' => :'BOOLEAN',
|
|
317
|
+
:'is_copyable' => :'BOOLEAN',
|
|
318
|
+
:'is_deleteable' => :'BOOLEAN',
|
|
295
319
|
:'is_downloadable' => :'BOOLEAN',
|
|
320
|
+
:'is_moveable' => :'BOOLEAN',
|
|
321
|
+
:'is_quarantinable' => :'BOOLEAN',
|
|
296
322
|
:'is_quarantined' => :'BOOLEAN',
|
|
323
|
+
:'is_resyncable' => :'BOOLEAN',
|
|
324
|
+
:'is_security_scannable' => :'BOOLEAN',
|
|
297
325
|
:'is_sync_awaiting' => :'BOOLEAN',
|
|
298
326
|
:'is_sync_completed' => :'BOOLEAN',
|
|
299
327
|
:'is_sync_failed' => :'BOOLEAN',
|
|
@@ -435,14 +463,42 @@ class CargoPackageUpload
|
|
|
435
463
|
self.indexed = attributes[:'indexed']
|
|
436
464
|
end
|
|
437
465
|
|
|
466
|
+
if attributes.has_key?(:'is_cancellable')
|
|
467
|
+
self.is_cancellable = attributes[:'is_cancellable']
|
|
468
|
+
end
|
|
469
|
+
|
|
470
|
+
if attributes.has_key?(:'is_copyable')
|
|
471
|
+
self.is_copyable = attributes[:'is_copyable']
|
|
472
|
+
end
|
|
473
|
+
|
|
474
|
+
if attributes.has_key?(:'is_deleteable')
|
|
475
|
+
self.is_deleteable = attributes[:'is_deleteable']
|
|
476
|
+
end
|
|
477
|
+
|
|
438
478
|
if attributes.has_key?(:'is_downloadable')
|
|
439
479
|
self.is_downloadable = attributes[:'is_downloadable']
|
|
440
480
|
end
|
|
441
481
|
|
|
482
|
+
if attributes.has_key?(:'is_moveable')
|
|
483
|
+
self.is_moveable = attributes[:'is_moveable']
|
|
484
|
+
end
|
|
485
|
+
|
|
486
|
+
if attributes.has_key?(:'is_quarantinable')
|
|
487
|
+
self.is_quarantinable = attributes[:'is_quarantinable']
|
|
488
|
+
end
|
|
489
|
+
|
|
442
490
|
if attributes.has_key?(:'is_quarantined')
|
|
443
491
|
self.is_quarantined = attributes[:'is_quarantined']
|
|
444
492
|
end
|
|
445
493
|
|
|
494
|
+
if attributes.has_key?(:'is_resyncable')
|
|
495
|
+
self.is_resyncable = attributes[:'is_resyncable']
|
|
496
|
+
end
|
|
497
|
+
|
|
498
|
+
if attributes.has_key?(:'is_security_scannable')
|
|
499
|
+
self.is_security_scannable = attributes[:'is_security_scannable']
|
|
500
|
+
end
|
|
501
|
+
|
|
446
502
|
if attributes.has_key?(:'is_sync_awaiting')
|
|
447
503
|
self.is_sync_awaiting = attributes[:'is_sync_awaiting']
|
|
448
504
|
end
|
|
@@ -680,8 +736,15 @@ class CargoPackageUpload
|
|
|
680
736
|
format_url == o.format_url &&
|
|
681
737
|
identifier_perm == o.identifier_perm &&
|
|
682
738
|
indexed == o.indexed &&
|
|
739
|
+
is_cancellable == o.is_cancellable &&
|
|
740
|
+
is_copyable == o.is_copyable &&
|
|
741
|
+
is_deleteable == o.is_deleteable &&
|
|
683
742
|
is_downloadable == o.is_downloadable &&
|
|
743
|
+
is_moveable == o.is_moveable &&
|
|
744
|
+
is_quarantinable == o.is_quarantinable &&
|
|
684
745
|
is_quarantined == o.is_quarantined &&
|
|
746
|
+
is_resyncable == o.is_resyncable &&
|
|
747
|
+
is_security_scannable == o.is_security_scannable &&
|
|
685
748
|
is_sync_awaiting == o.is_sync_awaiting &&
|
|
686
749
|
is_sync_completed == o.is_sync_completed &&
|
|
687
750
|
is_sync_failed == o.is_sync_failed &&
|
|
@@ -739,7 +802,7 @@ class CargoPackageUpload
|
|
|
739
802
|
# Calculates hash code according to all attributes.
|
|
740
803
|
# @return [Fixnum] Hash code
|
|
741
804
|
def hash
|
|
742
|
-
[architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, identifier_perm, indexed, is_downloadable, is_quarantined, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
|
|
805
|
+
[architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, identifier_perm, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
|
|
743
806
|
end
|
|
744
807
|
|
|
745
808
|
# Builds the object from hash
|