pulp_ansible_client 0.24.11 → 0.25.0

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.
Files changed (202) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -8
  3. data/docs/AnsibleAnsibleDistribution.md +3 -5
  4. data/docs/AnsibleAnsibleDistributionResponse.md +4 -12
  5. data/docs/AnsibleCollectionVersionResponse.md +14 -6
  6. data/docs/AnsibleCollectionsApi.md +8 -26
  7. data/docs/AnsibleCopyApi.md +4 -8
  8. data/docs/AnsibleGitRemote.md +26 -26
  9. data/docs/AnsibleGitRemoteResponse.md +22 -22
  10. data/docs/AnsibleRole.md +2 -2
  11. data/docs/AnsibleRoleResponse.md +6 -6
  12. data/docs/ApiPluginAnsibleSearchCollectionVersionsApi.md +4 -10
  13. data/docs/ApiRolesApi.md +0 -2
  14. data/docs/CollectionImportApi.md +0 -2
  15. data/docs/ContentCollectionDeprecationsApi.md +12 -28
  16. data/docs/ContentCollectionMarksApi.md +12 -28
  17. data/docs/ContentCollectionSignaturesApi.md +8 -22
  18. data/docs/ContentCollectionVersionsApi.md +14 -28
  19. data/docs/ContentNamespacesApi.md +8 -22
  20. data/docs/ContentRolesApi.md +12 -28
  21. data/docs/DistributionsAnsibleApi.md +32 -72
  22. data/docs/PatchedansibleAnsibleDistribution.md +3 -5
  23. data/docs/PatchedansibleGitRemote.md +26 -26
  24. data/docs/PulpAnsibleApiApi.md +0 -2
  25. data/docs/PulpAnsibleApiV3Api.md +0 -2
  26. data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +0 -2
  27. data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +0 -2
  28. data/docs/PulpAnsibleApiV3CollectionsAllApi.md +0 -2
  29. data/docs/PulpAnsibleApiV3CollectionsApi.md +8 -20
  30. data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +4 -12
  31. data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +0 -2
  32. data/docs/PulpAnsibleApiV3NamespacesApi.md +0 -4
  33. data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +0 -2
  34. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +0 -2
  35. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +0 -2
  36. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +0 -2
  37. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +0 -2
  38. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +8 -20
  39. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +4 -12
  40. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +0 -2
  41. data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +4 -16
  42. data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +0 -8
  43. data/docs/PulpAnsibleDefaultApiApi.md +5 -14
  44. data/docs/PulpAnsibleDefaultApiV3Api.md +5 -14
  45. data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +0 -2
  46. data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +5 -14
  47. data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +0 -2
  48. data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +8 -20
  49. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +4 -12
  50. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +0 -2
  51. data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +0 -4
  52. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +5 -14
  53. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +0 -2
  54. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +0 -2
  55. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +0 -2
  56. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +0 -2
  57. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +8 -20
  58. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +4 -12
  59. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +0 -2
  60. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +4 -16
  61. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +4 -10
  62. data/docs/PulpAnsibleTagsApi.md +0 -2
  63. data/docs/RemotesCollectionApi.md +32 -72
  64. data/docs/RemotesGitApi.md +34 -74
  65. data/docs/RemotesRoleApi.md +32 -72
  66. data/docs/RepositoriesAnsibleApi.md +64 -136
  67. data/docs/RepositoriesAnsibleVersionsApi.md +14 -30
  68. data/docs/VersionsApi.md +0 -2
  69. data/lib/pulp_ansible_client/api/ansible_collections_api.rb +0 -21
  70. data/lib/pulp_ansible_client/api/ansible_copy_api.rb +0 -3
  71. data/lib/pulp_ansible_client/api/api_plugin_ansible_search_collection_versions_api.rb +0 -6
  72. data/lib/pulp_ansible_client/api/api_roles_api.rb +0 -3
  73. data/lib/pulp_ansible_client/api/collection_import_api.rb +0 -3
  74. data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +0 -15
  75. data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +0 -15
  76. data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +0 -15
  77. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -24
  78. data/lib/pulp_ansible_client/api/content_namespaces_api.rb +0 -15
  79. data/lib/pulp_ansible_client/api/content_roles_api.rb +0 -15
  80. data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +0 -36
  81. data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +0 -3
  82. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_api.rb +0 -3
  83. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_artifacts_collections_api.rb +0 -3
  84. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collection_versions_all_api.rb +0 -3
  85. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +0 -3
  86. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +0 -12
  87. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +0 -9
  88. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_docs_blob_api.rb +0 -3
  89. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +0 -6
  90. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.rb +0 -3
  91. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +0 -3
  92. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api.rb +0 -3
  93. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api.rb +0 -3
  94. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api.rb +0 -3
  95. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +0 -12
  96. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +0 -9
  97. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +0 -3
  98. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +0 -15
  99. data/lib/pulp_ansible_client/api/pulp_ansible_artifacts_collections_v3_api.rb +0 -12
  100. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_api.rb +0 -9
  101. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_api.rb +0 -9
  102. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_artifacts_collections_api.rb +0 -3
  103. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collection_versions_all_api.rb +0 -9
  104. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +0 -3
  105. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +0 -12
  106. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +0 -9
  107. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api.rb +0 -3
  108. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +0 -6
  109. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api.rb +0 -9
  110. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +0 -3
  111. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api.rb +0 -3
  112. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api.rb +0 -3
  113. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api.rb +0 -3
  114. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +0 -12
  115. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +0 -9
  116. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +0 -3
  117. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +0 -15
  118. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +0 -6
  119. data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +0 -3
  120. data/lib/pulp_ansible_client/api/remotes_collection_api.rb +0 -36
  121. data/lib/pulp_ansible_client/api/remotes_git_api.rb +0 -36
  122. data/lib/pulp_ansible_client/api/remotes_role_api.rb +0 -36
  123. data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +0 -60
  124. data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +3 -18
  125. data/lib/pulp_ansible_client/api/versions_api.rb +0 -3
  126. data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +16 -28
  127. data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +20 -62
  128. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +68 -26
  129. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +232 -232
  130. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +125 -125
  131. data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
  132. data/lib/pulp_ansible_client/models/ansible_role_response.rb +26 -26
  133. data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +16 -28
  134. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +223 -223
  135. data/lib/pulp_ansible_client/version.rb +1 -1
  136. data/spec/api/ansible_collections_api_spec.rb +0 -7
  137. data/spec/api/ansible_copy_api_spec.rb +0 -1
  138. data/spec/api/api_plugin_ansible_search_collection_versions_api_spec.rb +0 -2
  139. data/spec/api/api_roles_api_spec.rb +0 -1
  140. data/spec/api/collection_import_api_spec.rb +0 -1
  141. data/spec/api/content_collection_deprecations_api_spec.rb +0 -5
  142. data/spec/api/content_collection_marks_api_spec.rb +0 -5
  143. data/spec/api/content_collection_signatures_api_spec.rb +0 -5
  144. data/spec/api/content_collection_versions_api_spec.rb +3 -8
  145. data/spec/api/content_namespaces_api_spec.rb +0 -5
  146. data/spec/api/content_roles_api_spec.rb +0 -5
  147. data/spec/api/distributions_ansible_api_spec.rb +0 -12
  148. data/spec/api/pulp_ansible_api_api_spec.rb +0 -1
  149. data/spec/api/pulp_ansible_api_v3_api_spec.rb +0 -1
  150. data/spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb +0 -1
  151. data/spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb +0 -1
  152. data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +0 -1
  153. data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +0 -4
  154. data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +0 -3
  155. data/spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb +0 -1
  156. data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +0 -2
  157. data/spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb +0 -1
  158. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +0 -1
  159. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +0 -1
  160. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb +0 -1
  161. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +0 -1
  162. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +0 -4
  163. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +0 -3
  164. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +0 -1
  165. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +0 -5
  166. data/spec/api/pulp_ansible_artifacts_collections_v3_api_spec.rb +0 -4
  167. data/spec/api/pulp_ansible_default_api_api_spec.rb +0 -3
  168. data/spec/api/pulp_ansible_default_api_v3_api_spec.rb +0 -3
  169. data/spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb +0 -1
  170. data/spec/api/pulp_ansible_default_api_v3_collection_versions_all_api_spec.rb +0 -3
  171. data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +0 -1
  172. data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +0 -4
  173. data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +0 -3
  174. data/spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb +0 -1
  175. data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +0 -2
  176. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api_spec.rb +0 -3
  177. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +0 -1
  178. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +0 -1
  179. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb +0 -1
  180. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +0 -1
  181. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +0 -4
  182. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +0 -3
  183. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +0 -1
  184. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +0 -5
  185. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +0 -2
  186. data/spec/api/pulp_ansible_tags_api_spec.rb +0 -1
  187. data/spec/api/remotes_collection_api_spec.rb +0 -12
  188. data/spec/api/remotes_git_api_spec.rb +0 -12
  189. data/spec/api/remotes_role_api_spec.rb +0 -12
  190. data/spec/api/repositories_ansible_api_spec.rb +0 -20
  191. data/spec/api/repositories_ansible_versions_api_spec.rb +1 -6
  192. data/spec/api/versions_api_spec.rb +0 -1
  193. data/spec/models/ansible_ansible_distribution_response_spec.rb +4 -28
  194. data/spec/models/ansible_ansible_distribution_spec.rb +4 -10
  195. data/spec/models/ansible_collection_version_response_spec.rb +29 -5
  196. data/spec/models/ansible_git_remote_response_spec.rb +18 -18
  197. data/spec/models/ansible_git_remote_spec.rb +19 -19
  198. data/spec/models/ansible_role_response_spec.rb +5 -5
  199. data/spec/models/ansible_role_spec.rb +2 -2
  200. data/spec/models/patchedansible_ansible_distribution_spec.rb +4 -10
  201. data/spec/models/patchedansible_git_remote_spec.rb +19 -19
  202. metadata +121 -121
