cloudsmith-api 2.0.26 → 2.0.29
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 +1 -1
- data/README.md +24 -5
- data/build.json +1 -1
- data/docs/AlpinePackageUpload.md +2 -0
- data/docs/CargoPackageUpload.md +2 -0
- data/docs/CocoapodsPackageUpload.md +2 -0
- data/docs/ComposerPackageUpload.md +2 -0
- data/docs/ConanPackageUpload.md +2 -0
- data/docs/CondaPackageUpload.md +2 -0
- data/docs/ConnectedRepository.md +14 -0
- data/docs/ConnectedRepositoryRequest.md +10 -0
- data/docs/ConnectedRepositoryRequestPatch.md +10 -0
- data/docs/CranPackageUpload.md +2 -0
- data/docs/DartPackageUpload.md +2 -0
- data/docs/DebPackageUpload.md +2 -0
- data/docs/DockerPackageUpload.md +2 -0
- data/docs/EntitlementsApi.md +2 -0
- data/docs/FormatSupportUpstream.md +1 -0
- data/docs/GenericPackageUpload.md +2 -0
- data/docs/GoPackageUpload.md +2 -0
- data/docs/HelmPackageUpload.md +2 -0
- data/docs/HexPackageUpload.md +2 -0
- data/docs/HuggingfacePackageUpload.md +2 -0
- data/docs/InlineResponse2001.md +1 -1
- data/docs/InlineResponse2002.md +8 -0
- data/docs/LuarocksPackageUpload.md +2 -0
- data/docs/MavenPackageUpload.md +2 -0
- data/docs/McpPackageUpload.md +2 -0
- data/docs/MemberTeams.md +10 -0
- data/docs/NpmPackageUpload.md +2 -0
- data/docs/NugetPackageUpload.md +2 -0
- data/docs/OrganizationCustomDomainNestedRepo.md +9 -0
- data/docs/OrganizationCustomDomains.md +25 -0
- data/docs/OrganizationMembership.md +1 -0
- data/docs/OrganizationSAMLAuth.md +2 -0
- data/docs/OrganizationSAMLAuthRequestPatch.md +2 -0
- data/docs/OrgsApi.md +68 -1
- data/docs/P2PackageUpload.md +2 -0
- data/docs/Package.md +2 -0
- data/docs/PackageCopy.md +2 -0
- data/docs/PackageMove.md +2 -0
- data/docs/PackageQuarantine.md +2 -0
- data/docs/PackageResync.md +2 -0
- data/docs/PackageStatus.md +1 -0
- data/docs/PackageTag.md +2 -0
- data/docs/PackagesApi.md +22 -6
- data/docs/PythonPackageUpload.md +2 -0
- data/docs/RawPackageUpload.md +2 -0
- data/docs/RecycleBinApi.md +24 -24
- data/docs/ReposApi.md +594 -3
- data/docs/Repository.md +2 -0
- data/docs/RepositoryCreate.md +2 -0
- data/docs/RepositoryCreateRequest.md +1 -0
- data/docs/RepositoryEd25519Key.md +14 -0
- data/docs/RepositoryEd25519KeyCreate.md +9 -0
- data/docs/RepositoryRequestPatch.md +1 -0
- data/docs/RpmPackageUpload.md +2 -0
- data/docs/RubyPackageUpload.md +2 -0
- data/docs/ServiceTeams.md +1 -0
- data/docs/SwiftPackageUpload.md +2 -0
- data/docs/TerraformPackageUpload.md +2 -0
- data/docs/UserApi.md +2 -2
- data/docs/VagrantPackageUpload.md +2 -0
- data/docs/VsxPackageUpload.md +2 -0
- data/lib/cloudsmith-api/api/entitlements_api.rb +3 -0
- data/lib/cloudsmith-api/api/orgs_api.rb +63 -0
- data/lib/cloudsmith-api/api/packages_api.rb +15 -0
- data/lib/cloudsmith-api/api/recycle_bin_api.rb +41 -41
- data/lib/cloudsmith-api/api/repos_api.rb +581 -4
- data/lib/cloudsmith-api/api/user_api.rb +3 -3
- data/lib/cloudsmith-api/models/alpine_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/cargo_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/cargo_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/cargo_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/cargo_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/cocoapods_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/composer_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/composer_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/composer_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/composer_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/conan_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/conda_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/conda_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/conda_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/conda_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/connected_repository.rb +285 -0
- data/lib/cloudsmith-api/models/connected_repository_request.rb +211 -0
- data/lib/cloudsmith-api/models/connected_repository_request_patch.rb +206 -0
- data/lib/cloudsmith-api/models/cran_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/cran_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/cran_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/cran_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/dart_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/dart_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/dart_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/dart_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/deb_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/deb_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/deb_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/deb_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/docker_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/format_support_upstream.rb +16 -1
- data/lib/cloudsmith-api/models/generic_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/generic_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/generic_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/generic_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/go_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/helm_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/helm_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/helm_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/helm_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/hex_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/hex_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/hex_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/hex_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/huggingface_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/inline_response_200_1.rb +1 -1
- data/lib/cloudsmith-api/models/inline_response_200_2.rb +191 -0
- data/lib/cloudsmith-api/models/luarocks_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/maven_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/mcp_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/member_teams.rb +238 -0
- data/lib/cloudsmith-api/models/npm_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/npm_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/npm_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/npm_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/nuget_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/nuget_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/nuget_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/nuget_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/organization_custom_domain_nested_repo.rb +195 -0
- data/lib/cloudsmith-api/models/organization_custom_domains.rb +355 -0
- data/lib/cloudsmith-api/models/organization_membership.rb +12 -1
- data/lib/cloudsmith-api/models/organization_saml_auth.rb +24 -4
- data/lib/cloudsmith-api/models/organization_saml_auth_request_patch.rb +24 -4
- data/lib/cloudsmith-api/models/p2_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/package.rb +20 -1
- data/lib/cloudsmith-api/models/package_copy.rb +20 -1
- data/lib/cloudsmith-api/models/package_move.rb +20 -1
- 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_status.rb +10 -1
- data/lib/cloudsmith-api/models/package_tag.rb +20 -1
- data/lib/cloudsmith-api/models/python_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/python_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/python_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/python_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/raw_package_upload.rb +20 -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_ed25519_key.rb +243 -0
- data/lib/cloudsmith-api/models/repository_ed25519_key_create.rb +200 -0
- data/lib/cloudsmith-api/models/repository_request_patch.rb +11 -1
- data/lib/cloudsmith-api/models/rpm_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/ruby_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/service_teams.rb +11 -1
- data/lib/cloudsmith-api/models/swift_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/terraform_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/vagrant_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/vsx_package_upload.rb +20 -1
- data/lib/cloudsmith-api/version.rb +1 -1
- data/lib/cloudsmith-api.rb +9 -0
- data/spec/api/entitlements_api_spec.rb +1 -0
- data/spec/api/orgs_api_spec.rb +15 -0
- data/spec/api/packages_api_spec.rb +5 -0
- data/spec/api/recycle_bin_api_spec.rb +12 -12
- data/spec/api/repos_api_spec.rb +129 -2
- data/spec/api/user_api_spec.rb +1 -1
- data/spec/models/alpine_package_upload_spec.rb +12 -0
- data/spec/models/cargo_package_upload_spec.rb +12 -0
- data/spec/models/cargo_upstream_request_patch_spec.rb +1 -1
- data/spec/models/cargo_upstream_request_spec.rb +1 -1
- data/spec/models/cargo_upstream_spec.rb +1 -1
- data/spec/models/cocoapods_package_upload_spec.rb +12 -0
- data/spec/models/composer_package_upload_spec.rb +12 -0
- data/spec/models/composer_upstream_request_patch_spec.rb +1 -1
- data/spec/models/composer_upstream_request_spec.rb +1 -1
- data/spec/models/composer_upstream_spec.rb +1 -1
- data/spec/models/conan_package_upload_spec.rb +12 -0
- data/spec/models/conda_package_upload_spec.rb +12 -0
- data/spec/models/conda_upstream_request_patch_spec.rb +1 -1
- data/spec/models/conda_upstream_request_spec.rb +1 -1
- data/spec/models/conda_upstream_spec.rb +1 -1
- data/spec/models/connected_repository_request_patch_spec.rb +53 -0
- data/spec/models/connected_repository_request_spec.rb +53 -0
- data/spec/models/connected_repository_spec.rb +81 -0
- data/spec/models/cran_package_upload_spec.rb +12 -0
- data/spec/models/cran_upstream_request_patch_spec.rb +1 -1
- data/spec/models/cran_upstream_request_spec.rb +1 -1
- data/spec/models/cran_upstream_spec.rb +1 -1
- data/spec/models/dart_package_upload_spec.rb +12 -0
- data/spec/models/dart_upstream_request_patch_spec.rb +1 -1
- data/spec/models/dart_upstream_request_spec.rb +1 -1
- data/spec/models/dart_upstream_spec.rb +1 -1
- data/spec/models/deb_package_upload_spec.rb +12 -0
- data/spec/models/deb_upstream_request_patch_spec.rb +1 -1
- data/spec/models/deb_upstream_request_spec.rb +1 -1
- data/spec/models/deb_upstream_spec.rb +1 -1
- data/spec/models/docker_package_upload_spec.rb +12 -0
- data/spec/models/format_support_upstream_spec.rb +6 -0
- data/spec/models/generic_package_upload_spec.rb +12 -0
- data/spec/models/generic_upstream_request_patch_spec.rb +1 -1
- data/spec/models/generic_upstream_request_spec.rb +1 -1
- data/spec/models/generic_upstream_spec.rb +1 -1
- data/spec/models/go_package_upload_spec.rb +12 -0
- data/spec/models/helm_package_upload_spec.rb +12 -0
- data/spec/models/helm_upstream_request_patch_spec.rb +1 -1
- data/spec/models/helm_upstream_request_spec.rb +1 -1
- data/spec/models/helm_upstream_spec.rb +1 -1
- data/spec/models/hex_package_upload_spec.rb +12 -0
- data/spec/models/hex_upstream_request_patch_spec.rb +1 -1
- data/spec/models/hex_upstream_request_spec.rb +1 -1
- data/spec/models/hex_upstream_spec.rb +1 -1
- data/spec/models/huggingface_package_upload_spec.rb +12 -0
- data/spec/models/inline_response_200_2_spec.rb +41 -0
- data/spec/models/luarocks_package_upload_spec.rb +12 -0
- data/spec/models/maven_package_upload_spec.rb +12 -0
- data/spec/models/mcp_package_upload_spec.rb +12 -0
- data/spec/models/member_teams_spec.rb +57 -0
- data/spec/models/npm_package_upload_spec.rb +12 -0
- data/spec/models/npm_upstream_request_patch_spec.rb +1 -1
- data/spec/models/npm_upstream_request_spec.rb +1 -1
- data/spec/models/npm_upstream_spec.rb +1 -1
- data/spec/models/nuget_package_upload_spec.rb +12 -0
- data/spec/models/nuget_upstream_request_patch_spec.rb +1 -1
- data/spec/models/nuget_upstream_request_spec.rb +1 -1
- data/spec/models/nuget_upstream_spec.rb +1 -1
- data/spec/models/organization_custom_domain_nested_repo_spec.rb +47 -0
- data/spec/models/organization_custom_domains_spec.rb +143 -0
- data/spec/models/organization_membership_spec.rb +6 -0
- data/spec/models/organization_saml_auth_request_patch_spec.rb +12 -0
- data/spec/models/organization_saml_auth_spec.rb +12 -0
- data/spec/models/p2_package_upload_spec.rb +12 -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_status_spec.rb +6 -0
- data/spec/models/package_tag_spec.rb +12 -0
- data/spec/models/python_package_upload_spec.rb +12 -0
- data/spec/models/python_upstream_request_patch_spec.rb +1 -1
- data/spec/models/python_upstream_request_spec.rb +1 -1
- data/spec/models/python_upstream_spec.rb +1 -1
- data/spec/models/raw_package_upload_spec.rb +12 -0
- data/spec/models/repository_create_request_spec.rb +6 -0
- data/spec/models/repository_create_spec.rb +12 -0
- data/spec/models/repository_ed25519_key_create_spec.rb +47 -0
- data/spec/models/repository_ed25519_key_spec.rb +77 -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 +12 -0
- data/spec/models/ruby_package_upload_spec.rb +12 -0
- data/spec/models/service_teams_spec.rb +6 -0
- data/spec/models/swift_package_upload_spec.rb +12 -0
- data/spec/models/terraform_package_upload_spec.rb +12 -0
- data/spec/models/vagrant_package_upload_spec.rb +12 -0
- data/spec/models/vsx_package_upload_spec.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.3.2/gem_make.out +1 -1
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-4.1.2/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-4.1.2/mkmf.log +4 -4
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.17.4/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.17.4/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/bigdecimal-4.1.2/ext/bigdecimal/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.17.4/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
- metadata +41 -5
|
@@ -76,6 +76,8 @@ class RubyPackageUpload
|
|
|
76
76
|
|
|
77
77
|
attr_accessor :is_downloadable
|
|
78
78
|
|
|
79
|
+
attr_accessor :is_hidden
|
|
80
|
+
|
|
79
81
|
attr_accessor :is_moveable
|
|
80
82
|
|
|
81
83
|
attr_accessor :is_quarantinable
|
|
@@ -112,6 +114,9 @@ class RubyPackageUpload
|
|
|
112
114
|
|
|
113
115
|
attr_accessor :origin_repository_url
|
|
114
116
|
|
|
117
|
+
# Whether the package's SPDX license is OSI-approved.
|
|
118
|
+
attr_accessor :osi_approved
|
|
119
|
+
|
|
115
120
|
# The type of package contents.
|
|
116
121
|
attr_accessor :package_type
|
|
117
122
|
|
|
@@ -263,6 +268,7 @@ class RubyPackageUpload
|
|
|
263
268
|
:'is_copyable' => :'is_copyable',
|
|
264
269
|
:'is_deleteable' => :'is_deleteable',
|
|
265
270
|
:'is_downloadable' => :'is_downloadable',
|
|
271
|
+
:'is_hidden' => :'is_hidden',
|
|
266
272
|
:'is_moveable' => :'is_moveable',
|
|
267
273
|
:'is_quarantinable' => :'is_quarantinable',
|
|
268
274
|
:'is_quarantined' => :'is_quarantined',
|
|
@@ -280,6 +286,7 @@ class RubyPackageUpload
|
|
|
280
286
|
:'num_files' => :'num_files',
|
|
281
287
|
:'origin_repository' => :'origin_repository',
|
|
282
288
|
:'origin_repository_url' => :'origin_repository_url',
|
|
289
|
+
:'osi_approved' => :'osi_approved',
|
|
283
290
|
:'package_type' => :'package_type',
|
|
284
291
|
:'policy_violated' => :'policy_violated',
|
|
285
292
|
:'raw_license' => :'raw_license',
|
|
@@ -353,6 +360,7 @@ class RubyPackageUpload
|
|
|
353
360
|
:'is_copyable' => :'BOOLEAN',
|
|
354
361
|
:'is_deleteable' => :'BOOLEAN',
|
|
355
362
|
:'is_downloadable' => :'BOOLEAN',
|
|
363
|
+
:'is_hidden' => :'BOOLEAN',
|
|
356
364
|
:'is_moveable' => :'BOOLEAN',
|
|
357
365
|
:'is_quarantinable' => :'BOOLEAN',
|
|
358
366
|
:'is_quarantined' => :'BOOLEAN',
|
|
@@ -370,6 +378,7 @@ class RubyPackageUpload
|
|
|
370
378
|
:'num_files' => :'Integer',
|
|
371
379
|
:'origin_repository' => :'String',
|
|
372
380
|
:'origin_repository_url' => :'String',
|
|
381
|
+
:'osi_approved' => :'BOOLEAN',
|
|
373
382
|
:'package_type' => :'Integer',
|
|
374
383
|
:'policy_violated' => :'BOOLEAN',
|
|
375
384
|
:'raw_license' => :'String',
|
|
@@ -538,6 +547,10 @@ class RubyPackageUpload
|
|
|
538
547
|
self.is_downloadable = attributes[:'is_downloadable']
|
|
539
548
|
end
|
|
540
549
|
|
|
550
|
+
if attributes.has_key?(:'is_hidden')
|
|
551
|
+
self.is_hidden = attributes[:'is_hidden']
|
|
552
|
+
end
|
|
553
|
+
|
|
541
554
|
if attributes.has_key?(:'is_moveable')
|
|
542
555
|
self.is_moveable = attributes[:'is_moveable']
|
|
543
556
|
end
|
|
@@ -606,6 +619,10 @@ class RubyPackageUpload
|
|
|
606
619
|
self.origin_repository_url = attributes[:'origin_repository_url']
|
|
607
620
|
end
|
|
608
621
|
|
|
622
|
+
if attributes.has_key?(:'osi_approved')
|
|
623
|
+
self.osi_approved = attributes[:'osi_approved']
|
|
624
|
+
end
|
|
625
|
+
|
|
609
626
|
if attributes.has_key?(:'package_type')
|
|
610
627
|
self.package_type = attributes[:'package_type']
|
|
611
628
|
end
|
|
@@ -823,6 +840,7 @@ class RubyPackageUpload
|
|
|
823
840
|
is_copyable == o.is_copyable &&
|
|
824
841
|
is_deleteable == o.is_deleteable &&
|
|
825
842
|
is_downloadable == o.is_downloadable &&
|
|
843
|
+
is_hidden == o.is_hidden &&
|
|
826
844
|
is_moveable == o.is_moveable &&
|
|
827
845
|
is_quarantinable == o.is_quarantinable &&
|
|
828
846
|
is_quarantined == o.is_quarantined &&
|
|
@@ -840,6 +858,7 @@ class RubyPackageUpload
|
|
|
840
858
|
num_files == o.num_files &&
|
|
841
859
|
origin_repository == o.origin_repository &&
|
|
842
860
|
origin_repository_url == o.origin_repository_url &&
|
|
861
|
+
osi_approved == o.osi_approved &&
|
|
843
862
|
package_type == o.package_type &&
|
|
844
863
|
policy_violated == o.policy_violated &&
|
|
845
864
|
raw_license == o.raw_license &&
|
|
@@ -890,7 +909,7 @@ class RubyPackageUpload
|
|
|
890
909
|
# Calculates hash code according to all attributes.
|
|
891
910
|
# @return [Fixnum] Hash code
|
|
892
911
|
def hash
|
|
893
|
-
[architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, 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, policy_violated, raw_license, 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, self_webapp_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
|
|
912
|
+
[architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_hidden, 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, osi_approved, package_type, policy_violated, raw_license, 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, self_webapp_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
|
|
894
913
|
end
|
|
895
914
|
|
|
896
915
|
# Builds the object from hash
|
|
@@ -14,6 +14,9 @@ require 'date'
|
|
|
14
14
|
|
|
15
15
|
module CloudsmithApi
|
|
16
16
|
class ServiceTeams
|
|
17
|
+
# The name of the team
|
|
18
|
+
attr_accessor :name
|
|
19
|
+
|
|
17
20
|
# The team role associated with the service
|
|
18
21
|
attr_accessor :role
|
|
19
22
|
|
|
@@ -45,6 +48,7 @@ class ServiceTeams
|
|
|
45
48
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
46
49
|
def self.attribute_map
|
|
47
50
|
{
|
|
51
|
+
:'name' => :'name',
|
|
48
52
|
:'role' => :'role',
|
|
49
53
|
:'slug' => :'slug'
|
|
50
54
|
}
|
|
@@ -53,6 +57,7 @@ class ServiceTeams
|
|
|
53
57
|
# Attribute type mapping.
|
|
54
58
|
def self.swagger_types
|
|
55
59
|
{
|
|
60
|
+
:'name' => :'String',
|
|
56
61
|
:'role' => :'String',
|
|
57
62
|
:'slug' => :'String'
|
|
58
63
|
}
|
|
@@ -66,6 +71,10 @@ class ServiceTeams
|
|
|
66
71
|
# convert string to symbol for hash key
|
|
67
72
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
68
73
|
|
|
74
|
+
if attributes.has_key?(:'name')
|
|
75
|
+
self.name = attributes[:'name']
|
|
76
|
+
end
|
|
77
|
+
|
|
69
78
|
if attributes.has_key?(:'role')
|
|
70
79
|
self.role = attributes[:'role']
|
|
71
80
|
else
|
|
@@ -112,6 +121,7 @@ class ServiceTeams
|
|
|
112
121
|
def ==(o)
|
|
113
122
|
return true if self.equal?(o)
|
|
114
123
|
self.class == o.class &&
|
|
124
|
+
name == o.name &&
|
|
115
125
|
role == o.role &&
|
|
116
126
|
slug == o.slug
|
|
117
127
|
end
|
|
@@ -125,7 +135,7 @@ class ServiceTeams
|
|
|
125
135
|
# Calculates hash code according to all attributes.
|
|
126
136
|
# @return [Fixnum] Hash code
|
|
127
137
|
def hash
|
|
128
|
-
[role, slug].hash
|
|
138
|
+
[name, role, slug].hash
|
|
129
139
|
end
|
|
130
140
|
|
|
131
141
|
# Builds the object from hash
|
|
@@ -82,6 +82,8 @@ class SwiftPackageUpload
|
|
|
82
82
|
|
|
83
83
|
attr_accessor :is_downloadable
|
|
84
84
|
|
|
85
|
+
attr_accessor :is_hidden
|
|
86
|
+
|
|
85
87
|
attr_accessor :is_moveable
|
|
86
88
|
|
|
87
89
|
attr_accessor :is_quarantinable
|
|
@@ -121,6 +123,9 @@ class SwiftPackageUpload
|
|
|
121
123
|
|
|
122
124
|
attr_accessor :origin_repository_url
|
|
123
125
|
|
|
126
|
+
# Whether the package's SPDX license is OSI-approved.
|
|
127
|
+
attr_accessor :osi_approved
|
|
128
|
+
|
|
124
129
|
# The type of package contents.
|
|
125
130
|
attr_accessor :package_type
|
|
126
131
|
|
|
@@ -281,6 +286,7 @@ class SwiftPackageUpload
|
|
|
281
286
|
:'is_copyable' => :'is_copyable',
|
|
282
287
|
:'is_deleteable' => :'is_deleteable',
|
|
283
288
|
:'is_downloadable' => :'is_downloadable',
|
|
289
|
+
:'is_hidden' => :'is_hidden',
|
|
284
290
|
:'is_moveable' => :'is_moveable',
|
|
285
291
|
:'is_quarantinable' => :'is_quarantinable',
|
|
286
292
|
:'is_quarantined' => :'is_quarantined',
|
|
@@ -299,6 +305,7 @@ class SwiftPackageUpload
|
|
|
299
305
|
:'num_files' => :'num_files',
|
|
300
306
|
:'origin_repository' => :'origin_repository',
|
|
301
307
|
:'origin_repository_url' => :'origin_repository_url',
|
|
308
|
+
:'osi_approved' => :'osi_approved',
|
|
302
309
|
:'package_type' => :'package_type',
|
|
303
310
|
:'policy_violated' => :'policy_violated',
|
|
304
311
|
:'raw_license' => :'raw_license',
|
|
@@ -376,6 +383,7 @@ class SwiftPackageUpload
|
|
|
376
383
|
:'is_copyable' => :'BOOLEAN',
|
|
377
384
|
:'is_deleteable' => :'BOOLEAN',
|
|
378
385
|
:'is_downloadable' => :'BOOLEAN',
|
|
386
|
+
:'is_hidden' => :'BOOLEAN',
|
|
379
387
|
:'is_moveable' => :'BOOLEAN',
|
|
380
388
|
:'is_quarantinable' => :'BOOLEAN',
|
|
381
389
|
:'is_quarantined' => :'BOOLEAN',
|
|
@@ -394,6 +402,7 @@ class SwiftPackageUpload
|
|
|
394
402
|
:'num_files' => :'Integer',
|
|
395
403
|
:'origin_repository' => :'String',
|
|
396
404
|
:'origin_repository_url' => :'String',
|
|
405
|
+
:'osi_approved' => :'BOOLEAN',
|
|
397
406
|
:'package_type' => :'Integer',
|
|
398
407
|
:'policy_violated' => :'BOOLEAN',
|
|
399
408
|
:'raw_license' => :'String',
|
|
@@ -572,6 +581,10 @@ class SwiftPackageUpload
|
|
|
572
581
|
self.is_downloadable = attributes[:'is_downloadable']
|
|
573
582
|
end
|
|
574
583
|
|
|
584
|
+
if attributes.has_key?(:'is_hidden')
|
|
585
|
+
self.is_hidden = attributes[:'is_hidden']
|
|
586
|
+
end
|
|
587
|
+
|
|
575
588
|
if attributes.has_key?(:'is_moveable')
|
|
576
589
|
self.is_moveable = attributes[:'is_moveable']
|
|
577
590
|
end
|
|
@@ -644,6 +657,10 @@ class SwiftPackageUpload
|
|
|
644
657
|
self.origin_repository_url = attributes[:'origin_repository_url']
|
|
645
658
|
end
|
|
646
659
|
|
|
660
|
+
if attributes.has_key?(:'osi_approved')
|
|
661
|
+
self.osi_approved = attributes[:'osi_approved']
|
|
662
|
+
end
|
|
663
|
+
|
|
647
664
|
if attributes.has_key?(:'package_type')
|
|
648
665
|
self.package_type = attributes[:'package_type']
|
|
649
666
|
end
|
|
@@ -886,6 +903,7 @@ class SwiftPackageUpload
|
|
|
886
903
|
is_copyable == o.is_copyable &&
|
|
887
904
|
is_deleteable == o.is_deleteable &&
|
|
888
905
|
is_downloadable == o.is_downloadable &&
|
|
906
|
+
is_hidden == o.is_hidden &&
|
|
889
907
|
is_moveable == o.is_moveable &&
|
|
890
908
|
is_quarantinable == o.is_quarantinable &&
|
|
891
909
|
is_quarantined == o.is_quarantined &&
|
|
@@ -904,6 +922,7 @@ class SwiftPackageUpload
|
|
|
904
922
|
num_files == o.num_files &&
|
|
905
923
|
origin_repository == o.origin_repository &&
|
|
906
924
|
origin_repository_url == o.origin_repository_url &&
|
|
925
|
+
osi_approved == o.osi_approved &&
|
|
907
926
|
package_type == o.package_type &&
|
|
908
927
|
policy_violated == o.policy_violated &&
|
|
909
928
|
raw_license == o.raw_license &&
|
|
@@ -956,7 +975,7 @@ class SwiftPackageUpload
|
|
|
956
975
|
# Calculates hash code according to all attributes.
|
|
957
976
|
# @return [Fixnum] Hash code
|
|
958
977
|
def hash
|
|
959
|
-
[architectures, author_name, author_org, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, 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, license_url, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, raw_license, readme_url, release, repository, repository_url, scope, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, self_webapp_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
|
|
978
|
+
[architectures, author_name, author_org, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_hidden, 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, license_url, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, osi_approved, package_type, policy_violated, raw_license, readme_url, release, repository, repository_url, scope, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, self_webapp_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
|
|
960
979
|
end
|
|
961
980
|
|
|
962
981
|
# Builds the object from hash
|
|
@@ -76,6 +76,8 @@ class TerraformPackageUpload
|
|
|
76
76
|
|
|
77
77
|
attr_accessor :is_downloadable
|
|
78
78
|
|
|
79
|
+
attr_accessor :is_hidden
|
|
80
|
+
|
|
79
81
|
attr_accessor :is_moveable
|
|
80
82
|
|
|
81
83
|
attr_accessor :is_quarantinable
|
|
@@ -112,6 +114,9 @@ class TerraformPackageUpload
|
|
|
112
114
|
|
|
113
115
|
attr_accessor :origin_repository_url
|
|
114
116
|
|
|
117
|
+
# Whether the package's SPDX license is OSI-approved.
|
|
118
|
+
attr_accessor :osi_approved
|
|
119
|
+
|
|
115
120
|
# The type of package contents.
|
|
116
121
|
attr_accessor :package_type
|
|
117
122
|
|
|
@@ -263,6 +268,7 @@ class TerraformPackageUpload
|
|
|
263
268
|
:'is_copyable' => :'is_copyable',
|
|
264
269
|
:'is_deleteable' => :'is_deleteable',
|
|
265
270
|
:'is_downloadable' => :'is_downloadable',
|
|
271
|
+
:'is_hidden' => :'is_hidden',
|
|
266
272
|
:'is_moveable' => :'is_moveable',
|
|
267
273
|
:'is_quarantinable' => :'is_quarantinable',
|
|
268
274
|
:'is_quarantined' => :'is_quarantined',
|
|
@@ -280,6 +286,7 @@ class TerraformPackageUpload
|
|
|
280
286
|
:'num_files' => :'num_files',
|
|
281
287
|
:'origin_repository' => :'origin_repository',
|
|
282
288
|
:'origin_repository_url' => :'origin_repository_url',
|
|
289
|
+
:'osi_approved' => :'osi_approved',
|
|
283
290
|
:'package_type' => :'package_type',
|
|
284
291
|
:'policy_violated' => :'policy_violated',
|
|
285
292
|
:'raw_license' => :'raw_license',
|
|
@@ -353,6 +360,7 @@ class TerraformPackageUpload
|
|
|
353
360
|
:'is_copyable' => :'BOOLEAN',
|
|
354
361
|
:'is_deleteable' => :'BOOLEAN',
|
|
355
362
|
:'is_downloadable' => :'BOOLEAN',
|
|
363
|
+
:'is_hidden' => :'BOOLEAN',
|
|
356
364
|
:'is_moveable' => :'BOOLEAN',
|
|
357
365
|
:'is_quarantinable' => :'BOOLEAN',
|
|
358
366
|
:'is_quarantined' => :'BOOLEAN',
|
|
@@ -370,6 +378,7 @@ class TerraformPackageUpload
|
|
|
370
378
|
:'num_files' => :'Integer',
|
|
371
379
|
:'origin_repository' => :'String',
|
|
372
380
|
:'origin_repository_url' => :'String',
|
|
381
|
+
:'osi_approved' => :'BOOLEAN',
|
|
373
382
|
:'package_type' => :'Integer',
|
|
374
383
|
:'policy_violated' => :'BOOLEAN',
|
|
375
384
|
:'raw_license' => :'String',
|
|
@@ -538,6 +547,10 @@ class TerraformPackageUpload
|
|
|
538
547
|
self.is_downloadable = attributes[:'is_downloadable']
|
|
539
548
|
end
|
|
540
549
|
|
|
550
|
+
if attributes.has_key?(:'is_hidden')
|
|
551
|
+
self.is_hidden = attributes[:'is_hidden']
|
|
552
|
+
end
|
|
553
|
+
|
|
541
554
|
if attributes.has_key?(:'is_moveable')
|
|
542
555
|
self.is_moveable = attributes[:'is_moveable']
|
|
543
556
|
end
|
|
@@ -606,6 +619,10 @@ class TerraformPackageUpload
|
|
|
606
619
|
self.origin_repository_url = attributes[:'origin_repository_url']
|
|
607
620
|
end
|
|
608
621
|
|
|
622
|
+
if attributes.has_key?(:'osi_approved')
|
|
623
|
+
self.osi_approved = attributes[:'osi_approved']
|
|
624
|
+
end
|
|
625
|
+
|
|
609
626
|
if attributes.has_key?(:'package_type')
|
|
610
627
|
self.package_type = attributes[:'package_type']
|
|
611
628
|
end
|
|
@@ -823,6 +840,7 @@ class TerraformPackageUpload
|
|
|
823
840
|
is_copyable == o.is_copyable &&
|
|
824
841
|
is_deleteable == o.is_deleteable &&
|
|
825
842
|
is_downloadable == o.is_downloadable &&
|
|
843
|
+
is_hidden == o.is_hidden &&
|
|
826
844
|
is_moveable == o.is_moveable &&
|
|
827
845
|
is_quarantinable == o.is_quarantinable &&
|
|
828
846
|
is_quarantined == o.is_quarantined &&
|
|
@@ -840,6 +858,7 @@ class TerraformPackageUpload
|
|
|
840
858
|
num_files == o.num_files &&
|
|
841
859
|
origin_repository == o.origin_repository &&
|
|
842
860
|
origin_repository_url == o.origin_repository_url &&
|
|
861
|
+
osi_approved == o.osi_approved &&
|
|
843
862
|
package_type == o.package_type &&
|
|
844
863
|
policy_violated == o.policy_violated &&
|
|
845
864
|
raw_license == o.raw_license &&
|
|
@@ -890,7 +909,7 @@ class TerraformPackageUpload
|
|
|
890
909
|
# Calculates hash code according to all attributes.
|
|
891
910
|
# @return [Fixnum] Hash code
|
|
892
911
|
def hash
|
|
893
|
-
[architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, 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, policy_violated, raw_license, 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, self_webapp_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
|
|
912
|
+
[architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_hidden, 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, osi_approved, package_type, policy_violated, raw_license, 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, self_webapp_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
|
|
894
913
|
end
|
|
895
914
|
|
|
896
915
|
# Builds the object from hash
|
|
@@ -76,6 +76,8 @@ class VagrantPackageUpload
|
|
|
76
76
|
|
|
77
77
|
attr_accessor :is_downloadable
|
|
78
78
|
|
|
79
|
+
attr_accessor :is_hidden
|
|
80
|
+
|
|
79
81
|
attr_accessor :is_moveable
|
|
80
82
|
|
|
81
83
|
attr_accessor :is_quarantinable
|
|
@@ -112,6 +114,9 @@ class VagrantPackageUpload
|
|
|
112
114
|
|
|
113
115
|
attr_accessor :origin_repository_url
|
|
114
116
|
|
|
117
|
+
# Whether the package's SPDX license is OSI-approved.
|
|
118
|
+
attr_accessor :osi_approved
|
|
119
|
+
|
|
115
120
|
# The type of package contents.
|
|
116
121
|
attr_accessor :package_type
|
|
117
122
|
|
|
@@ -266,6 +271,7 @@ class VagrantPackageUpload
|
|
|
266
271
|
:'is_copyable' => :'is_copyable',
|
|
267
272
|
:'is_deleteable' => :'is_deleteable',
|
|
268
273
|
:'is_downloadable' => :'is_downloadable',
|
|
274
|
+
:'is_hidden' => :'is_hidden',
|
|
269
275
|
:'is_moveable' => :'is_moveable',
|
|
270
276
|
:'is_quarantinable' => :'is_quarantinable',
|
|
271
277
|
:'is_quarantined' => :'is_quarantined',
|
|
@@ -283,6 +289,7 @@ class VagrantPackageUpload
|
|
|
283
289
|
:'num_files' => :'num_files',
|
|
284
290
|
:'origin_repository' => :'origin_repository',
|
|
285
291
|
:'origin_repository_url' => :'origin_repository_url',
|
|
292
|
+
:'osi_approved' => :'osi_approved',
|
|
286
293
|
:'package_type' => :'package_type',
|
|
287
294
|
:'policy_violated' => :'policy_violated',
|
|
288
295
|
:'provider' => :'provider',
|
|
@@ -357,6 +364,7 @@ class VagrantPackageUpload
|
|
|
357
364
|
:'is_copyable' => :'BOOLEAN',
|
|
358
365
|
:'is_deleteable' => :'BOOLEAN',
|
|
359
366
|
:'is_downloadable' => :'BOOLEAN',
|
|
367
|
+
:'is_hidden' => :'BOOLEAN',
|
|
360
368
|
:'is_moveable' => :'BOOLEAN',
|
|
361
369
|
:'is_quarantinable' => :'BOOLEAN',
|
|
362
370
|
:'is_quarantined' => :'BOOLEAN',
|
|
@@ -374,6 +382,7 @@ class VagrantPackageUpload
|
|
|
374
382
|
:'num_files' => :'Integer',
|
|
375
383
|
:'origin_repository' => :'String',
|
|
376
384
|
:'origin_repository_url' => :'String',
|
|
385
|
+
:'osi_approved' => :'BOOLEAN',
|
|
377
386
|
:'package_type' => :'Integer',
|
|
378
387
|
:'policy_violated' => :'BOOLEAN',
|
|
379
388
|
:'provider' => :'String',
|
|
@@ -543,6 +552,10 @@ class VagrantPackageUpload
|
|
|
543
552
|
self.is_downloadable = attributes[:'is_downloadable']
|
|
544
553
|
end
|
|
545
554
|
|
|
555
|
+
if attributes.has_key?(:'is_hidden')
|
|
556
|
+
self.is_hidden = attributes[:'is_hidden']
|
|
557
|
+
end
|
|
558
|
+
|
|
546
559
|
if attributes.has_key?(:'is_moveable')
|
|
547
560
|
self.is_moveable = attributes[:'is_moveable']
|
|
548
561
|
end
|
|
@@ -611,6 +624,10 @@ class VagrantPackageUpload
|
|
|
611
624
|
self.origin_repository_url = attributes[:'origin_repository_url']
|
|
612
625
|
end
|
|
613
626
|
|
|
627
|
+
if attributes.has_key?(:'osi_approved')
|
|
628
|
+
self.osi_approved = attributes[:'osi_approved']
|
|
629
|
+
end
|
|
630
|
+
|
|
614
631
|
if attributes.has_key?(:'package_type')
|
|
615
632
|
self.package_type = attributes[:'package_type']
|
|
616
633
|
end
|
|
@@ -847,6 +864,7 @@ class VagrantPackageUpload
|
|
|
847
864
|
is_copyable == o.is_copyable &&
|
|
848
865
|
is_deleteable == o.is_deleteable &&
|
|
849
866
|
is_downloadable == o.is_downloadable &&
|
|
867
|
+
is_hidden == o.is_hidden &&
|
|
850
868
|
is_moveable == o.is_moveable &&
|
|
851
869
|
is_quarantinable == o.is_quarantinable &&
|
|
852
870
|
is_quarantined == o.is_quarantined &&
|
|
@@ -864,6 +882,7 @@ class VagrantPackageUpload
|
|
|
864
882
|
num_files == o.num_files &&
|
|
865
883
|
origin_repository == o.origin_repository &&
|
|
866
884
|
origin_repository_url == o.origin_repository_url &&
|
|
885
|
+
osi_approved == o.osi_approved &&
|
|
867
886
|
package_type == o.package_type &&
|
|
868
887
|
policy_violated == o.policy_violated &&
|
|
869
888
|
provider == o.provider &&
|
|
@@ -915,7 +934,7 @@ class VagrantPackageUpload
|
|
|
915
934
|
# Calculates hash code according to all attributes.
|
|
916
935
|
# @return [Fixnum] Hash code
|
|
917
936
|
def hash
|
|
918
|
-
[architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, 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, policy_violated, provider, raw_license, 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, self_webapp_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
|
|
937
|
+
[architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_hidden, 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, osi_approved, package_type, policy_violated, provider, raw_license, 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, self_webapp_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
|
|
919
938
|
end
|
|
920
939
|
|
|
921
940
|
# Builds the object from hash
|
|
@@ -76,6 +76,8 @@ class VsxPackageUpload
|
|
|
76
76
|
|
|
77
77
|
attr_accessor :is_downloadable
|
|
78
78
|
|
|
79
|
+
attr_accessor :is_hidden
|
|
80
|
+
|
|
79
81
|
attr_accessor :is_moveable
|
|
80
82
|
|
|
81
83
|
attr_accessor :is_quarantinable
|
|
@@ -112,6 +114,9 @@ class VsxPackageUpload
|
|
|
112
114
|
|
|
113
115
|
attr_accessor :origin_repository_url
|
|
114
116
|
|
|
117
|
+
# Whether the package's SPDX license is OSI-approved.
|
|
118
|
+
attr_accessor :osi_approved
|
|
119
|
+
|
|
115
120
|
# The type of package contents.
|
|
116
121
|
attr_accessor :package_type
|
|
117
122
|
|
|
@@ -263,6 +268,7 @@ class VsxPackageUpload
|
|
|
263
268
|
:'is_copyable' => :'is_copyable',
|
|
264
269
|
:'is_deleteable' => :'is_deleteable',
|
|
265
270
|
:'is_downloadable' => :'is_downloadable',
|
|
271
|
+
:'is_hidden' => :'is_hidden',
|
|
266
272
|
:'is_moveable' => :'is_moveable',
|
|
267
273
|
:'is_quarantinable' => :'is_quarantinable',
|
|
268
274
|
:'is_quarantined' => :'is_quarantined',
|
|
@@ -280,6 +286,7 @@ class VsxPackageUpload
|
|
|
280
286
|
:'num_files' => :'num_files',
|
|
281
287
|
:'origin_repository' => :'origin_repository',
|
|
282
288
|
:'origin_repository_url' => :'origin_repository_url',
|
|
289
|
+
:'osi_approved' => :'osi_approved',
|
|
283
290
|
:'package_type' => :'package_type',
|
|
284
291
|
:'policy_violated' => :'policy_violated',
|
|
285
292
|
:'raw_license' => :'raw_license',
|
|
@@ -353,6 +360,7 @@ class VsxPackageUpload
|
|
|
353
360
|
:'is_copyable' => :'BOOLEAN',
|
|
354
361
|
:'is_deleteable' => :'BOOLEAN',
|
|
355
362
|
:'is_downloadable' => :'BOOLEAN',
|
|
363
|
+
:'is_hidden' => :'BOOLEAN',
|
|
356
364
|
:'is_moveable' => :'BOOLEAN',
|
|
357
365
|
:'is_quarantinable' => :'BOOLEAN',
|
|
358
366
|
:'is_quarantined' => :'BOOLEAN',
|
|
@@ -370,6 +378,7 @@ class VsxPackageUpload
|
|
|
370
378
|
:'num_files' => :'Integer',
|
|
371
379
|
:'origin_repository' => :'String',
|
|
372
380
|
:'origin_repository_url' => :'String',
|
|
381
|
+
:'osi_approved' => :'BOOLEAN',
|
|
373
382
|
:'package_type' => :'Integer',
|
|
374
383
|
:'policy_violated' => :'BOOLEAN',
|
|
375
384
|
:'raw_license' => :'String',
|
|
@@ -538,6 +547,10 @@ class VsxPackageUpload
|
|
|
538
547
|
self.is_downloadable = attributes[:'is_downloadable']
|
|
539
548
|
end
|
|
540
549
|
|
|
550
|
+
if attributes.has_key?(:'is_hidden')
|
|
551
|
+
self.is_hidden = attributes[:'is_hidden']
|
|
552
|
+
end
|
|
553
|
+
|
|
541
554
|
if attributes.has_key?(:'is_moveable')
|
|
542
555
|
self.is_moveable = attributes[:'is_moveable']
|
|
543
556
|
end
|
|
@@ -606,6 +619,10 @@ class VsxPackageUpload
|
|
|
606
619
|
self.origin_repository_url = attributes[:'origin_repository_url']
|
|
607
620
|
end
|
|
608
621
|
|
|
622
|
+
if attributes.has_key?(:'osi_approved')
|
|
623
|
+
self.osi_approved = attributes[:'osi_approved']
|
|
624
|
+
end
|
|
625
|
+
|
|
609
626
|
if attributes.has_key?(:'package_type')
|
|
610
627
|
self.package_type = attributes[:'package_type']
|
|
611
628
|
end
|
|
@@ -823,6 +840,7 @@ class VsxPackageUpload
|
|
|
823
840
|
is_copyable == o.is_copyable &&
|
|
824
841
|
is_deleteable == o.is_deleteable &&
|
|
825
842
|
is_downloadable == o.is_downloadable &&
|
|
843
|
+
is_hidden == o.is_hidden &&
|
|
826
844
|
is_moveable == o.is_moveable &&
|
|
827
845
|
is_quarantinable == o.is_quarantinable &&
|
|
828
846
|
is_quarantined == o.is_quarantined &&
|
|
@@ -840,6 +858,7 @@ class VsxPackageUpload
|
|
|
840
858
|
num_files == o.num_files &&
|
|
841
859
|
origin_repository == o.origin_repository &&
|
|
842
860
|
origin_repository_url == o.origin_repository_url &&
|
|
861
|
+
osi_approved == o.osi_approved &&
|
|
843
862
|
package_type == o.package_type &&
|
|
844
863
|
policy_violated == o.policy_violated &&
|
|
845
864
|
raw_license == o.raw_license &&
|
|
@@ -890,7 +909,7 @@ class VsxPackageUpload
|
|
|
890
909
|
# Calculates hash code according to all attributes.
|
|
891
910
|
# @return [Fixnum] Hash code
|
|
892
911
|
def hash
|
|
893
|
-
[architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, 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, policy_violated, raw_license, 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, self_webapp_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
|
|
912
|
+
[architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_hidden, 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, osi_approved, package_type, policy_violated, raw_license, 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, self_webapp_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
|
|
894
913
|
end
|
|
895
914
|
|
|
896
915
|
# Builds the object from hash
|
data/lib/cloudsmith-api.rb
CHANGED
|
@@ -51,6 +51,9 @@ require 'cloudsmith-api/models/conda_package_upload_request'
|
|
|
51
51
|
require 'cloudsmith-api/models/conda_upstream'
|
|
52
52
|
require 'cloudsmith-api/models/conda_upstream_request'
|
|
53
53
|
require 'cloudsmith-api/models/conda_upstream_request_patch'
|
|
54
|
+
require 'cloudsmith-api/models/connected_repository'
|
|
55
|
+
require 'cloudsmith-api/models/connected_repository_request'
|
|
56
|
+
require 'cloudsmith-api/models/connected_repository_request_patch'
|
|
54
57
|
require 'cloudsmith-api/models/cran_package_upload'
|
|
55
58
|
require 'cloudsmith-api/models/cran_package_upload_request'
|
|
56
59
|
require 'cloudsmith-api/models/cran_upstream'
|
|
@@ -112,6 +115,7 @@ require 'cloudsmith-api/models/huggingface_upstream_request'
|
|
|
112
115
|
require 'cloudsmith-api/models/huggingface_upstream_request_patch'
|
|
113
116
|
require 'cloudsmith-api/models/inline_response_200'
|
|
114
117
|
require 'cloudsmith-api/models/inline_response_200_1'
|
|
118
|
+
require 'cloudsmith-api/models/inline_response_200_2'
|
|
115
119
|
require 'cloudsmith-api/models/luarocks_package_upload'
|
|
116
120
|
require 'cloudsmith-api/models/luarocks_package_upload_request'
|
|
117
121
|
require 'cloudsmith-api/models/maven_package_upload'
|
|
@@ -121,6 +125,7 @@ require 'cloudsmith-api/models/maven_upstream_request'
|
|
|
121
125
|
require 'cloudsmith-api/models/maven_upstream_request_patch'
|
|
122
126
|
require 'cloudsmith-api/models/mcp_package_upload'
|
|
123
127
|
require 'cloudsmith-api/models/mcp_package_upload_request'
|
|
128
|
+
require 'cloudsmith-api/models/member_teams'
|
|
124
129
|
require 'cloudsmith-api/models/namespace'
|
|
125
130
|
require 'cloudsmith-api/models/namespace_audit_log'
|
|
126
131
|
require 'cloudsmith-api/models/nested_license_policy'
|
|
@@ -137,6 +142,8 @@ require 'cloudsmith-api/models/nuget_upstream'
|
|
|
137
142
|
require 'cloudsmith-api/models/nuget_upstream_request'
|
|
138
143
|
require 'cloudsmith-api/models/nuget_upstream_request_patch'
|
|
139
144
|
require 'cloudsmith-api/models/organization'
|
|
145
|
+
require 'cloudsmith-api/models/organization_custom_domain_nested_repo'
|
|
146
|
+
require 'cloudsmith-api/models/organization_custom_domains'
|
|
140
147
|
require 'cloudsmith-api/models/organization_group_sync'
|
|
141
148
|
require 'cloudsmith-api/models/organization_group_sync_request'
|
|
142
149
|
require 'cloudsmith-api/models/organization_group_sync_status'
|
|
@@ -225,6 +232,8 @@ require 'cloudsmith-api/models/repository_create'
|
|
|
225
232
|
require 'cloudsmith-api/models/repository_create_request'
|
|
226
233
|
require 'cloudsmith-api/models/repository_ecdsa_key'
|
|
227
234
|
require 'cloudsmith-api/models/repository_ecdsa_key_create'
|
|
235
|
+
require 'cloudsmith-api/models/repository_ed25519_key'
|
|
236
|
+
require 'cloudsmith-api/models/repository_ed25519_key_create'
|
|
228
237
|
require 'cloudsmith-api/models/repository_geo_ip_cidr'
|
|
229
238
|
require 'cloudsmith-api/models/repository_geo_ip_country_code'
|
|
230
239
|
require 'cloudsmith-api/models/repository_geo_ip_rules'
|
|
@@ -100,6 +100,7 @@ describe 'EntitlementsApi' do
|
|
|
100
100
|
# @option opts [BOOLEAN] :show_tokens Show entitlement token strings in results
|
|
101
101
|
# @option opts [String] :query A search term for querying names of entitlements.
|
|
102
102
|
# @option opts [BOOLEAN] :active If true, only include active tokens
|
|
103
|
+
# @option opts [BOOLEAN] :exclude_other_user_tokens If true, exclude user tokens that belong to other users
|
|
103
104
|
# @option opts [String] :sort A field for sorting objects in ascending or descending order. Use `-` prefix for descending order (e.g., `-name`). Available options: name.
|
|
104
105
|
# @return [Array<RepositoryToken>]
|
|
105
106
|
describe 'entitlements_list test' do
|
data/spec/api/orgs_api_spec.rb
CHANGED
|
@@ -32,6 +32,20 @@ describe 'OrgsApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
+
# unit tests for orgs_custom_domains_list
|
|
36
|
+
# Get the details for all custom domains.
|
|
37
|
+
# Get the details for all custom domains.
|
|
38
|
+
# @param org
|
|
39
|
+
# @param [Hash] opts the optional parameters
|
|
40
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
41
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
42
|
+
# @return [Array<OrganizationCustomDomains>]
|
|
43
|
+
describe 'orgs_custom_domains_list test' do
|
|
44
|
+
it 'should work' do
|
|
45
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
|
|
35
49
|
# unit tests for orgs_delete
|
|
36
50
|
# Delete the specified organization.
|
|
37
51
|
# Delete the specified organization.
|
|
@@ -349,6 +363,7 @@ describe 'OrgsApi' do
|
|
|
349
363
|
# @param [Hash] opts the optional parameters
|
|
350
364
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
351
365
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
366
|
+
# @option opts [String] :sort A field for sorting objects in ascending or descending order. Use `-` prefix for descending order (e.g., `-name`). Available options: name, created_at, slug.
|
|
352
367
|
# @return [Array<Organization>]
|
|
353
368
|
describe 'orgs_list test' do
|
|
354
369
|
it 'should work' do
|