pulp_ansible_client 0.14.2 → 0.15.0.dev1656829800

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.

Potentially problematic release.


This version of pulp_ansible_client might be problematic. Click here for more details.

Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/AnsibleCollectionVersion.md +3 -3
  4. data/docs/AnsibleCollectionVersionResponse.md +3 -3
  5. data/docs/AnsibleGitRemote.md +28 -28
  6. data/docs/AnsibleGitRemoteResponse.md +27 -27
  7. data/docs/AnsibleRoleResponse.md +3 -3
  8. data/docs/ContentCollectionVersionsApi.md +3 -3
  9. data/docs/DistributionsAnsibleApi.md +0 -2
  10. data/docs/PatchedansibleGitRemote.md +28 -28
  11. data/docs/RepositoriesAnsibleApi.md +0 -2
  12. data/git_push.sh +58 -0
  13. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +3 -3
  14. data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +0 -3
  15. data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +0 -3
  16. data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +1 -1
  17. data/lib/pulp_ansible_client/api_client.rb +1 -1
  18. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +11 -11
  19. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +11 -11
  20. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +233 -233
  21. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +143 -143
  22. data/lib/pulp_ansible_client/models/ansible_role_response.rb +11 -11
  23. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +233 -233
  24. data/lib/pulp_ansible_client/version.rb +1 -1
  25. data/pulp_ansible_client.gemspec +3 -3
  26. data/spec/api/content_collection_versions_api_spec.rb +1 -1
  27. data/spec/api/distributions_ansible_api_spec.rb +0 -1
  28. data/spec/api/repositories_ansible_api_spec.rb +0 -1
  29. data/spec/models/ansible_collection_version_response_spec.rb +3 -3
  30. data/spec/models/ansible_collection_version_spec.rb +3 -3
  31. data/spec/models/ansible_git_remote_response_spec.rb +18 -18
  32. data/spec/models/ansible_git_remote_spec.rb +19 -19
  33. data/spec/models/ansible_role_response_spec.rb +3 -3
  34. data/spec/models/patchedansible_git_remote_spec.rb +19 -19
  35. metadata +108 -107
@@ -15,15 +15,15 @@ require 'date'
15
15
  module PulpAnsibleClient
16
16
  # A serializer for CollectionVersion Content.
17
17
  class AnsibleCollectionVersion
18
- # An uncommitted upload that may be turned into the artifact of the content unit.
19
- attr_accessor :upload
20
-
21
18
  # A URI of a repository the new content unit should be associated with.
22
19
  attr_accessor :repository
23
20
 
24
21
  # An uploaded file that may be turned into the artifact of the content unit.
25
22
  attr_accessor :file
26
23
 
24
+ # An uncommitted upload that may be turned into the artifact of the content unit.
25
+ attr_accessor :upload
26
+
27
27
  # The name of the collection.
28
28
  attr_accessor :name
29
29
 
@@ -36,9 +36,9 @@ module PulpAnsibleClient
36
36
  # Attribute mapping from ruby-style variable name to JSON key.
37
37
  def self.attribute_map
