pulp_ansible_client 0.15.4 → 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 +9 -7
  10. data/docs/AnsibleCollectionVersionResponse.md +23 -23
  11. data/docs/AnsibleCollectionsApi.md +6 -10
  12. data/docs/AnsibleGitRemote.md +27 -27
  13. data/docs/AnsibleGitRemoteResponse.md +21 -23
  14. data/docs/AnsibleRoleRemote.md +2 -2
  15. data/docs/AnsibleRoleRemoteResponse.md +3 -5
  16. data/docs/AnsibleRoleResponse.md +4 -4
  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 +21 -23
  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 +27 -27
  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 +42 -57
  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 +68 -85
  130. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +50 -158
  131. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +227 -229
  132. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +136 -150
  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 +15 -15
  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 +222 -224
  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 +9 -10
  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 +8 -8
  201. data/spec/models/ansible_collection_version_spec.rb +9 -3
  202. data/spec/models/ansible_git_remote_response_spec.rb +16 -22
  203. data/spec/models/ansible_git_remote_spec.rb +18 -18
  204. data/spec/models/ansible_role_remote_response_spec.rb +0 -6
  205. data/spec/models/ansible_role_response_spec.rb +2 -2
  206. data/spec/models/patchedansible_git_remote_spec.rb +18 -18
  207. metadata +100 -104
  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
@@ -18,62 +18,62 @@ module PulpAnsibleClient
18
18
  # The proxy URL. Format: scheme://host:port
19
19
  attr_accessor :proxy_url
20
20
 
21
- # 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.
22
- attr_accessor :sock_read_timeout
23
-
24
21
  # A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
25
22
  attr_accessor :ca_cert
26
23
 
27
- # A PEM encoded client certificate used for authentication.
28
- 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
29
26
 
30
- # aiohttp.ClientTimeout.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 :connect_timeout
27
+ # 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.
28
+ attr_accessor :sock_connect_timeout
32
29
 
33
- # The username to authenticte to the proxy.
34
- attr_accessor :proxy_username
30
+ # Limits requests per second for each concurrent downloader
31
+ attr_accessor :rate_limit
32
+
33
+ # The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed.
34
+ attr_accessor :proxy_password
35
35
 
36
36
  # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
37
37
  attr_accessor :max_retries
38
38
 
39
- # A PEM encoded private key used for authentication.
40
- attr_accessor :client_key
41
-
42
- # The username to be used for authentication when syncing.
43
- attr_accessor :username
39
+ # A PEM encoded client certificate used for authentication.
40
+ attr_accessor :client_cert
44
41
 
45
- # aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
46
- attr_accessor :total_timeout
42
+ # A unique name for this remote.
43
+ attr_accessor :name
47
44
 
48
45
  # The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed.
49
46
  attr_accessor :password
50
47
 
51
- # Limits requests per second for each concurrent downloader
52
- attr_accessor :rate_limit
53
-
54
- # 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.
55
- attr_accessor :sock_connect_timeout
56
-
57
- # The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed.
58
- attr_accessor :proxy_password
59
-
60
48
  # Headers for aiohttp.Clientsession
61
49
  attr_accessor :headers
62
50
 
63
- # The URL of an external content source.
64
- attr_accessor :url
65
-
66
- # Total number of simultaneous connections. If not set then the default value will be used.
67
- attr_accessor :download_concurrency
68
-
69
51
  # If True, TLS peer validation must be performed.
70
52
  attr_accessor :tls_validation
71
53
 
72
- # A unique name for this remote.
73
- attr_accessor :name
54
+ # The username to be used for authentication when syncing.
55
+ attr_accessor :username
56
+
57
+ # A PEM encoded private key used for authentication.
58
+ attr_accessor :client_key
59
+
60
+ # aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
61
+ attr_accessor :connect_timeout
62
+
63
+ # 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.
64
+ attr_accessor :sock_read_timeout
74
65
 
75
66
  attr_accessor :pulp_labels
76
67
 
68
+ # aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
69
+ attr_accessor :total_timeout
70
+
71
+ # The URL of an external content source.
72
+ attr_accessor :url
73
+
74
+ # The username to authenticte to the proxy.
75
+ attr_accessor :proxy_username
76
+
77
77
  # If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL.
78
78
  attr_accessor :metadata_only
79
79
 
