pulp_ansible_client 0.15.5 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (210) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -10
  3. data/docs/AnsibleAnsibleDistribution.md +1 -1
  4. data/docs/AnsibleAnsibleDistributionResponse.md +1 -1
  5. data/docs/AnsibleAnsibleRepository.md +2 -2
  6. data/docs/AnsibleAnsibleRepositoryResponse.md +2 -2
  7. data/docs/AnsibleCollectionRemote.md +2 -2
  8. data/docs/AnsibleCollectionRemoteResponse.md +2 -4
  9. data/docs/AnsibleCollectionVersion.md +11 -9
  10. data/docs/AnsibleCollectionVersionResponse.md +23 -23
  11. data/docs/AnsibleCollectionsApi.md +6 -10
  12. data/docs/AnsibleGitRemote.md +30 -30
  13. data/docs/AnsibleGitRemoteResponse.md +26 -28
  14. data/docs/AnsibleRoleRemote.md +2 -2
  15. data/docs/AnsibleRoleRemoteResponse.md +3 -5
  16. data/docs/AnsibleRoleResponse.md +3 -3
  17. data/docs/ApiCollectionsApi.md +4 -4
  18. data/docs/ApiRolesApi.md +4 -4
  19. data/docs/CollectionImportApi.md +4 -4
  20. data/docs/CollectionRefResponse.md +1 -1
  21. data/docs/CollectionResponse.md +6 -6
  22. data/docs/CollectionVersionListResponse.md +1 -1
  23. data/docs/CollectionVersionResponse.md +4 -4
  24. data/docs/ContentCollectionDeprecationsApi.md +10 -14
  25. data/docs/ContentCollectionSignaturesApi.md +12 -16
  26. data/docs/ContentCollectionVersionsApi.md +22 -24
  27. data/docs/ContentRolesApi.md +10 -14
  28. data/docs/DistributionsAnsibleApi.md +14 -22
  29. data/docs/GalaxyCollectionResponse.md +4 -4
  30. data/docs/GalaxyCollectionVersionResponse.md +4 -4
  31. data/docs/GalaxyDetailApi.md +4 -4
  32. data/docs/GalaxyRoleResponse.md +1 -1
  33. data/docs/GalaxyRoleVersionResponse.md +1 -1
  34. data/docs/PatchedansibleAnsibleDistribution.md +1 -1
  35. data/docs/PatchedansibleAnsibleRepository.md +2 -2
  36. data/docs/PatchedansibleCollectionRemote.md +2 -2
  37. data/docs/PatchedansibleGitRemote.md +30 -30
  38. data/docs/PatchedansibleRoleRemote.md +2 -2
  39. data/docs/PulpAnsibleApiApi.md +4 -4
  40. data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +4 -4
  41. data/docs/PulpAnsibleApiV3Api.md +4 -4
  42. data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +4 -4
  43. data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +4 -4
  44. data/docs/PulpAnsibleApiV3CollectionsAllApi.md +6 -10
  45. data/docs/PulpAnsibleApiV3CollectionsApi.md +10 -14
  46. data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +10 -14
  47. data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +4 -4
  48. data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +4 -4
  49. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +6 -10
  50. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +4 -4
  51. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +4 -4
  52. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +4 -4
  53. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +10 -14
  54. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +10 -14
  55. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +4 -4
  56. data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +4 -4
  57. data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +6 -10
  58. data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +10 -14
  59. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +10 -14
  60. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +4 -4
  61. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +6 -10
  62. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +4 -4
  63. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +4 -4
  64. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +4 -4
  65. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +10 -14
  66. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +10 -14
  67. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +4 -4
  68. data/docs/PulpAnsibleTagsApi.md +4 -4
  69. data/docs/RemotesCollectionApi.md +14 -18
  70. data/docs/RemotesGitApi.md +14 -18
  71. data/docs/RemotesRoleApi.md +14 -18
  72. data/docs/RepositoriesAnsibleApi.md +13 -33
  73. data/docs/RepositoriesAnsibleVersionsApi.md +14 -16
  74. data/docs/RepositoryAddRemoveContent.md +2 -2
  75. data/docs/UnpaginatedCollectionVersionResponse.md +4 -4
  76. data/docs/VersionsApi.md +8 -8
  77. data/lib/pulp_ansible_client/api/ansible_collections_api.rb +9 -15
  78. data/lib/pulp_ansible_client/api/api_collections_api.rb +6 -6
  79. data/lib/pulp_ansible_client/api/api_roles_api.rb +6 -6
  80. data/lib/pulp_ansible_client/api/collection_import_api.rb +6 -6
  81. data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +14 -20
  82. data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +15 -21
  83. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +45 -60
  84. data/lib/pulp_ansible_client/api/content_roles_api.rb +15 -21
  85. data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +19 -31
  86. data/lib/pulp_ansible_client/api/galaxy_detail_api.rb +6 -6
  87. data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +6 -6
  88. data/lib/pulp_ansible_client/api/pulp_ansible_api_v2_collections_versions_api.rb +6 -6
  89. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_api.rb +6 -6
  90. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_artifacts_collections_api.rb +6 -6
  91. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collection_versions_all_api.rb +6 -6
  92. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +9 -15
  93. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +15 -21
  94. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +15 -21
  95. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_docs_blob_api.rb +6 -6
  96. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.rb +6 -6
  97. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +9 -15
  98. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api.rb +6 -6
  99. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api.rb +6 -6
  100. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api.rb +6 -6
  101. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +15 -21
  102. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +15 -21
  103. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +6 -6
  104. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_artifacts_collections_api.rb +6 -6
  105. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +9 -15
  106. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +15 -21
  107. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +15 -21
  108. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api.rb +6 -6
  109. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +9 -15
  110. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api.rb +6 -6
  111. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api.rb +6 -6
  112. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api.rb +6 -6
  113. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +15 -21
  114. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +15 -21
  115. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +6 -6
  116. data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +6 -6
  117. data/lib/pulp_ansible_client/api/remotes_collection_api.rb +19 -25
  118. data/lib/pulp_ansible_client/api/remotes_git_api.rb +19 -25
  119. data/lib/pulp_ansible_client/api/remotes_role_api.rb +19 -25
  120. data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +17 -47
  121. data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +19 -22
  122. data/lib/pulp_ansible_client/api/versions_api.rb +12 -12
  123. data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +2 -4
  124. data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +2 -4
  125. data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +3 -5
  126. data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +3 -5
  127. data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +3 -5
  128. data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +4 -18
  129. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +78 -95
  130. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +53 -161
  131. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +249 -251
  132. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +141 -155
  133. data/lib/pulp_ansible_client/models/ansible_role_remote.rb +3 -5
  134. data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +8 -22
  135. data/lib/pulp_ansible_client/models/ansible_role_response.rb +11 -11
  136. data/lib/pulp_ansible_client/models/collection_ref_response.rb +0 -1
  137. data/lib/pulp_ansible_client/models/collection_response.rb +0 -6
  138. data/lib/pulp_ansible_client/models/collection_version_list_response.rb +0 -1
  139. data/lib/pulp_ansible_client/models/collection_version_response.rb +0 -4
  140. data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +0 -4
  141. data/lib/pulp_ansible_client/models/galaxy_collection_version_response.rb +0 -4
  142. data/lib/pulp_ansible_client/models/galaxy_role_response.rb +0 -1
  143. data/lib/pulp_ansible_client/models/galaxy_role_version_response.rb +0 -1
  144. data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +2 -4
  145. data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +3 -5
  146. data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +3 -5
  147. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +249 -251
  148. data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +3 -5
  149. data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +2 -2
  150. data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +0 -4
  151. data/lib/pulp_ansible_client/version.rb +1 -1
  152. data/lib/pulp_ansible_client.rb +0 -1
  153. data/spec/api/ansible_collections_api_spec.rb +3 -5
  154. data/spec/api/api_collections_api_spec.rb +2 -2
  155. data/spec/api/api_roles_api_spec.rb +2 -2
  156. data/spec/api/collection_import_api_spec.rb +2 -2
  157. data/spec/api/content_collection_deprecations_api_spec.rb +5 -7
  158. data/spec/api/content_collection_signatures_api_spec.rb +5 -7
  159. data/spec/api/content_collection_versions_api_spec.rb +10 -11
  160. data/spec/api/content_roles_api_spec.rb +5 -7
  161. data/spec/api/distributions_ansible_api_spec.rb +7 -11
  162. data/spec/api/galaxy_detail_api_spec.rb +2 -2
  163. data/spec/api/pulp_ansible_api_api_spec.rb +2 -2
  164. data/spec/api/pulp_ansible_api_v2_collections_versions_api_spec.rb +2 -2
  165. data/spec/api/pulp_ansible_api_v3_api_spec.rb +2 -2
  166. data/spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb +2 -2
  167. data/spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb +2 -2
  168. data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +3 -5
  169. data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +5 -7
  170. data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +5 -7
  171. data/spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb +2 -2
  172. data/spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb +2 -2
  173. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +3 -5
  174. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +2 -2
  175. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb +2 -2
  176. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +2 -2
  177. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +5 -7
  178. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +5 -7
  179. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +2 -2
  180. data/spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb +2 -2
  181. data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +3 -5
  182. data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +5 -7
  183. data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +5 -7
  184. data/spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb +2 -2
  185. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +3 -5
  186. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +2 -2
  187. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb +2 -2
  188. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +2 -2
  189. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +5 -7
  190. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +5 -7
  191. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +2 -2
  192. data/spec/api/pulp_ansible_tags_api_spec.rb +2 -2
  193. data/spec/api/remotes_collection_api_spec.rb +7 -9
  194. data/spec/api/remotes_git_api_spec.rb +7 -9
  195. data/spec/api/remotes_role_api_spec.rb +7 -9
  196. data/spec/api/repositories_ansible_api_spec.rb +6 -16
  197. data/spec/api/repositories_ansible_versions_api_spec.rb +7 -8
  198. data/spec/api/versions_api_spec.rb +4 -4
  199. data/spec/models/ansible_collection_remote_response_spec.rb +0 -6
  200. data/spec/models/ansible_collection_version_response_spec.rb +7 -7
  201. data/spec/models/ansible_collection_version_spec.rb +12 -6
  202. data/spec/models/ansible_git_remote_response_spec.rb +16 -22
  203. data/spec/models/ansible_git_remote_spec.rb +19 -19
  204. data/spec/models/ansible_role_remote_response_spec.rb +0 -6
  205. data/spec/models/ansible_role_response_spec.rb +3 -3
  206. data/spec/models/patchedansible_git_remote_spec.rb +19 -19
  207. metadata +102 -106
  208. data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +0 -19
  209. data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +0 -215
  210. data/spec/models/ansible_collection_remote_response_hidden_fields_spec.rb +0 -47
