pulp_ansible_client 0.16.2 → 0.17.0.dev1676430674

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 (141) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -7
  3. data/docs/AnsibleAnsibleRepository.md +1 -1
  4. data/docs/AnsibleAnsibleRepositoryResponse.md +4 -2
  5. data/docs/AnsibleCollectionRemote.md +1 -1
  6. data/docs/AnsibleCollectionRemoteResponse.md +4 -2
  7. data/docs/AnsibleCollectionVersion.md +3 -3
  8. data/docs/AnsibleCollectionVersionResponse.md +2 -2
  9. data/docs/AnsibleCollectionsApi.md +2 -6
  10. data/docs/AnsibleGitRemote.md +25 -25
  11. data/docs/AnsibleGitRemoteResponse.md +25 -25
  12. data/docs/AnsibleRoleRemote.md +1 -1
  13. data/docs/AnsibleRoleRemoteResponse.md +1 -1
  14. data/docs/AnsibleRoleResponse.md +2 -2
  15. data/docs/CollectionRefResponse.md +1 -1
  16. data/docs/CollectionResponse.md +6 -6
  17. data/docs/CollectionVersionListResponse.md +1 -1
  18. data/docs/CollectionVersionResponse.md +4 -4
  19. data/docs/ContentCollectionDeprecationsApi.md +2 -6
  20. data/docs/ContentCollectionSignaturesApi.md +2 -6
  21. data/docs/ContentCollectionVersionsApi.md +4 -8
  22. data/docs/ContentRolesApi.md +2 -6
  23. data/docs/DistributionsAnsibleApi.md +2 -6
  24. data/docs/GalaxyCollectionResponse.md +4 -4
  25. data/docs/GalaxyCollectionVersionResponse.md +4 -4
  26. data/docs/GalaxyRoleResponse.md +1 -1
  27. data/docs/GalaxyRoleVersionResponse.md +1 -1
  28. data/docs/PatchedansibleAnsibleRepository.md +1 -1
  29. data/docs/PatchedansibleCollectionRemote.md +1 -1
  30. data/docs/PatchedansibleGitRemote.md +25 -25
  31. data/docs/PatchedansibleRoleRemote.md +1 -1
  32. data/docs/ProgressReportResponse.md +27 -0
  33. data/docs/PulpAnsibleApiV3CollectionsAllApi.md +2 -6
  34. data/docs/PulpAnsibleApiV3CollectionsApi.md +2 -6
  35. data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +2 -6
  36. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -6
  37. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +2 -6
  38. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +2 -6
  39. data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +2 -6
  40. data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +2 -6
  41. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +2 -6
  42. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -6
  43. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +2 -6
  44. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +2 -6
  45. data/docs/RemotesCollectionApi.md +10 -6
  46. data/docs/RemotesGitApi.md +2 -6
  47. data/docs/RemotesRoleApi.md +2 -6
  48. data/docs/RepositoriesAnsibleApi.md +2 -6
  49. data/docs/RepositoriesAnsibleVersionsApi.md +2 -4
  50. data/docs/RepositoryAddRemoveContent.md +2 -2
  51. data/docs/Task.md +19 -0
  52. data/docs/TaskResponse.md +45 -0
  53. data/docs/UnpaginatedCollectionVersionResponse.md +4 -4
  54. data/lib/pulp_ansible_client/api/ansible_collections_api.rb +2 -8
  55. data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +2 -8
  56. data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +2 -8
  57. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +5 -11
  58. data/lib/pulp_ansible_client/api/content_roles_api.rb +2 -8
  59. data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +2 -8
  60. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +2 -8
  61. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +2 -8
  62. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +2 -8
  63. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +2 -8
  64. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +2 -8
  65. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +2 -8
  66. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +2 -8
  67. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +2 -8
  68. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +2 -8
  69. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +2 -8
  70. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +2 -8
  71. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +2 -8
  72. data/lib/pulp_ansible_client/api/remotes_collection_api.rb +15 -9
  73. data/lib/pulp_ansible_client/api/remotes_git_api.rb +2 -8
  74. data/lib/pulp_ansible_client/api/remotes_role_api.rb +2 -8
  75. data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +2 -8
  76. data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +2 -5
  77. data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +1 -1
  78. data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +15 -6
  79. data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +1 -1
  80. data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +14 -5
  81. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +11 -11
  82. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +10 -10
  83. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +230 -230
  84. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +149 -149
  85. data/lib/pulp_ansible_client/models/ansible_role_remote.rb +1 -1
  86. data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +1 -1
  87. data/lib/pulp_ansible_client/models/ansible_role_response.rb +10 -10
  88. data/lib/pulp_ansible_client/models/collection_ref_response.rb +0 -1
  89. data/lib/pulp_ansible_client/models/collection_response.rb +0 -6
  90. data/lib/pulp_ansible_client/models/collection_version_list_response.rb +0 -1
  91. data/lib/pulp_ansible_client/models/collection_version_response.rb +0 -4
  92. data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +0 -4
  93. data/lib/pulp_ansible_client/models/galaxy_collection_version_response.rb +0 -4
  94. data/lib/pulp_ansible_client/models/galaxy_role_response.rb +0 -1
  95. data/lib/pulp_ansible_client/models/galaxy_role_version_response.rb +0 -1
  96. data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +1 -1
  97. data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +1 -1
  98. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +215 -215
  99. data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +1 -1
  100. data/lib/pulp_ansible_client/models/progress_report_response.rb +259 -0
  101. data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +2 -2
  102. data/lib/pulp_ansible_client/models/task.rb +266 -0
  103. data/lib/pulp_ansible_client/models/task_response.rb +366 -0
  104. data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +0 -4
  105. data/lib/pulp_ansible_client/version.rb +1 -1
  106. data/lib/pulp_ansible_client.rb +3 -0
  107. data/spec/api/ansible_collections_api_spec.rb +1 -3
  108. data/spec/api/content_collection_deprecations_api_spec.rb +1 -3
  109. data/spec/api/content_collection_signatures_api_spec.rb +1 -3
  110. data/spec/api/content_collection_versions_api_spec.rb +2 -4
  111. data/spec/api/content_roles_api_spec.rb +1 -3
  112. data/spec/api/distributions_ansible_api_spec.rb +1 -3
  113. data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +1 -3
  114. data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +1 -3
  115. data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +1 -3
  116. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -3
  117. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -3
  118. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -3
  119. data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +1 -3
  120. data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +1 -3
  121. data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +1 -3
  122. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -3
  123. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -3
  124. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -3
  125. data/spec/api/remotes_collection_api_spec.rb +5 -3
  126. data/spec/api/remotes_git_api_spec.rb +1 -3
  127. data/spec/api/remotes_role_api_spec.rb +1 -3
  128. data/spec/api/repositories_ansible_api_spec.rb +1 -3
  129. data/spec/api/repositories_ansible_versions_api_spec.rb +1 -2
  130. data/spec/models/ansible_ansible_repository_response_spec.rb +6 -0
  131. data/spec/models/ansible_collection_remote_response_spec.rb +6 -0
  132. data/spec/models/ansible_collection_version_response_spec.rb +2 -2
  133. data/spec/models/ansible_collection_version_spec.rb +2 -2
  134. data/spec/models/ansible_git_remote_response_spec.rb +19 -19
  135. data/spec/models/ansible_git_remote_spec.rb +19 -19
  136. data/spec/models/ansible_role_response_spec.rb +2 -2
  137. data/spec/models/patchedansible_git_remote_spec.rb +19 -19
  138. data/spec/models/progress_report_response_spec.rb +71 -0
  139. data/spec/models/task_response_spec.rb +125 -0
  140. data/spec/models/task_spec.rb +47 -0
  141. metadata +114 -102
