pulp_ansible_client 0.16.1 → 0.16.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (126) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -5
  3. data/docs/AnsibleAnsibleRepository.md +1 -1
  4. data/docs/AnsibleAnsibleRepositoryResponse.md +1 -1
  5. data/docs/AnsibleCollectionRemote.md +1 -1
  6. data/docs/AnsibleCollectionRemoteResponse.md +1 -1
  7. data/docs/AnsibleCollectionVersion.md +5 -5
  8. data/docs/AnsibleCollectionVersionResponse.md +3 -3
  9. data/docs/AnsibleCollectionsApi.md +6 -2
  10. data/docs/AnsibleGitRemote.md +29 -29
  11. data/docs/AnsibleGitRemoteResponse.md +24 -24
  12. data/docs/AnsibleRoleRemote.md +1 -1
  13. data/docs/AnsibleRoleRemoteResponse.md +1 -1
  14. data/docs/CollectionRefResponse.md +1 -1
  15. data/docs/CollectionResponse.md +6 -6
  16. data/docs/CollectionVersionListResponse.md +1 -1
  17. data/docs/CollectionVersionResponse.md +4 -4
  18. data/docs/ContentCollectionDeprecationsApi.md +6 -2
  19. data/docs/ContentCollectionSignaturesApi.md +6 -2
  20. data/docs/ContentCollectionVersionsApi.md +10 -6
  21. data/docs/ContentRolesApi.md +6 -2
  22. data/docs/DistributionsAnsibleApi.md +10 -2
  23. data/docs/GalaxyCollectionResponse.md +4 -4
  24. data/docs/GalaxyCollectionVersionResponse.md +4 -4
  25. data/docs/GalaxyRoleResponse.md +1 -1
  26. data/docs/GalaxyRoleVersionResponse.md +1 -1
  27. data/docs/PatchedansibleAnsibleRepository.md +1 -1
  28. data/docs/PatchedansibleCollectionRemote.md +1 -1
  29. data/docs/PatchedansibleGitRemote.md +29 -29
  30. data/docs/PatchedansibleRoleRemote.md +1 -1
  31. data/docs/PulpAnsibleApiV3CollectionsAllApi.md +6 -2
  32. data/docs/PulpAnsibleApiV3CollectionsApi.md +6 -2
  33. data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +6 -2
  34. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +6 -2
  35. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +6 -2
  36. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +6 -2
  37. data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +6 -2
  38. data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +6 -2
  39. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +6 -2
  40. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +6 -2
  41. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +6 -2
  42. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +6 -2
  43. data/docs/RemotesCollectionApi.md +6 -2
  44. data/docs/RemotesGitApi.md +6 -2
  45. data/docs/RemotesRoleApi.md +6 -2
  46. data/docs/RepositoriesAnsibleApi.md +22 -2
  47. data/docs/RepositoriesAnsibleVersionsApi.md +4 -2
  48. data/docs/RepositoryAddRemoveContent.md +2 -2
  49. data/docs/UnpaginatedCollectionVersionResponse.md +4 -4
  50. data/lib/pulp_ansible_client/api/ansible_collections_api.rb +8 -2
  51. data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +8 -2
  52. data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +8 -2
  53. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +14 -8
  54. data/lib/pulp_ansible_client/api/content_roles_api.rb +8 -2
  55. data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +14 -2
  56. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +8 -2
  57. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +8 -2
  58. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +8 -2
  59. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +8 -2
  60. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +8 -2
  61. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +8 -2
  62. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +8 -2
  63. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +8 -2
  64. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +8 -2
  65. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +8 -2
  66. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +8 -2
  67. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +8 -2
  68. data/lib/pulp_ansible_client/api/remotes_collection_api.rb +8 -2
  69. data/lib/pulp_ansible_client/api/remotes_git_api.rb +8 -2
  70. data/lib/pulp_ansible_client/api/remotes_role_api.rb +8 -2
  71. data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +32 -2
  72. data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +5 -2
  73. data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +1 -1
  74. data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +1 -1
  75. data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +1 -1
  76. data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +1 -1
  77. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +18 -18
  78. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +11 -11
  79. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +238 -238
  80. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +139 -139
  81. data/lib/pulp_ansible_client/models/ansible_role_remote.rb +1 -1
  82. data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +1 -1
  83. data/lib/pulp_ansible_client/models/collection_ref_response.rb +1 -0
  84. data/lib/pulp_ansible_client/models/collection_response.rb +6 -0
  85. data/lib/pulp_ansible_client/models/collection_version_list_response.rb +1 -0
  86. data/lib/pulp_ansible_client/models/collection_version_response.rb +4 -0
  87. data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +4 -0
  88. data/lib/pulp_ansible_client/models/galaxy_collection_version_response.rb +4 -0
  89. data/lib/pulp_ansible_client/models/galaxy_role_response.rb +1 -0
  90. data/lib/pulp_ansible_client/models/galaxy_role_version_response.rb +1 -0
  91. data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +1 -1
  92. data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +1 -1
  93. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +228 -228
  94. data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +1 -1
  95. data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +2 -2
  96. data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +4 -0
  97. data/lib/pulp_ansible_client/version.rb +1 -1
  98. data/spec/api/ansible_collections_api_spec.rb +3 -1
  99. data/spec/api/content_collection_deprecations_api_spec.rb +3 -1
  100. data/spec/api/content_collection_signatures_api_spec.rb +3 -1
  101. data/spec/api/content_collection_versions_api_spec.rb +5 -3
  102. data/spec/api/content_roles_api_spec.rb +3 -1
  103. data/spec/api/distributions_ansible_api_spec.rb +5 -1
  104. data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +3 -1
  105. data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +3 -1
  106. data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +3 -1
  107. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +3 -1
  108. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +3 -1
  109. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +3 -1
  110. data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +3 -1
  111. data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +3 -1
  112. data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +3 -1
  113. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +3 -1
  114. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +3 -1
  115. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +3 -1
  116. data/spec/api/remotes_collection_api_spec.rb +3 -1
  117. data/spec/api/remotes_git_api_spec.rb +3 -1
  118. data/spec/api/remotes_role_api_spec.rb +3 -1
  119. data/spec/api/repositories_ansible_api_spec.rb +11 -1
  120. data/spec/api/repositories_ansible_versions_api_spec.rb +2 -1
  121. data/spec/models/ansible_collection_version_response_spec.rb +3 -3
  122. data/spec/models/ansible_collection_version_spec.rb +4 -4
  123. data/spec/models/ansible_git_remote_response_spec.rb +19 -19
  124. data/spec/models/ansible_git_remote_spec.rb +20 -20
  125. data/spec/models/patchedansible_git_remote_spec.rb +20 -20
  126. metadata +99 -99
