pulp_ansible_client 0.25.1 → 0.27.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 (204) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -7
  3. data/docs/AnsibleCollectionVersionResponse.md +7 -7
  4. data/docs/AnsibleCollectionsApi.md +26 -8
  5. data/docs/AnsibleCopyApi.md +8 -4
  6. data/docs/AnsibleGitRemote.md +30 -30
  7. data/docs/AnsibleGitRemoteResponse.md +28 -28
  8. data/docs/AnsibleRole.md +4 -4
  9. data/docs/AnsibleRoleResponse.md +6 -6
  10. data/docs/ApiPluginAnsibleSearchCollectionVersionsApi.md +10 -4
  11. data/docs/ApiRolesApi.md +2 -0
  12. data/docs/CollectionImportApi.md +2 -0
  13. data/docs/CollectionMetadataResponse.md +1 -1
  14. data/docs/CollectionSummaryResponse.md +1 -1
  15. data/docs/CollectionSummaryResponseTagsInner.md +18 -0
  16. data/docs/ContentCollectionDeprecationsApi.md +28 -12
  17. data/docs/ContentCollectionMarksApi.md +28 -12
  18. data/docs/ContentCollectionSignaturesApi.md +22 -8
  19. data/docs/ContentCollectionVersionsApi.md +30 -16
  20. data/docs/ContentNamespacesApi.md +22 -8
  21. data/docs/ContentRolesApi.md +28 -12
  22. data/docs/DistributionsAnsibleApi.md +72 -32
  23. data/docs/PatchedansibleGitRemote.md +30 -30
  24. data/docs/PulpAnsibleApiApi.md +2 -0
  25. data/docs/PulpAnsibleApiV3Api.md +2 -0
  26. data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +2 -0
  27. data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +2 -0
  28. data/docs/PulpAnsibleApiV3CollectionsAllApi.md +2 -0
  29. data/docs/PulpAnsibleApiV3CollectionsApi.md +20 -8
  30. data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +14 -6
  31. data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +2 -0
  32. data/docs/PulpAnsibleApiV3NamespacesApi.md +4 -0
  33. data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +2 -0
  34. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -0
  35. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +2 -0
  36. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +2 -0
  37. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +2 -0
  38. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +20 -8
  39. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +14 -6
  40. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +2 -0
  41. data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +16 -4
  42. data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +8 -0
  43. data/docs/PulpAnsibleDefaultApiApi.md +14 -5
  44. data/docs/PulpAnsibleDefaultApiV3Api.md +14 -5
  45. data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +2 -0
  46. data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +14 -5
  47. data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +2 -0
  48. data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +20 -8
  49. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +14 -6
  50. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +2 -0
  51. data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +4 -0
  52. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +14 -5
  53. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -0
  54. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +2 -0
  55. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +2 -0
  56. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +2 -0
  57. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +20 -8
  58. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +14 -6
  59. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +2 -0
  60. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +16 -4
  61. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +10 -4
  62. data/docs/PulpAnsibleTagsApi.md +6 -4
  63. data/docs/RemotesCollectionApi.md +72 -32
  64. data/docs/RemotesGitApi.md +72 -32
  65. data/docs/RemotesRoleApi.md +72 -32
  66. data/docs/RepositoriesAnsibleApi.md +136 -64
  67. data/docs/RepositoriesAnsibleVersionsApi.md +28 -12
  68. data/docs/TagResponse.md +1 -1
  69. data/docs/VersionsApi.md +2 -0
  70. data/lib/pulp_ansible_client/api/ansible_collections_api.rb +21 -0
  71. data/lib/pulp_ansible_client/api/ansible_copy_api.rb +3 -0
  72. data/lib/pulp_ansible_client/api/api_plugin_ansible_search_collection_versions_api.rb +6 -0
  73. data/lib/pulp_ansible_client/api/api_roles_api.rb +3 -0
  74. data/lib/pulp_ansible_client/api/collection_import_api.rb +3 -0
  75. data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +15 -0
  76. data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +15 -0
  77. data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +15 -0
  78. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +27 -12
  79. data/lib/pulp_ansible_client/api/content_namespaces_api.rb +15 -0
  80. data/lib/pulp_ansible_client/api/content_roles_api.rb +15 -0
  81. data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +36 -0
  82. data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +3 -0
  83. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_api.rb +3 -0
  84. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_artifacts_collections_api.rb +3 -0
  85. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collection_versions_all_api.rb +3 -0
  86. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +3 -0
  87. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +12 -0
  88. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +12 -3
  89. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_docs_blob_api.rb +3 -0
  90. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +6 -0
  91. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.rb +3 -0
  92. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +3 -0
  93. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api.rb +3 -0
  94. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api.rb +3 -0
  95. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api.rb +3 -0
  96. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +12 -0
  97. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +12 -3
  98. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +3 -0
  99. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +15 -0
  100. data/lib/pulp_ansible_client/api/pulp_ansible_artifacts_collections_v3_api.rb +12 -0
  101. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_api.rb +9 -0
  102. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_api.rb +9 -0
  103. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_artifacts_collections_api.rb +3 -0
  104. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collection_versions_all_api.rb +9 -0
  105. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +3 -0
  106. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +12 -0
  107. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +12 -3
  108. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api.rb +3 -0
  109. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +6 -0
  110. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api.rb +9 -0
  111. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +3 -0
  112. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api.rb +3 -0
  113. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api.rb +3 -0
  114. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api.rb +3 -0
  115. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +12 -0
  116. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +12 -3
  117. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +3 -0
  118. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +15 -0
  119. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +6 -0
  120. data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +5 -2
  121. data/lib/pulp_ansible_client/api/remotes_collection_api.rb +36 -0
  122. data/lib/pulp_ansible_client/api/remotes_git_api.rb +36 -0
  123. data/lib/pulp_ansible_client/api/remotes_role_api.rb +36 -0
  124. data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +60 -0
  125. data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +15 -0
  126. data/lib/pulp_ansible_client/api/versions_api.rb +3 -0
  127. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +28 -28
  128. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +255 -255
  129. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +157 -157
  130. data/lib/pulp_ansible_client/models/ansible_role.rb +17 -17
  131. data/lib/pulp_ansible_client/models/ansible_role_response.rb +29 -29
  132. data/lib/pulp_ansible_client/models/collection_metadata_response.rb +0 -7
  133. data/lib/pulp_ansible_client/models/collection_summary_response.rb +1 -1
  134. data/lib/pulp_ansible_client/models/{ansible_tag_response.rb → collection_summary_response_tags_inner.rb} +3 -5
  135. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +246 -246
  136. data/lib/pulp_ansible_client/models/tag_response.rb +2 -1
  137. data/lib/pulp_ansible_client/version.rb +1 -1
  138. data/lib/pulp_ansible_client.rb +1 -1
  139. data/spec/api/ansible_collections_api_spec.rb +7 -0
  140. data/spec/api/ansible_copy_api_spec.rb +1 -0
  141. data/spec/api/api_plugin_ansible_search_collection_versions_api_spec.rb +2 -0
  142. data/spec/api/api_roles_api_spec.rb +1 -0
  143. data/spec/api/collection_import_api_spec.rb +1 -0
  144. data/spec/api/content_collection_deprecations_api_spec.rb +5 -0
  145. data/spec/api/content_collection_marks_api_spec.rb +5 -0
  146. data/spec/api/content_collection_signatures_api_spec.rb +5 -0
  147. data/spec/api/content_collection_versions_api_spec.rb +9 -4
  148. data/spec/api/content_namespaces_api_spec.rb +5 -0
  149. data/spec/api/content_roles_api_spec.rb +5 -0
  150. data/spec/api/distributions_ansible_api_spec.rb +12 -0
  151. data/spec/api/pulp_ansible_api_api_spec.rb +1 -0
  152. data/spec/api/pulp_ansible_api_v3_api_spec.rb +1 -0
  153. data/spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb +1 -0
  154. data/spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb +1 -0
  155. data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +1 -0
  156. data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +4 -0
  157. data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +4 -1
  158. data/spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb +1 -0
  159. data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +2 -0
  160. data/spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb +1 -0
  161. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -0
  162. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +1 -0
  163. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb +1 -0
  164. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +1 -0
  165. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +4 -0
  166. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +4 -1
  167. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +1 -0
  168. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +5 -0
  169. data/spec/api/pulp_ansible_artifacts_collections_v3_api_spec.rb +4 -0
  170. data/spec/api/pulp_ansible_default_api_api_spec.rb +3 -0
  171. data/spec/api/pulp_ansible_default_api_v3_api_spec.rb +3 -0
  172. data/spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb +1 -0
  173. data/spec/api/pulp_ansible_default_api_v3_collection_versions_all_api_spec.rb +3 -0
  174. data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +1 -0
  175. data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +4 -0
  176. data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +4 -1
  177. data/spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb +1 -0
  178. data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +2 -0
  179. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api_spec.rb +3 -0
  180. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -0
  181. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +1 -0
  182. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb +1 -0
  183. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +1 -0
  184. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +4 -0
  185. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +4 -1
  186. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +1 -0
  187. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +5 -0
  188. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +2 -0
  189. data/spec/api/pulp_ansible_tags_api_spec.rb +2 -1
  190. data/spec/api/remotes_collection_api_spec.rb +12 -0
  191. data/spec/api/remotes_git_api_spec.rb +12 -0
  192. data/spec/api/remotes_role_api_spec.rb +12 -0
  193. data/spec/api/repositories_ansible_api_spec.rb +20 -0
  194. data/spec/api/repositories_ansible_versions_api_spec.rb +5 -0
  195. data/spec/api/versions_api_spec.rb +1 -0
  196. data/spec/models/ansible_collection_version_response_spec.rb +6 -6
  197. data/spec/models/ansible_git_remote_response_spec.rb +19 -19
  198. data/spec/models/ansible_git_remote_spec.rb +19 -19
  199. data/spec/models/ansible_role_response_spec.rb +6 -6
  200. data/spec/models/ansible_role_spec.rb +2 -2
  201. data/spec/models/{ansible_tag_response_spec.rb → collection_summary_response_tags_inner_spec.rb} +6 -6
  202. data/spec/models/patchedansible_git_remote_spec.rb +19 -19
  203. metadata +131 -131
  204. data/docs/AnsibleTagResponse.md +0 -18
