pulp_ansible_client 0.16.0 → 0.16.1

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