@@ -15,18 +15,18 @@ require 'date'
15
15
  module PulpAnsibleClient
16
16
  # A serializer for CollectionVersion Content.
17
17
  class AnsibleCollectionVersion
18
- # An uploaded file that may be turned into the artifact of the content unit.
19
- attr_accessor :file
20
-
21
18
  # A URI of a repository the new content unit should be associated with.
22
19
  attr_accessor :repository
23
20
 
24
- # Artifact file representing the physical content
25
- attr_accessor :artifact
21
+ # An uploaded file that may be turned into the artifact of the content unit.
22
+ attr_accessor :file
26
23
 
27
24
  # An uncommitted upload that may be turned into the artifact of the content unit.
28
25
  attr_accessor :upload
29
26
 
27
+ # Artifact file representing the physical content
28
+ attr_accessor :artifact
29
+
30
30
  # The name of the collection.
31
31
  attr_accessor :expected_name
32
32
 
@@ -39,10 +39,10 @@ module PulpAnsibleClient
39
39
  # Attribute mapping from ruby-style variable name to JSON key.
40
40
  def self.attribute_map
41
41
  {
42
- :'file' => :'file',
43
42
  :'repository' => :'repository',
44
- :'artifact' => :'artifact',
43
+ :'file' => :'file',
45
44
  :'upload' => :'upload',
45
+ :'artifact' => :'artifact',
46
46
  :'expected_name' => :'expected_name',
47
47
  :'expected_namespace' => :'expected_namespace',
48
48
  :'expected_version' => :'expected_version'
@@ -52,10 +52,10 @@ module PulpAnsibleClient
52
52
  # Attribute type mapping.
53
53
  def self.openapi_types
54
54
  {
55
- :'file' => :'File',
56
55
  :'repository' => :'String',
57
- :'artifact' => :'String',
56
+ :'file' => :'File',
58
57
  :'upload' => :'String',
58
+ :'artifact' => :'String',
59
59
  :'expected_name' => :'String',
60
60
  :'expected_namespace' => :'String',
61
61
  :'expected_version' => :'String'
@@ -83,22 +83,22 @@ module PulpAnsibleClient
83
83
  h[k.to_sym] = v
84
84
  }
85
85
 
86
- if attributes.key?(:'file')
87
- self.file = attributes[:'file']
88
- end
89
-
90
86
  if attributes.key?(:'repository')
91
87
  self.repository = attributes[:'repository']
92
88
  end
93
89
 
94
- if attributes.key?(:'artifact')
95
- self.artifact = attributes[:'artifact']
90
+ if attributes.key?(:'file')
91
+ self.file = attributes[:'file']
96
92
  end
97
93
 
98
94
  if attributes.key?(:'upload')
99
95
  self.upload = attributes[:'upload']
100
96
  end
101
97
 
98
+ if attributes.key?(:'artifact')
99
+ self.artifact = attributes[:'artifact']
100
+ end
101
+
102
102
  if attributes.key?(:'expected_name')
103
103
  self.expected_name = attributes[:'expected_name']
104
104
  end
@@ -202,10 +202,10 @@ module PulpAnsibleClient
202
202
  def ==(o)
203
203
  return true if self.equal?(o)
204
204
  self.class == o.class &&
205
- file == o.file &&
206
205
  repository == o.repository &&
207
- artifact == o.artifact &&
206
+ file == o.file &&
208
207
  upload == o.upload &&
208
+ artifact == o.artifact &&
209
209
  expected_name == o.expected_name &&
210
210
  expected_namespace == o.expected_namespace &&
211
211
  expected_version == o.expected_version
@@ -220,7 +220,7 @@ module PulpAnsibleClient
220
220
  # Calculates hash code according to all attributes.
221
221
  # @return [Integer] Hash code
222
222
  def hash
223
- [file, repository, artifact, upload, expected_name, expected_namespace, expected_version].hash
223
+ [repository, file, upload, artifact, expected_name, expected_namespace, expected_version].hash
224
224
  end
225
225
 
226
226
  # 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 SHA-256 checksum if available.
27
27
  attr_accessor :sha256
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
  :'sha256' => :'sha256',
104
104
  :'md5' => :'md5',
105
105
  :'sha1' => :'sha1',
@@ -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
  :'sha256' => :'String',
137
137
  :'md5' => :'String',
138
138
  :'sha1' => :'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?(:'sha256')
198
198
  self.sha256 = attributes[:'sha256']
199
199
  end
@@ -435,9 +435,9 @@ module PulpAnsibleClient
435
435
  def ==(o)
436
436
  return true if self.equal?(o)
437
437
  self.class == o.class &&
438
+ pulp_created == o.pulp_created &&
438
439
  pulp_href == o.pulp_href &&
439
440
  artifact == o.artifact &&
440
- pulp_created == o.pulp_created &&
441
441
  sha256 == o.sha256 &&
442
442
  md5 == o.md5 &&
443
443
  sha1 == o.sha1 &&
@@ -473,7 +473,7 @@ module PulpAnsibleClient
473
473
  # Calculates hash code according to all attributes.
474
474
  # @return [Integer] Hash code
475
475
  def hash
476
- [pulp_href, artifact, pulp_created, sha256, md5, sha1, sha224, sha384, sha512, id, authors, contents, dependencies, description, docs_blob, manifest, files, documentation, homepage, issues, license, name, namespace, origin_repository, tags, version, requires_ansible].hash
476
+ [pulp_created, pulp_href, artifact, sha256, md5, sha1, sha224, sha384, sha512, id, authors, contents, dependencies, description, docs_blob, manifest, files, documentation, homepage, issues, license, name, namespace, origin_repository, tags, version, requires_ansible].hash
477
477
  end
478
478
 
479
479
  # Builds the object from hash