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 PatchedansibleGitRemote
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,66 +269,66 @@ 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
+ 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.')
272
274
  end
273
275
 
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.')
276
+ if !@url.nil? && @url.to_s.length < 1
277
+ invalid_properties.push('invalid value for "url", the character length must be great than or equal to 1.')
276
278
  end
277
279
 
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
+ if !@username.nil? && @username.to_s.length < 1
281
+ invalid_properties.push('invalid value for "username", the character length must be great than or equal to 1.')
280
282
  end
281
283
 
282
284
  if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
283
285
  invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
284
286
  end
285
287
 
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.')
288
- end
289
-
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 !@download_concurrency.nil? && @download_concurrency < 1
289
+ invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
292
290
  end
293
291
 
294
- if !@name.nil? && @name.to_s.length < 1
295
- invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
292
+ if !@connect_timeout.nil? && @connect_timeout < 0.0
293
+ invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
296
294
  end
297
295
 
298
- if !@password.nil? && @password.to_s.length < 1
299
- invalid_properties.push('invalid value for "password", the character length must be great than or equal to 1.')
296
+ if !@proxy_url.nil? && @proxy_url.to_s.length < 1
297
+ invalid_properties.push('invalid value for "proxy_url", the character length must be great than or equal to 1.')
300
298
  end
301
299
 
302
- if !@username.nil? && @username.to_s.length < 1
303
- invalid_properties.push('invalid value for "username", the character length must be great than or equal to 1.')
300
+ if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
301
+ invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
304
302
  end
305
303
 
306
304
  if !@client_key.nil? && @client_key.to_s.length < 1
307
305
  invalid_properties.push('invalid value for "client_key", the character length must be great than or equal to 1.')
308
306
  end
309
307
 
310
- if !@connect_timeout.nil? && @connect_timeout < 0.0
311
- invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
312
- end
313
-
314
- if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
315
- invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
308
+ if !@ca_cert.nil? && @ca_cert.to_s.length < 1
309
+ invalid_properties.push('invalid value for "ca_cert", the character length must be great than or equal to 1.')
316
310
  end
317
311
 
318
- if !@total_timeout.nil? && @total_timeout < 0.0
319
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
312
+ if !@password.nil? && @password.to_s.length < 1
313
+ invalid_properties.push('invalid value for "password", the character length must be great than or equal to 1.')
320
314
  end
321
315
 
322
- if !@url.nil? && @url.to_s.length < 1
323
- invalid_properties.push('invalid value for "url", the character length must be great than or equal to 1.')
316
+ if !@name.nil? && @name.to_s.length < 1
317
+ invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
324
318
  end
325
319
 
326
320
  if !@proxy_username.nil? && @proxy_username.to_s.length < 1
327
321
  invalid_properties.push('invalid value for "proxy_username", the character length must be great than or equal to 1.')
328
322
  end
329
323
 
324
+ if !@proxy_password.nil? && @proxy_password.to_s.length < 1
325
+ invalid_properties.push('invalid value for "proxy_password", the character length must be great than or equal to 1.')
326
+ end
327
+
328
+ if !@client_cert.nil? && @client_cert.to_s.length < 1
329
+ invalid_properties.push('invalid value for "client_cert", the character length must be great than or equal to 1.')
330
+ end
331
+
330
332
  if !@git_ref.nil? && @git_ref.to_s.length < 1
331
333
  invalid_properties.push('invalid value for "git_ref", the character length must be great than or equal to 1.')
332
334
  end
@@ -337,53 +339,53 @@ module PulpAnsibleClient
337
339
  # Check to see if the all the properties in the model are valid
338
340
  # @return true if the model is valid
339
341
  def valid?
340
- return false if !@proxy_url.nil? && @proxy_url.to_s.length < 1
341
- return false if !@ca_cert.nil? && @ca_cert.to_s.length < 1
342
- return false if !@download_concurrency.nil? && @download_concurrency < 1
343
- return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
344
- return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
345
- return false if !@client_cert.nil? && @client_cert.to_s.length < 1
346
- return false if !@name.nil? && @name.to_s.length < 1
347
- return false if !@password.nil? && @password.to_s.length < 1
342
+ return false if !@total_timeout.nil? && @total_timeout < 0.0
343
+ return false if !@url.nil? && @url.to_s.length < 1
348
344
  return false if !@username.nil? && @username.to_s.length < 1
