pulp_ansible_client 0.4.3 → 0.5.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 (53) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -12
  3. data/docs/AnsibleCollectionVersion.md +0 -2
  4. data/docs/AnsibleCollectionVersionResponse.md +5 -9
  5. data/docs/AnsibleCopyApi.md +62 -0
  6. data/docs/AnsibleRoleResponse.md +4 -4
  7. data/docs/CollectionResponse.md +5 -5
  8. data/docs/CollectionVersionResponse.md +0 -2
  9. data/docs/ContentCollectionVersionsApi.md +0 -4
  10. data/docs/Copy.md +17 -0
  11. data/docs/{CertificationEnum.md → PatchedCollection.md} +3 -2
  12. data/docs/PulpAnsibleGalaxyApiCollectionsApi.md +5 -5
  13. data/docs/PulpAnsibleGalaxyApiV3VersionsApi.md +0 -4
  14. data/lib/pulp_ansible_client/api/ansible_copy_api.rb +86 -0
  15. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +0 -10
  16. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_collections_api.rb +10 -10
  17. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_versions_api.rb +0 -10
  18. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +1 -16
  19. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +17 -42
  20. data/lib/pulp_ansible_client/models/ansible_role_response.rb +14 -14
  21. data/lib/pulp_ansible_client/models/collection_response.rb +22 -32
  22. data/lib/pulp_ansible_client/models/collection_version_response.rb +1 -10
  23. data/lib/pulp_ansible_client/models/{collection_metadata.rb → copy.rb} +15 -16
  24. data/lib/pulp_ansible_client/models/{collection_namespace.rb → patched_collection.rb} +11 -16
  25. data/lib/pulp_ansible_client/version.rb +1 -1
  26. data/lib/pulp_ansible_client.rb +3 -7
  27. data/spec/api/{pulp_ansible_galaxy_api_v3_collections_certified_api_spec.rb → ansible_copy_api_spec.rb} +12 -15
  28. data/spec/api/content_collection_versions_api_spec.rb +0 -2
  29. data/spec/api/pulp_ansible_galaxy_api_collections_api_spec.rb +1 -1
  30. data/spec/api/pulp_ansible_galaxy_api_v3_versions_api_spec.rb +0 -2
  31. data/spec/models/ansible_collection_version_response_spec.rb +2 -14
  32. data/spec/models/ansible_collection_version_spec.rb +0 -6
  33. data/spec/models/ansible_role_response_spec.rb +2 -2
  34. data/spec/models/collection_response_spec.rb +7 -7
  35. data/spec/models/collection_version_response_spec.rb +0 -6
  36. data/spec/models/{collection_metadata_spec.rb → copy_spec.rb} +7 -7
  37. data/spec/models/{collection_namespace_spec.rb → patched_collection_spec.rb} +7 -7
  38. metadata +14 -30
  39. data/docs/Collection.md +0 -21
  40. data/docs/CollectionMetadata.md +0 -17
  41. data/docs/CollectionNamespace.md +0 -17
  42. data/docs/CollectionRef.md +0 -19
  43. data/docs/CollectionVersion.md +0 -21
  44. data/docs/PulpAnsibleGalaxyApiV3CollectionsCertifiedApi.md +0 -63
  45. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_collections_certified_api.rb +0 -108
  46. data/lib/pulp_ansible_client/models/certification_enum.rb +0 -37
  47. data/lib/pulp_ansible_client/models/collection.rb +0 -240
  48. data/lib/pulp_ansible_client/models/collection_ref.rb +0 -226
  49. data/lib/pulp_ansible_client/models/collection_version.rb +0 -235
  50. data/spec/models/certification_enum_spec.rb +0 -35
  51. data/spec/models/collection_ref_spec.rb +0 -47
  52. data/spec/models/collection_spec.rb +0 -53
  53. data/spec/models/collection_version_spec.rb +0 -53
