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.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -4
  3. data/docs/ArtifactDistributionResponse.md +13 -13
  4. data/docs/Domain.md +2 -0
  5. data/docs/DomainResponse.md +2 -0
  6. data/docs/DomainsApi.md +150 -2
  7. data/docs/FilesystemExportResponse.md +1 -1
  8. data/docs/GenericRemoteResponse.md +1 -1
  9. data/docs/GroupRoleResponse.md +1 -1
  10. data/docs/NestedOpenPGPPublicSubkeyResponse.md +1 -1
  11. data/docs/NestedOpenPGPUserAttributeResponse.md +1 -1
  12. data/docs/NestedOpenPGPUserIDResponse.md +1 -1
  13. data/docs/OpenPGPPublicKeyResponse.md +3 -3
  14. data/docs/OpenPGPPublicSubkeyResponse.md +1 -1
  15. data/docs/OpenPGPUserAttributeResponse.md +1 -1
  16. data/docs/OpenPGPUserIDResponse.md +1 -1
  17. data/docs/PatchedDomain.md +2 -0
  18. data/docs/PulpExportResponse.md +1 -1
  19. data/docs/Purge.md +1 -1
  20. data/docs/RBACContentGuardResponse.md +2 -2
  21. data/docs/TaskGroupResponse.md +2 -2
  22. data/docs/TaskResponse.md +4 -4
  23. data/docs/UploadDetailResponse.md +1 -1
  24. data/docs/UpstreamPulpResponse.md +1 -1
  25. data/docs/UserResponse.md +2 -2
  26. data/docs/UserRoleResponse.md +1 -1
  27. data/lib/pulpcore_client/api/domains_api.rb +154 -3
  28. data/lib/pulpcore_client/models/artifact_distribution_response.rb +59 -59
  29. data/lib/pulpcore_client/models/domain.rb +12 -1
  30. data/lib/pulpcore_client/models/domain_response.rb +12 -1
  31. data/lib/pulpcore_client/models/generic_remote_response.rb +0 -15
  32. data/lib/pulpcore_client/models/nested_open_pgp_signature.rb +0 -9
  33. data/lib/pulpcore_client/models/nested_open_pgp_signature_response.rb +0 -15
  34. data/lib/pulpcore_client/models/open_pgp_keyring.rb +0 -15
  35. data/lib/pulpcore_client/models/open_pgp_keyring_response.rb +0 -15
  36. data/lib/pulpcore_client/models/open_pgp_signature_response.rb +0 -15
  37. data/lib/pulpcore_client/models/paginated_access_policy_response_list.rb +0 -2
  38. data/lib/pulpcore_client/models/paginated_artifact_distribution_response_list.rb +0 -2
  39. data/lib/pulpcore_client/models/paginated_artifact_response_list.rb +0 -2
  40. data/lib/pulpcore_client/models/paginated_composite_content_guard_response_list.rb +0 -2
  41. data/lib/pulpcore_client/models/paginated_content_guard_response_list.rb +0 -2
  42. data/lib/pulpcore_client/models/paginated_content_redirect_content_guard_response_list.rb +0 -2
  43. data/lib/pulpcore_client/models/paginated_distribution_response_list.rb +0 -2
  44. data/lib/pulpcore_client/models/paginated_domain_response_list.rb +0 -2
  45. data/lib/pulpcore_client/models/paginated_filesystem_export_response_list.rb +0 -2
  46. data/lib/pulpcore_client/models/paginated_filesystem_exporter_response_list.rb +0 -2
  47. data/lib/pulpcore_client/models/paginated_generic_remote_response_list.rb +0 -2
  48. data/lib/pulpcore_client/models/paginated_group_response_list.rb +0 -2
  49. data/lib/pulpcore_client/models/paginated_group_role_response_list.rb +0 -2
  50. data/lib/pulpcore_client/models/paginated_group_user_response_list.rb +0 -2
  51. data/lib/pulpcore_client/models/paginated_header_content_guard_response_list.rb +0 -2
  52. data/lib/pulpcore_client/models/paginated_import_response_list.rb +0 -2
  53. data/lib/pulpcore_client/models/paginated_multiple_artifact_content_response_list.rb +0 -2
  54. data/lib/pulpcore_client/models/paginated_open_pgp_distribution_response_list.rb +0 -2
  55. data/lib/pulpcore_client/models/paginated_open_pgp_keyring_response_list.rb +0 -2
  56. data/lib/pulpcore_client/models/paginated_open_pgp_public_key_response_list.rb +0 -2
  57. data/lib/pulpcore_client/models/paginated_open_pgp_public_subkey_response_list.rb +0 -2
  58. data/lib/pulpcore_client/models/paginated_open_pgp_signature_response_list.rb +0 -2
  59. data/lib/pulpcore_client/models/paginated_open_pgp_user_attribute_response_list.rb +0 -2
  60. data/lib/pulpcore_client/models/paginated_open_pgp_user_id_response_list.rb +0 -2
  61. data/lib/pulpcore_client/models/paginated_publication_response_list.rb +0 -2
  62. data/lib/pulpcore_client/models/paginated_pulp_export_response_list.rb +0 -2
  63. data/lib/pulpcore_client/models/paginated_pulp_exporter_response_list.rb +0 -2
  64. data/lib/pulpcore_client/models/paginated_pulp_importer_response_list.rb +0 -2
  65. data/lib/pulpcore_client/models/paginated_rbac_content_guard_response_list.rb +0 -2
  66. data/lib/pulpcore_client/models/paginated_repository_response_list.rb +0 -2
  67. data/lib/pulpcore_client/models/paginated_repository_version_response_list.rb +0 -2
  68. data/lib/pulpcore_client/models/paginated_role_response_list.rb +0 -2
  69. data/lib/pulpcore_client/models/paginated_signing_service_response_list.rb +0 -2
  70. data/lib/pulpcore_client/models/paginated_task_group_response_list.rb +0 -2
  71. data/lib/pulpcore_client/models/paginated_task_response_list.rb +0 -2
  72. data/lib/pulpcore_client/models/paginated_task_schedule_response_list.rb +0 -2
  73. data/lib/pulpcore_client/models/paginated_upload_response_list.rb +0 -2
  74. data/lib/pulpcore_client/models/paginated_upstream_pulp_response_list.rb +0 -2
  75. data/lib/pulpcore_client/models/paginated_user_response_list.rb +0 -2
  76. data/lib/pulpcore_client/models/paginated_user_role_response_list.rb +0 -2
  77. data/lib/pulpcore_client/models/paginated_worker_response_list.rb +0 -2
  78. data/lib/pulpcore_client/models/patched_domain.rb +12 -1
  79. data/lib/pulpcore_client/models/patched_open_pgp_keyring.rb +0 -15
  80. data/lib/pulpcore_client/models/purge.rb +2 -0
  81. data/lib/pulpcore_client/models/repository_response.rb +0 -15
  82. data/lib/pulpcore_client/models/storage_response.rb +0 -45
  83. data/lib/pulpcore_client/version.rb +1 -1
  84. data/spec/api/domains_api_spec.rb +28 -1
  85. data/spec/models/artifact_distribution_response_spec.rb +11 -11
  86. data/spec/models/domain_response_spec.rb +6 -0
  87. data/spec/models/domain_spec.rb +6 -0
  88. data/spec/models/patched_domain_spec.rb +6 -0
  89. 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)