349
- return false if !@client_key.nil? && @client_key.to_s.length < 1
345
+ return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
346
+ return false if !@download_concurrency.nil? && @download_concurrency < 1
350
347
  return false if !@connect_timeout.nil? && @connect_timeout < 0.0
348
+ return false if !@proxy_url.nil? && @proxy_url.to_s.length < 1
351
349
  return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
352
- return false if !@total_timeout.nil? && @total_timeout < 0.0
353
- return false if !@url.nil? && @url.to_s.length < 1
350
+ return false if !@client_key.nil? && @client_key.to_s.length < 1
351
+ return false if !@ca_cert.nil? && @ca_cert.to_s.length < 1
352
+ return false if !@password.nil? && @password.to_s.length < 1
353
+ return false if !@name.nil? && @name.to_s.length < 1
354
354
  return false if !@proxy_username.nil? && @proxy_username.to_s.length < 1
355
+ return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
356
+ return false if !@client_cert.nil? && @client_cert.to_s.length < 1
355
357
  return false if !@git_ref.nil? && @git_ref.to_s.length < 1
356
358
  true
357
359
  end
358
360
 
359
361
  # Custom attribute writer method with validation
360
- # @param [Object] proxy_url Value to be assigned
361
- def proxy_url=(proxy_url)
362
- if !proxy_url.nil? && proxy_url.to_s.length < 1
363
- fail ArgumentError, 'invalid value for "proxy_url", the character length must be great than or equal to 1.'
362
+ # @param [Object] total_timeout Value to be assigned
363
+ def total_timeout=(total_timeout)
364
+ if !total_timeout.nil? && total_timeout < 0.0
365
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
364
366
  end
365
367
 
366
- @proxy_url = proxy_url
368
+ @total_timeout = total_timeout
367
369
  end
368
370
 
369
371
  # Custom attribute writer method with validation
370
- # @param [Object] ca_cert Value to be assigned
371
- def ca_cert=(ca_cert)
372
- if !ca_cert.nil? && ca_cert.to_s.length < 1
373
- fail ArgumentError, 'invalid value for "ca_cert", the character length must be great than or equal to 1.'
372
+ # @param [Object] url Value to be assigned
373
+ def url=(url)
374
+ if !url.nil? && url.to_s.length < 1
375
+ fail ArgumentError, 'invalid value for "url", the character length must be great than or equal to 1.'
374
376
  end
375
377
 
376
- @ca_cert = ca_cert
378
+ @url = url
377
379
  end
378
380
 
379
381
  # Custom attribute writer method with validation
380
- # @param [Object] download_concurrency Value to be assigned
381
- def download_concurrency=(download_concurrency)
382
- if !download_concurrency.nil? && download_concurrency < 1
383
- fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
382
+ # @param [Object] username Value to be assigned
383
+ def username=(username)
384
+ if !username.nil? && username.to_s.length < 1
385
+ fail ArgumentError, 'invalid value for "username", the character length must be great than or equal to 1.'
384
386
  end
385
387
 
386
- @download_concurrency = download_concurrency
388
+ @username = username
387
389
  end
388
390
 
389
391
  # Custom attribute writer method with validation
@@ -397,53 +399,43 @@ module PulpAnsibleClient
397
399
  end
398
400
 
399
401
  # Custom attribute writer method with validation
400
- # @param [Object] proxy_password Value to be assigned
401
- def proxy_password=(proxy_password)
402
- if !proxy_password.nil? && proxy_password.to_s.length < 1
403
- fail ArgumentError, 'invalid value for "proxy_password", the character length must be great than or equal to 1.'
404
- end
405
-
406
- @proxy_password = proxy_password
407
- end
408
-
409
- # Custom attribute writer method with validation
410
- # @param [Object] client_cert Value to be assigned
411
- def client_cert=(client_cert)
412
- if !client_cert.nil? && client_cert.to_s.length < 1
413
- fail ArgumentError, 'invalid value for "client_cert", the character length must be great than or equal to 1.'
402
+ # @param [Object] download_concurrency Value to be assigned
403
+ def download_concurrency=(download_concurrency)
404
+ if !download_concurrency.nil? && download_concurrency < 1
405
+ fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
414
406
  end
