pulp_ansible_client 0.15.6 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (198) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -8
  3. data/docs/AnsibleAnsibleDistribution.md +1 -1
  4. data/docs/AnsibleAnsibleDistributionResponse.md +1 -1
  5. data/docs/AnsibleAnsibleRepository.md +1 -1
  6. data/docs/AnsibleAnsibleRepositoryResponse.md +1 -1
  7. data/docs/AnsibleCollectionRemote.md +1 -1
  8. data/docs/AnsibleCollectionRemoteResponse.md +1 -3
  9. data/docs/AnsibleCollectionVersion.md +10 -8
  10. data/docs/AnsibleCollectionVersionResponse.md +23 -23
  11. data/docs/AnsibleCollectionsApi.md +5 -5
  12. data/docs/AnsibleCopyApi.md +1 -1
  13. data/docs/AnsibleGitRemote.md +28 -28
  14. data/docs/AnsibleGitRemoteResponse.md +24 -26
  15. data/docs/AnsibleRoleRemote.md +1 -1
  16. data/docs/AnsibleRoleRemoteResponse.md +2 -4
  17. data/docs/AnsibleRoleResponse.md +3 -3
  18. data/docs/ApiCollectionsApi.md +5 -5
  19. data/docs/ApiRolesApi.md +5 -5
  20. data/docs/CollectionImportApi.md +5 -5
  21. data/docs/ContentCollectionDeprecationsApi.md +9 -9
  22. data/docs/ContentCollectionSignaturesApi.md +11 -11
  23. data/docs/ContentCollectionVersionsApi.md +22 -20
  24. data/docs/ContentRolesApi.md +9 -9
  25. data/docs/DistributionsAnsibleApi.md +13 -13
  26. data/docs/GalaxyDetailApi.md +5 -5
  27. data/docs/PatchedansibleAnsibleDistribution.md +1 -1
  28. data/docs/PatchedansibleAnsibleRepository.md +1 -1
  29. data/docs/PatchedansibleCollectionRemote.md +1 -1
  30. data/docs/PatchedansibleGitRemote.md +28 -28
  31. data/docs/PatchedansibleRoleRemote.md +1 -1
  32. data/docs/PulpAnsibleApiApi.md +5 -5
  33. data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +5 -5
  34. data/docs/PulpAnsibleApiV3Api.md +5 -5
  35. data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +5 -5
  36. data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +5 -5
  37. data/docs/PulpAnsibleApiV3CollectionsAllApi.md +5 -5
  38. data/docs/PulpAnsibleApiV3CollectionsApi.md +9 -9
  39. data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +9 -9
  40. data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +5 -5
  41. data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +5 -5
  42. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +5 -5
  43. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +5 -5
  44. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +5 -5
  45. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +5 -5
  46. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +9 -9
  47. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +9 -9
  48. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +5 -5
  49. data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +1 -1
  50. data/docs/PulpAnsibleDefaultApiApi.md +1 -1
  51. data/docs/PulpAnsibleDefaultApiV3Api.md +1 -1
  52. data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +5 -5
  53. data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +1 -1
  54. data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +5 -5
  55. data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +9 -9
  56. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +9 -9
  57. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +5 -5
  58. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +1 -1
  59. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +5 -5
  60. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +5 -5
  61. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +5 -5
  62. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +5 -5
  63. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +9 -9
  64. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +9 -9
  65. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +5 -5
  66. data/docs/PulpAnsibleTagsApi.md +5 -5
  67. data/docs/RemotesCollectionApi.md +13 -13
  68. data/docs/RemotesGitApi.md +13 -13
  69. data/docs/RemotesRoleApi.md +13 -13
  70. data/docs/RepositoriesAnsibleApi.md +12 -12
  71. data/docs/RepositoriesAnsibleVersionsApi.md +13 -13
  72. data/docs/VersionsApi.md +9 -9
  73. data/lib/pulp_ansible_client/api/ansible_collections_api.rb +7 -7
  74. data/lib/pulp_ansible_client/api/api_collections_api.rb +6 -6
  75. data/lib/pulp_ansible_client/api/api_roles_api.rb +6 -6
  76. data/lib/pulp_ansible_client/api/collection_import_api.rb +6 -6
  77. data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +12 -12
  78. data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +13 -13
  79. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +43 -52
  80. data/lib/pulp_ansible_client/api/content_roles_api.rb +13 -13
  81. data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +17 -17
  82. data/lib/pulp_ansible_client/api/galaxy_detail_api.rb +6 -6
  83. data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +6 -6
  84. data/lib/pulp_ansible_client/api/pulp_ansible_api_v2_collections_versions_api.rb +6 -6
  85. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_api.rb +6 -6
  86. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_artifacts_collections_api.rb +6 -6
  87. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collection_versions_all_api.rb +6 -6
  88. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +7 -7
  89. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +13 -13
  90. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +13 -13
  91. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_docs_blob_api.rb +6 -6
  92. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.rb +6 -6
  93. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +7 -7
  94. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api.rb +6 -6
  95. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api.rb +6 -6
  96. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api.rb +6 -6
  97. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +13 -13
  98. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +13 -13
  99. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +6 -6
  100. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_artifacts_collections_api.rb +6 -6
  101. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +7 -7
  102. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +13 -13
  103. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +13 -13
  104. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api.rb +6 -6
  105. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +7 -7
  106. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api.rb +6 -6
  107. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api.rb +6 -6
  108. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api.rb +6 -6
  109. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +13 -13
  110. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +13 -13
  111. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +6 -6
  112. data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +6 -6
  113. data/lib/pulp_ansible_client/api/remotes_collection_api.rb +17 -17
  114. data/lib/pulp_ansible_client/api/remotes_git_api.rb +17 -17
  115. data/lib/pulp_ansible_client/api/remotes_role_api.rb +17 -17
  116. data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +15 -15
  117. data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +17 -17
  118. data/lib/pulp_ansible_client/api/versions_api.rb +12 -12
  119. data/lib/pulp_ansible_client/configuration.rb +3 -3
  120. data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +2 -4
  121. data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +2 -4
  122. data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +2 -4
  123. data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +2 -4
  124. data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +22 -24
  125. data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +23 -37
  126. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +75 -92
  127. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +52 -160
  128. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +248 -250
  129. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +145 -159
  130. data/lib/pulp_ansible_client/models/ansible_role_remote.rb +22 -24
  131. data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +27 -41
  132. data/lib/pulp_ansible_client/models/ansible_role_response.rb +10 -10
  133. data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +2 -4
  134. data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +2 -4
  135. data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +22 -24
  136. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +236 -238
  137. data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +22 -24
  138. data/lib/pulp_ansible_client/version.rb +1 -1
  139. data/lib/pulp_ansible_client.rb +0 -1
  140. data/spec/api/ansible_collections_api_spec.rb +2 -2
  141. data/spec/api/api_collections_api_spec.rb +2 -2
  142. data/spec/api/api_roles_api_spec.rb +2 -2
  143. data/spec/api/collection_import_api_spec.rb +2 -2
  144. data/spec/api/content_collection_deprecations_api_spec.rb +4 -4
  145. data/spec/api/content_collection_signatures_api_spec.rb +4 -4
  146. data/spec/api/content_collection_versions_api_spec.rb +9 -8
  147. data/spec/api/content_roles_api_spec.rb +4 -4
  148. data/spec/api/distributions_ansible_api_spec.rb +6 -6
  149. data/spec/api/galaxy_detail_api_spec.rb +2 -2
  150. data/spec/api/pulp_ansible_api_api_spec.rb +2 -2
  151. data/spec/api/pulp_ansible_api_v2_collections_versions_api_spec.rb +2 -2
  152. data/spec/api/pulp_ansible_api_v3_api_spec.rb +2 -2
  153. data/spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb +2 -2
  154. data/spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb +2 -2
  155. data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +2 -2
  156. data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +4 -4
  157. data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +4 -4
  158. data/spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb +2 -2
  159. data/spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb +2 -2
  160. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +2 -2
  161. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +2 -2
  162. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb +2 -2
  163. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +2 -2
  164. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +4 -4
  165. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +4 -4
  166. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +2 -2
  167. data/spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb +2 -2
  168. data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +2 -2
  169. data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +4 -4
  170. data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +4 -4
  171. data/spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb +2 -2
  172. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +2 -2
  173. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +2 -2
  174. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb +2 -2
  175. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +2 -2
  176. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +4 -4
  177. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +4 -4
  178. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +2 -2
  179. data/spec/api/pulp_ansible_tags_api_spec.rb +2 -2
  180. data/spec/api/remotes_collection_api_spec.rb +6 -6
  181. data/spec/api/remotes_git_api_spec.rb +6 -6
  182. data/spec/api/remotes_role_api_spec.rb +6 -6
  183. data/spec/api/repositories_ansible_api_spec.rb +5 -5
  184. data/spec/api/repositories_ansible_versions_api_spec.rb +6 -6
  185. data/spec/api/versions_api_spec.rb +4 -4
  186. data/spec/configuration_spec.rb +3 -3
  187. data/spec/models/ansible_collection_remote_response_spec.rb +0 -6
  188. data/spec/models/ansible_collection_version_response_spec.rb +8 -8
  189. data/spec/models/ansible_collection_version_spec.rb +10 -4
  190. data/spec/models/ansible_git_remote_response_spec.rb +16 -22
  191. data/spec/models/ansible_git_remote_spec.rb +19 -19
  192. data/spec/models/ansible_role_remote_response_spec.rb +0 -6
  193. data/spec/models/ansible_role_response_spec.rb +2 -2
  194. data/spec/models/patchedansible_git_remote_spec.rb +19 -19
  195. metadata +111 -115
  196. data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +0 -19
  197. data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +0 -225
  198. data/spec/models/ansible_collection_remote_response_hidden_fields_spec.rb +0 -47
@@ -15,61 +15,58 @@ require 'date'
15
15
  module PulpAnsibleClient
16
16
  # A serializer for Git Collection Remotes.
17
17
  class AnsibleGitRemoteResponse
18
- # Headers for aiohttp.Clientsession
19
- attr_accessor :headers
20
-
21
- # A PEM encoded client certificate used for authentication.
22
- attr_accessor :client_cert
23
-
24
- # The URL of an external content source.
25
- attr_accessor :url
26
-
27
- # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
28
- attr_accessor :max_retries
18
+ # The proxy URL. Format: scheme://host:port
19
+ attr_accessor :proxy_url
29
20
 
30
21
  # A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
31
22
  attr_accessor :ca_cert
32
23
 
33
- # List of hidden (write only) fields
34
- attr_accessor :hidden_fields
35
-
36
- # aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
37
- attr_accessor :connect_timeout
24
+ # Total number of simultaneous connections. If not set then the default value will be used.
25
+ attr_accessor :download_concurrency
38
26
 
39
27
  # Timestamp of creation.
40
28
  attr_accessor :pulp_created
41
29
 
42
- # A unique name for this remote.
43
- attr_accessor :name
30
+ # 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.
31
+ attr_accessor :sock_connect_timeout
44
32
 
45
- # Total number of simultaneous connections. If not set then the default value will be used.
46
- attr_accessor :download_concurrency
33
+ # Limits requests per second for each concurrent downloader
34
+ attr_accessor :rate_limit
47
35
 
