pulp_rpm_client 3.22.3 → 3.22.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +42 -29
  3. data/docs/AcsRpmApi.md +19 -9
  4. data/docs/ContentAdvisoriesApi.md +3 -1
  5. data/docs/ContentDistributionTreesApi.md +3 -1
  6. data/docs/ContentModulemdDefaultsApi.md +3 -1
  7. data/docs/ContentModulemdObsoletesApi.md +3 -1
  8. data/docs/ContentModulemdsApi.md +3 -1
  9. data/docs/ContentPackagecategoriesApi.md +3 -1
  10. data/docs/ContentPackageenvironmentsApi.md +3 -1
  11. data/docs/ContentPackagegroupsApi.md +3 -1
  12. data/docs/ContentPackagelangpacksApi.md +3 -1
  13. data/docs/ContentPackagesApi.md +3 -1
  14. data/docs/ContentRepoMetadataFilesApi.md +3 -1
  15. data/docs/DistributionsRpmApi.md +132 -10
  16. data/docs/PublicationsRpmApi.md +15 -9
  17. data/docs/RemotesRpmApi.md +131 -9
  18. data/docs/RemotesUlnApi.md +131 -9
  19. data/docs/RepositoriesRpmApi.md +132 -10
  20. data/docs/RepositoriesRpmVersionsApi.md +3 -1
  21. data/docs/RpmCompsApi.md +1 -1
  22. data/docs/RpmCopyApi.md +1 -1
  23. data/docs/SetLabel.md +19 -0
  24. data/docs/SetLabelResponse.md +19 -0
  25. data/docs/UnsetLabel.md +17 -0
  26. data/docs/UnsetLabelResponse.md +19 -0
  27. data/lib/pulp_rpm_client/api/acs_rpm_api.rb +17 -0
  28. data/lib/pulp_rpm_client/api/content_advisories_api.rb +3 -0
  29. data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +3 -0
  30. data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +3 -0
  31. data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +3 -0
  32. data/lib/pulp_rpm_client/api/content_modulemds_api.rb +3 -0
  33. data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +3 -0
  34. data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +3 -0
  35. data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +3 -0
  36. data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +3 -0
  37. data/lib/pulp_rpm_client/api/content_packages_api.rb +3 -0
  38. data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +3 -0
  39. data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +157 -0
  40. data/lib/pulp_rpm_client/api/publications_rpm_api.rb +11 -0
  41. data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +157 -0
  42. data/lib/pulp_rpm_client/api/remotes_uln_api.rb +157 -0
  43. data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +157 -0
  44. data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +3 -0
  45. data/lib/pulp_rpm_client/configuration.rb +2 -2
  46. data/lib/pulp_rpm_client/models/set_label.rb +252 -0
  47. data/lib/pulp_rpm_client/models/set_label_response.rb +243 -0
  48. data/lib/pulp_rpm_client/models/unset_label.rb +242 -0
  49. data/lib/pulp_rpm_client/models/unset_label_response.rb +242 -0
  50. data/lib/pulp_rpm_client/version.rb +1 -1
  51. data/lib/pulp_rpm_client.rb +4 -0
  52. data/spec/api/acs_rpm_api_spec.rb +7 -0
  53. data/spec/api/content_advisories_api_spec.rb +1 -0
  54. data/spec/api/content_distribution_trees_api_spec.rb +1 -0
  55. data/spec/api/content_modulemd_defaults_api_spec.rb +1 -0
  56. data/spec/api/content_modulemd_obsoletes_api_spec.rb +1 -0
  57. data/spec/api/content_modulemds_api_spec.rb +1 -0
  58. data/spec/api/content_packagecategories_api_spec.rb +1 -0
  59. data/spec/api/content_packageenvironments_api_spec.rb +1 -0
  60. data/spec/api/content_packagegroups_api_spec.rb +1 -0
  61. data/spec/api/content_packagelangpacks_api_spec.rb +1 -0
  62. data/spec/api/content_packages_api_spec.rb +1 -0
  63. data/spec/api/content_repo_metadata_files_api_spec.rb +1 -0
  64. data/spec/api/distributions_rpm_api_spec.rb +33 -0
  65. data/spec/api/publications_rpm_api_spec.rb +5 -0
  66. data/spec/api/remotes_rpm_api_spec.rb +33 -0
  67. data/spec/api/remotes_uln_api_spec.rb +33 -0
  68. data/spec/api/repositories_rpm_api_spec.rb +33 -0
  69. data/spec/api/repositories_rpm_versions_api_spec.rb +1 -0
  70. data/spec/configuration_spec.rb +3 -3
  71. data/spec/models/set_label_response_spec.rb +47 -0
  72. data/spec/models/set_label_spec.rb +47 -0
  73. data/spec/models/unset_label_response_spec.rb +47 -0
  74. data/spec/models/unset_label_spec.rb +41 -0
  75. metadata +97 -81
