pulpcore_client 3.12.2 → 3.13.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 (34) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -4
  3. data/docs/ContentSummaryResponse.md +21 -0
  4. data/docs/PaginatedPublicationResponseList.md +23 -0
  5. data/docs/PaginatedRepositoryVersionResponseList.md +23 -0
  6. data/docs/PublicationResponse.md +23 -0
  7. data/docs/PublicationsApi.md +90 -0
  8. data/docs/PulpExport.md +1 -1
  9. data/docs/RepositoryResponse.md +2 -0
  10. data/docs/RepositoryVersionResponse.md +27 -0
  11. data/docs/RepositoryVersionsApi.md +96 -0
  12. data/docs/WorkerResponse.md +3 -3
  13. data/lib/pulpcore_client/api/publications_api.rb +120 -0
  14. data/lib/pulpcore_client/api/repository_versions_api.rb +130 -0
  15. data/lib/pulpcore_client/models/content_summary_response.rb +246 -0
  16. data/lib/pulpcore_client/models/paginated_publication_response_list.rb +237 -0
  17. data/lib/pulpcore_client/models/paginated_repository_version_response_list.rb +237 -0
  18. data/lib/pulpcore_client/models/publication_response.rb +236 -0
  19. data/lib/pulpcore_client/models/pulp_export.rb +1 -1
  20. data/lib/pulpcore_client/models/repository_response.rb +27 -1
  21. data/lib/pulpcore_client/models/repository_version_response.rb +255 -0
  22. data/lib/pulpcore_client/models/worker_response.rb +10 -10
  23. data/lib/pulpcore_client/version.rb +1 -1
  24. data/lib/pulpcore_client.rb +7 -0
  25. data/spec/api/publications_api_spec.rb +60 -0
  26. data/spec/api/repository_versions_api_spec.rb +63 -0
  27. data/spec/models/content_summary_response_spec.rb +53 -0
  28. data/spec/models/paginated_publication_response_list_spec.rb +59 -0
  29. data/spec/models/paginated_repository_version_response_list_spec.rb +59 -0
  30. data/spec/models/publication_response_spec.rb +59 -0
  31. data/spec/models/repository_response_spec.rb +6 -0
  32. data/spec/models/repository_version_response_spec.rb +71 -0
  33. data/spec/models/worker_response_spec.rb +2 -2
  34. metadata +96 -68