@@ -15,64 +15,64 @@ require 'date'
15
15
  module PulpAnsibleClient
16
16
  # A serializer for Git Collection Remotes.
17
17
  class AnsibleGitRemote
18
- # A unique name for this remote.
19
- attr_accessor :name
18
+ # The proxy URL. Format: scheme://host:port
19
+ attr_accessor :proxy_url
20
20
 
21
- # aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
22
- attr_accessor :connect_timeout
21
+ # A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
22
+ attr_accessor :ca_cert
23
+
24
+ # Total number of simultaneous connections. If not set then the default value will be used.
25
+ attr_accessor :download_concurrency
26
+
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
29
+
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
+
36
+ # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
37
+ attr_accessor :max_retries
23
38
 
24
39
  # A PEM encoded client certificate used for authentication.
25
40
  attr_accessor :client_cert
26
41
 
27
- # The username to authenticte to the proxy.
28
- attr_accessor :proxy_username
29
-
30
- # Total number of simultaneous connections. If not set then the default value will be used.
31
- attr_accessor :download_concurrency
42
+ # A unique name for this remote.
43
+ attr_accessor :name
32
44
 
33
45
  # The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed.
34
46
  attr_accessor :password
35
47
 
36
- # aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
37
- attr_accessor :total_timeout
48
+ # Headers for aiohttp.Clientsession
49
+ attr_accessor :headers
38
50
 