@@ -0,0 +1,242 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module PulpRpmClient
16
+ # Serializer for synchronously setting a label.
17
+ class UnsetLabel
18
+ attr_accessor :key
19
+
20
+ # Attribute mapping from ruby-style variable name to JSON key.
21
+ def self.attribute_map
22
+ {
23
+ :'key' => :'key'
24
+ }
25
+ end
26
+
27
+ # Attribute type mapping.
28
+ def self.openapi_types
29
+ {
30
+ :'key' => :'String'
31
+ }
32
+ end
33
+
34
+ # List of attributes with nullable: true
35
+ def self.openapi_nullable
36
+ Set.new([
37
+ ])
38
+ end
39
+
40
+ # Initializes the object
41
+ # @param [Hash] attributes Model attributes in the form of hash
42
+ def initialize(attributes = {})
43
+ if (!attributes.is_a?(Hash))
44
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::UnsetLabel` initialize method"
45
+ end
46
+
47
+ # check to see if the attribute exists and convert string to symbol for hash key
48
+ attributes = attributes.each_with_object({}) { |(k, v), h|
49
+ if (!self.class.attribute_map.key?(k.to_sym))
50
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::UnsetLabel`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
51
+ end
52
+ h[k.to_sym] = v
53
+ }
54
+
55
+ if attributes.key?(:'key')
56
+ self.key = attributes[:'key']
57
+ end
58
+ end
59
+
60
+ # Show invalid properties with the reasons. Usually used together with valid?
61
+ # @return Array for valid properties with the reasons
62
+ def list_invalid_properties
63
+ invalid_properties = Array.new
64
+ if @key.nil?
65
+ invalid_properties.push('invalid value for "key", key cannot be nil.')
66
+ end
67
+
68
+ if @key.to_s.length < 1
69
+ invalid_properties.push('invalid value for "key", the character length must be great than or equal to 1.')
70
+ end
71
+
72
+ pattern = Regexp.new(/^[-a-zA-Z0-9_]+$/)
73
+ if @key !~ pattern
74
+ invalid_properties.push("invalid value for \"key\", must conform to the pattern #{pattern}.")
75
+ end
76
+
77
+ invalid_properties
78
+ end
79
+
80
+ # Check to see if the all the properties in the model are valid
81
+ # @return true if the model is valid
82
+ def valid?
83
+ return false if @key.nil?
84
+ return false if @key.to_s.length < 1
85
+ return false if @key !~ Regexp.new(/^[-a-zA-Z0-9_]+$/)
86
+ true
87
+ end
88
+
89
+ # Custom attribute writer method with validation
90
+ # @param [Object] key Value to be assigned
91
+ def key=(key)
92
+ if key.nil?
93
+ fail ArgumentError, 'key cannot be nil'
94
+ end
95
+
96
+ if key.to_s.length < 1
97
+ fail ArgumentError, 'invalid value for "key", the character length must be great than or equal to 1.'
98
+ end
99
+
100
+ pattern = Regexp.new(/^[-a-zA-Z0-9_]+$/)
101
+ if key !~ pattern
102
+ fail ArgumentError, "invalid value for \"key\", must conform to the pattern #{pattern}."
103
+ end
104
+
105
+ @key = key
106
+ end
107
+
108
+ # Checks equality by comparing each attribute.
109
+ # @param [Object] Object to be compared
110
+ def ==(o)
111
+ return true if self.equal?(o)
112
+ self.class == o.class &&
113
+ key == o.key
114
+ end
115
+
116
+ # @see the `==` method
117
+ # @param [Object] Object to be compared
118
+ def eql?(o)
119
+ self == o
120
+ end
121
+
122
+ # Calculates hash code according to all attributes.
123
+ # @return [Integer] Hash code
124
+ def hash
125
+ [key].hash
126
+ end
127
+
128
+ # Builds the object from hash
129
+ # @param [Hash] attributes Model attributes in the form of hash
130
+ # @return [Object] Returns the model itself
131
+ def self.build_from_hash(attributes)
132
+ new.build_from_hash(attributes)
133
+ end
134
+
135
+ # Builds the object from hash
136
+ # @param [Hash] attributes Model attributes in the form of hash
137
+ # @return [Object] Returns the model itself
138
+ def build_from_hash(attributes)
139
+ return nil unless attributes.is_a?(Hash)
140
+ self.class.openapi_types.each_pair do |key, type|
141
+ if type =~ /\AArray<(.*)>/i
142
+ # check to ensure the input is an array given that the attribute
143
+ # is documented as an array but the input is not
144
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
145
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
146
+ end
147
+ elsif !attributes[self.class.attribute_map[key]].nil?
148
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
149
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
150
+ end
151
+
152
+ self
153
+ end
154
+
155
+ # Deserializes the data based on type
156
+ # @param string type Data type
157
+ # @param string value Value to be deserialized
158
+ # @return [Object] Deserialized data
159
+ def _deserialize(type, value)
160
+ case type.to_sym
161
+ when :DateTime
162
+ DateTime.parse(value)
163
+ when :Date
164
+ Date.parse(value)
165
+ when :String
166
+ value.to_s
167
+ when :Integer
168
+ value.to_i
169
+ when :Float
170
+ value.to_f
171
+ when :Boolean
172
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
173
+ true
174
+ else
175
+ false
176
+ end
177
+ when :Object
178
+ # generic object (usually a Hash), return directly
179
+ value
180
+ when /\AArray<(?<inner_type>.+)>\z/
181
+ inner_type = Regexp.last_match[:inner_type]
182
+ value.map { |v| _deserialize(inner_type, v) }
183
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
184
+ k_type = Regexp.last_match[:k_type]
185
+ v_type = Regexp.last_match[:v_type]
186
+ {}.tap do |hash|
187
+ value.each do |k, v|
188
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
189
+ end
190
+ end
191
+ else # model
192
+ PulpRpmClient.const_get(type).build_from_hash(value)
193
+ end
194
+ end
195
+
196
+ # Returns the string representation of the object
197
+ # @return [String] String presentation of the object
198
+ def to_s
199
+ to_hash.to_s
200
+ end
201
+
202
+ # to_body is an alias to to_hash (backward compatibility)
203
+ # @return [Hash] Returns the object in the form of hash
204
+ def to_body
205
+ to_hash
206
+ end
207
+
208
+ # Returns the object in the form of hash
209
+ # @return [Hash] Returns the object in the form of hash
210
+ def to_hash
211
+ hash = {}
212
+ self.class.attribute_map.each_pair do |attr, param|
213
+ value = self.send(attr)
214
+ if value.nil?
215
+ is_nullable = self.class.openapi_nullable.include?(attr)
216
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
217
+ end
218
+
219
+ hash[param] = _to_hash(value)
220
+ end
221
+ hash
222
+ end
223
+
224
+ # Outputs non-array value in the form of hash
225
+ # For object, use to_hash. Otherwise, just return the value
226
+ # @param [Object] value Any valid value
227
+ # @return [Hash] Returns the value in the form of hash
228
+ def _to_hash(value)
229
+ if value.is_a?(Array)
230
+ value.compact.map { |v| _to_hash(v) }
231
+ elsif value.is_a?(Hash)
232
+ {}.tap do |hash|
233
+ value.each { |k, v| hash[k] = _to_hash(v) }
234
+ end
235
+ elsif value.respond_to? :to_hash
236
+ value.to_hash
237
+ else
238
+ value
239
+ end
240
+ end
241
+ end
242
+ end
@@ -0,0 +1,242 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module PulpRpmClient
16
+ # Serializer for synchronously setting a label.
17
+ class UnsetLabelResponse
18
+ attr_accessor :key
19
+
20
+ attr_accessor :value
21
+
22
+ # Attribute mapping from ruby-style variable name to JSON key.
23
+ def self.attribute_map
24
+ {
25
+ :'key' => :'key',
26
+ :'value' => :'value'
27
+ }
28
+ end
29
+
30
+ # Attribute type mapping.
31
+ def self.openapi_types
32
+ {
33
+ :'key' => :'String',
34
+ :'value' => :'String'
35
+ }
36
+ end
37
+
38
+ # List of attributes with nullable: true
39
+ def self.openapi_nullable
40
+ Set.new([
41
+ ])
42
+ end
43
+
44
+ # Initializes the object
45
+ # @param [Hash] attributes Model attributes in the form of hash
46
+ def initialize(attributes = {})
47
+ if (!attributes.is_a?(Hash))
48
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::UnsetLabelResponse` initialize method"
49
+ end
50
+
51
+ # check to see if the attribute exists and convert string to symbol for hash key
52
+ attributes = attributes.each_with_object({}) { |(k, v), h|
53
+ if (!self.class.attribute_map.key?(k.to_sym))
54
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::UnsetLabelResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
55
+ end
56
+ h[k.to_sym] = v
57
+ }
58
+
59
+ if attributes.key?(:'key')
60
+ self.key = attributes[:'key']
61
+ end
62
+
63
+ if attributes.key?(:'value')
64
+ self.value = attributes[:'value']
65
+ end
66
+ end
67
+
68
+ # Show invalid properties with the reasons. Usually used together with valid?
69
+ # @return Array for valid properties with the reasons
70
+ def list_invalid_properties
71
+ invalid_properties = Array.new
72
+ if @key.nil?
73
+ invalid_properties.push('invalid value for "key", key cannot be nil.')
74
+ end
75
+
76
+ pattern = Regexp.new(/^[-a-zA-Z0-9_]+$/)
77
+ if @key !~ pattern
78
+ invalid_properties.push("invalid value for \"key\", must conform to the pattern #{pattern}.")
79
+ end
80
+
81
+ invalid_properties
82
+ end
83
+
84
+ # Check to see if the all the properties in the model are valid
85
+ # @return true if the model is valid
86
+ def valid?
87
+ return false if @key.nil?
88
+ return false if @key !~ Regexp.new(/^[-a-zA-Z0-9_]+$/)
89
+ true
90
+ end
91
+
92
+ # Custom attribute writer method with validation
93
+ # @param [Object] key Value to be assigned
94
+ def key=(key)
95
+ if key.nil?
96
+ fail ArgumentError, 'key cannot be nil'
97
+ end
98
+
99
+ pattern = Regexp.new(/^[-a-zA-Z0-9_]+$/)
100
+ if key !~ pattern
101
+ fail ArgumentError, "invalid value for \"key\", must conform to the pattern #{pattern}."
102
+ end
103
+
104
+ @key = key
105
+ end
106
+
107
+ # Checks equality by comparing each attribute.
108
+ # @param [Object] Object to be compared
109
+ def ==(o)
110
+ return true if self.equal?(o)
111
+ self.class == o.class &&
112
+ key == o.key &&
113
+ value == o.value
114
+ end
115
+
116
+ # @see the `==` method
117
+ # @param [Object] Object to be compared
118
+ def eql?(o)
119
+ self == o
120
+ end
121
+
122
+ # Calculates hash code according to all attributes.
123
+ # @return [Integer] Hash code
124
+ def hash
125
+ [key, value].hash
126
+ end
127
+
128
+ # Builds the object from hash
129
+ # @param [Hash] attributes Model attributes in the form of hash
130
+ # @return [Object] Returns the model itself
131
+ def self.build_from_hash(attributes)
132
+ new.build_from_hash(attributes)
133
+ end
134
+
135
+ # Builds the object from hash
136
+ # @param [Hash] attributes Model attributes in the form of hash
137
+ # @return [Object] Returns the model itself
138
+ def build_from_hash(attributes)
139
+ return nil unless attributes.is_a?(Hash)
140
+ self.class.openapi_types.each_pair do |key, type|
141
+ if type =~ /\AArray<(.*)>/i
142
+ # check to ensure the input is an array given that the attribute
143
+ # is documented as an array but the input is not
144
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
145
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
146
+ end
147
+ elsif !attributes[self.class.attribute_map[key]].nil?
148
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
149
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
150
+ end
151
+
152
+ self
153
+ end
154
+
155
+ # Deserializes the data based on type
156
+ # @param string type Data type
157
+ # @param string value Value to be deserialized
158
+ # @return [Object] Deserialized data
159
+ def _deserialize(type, value)
160
+ case type.to_sym
161
+ when :DateTime
162
+ DateTime.parse(value)
163
+ when :Date
164
+ Date.parse(value)
165
+ when :String
166
+ value.to_s
167
+ when :Integer
168
+ value.to_i
169
+ when :Float
170
+ value.to_f
171
+ when :Boolean
172
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
173
+ true
174
+ else
175
+ false
176
+ end
177
+ when :Object
178
+ # generic object (usually a Hash), return directly
179
+ value
180
+ when /\AArray<(?<inner_type>.+)>\z/
181
+ inner_type = Regexp.last_match[:inner_type]
182
+ value.map { |v| _deserialize(inner_type, v) }
183
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
184
+ k_type = Regexp.last_match[:k_type]
185
+ v_type = Regexp.last_match[:v_type]
186
+ {}.tap do |hash|
187
+ value.each do |k, v|
188
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
189
+ end
190
+ end
191
+ else # model
192
+ PulpRpmClient.const_get(type).build_from_hash(value)
193
+ end
194
+ end
195
+
196
+ # Returns the string representation of the object
197
+ # @return [String] String presentation of the object
198
+ def to_s
199
+ to_hash.to_s
200
+ end
201
+
202
+ # to_body is an alias to to_hash (backward compatibility)
203
+ # @return [Hash] Returns the object in the form of hash
204
+ def to_body
205
+ to_hash
206
+ end
207
+
208
+ # Returns the object in the form of hash
209
+ # @return [Hash] Returns the object in the form of hash
210
+ def to_hash
211
+ hash = {}
212
+ self.class.attribute_map.each_pair do |attr, param|
213
+ value = self.send(attr)
214
+ if value.nil?
215
+ is_nullable = self.class.openapi_nullable.include?(attr)
216
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
217
+ end
218
+
219
+ hash[param] = _to_hash(value)
220
+ end
221
+ hash
222
+ end
223
+
224
+ # Outputs non-array value in the form of hash
225
+ # For object, use to_hash. Otherwise, just return the value
226
+ # @param [Object] value Any valid value
227
+ # @return [Hash] Returns the value in the form of hash
228
+ def _to_hash(value)
229
+ if value.is_a?(Array)
230
+ value.compact.map { |v| _to_hash(v) }
231
+ elsif value.is_a?(Hash)
232
+ {}.tap do |hash|
233
+ value.each { |k, v| hash[k] = _to_hash(v) }
234
+ end
235
+ elsif value.respond_to? :to_hash
236
+ value.to_hash
237
+ else
238
+ value
239
+ end
240
+ end
241
+ end
242
+ end
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpRpmClient
14
- VERSION = '3.22.3'
14
+ VERSION = '3.22.4'
15
15
  end
@@ -90,9 +90,13 @@ require 'pulp_rpm_client/models/rpm_update_collection'
90
90
  require 'pulp_rpm_client/models/rpm_update_collection_response'
91
91
  require 'pulp_rpm_client/models/rpm_update_record'
92
92
  require 'pulp_rpm_client/models/rpm_update_record_response'
93
+ require 'pulp_rpm_client/models/set_label'
94
+ require 'pulp_rpm_client/models/set_label_response'
93
95
  require 'pulp_rpm_client/models/skip_types_enum'
94
96
  require 'pulp_rpm_client/models/sync_policy_enum'
95
97
  require 'pulp_rpm_client/models/task_group_operation_response'
98
+ require 'pulp_rpm_client/models/unset_label'
99
+ require 'pulp_rpm_client/models/unset_label_response'
96
100
  require 'pulp_rpm_client/models/variant_response'
97
101
 
98
102
  # APIs
@@ -33,6 +33,7 @@ describe 'AcsRpmApi' do
33
33
  end
34
34
 
35
35
  # unit tests for add_role
36
+ # Add a role
36
37
  # Add a role for this object to users/groups.
37
38
  # @param rpm_rpm_alternate_content_source_href
38
39
  # @param nested_role
@@ -76,12 +77,15 @@ describe 'AcsRpmApi' do
76
77
  # @option opts [String] :name Filter results where name matches value
77
78
  # @option opts [String] :name__contains Filter results where name contains value
78
79
  # @option opts [String] :name__icontains Filter results where name contains value
80
+ # @option opts [String] :name__iexact Filter results where name matches value
79
81
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
82
+ # @option opts [String] :name__istartswith Filter results where name starts with value
80
83
  # @option opts [String] :name__startswith Filter results where name starts with value
81
84
  # @option opts [Integer] :offset The initial index from which to return the results.
82
85
  # @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;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;last_refreshed&#x60; - Last refreshed * &#x60;-last_refreshed&#x60; - Last refreshed (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
83
86
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
84
87
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
88
+ # @option opts [String] :q
85
89
  # @option opts [Array<String>] :fields A list of fields to include in the response.
86
90
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
87
91
  # @return [PaginatedrpmRpmAlternateContentSourceResponseList]
@@ -92,6 +96,7 @@ describe 'AcsRpmApi' do
92
96
  end
93
97
 
94
98
  # unit tests for list_roles
99
+ # List roles
95
100
  # List roles assigned to this object.
96
101
  # @param rpm_rpm_alternate_content_source_href
97
102
  # @param [Hash] opts the optional parameters
@@ -105,6 +110,7 @@ describe 'AcsRpmApi' do
105
110
  end
106
111
 
107
112
  # unit tests for my_permissions
113
+ # List user permissions
108
114
  # List permissions available to the current user on this object.
109
115
  # @param rpm_rpm_alternate_content_source_href
110
116
  # @param [Hash] opts the optional parameters
@@ -156,6 +162,7 @@ describe 'AcsRpmApi' do
156
162
  end
157
163
 
158
164
  # unit tests for remove_role
165
+ # Remove a role
159
166
  # Remove a role for this object from users/groups.
160
167
  # @param rpm_rpm_alternate_content_source_href
161
168
  # @param nested_role
@@ -56,6 +56,7 @@ describe 'ContentAdvisoriesApi' do
56
56
  # @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;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;id&#x60; - Id * &#x60;-id&#x60; - Id (descending) * &#x60;updated_date&#x60; - Updated date * &#x60;-updated_date&#x60; - Updated date (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;issued_date&#x60; - Issued date * &#x60;-issued_date&#x60; - Issued date (descending) * &#x60;fromstr&#x60; - Fromstr * &#x60;-fromstr&#x60; - Fromstr (descending) * &#x60;status&#x60; - Status * &#x60;-status&#x60; - Status (descending) * &#x60;title&#x60; - Title * &#x60;-title&#x60; - Title (descending) * &#x60;summary&#x60; - Summary * &#x60;-summary&#x60; - Summary (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;type&#x60; - Type * &#x60;-type&#x60; - Type (descending) * &#x60;severity&#x60; - Severity * &#x60;-severity&#x60; - Severity (descending) * &#x60;solution&#x60; - Solution * &#x60;-solution&#x60; - Solution (descending) * &#x60;release&#x60; - Release * &#x60;-release&#x60; - Release (descending) * &#x60;rights&#x60; - Rights * &#x60;-rights&#x60; - Rights (descending) * &#x60;reboot_suggested&#x60; - Reboot suggested * &#x60;-reboot_suggested&#x60; - Reboot suggested (descending) * &#x60;pushcount&#x60; - Pushcount * &#x60;-pushcount&#x60; - Pushcount (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
57
57
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
58
58
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
59
+ # @option opts [String] :q
59
60
  # @option opts [String] :repository_version Repository Version referenced by HREF
60
61
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
61
62
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -41,6 +41,7 @@ describe 'ContentDistributionTreesApi' do
41
41
  # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
42
42
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
43
43
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
44
+ # @option opts [String] :q
44
45
  # @option opts [String] :repository_version Repository Version referenced by HREF
45
46
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
46
47
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -55,6 +55,7 @@ describe 'ContentModulemdDefaultsApi' do
55
55
  # @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;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;module&#x60; - Module * &#x60;-module&#x60; - Module (descending) * &#x60;stream&#x60; - Stream * &#x60;-stream&#x60; - Stream (descending) * &#x60;profiles&#x60; - Profiles * &#x60;-profiles&#x60; - Profiles (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;snippet&#x60; - Snippet * &#x60;-snippet&#x60; - Snippet (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
56
56
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
57
57
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
58
+ # @option opts [String] :q
58
59
  # @option opts [String] :repository_version Repository Version referenced by HREF
59
60
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
60
61
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -53,6 +53,7 @@ describe 'ContentModulemdObsoletesApi' do
53
53
  # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
54
54
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
55
55
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
56
+ # @option opts [String] :q
56
57
  # @option opts [String] :repository_version Repository Version referenced by HREF
57
58
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
58
59
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -59,6 +59,7 @@ describe 'ContentModulemdsApi' do
59
59
  # @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;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;stream&#x60; - Stream * &#x60;-stream&#x60; - Stream (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;context&#x60; - Context * &#x60;-context&#x60; - Context (descending) * &#x60;arch&#x60; - Arch * &#x60;-arch&#x60; - Arch (descending) * &#x60;static_context&#x60; - Static context * &#x60;-static_context&#x60; - Static context (descending) * &#x60;dependencies&#x60; - Dependencies * &#x60;-dependencies&#x60; - Dependencies (descending) * &#x60;artifacts&#x60; - Artifacts * &#x60;-artifacts&#x60; - Artifacts (descending) * &#x60;profiles&#x60; - Profiles * &#x60;-profiles&#x60; - Profiles (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;snippet&#x60; - Snippet * &#x60;-snippet&#x60; - Snippet (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
60
60
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
61
61
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
62
+ # @option opts [String] :q
62
63
  # @option opts [String] :repository_version Repository Version referenced by HREF
63
64
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
64
65
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -41,6 +41,7 @@ describe 'ContentPackagecategoriesApi' do
41
41
  # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
42
42
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
43
43
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
44
+ # @option opts [String] :q
44
45
  # @option opts [String] :repository_version Repository Version referenced by HREF
45
46
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
46
47
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -41,6 +41,7 @@ describe 'ContentPackageenvironmentsApi' do
41
41
  # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
42
42
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
43
43
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
44
+ # @option opts [String] :q
44
45
  # @option opts [String] :repository_version Repository Version referenced by HREF
45
46
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
46
47
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -41,6 +41,7 @@ describe 'ContentPackagegroupsApi' do
41
41
  # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
42
42
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
43
43
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
44
+ # @option opts [String] :q
44
45
  # @option opts [String] :repository_version Repository Version referenced by HREF
45
46
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
46
47
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -41,6 +41,7 @@ describe 'ContentPackagelangpacksApi' do
41
41
  # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
42
42
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
43
43
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
44
+ # @option opts [String] :q
44
45
  # @option opts [String] :repository_version Repository Version referenced by HREF
45
46
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
46
47
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -75,6 +75,7 @@ describe 'ContentPackagesApi' do
75
75
  # @option opts [Array<String>] :pkg_id__in Filter results where pkgId is in a comma-separated list of values
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] :q
78
79
  # @option opts [String] :release Filter results where release matches value
79
80
  # @option opts [String] :release__contains Filter results where release contains value
80
81
  # @option opts [Array<String>] :release__in Filter results where release is in a comma-separated list of values
@@ -41,6 +41,7 @@ describe 'ContentRepoMetadataFilesApi' do
41
41
  # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
42
42
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
43
43
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
44
+ # @option opts [String] :q
44
45
  # @option opts [String] :repository_version Repository Version referenced by HREF
45
46
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
46
47
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF