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