@@ -84,25 +84,25 @@ module PulpAnsibleClient
84
84
  def self.attribute_map
85
85
  {
86
86
  :'proxy_url' => :'proxy_url',
87
- :'sock_read_timeout' => :'sock_read_timeout',
88
87
  :'ca_cert' => :'ca_cert',
89
- :'client_cert' => :'client_cert',
90
- :'connect_timeout' => :'connect_timeout',
91
- :'proxy_username' => :'proxy_username',
92
- :'max_retries' => :'max_retries',
93
- :'client_key' => :'client_key',
94
- :'username' => :'username',
95
- :'total_timeout' => :'total_timeout',
96
- :'password' => :'password',
97
- :'rate_limit' => :'rate_limit',
88
+ :'download_concurrency' => :'download_concurrency',
98
89
  :'sock_connect_timeout' => :'sock_connect_timeout',
90
+ :'rate_limit' => :'rate_limit',
99
91
  :'proxy_password' => :'proxy_password',
92
+ :'max_retries' => :'max_retries',
93
+ :'client_cert' => :'client_cert',
94
+ :'name' => :'name',
95
+ :'password' => :'password',
100
96
  :'headers' => :'headers',
101
- :'url' => :'url',
102
- :'download_concurrency' => :'download_concurrency',
103
97
  :'tls_validation' => :'tls_validation',
104
- :'name' => :'name',
98
+ :'username' => :'username',
99
+ :'client_key' => :'client_key',
100
+ :'connect_timeout' => :'connect_timeout',
101
+ :'sock_read_timeout' => :'sock_read_timeout',
105
102
  :'pulp_labels' => :'pulp_labels',
103
+ :'total_timeout' => :'total_timeout',
104
+ :'url' => :'url',
105
+ :'proxy_username' => :'proxy_username',
106
106
  :'metadata_only' => :'metadata_only',
107
107
  :'git_ref' => :'git_ref'
108
108
  }
@@ -112,25 +112,25 @@ module PulpAnsibleClient
112
112
  def self.openapi_types
113
113
  {
114
114
  :'proxy_url' => :'String',
115
- :'sock_read_timeout' => :'Float',
116
115
  :'ca_cert' => :'String',
117
- :'client_cert' => :'String',
118
- :'connect_timeout' => :'Float',
119
- :'proxy_username' => :'String',
120
- :'max_retries' => :'Integer',
121
- :'client_key' => :'String',
122
- :'username' => :'String',
123
- :'total_timeout' => :'Float',
124
- :'password' => :'String',
125
- :'rate_limit' => :'Integer',
116
+ :'download_concurrency' => :'Integer',
126
117
  :'sock_connect_timeout' => :'Float',
118
+ :'rate_limit' => :'Integer',
127
119
  :'proxy_password' => :'String',
120
+ :'max_retries' => :'Integer',
121
+ :'client_cert' => :'String',
122
+ :'name' => :'String',
123
+ :'password' => :'String',
128
124
  :'headers' => :'Array<Object>',
129
- :'url' => :'String',
130
- :'download_concurrency' => :'Integer',
131
125
  :'tls_validation' => :'Boolean',
132
- :'name' => :'String',
133
- :'pulp_labels' => :'Hash<String, String>',
126
+ :'username' => :'String',
127
+ :'client_key' => :'String',
128
+ :'connect_timeout' => :'Float',
129
+ :'sock_read_timeout' => :'Float',
130
+ :'pulp_labels' => :'Object',
131
+ :'total_timeout' => :'Float',
132
+ :'url' => :'String',
133
+ :'proxy_username' => :'String',
134
134
  :'metadata_only' => :'Boolean',
135
135
  :'git_ref' => :'String'
136
136
  }
@@ -140,20 +140,20 @@ module PulpAnsibleClient
140
140
  def self.openapi_nullable
141
141
  Set.new([
142
142
  :'proxy_url',
143
- :'sock_read_timeout',
144
143
  :'ca_cert',
145
- :'client_cert',
146
- :'connect_timeout',
147
- :'proxy_username',
144
+ :'download_concurrency',
145
+ :'sock_connect_timeout',
146
+ :'rate_limit',
147
+ :'proxy_password',
148
148
  :'max_retries',
149
- :'client_key',
149
+ :'client_cert',
150
+ :'password',
150
151
  :'username',
152
+ :'client_key',
153
+ :'connect_timeout',
154
+ :'sock_read_timeout',
151
155
  :'total_timeout',
152
- :'password',
153
- :'rate_limit',
154
- :'sock_connect_timeout',
155
- :'proxy_password',
156
- :'download_concurrency',
156
+ :'proxy_username',
157
157
  ])
158
158
  end
159
159
 
@@ -176,84 +176,82 @@ module PulpAnsibleClient
176
176
  self.proxy_url = attributes[:'proxy_url']
177
177
  end
178
178
 
179
- if attributes.key?(:'sock_read_timeout')
180
- self.sock_read_timeout = attributes[:'sock_read_timeout']
181
- end
182
-
183
179
  if attributes.key?(:'ca_cert')
184
180
  self.ca_cert = attributes[:'ca_cert']
185
181
  end
186
182
 
187
- if attributes.key?(:'client_cert')
188
- self.client_cert = attributes[:'client_cert']
183
+ if attributes.key?(:'download_concurrency')
184
+ self.download_concurrency = attributes[:'download_concurrency']
189
185
  end
190
186
 
191
- if attributes.key?(:'connect_timeout')
192
- self.connect_timeout = attributes[:'connect_timeout']
187
+ if attributes.key?(:'sock_connect_timeout')
188
+ self.sock_connect_timeout = attributes[:'sock_connect_timeout']
193
189
  end
194
190
 
195
- if attributes.key?(:'proxy_username')
196
- self.proxy_username = attributes[:'proxy_username']
191
+ if attributes.key?(:'rate_limit')
192
+ self.rate_limit = attributes[:'rate_limit']
197
193
  end
198
194
 
199
- if attributes.key?(:'max_retries')
200
- self.max_retries = attributes[:'max_retries']
195
+ if attributes.key?(:'proxy_password')
196
+ self.proxy_password = attributes[:'proxy_password']
201
197
  end
202
198
 
203
- if attributes.key?(:'client_key')
204
- self.client_key = attributes[:'client_key']
199
+ if attributes.key?(:'max_retries')
200
+ self.max_retries = attributes[:'max_retries']
205
201
  end
206
202
 
207
- if attributes.key?(:'username')
208
- self.username = attributes[:'username']
203
+ if attributes.key?(:'client_cert')
204
+ self.client_cert = attributes[:'client_cert']
209
205
  end
210
206
 
211
- if attributes.key?(:'total_timeout')
212
- self.total_timeout = attributes[:'total_timeout']
207
+ if attributes.key?(:'name')
208
+ self.name = attributes[:'name']
213
209
  end
214
210
 
215
211
  if attributes.key?(:'password')
216
212
  self.password = attributes[:'password']
217
213
  end
218
214
 
219
- if attributes.key?(:'rate_limit')
220
- self.rate_limit = attributes[:'rate_limit']
215
+ if attributes.key?(:'headers')
216
+ if (value = attributes[:'headers']).is_a?(Array)
217
+ self.headers = value
218
+ end
221
219
  end
222
220
 
223
- if attributes.key?(:'sock_connect_timeout')
224
- self.sock_connect_timeout = attributes[:'sock_connect_timeout']
221
+ if attributes.key?(:'tls_validation')
222
+ self.tls_validation = attributes[:'tls_validation']
225
223
  end
226
224
 
227
- if attributes.key?(:'proxy_password')
228
- self.proxy_password = attributes[:'proxy_password']
225
+ if attributes.key?(:'username')
226
+ self.username = attributes[:'username']
229
227
  end
230
228
 
231
- if attributes.key?(:'headers')
232
- if (value = attributes[:'headers']).is_a?(Array)
233
- self.headers = value
234
- end
229
+ if attributes.key?(:'client_key')
230
+ self.client_key = attributes[:'client_key']
235
231
  end
236
232
 
237
- if attributes.key?(:'url')
238
- self.url = attributes[:'url']
233
+ if attributes.key?(:'connect_timeout')
234
+ self.connect_timeout = attributes[:'connect_timeout']
239
235
  end
240
236
 
241
- if attributes.key?(:'download_concurrency')
242
- self.download_concurrency = attributes[:'download_concurrency']
237
+ if attributes.key?(:'sock_read_timeout')
238
+ self.sock_read_timeout = attributes[:'sock_read_timeout']
243
239
  end