39
51
  # If True, TLS peer validation must be performed.
40
52
  attr_accessor :tls_validation
41
53
 
42
- # A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
43
- attr_accessor :ca_cert
54
+ # The username to be used for authentication when syncing.
55
+ attr_accessor :username
44
56
 
45
57
  # A PEM encoded private key used for authentication.
46
58
  attr_accessor :client_key
47
59
 
48
- # The proxy URL. Format: scheme://host:port
49
- attr_accessor :proxy_url
50
-
51
- # The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed.
52
- attr_accessor :proxy_password
53
-
54
- # The URL of an external content source.
55
- attr_accessor :url
56
-
57
- # 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.
58
- attr_accessor :sock_connect_timeout
59
-
60
- # The username to be used for authentication when syncing.
61
- attr_accessor :username
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
62
 
63
- # Headers for aiohttp.Clientsession
64
- attr_accessor :headers
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
65
65
 
66
66
  attr_accessor :pulp_labels
67
67
 
68
- # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
69
- attr_accessor :max_retries
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
70
 
71
- # Limits requests per second for each concurrent downloader
72
- attr_accessor :rate_limit
71
+ # The URL of an external content source.
72
+ attr_accessor :url
73
73
 
74
- # 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.
75
- attr_accessor :sock_read_timeout
74
+ # The username to authenticte to the proxy.
75
+ attr_accessor :proxy_username
76
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
@@ -83,26 +83,26 @@ module PulpAnsibleClient
83
83
  # Attribute mapping from ruby-style variable name to JSON key.
84
84
  def self.attribute_map
85
85
  {
86
- :'name' => :'name',
87
- :'connect_timeout' => :'connect_timeout',
88
- :'client_cert' => :'client_cert',
89
- :'proxy_username' => :'proxy_username',
86
+ :'proxy_url' => :'proxy_url',
87
+ :'ca_cert' => :'ca_cert',
90
88
  :'download_concurrency' => :'download_concurrency',
89
+ :'sock_connect_timeout' => :'sock_connect_timeout',
90
+ :'rate_limit' => :'rate_limit',
91
+ :'proxy_password' => :'proxy_password',
92
+ :'max_retries' => :'max_retries',
93
+ :'client_cert' => :'client_cert',
94
+ :'name' => :'name',
91
95
  :'password' => :'password',
92
- :'total_timeout' => :'total_timeout',
96
+ :'headers' => :'headers',
93
97
  :'tls_validation' => :'tls_validation',
94
- :'ca_cert' => :'ca_cert',
95
- :'client_key' => :'client_key',
96
- :'proxy_url' => :'proxy_url',
97
- :'proxy_password' => :'proxy_password',
98
- :'url' => :'url',
99
- :'sock_connect_timeout' => :'sock_connect_timeout',
100
98
  :'username' => :'username',
101
- :'headers' => :'headers',
102
- :'pulp_labels' => :'pulp_labels',
103
- :'max_retries' => :'max_retries',
104
- :'rate_limit' => :'rate_limit',
99
+ :'client_key' => :'client_key',
100
+ :'connect_timeout' => :'connect_timeout',
105
101
  :'sock_read_timeout' => :'sock_read_timeout',
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
  }