48
- # Timestamp of the most recent update of the remote.
49
- attr_accessor :pulp_last_updated
36
+ # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
37
+ attr_accessor :max_retries
50
38
 
51
- attr_accessor :pulp_href
39
+ # A PEM encoded client certificate used for authentication.
40
+ attr_accessor :client_cert
52
41
 
53
- attr_accessor :pulp_labels
42
+ # A unique name for this remote.
43
+ attr_accessor :name
54
44
 
55
- # 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.
56
- attr_accessor :sock_read_timeout
45
+ attr_accessor :pulp_href
57
46
 
58
- # The proxy URL. Format: scheme://host:port
59
- attr_accessor :proxy_url
47
+ # Headers for aiohttp.Clientsession
48
+ attr_accessor :headers
60
49
 
61
50
  # If True, TLS peer validation must be performed.
62
51
  attr_accessor :tls_validation
63
52
 
64
- # 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.
65
- attr_accessor :sock_connect_timeout
53
+ # aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
54
+ attr_accessor :connect_timeout
66
55
 
67
- # Limits requests per second for each concurrent downloader
68
- attr_accessor :rate_limit
56
+ # 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.
57
+ attr_accessor :sock_read_timeout
58
+
59
+ attr_accessor :pulp_labels
69
60
 
70
61
  # aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
71
62
  attr_accessor :total_timeout
72
63
 
64
+ # The URL of an external content source.
65
+ attr_accessor :url
66
+
67
+ # Timestamp of the most recent update of the remote.
68
+ attr_accessor :pulp_last_updated
69
+
73
70
  # If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL.
74
71
  attr_accessor :metadata_only
75
72
 
@@ -79,25 +76,24 @@ module PulpAnsibleClient
79
76
  # Attribute mapping from ruby-style variable name to JSON key.
80
77
  def self.attribute_map
81
78
  {
82
- :'headers' => :'headers',
83
- :'client_cert' => :'client_cert',
84
- :'url' => :'url',
85
- :'max_retries' => :'max_retries',
79
+ :'proxy_url' => :'proxy_url',
86
80
  :'ca_cert' => :'ca_cert',
87
- :'hidden_fields' => :'hidden_fields',
88
- :'connect_timeout' => :'connect_timeout',
81
+ :'download_concurrency' => :'download_concurrency',
89
82
  :'pulp_created' => :'pulp_created',
83
+ :'sock_connect_timeout' => :'sock_connect_timeout',
84
+ :'rate_limit' => :'rate_limit',
85
+ :'max_retries' => :'max_retries',
86
+ :'client_cert' => :'client_cert',
90
87
  :'name' => :'name',
91
- :'download_concurrency' => :'download_concurrency',
92
- :'pulp_last_updated' => :'pulp_last_updated',
93
88
  :'pulp_href' => :'pulp_href',
94
- :'pulp_labels' => :'pulp_labels',
95
- :'sock_read_timeout' => :'sock_read_timeout',
96
- :'proxy_url' => :'proxy_url',
89
+ :'headers' => :'headers',
97
90
  :'tls_validation' => :'tls_validation',
98
- :'sock_connect_timeout' => :'sock_connect_timeout',
99
- :'rate_limit' => :'rate_limit',
91
+ :'connect_timeout' => :'connect_timeout',
92
+ :'sock_read_timeout' => :'sock_read_timeout',
93
+ :'pulp_labels' => :'pulp_labels',
100
94
  :'total_timeout' => :'total_timeout',
95
+ :'url' => :'url',
96
+ :'pulp_last_updated' => :'pulp_last_updated',
101
97
  :'metadata_only' => :'metadata_only',
102
98
  :'git_ref' => :'git_ref'
103
99
  }
@@ -106,25 +102,24 @@ module PulpAnsibleClient
106
102
  # Attribute type mapping.
107
103
  def self.openapi_types
108
104
  {
109
- :'headers' => :'Array<Object>',
110
- :'client_cert' => :'String',
111
- :'url' => :'String',
112
- :'max_retries' => :'Integer',
105
+ :'proxy_url' => :'String',
113
106
  :'ca_cert' => :'String',
114
- :'hidden_fields' => :'Array<AnsibleCollectionRemoteResponseHiddenFields>',
115
- :'connect_timeout' => :'Float',
107
+ :'download_concurrency' => :'Integer',
116
108
  :'pulp_created' => :'DateTime',
109
+ :'sock_connect_timeout' => :'Float',
110
+ :'rate_limit' => :'Integer',
111
+ :'max_retries' => :'Integer',
112
+ :'client_cert' => :'String',
117
113
  :'name' => :'String',
118
- :'download_concurrency' => :'Integer',
119
- :'pulp_last_updated' => :'DateTime',
120
114
  :'pulp_href' => :'String',
121
- :'pulp_labels' => :'Hash<String, String>',
122
- :'sock_read_timeout' => :'Float',
123
- :'proxy_url' => :'String',
115
+ :'headers' => :'Array<Object>',
124
116
  :'tls_validation' => :'Boolean',
125
- :'sock_connect_timeout' => :'Float',
126
- :'rate_limit' => :'Integer',
117
+ :'connect_timeout' => :'Float',
118
+ :'sock_read_timeout' => :'Float',
119
+ :'pulp_labels' => :'Object',
127
120
  :'total_timeout' => :'Float',
121
+ :'url' => :'String',
122
+ :'pulp_last_updated' => :'DateTime',
128
123
  :'metadata_only' => :'Boolean',
129
124
  :'git_ref' => :'String'
130
125
  }
@@ -133,15 +128,15 @@ module PulpAnsibleClient
133
128
  # List of attributes with nullable: true
134
129
  def self.openapi_nullable
135
130
  Set.new([
136
- :'client_cert',
137
- :'max_retries',
131
+ :'proxy_url',
138
132
  :'ca_cert',
139
- :'connect_timeout',
140
133
  :'download_concurrency',
141
- :'sock_read_timeout',
142
- :'proxy_url',
143
134
  :'sock_connect_timeout',
144
135
  :'rate_limit',
136
+ :'max_retries',
137
+ :'client_cert',
138
+ :'connect_timeout',
139
+ :'sock_read_timeout',
145
140
  :'total_timeout',
146
141
  ])
147
142
  end
@@ -161,86 +156,78 @@ module PulpAnsibleClient
161
156
  h[k.to_sym] = v
162
157
  }
163
158
 
164
- if attributes.key?(:'headers')
165
- if (value = attributes[:'headers']).is_a?(Array)
166
- self.headers = value
167
- end
159
+ if attributes.key?(:'proxy_url')
160
+ self.proxy_url = attributes[:'proxy_url']
168
161
  end
169
162
 
170
- if attributes.key?(:'client_cert')
171
- self.client_cert = attributes[:'client_cert']
163
+ if attributes.key?(:'ca_cert')
164
+ self.ca_cert = attributes[:'ca_cert']
172
165
  end
173
166
 
174
- if attributes.key?(:'url')
175
- self.url = attributes[:'url']
167
+ if attributes.key?(:'download_concurrency')
168
+ self.download_concurrency = attributes[:'download_concurrency']
176
169
  end
177
170
 
178
- if attributes.key?(:'max_retries')
179
- self.max_retries = attributes[:'max_retries']
171
+ if attributes.key?(:'pulp_created')
172
+ self.pulp_created = attributes[:'pulp_created']
180
173
  end
181
174
 
182
- if attributes.key?(:'ca_cert')
183
- self.ca_cert = attributes[:'ca_cert']
175
+ if attributes.key?(:'sock_connect_timeout')
176
+ self.sock_connect_timeout = attributes[:'sock_connect_timeout']
184
177
  end
185
178
 
186
- if attributes.key?(:'hidden_fields')
187
- if (value = attributes[:'hidden_fields']).is_a?(Array)
188
- self.hidden_fields = value
189
- end
179
+ if attributes.key?(:'rate_limit')
180
+ self.rate_limit = attributes[:'rate_limit']
190
181
  end
191
182
 
192
- if attributes.key?(:'connect_timeout')
193
- self.connect_timeout = attributes[:'connect_timeout']
183
+ if attributes.key?(:'max_retries')
184
+ self.max_retries = attributes[:'max_retries']
194
185
  end
195
186
 
196
- if attributes.key?(:'pulp_created')
197
- self.pulp_created = attributes[:'pulp_created']
187
+ if attributes.key?(:'client_cert')
188
+ self.client_cert = attributes[:'client_cert']
198
189
  end
199
190
 
200
191
  if attributes.key?(:'name')
201
192
  self.name = attributes[:'name']
202
193
  end
203
194
 
204
- if attributes.key?(:'download_concurrency')
205
- self.download_concurrency = attributes[:'download_concurrency']
195
+ if attributes.key?(:'pulp_href')
196
+ self.pulp_href = attributes[:'pulp_href']
206
197
  end
207
198
 
208
- if attributes.key?(:'pulp_last_updated')
209
- self.pulp_last_updated = attributes[:'pulp_last_updated']
199
+ if attributes.key?(:'headers')
200
+ if (value = attributes[:'headers']).is_a?(Array)
201
+ self.headers = value
202
+ end
210
203
  end
211
204
 
212
- if attributes.key?(:'pulp_href')
213
- self.pulp_href = attributes[:'pulp_href']
205
+ if attributes.key?(:'tls_validation')
206
+ self.tls_validation = attributes[:'tls_validation']
214
207
  end
215
208
 
216
- if attributes.key?(:'pulp_labels')
217
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
218
- self.pulp_labels = value
219
- end
209
+ if attributes.key?(:'connect_timeout')
210
+ self.connect_timeout = attributes[:'connect_timeout']
220
211
  end
221
212
 
222
213
  if attributes.key?(:'sock_read_timeout')
223
214
  self.sock_read_timeout = attributes[:'sock_read_timeout']
224
215
  end
225
216
 
226
- if attributes.key?(:'proxy_url')
227
- self.proxy_url = attributes[:'proxy_url']
228
- end
229
-
230
- if attributes.key?(:'tls_validation')
231
- self.tls_validation = attributes[:'tls_validation']
217
+ if attributes.key?(:'pulp_labels')
218
+ self.pulp_labels = attributes[:'pulp_labels']
232
219
  end