244
240
 
245
- if attributes.key?(:'tls_validation')
246
- self.tls_validation = attributes[:'tls_validation']
241
+ if attributes.key?(:'pulp_labels')
242
+ self.pulp_labels = attributes[:'pulp_labels']
247
243
  end
248
244
 
249
- if attributes.key?(:'name')
250
- self.name = attributes[:'name']
245
+ if attributes.key?(:'total_timeout')
246
+ self.total_timeout = attributes[:'total_timeout']
251
247
  end
252
248
 
253
- if attributes.key?(:'pulp_labels')
254
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
255
- self.pulp_labels = value
256
- end
249
+ if attributes.key?(:'url')
250
+ self.url = attributes[:'url']
251
+ end
252
+
253
+ if attributes.key?(:'proxy_username')
254
+ self.proxy_username = attributes[:'proxy_username']
257
255
  end
258
256
 
259
257
  if attributes.key?(:'metadata_only')
@@ -273,60 +271,60 @@ module PulpAnsibleClient
273
271
  invalid_properties.push('invalid value for "proxy_url", the character length must be great than or equal to 1.')
274
272
  end
275
273
 
276
- if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
277
- invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
278
- end
279
-
280
274
  if !@ca_cert.nil? && @ca_cert.to_s.length < 1
281
275
  invalid_properties.push('invalid value for "ca_cert", the character length must be great than or equal to 1.')
282
276
  end
283
277
 
284
- if !@client_cert.nil? && @client_cert.to_s.length < 1
285
- invalid_properties.push('invalid value for "client_cert", the character length must be great than or equal to 1.')
278
+ if !@download_concurrency.nil? && @download_concurrency < 1
279
+ invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
286
280
  end
287
281
 
288
- if !@connect_timeout.nil? && @connect_timeout < 0.0
289
- invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
282
+ if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
283
+ invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
290
284
  end
291
285
 
292
- if !@proxy_username.nil? && @proxy_username.to_s.length < 1
293
- invalid_properties.push('invalid value for "proxy_username", the character length must be great than or equal to 1.')
286
+ if !@proxy_password.nil? && @proxy_password.to_s.length < 1
287
+ invalid_properties.push('invalid value for "proxy_password", the character length must be great than or equal to 1.')
294
288
  end
295
289
 
296
- if !@client_key.nil? && @client_key.to_s.length < 1
297
- invalid_properties.push('invalid value for "client_key", the character length must be great than or equal to 1.')
290
+ if !@client_cert.nil? && @client_cert.to_s.length < 1
291
+ invalid_properties.push('invalid value for "client_cert", the character length must be great than or equal to 1.')
292
+ end
293
+
294
+ if !@name.nil? && @name.to_s.length < 1
295
+ invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
296
+ end
297
+
298
+ if !@password.nil? && @password.to_s.length < 1
299
+ invalid_properties.push('invalid value for "password", the character length must be great than or equal to 1.')
298
300
  end
299
301
 
300
302
  if !@username.nil? && @username.to_s.length < 1
301
303
  invalid_properties.push('invalid value for "username", the character length must be great than or equal to 1.')
302
304
  end
303
305
 
304
- if !@total_timeout.nil? && @total_timeout < 0.0
305
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
306
+ if !@client_key.nil? && @client_key.to_s.length < 1
307
+ invalid_properties.push('invalid value for "client_key", the character length must be great than or equal to 1.')
306
308
  end
307
309
 
308
- if !@password.nil? && @password.to_s.length < 1
309
- invalid_properties.push('invalid value for "password", the character length must be great than or equal to 1.')
310
+ if !@connect_timeout.nil? && @connect_timeout < 0.0
311
+ invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
310
312
  end
311
313
 
312
- if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
313
- invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
314
+ if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
315
+ invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
314
316
  end
315
317
 
316
- if !@proxy_password.nil? && @proxy_password.to_s.length < 1
317
- invalid_properties.push('invalid value for "proxy_password", the character length must be great than or equal to 1.')
318
+ if !@total_timeout.nil? && @total_timeout < 0.0
319
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
318
320
  end
319
321
 
320
322
  if !@url.nil? && @url.to_s.length < 1
321
323
  invalid_properties.push('invalid value for "url", the character length must be great than or equal to 1.')