@@ -0,0 +1,255 @@
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.2.3
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module PulpcoreClient
16
+ # Base serializer for use with :class:`pulpcore.app.models.Model` This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
17
+ class RepositoryVersionResponse
18
+ attr_accessor :pulp_href
19
+
20
+ # Timestamp of creation.
21
+ attr_accessor :pulp_created
22
+
23
+ attr_accessor :number
24
+
25
+ attr_accessor :repository
26
+
27
+ # A repository version whose content was used as the initial set of content for this repository version
28
+ attr_accessor :base_version
29
+
30
+ # Various count summaries of the content in the version and the HREF to view them.
31
+ attr_accessor :content_summary
32
+
33
+ # Attribute mapping from ruby-style variable name to JSON key.
34
+ def self.attribute_map
35
+ {
36
+ :'pulp_href' => :'pulp_href',
37
+ :'pulp_created' => :'pulp_created',
38
+ :'number' => :'number',
39
+ :'repository' => :'repository',
40
+ :'base_version' => :'base_version',
41
+ :'content_summary' => :'content_summary'
42
+ }
43
+ end
44
+
45
+ # Attribute type mapping.
46
+ def self.openapi_types
47
+ {
48
+ :'pulp_href' => :'String',
49
+ :'pulp_created' => :'DateTime',
50
+ :'number' => :'Integer',
51
+ :'repository' => :'String',
52
+ :'base_version' => :'String',
53
+ :'content_summary' => :'ContentSummaryResponse'
54
+ }
55
+ end
56
+
57
+ # List of attributes with nullable: true
58
+ def self.openapi_nullable
59
+ Set.new([
60
+ ])
61
+ end
62
+
63
+ # Initializes the object
64
+ # @param [Hash] attributes Model attributes in the form of hash
65
+ def initialize(attributes = {})
66
+ if (!attributes.is_a?(Hash))
67
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpcoreClient::RepositoryVersionResponse` initialize method"
68
+ end
69
+
70
+ # check to see if the attribute exists and convert string to symbol for hash key
71
+ attributes = attributes.each_with_object({}) { |(k, v), h|
72
+ if (!self.class.attribute_map.key?(k.to_sym))
73
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpcoreClient::RepositoryVersionResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
74
+ end
75
+ h[k.to_sym] = v
76
+ }
77
+
78
+ if attributes.key?(:'pulp_href')
79
+ self.pulp_href = attributes[:'pulp_href']
80
+ end
81
+
82
+ if attributes.key?(:'pulp_created')
83
+ self.pulp_created = attributes[:'pulp_created']
84
+ end
85
+
86
+ if attributes.key?(:'number')
87
+ self.number = attributes[:'number']
88
+ end
89
+
90
+ if attributes.key?(:'repository')
91
+ self.repository = attributes[:'repository']
92
+ end
93
+
94
+ if attributes.key?(:'base_version')
95
+ self.base_version = attributes[:'base_version']
96
+ end
97
+
98
+ if attributes.key?(:'content_summary')
99
+ self.content_summary = attributes[:'content_summary']
100
+ end
101
+ end
102
+
103
+ # Show invalid properties with the reasons. Usually used together with valid?
104
+ # @return Array for valid properties with the reasons
105
+ def list_invalid_properties
106
+ invalid_properties = Array.new
107
+ invalid_properties
108
+ end
109
+
110
+ # Check to see if the all the properties in the model are valid
111
+ # @return true if the model is valid
112
+ def valid?
113
+ true
114
+ end
115
+
116
+ # Checks equality by comparing each attribute.
117
+ # @param [Object] Object to be compared
118
+ def ==(o)
119
+ return true if self.equal?(o)
120
+ self.class == o.class &&
121
+ pulp_href == o.pulp_href &&
122
+ pulp_created == o.pulp_created &&
123
+ number == o.number &&
124
+ repository == o.repository &&
125
+ base_version == o.base_version &&
126
+ content_summary == o.content_summary
127
+ end
128
+
129
+ # @see the `==` method
130
+ # @param [Object] Object to be compared
131
+ def eql?(o)
132
+ self == o
133
+ end
134
+
135
+ # Calculates hash code according to all attributes.
136
+ # @return [Integer] Hash code
137
+ def hash
138
+ [pulp_href, pulp_created, number, repository, base_version, content_summary].hash
139
+ end
140
+
141
+ # Builds the object from hash
142
+ # @param [Hash] attributes Model attributes in the form of hash
143
+ # @return [Object] Returns the model itself
144
+ def self.build_from_hash(attributes)
145
+ new.build_from_hash(attributes)
146
+ end
147
+
148
+ # Builds the object from hash
149
+ # @param [Hash] attributes Model attributes in the form of hash
150
+ # @return [Object] Returns the model itself
151
+ def build_from_hash(attributes)
152
+ return nil unless attributes.is_a?(Hash)
153
+ self.class.openapi_types.each_pair do |key, type|
154
+ if type =~ /\AArray<(.*)>/i
155
+ # check to ensure the input is an array given that the attribute
156
+ # is documented as an array but the input is not
157
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
158
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
159
+ end
160
+ elsif !attributes[self.class.attribute_map[key]].nil?
161
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
162
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
163
+ end
164
+
165
+ self
166
+ end
167
+
168
+ # Deserializes the data based on type
169
+ # @param string type Data type
170
+ # @param string value Value to be deserialized
171
+ # @return [Object] Deserialized data
172
+ def _deserialize(type, value)
173
+ case type.to_sym
174
+ when :DateTime
175
+ DateTime.parse(value)
176
+ when :Date
177
+ Date.parse(value)
178
+ when :String
179
+ value.to_s
180
+ when :Integer
181
+ value.to_i
182
+ when :Float
183
+ value.to_f
184
+ when :Boolean
185
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
186
+ true
187
+ else
188
+ false
189
+ end
190
+ when :Object
191
+ # generic object (usually a Hash), return directly
192
+ value
193
+ when /\AArray<(?<inner_type>.+)>\z/
194
+ inner_type = Regexp.last_match[:inner_type]
195
+ value.map { |v| _deserialize(inner_type, v) }
196
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
197
+ k_type = Regexp.last_match[:k_type]
198
+ v_type = Regexp.last_match[:v_type]
199
+ {}.tap do |hash|
200
+ value.each do |k, v|
201
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
202
+ end
203
+ end
204
+ else # model
205
+ PulpcoreClient.const_get(type).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
+ end
255
+ end
@@ -15,11 +15,11 @@ require 'date'
15
15
  module PulpcoreClient
16
16
  # Base serializer for use with :class:`pulpcore.app.models.Model` This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
17
17
  class WorkerResponse
18
+ attr_accessor :pulp_href
19
+
18
20
  # Timestamp of creation.
19
21
  attr_accessor :pulp_created
20
22
 
21
- attr_accessor :pulp_href
22
-
23
23
  # The name of the worker.
24
24
  attr_accessor :name
25
25
 
@@ -29,8 +29,8 @@ module PulpcoreClient
29
29
  # Attribute mapping from ruby-style variable name to JSON key.
30
30
  def self.attribute_map
31
31
  {
32
- :'pulp_created' => :'pulp_created',
33
32
  :'pulp_href' => :'pulp_href',
33
+ :'pulp_created' => :'pulp_created',
34
34
  :'name' => :'name',
35
35
  :'last_heartbeat' => :'last_heartbeat'
36
36
  }
@@ -39,8 +39,8 @@ module PulpcoreClient
39
39
  # Attribute type mapping.
40
40
  def self.openapi_types
41
41
  {
42
- :'pulp_created' => :'DateTime',
43
42
  :'pulp_href' => :'String',
43
+ :'pulp_created' => :'DateTime',
44
44
  :'name' => :'String',
45
45
  :'last_heartbeat' => :'DateTime'
46
46
  }
@@ -67,14 +67,14 @@ module PulpcoreClient
67
67
  h[k.to_sym] = v
68
68
  }
69
69
 
70
- if attributes.key?(:'pulp_created')
71
- self.pulp_created = attributes[:'pulp_created']
72
- end
73
-
74
70
  if attributes.key?(:'pulp_href')
75
71
  self.pulp_href = attributes[:'pulp_href']
76
72
  end
77
73
 
74
+ if attributes.key?(:'pulp_created')
75
+ self.pulp_created = attributes[:'pulp_created']
76
+ end
77
+
78
78
  if attributes.key?(:'name')
79
79
  self.name = attributes[:'name']
80
80
  end
@@ -102,8 +102,8 @@ module PulpcoreClient
102
102
  def ==(o)
103
103
  return true if self.equal?(o)
104
104
  self.class == o.class &&
105
- pulp_created == o.pulp_created &&
106
105
  pulp_href == o.pulp_href &&
106
+ pulp_created == o.pulp_created &&
107
107
  name == o.name &&
108
108
  last_heartbeat == o.last_heartbeat
109
109
  end
@@ -117,7 +117,7 @@ module PulpcoreClient
117
117
  # Calculates hash code according to all attributes.
118
118
  # @return [Integer] Hash code
119
119
  def hash
120
- [pulp_created, pulp_href, name, last_heartbeat].hash
120
+ [pulp_href, pulp_created, name, last_heartbeat].hash
121
121
  end
122
122
 
123
123
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.2.3
11
11
  =end
12
12
 
13
13
  module PulpcoreClient
14
- VERSION = '3.12.2'
14
+ VERSION = '3.13.0'
15
15
  end
@@ -24,6 +24,7 @@ require 'pulpcore_client/models/artifact_response'
24
24
  require 'pulpcore_client/models/async_operation_response'
25
25
  require 'pulpcore_client/models/content_app_status_response'
26
26
  require 'pulpcore_client/models/content_guard_response'
27
+ require 'pulpcore_client/models/content_summary_response'
27
28
  require 'pulpcore_client/models/database_connection_response'
28
29
  require 'pulpcore_client/models/evaluation_response'
29
30
  require 'pulpcore_client/models/group'
@@ -41,10 +42,12 @@ require 'pulpcore_client/models/paginated_group_user_response_list'
41
42
  require 'pulpcore_client/models/paginated_import_response_list'
42
43
  require 'pulpcore_client/models/paginated_multiple_artifact_content_response_list'
43
44
  require 'pulpcore_client/models/paginated_permission_response_list'
45
+ require 'pulpcore_client/models/paginated_publication_response_list'
44
46
  require 'pulpcore_client/models/paginated_pulp_export_response_list'
45
47
  require 'pulpcore_client/models/paginated_pulp_exporter_response_list'
46
48
  require 'pulpcore_client/models/paginated_pulp_importer_response_list'
47
49
  require 'pulpcore_client/models/paginated_repository_response_list'
50
+ require 'pulpcore_client/models/paginated_repository_version_response_list'
48
51
  require 'pulpcore_client/models/paginated_signing_service_response_list'
49
52
  require 'pulpcore_client/models/paginated_task_group_response_list'
50
53
  require 'pulpcore_client/models/paginated_task_response_list'
@@ -58,6 +61,7 @@ require 'pulpcore_client/models/patched_pulp_importer'
58
61
  require 'pulpcore_client/models/patched_task_cancel'
59
62
  require 'pulpcore_client/models/permission_response'
60
63
  require 'pulpcore_client/models/progress_report_response'
64
+ require 'pulpcore_client/models/publication_response'
61
65
  require 'pulpcore_client/models/pulp_export'
62
66
  require 'pulpcore_client/models/pulp_export_response'
63
67
  require 'pulpcore_client/models/pulp_exporter'
@@ -69,6 +73,7 @@ require 'pulpcore_client/models/pulp_importer'
69
73
  require 'pulpcore_client/models/pulp_importer_response'
70
74
  require 'pulpcore_client/models/redis_connection_response'
71
75
  require 'pulpcore_client/models/repository_response'
76
+ require 'pulpcore_client/models/repository_version_response'
72
77
  require 'pulpcore_client/models/signing_service_response'
73
78
  require 'pulpcore_client/models/status_response'
74
79
  require 'pulpcore_client/models/storage_response'
@@ -100,8 +105,10 @@ require 'pulpcore_client/api/importers_core_import_check_api'
100
105
  require 'pulpcore_client/api/importers_core_imports_api'
101
106
  require 'pulpcore_client/api/importers_pulp_api'
102
107
  require 'pulpcore_client/api/orphans_api'
108
+ require 'pulpcore_client/api/publications_api'
103
109
  require 'pulpcore_client/api/repair_api'
104
110
  require 'pulpcore_client/api/repositories_api'
111
+ require 'pulpcore_client/api/repository_versions_api'
105
112
  require 'pulpcore_client/api/signing_services_api'
106
113
  require 'pulpcore_client/api/status_api'
107
114
  require 'pulpcore_client/api/task_groups_api'
@@ -0,0 +1,60 @@
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.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpcoreClient::PublicationsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'PublicationsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpcoreClient::PublicationsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of PublicationsApi' do
30
+ it 'should create an instance of PublicationsApi' do
31
+ expect(@api_instance).to be_instance_of(PulpcoreClient::PublicationsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for list
36
+ # List publications
37
+ # A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \&quot;Normal\&quot; Django Models and Master/Detail models are supported by the &#x60;&#x60;register_with&#x60;&#x60; method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to &#39;pk&#39; endpoint_name (str): The name of the final path segment that should identify the ViewSet&#39;s collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \&quot;parent_prefix\&quot; of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object&#39;s identity. schema (DefaultSchema): The schema class to use by default in a viewset.
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [String] :content Content Unit referenced by HREF
40
+ # @option opts [String] :content__in Content Unit referenced by HREF
41
+ # @option opts [Integer] :limit Number of results to return per page.
42
+ # @option opts [Integer] :offset The initial index from which to return the results.
43
+ # @option opts [String] :ordering Which field to use when ordering the results.
44
+ # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
45
+ # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
46
+ # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
47
+ # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
48
+ # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
49
+ # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
50
+ # @option opts [String] :repository_version Repository Version referenced by HREF
51
+ # @option opts [String] :fields A list of fields to include in the response.
52
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
53
+ # @return [PaginatedPublicationResponseList]
54
+ describe 'list test' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
57
+ end
58
+ end
59
+
60
+ end
@@ -0,0 +1,63 @@
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.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpcoreClient::RepositoryVersionsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'RepositoryVersionsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpcoreClient::RepositoryVersionsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of RepositoryVersionsApi' do
30
+ it 'should create an instance of RepositoryVersionsApi' do
31
+ expect(@api_instance).to be_instance_of(PulpcoreClient::RepositoryVersionsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for list
36
+ # List repository versions
37
+ # @param [Hash] opts the optional parameters
38
+ # @option opts [String] :content Content Unit referenced by HREF
39
+ # @option opts [String] :content__in Content Unit referenced by HREF
40
+ # @option opts [Integer] :limit Number of results to return per page.
41
+ # @option opts [Integer] :number
42
+ # @option opts [Integer] :number__gt Filter results where number is greater than value
43
+ # @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
44
+ # @option opts [Integer] :number__lt Filter results where number is less than value
45
+ # @option opts [Integer] :number__lte Filter results where number is less than or equal to value
46
+ # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
47
+ # @option opts [Integer] :offset The initial index from which to return the results.
48
+ # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
49
+ # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
50
+ # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
51
+ # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
52
+ # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
53
+ # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
54
+ # @option opts [String] :fields A list of fields to include in the response.
55
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
56
+ # @return [PaginatedRepositoryVersionResponseList]
57
+ describe 'list test' do
58
+ it 'should work' do
59
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
60
+ end
61
+ end
62
+
63
+ end
@@ -0,0 +1,53 @@
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.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpcoreClient::ContentSummaryResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'ContentSummaryResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpcoreClient::ContentSummaryResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of ContentSummaryResponse' do
31
+ it 'should create an instance of ContentSummaryResponse' do
32
+ expect(@instance).to be_instance_of(PulpcoreClient::ContentSummaryResponse)
33
+ end
34
+ end
35
+ describe 'test attribute "added"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "removed"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "present"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ end
@@ -0,0 +1,59 @@
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.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpcoreClient::PaginatedPublicationResponseList
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'PaginatedPublicationResponseList' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpcoreClient::PaginatedPublicationResponseList.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PaginatedPublicationResponseList' do
31
+ it 'should create an instance of PaginatedPublicationResponseList' do
32
+ expect(@instance).to be_instance_of(PulpcoreClient::PaginatedPublicationResponseList)
33
+ end
34
+ end
35
+ describe 'test attribute "count"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "_next"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "previous"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "results"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ end
@@ -0,0 +1,59 @@
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.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpcoreClient::PaginatedRepositoryVersionResponseList
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'PaginatedRepositoryVersionResponseList' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpcoreClient::PaginatedRepositoryVersionResponseList.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PaginatedRepositoryVersionResponseList' do
31
+ it 'should create an instance of PaginatedRepositoryVersionResponseList' do
32
+ expect(@instance).to be_instance_of(PulpcoreClient::PaginatedRepositoryVersionResponseList)
33
+ end
34
+ end
35
+ describe 'test attribute "count"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "_next"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "previous"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "results"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ end