pulp_ansible_client 0.15.0 → 0.15.1

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