pulp_ansible_client 0.21.6 → 0.21.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (152) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -8
  3. data/docs/AnsibleAnsibleRepositoryResponse.md +2 -0
  4. data/docs/AnsibleCollectionRemoteResponse.md +2 -2
  5. data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +2 -2
  6. data/docs/AnsibleCollectionVersion.md +3 -3
  7. data/docs/AnsibleCollectionVersionResponse.md +2 -0
  8. data/docs/AnsibleCollectionVersionSignatureResponse.md +2 -0
  9. data/docs/AnsibleCollectionsApi.md +1 -1
  10. data/docs/AnsibleCopyApi.md +1 -1
  11. data/docs/AnsibleGitRemote.md +28 -28
  12. data/docs/AnsibleGitRemoteResponse.md +24 -24
  13. data/docs/AnsibleRole.md +3 -3
  14. data/docs/AnsibleRoleRemoteResponse.md +2 -2
  15. data/docs/AnsibleRoleResponse.md +5 -3
  16. data/docs/ApiCollectionsApi.md +1 -1
  17. data/docs/{PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.md → ApiPluginAnsibleSearchCollectionVersionsApi.md} +18 -17
  18. data/docs/ApiRolesApi.md +1 -1
  19. data/docs/CollectionImportApi.md +1 -1
  20. data/docs/ContentCollectionDeprecationsApi.md +1 -1
  21. data/docs/ContentCollectionMarksApi.md +1 -1
  22. data/docs/ContentCollectionSignaturesApi.md +1 -1
  23. data/docs/ContentCollectionVersionsApi.md +3 -3
  24. data/docs/ContentNamespacesApi.md +1 -1
  25. data/docs/ContentRolesApi.md +1 -1
  26. data/docs/DistributionsAnsibleApi.md +1 -1
  27. data/docs/GalaxyDetailApi.md +1 -1
  28. data/docs/PaginatedGalaxyCollectionResponseList.md +2 -2
  29. data/docs/PaginatedGalaxyCollectionVersionResponseList.md +2 -2
  30. data/docs/PaginatedGalaxyRoleResponseList.md +2 -2
  31. data/docs/PaginatedGalaxyRoleVersionResponseList.md +2 -2
  32. data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
  33. data/docs/PaginatedTagResponseList.md +2 -2
  34. data/docs/PaginatedansibleAnsibleDistributionResponseList.md +2 -2
  35. data/docs/PaginatedansibleAnsibleNamespaceMetadataResponseList.md +2 -2
  36. data/docs/PaginatedansibleAnsibleRepositoryResponseList.md +2 -2
  37. data/docs/PaginatedansibleCollectionRemoteResponseList.md +2 -2
  38. data/docs/PaginatedansibleCollectionResponseList.md +2 -2
  39. data/docs/PaginatedansibleCollectionVersionMarkResponseList.md +2 -2
  40. data/docs/PaginatedansibleCollectionVersionResponseList.md +2 -2
  41. data/docs/PaginatedansibleCollectionVersionSignatureResponseList.md +2 -2
  42. data/docs/PaginatedansibleGitRemoteResponseList.md +2 -2
  43. data/docs/PaginatedansibleRoleRemoteResponseList.md +2 -2
  44. data/docs/PaginatedansibleRoleResponseList.md +2 -2
  45. data/docs/PatchedansibleGitRemote.md +28 -28
  46. data/docs/PulpAnsibleApiApi.md +1 -1
  47. data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +1 -1
  48. data/docs/PulpAnsibleApiV3Api.md +1 -1
  49. data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +1 -1
  50. data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +1 -1
  51. data/docs/PulpAnsibleApiV3CollectionsAllApi.md +1 -1
  52. data/docs/PulpAnsibleApiV3CollectionsApi.md +1 -1
  53. data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +1 -1
  54. data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +1 -1
  55. data/docs/PulpAnsibleApiV3NamespacesApi.md +1 -1
  56. data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +1 -1
  57. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -1
  58. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
  59. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +1 -1
  60. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
  61. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +1 -1
  62. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +1 -1
  63. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
  64. data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +1 -1
  65. data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +1 -1
  66. data/docs/PulpAnsibleDefaultApiApi.md +1 -1
  67. data/docs/PulpAnsibleDefaultApiV3Api.md +1 -1
  68. data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +1 -1
  69. data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +1 -1
  70. data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +1 -1
  71. data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +1 -1
  72. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +1 -1
  73. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +1 -1
  74. data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +1 -1
  75. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +1 -1
  76. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -1
  77. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
  78. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +1 -1
  79. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
  80. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +1 -1
  81. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +1 -1
  82. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
  83. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +1 -1
  84. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +4 -3
  85. data/docs/PulpAnsibleTagsApi.md +1 -1
  86. data/docs/RemotesCollectionApi.md +1 -1
  87. data/docs/RemotesGitApi.md +1 -1
  88. data/docs/RemotesRoleApi.md +1 -1
  89. data/docs/RepositoriesAnsibleApi.md +1 -1
  90. data/docs/RepositoriesAnsibleVersionsApi.md +1 -1
  91. data/docs/RepositoryResponse.md +2 -0
  92. data/docs/RepositoryVersionResponse.md +2 -0
  93. data/docs/VersionsApi.md +1 -1
  94. data/lib/pulp_ansible_client/api/{pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api.rb → api_plugin_ansible_search_collection_versions_api.rb} +26 -24
  95. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +3 -3
  96. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +2 -0
  97. data/lib/pulp_ansible_client/configuration.rb +2 -2
  98. data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +11 -1
  99. data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +20 -20
  100. data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +31 -31
  101. data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +10 -0
  102. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +11 -11
  103. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +11 -1
  104. data/lib/pulp_ansible_client/models/ansible_collection_version_signature_response.rb +11 -1
  105. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +249 -249
  106. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +144 -144
  107. data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
  108. data/lib/pulp_ansible_client/models/ansible_role_remote.rb +20 -20
  109. data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +31 -31
  110. data/lib/pulp_ansible_client/models/ansible_role_response.rb +18 -8
  111. data/lib/pulp_ansible_client/models/paginated_galaxy_collection_response_list.rb +10 -0
  112. data/lib/pulp_ansible_client/models/paginated_galaxy_collection_version_response_list.rb +10 -0
  113. data/lib/pulp_ansible_client/models/paginated_galaxy_role_response_list.rb +10 -0
  114. data/lib/pulp_ansible_client/models/paginated_galaxy_role_version_response_list.rb +10 -0
  115. data/lib/pulp_ansible_client/models/paginated_repository_version_response_list.rb +10 -0
  116. data/lib/pulp_ansible_client/models/paginated_tag_response_list.rb +10 -0
  117. data/lib/pulp_ansible_client/models/paginatedansible_ansible_distribution_response_list.rb +10 -0
  118. data/lib/pulp_ansible_client/models/paginatedansible_ansible_namespace_metadata_response_list.rb +10 -0
  119. data/lib/pulp_ansible_client/models/paginatedansible_ansible_repository_response_list.rb +10 -0
  120. data/lib/pulp_ansible_client/models/paginatedansible_collection_remote_response_list.rb +10 -0
  121. data/lib/pulp_ansible_client/models/paginatedansible_collection_response_list.rb +10 -0
  122. data/lib/pulp_ansible_client/models/paginatedansible_collection_version_mark_response_list.rb +10 -0
  123. data/lib/pulp_ansible_client/models/paginatedansible_collection_version_response_list.rb +10 -0
  124. data/lib/pulp_ansible_client/models/paginatedansible_collection_version_signature_response_list.rb +10 -0
  125. data/lib/pulp_ansible_client/models/paginatedansible_git_remote_response_list.rb +10 -0
  126. data/lib/pulp_ansible_client/models/paginatedansible_role_remote_response_list.rb +10 -0
  127. data/lib/pulp_ansible_client/models/paginatedansible_role_response_list.rb +10 -0
  128. data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +20 -20
  129. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +237 -237
  130. data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +20 -20
  131. data/lib/pulp_ansible_client/models/repository_response.rb +11 -1
  132. data/lib/pulp_ansible_client/models/repository_version_response.rb +11 -1
  133. data/lib/pulp_ansible_client/version.rb +1 -1
  134. data/lib/pulp_ansible_client.rb +1 -1
  135. data/spec/api/{pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api_spec.rb → api_plugin_ansible_search_collection_versions_api_spec.rb} +9 -8
  136. data/spec/api/content_collection_versions_api_spec.rb +1 -1
  137. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +1 -0
  138. data/spec/configuration_spec.rb +3 -3
  139. data/spec/models/ansible_ansible_repository_response_spec.rb +6 -0
  140. data/spec/models/ansible_collection_remote_response_spec.rb +6 -6
  141. data/spec/models/ansible_collection_version_response_spec.rb +6 -0
  142. data/spec/models/ansible_collection_version_signature_response_spec.rb +6 -0
  143. data/spec/models/ansible_collection_version_spec.rb +3 -3
  144. data/spec/models/ansible_git_remote_response_spec.rb +18 -18
  145. data/spec/models/ansible_git_remote_spec.rb +18 -18
  146. data/spec/models/ansible_role_remote_response_spec.rb +6 -6
  147. data/spec/models/ansible_role_response_spec.rb +7 -1
  148. data/spec/models/ansible_role_spec.rb +2 -2
  149. data/spec/models/patchedansible_git_remote_spec.rb +18 -18
  150. data/spec/models/repository_response_spec.rb +6 -0
  151. data/spec/models/repository_version_response_spec.rb +6 -0
  152. metadata +143 -143