322
324
  end
323
325
 
324
- if !@download_concurrency.nil? && @download_concurrency < 1
325
- invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
326
- end
327
-
328
- if !@name.nil? && @name.to_s.length < 1
329
- invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
326
+ if !@proxy_username.nil? && @proxy_username.to_s.length < 1
327
+ invalid_properties.push('invalid value for "proxy_username", the character length must be great than or equal to 1.')
330
328
  end
331
329
 
332
330
  if !@git_ref.nil? && @git_ref.to_s.length < 1
@@ -340,20 +338,20 @@ module PulpAnsibleClient
340
338
  # @return true if the model is valid
341
339
  def valid?
342
340
  return false if !@proxy_url.nil? && @proxy_url.to_s.length < 1
343
- return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
344
341
  return false if !@ca_cert.nil? && @ca_cert.to_s.length < 1
342
+ return false if !@download_concurrency.nil? && @download_concurrency < 1
343
+ return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
344
+ return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
345
345
  return false if !@client_cert.nil? && @client_cert.to_s.length < 1
346
- return false if !@connect_timeout.nil? && @connect_timeout < 0.0
347
- return false if !@proxy_username.nil? && @proxy_username.to_s.length < 1
348
- return false if !@client_key.nil? && @client_key.to_s.length < 1
346
+ return false if !@name.nil? && @name.to_s.length < 1
347
+ return false if !@password.nil? && @password.to_s.length < 1
349
348
  return false if !@username.nil? && @username.to_s.length < 1
349
+ return false if !@client_key.nil? && @client_key.to_s.length < 1
350
+ return false if !@connect_timeout.nil? && @connect_timeout < 0.0
351
+ return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
350
352
  return false if !@total_timeout.nil? && @total_timeout < 0.0
351
- return false if !@password.nil? && @password.to_s.length < 1
352
- return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
353
- return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
354
353
  return false if !@url.nil? && @url.to_s.length < 1
355
- return false if !@download_concurrency.nil? && @download_concurrency < 1
356
- return false if !@name.nil? && @name.to_s.length < 1
354
+ return false if !@proxy_username.nil? && @proxy_username.to_s.length < 1
357
355
  return false if !@git_ref.nil? && @git_ref.to_s.length < 1
358
356
  true
359
357
  end
@@ -368,16 +366,6 @@ module PulpAnsibleClient
368
366
  @proxy_url = proxy_url
369
367
  end
370
368
 
371
- # Custom attribute writer method with validation
372
- # @param [Object] sock_read_timeout Value to be assigned
373
- def sock_read_timeout=(sock_read_timeout)
374
- if !sock_read_timeout.nil? && sock_read_timeout < 0.0
375
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
376
- end
377
-
378
- @sock_read_timeout = sock_read_timeout
379
- end
380
-
381
369
  # Custom attribute writer method with validation
382
370
  # @param [Object] ca_cert Value to be assigned
383
371
  def ca_cert=(ca_cert)
@@ -389,43 +377,63 @@ module PulpAnsibleClient
389
377
  end
390
378
 
391
379
  # Custom attribute writer method with validation
392
- # @param [Object] client_cert Value to be assigned
393
- def client_cert=(client_cert)
394
- if !client_cert.nil? && client_cert.to_s.length < 1
395
- fail ArgumentError, 'invalid value for "client_cert", the character length must be great than or equal to 1.'
380
+ # @param [Object] download_concurrency Value to be assigned
381
+ def download_concurrency=(download_concurrency)
382
+ if !download_concurrency.nil? && download_concurrency < 1
383
+ fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
396
384
  end
397
385
 
398
- @client_cert = client_cert
386
+ @download_concurrency = download_concurrency
399
387
  end
400
388
 
401
389
  # Custom attribute writer method with validation
402
- # @param [Object] connect_timeout Value to be assigned
403
- def connect_timeout=(connect_timeout)
404
- if !connect_timeout.nil? && connect_timeout < 0.0
405
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
390
+ # @param [Object] sock_connect_timeout Value to be assigned
391
+ def sock_connect_timeout=(sock_connect_timeout)
392
+ if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
393
+ fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
406
394
  end
407
395
 
408
- @connect_timeout = connect_timeout
396
+ @sock_connect_timeout = sock_connect_timeout
409
397
  end
