pulp_maven_client 0.22.1 → 0.23.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 (35) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -11
  3. data/docs/MavenMavenDistribution.md +1 -3
  4. data/docs/MavenMavenDistributionResponse.md +1 -3
  5. data/docs/MavenMavenRepository.md +1 -3
  6. data/docs/MavenMavenRepositoryResponse.md +1 -3
  7. data/docs/PatchedmavenMavenDistribution.md +1 -3
  8. data/docs/PatchedmavenMavenRepository.md +1 -3
  9. data/lib/pulp_maven_client/models/maven_maven_distribution.rb +5 -16
  10. data/lib/pulp_maven_client/models/maven_maven_distribution_response.rb +5 -16
  11. data/lib/pulp_maven_client/models/maven_maven_repository.rb +5 -17
  12. data/lib/pulp_maven_client/models/maven_maven_repository_response.rb +5 -17
  13. data/lib/pulp_maven_client/models/patchedmaven_maven_distribution.rb +5 -16
  14. data/lib/pulp_maven_client/models/patchedmaven_maven_repository.rb +5 -17
  15. data/lib/pulp_maven_client/version.rb +1 -1
  16. data/lib/pulp_maven_client.rb +0 -4
  17. data/spec/models/maven_maven_distribution_response_spec.rb +0 -6
  18. data/spec/models/maven_maven_distribution_spec.rb +0 -6
  19. data/spec/models/maven_maven_repository_response_spec.rb +0 -6
  20. data/spec/models/maven_maven_repository_spec.rb +0 -6
  21. data/spec/models/patchedmaven_maven_distribution_spec.rb +0 -6
  22. data/spec/models/patchedmaven_maven_repository_spec.rb +0 -6
  23. metadata +2 -18
  24. data/docs/MavenMavenPublication.md +0 -20
  25. data/docs/MavenMavenPublicationResponse.md +0 -28
  26. data/docs/PaginatedmavenMavenPublicationResponseList.md +0 -24
  27. data/docs/PublicationsMavenApi.md +0 -350
  28. data/lib/pulp_maven_client/api/publications_maven_api.rb +0 -356
  29. data/lib/pulp_maven_client/models/maven_maven_publication.rb +0 -225
  30. data/lib/pulp_maven_client/models/maven_maven_publication_response.rb +0 -264
  31. data/lib/pulp_maven_client/models/paginatedmaven_maven_publication_response_list.rb +0 -257
  32. data/spec/api/publications_maven_api_spec.rb +0 -109
  33. data/spec/models/maven_maven_publication_response_spec.rb +0 -66
  34. data/spec/models/maven_maven_publication_spec.rb +0 -42
  35. data/spec/models/paginatedmaven_maven_publication_response_list_spec.rb +0 -54