@@ -16,64 +16,64 @@ require 'time'
16
16
  module PulpAnsibleClient
17
17
  # A serializer for Git Collection Remotes.
18
18
  class AnsibleGitRemote
19
- # The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed.
20
- attr_accessor :password
21
-
22
- # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
23
- attr_accessor :max_retries
19
+ # aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
20
+ attr_accessor :total_timeout
24
21
 
25
22
  # 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
23
  attr_accessor :connect_timeout
27
24
 
28
- # Limits requests per second for each concurrent downloader
29
- attr_accessor :rate_limit
25
+ # Headers for aiohttp.Clientsession
26
+ attr_accessor :headers
30
27
 
31
28
  # If True, TLS peer validation must be performed.
32
29
  attr_accessor :tls_validation
33
30
 
34
- # Total number of simultaneous connections. If not set then the default value will be used.
35
- attr_accessor :download_concurrency
31
+ # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
32
+ attr_accessor :max_retries
36
33
 
37
- # Headers for aiohttp.Clientsession
38
- attr_accessor :headers
34
+ # The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed.
35
+ attr_accessor :password
39
36
 
40
- # The URL of an external content source.
41
- attr_accessor :url
37
+ # A PEM encoded private key used for authentication.
38
+ attr_accessor :client_key
42
39
 