415
407
 
416
- @client_cert = client_cert
408
+ @download_concurrency = download_concurrency
417
409
  end
418
410
 
419
411
  # Custom attribute writer method with validation
420
- # @param [Object] name Value to be assigned
421
- def name=(name)
422
- if !name.nil? && name.to_s.length < 1
423
- fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
412
+ # @param [Object] connect_timeout Value to be assigned
413
+ def connect_timeout=(connect_timeout)
414
+ if !connect_timeout.nil? && connect_timeout < 0.0
415
+ fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
424
416
  end
425
417
 
426
- @name = name
418
+ @connect_timeout = connect_timeout
427
419
  end
428
420
 
429
421
  # Custom attribute writer method with validation
430
- # @param [Object] password Value to be assigned
431
- def password=(password)
432
- if !password.nil? && password.to_s.length < 1
433
- fail ArgumentError, 'invalid value for "password", the character length must be great than or equal to 1.'
422
+ # @param [Object] proxy_url Value to be assigned
423
+ def proxy_url=(proxy_url)
424
+ if !proxy_url.nil? && proxy_url.to_s.length < 1
425
+ fail ArgumentError, 'invalid value for "proxy_url", the character length must be great than or equal to 1.'
434
426
  end
435
427
 
436
- @password = password
428
+ @proxy_url = proxy_url
437
429
  end
438
430
 
439
431
  # Custom attribute writer method with validation
440
- # @param [Object] username Value to be assigned
441
- def username=(username)
442
- if !username.nil? && username.to_s.length < 1
443
- fail ArgumentError, 'invalid value for "username", the character length must be great than or equal to 1.'
432
+ # @param [Object] sock_read_timeout Value to be assigned
433
+ def sock_read_timeout=(sock_read_timeout)
434
+ if !sock_read_timeout.nil? && sock_read_timeout < 0.0
435
+ fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
444
436
  end
445
437
 
446
- @username = username
438
+ @sock_read_timeout = sock_read_timeout
447
439
  end
448
440
 
449
441
  # Custom attribute writer method with validation
@@ -457,43 +449,33 @@ module PulpAnsibleClient
457
449
  end
458
450
 
459
451
  # Custom attribute writer method with validation
460
- # @param [Object] connect_timeout Value to be assigned
461
- def connect_timeout=(connect_timeout)
462
- if !connect_timeout.nil? && connect_timeout < 0.0
463
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
464
- end
465
-
466
- @connect_timeout = connect_timeout
467
- end
468
-
469
- # Custom attribute writer method with validation
470
- # @param [Object] sock_read_timeout Value to be assigned
471
- def sock_read_timeout=(sock_read_timeout)
472
- if !sock_read_timeout.nil? && sock_read_timeout < 0.0
473
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
452
+ # @param [Object] ca_cert Value to be assigned
453
+ def ca_cert=(ca_cert)
454
+ if !ca_cert.nil? && ca_cert.to_s.length < 1
455
+ fail ArgumentError, 'invalid value for "ca_cert", the character length must be great than or equal to 1.'
474
456
  end
475
457
 
476
- @sock_read_timeout = sock_read_timeout
458
+ @ca_cert = ca_cert
477
459
  end
478
460
 
479
461
  # Custom attribute writer method with validation
480
- # @param [Object] total_timeout Value to be assigned
481
- def total_timeout=(total_timeout)
482
- if !total_timeout.nil? && total_timeout < 0.0
483
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
462
+ # @param [Object] password Value to be assigned
463
+ def password=(password)
464
+ if !password.nil? && password.to_s.length < 1
465
+ fail ArgumentError, 'invalid value for "password", the character length must be great than or equal to 1.'
484
466
  end
485
467
 
486
- @total_timeout = total_timeout
468
+ @password = password
487
469
  end
488
470
 
489
471
  # Custom attribute writer method with validation
