pulp_ansible_client 0.16.7 → 0.17.0.dev1676344220

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 (97) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -5
  3. data/docs/AnsibleAnsibleRepositoryResponse.md +3 -1
  4. data/docs/AnsibleCollectionRemoteResponse.md +3 -1
  5. data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +2 -2
  6. data/docs/AnsibleCollectionVersionResponse.md +3 -3
  7. data/docs/AnsibleCollectionsApi.md +1 -1
  8. data/docs/AnsibleCopyApi.md +1 -1
  9. data/docs/AnsibleGitRemote.md +28 -28
  10. data/docs/AnsibleGitRemoteResponse.md +28 -28
  11. data/docs/AnsibleRoleResponse.md +3 -3
  12. data/docs/ApiCollectionsApi.md +1 -1
  13. data/docs/ApiRolesApi.md +1 -1
  14. data/docs/CollectionImportApi.md +1 -1
  15. data/docs/ContentCollectionDeprecationsApi.md +1 -1
  16. data/docs/ContentCollectionSignaturesApi.md +1 -1
  17. data/docs/ContentCollectionVersionsApi.md +1 -1
  18. data/docs/ContentRolesApi.md +1 -1
  19. data/docs/DistributionsAnsibleApi.md +5 -1
  20. data/docs/GalaxyDetailApi.md +1 -1
  21. data/docs/PatchedansibleGitRemote.md +28 -28
  22. data/docs/ProgressReportResponse.md +27 -0
  23. data/docs/PulpAnsibleApiApi.md +1 -1
  24. data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +1 -1
  25. data/docs/PulpAnsibleApiV3Api.md +1 -1
  26. data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +1 -1
  27. data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +1 -1
  28. data/docs/PulpAnsibleApiV3CollectionsAllApi.md +1 -1
  29. data/docs/PulpAnsibleApiV3CollectionsApi.md +1 -1
  30. data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +1 -1
  31. data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +1 -1
  32. data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +1 -1
  33. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -1
  34. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
  35. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +1 -1
  36. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
  37. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +1 -1
  38. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +1 -1
  39. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
  40. data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +1 -1
  41. data/docs/PulpAnsibleDefaultApiApi.md +1 -1
  42. data/docs/PulpAnsibleDefaultApiV3Api.md +1 -1
  43. data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +1 -1
  44. data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +1 -1
  45. data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +1 -1
  46. data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +1 -1
  47. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +1 -1
  48. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +1 -1
  49. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +1 -1
  50. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -1
  51. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
  52. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +1 -1
  53. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
  54. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +1 -1
  55. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +1 -1
  56. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
  57. data/docs/PulpAnsibleTagsApi.md +1 -1
  58. data/docs/RemotesCollectionApi.md +9 -1
  59. data/docs/RemotesGitApi.md +1 -1
  60. data/docs/RemotesRoleApi.md +1 -1
  61. data/docs/RepositoriesAnsibleApi.md +17 -1
  62. data/docs/RepositoriesAnsibleVersionsApi.md +1 -1
  63. data/docs/Task.md +19 -0
  64. data/docs/TaskResponse.md +45 -0
  65. data/docs/VersionsApi.md +1 -1
  66. data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +6 -0
  67. data/lib/pulp_ansible_client/api/remotes_collection_api.rb +13 -1
  68. data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +24 -0
  69. data/lib/pulp_ansible_client/configuration.rb +3 -3
  70. data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +14 -5
  71. data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +13 -4
  72. data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +0 -10
  73. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +11 -11
  74. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +232 -232
  75. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +155 -155
  76. data/lib/pulp_ansible_client/models/ansible_role_response.rb +10 -10
  77. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +223 -223
  78. data/lib/pulp_ansible_client/models/progress_report_response.rb +259 -0
  79. data/lib/pulp_ansible_client/models/task.rb +266 -0
  80. data/lib/pulp_ansible_client/models/task_response.rb +366 -0
  81. data/lib/pulp_ansible_client/version.rb +1 -1
  82. data/lib/pulp_ansible_client.rb +3 -0
  83. data/spec/api/distributions_ansible_api_spec.rb +2 -0
  84. data/spec/api/remotes_collection_api_spec.rb +4 -0
  85. data/spec/api/repositories_ansible_api_spec.rb +8 -0
  86. data/spec/configuration_spec.rb +3 -3
  87. data/spec/models/ansible_ansible_repository_response_spec.rb +6 -0
  88. data/spec/models/ansible_collection_remote_response_spec.rb +6 -0
  89. data/spec/models/ansible_collection_version_response_spec.rb +3 -3
  90. data/spec/models/ansible_git_remote_response_spec.rb +19 -19
  91. data/spec/models/ansible_git_remote_spec.rb +19 -19
  92. data/spec/models/ansible_role_response_spec.rb +2 -2
  93. data/spec/models/patchedansible_git_remote_spec.rb +19 -19
  94. data/spec/models/progress_report_response_spec.rb +71 -0
  95. data/spec/models/task_response_spec.rb +125 -0
  96. data/spec/models/task_spec.rb +47 -0
  97. metadata +130 -118
@@ -44,6 +44,8 @@ module PulpAnsibleClient
44
44
  # Gpg public key to verify collection signatures against
45
45
  attr_accessor :gpgkey
46
46
 
47
+ attr_accessor :last_sync_task
48
+
47
49
  # Attribute mapping from ruby-style variable name to JSON key.
48
50
  def self.attribute_map
49
51
  {
@@ -57,7 +59,8 @@ module PulpAnsibleClient
57
59
  :'retain_repo_versions' => :'retain_repo_versions',
58
60
  :'remote' => :'remote',
59
61
  :'last_synced_metadata_time' => :'last_synced_metadata_time',
60
- :'gpgkey' => :'gpgkey'
62
+ :'gpgkey' => :'gpgkey',
63
+ :'last_sync_task' => :'last_sync_task'
61
64
  }
62
65
  end
63
66
 
@@ -74,7 +77,8 @@ module PulpAnsibleClient
74
77
  :'retain_repo_versions' => :'Integer',
75
78
  :'remote' => :'String',
76
79
  :'last_synced_metadata_time' => :'DateTime',
77
- :'gpgkey' => :'String'
80
+ :'gpgkey' => :'String',
81
+ :'last_sync_task' => :'TaskResponse'
78
82
  }
79
83
  end
80
84
 
@@ -85,7 +89,7 @@ module PulpAnsibleClient
85
89
  :'retain_repo_versions',
86
90
  :'remote',
87
91
  :'last_synced_metadata_time',
88
- :'gpgkey'
92
+ :'gpgkey',
89
93
  ])
90
94
  end
91
95
 
@@ -149,6 +153,10 @@ module PulpAnsibleClient
149
153
  if attributes.key?(:'gpgkey')
150
154
  self.gpgkey = attributes[:'gpgkey']
151
155
  end
156
+
157
+ if attributes.key?(:'last_sync_task')
158
+ self.last_sync_task = attributes[:'last_sync_task']
159
+ end
152
160
  end
153
161
 
154
162
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -199,7 +207,8 @@ module PulpAnsibleClient
199
207
  retain_repo_versions == o.retain_repo_versions &&
200
208
  remote == o.remote &&
201
209
  last_synced_metadata_time == o.last_synced_metadata_time &&
202
- gpgkey == o.gpgkey
210
+ gpgkey == o.gpgkey &&
211
+ last_sync_task == o.last_sync_task
203
212
  end
204
213
 
205
214
  # @see the `==` method
@@ -211,7 +220,7 @@ module PulpAnsibleClient
211
220
  # Calculates hash code according to all attributes.
212
221
  # @return [Integer] Hash code
213
222
  def hash
214
- [pulp_href, pulp_created, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, last_synced_metadata_time, gpgkey].hash
223
+ [pulp_href, pulp_created, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, last_synced_metadata_time, gpgkey, last_sync_task].hash
215
224
  end
216
225
 
217
226
  # Builds the object from hash
@@ -85,6 +85,8 @@ module PulpAnsibleClient
85
85
  # Sync only collections that have a signature
86
86
  attr_accessor :signed_only
87
87
 
88
+ attr_accessor :last_sync_task
89
+
88
90
  # Attribute mapping from ruby-style variable name to JSON key.
89
91
  def self.attribute_map