233
220
 
234
- if attributes.key?(:'sock_connect_timeout')
235
- self.sock_connect_timeout = attributes[:'sock_connect_timeout']
221
+ if attributes.key?(:'total_timeout')
222
+ self.total_timeout = attributes[:'total_timeout']
236
223
  end
237
224
 
238
- if attributes.key?(:'rate_limit')
239
- self.rate_limit = attributes[:'rate_limit']
225
+ if attributes.key?(:'url')
226
+ self.url = attributes[:'url']
240
227
  end
241
228
 
242
- if attributes.key?(:'total_timeout')
243
- self.total_timeout = attributes[:'total_timeout']
229
+ if attributes.key?(:'pulp_last_updated')
230
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
244
231
  end
245
232
 
246
233
  if attributes.key?(:'metadata_only')
@@ -256,32 +243,32 @@ module PulpAnsibleClient
256
243
  # @return Array for valid properties with the reasons
257
244
  def list_invalid_properties
258
245
  invalid_properties = Array.new
259
- if @url.nil?
260
- invalid_properties.push('invalid value for "url", url cannot be nil.')
246
+ if !@download_concurrency.nil? && @download_concurrency < 1
247
+ invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
261
248
  end
262
249
 
263
- if !@connect_timeout.nil? && @connect_timeout < 0
264
- invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
250
+ if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
251
+ invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
265
252
  end
266
253
 
267
254
  if @name.nil?
268
255
  invalid_properties.push('invalid value for "name", name cannot be nil.')
269
256
  end
270
257
 
271
- if !@download_concurrency.nil? && @download_concurrency < 1
272
- invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
258
+ if !@connect_timeout.nil? && @connect_timeout < 0.0
259
+ invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
273
260
  end
274
261
 
275
- if !@sock_read_timeout.nil? && @sock_read_timeout < 0
276
- invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
262
+ if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
263
+ invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
277
264
  end
278
265
 
279
- if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
280
- invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
266
+ if !@total_timeout.nil? && @total_timeout < 0.0
267
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
281
268
  end
282
269
 
283
- if !@total_timeout.nil? && @total_timeout < 0
284
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
270
+ if @url.nil?
271
+ invalid_properties.push('invalid value for "url", url cannot be nil.')
285
272
  end
286
273
 
287
274
  invalid_properties
@@ -290,26 +277,16 @@ module PulpAnsibleClient
290
277
  # Check to see if the all the properties in the model are valid
291
278
  # @return true if the model is valid
292
279
  def valid?
293
- return false if @url.nil?
294
- return false if !@connect_timeout.nil? && @connect_timeout < 0
295
- return false if @name.nil?
296
280
  return false if !@download_concurrency.nil? && @download_concurrency < 1
297
- return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
298
- return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
299
- return false if !@total_timeout.nil? && @total_timeout < 0
281
+ return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
282
+ return false if @name.nil?
283
+ return false if !@connect_timeout.nil? && @connect_timeout < 0.0
284
+ return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
285
+ return false if !@total_timeout.nil? && @total_timeout < 0.0
286
+ return false if @url.nil?
300
287
  true
301
288
  end
302
289
 
303
- # Custom attribute writer method with validation
304
- # @param [Object] connect_timeout Value to be assigned
305
- def connect_timeout=(connect_timeout)
306
- if !connect_timeout.nil? && connect_timeout < 0
307
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
308
- end
309
-
310
- @connect_timeout = connect_timeout
311
- end
312
-
313
290
  # Custom attribute writer method with validation
314
291
  # @param [Object] download_concurrency Value to be assigned
315
292
  def download_concurrency=(download_concurrency)
@@ -321,30 +298,40 @@ module PulpAnsibleClient
321
298
  end
322
299
 
323
300
  # Custom attribute writer method with validation
324
- # @param [Object] sock_read_timeout Value to be assigned
325
- def sock_read_timeout=(sock_read_timeout)
326
- if !sock_read_timeout.nil? && sock_read_timeout < 0
327
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
301
+ # @param [Object] sock_connect_timeout Value to be assigned
302
+ def sock_connect_timeout=(sock_connect_timeout)
303
+ if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
304
+ fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
328
305
  end
329
306
 
