pulp_ansible_client 0.15.0 → 0.15.2

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