410
398
 
411
399
  # Custom attribute writer method with validation
412
- # @param [Object] proxy_username Value to be assigned
413
- def proxy_username=(proxy_username)
414
- if !proxy_username.nil? && proxy_username.to_s.length < 1
415
- fail ArgumentError, 'invalid value for "proxy_username", the character length must be great than or equal to 1.'
400
+ # @param [Object] proxy_password Value to be assigned
401
+ def proxy_password=(proxy_password)
402
+ if !proxy_password.nil? && proxy_password.to_s.length < 1
403
+ fail ArgumentError, 'invalid value for "proxy_password", the character length must be great than or equal to 1.'
416
404
  end
417
405
 
418
- @proxy_username = proxy_username
406
+ @proxy_password = proxy_password
419
407
  end
420
408
 
421
409
  # Custom attribute writer method with validation
422
- # @param [Object] client_key Value to be assigned
423
- def client_key=(client_key)
424
- if !client_key.nil? && client_key.to_s.length < 1
425
- fail ArgumentError, 'invalid value for "client_key", the character length must be great than or equal to 1.'
410
+ # @param [Object] client_cert Value to be assigned
411
+ def client_cert=(client_cert)
412
+ if !client_cert.nil? && client_cert.to_s.length < 1
413
+ fail ArgumentError, 'invalid value for "client_cert", the character length must be great than or equal to 1.'
426
414
  end
427
415
 
428
- @client_key = client_key
416
+ @client_cert = client_cert
417
+ end
418
+
419
+ # Custom attribute writer method with validation
420
+ # @param [Object] name Value to be assigned
421
+ def name=(name)
422
+ if !name.nil? && name.to_s.length < 1
423
+ fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
424
+ end
425
+
426
+ @name = name
427
+ end
428
+
429
+ # Custom attribute writer method with validation
430
+ # @param [Object] password Value to be assigned
431
+ def password=(password)
432
+ if !password.nil? && password.to_s.length < 1
433
+ fail ArgumentError, 'invalid value for "password", the character length must be great than or equal to 1.'
434
+ end
435
+
436
+ @password = password
429
437
  end
430
438
 
431
439
  # Custom attribute writer method with validation
@@ -439,43 +447,43 @@ module PulpAnsibleClient
439
447
  end
440
448
 
441
449
  # Custom attribute writer method with validation
442
- # @param [Object] total_timeout Value to be assigned
443
- def total_timeout=(total_timeout)
444
- if !total_timeout.nil? && total_timeout < 0.0
445
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
450
+ # @param [Object] client_key Value to be assigned
451
+ def client_key=(client_key)
452
+ if !client_key.nil? && client_key.to_s.length < 1
453
+ fail ArgumentError, 'invalid value for "client_key", the character length must be great than or equal to 1.'
446
454
  end
447
455
 
448
- @total_timeout = total_timeout
456
+ @client_key = client_key
449
457
  end
450
458
 
451
459
  # Custom attribute writer method with validation
452
- # @param [Object] password Value to be assigned
453
- def password=(password)
454
- if !password.nil? && password.to_s.length < 1
455
- fail ArgumentError, 'invalid value for "password", the character length must be great than or equal to 1.'
460
+ # @param [Object] connect_timeout Value to be assigned
461
+ def connect_timeout=(connect_timeout)
462
+ if !connect_timeout.nil? && connect_timeout < 0.0
463
+ fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
456
464
  end
457
465
 
458
- @password = password
466
+ @connect_timeout = connect_timeout
459
467
  end
460
468
 
461
469
  # Custom attribute writer method with validation
462
- # @param [Object] sock_connect_timeout Value to be assigned
463
- def sock_connect_timeout=(sock_connect_timeout)
464
- if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
465
- fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
470
+ # @param [Object] sock_read_timeout Value to be assigned
471
+ def sock_read_timeout=(sock_read_timeout)
472
+ if !sock_read_timeout.nil? && sock_read_timeout < 0.0
473
+ fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
466
474
  end
467
475
 
468
- @sock_connect_timeout = sock_connect_timeout
476
+ @sock_read_timeout = sock_read_timeout
469
477
  end
470
478
 
471
479
  # Custom attribute writer method with validation