43
- # The proxy URL. Format: scheme://host:port
44
- attr_accessor :proxy_url
40
+ # 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.
41
+ attr_accessor :sock_read_timeout
45
42
 
46
- attr_accessor :pulp_labels
43
+ # A PEM encoded client certificate used for authentication.
44
+ attr_accessor :client_cert
47
45
 
48
- # aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
49
- attr_accessor :total_timeout
46
+ # The username to authenticte to the proxy.
47
+ attr_accessor :proxy_username
50
48
 
51
- # 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.
52
- attr_accessor :sock_read_timeout
49
+ # A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
50
+ attr_accessor :ca_cert
53
51
 
54
- # The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed.
55
- attr_accessor :proxy_password
52
+ # The URL of an external content source.
53
+ attr_accessor :url
56
54
 
57
- # The username to be used for authentication when syncing.
58
- attr_accessor :username
55
+ # A unique name for this remote.
56
+ attr_accessor :name
59
57
 
60
- # A PEM encoded client certificate used for authentication.
61
- attr_accessor :client_cert
58
+ # Limits requests per second for each concurrent downloader
59
+ attr_accessor :rate_limit
60
+
61
+ # The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed.
62
+ attr_accessor :proxy_password
62
63
 
63
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.
64
65
  attr_accessor :sock_connect_timeout
65
66
 
66
- # A PEM encoded private key used for authentication.
67
- attr_accessor :client_key
67
+ # The username to be used for authentication when syncing.
68
+ attr_accessor :username
68
69
 
69
- # A unique name for this remote.
70
- attr_accessor :name
70
+ attr_accessor :pulp_labels
71
71
 
72
- # A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
73
- attr_accessor :ca_cert
72
+ # The proxy URL. Format: scheme://host:port
73
+ attr_accessor :proxy_url
74
74
 
75
- # The username to authenticte to the proxy.
76
- attr_accessor :proxy_username
75
+ # Total number of simultaneous connections. If not set then the default value will be used.
76
+ attr_accessor :download_concurrency
77
77
 
78
78
  # If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL.
79
79
  attr_accessor :metadata_only
@@ -84,26 +84,26 @@ module PulpAnsibleClient
84
84
  # Attribute mapping from ruby-style variable name to JSON key.
85
85
  def self.attribute_map
86
86
  {
87
- :'password' => :'password',
88
- :'max_retries' => :'max_retries',
87
+ :'total_timeout' => :'total_timeout',
89
88
  :'connect_timeout' => :'connect_timeout',
90
- :'rate_limit' => :'rate_limit',
91
- :'tls_validation' => :'tls_validation',
92
- :'download_concurrency' => :'download_concurrency',
93
89
  :'headers' => :'headers',
94
- :'url' => :'url',
95
- :'proxy_url' => :'proxy_url',
96
- :'pulp_labels' => :'pulp_labels',
97
- :'total_timeout' => :'total_timeout',
90
+ :'tls_validation' => :'tls_validation',
91
+ :'max_retries' => :'max_retries',
92
+ :'password' => :'password',
93
+ :'client_key' => :'client_key',
98
94
  :'sock_read_timeout' => :'sock_read_timeout',
99
- :'proxy_password' => :'proxy_password',
100
- :'username' => :'username',
101
95
  :'client_cert' => :'client_cert',
102
- :'sock_connect_timeout' => :'sock_connect_timeout',
103
- :'client_key' => :'client_key',
104
- :'name' => :'name',
105
- :'ca_cert' => :'ca_cert',
106
96
  :'proxy_username' => :'proxy_username',
97
+ :'ca_cert' => :'ca_cert',
98
+ :'url' => :'url',
99
+ :'name' => :'name',
100
+ :'rate_limit' => :'rate_limit',
101
+ :'proxy_password' => :'proxy_password',
102
+ :'sock_connect_timeout' => :'sock_connect_timeout',
103
+ :'username' => :'username',
104
+ :'pulp_labels' => :'pulp_labels',
105
+ :'proxy_url' => :'proxy_url',
106
+ :'download_concurrency' => :'download_concurrency',
107
107
  :'metadata_only' => :'metadata_only',
108
108
  :'git_ref' => :'git_ref'
109
109
  }
@@ -117,26 +117,26 @@ module PulpAnsibleClient
117
117
  # Attribute type mapping.
118
118
  def self.openapi_types