38
38
  {
39
- :'upload' => :'upload',
40
39
  :'repository' => :'repository',
41
40
  :'file' => :'file',
41
+ :'upload' => :'upload',
42
42
  :'name' => :'name',
43
43
  :'namespace' => :'namespace',
44
44
  :'version' => :'version'
@@ -48,9 +48,9 @@ module PulpAnsibleClient
48
48
  # Attribute type mapping.
49
49
  def self.openapi_types
50
50
  {
51
- :'upload' => :'String',
52
51
  :'repository' => :'String',
53
52
  :'file' => :'File',
53
+ :'upload' => :'String',
54
54
  :'name' => :'String',
55
55
  :'namespace' => :'String',
56
56
  :'version' => :'String'
@@ -78,10 +78,6 @@ module PulpAnsibleClient
78
78
  h[k.to_sym] = v
79
79
  }
80
80
 
81
- if attributes.key?(:'upload')
82
- self.upload = attributes[:'upload']
83
- end
84
-
85
81
  if attributes.key?(:'repository')
86
82
  self.repository = attributes[:'repository']
87
83
  end
@@ -90,6 +86,10 @@ module PulpAnsibleClient
90
86
  self.file = attributes[:'file']
91
87
  end
92
88
 
89
+ if attributes.key?(:'upload')
90
+ self.upload = attributes[:'upload']
91
+ end
92
+
93
93
  if attributes.key?(:'name')
94
94
  self.name = attributes[:'name']
95
95
  end
@@ -220,9 +220,9 @@ module PulpAnsibleClient
220
220
  def ==(o)
221
221
  return true if self.equal?(o)
222
222
  self.class == o.class &&
223
- upload == o.upload &&
224
223
  repository == o.repository &&
225
224
  file == o.file &&
225
+ upload == o.upload &&
226
226
  name == o.name &&
227
227
  namespace == o.namespace &&
228
228
  version == o.version
@@ -237,7 +237,7 @@ module PulpAnsibleClient
237
237
  # Calculates hash code according to all attributes.
238
238
  # @return [Integer] Hash code
239
239
  def hash
240
- [upload, repository, file, name, namespace, version].hash
240
+ [repository, file, upload, name, namespace, version].hash
241
241
  end
242
242
 
243
243
  # Builds the object from hash
@@ -15,14 +15,14 @@ require 'date'
15
15
  module PulpAnsibleClient
16
16
  # A serializer for CollectionVersion Content.
17
17
  class AnsibleCollectionVersionResponse
18
+ # Timestamp of creation.
19
+ attr_accessor :pulp_created
20
+
18
21
  attr_accessor :pulp_href
19
22
 
20
23
  # Artifact file representing the physical content
21
24
  attr_accessor :artifact
22
25
 
23
- # Timestamp of creation.
24
- attr_accessor :pulp_created
25
-
26
26
  # The MD5 checksum if available.
27
27
  attr_accessor :md5
28
28
 
@@ -97,9 +97,9 @@ module PulpAnsibleClient
97
97
  # Attribute mapping from ruby-style variable name to JSON key.
98
98
  def self.attribute_map
99
99
  {
100
+ :'pulp_created' => :'pulp_created',
100
101
  :'pulp_href' => :'pulp_href',
101
102
  :'artifact' => :'artifact',
102
- :'pulp_created' => :'pulp_created',
103
103
  :'md5' => :'md5',
104
104
  :'sha1' => :'sha1',
105
105
  :'sha224' => :'sha224',
@@ -130,9 +130,9 @@ module PulpAnsibleClient
130
130
  # Attribute type mapping.
131
131
  def self.openapi_types
132
132
  {
133
+ :'pulp_created' => :'DateTime',
133
134
  :'pulp_href' => :'String',
134
135
  :'artifact' => :'String',
135
- :'pulp_created' => :'DateTime',
136
136
  :'md5' => :'String',
137
137
  :'sha1' => :'String',
138
138
  :'sha224' => :'String',
@@ -182,6 +182,10 @@ module PulpAnsibleClient
182
182
  h[k.to_sym] = v
183
183
  }
184
184
 
185
+ if attributes.key?(:'pulp_created')
186
+ self.pulp_created = attributes[:'pulp_created']
187
+ end
188
+
185
189
  if attributes.key?(:'pulp_href')
186
190
  self.pulp_href = attributes[:'pulp_href']
187
191
  end
@@ -190,10 +194,6 @@ module PulpAnsibleClient
190
194
  self.artifact = attributes[:'artifact']
191
195
  end
192
196
 
193
- if attributes.key?(:'pulp_created')
194
- self.pulp_created = attributes[:'pulp_created']
195
- end
196
-
197
197
  if attributes.key?(:'md5')
198
198
  self.md5 = attributes[:'md5']
199
199
  end
@@ -543,9 +543,9 @@ module PulpAnsibleClient
543
543
  def ==(o)
544
544
  return true if self.equal?(o)
545
545
  self.class == o.class &&
546
+ pulp_created == o.pulp_created &&
546
547
  pulp_href == o.pulp_href &&
547
548
  artifact == o.artifact &&
548
- pulp_created == o.pulp_created &&
549
549
  md5 == o.md5 &&
550
550
  sha1 == o.sha1 &&
551
551
  sha224 == o.sha224 &&
@@ -581,7 +581,7 @@ module PulpAnsibleClient
581
581
  # Calculates hash code according to all attributes.
582
582
  # @return [Integer] Hash code
583
583
  def hash
584
- [pulp_href, artifact, pulp_created, md5, sha1, sha224, sha256, sha384, sha512, id, authors, contents, dependencies, description, docs_blob, manifest, files, documentation, homepage, issues, license, name, namespace, repository, tags, version, requires_ansible].hash
584
+ [pulp_created, pulp_href, artifact, md5, sha1, sha224, sha256, sha384, sha512, id, authors, contents, dependencies, description, docs_blob, manifest, files, documentation, homepage, issues, license, name, namespace, repository, tags, version, requires_ansible].hash
585
585
  end
586
586
 
587
587
  # Builds the object from hash