@@ -23,7 +23,7 @@ module PulpAnsibleClient
23
23
  # An optional description.
24
24
  attr_accessor :description
25
25
 
26
- # Retain X versions of the repository. Default is null which retains all versions.
26
+ # Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
27
27
  attr_accessor :retain_repo_versions
28
28
 
29
29
  # An optional remote to use by default when syncing.
@@ -32,7 +32,7 @@ module PulpAnsibleClient
32
32
  # An optional description.
33
33
  attr_accessor :description
34
34
 
35
- # Retain X versions of the repository. Default is null which retains all versions.
35
+ # Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
36
36
  attr_accessor :retain_repo_versions
37
37
 
38
38
  # An optional remote to use by default when syncing.
@@ -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
@@ -56,7 +56,7 @@ module PulpAnsibleClient
56
56
  # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
57
57
  attr_accessor :max_retries
58
58
 
59
- # The policy to use when downloading content. * `immediate` - immediate * `When syncing, download all metadata and content now.` - When syncing, download all metadata and content now.
59
+ # The policy to use when downloading content.
60
60
  attr_accessor :policy
61
61
 
62
62
  # aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
@@ -49,7 +49,7 @@ module PulpAnsibleClient
49
49
  # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
50
50
  attr_accessor :max_retries
51
51
 
52
- # The policy to use when downloading content. * `immediate` - immediate * `When syncing, download all metadata and content now.` - When syncing, download all metadata and content now.
52
+ # The policy to use when downloading content.
53
53
  attr_accessor :policy
54
54
 
55
55
  # aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
@@ -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
@@ -15,12 +15,12 @@ require 'date'
15
15
  module PulpAnsibleClient
16
16
  # A serializer for CollectionVersion Content.
17
17
  class AnsibleCollectionVersion
18
- # A URI of a repository the new content unit should be associated with.
19
- attr_accessor :repository
20
-
21
18
  # An uploaded file that may be turned into the artifact of the content unit.
22
19
  attr_accessor :file
23
20
 