119
119
  {
120
- :'password' => :'String',
121
- :'max_retries' => :'Integer',
120
+ :'total_timeout' => :'Float',
122
121
  :'connect_timeout' => :'Float',
123
- :'rate_limit' => :'Integer',
124
- :'tls_validation' => :'Boolean',
125
- :'download_concurrency' => :'Integer',
126
122
  :'headers' => :'Array<Object>',
127
- :'url' => :'String',
128
- :'proxy_url' => :'String',
129
- :'pulp_labels' => :'Hash<String, String>',
130
- :'total_timeout' => :'Float',
123
+ :'tls_validation' => :'Boolean',
124
+ :'max_retries' => :'Integer',
125
+ :'password' => :'String',
126
+ :'client_key' => :'String',
131
127
  :'sock_read_timeout' => :'Float',
132
- :'proxy_password' => :'String',
133
- :'username' => :'String',
134
128
  :'client_cert' => :'String',
135
- :'sock_connect_timeout' => :'Float',
136
- :'client_key' => :'String',
137
- :'name' => :'String',
138
- :'ca_cert' => :'String',
139
129
  :'proxy_username' => :'String',
130
+ :'ca_cert' => :'String',
131
+ :'url' => :'String',
132
+ :'name' => :'String',
133
+ :'rate_limit' => :'Integer',
134
+ :'proxy_password' => :'String',
135
+ :'sock_connect_timeout' => :'Float',
136
+ :'username' => :'String',
137
+ :'pulp_labels' => :'Hash<String, String>',
138
+ :'proxy_url' => :'String',
139
+ :'download_concurrency' => :'Integer',
140
140
  :'metadata_only' => :'Boolean',
141
141
  :'git_ref' => :'String'
142
142
  }
@@ -145,21 +145,21 @@ module PulpAnsibleClient
145
145
  # List of attributes with nullable: true
146
146
  def self.openapi_nullable
147
147
  Set.new([
148
- :'password',
149
- :'max_retries',
150
- :'connect_timeout',
151
- :'rate_limit',
152
- :'download_concurrency',
153
- :'proxy_url',
154
148
  :'total_timeout',
149
+ :'connect_timeout',
150
+ :'max_retries',
151
+ :'password',
152
+ :'client_key',
155
153
  :'sock_read_timeout',
156
- :'proxy_password',
157
- :'username',
158
154
  :'client_cert',
159
- :'sock_connect_timeout',
160
- :'client_key',
161
- :'ca_cert',
162
155
  :'proxy_username',
156
+ :'ca_cert',
157
+ :'rate_limit',
158
+ :'proxy_password',
159
+ :'sock_connect_timeout',
160
+ :'username',
161
+ :'proxy_url',
162
+ :'download_concurrency',
163
163
  ])
164
164
  end
165
165
 
@@ -178,92 +178,92 @@ module PulpAnsibleClient
178
178
  h[k.to_sym] = v
179
179
  }
180
180
 
181
- if attributes.key?(:'password')
182
- self.password = attributes[:'password']
183
- end
184
-
185
- if attributes.key?(:'max_retries')
186
- self.max_retries = attributes[:'max_retries']
181
+ if attributes.key?(:'total_timeout')
182
+ self.total_timeout = attributes[:'total_timeout']
187
183
  end
188
184
 
189
185
  if attributes.key?(:'connect_timeout')
190
186
  self.connect_timeout = attributes[:'connect_timeout']
191
187
  end
192
188
 
193
- if attributes.key?(:'rate_limit')
194
- self.rate_limit = attributes[:'rate_limit']
189
+ if attributes.key?(:'headers')
190
+ if (value = attributes[:'headers']).is_a?(Array)
191
+ self.headers = value
192
+ end
195
193
  end
196
194
 
197
195
  if attributes.key?(:'tls_validation')
198
196
  self.tls_validation = attributes[:'tls_validation']
199
197
  end
200
198
 
201
- if attributes.key?(:'download_concurrency')
202
- self.download_concurrency = attributes[:'download_concurrency']
199
+ if attributes.key?(:'max_retries')
200
+ self.max_retries = attributes[:'max_retries']
203
201
  end
204
202
 
205
- if attributes.key?(:'headers')
206
- if (value = attributes[:'headers']).is_a?(Array)
207
- self.headers = value
208
- end
203
+ if attributes.key?(:'password')
204
+ self.password = attributes[:'password']
209
205
  end
210
206
 
211
- if attributes.key?(:'url')
212
- self.url = attributes[:'url']
213
- else
214
- self.url = nil
207
+ if attributes.key?(:'client_key')
208
+ self.client_key = attributes[:'client_key']
215
209
  end
216
210
 
217
- if attributes.key?(:'proxy_url')
218
- self.proxy_url = attributes[:'proxy_url']
211
+ if attributes.key?(:'sock_read_timeout')
212
+ self.sock_read_timeout = attributes[:'sock_read_timeout']
219
213
  end
220
214
 
221
- if attributes.key?(:'pulp_labels')
222
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
223
- self.pulp_labels = value
224
- end
215
+ if attributes.key?(:'client_cert')
216
+ self.client_cert = attributes[:'client_cert']
225
217
  end
226
218
 
227
- if attributes.key?(:'total_timeout')
228
- self.total_timeout = attributes[:'total_timeout']
219
+ if attributes.key?(:'proxy_username')
220
+ self.proxy_username = attributes[:'proxy_username']
229
221
  end