490
- # @param [Object] url Value to be assigned
491
- def url=(url)
492
- if !url.nil? && url.to_s.length < 1
493
- fail ArgumentError, 'invalid value for "url", the character length must be great than or equal to 1.'
472
+ # @param [Object] name Value to be assigned
473
+ def name=(name)
474
+ if !name.nil? && name.to_s.length < 1
475
+ fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
494
476
  end
495
477
 
496
- @url = url
478
+ @name = name
497
479
  end
498
480
 
499
481
  # Custom attribute writer method with validation
@@ -506,6 +488,26 @@ module PulpAnsibleClient
506
488
  @proxy_username = proxy_username
507
489
  end
508
490
 
491
+ # Custom attribute writer method with validation
492
+ # @param [Object] proxy_password Value to be assigned
493
+ def proxy_password=(proxy_password)
494
+ if !proxy_password.nil? && proxy_password.to_s.length < 1
495
+ fail ArgumentError, 'invalid value for "proxy_password", the character length must be great than or equal to 1.'
496
+ end
497
+
498
+ @proxy_password = proxy_password
499
+ end
500
+
501
+ # Custom attribute writer method with validation
502
+ # @param [Object] client_cert Value to be assigned
503
+ def client_cert=(client_cert)
504
+ if !client_cert.nil? && client_cert.to_s.length < 1
505
+ fail ArgumentError, 'invalid value for "client_cert", the character length must be great than or equal to 1.'
506
+ end
507
+
508
+ @client_cert = client_cert
509
+ end
510
+
509
511
  # Custom attribute writer method with validation
510
512
  # @param [Object] git_ref Value to be assigned
511
513
  def git_ref=(git_ref)
@@ -521,26 +523,26 @@ module PulpAnsibleClient
521
523
  def ==(o)
522
524
  return true if self.equal?(o)
523
525
  self.class == o.class &&
524
- proxy_url == o.proxy_url &&
525
- ca_cert == o.ca_cert &&
526
- download_concurrency == o.download_concurrency &&
527
- sock_connect_timeout == o.sock_connect_timeout &&
528
- rate_limit == o.rate_limit &&
529
- proxy_password == o.proxy_password &&
530
- max_retries == o.max_retries &&
531
- client_cert == o.client_cert &&
532
- name == o.name &&
533
- password == o.password &&
534
- headers == o.headers &&
535
- tls_validation == o.tls_validation &&
526
+ total_timeout == o.total_timeout &&
527
+ url == o.url &&
536
528
  username == o.username &&
537
- client_key == o.client_key &&
529
+ rate_limit == o.rate_limit &&
530
+ sock_connect_timeout == o.sock_connect_timeout &&
531
+ download_concurrency == o.download_concurrency &&
538
532
  connect_timeout == o.connect_timeout &&
533
+ tls_validation == o.tls_validation &&
534
+ proxy_url == o.proxy_url &&
539
535
  sock_read_timeout == o.sock_read_timeout &&
536
+ headers == o.headers &&
537
+ max_retries == o.max_retries &&
540
538
  pulp_labels == o.pulp_labels &&
541
- total_timeout == o.total_timeout &&
542
- url == o.url &&
539
+ client_key == o.client_key &&
540
+ ca_cert == o.ca_cert &&
541
+ password == o.password &&
542
+ name == o.name &&
543
543
  proxy_username == o.proxy_username &&
544
+ proxy_password == o.proxy_password &&
545
+ client_cert == o.client_cert &&
544
546
  metadata_only == o.metadata_only &&
545
547
  git_ref == o.git_ref
546
548
  end
@@ -554,7 +556,7 @@ module PulpAnsibleClient
554
556
  # Calculates hash code according to all attributes.
555
557
  # @return [Integer] Hash code
556
558
  def hash
557
- [proxy_url, ca_cert, download_concurrency, sock_connect_timeout, rate_limit, proxy_password, max_retries, client_cert, name, password, headers, tls_validation, username, client_key, connect_timeout, sock_read_timeout, pulp_labels, total_timeout, url, proxy_username, metadata_only, git_ref].hash
559
+ [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
558
560
  end
559
561
 
560
562
  # Builds the object from hash