21
+ # A URI of a repository the new content unit should be associated with.
22
+ attr_accessor :repository
23
+
24
24
  # An uncommitted upload that may be turned into the artifact of the content unit.
25
25
  attr_accessor :upload
26
26
 
@@ -39,8 +39,8 @@ module PulpAnsibleClient
39
39
  # Attribute mapping from ruby-style variable name to JSON key.
40
40
  def self.attribute_map
41
41
  {
42
- :'repository' => :'repository',
43
42
  :'file' => :'file',
43
+ :'repository' => :'repository',
44
44
  :'upload' => :'upload',
45
45
  :'artifact' => :'artifact',
46
46
  :'expected_name' => :'expected_name',
@@ -52,8 +52,8 @@ module PulpAnsibleClient
52
52
  # Attribute type mapping.
53
53
  def self.openapi_types
54
54
  {
55
- :'repository' => :'String',
56
55
  :'file' => :'File',
56
+ :'repository' => :'String',
57
57
  :'upload' => :'String',
58
58
  :'artifact' => :'String',
59
59
  :'expected_name' => :'String',
@@ -83,14 +83,14 @@ module PulpAnsibleClient
83
83
  h[k.to_sym] = v
84
84
  }
85
85
 
86
- if attributes.key?(:'repository')
87
- self.repository = attributes[:'repository']
88
- end
89
-
90
86
  if attributes.key?(:'file')
91
87
  self.file = attributes[:'file']
92
88
  end
93
89
 
90
+ if attributes.key?(:'repository')
91
+ self.repository = attributes[:'repository']
92
+ end
93
+
94
94
  if attributes.key?(:'upload')
95
95
  self.upload = attributes[:'upload']
96
96
  end
@@ -202,8 +202,8 @@ module PulpAnsibleClient
202
202
  def ==(o)
203
203
  return true if self.equal?(o)
204
204
  self.class == o.class &&
205
- repository == o.repository &&
206
205
  file == o.file &&
206
+ repository == o.repository &&
207
207
  upload == o.upload &&
208
208
  artifact == o.artifact &&
209
209
  expected_name == o.expected_name &&
@@ -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
- [repository, file, upload, artifact, expected_name, expected_namespace, expected_version].hash
223
+ [file, repository, upload, artifact, expected_name, expected_namespace, expected_version].hash
224
224
  end
225
225
 
226
226
  # Builds the object from hash
@@ -18,11 +18,11 @@ module PulpAnsibleClient
18
18
  # Timestamp of creation.
19
19
  attr_accessor :pulp_created
20
20
 
21
- attr_accessor :pulp_href
22
-
23
21
  # Artifact file representing the physical content
24
22
  attr_accessor :artifact
25
23
 
24
+ attr_accessor :pulp_href
25
+
26
26
  # The SHA-256 checksum if available.
27
27
  attr_accessor :sha256
28
28
 
@@ -98,8 +98,8 @@ module PulpAnsibleClient
98
98
  def self.attribute_map
99
99
  {
100
100
  :'pulp_created' => :'pulp_created',
101
- :'pulp_href' => :'pulp_href',
102
101
  :'artifact' => :'artifact',
102
+ :'pulp_href' => :'pulp_href',
103
103
  :'sha256' => :'sha256',
104
104
  :'md5' => :'md5',
105
105
  :'sha1' => :'sha1',
@@ -131,8 +131,8 @@ module PulpAnsibleClient
131
131
  def self.openapi_types
132
132
  {
133
133
  :'pulp_created' => :'DateTime',
134
- :'pulp_href' => :'String',
135
134
  :'artifact' => :'String',
135
+ :'pulp_href' => :'String',
136
136
  :'sha256' => :'String',
137
137
  :'md5' => :'String',
138
138
  :'sha1' => :'String',
@@ -186,14 +186,14 @@ module PulpAnsibleClient
186
186
  self.pulp_created = attributes[:'pulp_created']
187
187
  end
188
188
 
189
- if attributes.key?(:'pulp_href')
190
- self.pulp_href = attributes[:'pulp_href']
191
- end
192
-
193
189
  if attributes.key?(:'artifact')
194
190
  self.artifact = attributes[:'artifact']
195
191
  end
196
192
 
193
+ if attributes.key?(:'pulp_href')
194
+ self.pulp_href = attributes[:'pulp_href']
195
+ end
196
+
197
197
  if attributes.key?(:'sha256')
198
198
  self.sha256 = attributes[:'sha256']
199
199
  end
@@ -436,8 +436,8 @@ module PulpAnsibleClient
436
436
  return true if self.equal?(o)
437
437
  self.class == o.class &&
438
438
  pulp_created == o.pulp_created &&
439
- pulp_href == o.pulp_href &&
440
439
  artifact == o.artifact &&
440
+ pulp_href == o.pulp_href &&
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_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
476
+ [pulp_created, artifact, pulp_href, 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