@@ -16,38 +16,40 @@ require 'time'
16
16
  module PulpAnsibleClient
17
17
  # A serializer for Git Collection Remotes.
18
18
  class AnsibleGitRemoteResponse
19
- # Headers for aiohttp.Clientsession
20
- attr_accessor :headers
21
-
22
19
  # aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
23
20
  attr_accessor :sock_read_timeout
24
21
 
22
+ attr_accessor :pulp_labels
23
+
25
24
  # aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
26
25
  attr_accessor :connect_timeout
27
26
 
28
- # aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
29
- attr_accessor :sock_connect_timeout
30
-
31
27
  # Timestamp of the most recent update of the remote.
32
28
  attr_accessor :pulp_last_updated
33
29
 
34
- # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
35
- attr_accessor :max_retries
30
+ # A unique name for this remote.
31
+ attr_accessor :name
36
32
 
37
- # aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
38
- attr_accessor :total_timeout
33
+ # The proxy URL. Format: scheme://host:port
34
+ attr_accessor :proxy_url
39
35
 
40
- # Limits requests per second for each concurrent downloader
41
- attr_accessor :rate_limit
36
+ # If True, TLS peer validation must be performed.
37
+ attr_accessor :tls_validation
42
38
 
43
- # The URL of an external content source.
44
- attr_accessor :url
39
+ # A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
40
+ attr_accessor :ca_cert
45
41
 
