pulp_ansible_client 0.15.5 → 0.16.0

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