230
222
 
231
- if attributes.key?(:'sock_read_timeout')
232
- self.sock_read_timeout = attributes[:'sock_read_timeout']
223
+ if attributes.key?(:'ca_cert')
224
+ self.ca_cert = attributes[:'ca_cert']
233
225
  end
234
226
 
235
- if attributes.key?(:'proxy_password')
236
- self.proxy_password = attributes[:'proxy_password']
227
+ if attributes.key?(:'url')
228
+ self.url = attributes[:'url']
229
+ else
230
+ self.url = nil
237
231
  end
238
232
 
239
- if attributes.key?(:'username')
240
- self.username = attributes[:'username']
233
+ if attributes.key?(:'name')
234
+ self.name = attributes[:'name']
235
+ else
236
+ self.name = nil
241
237
  end
242
238
 
243
- if attributes.key?(:'client_cert')
244
- self.client_cert = attributes[:'client_cert']
239
+ if attributes.key?(:'rate_limit')
240
+ self.rate_limit = attributes[:'rate_limit']
241
+ end
242
+
243
+ if attributes.key?(:'proxy_password')
244
+ self.proxy_password = attributes[:'proxy_password']
245
245
  end
246
246
 
247
247
  if attributes.key?(:'sock_connect_timeout')
248
248
  self.sock_connect_timeout = attributes[:'sock_connect_timeout']
249
249
  end
250
250
 
251
- if attributes.key?(:'client_key')
252
- self.client_key = attributes[:'client_key']
251
+ if attributes.key?(:'username')
252
+ self.username = attributes[:'username']
253
253
  end
254
254
 
255
- if attributes.key?(:'name')
256
- self.name = attributes[:'name']
257
- else
258
- self.name = nil
255
+ if attributes.key?(:'pulp_labels')
256
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
257
+ self.pulp_labels = value
258
+ end
259
259
  end
260
260
 
261
- if attributes.key?(:'ca_cert')
262
- self.ca_cert = attributes[:'ca_cert']
261
+ if attributes.key?(:'proxy_url')
262
+ self.proxy_url = attributes[:'proxy_url']
263
263
  end
264
264
 
265
- if attributes.key?(:'proxy_username')
266
- self.proxy_username = attributes[:'proxy_username']
265
+ if attributes.key?(:'download_concurrency')
266
+ self.download_concurrency = attributes[:'download_concurrency']
267
267
  end
268
268
 
269
269
  if attributes.key?(:'metadata_only')
@@ -280,56 +280,44 @@ module PulpAnsibleClient
280
280
  def list_invalid_properties
281
281
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
282
282
  invalid_properties = Array.new
283
- if !@password.nil? && @password.to_s.length < 1
284
- invalid_properties.push('invalid value for "password", the character length must be great than or equal to 1.')
283
+ if !@total_timeout.nil? && @total_timeout < 0.0
284
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
285
285
  end
286
286
 
287
287
  if !@connect_timeout.nil? && @connect_timeout < 0.0
288
288
  invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
289
289
  end
290
290
 
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
- end
294
-
295
- if @url.nil?
296
- invalid_properties.push('invalid value for "url", url cannot be nil.')
297
- end
298
-
299
- if @url.to_s.length < 1
300
- invalid_properties.push('invalid value for "url", the character length must be great than or equal to 1.')
301
- end
302
-
303
- if !@proxy_url.nil? && @proxy_url.to_s.length < 1
304
- invalid_properties.push('invalid value for "proxy_url", the character length must be great than or equal to 1.')
291
+ if !@password.nil? && @password.to_s.length < 1
292
+ invalid_properties.push('invalid value for "password", the character length must be great than or equal to 1.')
305
293
  end
306
294
 
307
- if !@total_timeout.nil? && @total_timeout < 0.0
308
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
295
+ if !@client_key.nil? && @client_key.to_s.length < 1
296
+ invalid_properties.push('invalid value for "client_key", the character length must be great than or equal to 1.')
309
297
  end
310
298
 
311
299
  if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
312
300
  invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
313
301
  end
314
302
 
315
- if !@proxy_password.nil? && @proxy_password.to_s.length < 1
316
- invalid_properties.push('invalid value for "proxy_password", the character length must be great than or equal to 1.')
303
+ if !@client_cert.nil? && @client_cert.to_s.length < 1
304
+ invalid_properties.push('invalid value for "client_cert", the character length must be great than or equal to 1.')
317
305
  end
318
306
 
319
- if !@username.nil? && @username.to_s.length < 1
320
- invalid_properties.push('invalid value for "username", the character length must be great than or equal to 1.')
307
+ if !@proxy_username.nil? && @proxy_username.to_s.length < 1
308
+ invalid_properties.push('invalid value for "proxy_username", the character length must be great than or equal to 1.')
321
309
  end
322
310
 
323
- if !@client_cert.nil? && @client_cert.to_s.length < 1
324
- invalid_properties.push('invalid value for "client_cert", the character length must be great than or equal to 1.')
311
+ if !@ca_cert.nil? && @ca_cert.to_s.length < 1
312
+ invalid_properties.push('invalid value for "ca_cert", the character length must be great than or equal to 1.')
325
313
  end
326
314
 
327
- if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
328
- invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
315
+ if @url.nil?
316
+ invalid_properties.push('invalid value for "url", url cannot be nil.')
329
317
  end