@@ -11,5 +11,5 @@ Generator version: 7.10.0
11
11
  =end
12
12
 
13
13
  module PulpcoreClient
14
- VERSION = '3.71.2'
14
+ VERSION = '3.72.0'
15
15
  end
@@ -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 * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;storage_class&#x60; - Storage class * &#x60;-storage_class&#x60; - Storage class (descending) * &#x60;storage_settings&#x60; - Storage settings * &#x60;-storage_settings&#x60; - Storage settings (descending) * &#x60;redirect_to_object_storage&#x60; - Redirect to object storage * &#x60;-redirect_to_object_storage&#x60; - Redirect to object storage (descending) * &#x60;hide_guarded_distributions&#x60; - Hide guarded distributions * &#x60;-hide_guarded_distributions&#x60; - Hide guarded distributions (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
74
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;storage_class&#x60; - Storage class * &#x60;-storage_class&#x60; - Storage class (descending) * &#x60;storage_settings&#x60; - Storage settings * &#x60;-storage_settings&#x60; - Storage settings (descending) * &#x60;redirect_to_object_storage&#x60; - Redirect to object storage * &#x60;-redirect_to_object_storage&#x60; - Redirect to object storage (descending) * &#x60;hide_guarded_distributions&#x60; - Hide guarded distributions * &#x60;-hide_guarded_distributions&#x60; - Hide guarded distributions (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - 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 "pulp_created"' do
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 "name"' do
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 "no_content_change_since"' do
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 "pulp_last_updated"' do
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 "base_path"' do
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 "content_guard"' do
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 "hidden"' do
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 "pulp_labels"' do
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 "base_url"' do
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 "pulp_href"' do
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 "prn"' do
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/
@@ -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.71.2
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-24 00:00:00.000000000 Z
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