@@ -1,264 +0,0 @@
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
- Generator version: 7.10.0
10
-
11
- =end
12
-
13
- require 'date'
14
- require 'time'
15
-
16
- module PulpMavenClient
17
- # Serializer for Maven Publications.
18
- class MavenMavenPublicationResponse
19
- attr_accessor :pulp_href
20
-
21
- # The Pulp Resource Name (PRN).
22
- attr_accessor :prn
23
-
24
- # Timestamp of creation.
25
- attr_accessor :pulp_created
26
-
27
- # Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
28
- attr_accessor :pulp_last_updated
29
-
30
- attr_accessor :repository_version
31
-
32
- # A URI of the repository to be published.
33
- attr_accessor :repository
34
-
35
- # Attribute mapping from ruby-style variable name to JSON key.
36
- def self.attribute_map
37
- {
38
- :'pulp_href' => :'pulp_href',
39
- :'prn' => :'prn',
40
- :'pulp_created' => :'pulp_created',
41
- :'pulp_last_updated' => :'pulp_last_updated',
42
- :'repository_version' => :'repository_version',
43
- :'repository' => :'repository'
44
- }
45
- end
46
-
47
- # Returns all the JSON keys this model knows about
48
- def self.acceptable_attributes
49
- attribute_map.values
50
- end
51
-
52
- # Attribute type mapping.
53
- def self.openapi_types
54
- {
55
- :'pulp_href' => :'String',
56
- :'prn' => :'String',
57
- :'pulp_created' => :'Time',
58
- :'pulp_last_updated' => :'Time',
59
- :'repository_version' => :'String',
60
- :'repository' => :'String'
61
- }
62
- end
63
-
64
- # List of attributes with nullable: true
65
- def self.openapi_nullable
66
- Set.new([
67
- ])
68
- end
69
-
70
- # Initializes the object
71
- # @param [Hash] attributes Model attributes in the form of hash
72
- def initialize(attributes = {})
73
- if (!attributes.is_a?(Hash))
74
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpMavenClient::MavenMavenPublicationResponse` initialize method"
75
- end
76
-
77
- # check to see if the attribute exists and convert string to symbol for hash key
78
- attributes = attributes.each_with_object({}) { |(k, v), h|
79
- if (!self.class.attribute_map.key?(k.to_sym))
80
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpMavenClient::MavenMavenPublicationResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
81
- end
82
- h[k.to_sym] = v
83
- }
84
-
85
- if attributes.key?(:'pulp_href')
86
- self.pulp_href = attributes[:'pulp_href']
87
- end
88
-
89
- if attributes.key?(:'prn')
90
- self.prn = attributes[:'prn']
91
- end
92
-
93
- if attributes.key?(:'pulp_created')
94
- self.pulp_created = attributes[:'pulp_created']
95
- end
96
-
97
- if attributes.key?(:'pulp_last_updated')
98
- self.pulp_last_updated = attributes[:'pulp_last_updated']
99
- end
100
-
101
- if attributes.key?(:'repository_version')
102
- self.repository_version = attributes[:'repository_version']
103
- end
104
-
105
- if attributes.key?(:'repository')
106
- self.repository = attributes[:'repository']
107
- end
108
- end
109
-
110
- # Show invalid properties with the reasons. Usually used together with valid?
111
- # @return Array for valid properties with the reasons
112
- def list_invalid_properties
113
- warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
114
- invalid_properties = Array.new
115
- invalid_properties
116
- end
117
-
118
- # Check to see if the all the properties in the model are valid
119
- # @return true if the model is valid
120
- def valid?
121
- warn '[DEPRECATED] the `valid?` method is obsolete'
122
- true
123
- end
124
-
125
- # Checks equality by comparing each attribute.
126
- # @param [Object] Object to be compared
127
- def ==(o)
128
- return true if self.equal?(o)
129
- self.class == o.class &&
130
- pulp_href == o.pulp_href &&
131
- prn == o.prn &&
132
- pulp_created == o.pulp_created &&
133
- pulp_last_updated == o.pulp_last_updated &&
134
- repository_version == o.repository_version &&
135
- repository == o.repository
136
- end
137
-
138
- # @see the `==` method
139
- # @param [Object] Object to be compared
140
- def eql?(o)
141
- self == o
142
- end
143
-
144
- # Calculates hash code according to all attributes.
145
- # @return [Integer] Hash code
146
- def hash
147
- [pulp_href, prn, pulp_created, pulp_last_updated, repository_version, repository].hash
148
- end
149
-
150
- # Builds the object from hash
151
- # @param [Hash] attributes Model attributes in the form of hash
152
- # @return [Object] Returns the model itself
153
- def self.build_from_hash(attributes)
154
- return nil unless attributes.is_a?(Hash)
155
- attributes = attributes.transform_keys(&:to_sym)
156
- transformed_hash = {}
157
- openapi_types.each_pair do |key, type|
158
- if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
159
- transformed_hash["#{key}"] = nil
160
- elsif type =~ /\AArray<(.*)>/i
161
- # check to ensure the input is an array given that the attribute
162
- # is documented as an array but the input is not
163
- if attributes[attribute_map[key]].is_a?(Array)
164
- transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
165
- end
166
- elsif !attributes[attribute_map[key]].nil?
167
- transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
168
- end
169
- end
170
- new(transformed_hash)
171
- end
172
-
173
- # Deserializes the data based on type
174
- # @param string type Data type
175
- # @param string value Value to be deserialized
176
- # @return [Object] Deserialized data
177
- def self._deserialize(type, value)
178
- case type.to_sym
179
- when :Time
180
- Time.parse(value)
181
- when :Date
182
- Date.parse(value)
183
- when :String
184
- value.to_s
185
- when :Integer
186
- value.to_i
187
- when :Float
188
- value.to_f
189
- when :Boolean
190
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
191
- true
192
- else
193
- false
194
- end
195
- when :Object
196
- # generic object (usually a Hash), return directly
197
- value
198
- when /\AArray<(?<inner_type>.+)>\z/
199
- inner_type = Regexp.last_match[:inner_type]
200
- value.map { |v| _deserialize(inner_type, v) }
201
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
202
- k_type = Regexp.last_match[:k_type]
203
- v_type = Regexp.last_match[:v_type]
204
- {}.tap do |hash|
205
- value.each do |k, v|
206
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
207
- end
208
- end
209
- else # model
210
- # models (e.g. Pet) or oneOf
211
- klass = PulpMavenClient.const_get(type)
212
- klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
213
- end
214
- end
215
-
216
- # Returns the string representation of the object
217
- # @return [String] String presentation of the object
218
- def to_s
219
- to_hash.to_s
220
- end
221
-
222
- # to_body is an alias to to_hash (backward compatibility)
223
- # @return [Hash] Returns the object in the form of hash
224
- def to_body
225
- to_hash
226
- end
227
-
228
- # Returns the object in the form of hash
229
- # @return [Hash] Returns the object in the form of hash
230
- def to_hash
231
- hash = {}
232
- self.class.attribute_map.each_pair do |attr, param|
233
- value = self.send(attr)
234
- if value.nil?
235
- is_nullable = self.class.openapi_nullable.include?(attr)
236
- next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
237
- end
238
-
239
- hash[param] = _to_hash(value)
240
- end
241
- hash
242
- end
243
-
244
- # Outputs non-array value in the form of hash
245
- # For object, use to_hash. Otherwise, just return the value
246
- # @param [Object] value Any valid value
247
- # @return [Hash] Returns the value in the form of hash
248
- def _to_hash(value)
249
- if value.is_a?(Array)
250
- value.compact.map { |v| _to_hash(v) }
251
- elsif value.is_a?(Hash)
252
- {}.tap do |hash|
253
- value.each { |k, v| hash[k] = _to_hash(v) }
254
- end
255
- elsif value.respond_to? :to_hash
256
- value.to_hash
257
- else
258
- value
259
- end
260
- end
261
-
262
- end
263
-
264
- end
@@ -1,257 +0,0 @@
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
- Generator version: 7.10.0
10
-
11
- =end
12
-
13
- require 'date'
14
- require 'time'
15
-
16
- module PulpMavenClient
17
- class PaginatedmavenMavenPublicationResponseList
18
- attr_accessor :count
19
-
20
- attr_accessor :_next
21
-
22
- attr_accessor :previous
23
-
24
- attr_accessor :results
25
-
26
- # Attribute mapping from ruby-style variable name to JSON key.
27
- def self.attribute_map
28
- {
29
- :'count' => :'count',
30
- :'_next' => :'next',
31
- :'previous' => :'previous',
32
- :'results' => :'results'
33
- }
34
- end
35
-
36
- # Returns all the JSON keys this model knows about
37
- def self.acceptable_attributes
38
- attribute_map.values
39
- end
40
-
41
- # Attribute type mapping.
42
- def self.openapi_types
43
- {
44
- :'count' => :'Integer',
45
- :'_next' => :'String',
46
- :'previous' => :'String',
47
- :'results' => :'Array<MavenMavenPublicationResponse>'
48
- }
49
- end
50
-
51
- # List of attributes with nullable: true
52
- def self.openapi_nullable
53
- Set.new([
54
- ])
55
- end
56
-
57
- # Initializes the object
58
- # @param [Hash] attributes Model attributes in the form of hash
59
- def initialize(attributes = {})
60
- if (!attributes.is_a?(Hash))
61
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpMavenClient::PaginatedmavenMavenPublicationResponseList` initialize method"
62
- end
63
-
64
- # check to see if the attribute exists and convert string to symbol for hash key
65
- attributes = attributes.each_with_object({}) { |(k, v), h|
66
- if (!self.class.attribute_map.key?(k.to_sym))
67
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpMavenClient::PaginatedmavenMavenPublicationResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
68
- end
69
- h[k.to_sym] = v
70
- }
71
-
72
- if attributes.key?(:'count')
73
- self.count = attributes[:'count']
74
- else
75
- self.count = nil
76
- end
77
-
78
- if attributes.key?(:'_next')
79
- self._next = attributes[:'_next']
80
- end
81
-
82
- if attributes.key?(:'previous')
83
- self.previous = attributes[:'previous']
84
- end
85
-
86
- if attributes.key?(:'results')
87
- if (value = attributes[:'results']).is_a?(Array)
88
- self.results = value
89
- end
90
- else
91
- self.results = nil
92
- end
93
- end
94
-
95
- # Show invalid properties with the reasons. Usually used together with valid?
96
- # @return Array for valid properties with the reasons
97
- def list_invalid_properties
98
- warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
99
- invalid_properties = Array.new
100
- if @count.nil?
101
- invalid_properties.push('invalid value for "count", count cannot be nil.')
102
- end
103
-
104
- if @results.nil?
105
- invalid_properties.push('invalid value for "results", results cannot be nil.')
106
- end
107
-
108
- invalid_properties
109
- end
110
-
111
- # Check to see if the all the properties in the model are valid
112
- # @return true if the model is valid
113
- def valid?
114
- warn '[DEPRECATED] the `valid?` method is obsolete'
115
- return false if @count.nil?
116
- return false if @results.nil?
117
- true
118
- end
119
-
120
- # Checks equality by comparing each attribute.
121
- # @param [Object] Object to be compared
122
- def ==(o)
123
- return true if self.equal?(o)
124
- self.class == o.class &&
125
- count == o.count &&
126
- _next == o._next &&
127
- previous == o.previous &&
128
- results == o.results
129
- end
130
-
131
- # @see the `==` method
132
- # @param [Object] Object to be compared
133
- def eql?(o)
134
- self == o
135
- end
136
-
137
- # Calculates hash code according to all attributes.
138
- # @return [Integer] Hash code
139
- def hash
140
- [count, _next, previous, results].hash
141
- end
142
-
143
- # Builds the object from hash
144
- # @param [Hash] attributes Model attributes in the form of hash
145
- # @return [Object] Returns the model itself
146
- def self.build_from_hash(attributes)
147
- return nil unless attributes.is_a?(Hash)
148
- attributes = attributes.transform_keys(&:to_sym)
149
- transformed_hash = {}
150
- openapi_types.each_pair do |key, type|
151
- if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
152
- transformed_hash["#{key}"] = nil
153
- elsif type =~ /\AArray<(.*)>/i
154
- # check to ensure the input is an array given that the attribute
155
- # is documented as an array but the input is not
156
- if attributes[attribute_map[key]].is_a?(Array)
157
- transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
158
- end
159
- elsif !attributes[attribute_map[key]].nil?
160
- transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
161
- end
162
- end
163
- new(transformed_hash)
164
- end
165
-
166
- # Deserializes the data based on type
167
- # @param string type Data type
168
- # @param string value Value to be deserialized
169
- # @return [Object] Deserialized data
170
- def self._deserialize(type, value)
171
- case type.to_sym
172
- when :Time
173
- Time.parse(value)
174
- when :Date
175
- Date.parse(value)
176
- when :String
177
- value.to_s
178
- when :Integer
179
- value.to_i
180
- when :Float
181
- value.to_f
182
- when :Boolean
183
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
184
- true
185
- else
186
- false
187
- end
188
- when :Object
189
- # generic object (usually a Hash), return directly
190
- value
191
- when /\AArray<(?<inner_type>.+)>\z/
192
- inner_type = Regexp.last_match[:inner_type]
193
- value.map { |v| _deserialize(inner_type, v) }
194
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
195
- k_type = Regexp.last_match[:k_type]
196
- v_type = Regexp.last_match[:v_type]
197
- {}.tap do |hash|
198
- value.each do |k, v|
199
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
200
- end
201
- end
202
- else # model
203
- # models (e.g. Pet) or oneOf
204
- klass = PulpMavenClient.const_get(type)
205
- klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
206
- end
207
- end
208
-
209
- # Returns the string representation of the object
210
- # @return [String] String presentation of the object
211
- def to_s
212
- to_hash.to_s
213
- end
214
-
215
- # to_body is an alias to to_hash (backward compatibility)
216
- # @return [Hash] Returns the object in the form of hash
217
- def to_body
218
- to_hash
219
- end
220
-
221
- # Returns the object in the form of hash
222
- # @return [Hash] Returns the object in the form of hash
223
- def to_hash
224
- hash = {}
225
- self.class.attribute_map.each_pair do |attr, param|
226
- value = self.send(attr)
227
- if value.nil?
228
- is_nullable = self.class.openapi_nullable.include?(attr)
229
- next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
230
- end
231
-
232
- hash[param] = _to_hash(value)
233
- end
234
- hash
235
- end
236
-
237
- # Outputs non-array value in the form of hash
238
- # For object, use to_hash. Otherwise, just return the value
239
- # @param [Object] value Any valid value
240
- # @return [Hash] Returns the value in the form of hash
241
- def _to_hash(value)
242
- if value.is_a?(Array)
243
- value.compact.map { |v| _to_hash(v) }
244
- elsif value.is_a?(Hash)
245
- {}.tap do |hash|
246
- value.each { |k, v| hash[k] = _to_hash(v) }
247
- end
248
- elsif value.respond_to? :to_hash
249
- value.to_hash
250
- else
251
- value
252
- end
253
- end
254
-
255
- end
256
-
257
- end
@@ -1,109 +0,0 @@
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
- Generator version: 7.10.0
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
-
16
- # Unit tests for PulpMavenClient::PublicationsMavenApi
17
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
- # Please update as you see appropriate
19
- describe 'PublicationsMavenApi' do
20
- before do
21
- # run before each test
22
- @api_instance = PulpMavenClient::PublicationsMavenApi.new
23
- end
24
-
25
- after do
26
- # run after each test
27
- end
28
-
29
- describe 'test an instance of PublicationsMavenApi' do
30
- it 'should create an instance of PublicationsMavenApi' do
31
- expect(@api_instance).to be_instance_of(PulpMavenClient::PublicationsMavenApi)
32
- end
33
- end
34
-
35
- # unit tests for create
36
- # Create a maven publication
37
- # Trigger an asynchronous task to publish Maven content.
38
- # @param maven_maven_publication
39
- # @param [Hash] opts the optional parameters
40
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
41
- # @return [AsyncOperationResponse]
42
- describe 'create test' 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
-
48
- # unit tests for delete
49
- # Delete a maven publication
50
- # A ViewSet for MavenPublication.
51
- # @param maven_maven_publication_href
52
- # @param [Hash] opts the optional parameters
53
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
54
- # @return [nil]
55
- describe 'delete test' do
56
- it 'should work' do
57
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
58
- end
59
- end
60
-
61
- # unit tests for list
62
- # List maven publications
63
- # A ViewSet for MavenPublication.
64
- # @param [Hash] opts the optional parameters
65
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
66
- # @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
67
- # @option opts [String] :content Content Unit referenced by HREF/PRN
68
- # @option opts [Array<String>] :content__in Multiple values may be separated by commas.
69
- # @option opts [Integer] :limit Number of results to return per page.
70
- # @option opts [Integer] :offset The initial index from which to return the results.
71
- # @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;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;pass_through&#x60; - Pass through * &#x60;-pass_through&#x60; - Pass through (descending) * &#x60;checkpoint&#x60; - Checkpoint * &#x60;-checkpoint&#x60; - Checkpoint (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
72
- # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
73
- # @option opts [Time] :pulp_created Filter results where pulp_created matches value
74
- # @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
75
- # @option opts [Time] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
76
- # @option opts [Boolean] :pulp_created__isnull Filter results where pulp_created has a null value
77
- # @option opts [Time] :pulp_created__lt Filter results where pulp_created is less than value
78
- # @option opts [Time] :pulp_created__lte Filter results where pulp_created is less than or equal to value
79
- # @option opts [Array<Time>] :pulp_created__range Filter results where pulp_created is between two comma separated values
80
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
81
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
82
- # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
83
- # @option opts [String] :repository Repository referenced by HREF/PRN
84
- # @option opts [String] :repository_version
85
- # @option opts [Array<String>] :fields A list of fields to include in the response.
86
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
87
- # @return [PaginatedmavenMavenPublicationResponseList]
88
- describe 'list test' do
89
- it 'should work' do
90
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
91
- end
92
- end
93
-
94
- # unit tests for read
95
- # Inspect a maven publication
96
- # A ViewSet for MavenPublication.
97
- # @param maven_maven_publication_href
98
- # @param [Hash] opts the optional parameters
99
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
100
- # @option opts [Array<String>] :fields A list of fields to include in the response.
101
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
102
- # @return [MavenMavenPublicationResponse]
103
- describe 'read test' do
104
- it 'should work' do
105
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
106
- end
107
- end
108
-
109
- end
@@ -1,66 +0,0 @@
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
- Generator version: 7.10.0
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
- require 'date'
16
-
17
- # Unit tests for PulpMavenClient::MavenMavenPublicationResponse
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe PulpMavenClient::MavenMavenPublicationResponse do
21
- let(:instance) { PulpMavenClient::MavenMavenPublicationResponse.new }
22
-
23
- describe 'test an instance of MavenMavenPublicationResponse' do
24
- it 'should create an instance of MavenMavenPublicationResponse' do
25
- # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(PulpMavenClient::MavenMavenPublicationResponse)
27
- end
28
- end
29
-
30
- describe 'test attribute "pulp_href"' do
31
- it 'should work' do
32
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
- end
34
- end
35
-
36
- describe 'test attribute "prn"' do
37
- it 'should work' do
38
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
- end
40
- end
41
-
42
- describe 'test attribute "pulp_created"' 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
-
48
- describe 'test attribute "pulp_last_updated"' do
49
- it 'should work' do
50
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
- end
52
- end
53
-
54
- describe 'test attribute "repository_version"' do
55
- it 'should work' do
56
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
- end
58
- end
59
-
60
- describe 'test attribute "repository"' do
61
- it 'should work' do
62
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
63
- end
64
- end
65
-
66
- end