@@ -20,6 +20,9 @@ module PulpAnsibleClient
20
20
  # Timestamp of creation.
21
21
  attr_accessor :pulp_created
22
22
 
23
+ # Timestamp of the most recent update of the remote.
24
+ attr_accessor :pulp_last_updated
25
+
23
26
  # A unique name for this remote.
24
27
  attr_accessor :name
25
28
 
@@ -40,9 +43,6 @@ module PulpAnsibleClient
40
43
 
41
44
  attr_accessor :pulp_labels
42
45
 
43
- # Timestamp of the most recent update of the remote.
44
- attr_accessor :pulp_last_updated
45
-
46
46
  # Total number of simultaneous connections. If not set then the default value will be used.
47
47
  attr_accessor :download_concurrency
48
48
 
@@ -78,6 +78,7 @@ module PulpAnsibleClient
78
78
  {
79
79
  :'pulp_href' => :'pulp_href',
80
80
  :'pulp_created' => :'pulp_created',
81
+ :'pulp_last_updated' => :'pulp_last_updated',
81
82
  :'name' => :'name',
82
83
  :'url' => :'url',
83
84
  :'ca_cert' => :'ca_cert',
@@ -85,7 +86,6 @@ module PulpAnsibleClient
85
86
  :'tls_validation' => :'tls_validation',
86
87
  :'proxy_url' => :'proxy_url',
87
88
  :'pulp_labels' => :'pulp_labels',
88
- :'pulp_last_updated' => :'pulp_last_updated',
89
89
  :'download_concurrency' => :'download_concurrency',
90
90
  :'max_retries' => :'max_retries',
91
91
  :'policy' => :'policy',
@@ -104,6 +104,7 @@ module PulpAnsibleClient
104
104
  {
105
105
  :'pulp_href' => :'String',
106
106
  :'pulp_created' => :'DateTime',
107
+ :'pulp_last_updated' => :'DateTime',
107
108
  :'name' => :'String',
108
109
  :'url' => :'String',
109
110
  :'ca_cert' => :'String',
@@ -111,7 +112,6 @@ module PulpAnsibleClient
111
112
  :'tls_validation' => :'Boolean',
112
113
  :'proxy_url' => :'String',
113
114
  :'pulp_labels' => :'Hash<String, String>',
114
- :'pulp_last_updated' => :'DateTime',
115
115
  :'download_concurrency' => :'Integer',
116
116
  :'max_retries' => :'Integer',
117
117
  :'policy' => :'PolicyEnum',
@@ -164,6 +164,10 @@ module PulpAnsibleClient
164
164
  self.pulp_created = attributes[:'pulp_created']
165
165
  end
166
166
 
167
+ if attributes.key?(:'pulp_last_updated')
168
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
169
+ end
170
+
167
171
  if attributes.key?(:'name')
168
172
  self.name = attributes[:'name']
169
173
  end
@@ -194,10 +198,6 @@ module PulpAnsibleClient
194
198
  end
195
199
  end
196
200
 
197
- if attributes.key?(:'pulp_last_updated')
198
- self.pulp_last_updated = attributes[:'pulp_last_updated']
199
- end
200
-
201
201
  if attributes.key?(:'download_concurrency')
202
202
  self.download_concurrency = attributes[:'download_concurrency']
203
203
  end
@@ -259,20 +259,20 @@ module PulpAnsibleClient
259
259
  invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
260
260
  end
261
261
 
262
- if !@total_timeout.nil? && @total_timeout < 0.0
263
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
262
+ if !@total_timeout.nil? && @total_timeout < 0
263
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
264
264
  end
265
265
 
266
- if !@connect_timeout.nil? && @connect_timeout < 0.0
267
- invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
266
+ if !@connect_timeout.nil? && @connect_timeout < 0
267
+ invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
268
268
  end
269
269
 
270
- if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
271
- invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
270
+ if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
271
+ invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
272
272
  end
273
273
 
274
- if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
275
- invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
274
+ if !@sock_read_timeout.nil? && @sock_read_timeout < 0
275
+ invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
276
276
  end
277
277
 
278
278
  invalid_properties
@@ -284,10 +284,10 @@ module PulpAnsibleClient
284
284
  return false if @name.nil?
285
285
  return false if @url.nil?
286
286
  return false if !@download_concurrency.nil? && @download_concurrency < 1
287
- return false if !@total_timeout.nil? && @total_timeout < 0.0
288
- return false if !@connect_timeout.nil? && @connect_timeout < 0.0
289
- return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
290
- return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
287
+ return false if !@total_timeout.nil? && @total_timeout < 0
288
+ return false if !@connect_timeout.nil? && @connect_timeout < 0
289
+ return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
290
+ return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
291
291
  true
292
292
  end
293
293
 
@@ -304,8 +304,8 @@ module PulpAnsibleClient
304
304
  # Custom attribute writer method with validation
305
305
  # @param [Object] total_timeout Value to be assigned
306
306
  def total_timeout=(total_timeout)
307
- if !total_timeout.nil? && total_timeout < 0.0
308
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
307
+ if !total_timeout.nil? && total_timeout < 0
308
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
309
309
  end
310
310
 
311
311
  @total_timeout = total_timeout
@@ -314,8 +314,8 @@ module PulpAnsibleClient
314
314
  # Custom attribute writer method with validation
315
315
  # @param [Object] connect_timeout Value to be assigned
316
316
  def connect_timeout=(connect_timeout)
317
- if !connect_timeout.nil? && connect_timeout < 0.0
318
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
317
+ if !connect_timeout.nil? && connect_timeout < 0
318
+ fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
319
319
  end
320
320
 
321
321
  @connect_timeout = connect_timeout
@@ -324,8 +324,8 @@ module PulpAnsibleClient
324
324
  # Custom attribute writer method with validation
325
325
  # @param [Object] sock_connect_timeout Value to be assigned
326
326
  def sock_connect_timeout=(sock_connect_timeout)
327
- if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
328
- fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
327
+ if !sock_connect_timeout.nil? && sock_connect_timeout < 0
328
+ fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
329
329
  end
330
330
 
331
331
  @sock_connect_timeout = sock_connect_timeout
@@ -334,8 +334,8 @@ module PulpAnsibleClient
334
334
  # Custom attribute writer method with validation
335
335
  # @param [Object] sock_read_timeout Value to be assigned
336
336
  def sock_read_timeout=(sock_read_timeout)
337
- if !sock_read_timeout.nil? && sock_read_timeout < 0.0
338
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
337
+ if !sock_read_timeout.nil? && sock_read_timeout < 0
338
+ fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
339
339
  end
340
340
 
341
341
  @sock_read_timeout = sock_read_timeout
@@ -348,6 +348,7 @@ module PulpAnsibleClient
348
348
  self.class == o.class &&
349
349
  pulp_href == o.pulp_href &&
350
350
  pulp_created == o.pulp_created &&
351
+ pulp_last_updated == o.pulp_last_updated &&
351
352
  name == o.name &&
352
353
  url == o.url &&
353
354
  ca_cert == o.ca_cert &&
@@ -355,7 +356,6 @@ module PulpAnsibleClient
355
356
  tls_validation == o.tls_validation &&
356
357
  proxy_url == o.proxy_url &&
357
358
  pulp_labels == o.pulp_labels &&
358
- pulp_last_updated == o.pulp_last_updated &&
359
359
  download_concurrency == o.download_concurrency &&
360
360
  max_retries == o.max_retries &&
361
361
  policy == o.policy &&
@@ -377,7 +377,7 @@ module PulpAnsibleClient
377
377
  # Calculates hash code according to all attributes.
378
378
  # @return [Integer] Hash code
379
379
  def hash
380
- [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].hash
380
+ [pulp_href, pulp_created, pulp_last_updated, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, hidden_fields].hash
381
381
  end
382
382
 
383
383
  # Builds the object from hash
@@ -15,11 +15,14 @@ require 'date'
15
15
  module PulpAnsibleClient
16
16
  # A serializer for Role versions.
17
17
  class AnsibleRoleResponse
18
+ # Artifact file representing the physical content
19
+ attr_accessor :artifact
20
+
18
21
  # Timestamp of creation.
19
22
  attr_accessor :pulp_created
20
23
 
21
- # Artifact file representing the physical content
22
- attr_accessor :artifact
24
+ # Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
25
+ attr_accessor :pulp_last_updated
23
26
 
24
27
  attr_accessor :pulp_href
25
28
 
@@ -32,8 +35,9 @@ module PulpAnsibleClient
32
35
  # Attribute mapping from ruby-style variable name to JSON key.
33
36
  def self.attribute_map
34
37
  {
35
- :'pulp_created' => :'pulp_created',
36
38
  :'artifact' => :'artifact',
39
+ :'pulp_created' => :'pulp_created',
40
+ :'pulp_last_updated' => :'pulp_last_updated',
37
41
  :'pulp_href' => :'pulp_href',
38
42
  :'version' => :'version',
39
43
  :'name' => :'name',
@@ -44,8 +48,9 @@ module PulpAnsibleClient
44
48
  # Attribute type mapping.
45
49
  def self.openapi_types
46
50
  {
47
- :'pulp_created' => :'DateTime',
48
51
  :'artifact' => :'String',
52
+ :'pulp_created' => :'DateTime',
53
+ :'pulp_last_updated' => :'DateTime',
49
54
  :'pulp_href' => :'String',
50
55
  :'version' => :'String',
51
56
  :'name' => :'String',
@@ -74,12 +79,16 @@ module PulpAnsibleClient
74
79
  h[k.to_sym] = v
75
80
  }
76
81
 
82
+ if attributes.key?(:'artifact')
83
+ self.artifact = attributes[:'artifact']
84
+ end
85
+
77
86
  if attributes.key?(:'pulp_created')
78
87
  self.pulp_created = attributes[:'pulp_created']
79
88
  end
80
89
 
81
- if attributes.key?(:'artifact')
82
- self.artifact = attributes[:'artifact']
90
+ if attributes.key?(:'pulp_last_updated')
91
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
83
92
  end
84
93
 
85
94
  if attributes.key?(:'pulp_href')
@@ -137,8 +146,9 @@ module PulpAnsibleClient
137
146
  def ==(o)
138
147
  return true if self.equal?(o)
139
148
  self.class == o.class &&
140
- pulp_created == o.pulp_created &&
141
149
  artifact == o.artifact &&
150
+ pulp_created == o.pulp_created &&
151
+ pulp_last_updated == o.pulp_last_updated &&
142
152
  pulp_href == o.pulp_href &&
143
153
  version == o.version &&
144
154
  name == o.name &&
@@ -154,7 +164,7 @@ module PulpAnsibleClient
154
164
  # Calculates hash code according to all attributes.
155
165
  # @return [Integer] Hash code
156
166
  def hash
157
- [pulp_created, artifact, pulp_href, version, name, namespace].hash
167
+ [artifact, pulp_created, pulp_last_updated, pulp_href, version, name, namespace].hash
158
168
  end
159
169
 
160
170
  # Builds the object from hash
@@ -88,12 +88,22 @@ module PulpAnsibleClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpAnsibleClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpAnsibleClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpAnsibleClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpAnsibleClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpAnsibleClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpAnsibleClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpAnsibleClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpAnsibleClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpAnsibleClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpAnsibleClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpAnsibleClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpAnsibleClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpAnsibleClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpAnsibleClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpAnsibleClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpAnsibleClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109