@@ -111,26 +111,26 @@ module PulpAnsibleClient
111
111
  # Attribute type mapping.
112
112
  def self.openapi_types
113
113
  {
114
- :'name' => :'String',
115
- :'connect_timeout' => :'Float',
116
- :'client_cert' => :'String',
117
- :'proxy_username' => :'String',
114
+ :'proxy_url' => :'String',
115
+ :'ca_cert' => :'String',
118
116
  :'download_concurrency' => :'Integer',
117
+ :'sock_connect_timeout' => :'Float',
118
+ :'rate_limit' => :'Integer',
119
+ :'proxy_password' => :'String',
120
+ :'max_retries' => :'Integer',
121
+ :'client_cert' => :'String',
122
+ :'name' => :'String',
119
123
  :'password' => :'String',
120
- :'total_timeout' => :'Float',
124
+ :'headers' => :'Array<Object>',
121
125
  :'tls_validation' => :'Boolean',
122
- :'ca_cert' => :'String',
123
- :'client_key' => :'String',
124
- :'proxy_url' => :'String',
125
- :'proxy_password' => :'String',
126
- :'url' => :'String',
127
- :'sock_connect_timeout' => :'Float',
128
126
  :'username' => :'String',
129
- :'headers' => :'Array<Object>',
130
- :'pulp_labels' => :'Hash<String, String>',
131
- :'max_retries' => :'Integer',
132
- :'rate_limit' => :'Integer',
127
+ :'client_key' => :'String',
128
+ :'connect_timeout' => :'Float',
133
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
  }
@@ -139,21 +139,21 @@ module PulpAnsibleClient
139
139
  # List of attributes with nullable: true
140
140
  def self.openapi_nullable
141
141
  Set.new([
142
- :'connect_timeout',
143
- :'client_cert',
144
- :'proxy_username',
145
- :'download_concurrency',
146
- :'password',
147
- :'total_timeout',
148
- :'ca_cert',
149
- :'client_key',
150
142
  :'proxy_url',
151
- :'proxy_password',
143
+ :'ca_cert',
144
+ :'download_concurrency',
152
145
  :'sock_connect_timeout',
153
- :'username',
154
- :'max_retries',
155
146
  :'rate_limit',
147
+ :'proxy_password',
148
+ :'max_retries',
149
+ :'client_cert',
150
+ :'password',
151
+ :'username',
152
+ :'client_key',
153
+ :'connect_timeout',
156
154
  :'sock_read_timeout',
155
+ :'total_timeout',
156
+ :'proxy_username',
157
157
  ])
158
158
  end
159
159
 
@@ -172,88 +172,86 @@ module PulpAnsibleClient
172
172
  h[k.to_sym] = v
173
173
  }
174
174
 
175
- if attributes.key?(:'name')
176
- self.name = attributes[:'name']
177
- end
178
-
179
- if attributes.key?(:'connect_timeout')
180
- self.connect_timeout = attributes[:'connect_timeout']
181
- end
182
-
183
- if attributes.key?(:'client_cert')
184
- self.client_cert = attributes[:'client_cert']
175
+ if attributes.key?(:'proxy_url')
176
+ self.proxy_url = attributes[:'proxy_url']
185
177
  end
186
178
 
187
- if attributes.key?(:'proxy_username')
188
- self.proxy_username = attributes[:'proxy_username']
179
+ if attributes.key?(:'ca_cert')
180
+ self.ca_cert = attributes[:'ca_cert']
189
181
  end
190
182
 
191
183
  if attributes.key?(:'download_concurrency')
192
184
  self.download_concurrency = attributes[:'download_concurrency']
193
185
  end
194
186
 
195
- if attributes.key?(:'password')
196
- self.password = attributes[:'password']
187
+ if attributes.key?(:'sock_connect_timeout')
188
+ self.sock_connect_timeout = attributes[:'sock_connect_timeout']
197
189
  end
198
190
 
199
- if attributes.key?(:'total_timeout')
200
- self.total_timeout = attributes[:'total_timeout']
191
+ if attributes.key?(:'rate_limit')
192
+ self.rate_limit = attributes[:'rate_limit']
201
193
  end
202
194
 