330
318
 
331
- if !@client_key.nil? && @client_key.to_s.length < 1
332
- invalid_properties.push('invalid value for "client_key", the character length must be great than or equal to 1.')
319
+ if @url.to_s.length < 1
320
+ invalid_properties.push('invalid value for "url", the character length must be great than or equal to 1.')
333
321
  end
334
322
 
335
323
  if @name.nil?
@@ -340,12 +328,24 @@ module PulpAnsibleClient
340
328
  invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
341
329
  end
342
330
 
343
- if !@ca_cert.nil? && @ca_cert.to_s.length < 1
344
- invalid_properties.push('invalid value for "ca_cert", the character length must be great than or equal to 1.')
331
+ if !@proxy_password.nil? && @proxy_password.to_s.length < 1
332
+ invalid_properties.push('invalid value for "proxy_password", the character length must be great than or equal to 1.')
345
333
  end
346
334
 
347
- if !@proxy_username.nil? && @proxy_username.to_s.length < 1
348
- invalid_properties.push('invalid value for "proxy_username", the character length must be great than or equal to 1.')
335
+ if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
336
+ invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
337
+ end
338
+
339
+ if !@username.nil? && @username.to_s.length < 1
340
+ invalid_properties.push('invalid value for "username", the character length must be great than or equal to 1.')
341
+ end
342
+
343
+ if !@proxy_url.nil? && @proxy_url.to_s.length < 1
344
+ invalid_properties.push('invalid value for "proxy_url", the character length must be great than or equal to 1.')
345
+ end
346
+
347
+ if !@download_concurrency.nil? && @download_concurrency < 1
348
+ invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
349
349
  end
350
350
 
351
351
  if !@git_ref.nil? && @git_ref.to_s.length < 1
@@ -359,35 +359,35 @@ module PulpAnsibleClient
359
359
  # @return true if the model is valid
360
360
  def valid?
361
361
  warn '[DEPRECATED] the `valid?` method is obsolete'
362
- return false if !@password.nil? && @password.to_s.length < 1
363
- return false if !@connect_timeout.nil? && @connect_timeout < 0.0
364
- return false if !@download_concurrency.nil? && @download_concurrency < 1
365
- return false if @url.nil?
366
- return false if @url.to_s.length < 1
367
- return false if !@proxy_url.nil? && @proxy_url.to_s.length < 1
368
362
  return false if !@total_timeout.nil? && @total_timeout < 0.0
363
+ return false if !@connect_timeout.nil? && @connect_timeout < 0.0
364
+ return false if !@password.nil? && @password.to_s.length < 1
365
+ return false if !@client_key.nil? && @client_key.to_s.length < 1
369
366
  return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
370
- return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
371
- return false if !@username.nil? && @username.to_s.length < 1
372
367
  return false if !@client_cert.nil? && @client_cert.to_s.length < 1
373
- return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
374
- return false if !@client_key.nil? && @client_key.to_s.length < 1
368
+ return false if !@proxy_username.nil? && @proxy_username.to_s.length < 1
369
+ return false if !@ca_cert.nil? && @ca_cert.to_s.length < 1
370
+ return false if @url.nil?
371
+ return false if @url.to_s.length < 1
375
372
  return false if @name.nil?
376
373
  return false if @name.to_s.length < 1
377
- return false if !@ca_cert.nil? && @ca_cert.to_s.length < 1
378
- return false if !@proxy_username.nil? && @proxy_username.to_s.length < 1
374
+ return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
375
+ return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
376
+ return false if !@username.nil? && @username.to_s.length < 1
377
+ return false if !@proxy_url.nil? && @proxy_url.to_s.length < 1
378
+ return false if !@download_concurrency.nil? && @download_concurrency < 1
379
379
  return false if !@git_ref.nil? && @git_ref.to_s.length < 1
380
380
  true
381
381
  end
382
382
 
383
383
  # Custom attribute writer method with validation
384
- # @param [Object] password Value to be assigned
385
- def password=(password)
386
- if !password.nil? && password.to_s.length < 1
387
- fail ArgumentError, 'invalid value for "password", the character length must be great than or equal to 1.'
384
+ # @param [Object] total_timeout Value to be assigned
385
+ def total_timeout=(total_timeout)
386
+ if !total_timeout.nil? && total_timeout < 0.0
387
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
388
388
  end
389
389
 
390
- @password = password
390
+ @total_timeout = total_timeout
391
391
  end
392
392
 
393
393
  # Custom attribute writer method with validation
@@ -401,87 +401,101 @@ module PulpAnsibleClient
401
401
  end
402
402
 
403
403
  # Custom attribute writer method with validation
404
- # @param [Object] download_concurrency Value to be assigned
405
- def download_concurrency=(download_concurrency)
406
- if !download_concurrency.nil? && download_concurrency < 1
407
- fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
404
+ # @param [Object] password Value to be assigned
405
+ def password=(password)
406
+ if !password.nil? && password.to_s.length < 1
407
+ fail ArgumentError, 'invalid value for "password", the character length must be great than or equal to 1.'
408
408
  end
409
409
 
410
- @download_concurrency = download_concurrency
410
+ @password = password
411
411
  end
412
412
 
413
413
  # Custom attribute writer method with validation