46
42
  # Total number of simultaneous connections. If not set then the default value will be used.
47
43
  attr_accessor :download_concurrency
48
44
 
49
- # A unique name for this remote.
50
- attr_accessor :name
45
+ # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
46
+ attr_accessor :max_retries
47
+
48
+ # Timestamp of creation.
49
+ attr_accessor :pulp_created
50
+
51
+ # The URL of an external content source.
52
+ attr_accessor :url
51
53
 
52
54
  # The Pulp Resource Name (PRN).
53
55
  attr_accessor :prn
@@ -55,21 +57,19 @@ module PulpAnsibleClient
55
57
  # List of hidden (write only) fields
56
58
  attr_accessor :hidden_fields
57
59
 
58
- # A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
59
- attr_accessor :ca_cert
60
-
61
- attr_accessor :pulp_labels
60
+ # aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
61
+ attr_accessor :sock_connect_timeout
62
62
 
63
- # Timestamp of creation.
64
- attr_accessor :pulp_created
63
+ attr_accessor :pulp_href
65
64
 
66
- # If True, TLS peer validation must be performed.
67
- attr_accessor :tls_validation
65
+ # aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
66
+ attr_accessor :total_timeout
68
67
 
69
- # The proxy URL. Format: scheme://host:port
70
- attr_accessor :proxy_url
68
+ # Headers for aiohttp.Clientsession
69
+ attr_accessor :headers
71
70
 
72
- attr_accessor :pulp_href
71
+ # Limits requests per second for each concurrent downloader
72
+ attr_accessor :rate_limit
73
73
 
74
74
  # A PEM encoded client certificate used for authentication.
75
75
  attr_accessor :client_cert
@@ -83,25 +83,25 @@ module PulpAnsibleClient
83
83
  # Attribute mapping from ruby-style variable name to JSON key.
84
84
  def self.attribute_map