203
- if attributes.key?(:'tls_validation')
204
- self.tls_validation = attributes[:'tls_validation']
195
+ if attributes.key?(:'proxy_password')
196
+ self.proxy_password = attributes[:'proxy_password']
205
197
  end
206
198
 
207
- if attributes.key?(:'ca_cert')
208
- self.ca_cert = attributes[:'ca_cert']
199
+ if attributes.key?(:'max_retries')
200
+ self.max_retries = attributes[:'max_retries']
209
201
  end
210
202
 
211
- if attributes.key?(:'client_key')
212
- self.client_key = attributes[:'client_key']
203
+ if attributes.key?(:'client_cert')
204
+ self.client_cert = attributes[:'client_cert']
213
205
  end
214
206
 
215
- if attributes.key?(:'proxy_url')
216
- self.proxy_url = attributes[:'proxy_url']
207
+ if attributes.key?(:'name')
208
+ self.name = attributes[:'name']
217
209
  end
218
210
 
219
- if attributes.key?(:'proxy_password')
220
- self.proxy_password = attributes[:'proxy_password']
211
+ if attributes.key?(:'password')
212
+ self.password = attributes[:'password']
221
213
  end
222
214
 
223
- if attributes.key?(:'url')
224
- self.url = attributes[:'url']
215
+ if attributes.key?(:'headers')
216
+ if (value = attributes[:'headers']).is_a?(Array)
217
+ self.headers = value
218
+ end
225
219
  end
226
220
 
227
- if attributes.key?(:'sock_connect_timeout')
228
- self.sock_connect_timeout = attributes[:'sock_connect_timeout']
221
+ if attributes.key?(:'tls_validation')
222
+ self.tls_validation = attributes[:'tls_validation']
229
223
  end
230
224
 
231
225
  if attributes.key?(:'username')
232
226
  self.username = attributes[:'username']
233
227
  end
234
228
 
235
- if attributes.key?(:'headers')
236
- if (value = attributes[:'headers']).is_a?(Array)
237
- self.headers = value
238
- end
229
+ if attributes.key?(:'client_key')
230
+ self.client_key = attributes[:'client_key']
231
+ end
232
+
233
+ if attributes.key?(:'connect_timeout')
234
+ self.connect_timeout = attributes[:'connect_timeout']
235
+ end
236
+
237
+ if attributes.key?(:'sock_read_timeout')
238
+ self.sock_read_timeout = attributes[:'sock_read_timeout']
239
239
  end
240
240
 
241
241
  if attributes.key?(:'pulp_labels')
242
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
243
- self.pulp_labels = value
244
- end
242
+ self.pulp_labels = attributes[:'pulp_labels']
245
243
  end
246
244
 
247
- if attributes.key?(:'max_retries')
248
- self.max_retries = attributes[:'max_retries']
245
+ if attributes.key?(:'total_timeout')
246
+ self.total_timeout = attributes[:'total_timeout']
249
247
  end
250
248
 
251
- if attributes.key?(:'rate_limit')
252
- self.rate_limit = attributes[:'rate_limit']
249
+ if attributes.key?(:'url')
250
+ self.url = attributes[:'url']
253
251
  end
254
252
 
255
- if attributes.key?(:'sock_read_timeout')
256
- self.sock_read_timeout = attributes[:'sock_read_timeout']
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')
@@ -269,52 +267,60 @@ module PulpAnsibleClient
269
267
  # @return Array for valid properties with the reasons
270
268
  def list_invalid_properties
271
269
  invalid_properties = Array.new
272
- if @name.nil?
273
- invalid_properties.push('invalid value for "name", name cannot be nil.')
270
+ if !@proxy_url.nil? && @proxy_url.to_s.length < 1
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 @name.to_s.length < 1
277
- invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
274
+ if !@ca_cert.nil? && @ca_cert.to_s.length < 1
275
+ invalid_properties.push('invalid value for "ca_cert", the character length must be great than or equal to 1.')
278
276
  end
279
277
 
280
- if !@connect_timeout.nil? && @connect_timeout < 0.0
281
- invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
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.')
280
+ end
281
+
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.')
284
+ end
285
+
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.')
282
288
  end
283
289
 
284
290
  if !@client_cert.nil? && @client_cert.to_s.length < 1
285
291
  invalid_properties.push('invalid value for "client_cert", the character length must be great than or equal to 1.')
286
292
  end
287
293
 
288
- if !@proxy_username.nil? && @proxy_username.to_s.length < 1
289
- invalid_properties.push('invalid value for "proxy_username", the character length must be great than or equal to 1.')
294
+ if @name.nil?
295
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
290
296
  end
291
297
 
292
- if !@download_concurrency.nil? && @download_concurrency < 1
293
- invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
298
+ if @name.to_s.length < 1
299
+ invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
294
300
  end
295
301
 
296
302
  if !@password.nil? && @password.to_s.length < 1
297
303
  invalid_properties.push('invalid value for "password", the character length must be great than or equal to 1.')