414
- # @param [Object] url Value to be assigned
415
- def url=(url)
416
- if url.nil?
417
- fail ArgumentError, 'url cannot be nil'
414
+ # @param [Object] client_key Value to be assigned
415
+ def client_key=(client_key)
416
+ if !client_key.nil? && client_key.to_s.length < 1
417
+ fail ArgumentError, 'invalid value for "client_key", the character length must be great than or equal to 1.'
418
418
  end
419
419
 
420
- if url.to_s.length < 1
421
- fail ArgumentError, 'invalid value for "url", the character length must be great than or equal to 1.'
420
+ @client_key = client_key
421
+ end
422
+
423
+ # Custom attribute writer method with validation
424
+ # @param [Object] sock_read_timeout Value to be assigned
425
+ def sock_read_timeout=(sock_read_timeout)
426
+ if !sock_read_timeout.nil? && sock_read_timeout < 0.0
427
+ fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
422
428
  end
423
429
 
424
- @url = url
430
+ @sock_read_timeout = sock_read_timeout
425
431
  end
426
432
 
427
433
  # Custom attribute writer method with validation
428
- # @param [Object] proxy_url Value to be assigned
429
- def proxy_url=(proxy_url)
430
- if !proxy_url.nil? && proxy_url.to_s.length < 1
431
- fail ArgumentError, 'invalid value for "proxy_url", the character length must be great than or equal to 1.'
434
+ # @param [Object] client_cert Value to be assigned
435
+ def client_cert=(client_cert)
436
+ if !client_cert.nil? && client_cert.to_s.length < 1
437
+ fail ArgumentError, 'invalid value for "client_cert", the character length must be great than or equal to 1.'
432
438
  end
433
439
 
434
- @proxy_url = proxy_url
440
+ @client_cert = client_cert
435
441
  end
436
442
 
437
443
  # Custom attribute writer method with validation
438
- # @param [Object] total_timeout Value to be assigned
439
- def total_timeout=(total_timeout)
440
- if !total_timeout.nil? && total_timeout < 0.0
441
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
444
+ # @param [Object] proxy_username Value to be assigned
445
+ def proxy_username=(proxy_username)
446
+ if !proxy_username.nil? && proxy_username.to_s.length < 1
447
+ fail ArgumentError, 'invalid value for "proxy_username", the character length must be great than or equal to 1.'
442
448
  end
443
449
 
444
- @total_timeout = total_timeout
450
+ @proxy_username = proxy_username
445
451
  end
446
452
 
447
453
  # Custom attribute writer method with validation
448
- # @param [Object] sock_read_timeout Value to be assigned
449
- def sock_read_timeout=(sock_read_timeout)
450
- if !sock_read_timeout.nil? && sock_read_timeout < 0.0
451
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
454
+ # @param [Object] ca_cert Value to be assigned
455
+ def ca_cert=(ca_cert)
456
+ if !ca_cert.nil? && ca_cert.to_s.length < 1
457
+ fail ArgumentError, 'invalid value for "ca_cert", the character length must be great than or equal to 1.'
452
458
  end
453
459
 
454
- @sock_read_timeout = sock_read_timeout
460
+ @ca_cert = ca_cert
455
461
  end
456
462
 
457
463
  # Custom attribute writer method with validation
458
- # @param [Object] proxy_password Value to be assigned
459
- def proxy_password=(proxy_password)
460
- if !proxy_password.nil? && proxy_password.to_s.length < 1
461
- fail ArgumentError, 'invalid value for "proxy_password", the character length must be great than or equal to 1.'
464
+ # @param [Object] url Value to be assigned
465
+ def url=(url)
466
+ if url.nil?
467
+ fail ArgumentError, 'url cannot be nil'
462
468
  end
463
469
 
464
- @proxy_password = proxy_password
470
+ if url.to_s.length < 1
471
+ fail ArgumentError, 'invalid value for "url", the character length must be great than or equal to 1.'
472
+ end
473
+
474
+ @url = url
465
475
  end
466
476
 
467
477
  # Custom attribute writer method with validation
468
- # @param [Object] username Value to be assigned
469
- def username=(username)
470
- if !username.nil? && username.to_s.length < 1
471
- fail ArgumentError, 'invalid value for "username", the character length must be great than or equal to 1.'
478
+ # @param [Object] name Value to be assigned
479
+ def name=(name)
480
+ if name.nil?
481
+ fail ArgumentError, 'name cannot be nil'
472
482
  end
473
483
 
474
- @username = username
484
+ if name.to_s.length < 1
485
+ fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
486
+ end
487
+
488
+ @name = name
475
489
  end
476
490
 
477
491
  # Custom attribute writer method with validation
478
- # @param [Object] client_cert Value to be assigned
479
- def client_cert=(client_cert)
480
- if !client_cert.nil? && client_cert.to_s.length < 1
481
- fail ArgumentError, 'invalid value for "client_cert", the character length must be great than or equal to 1.'
492
+ # @param [Object] proxy_password Value to be assigned
493
+ def proxy_password=(proxy_password)
494
+ if !proxy_password.nil? && proxy_password.to_s.length < 1
495
+ fail ArgumentError, 'invalid value for "proxy_password", the character length must be great than or equal to 1.'
482
496
  end
483
497
 
484
- @client_cert = client_cert
498
+ @proxy_password = proxy_password
485
499
  end
486
500
 
487
501
  # Custom attribute writer method with validation
