cloudsmith-api 2.0.12 → 2.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +14 -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/RpmPackageUpload.md +7 -0
- data/docs/RubyPackageUpload.md +7 -0
- data/docs/StatusBasic.md +1 -1
- data/docs/SwiftPackageUpload.md +7 -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/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 +64 -1
- 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 +3 -0
- data/spec/api/orgs_api_spec.rb +81 -0
- data/spec/api/packages_api_spec.rb +2 -2
- 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_spec.rb +42 -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/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.21/gem_make.out +1 -1
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-3.1.7/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-3.1.7/mkmf.log +5 -5
- 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.2/gem_make.out +1 -1
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.2/mkmf.log +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.1.7/ext/bigdecimal/Makefile +2 -2
- 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.2/ext/json/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.2/ext/json/ext/generator/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.2/ext/json/ext/parser/Makefile +2 -2
- metadata +15 -3
@@ -23,8 +23,15 @@ Name | Type | Description | Notes
|
|
23
23
|
**format_url** | **String** | | [optional]
|
24
24
|
**identifier_perm** | **String** | Unique and permanent identifier for the package. | [optional]
|
25
25
|
**indexed** | **BOOLEAN** | | [optional]
|
26
|
+
**is_cancellable** | **BOOLEAN** | | [optional]
|
27
|
+
**is_copyable** | **BOOLEAN** | | [optional]
|
28
|
+
**is_deleteable** | **BOOLEAN** | | [optional]
|
26
29
|
**is_downloadable** | **BOOLEAN** | | [optional]
|
30
|
+
**is_moveable** | **BOOLEAN** | | [optional]
|
31
|
+
**is_quarantinable** | **BOOLEAN** | | [optional]
|
27
32
|
**is_quarantined** | **BOOLEAN** | | [optional]
|
33
|
+
**is_resyncable** | **BOOLEAN** | | [optional]
|
34
|
+
**is_security_scannable** | **BOOLEAN** | | [optional]
|
28
35
|
**is_sync_awaiting** | **BOOLEAN** | | [optional]
|
29
36
|
**is_sync_completed** | **BOOLEAN** | | [optional]
|
30
37
|
**is_sync_failed** | **BOOLEAN** | | [optional]
|
@@ -23,8 +23,15 @@ Name | Type | Description | Notes
|
|
23
23
|
**format_url** | **String** | | [optional]
|
24
24
|
**identifier_perm** | **String** | Unique and permanent identifier for the package. | [optional]
|
25
25
|
**indexed** | **BOOLEAN** | | [optional]
|
26
|
+
**is_cancellable** | **BOOLEAN** | | [optional]
|
27
|
+
**is_copyable** | **BOOLEAN** | | [optional]
|
28
|
+
**is_deleteable** | **BOOLEAN** | | [optional]
|
26
29
|
**is_downloadable** | **BOOLEAN** | | [optional]
|
30
|
+
**is_moveable** | **BOOLEAN** | | [optional]
|
31
|
+
**is_quarantinable** | **BOOLEAN** | | [optional]
|
27
32
|
**is_quarantined** | **BOOLEAN** | | [optional]
|
33
|
+
**is_resyncable** | **BOOLEAN** | | [optional]
|
34
|
+
**is_security_scannable** | **BOOLEAN** | | [optional]
|
28
35
|
**is_sync_awaiting** | **BOOLEAN** | | [optional]
|
29
36
|
**is_sync_completed** | **BOOLEAN** | | [optional]
|
30
37
|
**is_sync_failed** | **BOOLEAN** | | [optional]
|
@@ -1702,6 +1702,364 @@ module CloudsmithApi
|
|
1702
1702
|
end
|
1703
1703
|
return data, status_code, headers
|
1704
1704
|
end
|
1705
|
+
# Create the OpenID Connect provider settings for the org.
|
1706
|
+
# Create the OpenID Connect provider settings for the org.
|
1707
|
+
# @param org
|
1708
|
+
# @param [Hash] opts the optional parameters
|
1709
|
+
# @option opts [ProviderSettingsRequest] :data
|
1710
|
+
# @return [nil]
|
1711
|
+
def orgs_openid_connect_create(org, opts = {})
|
1712
|
+
orgs_openid_connect_create_with_http_info(org, opts)
|
1713
|
+
nil
|
1714
|
+
end
|
1715
|
+
|
1716
|
+
# Create the OpenID Connect provider settings for the org.
|
1717
|
+
# Create the OpenID Connect provider settings for the org.
|
1718
|
+
# @param org
|
1719
|
+
# @param [Hash] opts the optional parameters
|
1720
|
+
# @option opts [ProviderSettingsRequest] :data
|
1721
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
1722
|
+
def orgs_openid_connect_create_with_http_info(org, opts = {})
|
1723
|
+
if @api_client.config.debugging
|
1724
|
+
@api_client.config.logger.debug 'Calling API: OrgsApi.orgs_openid_connect_create ...'
|
1725
|
+
end
|
1726
|
+
# verify the required parameter 'org' is set
|
1727
|
+
if @api_client.config.client_side_validation && org.nil?
|
1728
|
+
fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_openid_connect_create"
|
1729
|
+
end
|
1730
|
+
# resource path
|
1731
|
+
local_var_path = '/orgs/{org}/openid-connect/'.sub('{' + 'org' + '}', org.to_s)
|
1732
|
+
|
1733
|
+
# query parameters
|
1734
|
+
query_params = {}
|
1735
|
+
|
1736
|
+
# header parameters
|
1737
|
+
header_params = {}
|
1738
|
+
# HTTP header 'Accept' (if needed)
|
1739
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1740
|
+
# HTTP header 'Content-Type'
|
1741
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1742
|
+
|
1743
|
+
# form parameters
|
1744
|
+
form_params = {}
|
1745
|
+
|
1746
|
+
# http body (model)
|
1747
|
+
post_body = @api_client.object_to_http_body(opts[:'data'])
|
1748
|
+
auth_names = ['apikey']
|
1749
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1750
|
+
:header_params => header_params,
|
1751
|
+
:query_params => query_params,
|
1752
|
+
:form_params => form_params,
|
1753
|
+
:body => post_body,
|
1754
|
+
:auth_names => auth_names)
|
1755
|
+
if @api_client.config.debugging
|
1756
|
+
@api_client.config.logger.debug "API called: OrgsApi#orgs_openid_connect_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1757
|
+
end
|
1758
|
+
return data, status_code, headers
|
1759
|
+
end
|
1760
|
+
# Delete a specific OpenID Connect provider setting for the org.
|
1761
|
+
# Delete a specific OpenID Connect provider setting for the org.
|
1762
|
+
# @param org
|
1763
|
+
# @param slug_perm
|
1764
|
+
# @param [Hash] opts the optional parameters
|
1765
|
+
# @return [nil]
|
1766
|
+
def orgs_openid_connect_delete(org, slug_perm, opts = {})
|
1767
|
+
orgs_openid_connect_delete_with_http_info(org, slug_perm, opts)
|
1768
|
+
nil
|
1769
|
+
end
|
1770
|
+
|
1771
|
+
# Delete a specific OpenID Connect provider setting for the org.
|
1772
|
+
# Delete a specific OpenID Connect provider setting for the org.
|
1773
|
+
# @param org
|
1774
|
+
# @param slug_perm
|
1775
|
+
# @param [Hash] opts the optional parameters
|
1776
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
1777
|
+
def orgs_openid_connect_delete_with_http_info(org, slug_perm, opts = {})
|
1778
|
+
if @api_client.config.debugging
|
1779
|
+
@api_client.config.logger.debug 'Calling API: OrgsApi.orgs_openid_connect_delete ...'
|
1780
|
+
end
|
1781
|
+
# verify the required parameter 'org' is set
|
1782
|
+
if @api_client.config.client_side_validation && org.nil?
|
1783
|
+
fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_openid_connect_delete"
|
1784
|
+
end
|
1785
|
+
# verify the required parameter 'slug_perm' is set
|
1786
|
+
if @api_client.config.client_side_validation && slug_perm.nil?
|
1787
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling OrgsApi.orgs_openid_connect_delete"
|
1788
|
+
end
|
1789
|
+
# resource path
|
1790
|
+
local_var_path = '/orgs/{org}/openid-connect/{slug_perm}/'.sub('{' + 'org' + '}', org.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
1791
|
+
|
1792
|
+
# query parameters
|
1793
|
+
query_params = {}
|
1794
|
+
|
1795
|
+
# header parameters
|
1796
|
+
header_params = {}
|
1797
|
+
# HTTP header 'Accept' (if needed)
|
1798
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1799
|
+
# HTTP header 'Content-Type'
|
1800
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1801
|
+
|
1802
|
+
# form parameters
|
1803
|
+
form_params = {}
|
1804
|
+
|
1805
|
+
# http body (model)
|
1806
|
+
post_body = nil
|
1807
|
+
auth_names = ['apikey']
|
1808
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
1809
|
+
:header_params => header_params,
|
1810
|
+
:query_params => query_params,
|
1811
|
+
:form_params => form_params,
|
1812
|
+
:body => post_body,
|
1813
|
+
:auth_names => auth_names)
|
1814
|
+
if @api_client.config.debugging
|
1815
|
+
@api_client.config.logger.debug "API called: OrgsApi#orgs_openid_connect_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1816
|
+
end
|
1817
|
+
return data, status_code, headers
|
1818
|
+
end
|
1819
|
+
# Retrieve the list of OpenID Connect provider settings for the org.
|
1820
|
+
# Retrieve the list of OpenID Connect provider settings for the org.
|
1821
|
+
# @param org
|
1822
|
+
# @param [Hash] opts the optional parameters
|
1823
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
1824
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
1825
|
+
# @return [Array<ProviderSettings>]
|
1826
|
+
def orgs_openid_connect_list(org, opts = {})
|
1827
|
+
data, _status_code, _headers = orgs_openid_connect_list_with_http_info(org, opts)
|
1828
|
+
data
|
1829
|
+
end
|
1830
|
+
|
1831
|
+
# Retrieve the list of OpenID Connect provider settings for the org.
|
1832
|
+
# Retrieve the list of OpenID Connect provider settings for the org.
|
1833
|
+
# @param org
|
1834
|
+
# @param [Hash] opts the optional parameters
|
1835
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
1836
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
1837
|
+
# @return [Array<(Array<ProviderSettings>, Fixnum, Hash)>] Array<ProviderSettings> data, response status code and response headers
|
1838
|
+
def orgs_openid_connect_list_with_http_info(org, opts = {})
|
1839
|
+
if @api_client.config.debugging
|
1840
|
+
@api_client.config.logger.debug 'Calling API: OrgsApi.orgs_openid_connect_list ...'
|
1841
|
+
end
|
1842
|
+
# verify the required parameter 'org' is set
|
1843
|
+
if @api_client.config.client_side_validation && org.nil?
|
1844
|
+
fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_openid_connect_list"
|
1845
|
+
end
|
1846
|
+
# resource path
|
1847
|
+
local_var_path = '/orgs/{org}/openid-connect/'.sub('{' + 'org' + '}', org.to_s)
|
1848
|
+
|
1849
|
+
# query parameters
|
1850
|
+
query_params = {}
|
1851
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
1852
|
+
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
1853
|
+
|
1854
|
+
# header parameters
|
1855
|
+
header_params = {}
|
1856
|
+
# HTTP header 'Accept' (if needed)
|
1857
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1858
|
+
# HTTP header 'Content-Type'
|
1859
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1860
|
+
|
1861
|
+
# form parameters
|
1862
|
+
form_params = {}
|
1863
|
+
|
1864
|
+
# http body (model)
|
1865
|
+
post_body = nil
|
1866
|
+
auth_names = ['apikey']
|
1867
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1868
|
+
:header_params => header_params,
|
1869
|
+
:query_params => query_params,
|
1870
|
+
:form_params => form_params,
|
1871
|
+
:body => post_body,
|
1872
|
+
:auth_names => auth_names,
|
1873
|
+
:return_type => 'Array<ProviderSettings>')
|
1874
|
+
if @api_client.config.debugging
|
1875
|
+
@api_client.config.logger.debug "API called: OrgsApi#orgs_openid_connect_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1876
|
+
end
|
1877
|
+
return data, status_code, headers
|
1878
|
+
end
|
1879
|
+
# Update a specific OpenID Connect provider setting for the org.
|
1880
|
+
# Update a specific OpenID Connect provider setting for the org.
|
1881
|
+
# @param org
|
1882
|
+
# @param slug_perm
|
1883
|
+
# @param [Hash] opts the optional parameters
|
1884
|
+
# @option opts [ProviderSettingsRequestPatch] :data
|
1885
|
+
# @return [ProviderSettings]
|
1886
|
+
def orgs_openid_connect_partial_update(org, slug_perm, opts = {})
|
1887
|
+
data, _status_code, _headers = orgs_openid_connect_partial_update_with_http_info(org, slug_perm, opts)
|
1888
|
+
data
|
1889
|
+
end
|
1890
|
+
|
1891
|
+
# Update a specific OpenID Connect provider setting for the org.
|
1892
|
+
# Update a specific OpenID Connect provider setting for the org.
|
1893
|
+
# @param org
|
1894
|
+
# @param slug_perm
|
1895
|
+
# @param [Hash] opts the optional parameters
|
1896
|
+
# @option opts [ProviderSettingsRequestPatch] :data
|
1897
|
+
# @return [Array<(ProviderSettings, Fixnum, Hash)>] ProviderSettings data, response status code and response headers
|
1898
|
+
def orgs_openid_connect_partial_update_with_http_info(org, slug_perm, opts = {})
|
1899
|
+
if @api_client.config.debugging
|
1900
|
+
@api_client.config.logger.debug 'Calling API: OrgsApi.orgs_openid_connect_partial_update ...'
|
1901
|
+
end
|
1902
|
+
# verify the required parameter 'org' is set
|
1903
|
+
if @api_client.config.client_side_validation && org.nil?
|
1904
|
+
fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_openid_connect_partial_update"
|
1905
|
+
end
|
1906
|
+
# verify the required parameter 'slug_perm' is set
|
1907
|
+
if @api_client.config.client_side_validation && slug_perm.nil?
|
1908
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling OrgsApi.orgs_openid_connect_partial_update"
|
1909
|
+
end
|
1910
|
+
# resource path
|
1911
|
+
local_var_path = '/orgs/{org}/openid-connect/{slug_perm}/'.sub('{' + 'org' + '}', org.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
1912
|
+
|
1913
|
+
# query parameters
|
1914
|
+
query_params = {}
|
1915
|
+
|
1916
|
+
# header parameters
|
1917
|
+
header_params = {}
|
1918
|
+
# HTTP header 'Accept' (if needed)
|
1919
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1920
|
+
# HTTP header 'Content-Type'
|
1921
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1922
|
+
|
1923
|
+
# form parameters
|
1924
|
+
form_params = {}
|
1925
|
+
|
1926
|
+
# http body (model)
|
1927
|
+
post_body = @api_client.object_to_http_body(opts[:'data'])
|
1928
|
+
auth_names = ['apikey']
|
1929
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
1930
|
+
:header_params => header_params,
|
1931
|
+
:query_params => query_params,
|
1932
|
+
:form_params => form_params,
|
1933
|
+
:body => post_body,
|
1934
|
+
:auth_names => auth_names,
|
1935
|
+
:return_type => 'ProviderSettings')
|
1936
|
+
if @api_client.config.debugging
|
1937
|
+
@api_client.config.logger.debug "API called: OrgsApi#orgs_openid_connect_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1938
|
+
end
|
1939
|
+
return data, status_code, headers
|
1940
|
+
end
|
1941
|
+
# Retrieve a specific OpenID Connect provider setting for the org.
|
1942
|
+
# Retrieve a specific OpenID Connect provider setting for the org.
|
1943
|
+
# @param org
|
1944
|
+
# @param slug_perm
|
1945
|
+
# @param [Hash] opts the optional parameters
|
1946
|
+
# @return [ProviderSettings]
|
1947
|
+
def orgs_openid_connect_read(org, slug_perm, opts = {})
|
1948
|
+
data, _status_code, _headers = orgs_openid_connect_read_with_http_info(org, slug_perm, opts)
|
1949
|
+
data
|
1950
|
+
end
|
1951
|
+
|
1952
|
+
# Retrieve a specific OpenID Connect provider setting for the org.
|
1953
|
+
# Retrieve a specific OpenID Connect provider setting for the org.
|
1954
|
+
# @param org
|
1955
|
+
# @param slug_perm
|
1956
|
+
# @param [Hash] opts the optional parameters
|
1957
|
+
# @return [Array<(ProviderSettings, Fixnum, Hash)>] ProviderSettings data, response status code and response headers
|
1958
|
+
def orgs_openid_connect_read_with_http_info(org, slug_perm, opts = {})
|
1959
|
+
if @api_client.config.debugging
|
1960
|
+
@api_client.config.logger.debug 'Calling API: OrgsApi.orgs_openid_connect_read ...'
|
1961
|
+
end
|
1962
|
+
# verify the required parameter 'org' is set
|
1963
|
+
if @api_client.config.client_side_validation && org.nil?
|
1964
|
+
fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_openid_connect_read"
|
1965
|
+
end
|
1966
|
+
# verify the required parameter 'slug_perm' is set
|
1967
|
+
if @api_client.config.client_side_validation && slug_perm.nil?
|
1968
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling OrgsApi.orgs_openid_connect_read"
|
1969
|
+
end
|
1970
|
+
# resource path
|
1971
|
+
local_var_path = '/orgs/{org}/openid-connect/{slug_perm}/'.sub('{' + 'org' + '}', org.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
1972
|
+
|
1973
|
+
# query parameters
|
1974
|
+
query_params = {}
|
1975
|
+
|
1976
|
+
# header parameters
|
1977
|
+
header_params = {}
|
1978
|
+
# HTTP header 'Accept' (if needed)
|
1979
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1980
|
+
# HTTP header 'Content-Type'
|
1981
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1982
|
+
|
1983
|
+
# form parameters
|
1984
|
+
form_params = {}
|
1985
|
+
|
1986
|
+
# http body (model)
|
1987
|
+
post_body = nil
|
1988
|
+
auth_names = ['apikey']
|
1989
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1990
|
+
:header_params => header_params,
|
1991
|
+
:query_params => query_params,
|
1992
|
+
:form_params => form_params,
|
1993
|
+
:body => post_body,
|
1994
|
+
:auth_names => auth_names,
|
1995
|
+
:return_type => 'ProviderSettings')
|
1996
|
+
if @api_client.config.debugging
|
1997
|
+
@api_client.config.logger.debug "API called: OrgsApi#orgs_openid_connect_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1998
|
+
end
|
1999
|
+
return data, status_code, headers
|
2000
|
+
end
|
2001
|
+
# Update a specific OpenID Connect provider setting for the org.
|
2002
|
+
# Update a specific OpenID Connect provider setting for the org.
|
2003
|
+
# @param org
|
2004
|
+
# @param slug_perm
|
2005
|
+
# @param [Hash] opts the optional parameters
|
2006
|
+
# @option opts [ProviderSettingsRequest] :data
|
2007
|
+
# @return [ProviderSettings]
|
2008
|
+
def orgs_openid_connect_update(org, slug_perm, opts = {})
|
2009
|
+
data, _status_code, _headers = orgs_openid_connect_update_with_http_info(org, slug_perm, opts)
|
2010
|
+
data
|
2011
|
+
end
|
2012
|
+
|
2013
|
+
# Update a specific OpenID Connect provider setting for the org.
|
2014
|
+
# Update a specific OpenID Connect provider setting for the org.
|
2015
|
+
# @param org
|
2016
|
+
# @param slug_perm
|
2017
|
+
# @param [Hash] opts the optional parameters
|
2018
|
+
# @option opts [ProviderSettingsRequest] :data
|
2019
|
+
# @return [Array<(ProviderSettings, Fixnum, Hash)>] ProviderSettings data, response status code and response headers
|
2020
|
+
def orgs_openid_connect_update_with_http_info(org, slug_perm, opts = {})
|
2021
|
+
if @api_client.config.debugging
|
2022
|
+
@api_client.config.logger.debug 'Calling API: OrgsApi.orgs_openid_connect_update ...'
|
2023
|
+
end
|
2024
|
+
# verify the required parameter 'org' is set
|
2025
|
+
if @api_client.config.client_side_validation && org.nil?
|
2026
|
+
fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_openid_connect_update"
|
2027
|
+
end
|
2028
|
+
# verify the required parameter 'slug_perm' is set
|
2029
|
+
if @api_client.config.client_side_validation && slug_perm.nil?
|
2030
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling OrgsApi.orgs_openid_connect_update"
|
2031
|
+
end
|
2032
|
+
# resource path
|
2033
|
+
local_var_path = '/orgs/{org}/openid-connect/{slug_perm}/'.sub('{' + 'org' + '}', org.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
2034
|
+
|
2035
|
+
# query parameters
|
2036
|
+
query_params = {}
|
2037
|
+
|
2038
|
+
# header parameters
|
2039
|
+
header_params = {}
|
2040
|
+
# HTTP header 'Accept' (if needed)
|
2041
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2042
|
+
# HTTP header 'Content-Type'
|
2043
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
2044
|
+
|
2045
|
+
# form parameters
|
2046
|
+
form_params = {}
|
2047
|
+
|
2048
|
+
# http body (model)
|
2049
|
+
post_body = @api_client.object_to_http_body(opts[:'data'])
|
2050
|
+
auth_names = ['apikey']
|
2051
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
2052
|
+
:header_params => header_params,
|
2053
|
+
:query_params => query_params,
|
2054
|
+
:form_params => form_params,
|
2055
|
+
:body => post_body,
|
2056
|
+
:auth_names => auth_names,
|
2057
|
+
:return_type => 'ProviderSettings')
|
2058
|
+
if @api_client.config.debugging
|
2059
|
+
@api_client.config.logger.debug "API called: OrgsApi#orgs_openid_connect_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2060
|
+
end
|
2061
|
+
return data, status_code, headers
|
2062
|
+
end
|
1705
2063
|
# Get the details for the specific organization.
|
1706
2064
|
# Get the details for the specific organization.
|
1707
2065
|
# @param org
|
@@ -624,8 +624,8 @@ module CloudsmithApi
|
|
624
624
|
end
|
625
625
|
return data, status_code, headers
|
626
626
|
end
|
627
|
-
# Get the
|
628
|
-
# Get the
|
627
|
+
# Get the synchronization status for a package.
|
628
|
+
# Get the synchronization status for a package.
|
629
629
|
# @param owner
|
630
630
|
# @param repo
|
631
631
|
# @param identifier
|
@@ -636,8 +636,8 @@ module CloudsmithApi
|
|
636
636
|
data
|
637
637
|
end
|
638
638
|
|
639
|
-
# Get the
|
640
|
-
# Get the
|
639
|
+
# Get the synchronization status for a package.
|
640
|
+
# Get the synchronization status for a package.
|
641
641
|
# @param owner
|
642
642
|
# @param repo
|
643
643
|
# @param identifier
|
@@ -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
|