330
- @sock_read_timeout = sock_read_timeout
307
+ @sock_connect_timeout = sock_connect_timeout
331
308
  end
332
309
 
333
310
  # Custom attribute writer method with validation
334
- # @param [Object] sock_connect_timeout Value to be assigned
335
- def sock_connect_timeout=(sock_connect_timeout)
336
- if !sock_connect_timeout.nil? && sock_connect_timeout < 0
337
- fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
311
+ # @param [Object] connect_timeout Value to be assigned
312
+ def connect_timeout=(connect_timeout)
313
+ if !connect_timeout.nil? && connect_timeout < 0.0
314
+ fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
338
315
  end
339
316
 
340
- @sock_connect_timeout = sock_connect_timeout
317
+ @connect_timeout = connect_timeout
318
+ end
319
+
320
+ # Custom attribute writer method with validation
321
+ # @param [Object] sock_read_timeout Value to be assigned
322
+ def sock_read_timeout=(sock_read_timeout)
323
+ if !sock_read_timeout.nil? && sock_read_timeout < 0.0
324
+ fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
325
+ end
326
+
327
+ @sock_read_timeout = sock_read_timeout
341
328
  end
342
329
 
343
330
  # Custom attribute writer method with validation
344
331
  # @param [Object] total_timeout Value to be assigned
345
332
  def total_timeout=(total_timeout)
346
- if !total_timeout.nil? && total_timeout < 0
347
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
333
+ if !total_timeout.nil? && total_timeout < 0.0
334
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
348
335
  end
349
336
 
350
337
  @total_timeout = total_timeout
@@ -355,25 +342,24 @@ module PulpAnsibleClient
355
342
  def ==(o)
356
343
  return true if self.equal?(o)
357
344
  self.class == o.class &&
358
- headers == o.headers &&
359
- client_cert == o.client_cert &&
360
- url == o.url &&
361
- max_retries == o.max_retries &&
345
+ proxy_url == o.proxy_url &&
362
346
  ca_cert == o.ca_cert &&
363
- hidden_fields == o.hidden_fields &&
364
- connect_timeout == o.connect_timeout &&
347
+ download_concurrency == o.download_concurrency &&
365
348
  pulp_created == o.pulp_created &&
349
+ sock_connect_timeout == o.sock_connect_timeout &&
350
+ rate_limit == o.rate_limit &&
351
+ max_retries == o.max_retries &&
352
+ client_cert == o.client_cert &&
366
353
  name == o.name &&
367
- download_concurrency == o.download_concurrency &&
368
- pulp_last_updated == o.pulp_last_updated &&
369
354
  pulp_href == o.pulp_href &&
370
- pulp_labels == o.pulp_labels &&
371
- sock_read_timeout == o.sock_read_timeout &&
372
- proxy_url == o.proxy_url &&
355
+ headers == o.headers &&
373
356
  tls_validation == o.tls_validation &&
374
- sock_connect_timeout == o.sock_connect_timeout &&
375
- rate_limit == o.rate_limit &&
357
+ connect_timeout == o.connect_timeout &&
358
+ sock_read_timeout == o.sock_read_timeout &&
359
+ pulp_labels == o.pulp_labels &&
376
360
  total_timeout == o.total_timeout &&
361
+ url == o.url &&
362
+ pulp_last_updated == o.pulp_last_updated &&
377
363
  metadata_only == o.metadata_only &&
378
364
  git_ref == o.git_ref
379
365
  end
@@ -387,7 +373,7 @@ module PulpAnsibleClient
387
373
  # Calculates hash code according to all attributes.
388
374
  # @return [Integer] Hash code
389
375
  def hash
390
- [headers, client_cert, url, max_retries, ca_cert, hidden_fields, connect_timeout, pulp_created, name, download_concurrency, pulp_last_updated, pulp_href, pulp_labels, sock_read_timeout, proxy_url, tls_validation, sock_connect_timeout, rate_limit, total_timeout, metadata_only, git_ref].hash
376
+ [proxy_url, ca_cert, download_concurrency, pulp_created, sock_connect_timeout, rate_limit, max_retries, client_cert, name, pulp_href, headers, tls_validation, connect_timeout, sock_read_timeout, pulp_labels, total_timeout, url, pulp_last_updated, metadata_only, git_ref].hash
391
377
  end
392
378
 
393
379
  # Builds the object from hash
