pulpcore_client 3.71.2 → 3.72.0
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/README.md +6 -4
- data/docs/ArtifactDistributionResponse.md +13 -13
- data/docs/Domain.md +2 -0
- data/docs/DomainResponse.md +2 -0
- data/docs/DomainsApi.md +150 -2
- data/docs/FilesystemExportResponse.md +1 -1
- data/docs/GenericRemoteResponse.md +1 -1
- data/docs/GroupRoleResponse.md +1 -1
- data/docs/NestedOpenPGPPublicSubkeyResponse.md +1 -1
- data/docs/NestedOpenPGPUserAttributeResponse.md +1 -1
- data/docs/NestedOpenPGPUserIDResponse.md +1 -1
- data/docs/OpenPGPPublicKeyResponse.md +3 -3
- data/docs/OpenPGPPublicSubkeyResponse.md +1 -1
- data/docs/OpenPGPUserAttributeResponse.md +1 -1
- data/docs/OpenPGPUserIDResponse.md +1 -1
- data/docs/PatchedDomain.md +2 -0
- data/docs/PulpExportResponse.md +1 -1
- data/docs/Purge.md +1 -1
- data/docs/RBACContentGuardResponse.md +2 -2
- data/docs/TaskGroupResponse.md +2 -2
- data/docs/TaskResponse.md +4 -4
- data/docs/UploadDetailResponse.md +1 -1
- data/docs/UpstreamPulpResponse.md +1 -1
- data/docs/UserResponse.md +2 -2
- data/docs/UserRoleResponse.md +1 -1
- data/lib/pulpcore_client/api/domains_api.rb +154 -3
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +59 -59
- data/lib/pulpcore_client/models/domain.rb +12 -1
- data/lib/pulpcore_client/models/domain_response.rb +12 -1
- data/lib/pulpcore_client/models/generic_remote_response.rb +0 -15
- data/lib/pulpcore_client/models/nested_open_pgp_signature.rb +0 -9
- data/lib/pulpcore_client/models/nested_open_pgp_signature_response.rb +0 -15
- data/lib/pulpcore_client/models/open_pgp_keyring.rb +0 -15
- data/lib/pulpcore_client/models/open_pgp_keyring_response.rb +0 -15
- data/lib/pulpcore_client/models/open_pgp_signature_response.rb +0 -15
- data/lib/pulpcore_client/models/paginated_access_policy_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_artifact_distribution_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_artifact_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_composite_content_guard_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_content_guard_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_content_redirect_content_guard_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_distribution_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_domain_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_filesystem_export_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_filesystem_exporter_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_generic_remote_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_group_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_group_role_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_group_user_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_header_content_guard_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_import_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_multiple_artifact_content_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_open_pgp_distribution_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_open_pgp_keyring_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_open_pgp_public_key_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_open_pgp_public_subkey_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_open_pgp_signature_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_open_pgp_user_attribute_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_open_pgp_user_id_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_publication_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_pulp_export_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_pulp_exporter_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_pulp_importer_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_rbac_content_guard_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_repository_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_repository_version_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_role_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_signing_service_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_task_group_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_task_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_task_schedule_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_upload_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_upstream_pulp_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_user_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_user_role_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_worker_response_list.rb +0 -2
- data/lib/pulpcore_client/models/patched_domain.rb +12 -1
- data/lib/pulpcore_client/models/patched_open_pgp_keyring.rb +0 -15
- data/lib/pulpcore_client/models/purge.rb +2 -0
- data/lib/pulpcore_client/models/repository_response.rb +0 -15
- data/lib/pulpcore_client/models/storage_response.rb +0 -45
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/api/domains_api_spec.rb +28 -1
- data/spec/models/artifact_distribution_response_spec.rb +11 -11
- data/spec/models/domain_response_spec.rb +6 -0
- data/spec/models/domain_spec.rb +6 -0
- data/spec/models/patched_domain_spec.rb +6 -0
- metadata +2 -2
@@ -96,18 +96,6 @@ module PulpcoreClient
|
|
96
96
|
def list_invalid_properties
|
97
97
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
98
98
|
invalid_properties = Array.new
|
99
|
-
if @total < 0
|
100
|
-
invalid_properties.push('invalid value for "total", must be greater than or equal to 0.')
|
101
|
-
end
|
102
|
-
|
103
|
-
if @used < 0
|
104
|
-
invalid_properties.push('invalid value for "used", must be greater than or equal to 0.')
|
105
|
-
end
|
106
|
-
|
107
|
-
if @free < 0
|
108
|
-
invalid_properties.push('invalid value for "free", must be greater than or equal to 0.')
|
109
|
-
end
|
110
|
-
|
111
99
|
invalid_properties
|
112
100
|
end
|
113
101
|
|
@@ -115,42 +103,9 @@ module PulpcoreClient
|
|
115
103
|
# @return true if the model is valid
|
116
104
|
def valid?
|
117
105
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
118
|
-
return false if @total < 0
|
119
|
-
return false if @used < 0
|
120
|
-
return false if @free < 0
|
121
106
|
true
|
122
107
|
end
|
123
108
|
|
124
|
-
# Custom attribute writer method with validation
|
125
|
-
# @param [Object] total Value to be assigned
|
126
|
-
def total=(total)
|
127
|
-
if !total.nil? && total < 0
|
128
|
-
fail ArgumentError, 'invalid value for "total", must be greater than or equal to 0.'
|
129
|
-
end
|
130
|
-
|
131
|
-
@total = total
|
132
|
-
end
|
133
|
-
|
134
|
-
# Custom attribute writer method with validation
|
135
|
-
# @param [Object] used Value to be assigned
|
136
|
-
def used=(used)
|
137
|
-
if !used.nil? && used < 0
|
138
|
-
fail ArgumentError, 'invalid value for "used", must be greater than or equal to 0.'
|
139
|
-
end
|
140
|
-
|
141
|
-
@used = used
|
142
|
-
end
|
143
|
-
|
144
|
-
# Custom attribute writer method with validation
|
145
|
-
# @param [Object] free Value to be assigned
|
146
|
-
def free=(free)
|
147
|
-
if !free.nil? && free < 0
|
148
|
-
fail ArgumentError, 'invalid value for "free", must be greater than or equal to 0.'
|
149
|
-
end
|
150
|
-
|
151
|
-
@free = free
|
152
|
-
end
|
153
|
-
|
154
109
|
# Checks equality by comparing each attribute.
|
155
110
|
# @param [Object] Object to be compared
|
156
111
|
def ==(o)
|
@@ -71,10 +71,11 @@ describe 'DomainsApi' do
|
|
71
71
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
72
72
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
73
73
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
74
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `name` - Name * `-name` - Name (descending) * `description` - Description * `-description` - Description (descending) * `storage_class` - Storage class * `-storage_class` - Storage class (descending) * `storage_settings` - Storage settings * `-storage_settings` - Storage settings (descending) * `redirect_to_object_storage` - Redirect to object storage * `-redirect_to_object_storage` - Redirect to object storage (descending) * `hide_guarded_distributions` - Hide guarded distributions * `-hide_guarded_distributions` - Hide guarded distributions (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
74
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `storage_class` - Storage class * `-storage_class` - Storage class (descending) * `storage_settings` - Storage settings * `-storage_settings` - Storage settings (descending) * `redirect_to_object_storage` - Redirect to object storage * `-redirect_to_object_storage` - Redirect to object storage (descending) * `hide_guarded_distributions` - Hide guarded distributions * `-hide_guarded_distributions` - Hide guarded distributions (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
75
75
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
76
76
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
77
77
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
78
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
78
79
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
79
80
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
80
81
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -124,6 +125,32 @@ describe 'DomainsApi' do
|
|
124
125
|
end
|
125
126
|
end
|
126
127
|
|
128
|
+
# unit tests for set_label
|
129
|
+
# Set a label
|
130
|
+
# Set a single pulp_label on the object to a specific value or null.
|
131
|
+
# @param domain_href
|
132
|
+
# @param set_label
|
133
|
+
# @param [Hash] opts the optional parameters
|
134
|
+
# @return [SetLabelResponse]
|
135
|
+
describe 'set_label test' do
|
136
|
+
it 'should work' do
|
137
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
141
|
+
# unit tests for unset_label
|
142
|
+
# Unset a label
|
143
|
+
# Unset a single pulp_label on the object.
|
144
|
+
# @param domain_href
|
145
|
+
# @param unset_label
|
146
|
+
# @param [Hash] opts the optional parameters
|
147
|
+
# @return [UnsetLabelResponse]
|
148
|
+
describe 'unset_label test' do
|
149
|
+
it 'should work' do
|
150
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
127
154
|
# unit tests for update
|
128
155
|
# Update a domain
|
129
156
|
# Trigger an asynchronous update task
|
@@ -27,67 +27,67 @@ describe PulpcoreClient::ArtifactDistributionResponse do
|
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|
30
|
-
describe 'test attribute "
|
30
|
+
describe 'test attribute "content_guard"' do
|
31
31
|
it 'should work' do
|
32
32
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
36
|
-
describe 'test attribute "
|
36
|
+
describe 'test attribute "no_content_change_since"' do
|
37
37
|
it 'should work' do
|
38
38
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
39
39
|
end
|
40
40
|
end
|
41
41
|
|
42
|
-
describe 'test attribute "
|
42
|
+
describe 'test attribute "base_path"' do
|
43
43
|
it 'should work' do
|
44
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
45
|
end
|
46
46
|
end
|
47
47
|
|
48
|
-
describe 'test attribute "
|
48
|
+
describe 'test attribute "pulp_labels"' do
|
49
49
|
it 'should work' do
|
50
50
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
54
|
-
describe 'test attribute "
|
54
|
+
describe 'test attribute "hidden"' do
|
55
55
|
it 'should work' do
|
56
56
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
57
|
end
|
58
58
|
end
|
59
59
|
|
60
|
-
describe 'test attribute "
|
60
|
+
describe 'test attribute "pulp_last_updated"' do
|
61
61
|
it 'should work' do
|
62
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
63
63
|
end
|
64
64
|
end
|
65
65
|
|
66
|
-
describe 'test attribute "
|
66
|
+
describe 'test attribute "base_url"' do
|
67
67
|
it 'should work' do
|
68
68
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
69
69
|
end
|
70
70
|
end
|
71
71
|
|
72
|
-
describe 'test attribute "
|
72
|
+
describe 'test attribute "name"' do
|
73
73
|
it 'should work' do
|
74
74
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
75
75
|
end
|
76
76
|
end
|
77
77
|
|
78
|
-
describe 'test attribute "
|
78
|
+
describe 'test attribute "prn"' do
|
79
79
|
it 'should work' do
|
80
80
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
81
81
|
end
|
82
82
|
end
|
83
83
|
|
84
|
-
describe 'test attribute "
|
84
|
+
describe 'test attribute "pulp_created"' do
|
85
85
|
it 'should work' do
|
86
86
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
87
87
|
end
|
88
88
|
end
|
89
89
|
|
90
|
-
describe 'test attribute "
|
90
|
+
describe 'test attribute "pulp_href"' do
|
91
91
|
it 'should work' do
|
92
92
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
93
93
|
end
|
@@ -63,6 +63,12 @@ describe PulpcoreClient::DomainResponse do
|
|
63
63
|
end
|
64
64
|
end
|
65
65
|
|
66
|
+
describe 'test attribute "pulp_labels"' do
|
67
|
+
it 'should work' do
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
66
72
|
describe 'test attribute "storage_class"' do
|
67
73
|
it 'should work' do
|
68
74
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
data/spec/models/domain_spec.rb
CHANGED
@@ -39,6 +39,12 @@ describe PulpcoreClient::Domain do
|
|
39
39
|
end
|
40
40
|
end
|
41
41
|
|
42
|
+
describe 'test attribute "pulp_labels"' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
42
48
|
describe 'test attribute "storage_class"' do
|
43
49
|
it 'should work' do
|
44
50
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
@@ -39,6 +39,12 @@ describe PulpcoreClient::PatchedDomain do
|
|
39
39
|
end
|
40
40
|
end
|
41
41
|
|
42
|
+
describe 'test attribute "pulp_labels"' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
42
48
|
describe 'test attribute "storage_class"' do
|
43
49
|
it 'should work' do
|
44
50
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulpcore_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.72.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-02-
|
11
|
+
date: 2025-02-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday-net_http
|