@@ -1,226 +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
- OpenAPI Generator version: 4.2.3
10
-
11
- =end
12
-
13
- require 'date'
14
-
15
- module PulpAnsibleClient
16
- # A serializer for a Collection reference.
17
- class CollectionRef
18
- attr_accessor :id
19
-
20
- attr_accessor :name
21
-
22
- # Attribute mapping from ruby-style variable name to JSON key.
23
- def self.attribute_map
24
- {
25
- :'id' => :'id',
26
- :'name' => :'name'
27
- }
28
- end
29
-
30
- # Attribute type mapping.
31
- def self.openapi_types
32
- {
33
- :'id' => :'String',
34
- :'name' => :'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 `PulpAnsibleClient::CollectionRef` 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 `PulpAnsibleClient::CollectionRef`. 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?(:'id')
60
- self.id = attributes[:'id']
61
- end
62
-
63
- if attributes.key?(:'name')
64
- self.name = attributes[:'name']
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 @id.nil?
73
- invalid_properties.push('invalid value for "id", id cannot be nil.')
74
- end
75
-
76
- if @name.nil?
77
- invalid_properties.push('invalid value for "name", name cannot be nil.')
78
- end
79
-
80
- invalid_properties
81
- end
82
-
83
- # Check to see if the all the properties in the model are valid
84
- # @return true if the model is valid
85
- def valid?
86
- return false if @id.nil?
87
- return false if @name.nil?
88
- true
89
- end
90
-
91
- # Checks equality by comparing each attribute.
92
- # @param [Object] Object to be compared
93
- def ==(o)
94
- return true if self.equal?(o)
95
- self.class == o.class &&
96
- id == o.id &&
97
- name == o.name
98
- end
99
-
100
- # @see the `==` method
101
- # @param [Object] Object to be compared
102
- def eql?(o)
103
- self == o
104
- end
105
-
106
- # Calculates hash code according to all attributes.
107
- # @return [Integer] Hash code
108
- def hash
109
- [id, name].hash
110
- end
111
-
112
- # Builds the object from hash
113
- # @param [Hash] attributes Model attributes in the form of hash
114
- # @return [Object] Returns the model itself
115
- def self.build_from_hash(attributes)
116
- new.build_from_hash(attributes)
117
- end
118
-
119
- # Builds the object from hash
120
- # @param [Hash] attributes Model attributes in the form of hash
121
- # @return [Object] Returns the model itself
122
- def build_from_hash(attributes)
123
- return nil unless attributes.is_a?(Hash)
124
- self.class.openapi_types.each_pair do |key, type|
125
- if type =~ /\AArray<(.*)>/i
126
- # check to ensure the input is an array given that the attribute
127
- # is documented as an array but the input is not
128
- if attributes[self.class.attribute_map[key]].is_a?(Array)
129
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
130
- end
131
- elsif !attributes[self.class.attribute_map[key]].nil?
132
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
133
- end # or else data not found in attributes(hash), not an issue as the data can be optional
134
- end
135
-
136
- self
137
- end
138
-
139
- # Deserializes the data based on type
140
- # @param string type Data type
141
- # @param string value Value to be deserialized
142
- # @return [Object] Deserialized data
143
- def _deserialize(type, value)
144
- case type.to_sym
145
- when :DateTime
146
- DateTime.parse(value)
147
- when :Date
148
- Date.parse(value)
149
- when :String
150
- value.to_s
151
- when :Integer
152
- value.to_i
153
- when :Float
154
- value.to_f
155
- when :Boolean
156
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
157
- true
158
- else
159
- false
160
- end
161
- when :Object
162
- # generic object (usually a Hash), return directly
163
- value
164
- when /\AArray<(?<inner_type>.+)>\z/
165
- inner_type = Regexp.last_match[:inner_type]
166
- value.map { |v| _deserialize(inner_type, v) }
167
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
168
- k_type = Regexp.last_match[:k_type]
169
- v_type = Regexp.last_match[:v_type]
170
- {}.tap do |hash|
171
- value.each do |k, v|
172
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
173
- end
174
- end
175
- else # model
176
- PulpAnsibleClient.const_get(type).build_from_hash(value)
177
- end
178
- end
179
-
180
- # Returns the string representation of the object
181
- # @return [String] String presentation of the object
182
- def to_s
183
- to_hash.to_s
184
- end
185
-
186
- # to_body is an alias to to_hash (backward compatibility)
187
- # @return [Hash] Returns the object in the form of hash
188
- def to_body
189
- to_hash
190
- end
191
-
192
- # Returns the object in the form of hash
193
- # @return [Hash] Returns the object in the form of hash
194
- def to_hash
195
- hash = {}
196
- self.class.attribute_map.each_pair do |attr, param|
197
- value = self.send(attr)
198
- if value.nil?
199
- is_nullable = self.class.openapi_nullable.include?(attr)
200
- next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
201
- end
202
-
203
- hash[param] = _to_hash(value)
204
- end
205
- hash
206
- end
207
-
208
- # Outputs non-array value in the form of hash
209
- # For object, use to_hash. Otherwise, just return the value
210
- # @param [Object] value Any valid value
211
- # @return [Hash] Returns the value in the form of hash
212
- def _to_hash(value)
213
- if value.is_a?(Array)
214
- value.compact.map { |v| _to_hash(v) }
215
- elsif value.is_a?(Hash)
216
- {}.tap do |hash|
217
- value.each { |k, v| hash[k] = _to_hash(v) }
218
- end
219
- elsif value.respond_to? :to_hash
220
- value.to_hash
221
- else
222
- value
223
- end
224
- end
225
- end
226
- end
@@ -1,235 +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
- OpenAPI Generator version: 4.2.3
10
-
11
- =end
12
-
13
- require 'date'
14
-
15
- module PulpAnsibleClient
16
- # A serializer for a CollectionVersion.
17
- class CollectionVersion
18
- attr_accessor :certification
19
-
20
- attr_accessor :created_at
21
-
22
- attr_accessor :updated_at
23
-
24
- # Attribute mapping from ruby-style variable name to JSON key.
25
- def self.attribute_map
26
- {
27
- :'certification' => :'certification',
28
- :'created_at' => :'created_at',
29
- :'updated_at' => :'updated_at'
30
- }
31
- end
32
-
33
- # Attribute type mapping.
34
- def self.openapi_types
35
- {
36
- :'certification' => :'CertificationEnum',
37
- :'created_at' => :'DateTime',
38
- :'updated_at' => :'DateTime'
39
- }
40
- end
41
-
42
- # List of attributes with nullable: true
43
- def self.openapi_nullable
44
- Set.new([
45
- ])
46
- end
47
-
48
- # Initializes the object
49
- # @param [Hash] attributes Model attributes in the form of hash
50
- def initialize(attributes = {})
51
- if (!attributes.is_a?(Hash))
52
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpAnsibleClient::CollectionVersion` initialize method"
53
- end
54
-
55
- # check to see if the attribute exists and convert string to symbol for hash key
56
- attributes = attributes.each_with_object({}) { |(k, v), h|
57
- if (!self.class.attribute_map.key?(k.to_sym))
58
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpAnsibleClient::CollectionVersion`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
59
- end
60
- h[k.to_sym] = v
61
- }
62
-
63
- if attributes.key?(:'certification')
64
- self.certification = attributes[:'certification']
65
- end
66
-
67
- if attributes.key?(:'created_at')
68
- self.created_at = attributes[:'created_at']
69
- end
70
-
71
- if attributes.key?(:'updated_at')
72
- self.updated_at = attributes[:'updated_at']
73
- end
74
- end
75
-
76
- # Show invalid properties with the reasons. Usually used together with valid?
77
- # @return Array for valid properties with the reasons
78
- def list_invalid_properties
79
- invalid_properties = Array.new
80
- if @created_at.nil?
81
- invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
82
- end
83
-
84
- if @updated_at.nil?
85
- invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
86
- end
87
-
88
- invalid_properties
89
- end
90
-
91
- # Check to see if the all the properties in the model are valid
92
- # @return true if the model is valid
93
- def valid?
94
- return false if @created_at.nil?
95
- return false if @updated_at.nil?
96
- true
97
- end
98
-
99
- # Checks equality by comparing each attribute.
100
- # @param [Object] Object to be compared
101
- def ==(o)
102
- return true if self.equal?(o)
103
- self.class == o.class &&
104
- certification == o.certification &&
105
- created_at == o.created_at &&
106
- updated_at == o.updated_at
107
- end
108
-
109
- # @see the `==` method
110
- # @param [Object] Object to be compared
111
- def eql?(o)
112
- self == o
113
- end
114
-
115
- # Calculates hash code according to all attributes.
116
- # @return [Integer] Hash code
117
- def hash
118
- [certification, created_at, updated_at].hash
119
- end
120
-
121
- # Builds the object from hash
122
- # @param [Hash] attributes Model attributes in the form of hash
123
- # @return [Object] Returns the model itself
124
- def self.build_from_hash(attributes)
125
- new.build_from_hash(attributes)
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 build_from_hash(attributes)
132
- return nil unless attributes.is_a?(Hash)
133
- self.class.openapi_types.each_pair do |key, type|
134
- if type =~ /\AArray<(.*)>/i
135
- # check to ensure the input is an array given that the attribute
136
- # is documented as an array but the input is not
137
- if attributes[self.class.attribute_map[key]].is_a?(Array)
138
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
139
- end
140
- elsif !attributes[self.class.attribute_map[key]].nil?
141
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
142
- end # or else data not found in attributes(hash), not an issue as the data can be optional
143
- end
144
-
145
- self
146
- end
147
-
148
- # Deserializes the data based on type
149
- # @param string type Data type
150
- # @param string value Value to be deserialized
151
- # @return [Object] Deserialized data
152
- def _deserialize(type, value)
153
- case type.to_sym
154
- when :DateTime
155
- DateTime.parse(value)
156
- when :Date
157
- Date.parse(value)
158
- when :String
159
- value.to_s
160
- when :Integer
161
- value.to_i
162
- when :Float
163
- value.to_f
164
- when :Boolean
165
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
166
- true
167
- else
168
- false
169
- end
170
- when :Object
171
- # generic object (usually a Hash), return directly
172
- value
173
- when /\AArray<(?<inner_type>.+)>\z/
174
- inner_type = Regexp.last_match[:inner_type]
175
- value.map { |v| _deserialize(inner_type, v) }
176
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
177
- k_type = Regexp.last_match[:k_type]
178
- v_type = Regexp.last_match[:v_type]
179
- {}.tap do |hash|
180
- value.each do |k, v|
181
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
182
- end
183
- end
184
- else # model
185
- PulpAnsibleClient.const_get(type).build_from_hash(value)
186
- end
187
- end
188
-
189
- # Returns the string representation of the object
190
- # @return [String] String presentation of the object
191
- def to_s
192
- to_hash.to_s
193
- end
194
-
195
- # to_body is an alias to to_hash (backward compatibility)
196
- # @return [Hash] Returns the object in the form of hash
197
- def to_body
198
- to_hash
199
- end
200
-
201
- # Returns the object in the form of hash
202
- # @return [Hash] Returns the object in the form of hash
203
- def to_hash
204
- hash = {}
205
- self.class.attribute_map.each_pair do |attr, param|
206
- value = self.send(attr)
207
- if value.nil?
208
- is_nullable = self.class.openapi_nullable.include?(attr)
209
- next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
210
- end
211
-
212
- hash[param] = _to_hash(value)
213
- end
214
- hash
215
- end
216
-
217
- # Outputs non-array value in the form of hash
218
- # For object, use to_hash. Otherwise, just return the value
219
- # @param [Object] value Any valid value
220
- # @return [Hash] Returns the value in the form of hash
221
- def _to_hash(value)
222
- if value.is_a?(Array)
223
- value.compact.map { |v| _to_hash(v) }
224
- elsif value.is_a?(Hash)
225
- {}.tap do |hash|
226
- value.each { |k, v| hash[k] = _to_hash(v) }
227
- end
228
- elsif value.respond_to? :to_hash
229
- value.to_hash
230
- else
231
- value
232
- end
233
- end
234
- end
235
- end
@@ -1,35 +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
- 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 PulpAnsibleClient::CertificationEnum
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe 'CertificationEnum' do
21
- before do
22
- # run before each test
23
- @instance = PulpAnsibleClient::CertificationEnum.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of CertificationEnum' do
31
- it 'should create an instance of CertificationEnum' do
32
- expect(@instance).to be_instance_of(PulpAnsibleClient::CertificationEnum)
33
- end
34
- end
35
- end
@@ -1,47 +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
- 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 PulpAnsibleClient::CollectionRef
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe 'CollectionRef' do
21
- before do
22
- # run before each test
23
- @instance = PulpAnsibleClient::CollectionRef.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of CollectionRef' do
31
- it 'should create an instance of CollectionRef' do
32
- expect(@instance).to be_instance_of(PulpAnsibleClient::CollectionRef)
33
- end
34
- end
35
- describe 'test attribute "id"' 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 "name"' 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
- end
@@ -1,53 +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
- 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 PulpAnsibleClient::Collection
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe 'Collection' do
21
- before do
22
- # run before each test
23
- @instance = PulpAnsibleClient::Collection.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of Collection' do
31
- it 'should create an instance of Collection' do
32
- expect(@instance).to be_instance_of(PulpAnsibleClient::Collection)
33
- end
34
- end
35
- describe 'test attribute "created_at"' 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 "updated_at"' 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 "deprecated"' 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
@@ -1,53 +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
- 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 PulpAnsibleClient::CollectionVersion
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe 'CollectionVersion' do
21
- before do
22
- # run before each test
23
- @instance = PulpAnsibleClient::CollectionVersion.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of CollectionVersion' do
31
- it 'should create an instance of CollectionVersion' do
32
- expect(@instance).to be_instance_of(PulpAnsibleClient::CollectionVersion)
33
- end
34
- end
35
- describe 'test attribute "certification"' 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 "created_at"' 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 "updated_at"' 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