@@ -495,47 +509,33 @@ module PulpAnsibleClient
495
509
  end
496
510
 
497
511
  # Custom attribute writer method with validation
498
- # @param [Object] client_key Value to be assigned
499
- def client_key=(client_key)
500
- if !client_key.nil? && client_key.to_s.length < 1
501
- fail ArgumentError, 'invalid value for "client_key", the character length must be great than or equal to 1.'
502
- end
503
-
504
- @client_key = client_key
505
- end
506
-
507
- # Custom attribute writer method with validation
508
- # @param [Object] name Value to be assigned
509
- def name=(name)
510
- if name.nil?
511
- fail ArgumentError, 'name cannot be nil'
512
- end
513
-
514
- if name.to_s.length < 1
515
- fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
512
+ # @param [Object] username Value to be assigned
513
+ def username=(username)
514
+ if !username.nil? && username.to_s.length < 1
515
+ fail ArgumentError, 'invalid value for "username", the character length must be great than or equal to 1.'
516
516
  end
517
517
 
518
- @name = name
518
+ @username = username
519
519
  end
520
520
 
521
521
  # Custom attribute writer method with validation
522
- # @param [Object] ca_cert Value to be assigned
523
- def ca_cert=(ca_cert)
524
- if !ca_cert.nil? && ca_cert.to_s.length < 1
525
- fail ArgumentError, 'invalid value for "ca_cert", the character length must be great than or equal to 1.'
522
+ # @param [Object] proxy_url Value to be assigned
523
+ def proxy_url=(proxy_url)
524
+ if !proxy_url.nil? && proxy_url.to_s.length < 1
525
+ fail ArgumentError, 'invalid value for "proxy_url", the character length must be great than or equal to 1.'
526
526
  end
527
527
 
528
- @ca_cert = ca_cert
528
+ @proxy_url = proxy_url
529
529
  end
530
530
 
531
531
  # Custom attribute writer method with validation
532
- # @param [Object] proxy_username Value to be assigned
533
- def proxy_username=(proxy_username)
534
- if !proxy_username.nil? && proxy_username.to_s.length < 1
535
- fail ArgumentError, 'invalid value for "proxy_username", the character length must be great than or equal to 1.'
532
+ # @param [Object] download_concurrency Value to be assigned
533
+ def download_concurrency=(download_concurrency)
534
+ if !download_concurrency.nil? && download_concurrency < 1
535
+ fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
536
536
  end
537
537
 
538
- @proxy_username = proxy_username
538
+ @download_concurrency = download_concurrency
539
539
  end
540
540
 
541
541
  # Custom attribute writer method with validation
@@ -557,26 +557,26 @@ module PulpAnsibleClient
557
557
  def ==(o)
558
558
  return true if self.equal?(o)
559
559
  self.class == o.class &&
560
- password == o.password &&
561
- max_retries == o.max_retries &&
560
+ total_timeout == o.total_timeout &&
562
561
  connect_timeout == o.connect_timeout &&
563
- rate_limit == o.rate_limit &&
564
- tls_validation == o.tls_validation &&
565
- download_concurrency == o.download_concurrency &&
566
562
  headers == o.headers &&
567
- url == o.url &&
568
- proxy_url == o.proxy_url &&
569
- pulp_labels == o.pulp_labels &&
570
- total_timeout == o.total_timeout &&
563
+ tls_validation == o.tls_validation &&
564
+ max_retries == o.max_retries &&
565
+ password == o.password &&
566
+ client_key == o.client_key &&
571
567
  sock_read_timeout == o.sock_read_timeout &&
572
- proxy_password == o.proxy_password &&
573
- username == o.username &&
574
568
  client_cert == o.client_cert &&
575
- sock_connect_timeout == o.sock_connect_timeout &&
576
- client_key == o.client_key &&
577
- name == o.name &&
578
- ca_cert == o.ca_cert &&
579
569
  proxy_username == o.proxy_username &&
570
+ ca_cert == o.ca_cert &&
571
+ url == o.url &&
572
+ name == o.name &&
573
+ rate_limit == o.rate_limit &&
574
+ proxy_password == o.proxy_password &&
575
+ sock_connect_timeout == o.sock_connect_timeout &&
576
+ username == o.username &&
577
+ pulp_labels == o.pulp_labels &&
578
+ proxy_url == o.proxy_url &&
579
+ download_concurrency == o.download_concurrency &&
580
580
  metadata_only == o.metadata_only &&
581
581
  git_ref == o.git_ref
582
582
  end
@@ -590,7 +590,7 @@ module PulpAnsibleClient
590
590
  # Calculates hash code according to all attributes.
591
591
  # @return [Integer] Hash code
592
592
  def hash
593
- [password, max_retries, connect_timeout, rate_limit, tls_validation, download_concurrency, headers, url, proxy_url, pulp_labels, total_timeout, sock_read_timeout, proxy_password, username, client_cert, sock_connect_timeout, client_key, name, ca_cert, proxy_username, metadata_only, git_ref].hash
593
+ [total_timeout, connect_timeout, headers, tls_validation, max_retries, password, client_key, sock_read_timeout, client_cert, proxy_username, ca_cert, url, name, rate_limit, proxy_password, sock_connect_timeout, username, pulp_labels, proxy_url, download_concurrency, metadata_only, git_ref].hash
594
594
  end
595
595
 
596
596
  # Builds the object from hash