472
- # @param [Object] proxy_password Value to be assigned
473
- def proxy_password=(proxy_password)
474
- if !proxy_password.nil? && proxy_password.to_s.length < 1
475
- fail ArgumentError, 'invalid value for "proxy_password", the character length must be great than or equal to 1.'
480
+ # @param [Object] total_timeout Value to be assigned
481
+ def total_timeout=(total_timeout)
482
+ if !total_timeout.nil? && total_timeout < 0.0
483
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
476
484
  end
477
485
 
478
- @proxy_password = proxy_password
486
+ @total_timeout = total_timeout
479
487
  end
480
488
 
481
489
  # Custom attribute writer method with validation
@@ -489,23 +497,13 @@ module PulpAnsibleClient
489
497
  end
490
498
 
491
499
  # Custom attribute writer method with validation
492
- # @param [Object] download_concurrency Value to be assigned
493
- def download_concurrency=(download_concurrency)
494
- if !download_concurrency.nil? && download_concurrency < 1
495
- fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
496
- end
497
-
498
- @download_concurrency = download_concurrency
499
- end
500
-
501
- # Custom attribute writer method with validation
502
- # @param [Object] name Value to be assigned
503
- def name=(name)
504
- if !name.nil? && name.to_s.length < 1
505
- fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
500
+ # @param [Object] proxy_username Value to be assigned
501
+ def proxy_username=(proxy_username)
502
+ if !proxy_username.nil? && proxy_username.to_s.length < 1
503
+ fail ArgumentError, 'invalid value for "proxy_username", the character length must be great than or equal to 1.'
506
504
  end
507
505
 
508
- @name = name
506
+ @proxy_username = proxy_username
509
507
  end
510
508
 
511
509
  # Custom attribute writer method with validation
@@ -524,25 +522,25 @@ module PulpAnsibleClient
524
522
  return true if self.equal?(o)
525
523
  self.class == o.class &&
526
524
  proxy_url == o.proxy_url &&
527
- sock_read_timeout == o.sock_read_timeout &&
528
525
  ca_cert == o.ca_cert &&
529
- client_cert == o.client_cert &&
530
- connect_timeout == o.connect_timeout &&
531
- proxy_username == o.proxy_username &&
532
- max_retries == o.max_retries &&
533
- client_key == o.client_key &&
534
- username == o.username &&
535
- total_timeout == o.total_timeout &&
536
- password == o.password &&
537
- rate_limit == o.rate_limit &&
526
+ download_concurrency == o.download_concurrency &&
538
527
  sock_connect_timeout == o.sock_connect_timeout &&
528
+ rate_limit == o.rate_limit &&
539
529
  proxy_password == o.proxy_password &&
530
+ max_retries == o.max_retries &&
531
+ client_cert == o.client_cert &&
532
+ name == o.name &&
533
+ password == o.password &&
540
534
  headers == o.headers &&
541
- url == o.url &&
542
- download_concurrency == o.download_concurrency &&
543
535
  tls_validation == o.tls_validation &&
544
- name == o.name &&
536
+ username == o.username &&
537
+ client_key == o.client_key &&
538
+ connect_timeout == o.connect_timeout &&
539
+ sock_read_timeout == o.sock_read_timeout &&
545
540
  pulp_labels == o.pulp_labels &&
541
+ total_timeout == o.total_timeout &&
542
+ url == o.url &&
543
+ proxy_username == o.proxy_username &&
546
544
  metadata_only == o.metadata_only &&
547
545
  git_ref == o.git_ref
548
546
  end
@@ -556,7 +554,7 @@ module PulpAnsibleClient
556
554
  # Calculates hash code according to all attributes.
557
555
  # @return [Integer] Hash code
558
556
  def hash
559
- [proxy_url, sock_read_timeout, ca_cert, client_cert, connect_timeout, proxy_username, max_retries, client_key, username, total_timeout, password, rate_limit, sock_connect_timeout, proxy_password, headers, url, download_concurrency, tls_validation, name, pulp_labels, metadata_only, git_ref].hash
557
+ [proxy_url, ca_cert, download_concurrency, sock_connect_timeout, rate_limit, proxy_password, max_retries, client_cert, name, password, headers, tls_validation, username, client_key, connect_timeout, sock_read_timeout, pulp_labels, total_timeout, url, proxy_username, metadata_only, git_ref].hash
560
558
  end
561
559
 
562
560
  # Builds the object from hash