pulp_ansible_client 0.14.2 → 0.15.0.dev1656650250

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


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

Files changed (29) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/AnsibleCollectionVersion.md +4 -4
  4. data/docs/AnsibleGitRemote.md +29 -29
  5. data/docs/AnsibleGitRemoteResponse.md +27 -27
  6. data/docs/ContentCollectionVersionsApi.md +4 -4
  7. data/docs/DistributionsAnsibleApi.md +0 -2
  8. data/docs/PatchedansibleGitRemote.md +29 -29
  9. data/docs/RepositoriesAnsibleApi.md +0 -2
  10. data/git_push.sh +58 -0
  11. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +6 -6
  12. data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +0 -3
  13. data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +0 -3
  14. data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +1 -1
  15. data/lib/pulp_ansible_client/api_client.rb +1 -1
  16. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +15 -15
  17. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +246 -246
  18. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +141 -141
  19. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +237 -237
  20. data/lib/pulp_ansible_client/version.rb +1 -1
  21. data/pulp_ansible_client.gemspec +3 -3
  22. data/spec/api/content_collection_versions_api_spec.rb +2 -2
  23. data/spec/api/distributions_ansible_api_spec.rb +0 -1
  24. data/spec/api/repositories_ansible_api_spec.rb +0 -1
  25. data/spec/models/ansible_collection_version_spec.rb +2 -2
  26. data/spec/models/ansible_git_remote_response_spec.rb +16 -16
  27. data/spec/models/ansible_git_remote_spec.rb +17 -17
  28. data/spec/models/patchedansible_git_remote_spec.rb +17 -17
  29. metadata +108 -107
@@ -15,14 +15,14 @@ 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
18
+ # An uploaded file that may be turned into the artifact of the content unit.
19
+ attr_accessor :file
20
20
 
21
21
  # A URI of a repository the new content unit should be associated with.
22
22
  attr_accessor :repository
23
23
 
24
- # An uploaded file that may be turned into the artifact of the content unit.
25
- attr_accessor :file
24
+ # An uncommitted upload that may be turned into the artifact of the content unit.
25
+ attr_accessor :upload
26
26
 
27
27
  # The name of the collection.
28
28
  attr_accessor :name
@@ -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
- :'repository' => :'repository',
41
39
  :'file' => :'file',
40
+ :'repository' => :'repository',
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
- :'repository' => :'String',
53
51
  :'file' => :'File',
52
+ :'repository' => :'String',
53
+ :'upload' => :'String',
54
54
  :'name' => :'String',
55
55
  :'namespace' => :'String',
56
56
  :'version' => :'String'
@@ -78,16 +78,16 @@ module PulpAnsibleClient
78
78
  h[k.to_sym] = v
79
79
  }
80
80
 
81
- if attributes.key?(:'upload')
82
- self.upload = attributes[:'upload']
81
+ if attributes.key?(:'file')
82
+ self.file = attributes[:'file']
83
83
  end
84
84
 
85
85
  if attributes.key?(:'repository')
86
86
  self.repository = attributes[:'repository']
87
87
  end
88
88
 
89
- if attributes.key?(:'file')
90
- self.file = attributes[:'file']
89
+ if attributes.key?(:'upload')
90
+ self.upload = attributes[:'upload']
91
91
  end
92
92
 
93
93
  if attributes.key?(:'name')
@@ -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
- repository == o.repository &&
225
223
  file == o.file &&
224
+ repository == o.repository &&
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
+ [file, repository, upload, name, namespace, version].hash
241
241
  end
242
242
 
243
243
  # Builds the object from hash