298
304
  end
299
305
 
300
- if !@total_timeout.nil? && @total_timeout < 0.0
301
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
302
- end
303
-
304
- if !@ca_cert.nil? && @ca_cert.to_s.length < 1
305
- invalid_properties.push('invalid value for "ca_cert", the character length must be great than or equal to 1.')
306
+ if !@username.nil? && @username.to_s.length < 1
307
+ invalid_properties.push('invalid value for "username", the character length must be great than or equal to 1.')
306
308
  end
307
309
 
308
310
  if !@client_key.nil? && @client_key.to_s.length < 1
309
311
  invalid_properties.push('invalid value for "client_key", the character length must be great than or equal to 1.')
310
312
  end
311
313
 
312
- if !@proxy_url.nil? && @proxy_url.to_s.length < 1
313
- invalid_properties.push('invalid value for "proxy_url", the character length must be great than or equal to 1.')
314
+ if !@connect_timeout.nil? && @connect_timeout < 0.0
315
+ invalid_properties.push('invalid value for "connect_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 !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
319
+ invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
320
+ end
321
+
322
+ if !@total_timeout.nil? && @total_timeout < 0.0
323
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
318
324
  end
319
325
 
320
326
  if @url.nil?
@@ -325,16 +331,8 @@ module PulpAnsibleClient
325
331
  invalid_properties.push('invalid value for "url", the character length must be great than or equal to 1.')
326
332
  end
327
333
 
328
- if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
329
- invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
330
- end
331
-
332
- if !@username.nil? && @username.to_s.length < 1
333
- invalid_properties.push('invalid value for "username", the character length must be great than or equal to 1.')
334
- end
335
-
336
- if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
337
- invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
334
+ if !@proxy_username.nil? && @proxy_username.to_s.length < 1
335
+ invalid_properties.push('invalid value for "proxy_username", the character length must be great than or equal to 1.')
338
336
  end
339
337
 
340
338
  if !@git_ref.nil? && @git_ref.to_s.length < 1
@@ -347,49 +345,75 @@ module PulpAnsibleClient
347
345
  # Check to see if the all the properties in the model are valid
348
346
  # @return true if the model is valid
349
347
  def valid?
348
+ return false if !@proxy_url.nil? && @proxy_url.to_s.length < 1
349
+ return false if !@ca_cert.nil? && @ca_cert.to_s.length < 1
350
+ return false if !@download_concurrency.nil? && @download_concurrency < 1
351
+ return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
352
+ return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
353
+ return false if !@client_cert.nil? && @client_cert.to_s.length < 1
350
354
  return false if @name.nil?
351
355
  return false if @name.to_s.length < 1
352
- return false if !@connect_timeout.nil? && @connect_timeout < 0.0
353
- return false if !@client_cert.nil? && @client_cert.to_s.length < 1
354
- return false if !@proxy_username.nil? && @proxy_username.to_s.length < 1
355
- return false if !@download_concurrency.nil? && @download_concurrency < 1
356
356
  return false if !@password.nil? && @password.to_s.length < 1
357
- return false if !@total_timeout.nil? && @total_timeout < 0.0
358
- return false if !@ca_cert.nil? && @ca_cert.to_s.length < 1
357
+ return false if !@username.nil? && @username.to_s.length < 1
359
358
  return false if !@client_key.nil? && @client_key.to_s.length < 1
360
- return false if !@proxy_url.nil? && @proxy_url.to_s.length < 1
361
- return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
359
+ return false if !@connect_timeout.nil? && @connect_timeout < 0.0
360
+ return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
361
+ return false if !@total_timeout.nil? && @total_timeout < 0.0
362
362
  return false if @url.nil?
363
363
  return false if @url.to_s.length < 1
364
- return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
365
- return false if !@username.nil? && @username.to_s.length < 1
366
- return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
364
+ return false if !@proxy_username.nil? && @proxy_username.to_s.length < 1
367
365
  return false if !@git_ref.nil? && @git_ref.to_s.length < 1
368
366
  true
369
367
  end
370
368
 
371
369
  # Custom attribute writer method with validation
372
- # @param [Object] name Value to be assigned
373
- def name=(name)
374
- if name.nil?
375
- fail ArgumentError, 'name cannot be nil'
370
+ # @param [Object] proxy_url Value to be assigned
371
+ def proxy_url=(proxy_url)
372
+ if !proxy_url.nil? && proxy_url.to_s.length < 1
373
+ fail ArgumentError, 'invalid value for "proxy_url", the character length must be great than or equal to 1.'
376
374
  end
377
375
 
378
- if name.to_s.length < 1
379
- fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
376
+ @proxy_url = proxy_url
377
+ end
378
+
379
+ # Custom attribute writer method with validation
380
+ # @param [Object] ca_cert Value to be assigned
381
+ def ca_cert=(ca_cert)
382
+ if !ca_cert.nil? && ca_cert.to_s.length < 1
383
+ fail ArgumentError, 'invalid value for "ca_cert", the character length must be great than or equal to 1.'
380
384
  end
381
385
 
382
- @name = name
386
+ @ca_cert = ca_cert
383
387
  end
384
388
 
385
389
  # Custom attribute writer method with validation
386
- # @param [Object] connect_timeout Value to be assigned
387
- def connect_timeout=(connect_timeout)
388
- if !connect_timeout.nil? && connect_timeout < 0.0
389
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
390
+ # @param [Object] download_concurrency Value to be assigned
391
+ def download_concurrency=(download_concurrency)
392
+ if !download_concurrency.nil? && download_concurrency < 1
393
+ fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
390
394
  end
391
395
 
392
- @connect_timeout = connect_timeout
396
+ @download_concurrency = download_concurrency
397
+ end
398
+
399
+ # Custom attribute writer method with validation
400
+ # @param [Object] sock_connect_timeout Value to be assigned
401
+ def sock_connect_timeout=(sock_connect_timeout)
402
+ if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
403
+ fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
404
+ end
405
+
406
+ @sock_connect_timeout = sock_connect_timeout
407
+ end
408
+
409
+ # Custom attribute writer method with validation
410
+ # @param [Object] proxy_password Value to be assigned
411
+ def proxy_password=(proxy_password)
412
+ if !proxy_password.nil? && proxy_password.to_s.length < 1
413
+ fail ArgumentError, 'invalid value for "proxy_password", the character length must be great than or equal to 1.'
414
+ end
415
+
416
+ @proxy_password = proxy_password
393
417
  end
394
418
 
395
419
  # Custom attribute writer method with validation
@@ -403,23 +427,17 @@ module PulpAnsibleClient
403
427
  end
404
428
 
405
429
  # Custom attribute writer method with validation
406
- # @param [Object] proxy_username Value to be assigned
407
- def proxy_username=(proxy_username)
408
- if !proxy_username.nil? && proxy_username.to_s.length < 1
409
- fail ArgumentError, 'invalid value for "proxy_username", the character length must be great than or equal to 1.'
430
+ # @param [Object] name Value to be assigned
431
+ def name=(name)
432
+ if name.nil?
433
+ fail ArgumentError, 'name cannot be nil'
410
434
  end
411
435
 
412
- @proxy_username = proxy_username
413
- end
414
-
415
- # Custom attribute writer method with validation
416
- # @param [Object] download_concurrency Value to be assigned
417
- def download_concurrency=(download_concurrency)
418
- if !download_concurrency.nil? && download_concurrency < 1
419
- fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
436
+ if name.to_s.length < 1
437
+ fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
420
438
  end
421
439
 
422
- @download_concurrency = download_concurrency
440
+ @name = name
423
441
  end
424
442
 
425
443
  # Custom attribute writer method with validation
@@ -433,23 +451,13 @@ module PulpAnsibleClient
433
451
  end
434
452
 
435
453
  # Custom attribute writer method with validation
436
- # @param [Object] total_timeout Value to be assigned
437
- def total_timeout=(total_timeout)
438
- if !total_timeout.nil? && total_timeout < 0.0
439
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
440
- end
441
-
442
- @total_timeout = total_timeout
443
- end
444
-
445
- # Custom attribute writer method with validation
446
- # @param [Object] ca_cert Value to be assigned
447
- def ca_cert=(ca_cert)
448
- if !ca_cert.nil? && ca_cert.to_s.length < 1
449
- fail ArgumentError, 'invalid value for "ca_cert", the character length must be great than or equal to 1.'
454
+ # @param [Object] username Value to be assigned
455
+ def username=(username)
456
+ if !username.nil? && username.to_s.length < 1
457
+ fail ArgumentError, 'invalid value for "username", the character length must be great than or equal to 1.'
450
458
  end
451
459
 
452
- @ca_cert = ca_cert
460
+ @username = username
453
461
  end
454
462
 
455
463
  # Custom attribute writer method with validation
@@ -463,23 +471,33 @@ module PulpAnsibleClient
463
471
  end
464
472
 
465
473
  # Custom attribute writer method with validation
466
- # @param [Object] proxy_url Value to be assigned
467
- def proxy_url=(proxy_url)
468
- if !proxy_url.nil? && proxy_url.to_s.length < 1
469
- fail ArgumentError, 'invalid value for "proxy_url", the character length must be great than or equal to 1.'
474
+ # @param [Object] connect_timeout Value to be assigned
475
+ def connect_timeout=(connect_timeout)
476
+ if !connect_timeout.nil? && connect_timeout < 0.0
477
+ fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
470
478
  end
471
479
 
472
- @proxy_url = proxy_url
480
+ @connect_timeout = connect_timeout
473
481
  end
474
482
 
475
483
  # Custom attribute writer method with validation
476
- # @param [Object] proxy_password Value to be assigned
477
- def proxy_password=(proxy_password)
478
- if !proxy_password.nil? && proxy_password.to_s.length < 1
479
- fail ArgumentError, 'invalid value for "proxy_password", the character length must be great than or equal to 1.'
484
+ # @param [Object] sock_read_timeout Value to be assigned
485
+ def sock_read_timeout=(sock_read_timeout)
486
+ if !sock_read_timeout.nil? && sock_read_timeout < 0.0
487
+ fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
480
488
  end
481
489
 
482
- @proxy_password = proxy_password
490
+ @sock_read_timeout = sock_read_timeout
491
+ end
492
+
493
+ # Custom attribute writer method with validation
494
+ # @param [Object] total_timeout Value to be assigned
495
+ def total_timeout=(total_timeout)
496
+ if !total_timeout.nil? && total_timeout < 0.0
497
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
498
+ end
499
+
500
+ @total_timeout = total_timeout
483
501
  end
484
502
 
485
503
  # Custom attribute writer method with validation
@@ -497,33 +515,13 @@ module PulpAnsibleClient
497
515
  end
498
516
 
499
517
  # Custom attribute writer method with validation
500
- # @param [Object] sock_connect_timeout Value to be assigned
501
- def sock_connect_timeout=(sock_connect_timeout)
502
- if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
503
- fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
504
- end
505
-
506
- @sock_connect_timeout = sock_connect_timeout
507
- end
508
-
509
- # Custom attribute writer method with validation
510
- # @param [Object] username Value to be assigned
511
- def username=(username)
512
- if !username.nil? && username.to_s.length < 1
513
- fail ArgumentError, 'invalid value for "username", the character length must be great than or equal to 1.'
514
- end
515
-
516
- @username = username
517
- end
518
-
519
- # Custom attribute writer method with validation
520
- # @param [Object] sock_read_timeout Value to be assigned
521
- def sock_read_timeout=(sock_read_timeout)
522
- if !sock_read_timeout.nil? && sock_read_timeout < 0.0
523
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
518
+ # @param [Object] proxy_username Value to be assigned
519
+ def proxy_username=(proxy_username)
520
+ if !proxy_username.nil? && proxy_username.to_s.length < 1
521
+ fail ArgumentError, 'invalid value for "proxy_username", the character length must be great than or equal to 1.'
524
522
  end
525
523
 
526
- @sock_read_timeout = sock_read_timeout
524
+ @proxy_username = proxy_username
527
525
  end
528
526
 
529
527
  # Custom attribute writer method with validation
@@ -541,26 +539,26 @@ module PulpAnsibleClient
541
539
  def ==(o)
542
540
  return true if self.equal?(o)
543
541
  self.class == o.class &&
544
- name == o.name &&
545
- connect_timeout == o.connect_timeout &&
546
- client_cert == o.client_cert &&
547
- proxy_username == o.proxy_username &&
542
+ proxy_url == o.proxy_url &&
543
+ ca_cert == o.ca_cert &&
548
544
  download_concurrency == o.download_concurrency &&
545
+ sock_connect_timeout == o.sock_connect_timeout &&
546
+ rate_limit == o.rate_limit &&
547
+ proxy_password == o.proxy_password &&
548
+ max_retries == o.max_retries &&
549
+ client_cert == o.client_cert &&
550
+ name == o.name &&
549
551
  password == o.password &&
550
- total_timeout == o.total_timeout &&
552
+ headers == o.headers &&
551
553
  tls_validation == o.tls_validation &&
552
- ca_cert == o.ca_cert &&
553
- client_key == o.client_key &&
554
- proxy_url == o.proxy_url &&
555
- proxy_password == o.proxy_password &&
556
- url == o.url &&
557
- sock_connect_timeout == o.sock_connect_timeout &&
558
554
  username == o.username &&
559
- headers == o.headers &&
560
- pulp_labels == o.pulp_labels &&
561
- max_retries == o.max_retries &&
562
- rate_limit == o.rate_limit &&
555
+ client_key == o.client_key &&
556
+ connect_timeout == o.connect_timeout &&
563
557
  sock_read_timeout == o.sock_read_timeout &&
558
+ pulp_labels == o.pulp_labels &&
559
+ total_timeout == o.total_timeout &&
560
+ url == o.url &&
561
+ proxy_username == o.proxy_username &&
564
562
  metadata_only == o.metadata_only &&
565
563
  git_ref == o.git_ref
566
564
  end
@@ -574,7 +572,7 @@ module PulpAnsibleClient
574
572
  # Calculates hash code according to all attributes.
575
573
  # @return [Integer] Hash code
576
574
  def hash
577
- [name, connect_timeout, client_cert, proxy_username, download_concurrency, password, total_timeout, tls_validation, ca_cert, client_key, proxy_url, proxy_password, url, sock_connect_timeout, username, headers, pulp_labels, max_retries, rate_limit, sock_read_timeout, metadata_only, git_ref].hash
575
+ [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
578
576
  end
579
577
 
580
578
  # Builds the object from hash