85
85
  {
86
- :'headers' => :'headers',
87
86
  :'sock_read_timeout' => :'sock_read_timeout',
87
+ :'pulp_labels' => :'pulp_labels',
88
88
  :'connect_timeout' => :'connect_timeout',
89
- :'sock_connect_timeout' => :'sock_connect_timeout',
90
89
  :'pulp_last_updated' => :'pulp_last_updated',
90
+ :'name' => :'name',
91
+ :'proxy_url' => :'proxy_url',
92
+ :'tls_validation' => :'tls_validation',
93
+ :'ca_cert' => :'ca_cert',
94
+ :'download_concurrency' => :'download_concurrency',
91
95
  :'max_retries' => :'max_retries',
92
- :'total_timeout' => :'total_timeout',
93
- :'rate_limit' => :'rate_limit',
96
+ :'pulp_created' => :'pulp_created',
94
97
  :'url' => :'url',
95
- :'download_concurrency' => :'download_concurrency',
96
- :'name' => :'name',
97
98
  :'prn' => :'prn',
98
99
  :'hidden_fields' => :'hidden_fields',
99
- :'ca_cert' => :'ca_cert',
100
- :'pulp_labels' => :'pulp_labels',
101
- :'pulp_created' => :'pulp_created',
102
- :'tls_validation' => :'tls_validation',
103
- :'proxy_url' => :'proxy_url',
100
+ :'sock_connect_timeout' => :'sock_connect_timeout',
104
101
  :'pulp_href' => :'pulp_href',
102
+ :'total_timeout' => :'total_timeout',
103
+ :'headers' => :'headers',
104
+ :'rate_limit' => :'rate_limit',
105
105
  :'client_cert' => :'client_cert',
106
106
  :'metadata_only' => :'metadata_only',
107
107
  :'git_ref' => :'git_ref'
@@ -116,25 +116,25 @@ module PulpAnsibleClient
116
116
  # Attribute type mapping.
117
117
  def self.openapi_types
118
118
  {
119
- :'headers' => :'Array<Object>',
120
119
  :'sock_read_timeout' => :'Float',
120
+ :'pulp_labels' => :'Hash<String, String>',
121
121
  :'connect_timeout' => :'Float',
122
- :'sock_connect_timeout' => :'Float',
123
122
  :'pulp_last_updated' => :'Time',
123
+ :'name' => :'String',
124
+ :'proxy_url' => :'String',
125
+ :'tls_validation' => :'Boolean',
126
+ :'ca_cert' => :'String',
127
+ :'download_concurrency' => :'Integer',
124
128
  :'max_retries' => :'Integer',
125
- :'total_timeout' => :'Float',
126
- :'rate_limit' => :'Integer',
129
+ :'pulp_created' => :'Time',
127
130
  :'url' => :'String',
128
- :'download_concurrency' => :'Integer',
129
- :'name' => :'String',
130
131
  :'prn' => :'String',
131
132
  :'hidden_fields' => :'Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>',
132
- :'ca_cert' => :'String',
133
- :'pulp_labels' => :'Hash<String, String>',
134
- :'pulp_created' => :'Time',
135
- :'tls_validation' => :'Boolean',
136
- :'proxy_url' => :'String',
133
+ :'sock_connect_timeout' => :'Float',
137
134
  :'pulp_href' => :'String',
135
+ :'total_timeout' => :'Float',
136
+ :'headers' => :'Array<Object>',
137
+ :'rate_limit' => :'Integer',
138
138
  :'client_cert' => :'String',
139
139
  :'metadata_only' => :'Boolean',
140
140
  :'git_ref' => :'String'
@@ -146,13 +146,13 @@ module PulpAnsibleClient
146
146
  Set.new([
147
147
  :'sock_read_timeout',
148
148
  :'connect_timeout',
149
- :'sock_connect_timeout',
149
+ :'proxy_url',
150
+ :'ca_cert',
151
+ :'download_concurrency',
150
152
  :'max_retries',
153
+ :'sock_connect_timeout',
151
154
  :'total_timeout',
152
155
  :'rate_limit',
153
- :'download_concurrency',
154
- :'ca_cert',
155
- :'proxy_url',
156
156
  :'client_cert',
157
157
  ])
158
158
  end
@@ -172,54 +172,58 @@ module PulpAnsibleClient
172
172
  h[k.to_sym] = v
173
173
  }
174
174
 
175
- if attributes.key?(:'headers')
176
- if (value = attributes[:'headers']).is_a?(Array)
177
- self.headers = value
178
- end
179
- end
180
-
181
175
  if attributes.key?(:'sock_read_timeout')
182
176
  self.sock_read_timeout = attributes[:'sock_read_timeout']
183
177
  end
184
178
 
185
- if attributes.key?(:'connect_timeout')
186
- self.connect_timeout = attributes[:'connect_timeout']
179
+ if attributes.key?(:'pulp_labels')
180
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
181
+ self.pulp_labels = value
182
+ end
187
183
  end
188
184
 
189
- if attributes.key?(:'sock_connect_timeout')
190
- self.sock_connect_timeout = attributes[:'sock_connect_timeout']
185
+ if attributes.key?(:'connect_timeout')
186
+ self.connect_timeout = attributes[:'connect_timeout']
191
187
  end
192
188
 
193
189
  if attributes.key?(:'pulp_last_updated')
194
190
  self.pulp_last_updated = attributes[:'pulp_last_updated']
195
191
  end
196
192
 
197
- if attributes.key?(:'max_retries')
198
- self.max_retries = attributes[:'max_retries']
193
+ if attributes.key?(:'name')
194
+ self.name = attributes[:'name']
195
+ else
196
+ self.name = nil
199
197
  end
200
198
 
201
- if attributes.key?(:'total_timeout')
202
- self.total_timeout = attributes[:'total_timeout']
199
+ if attributes.key?(:'proxy_url')
200
+ self.proxy_url = attributes[:'proxy_url']
203
201
  end
204
202
 
205
- if attributes.key?(:'rate_limit')
206
- self.rate_limit = attributes[:'rate_limit']
203
+ if attributes.key?(:'tls_validation')
204
+ self.tls_validation = attributes[:'tls_validation']
207
205
  end
208
206
 
209
- if attributes.key?(:'url')
210
- self.url = attributes[:'url']
211
- else
212
- self.url = nil
207
+ if attributes.key?(:'ca_cert')
208
+ self.ca_cert = attributes[:'ca_cert']
213
209
  end
214
210
 
215
211
  if attributes.key?(:'download_concurrency')
216
212
  self.download_concurrency = attributes[:'download_concurrency']
217
213
  end
218
214
 
219
- if attributes.key?(:'name')
220
- self.name = attributes[:'name']
215
+ if attributes.key?(:'max_retries')
216
+ self.max_retries = attributes[:'max_retries']
217
+ end
218
+
219
+ if attributes.key?(:'pulp_created')
220
+ self.pulp_created = attributes[:'pulp_created']
221
+ end
222
+
223
+ if attributes.key?(:'url')
224
+ self.url = attributes[:'url']
221
225
  else
222
- self.name = nil
226
+ self.url = nil
223
227
  end
224
228
 
225
229
  if attributes.key?(:'prn')
@@ -232,30 +236,26 @@ module PulpAnsibleClient
232
236
  end
233
237
  end
234
238
 
235
- if attributes.key?(:'ca_cert')
236
- self.ca_cert = attributes[:'ca_cert']
237
- end
238
-
239
- if attributes.key?(:'pulp_labels')
240
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
241
- self.pulp_labels = value
242
- end
239
+ if attributes.key?(:'sock_connect_timeout')
240
+ self.sock_connect_timeout = attributes[:'sock_connect_timeout']
243
241
  end
244
242
 
245
- if attributes.key?(:'pulp_created')
246
- self.pulp_created = attributes[:'pulp_created']
243
+ if attributes.key?(:'pulp_href')
244
+ self.pulp_href = attributes[:'pulp_href']
247
245
  end
248
246
 
249
- if attributes.key?(:'tls_validation')
250
- self.tls_validation = attributes[:'tls_validation']
247
+ if attributes.key?(:'total_timeout')
248
+ self.total_timeout = attributes[:'total_timeout']
251
249
  end
252
250
 
253
- if attributes.key?(:'proxy_url')
254
- self.proxy_url = attributes[:'proxy_url']
251
+ if attributes.key?(:'headers')
252
+ if (value = attributes[:'headers']).is_a?(Array)
253
+ self.headers = value
254
+ end
255
255
  end
256
256
 
257
- if attributes.key?(:'pulp_href')
258
- self.pulp_href = attributes[:'pulp_href']
257
+ if attributes.key?(:'rate_limit')
258
+ self.rate_limit = attributes[:'rate_limit']
259
259
  end
260
260
 
261
261
  if attributes.key?(:'client_cert')
@@ -284,24 +284,24 @@ module PulpAnsibleClient
284
284
  invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
285
285
  end
286
286
 
287
- if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
288
- invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
287
+ if @name.nil?
288
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
289
289
  end
290
290
 
291
- if !@total_timeout.nil? && @total_timeout < 0.0
292
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
291
+ if !@download_concurrency.nil? && @download_concurrency < 1
292
+ invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
293
293
  end
294
294
 
295
295
  if @url.nil?
296
296
  invalid_properties.push('invalid value for "url", url cannot be nil.')
297
297
  end
298
298
 
299
- if !@download_concurrency.nil? && @download_concurrency < 1
300
- invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
299
+ if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
300
+ invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
301
301
  end
302
302
 
303
- if @name.nil?
304
- invalid_properties.push('invalid value for "name", name cannot be nil.')
303
+ if !@total_timeout.nil? && @total_timeout < 0.0
304
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
305
305
  end
306
306
 
307
307
  invalid_properties
@@ -313,11 +313,11 @@ module PulpAnsibleClient
313
313
  warn '[DEPRECATED] the `valid?` method is obsolete'
314
314
  return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
315
315
  return false if !@connect_timeout.nil? && @connect_timeout < 0.0
316
+ return false if @name.nil?
317
+ return false if !@download_concurrency.nil? && @download_concurrency < 1
318
+ return false if @url.nil?
316
319
  return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
317
320
  return false if !@total_timeout.nil? && @total_timeout < 0.0
318
- return false if @url.nil?
319
- return false if !@download_concurrency.nil? && @download_concurrency < 1
320
- return false if @name.nil?
321
321
  true
322
322
  end
323
323
 
@@ -341,6 +341,16 @@ module PulpAnsibleClient
341
341
  @connect_timeout = connect_timeout
342
342
  end
343
343
 
344
+ # Custom attribute writer method with validation
345
+ # @param [Object] download_concurrency Value to be assigned
346
+ def download_concurrency=(download_concurrency)
347
+ if !download_concurrency.nil? && download_concurrency < 1
348
+ fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
349
+ end
350
+
351
+ @download_concurrency = download_concurrency
352
+ end
353
+
344
354
  # Custom attribute writer method with validation
345
355
  # @param [Object] sock_connect_timeout Value to be assigned
346
356
  def sock_connect_timeout=(sock_connect_timeout)
@@ -361,40 +371,30 @@ module PulpAnsibleClient
361
371
  @total_timeout = total_timeout
362
372
  end
363
373
 
364
- # Custom attribute writer method with validation
365
- # @param [Object] download_concurrency Value to be assigned
366
- def download_concurrency=(download_concurrency)
367
- if !download_concurrency.nil? && download_concurrency < 1
368
- fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
369
- end
370
-
371
- @download_concurrency = download_concurrency
372
- end
373
-
374
374
  # Checks equality by comparing each attribute.
375
375
  # @param [Object] Object to be compared
376
376
  def ==(o)
377
377
  return true if self.equal?(o)
378
378
  self.class == o.class &&
379
- headers == o.headers &&
380
379
  sock_read_timeout == o.sock_read_timeout &&
380
+ pulp_labels == o.pulp_labels &&
381
381
  connect_timeout == o.connect_timeout &&
382
- sock_connect_timeout == o.sock_connect_timeout &&
383
382
  pulp_last_updated == o.pulp_last_updated &&
383
+ name == o.name &&
384
+ proxy_url == o.proxy_url &&
385
+ tls_validation == o.tls_validation &&
386
+ ca_cert == o.ca_cert &&
387
+ download_concurrency == o.download_concurrency &&
384
388
  max_retries == o.max_retries &&
385
- total_timeout == o.total_timeout &&
386
- rate_limit == o.rate_limit &&
389
+ pulp_created == o.pulp_created &&
387
390
  url == o.url &&
388
- download_concurrency == o.download_concurrency &&
389
- name == o.name &&
390
391
  prn == o.prn &&
391
392
  hidden_fields == o.hidden_fields &&
392
- ca_cert == o.ca_cert &&
393
- pulp_labels == o.pulp_labels &&
394
- pulp_created == o.pulp_created &&
395
- tls_validation == o.tls_validation &&
396
- proxy_url == o.proxy_url &&
393
+ sock_connect_timeout == o.sock_connect_timeout &&
397
394
  pulp_href == o.pulp_href &&
395
+ total_timeout == o.total_timeout &&
396
+ headers == o.headers &&
397
+ rate_limit == o.rate_limit &&
398
398
  client_cert == o.client_cert &&
399
399
  metadata_only == o.metadata_only &&
400
400
  git_ref == o.git_ref
@@ -409,7 +409,7 @@ module PulpAnsibleClient
409
409
  # Calculates hash code according to all attributes.
410
410
  # @return [Integer] Hash code
411
411
  def hash
412
- [headers, sock_read_timeout, connect_timeout, sock_connect_timeout, pulp_last_updated, max_retries, total_timeout, rate_limit, url, download_concurrency, name, prn, hidden_fields, ca_cert, pulp_labels, pulp_created, tls_validation, proxy_url, pulp_href, client_cert, metadata_only, git_ref].hash
412
+ [sock_read_timeout, pulp_labels, connect_timeout, pulp_last_updated, name, proxy_url, tls_validation, ca_cert, download_concurrency, max_retries, pulp_created, url, prn, hidden_fields, sock_connect_timeout, pulp_href, total_timeout, headers, rate_limit, client_cert, metadata_only, git_ref].hash
413
413
  end
414
414
 
415
415
  # Builds the object from hash
@@ -19,12 +19,12 @@ module PulpAnsibleClient
19
19
  # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
20
20
  attr_accessor :pulp_labels
21
21
 
22
- # Artifact file representing the physical content
23
- attr_accessor :artifact
24
-
25
22
  # A URI of a repository the new content unit should be associated with.
26
23
  attr_accessor :repository
27
24
 
25
+ # Artifact file representing the physical content
26
+ attr_accessor :artifact
27
+
28
28
  attr_accessor :version
29
29
 
30
30
  attr_accessor :name
@@ -35,8 +35,8 @@ module PulpAnsibleClient
35
35
  def self.attribute_map
36
36
  {
37
37
  :'pulp_labels' => :'pulp_labels',
38
- :'artifact' => :'artifact',
39
38
  :'repository' => :'repository',
39
+ :'artifact' => :'artifact',
40
40
  :'version' => :'version',
41
41
  :'name' => :'name',
42
42
  :'namespace' => :'namespace'
@@ -52,8 +52,8 @@ module PulpAnsibleClient
52
52
  def self.openapi_types
53
53
  {
54
54
  :'pulp_labels' => :'Hash<String, String>',
55
- :'artifact' => :'String',
56
55
  :'repository' => :'String',
56
+ :'artifact' => :'String',
57
57
  :'version' => :'String',
58
58
  :'name' => :'String',
59
59
  :'namespace' => :'String'
@@ -87,16 +87,16 @@ module PulpAnsibleClient
87
87
  end
88
88
  end
89
89
 
90
+ if attributes.key?(:'repository')
91
+ self.repository = attributes[:'repository']
92
+ end
93
+
90
94
  if attributes.key?(:'artifact')
91
95
  self.artifact = attributes[:'artifact']
92
96
  else
93
97
  self.artifact = nil
94
98
  end
95
99
 
96
- if attributes.key?(:'repository')
97
- self.repository = attributes[:'repository']
98
- end
99
-
100
100
  if attributes.key?(:'version')
101
101
  self.version = attributes[:'version']
102
102
  else
@@ -214,8 +214,8 @@ module PulpAnsibleClient
214
214
  return true if self.equal?(o)
215
215
  self.class == o.class &&
216
216
  pulp_labels == o.pulp_labels &&
217
- artifact == o.artifact &&
218
217
  repository == o.repository &&
218
+ artifact == o.artifact &&
219
219
  version == o.version &&
220
220
  name == o.name &&
221
221
  namespace == o.namespace
@@ -230,7 +230,7 @@ module PulpAnsibleClient
230
230
  # Calculates hash code according to all attributes.
231
231
  # @return [Integer] Hash code
232
232
  def hash
233
- [pulp_labels, artifact, repository, version, name, namespace].hash
233
+ [pulp_labels, repository, artifact, version, name, namespace].hash
234
234
  end
235
235
 
236
236
  # Builds the object from hash
@@ -16,22 +16,22 @@ require 'time'
16
16
  module PulpAnsibleClient
17
17
  # A serializer for Role versions.
18
18
  class AnsibleRoleResponse
19
+ # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
20
+ attr_accessor :pulp_labels
21
+
19
22
  # The Pulp Resource Name (PRN).
20
23
  attr_accessor :prn
21
24
 
22
25
  # 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.
23
26
  attr_accessor :pulp_last_updated
24
27
 
25
- # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
26
- attr_accessor :pulp_labels
27
-
28
- # Timestamp of creation.
29
- attr_accessor :pulp_created
28
+ attr_accessor :pulp_href
30
29
 
31
30
  # Artifact file representing the physical content
32
31
  attr_accessor :artifact
33
32
 
34
- attr_accessor :pulp_href
33
+ # Timestamp of creation.
34
+ attr_accessor :pulp_created
35
35
 
36
36
  attr_accessor :version
37
37
 
@@ -42,12 +42,12 @@ module PulpAnsibleClient
42
42
  # Attribute mapping from ruby-style variable name to JSON key.
43
43
  def self.attribute_map
44
44
  {
45
+ :'pulp_labels' => :'pulp_labels',
45
46
  :'prn' => :'prn',
46
47
  :'pulp_last_updated' => :'pulp_last_updated',
47
- :'pulp_labels' => :'pulp_labels',
48
- :'pulp_created' => :'pulp_created',
49
- :'artifact' => :'artifact',
50
48
  :'pulp_href' => :'pulp_href',
49
+ :'artifact' => :'artifact',
50
+ :'pulp_created' => :'pulp_created',
51
51
  :'version' => :'version',
52
52
  :'name' => :'name',
53
53
  :'namespace' => :'namespace'
@@ -62,12 +62,12 @@ module PulpAnsibleClient
62
62
  # Attribute type mapping.
63
63
  def self.openapi_types
64
64
  {
65
+ :'pulp_labels' => :'Hash<String, String>',
65
66
  :'prn' => :'String',
66
67
  :'pulp_last_updated' => :'Time',
67
- :'pulp_labels' => :'Hash<String, String>',
68
- :'pulp_created' => :'Time',
69
- :'artifact' => :'String',
70
68
  :'pulp_href' => :'String',
69
+ :'artifact' => :'String',
70
+ :'pulp_created' => :'Time',
71
71
  :'version' => :'String',
72
72
  :'name' => :'String',
73
73
  :'namespace' => :'String'
@@ -95,6 +95,12 @@ module PulpAnsibleClient
95
95
  h[k.to_sym] = v
96
96
  }
97
97
 
98
+ if attributes.key?(:'pulp_labels')
99
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
100
+ self.pulp_labels = value
101
+ end
102
+ end
103
+
98
104
  if attributes.key?(:'prn')
99
105
  self.prn = attributes[:'prn']
100
106
  end
@@ -103,14 +109,8 @@ module PulpAnsibleClient
103
109
  self.pulp_last_updated = attributes[:'pulp_last_updated']
104
110
  end
105
111
 
106
- if attributes.key?(:'pulp_labels')
107
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
108
- self.pulp_labels = value
109
- end
110
- end
111
-
112
- if attributes.key?(:'pulp_created')
113
- self.pulp_created = attributes[:'pulp_created']
112
+ if attributes.key?(:'pulp_href')
113
+ self.pulp_href = attributes[:'pulp_href']
114
114
  end
115
115
 
116
116
  if attributes.key?(:'artifact')
@@ -119,8 +119,8 @@ module PulpAnsibleClient
119
119
  self.artifact = nil
120
120
  end
121
121
 
122
- if attributes.key?(:'pulp_href')
123
- self.pulp_href = attributes[:'pulp_href']
122
+ if attributes.key?(:'pulp_created')
123
+ self.pulp_created = attributes[:'pulp_created']
124
124
  end
125
125
 
126
126
  if attributes.key?(:'version')
@@ -182,12 +182,12 @@ module PulpAnsibleClient
182
182
  def ==(o)
183
183
  return true if self.equal?(o)
184
184
  self.class == o.class &&
185
+ pulp_labels == o.pulp_labels &&
185
186
  prn == o.prn &&
186
187
  pulp_last_updated == o.pulp_last_updated &&
187
- pulp_labels == o.pulp_labels &&
188
- pulp_created == o.pulp_created &&
189
- artifact == o.artifact &&
190
188
  pulp_href == o.pulp_href &&
189
+ artifact == o.artifact &&
190
+ pulp_created == o.pulp_created &&
191
191
  version == o.version &&
192
192
  name == o.name &&
193
193
  namespace == o.namespace
@@ -202,7 +202,7 @@ module PulpAnsibleClient
202
202
  # Calculates hash code according to all attributes.
203
203
  # @return [Integer] Hash code
204
204
  def hash
205
- [prn, pulp_last_updated, pulp_labels, pulp_created, artifact, pulp_href, version, name, namespace].hash
205
+ [pulp_labels, prn, pulp_last_updated, pulp_href, artifact, pulp_created, version, name, namespace].hash
206
206
  end
207
207
 
208
208
  # Builds the object from hash