90
92
  {
@@ -111,7 +113,8 @@ module PulpAnsibleClient
111
113
  :'requirements_file' => :'requirements_file',
112
114
  :'auth_url' => :'auth_url',
113
115
  :'sync_dependencies' => :'sync_dependencies',
114
- :'signed_only' => :'signed_only'
116
+ :'signed_only' => :'signed_only',
117
+ :'last_sync_task' => :'last_sync_task'
115
118
  }
116
119
  end
117
120
 
@@ -141,7 +144,8 @@ module PulpAnsibleClient
141
144
  :'requirements_file' => :'String',
142
145
  :'auth_url' => :'String',
143
146
  :'sync_dependencies' => :'Boolean',
144
- :'signed_only' => :'Boolean'
147
+ :'signed_only' => :'Boolean',
148
+ :'last_sync_task' => :'TaskResponse'
145
149
  }
146
150
  end
147
151
 
@@ -283,6 +287,10 @@ module PulpAnsibleClient
283
287
  else
284
288
  self.signed_only = false
285
289
  end
290
+
291
+ if attributes.key?(:'last_sync_task')
292
+ self.last_sync_task = attributes[:'last_sync_task']
293
+ end
286
294
  end
287
295
 
288
296
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -426,7 +434,8 @@ module PulpAnsibleClient
426
434
  requirements_file == o.requirements_file &&
427
435
  auth_url == o.auth_url &&
428
436
  sync_dependencies == o.sync_dependencies &&
429
- signed_only == o.signed_only
437
+ signed_only == o.signed_only &&
438
+ last_sync_task == o.last_sync_task
430
439
  end
431
440
 
432
441
  # @see the `==` method
@@ -438,7 +447,7 @@ module PulpAnsibleClient
438
447
  # Calculates hash code according to all attributes.
439
448
  # @return [Integer] Hash code
440
449
  def hash
441
- [pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, pulp_last_updated, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, hidden_fields, requirements_file, auth_url, sync_dependencies, signed_only].hash
450
+ [pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, pulp_last_updated, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, hidden_fields, requirements_file, auth_url, sync_dependencies, signed_only, last_sync_task].hash
442
451
  end
443
452
 
444
453
  # Builds the object from hash
@@ -68,22 +68,12 @@ module PulpAnsibleClient
68
68
  # @return Array for valid properties with the reasons
69
69
  def list_invalid_properties
70
70
  invalid_properties = Array.new
71
- if @name.nil?
72
- invalid_properties.push('invalid value for "name", name cannot be nil.')
73
- end
74
-
75
- if @is_set.nil?
76
- invalid_properties.push('invalid value for "is_set", is_set cannot be nil.')
77
- end
78
-
79
71
  invalid_properties
80
72
  end
81
73
 
82
74
  # Check to see if the all the properties in the model are valid
83
75
  # @return true if the model is valid
84
76
  def valid?
85
- return false if @name.nil?
86
- return false if @is_set.nil?
87
77
  true
88
78
  end
89
79
 
@@ -15,14 +15,14 @@ require 'date'
15
15
  module PulpAnsibleClient
16
16
  # A serializer for CollectionVersion Content.
17
17
  class AnsibleCollectionVersionResponse
18
+ # Artifact file representing the physical content
19
+ attr_accessor :artifact
20
+
18
21
  attr_accessor :pulp_href
19
22
 
20
23
  # Timestamp of creation.
21
24
  attr_accessor :pulp_created
22
25
 
23
- # Artifact file representing the physical content
24
- attr_accessor :artifact
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
+ :'artifact' => :'artifact',
100
101
  :'pulp_href' => :'pulp_href',
101
102
  :'pulp_created' => :'pulp_created',
102
- :'artifact' => :'artifact',
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
+ :'artifact' => :'String',
133
134
  :'pulp_href' => :'String',
134
135
  :'pulp_created' => :'DateTime',
135
- :'artifact' => :'String',
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?(:'artifact')
186
+ self.artifact = attributes[:'artifact']
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.pulp_created = attributes[:'pulp_created']
191
195
  end
192
196
 
193
- if attributes.key?(:'artifact')
194
- self.artifact = attributes[:'artifact']
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
+ artifact == o.artifact &&
438
439
  pulp_href == o.pulp_href &&
439
440
  pulp_created == o.pulp_created &&
440
- artifact == o.artifact &&
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, pulp_created, 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
476
+ [artifact, pulp_href, 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
477
477
  end
478
478
 
479
479
  # Builds the object from hash