@@ -118,7 +118,7 @@ module PulpAnsibleClient
118
118
  :'proxy_password' => :'String',
119
119
  :'username' => :'String',
120
120
  :'password' => :'String',
121
- :'pulp_labels' => :'Hash<String, String>',
121
+ :'pulp_labels' => :'Object',
122
122
  :'download_concurrency' => :'Integer',
123
123
  :'max_retries' => :'Integer',
124
124
  :'policy' => :'PolicyEnum',
@@ -212,9 +212,7 @@ module PulpAnsibleClient
212
212
  end
213
213
 
214
214
  if attributes.key?(:'pulp_labels')
215
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
216
- self.pulp_labels = value
217
- end
215
+ self.pulp_labels = attributes[:'pulp_labels']
218
216
  end
219
217
 
220
218
  if attributes.key?(:'download_concurrency')
@@ -312,20 +310,20 @@ module PulpAnsibleClient
312
310
  invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
313
311
  end
314
312
 
315
- if !@total_timeout.nil? && @total_timeout < 0
316
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
313
+ if !@total_timeout.nil? && @total_timeout < 0.0
314
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
317
315
  end
318
316
 
319
- if !@connect_timeout.nil? && @connect_timeout < 0
320
- invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
317
+ if !@connect_timeout.nil? && @connect_timeout < 0.0
318
+ invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
321
319
  end
322
320
 
323
- if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
324
- invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
321
+ if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
322
+ invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
325
323
  end
326
324
 
327
- if !@sock_read_timeout.nil? && @sock_read_timeout < 0
328
- invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
325
+ if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
326
+ invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
329
327
  end
330
328
 
331
329
  invalid_properties
@@ -347,10 +345,10 @@ module PulpAnsibleClient
347
345
  return false if !@username.nil? && @username.to_s.length < 1
348
346
  return false if !@password.nil? && @password.to_s.length < 1
349
347
  return false if !@download_concurrency.nil? && @download_concurrency < 1
350
- return false if !@total_timeout.nil? && @total_timeout < 0
351
- return false if !@connect_timeout.nil? && @connect_timeout < 0
352
- return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
353
- return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
348
+ return false if !@total_timeout.nil? && @total_timeout < 0.0
349
+ return false if !@connect_timeout.nil? && @connect_timeout < 0.0
350
+ return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
351
+ return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
354
352
  true
355
353
  end
356
354
 
@@ -475,8 +473,8 @@ module PulpAnsibleClient
475
473
  # Custom attribute writer method with validation
476
474
  # @param [Object] total_timeout Value to be assigned
477
475
  def total_timeout=(total_timeout)
478
- if !total_timeout.nil? && total_timeout < 0
479
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
476
+ if !total_timeout.nil? && total_timeout < 0.0
477
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
480
478
  end
481
479
 
482
480
  @total_timeout = total_timeout
@@ -485,8 +483,8 @@ module PulpAnsibleClient
485
483
  # Custom attribute writer method with validation
486
484
  # @param [Object] connect_timeout Value to be assigned
487
485
  def connect_timeout=(connect_timeout)
488
- if !connect_timeout.nil? && connect_timeout < 0
489
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
486
+ if !connect_timeout.nil? && connect_timeout < 0.0
487
+ fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
490
488
  end
491
489
 
492
490
  @connect_timeout = connect_timeout
@@ -495,8 +493,8 @@ module PulpAnsibleClient
495
493
  # Custom attribute writer method with validation
496
494
  # @param [Object] sock_connect_timeout Value to be assigned
497
495
  def sock_connect_timeout=(sock_connect_timeout)
498
- if !sock_connect_timeout.nil? && sock_connect_timeout < 0
499
- fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
496
+ if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
497
+ fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
500
498
  end
501
499
 
502
500
  @sock_connect_timeout = sock_connect_timeout
@@ -505,8 +503,8 @@ module PulpAnsibleClient
505
503
  # Custom attribute writer method with validation
506
504
  # @param [Object] sock_read_timeout Value to be assigned
507
505
  def sock_read_timeout=(sock_read_timeout)
508
- if !sock_read_timeout.nil? && sock_read_timeout < 0
509
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
506
+ if !sock_read_timeout.nil? && sock_read_timeout < 0.0
507
+ fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
510
508
  end
511
509
 
512
510
  @sock_read_timeout = sock_read_timeout