pulp_ansible_client 0.28.7 → 0.28.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/AnsibleCollectionVersionResponse.md +6 -6
  4. data/docs/AnsibleGitRemote.md +24 -24
  5. data/docs/AnsibleGitRemoteResponse.md +26 -26
  6. data/docs/AnsibleRoleResponse.md +6 -6
  7. data/docs/ContentCollectionVersionsApi.md +2 -2
  8. data/docs/PatchedansibleGitRemote.md +24 -24
  9. data/docs/RemotesGitApi.md +2 -2
  10. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +3 -3
  11. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +2 -2
  12. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +2 -2
  13. data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata.rb +3 -3
  14. data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata_response.rb +3 -3
  15. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +29 -29
  16. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +217 -217
  17. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +139 -139
  18. data/lib/pulp_ansible_client/models/ansible_role_response.rb +29 -29
  19. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +209 -209
  20. data/lib/pulp_ansible_client/version.rb +1 -1
  21. data/spec/api/content_collection_versions_api_spec.rb +1 -1
  22. data/spec/models/ansible_collection_version_response_spec.rb +7 -7
  23. data/spec/models/ansible_git_remote_response_spec.rb +19 -19
  24. data/spec/models/ansible_git_remote_spec.rb +20 -20
  25. data/spec/models/ansible_role_response_spec.rb +7 -7
  26. data/spec/models/patchedansible_git_remote_spec.rb +20 -20
  27. metadata +120 -120
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cc6dca37f38c77cbae235a85946640c19ec0a5645243f53eaf09dcfa868d258b
4
- data.tar.gz: '09cce7855c193989e2c457f2ce58c0710e1635f2fa3b8741f3c066fd65b413b4'
3
+ metadata.gz: 915a96e7210f046eb566fa0ea23a3f9e7542fa9d181a6ab9534d85a9f28490b9
4
+ data.tar.gz: 760d000610239f266036c0f86f7bde9c211239e13884ab85c01fd24ca40cf12a
5
5
  SHA512:
6
- metadata.gz: 55ffde4ab6f6660245ab5b2e60b83a627a84685121a7996ee75235924dcb4aab07eb64a9ca55981a56af16fa1b1b47e30eabc61b9c6313404442be63785b86a7
7
- data.tar.gz: 94ed4f07f88450d3b36f50e2d2f1db0389e5fdda4c4235eafc6fff424ef6fbe6cd7f4a1a5a68184fe201bd8c71703199ace00bde6dc82b6d08be78b6b9b50c7f
6
+ metadata.gz: 9ce6c677d1b2143798350244fcfff6287a9f2559a8402642a1f06d15dcccff161fd2b4eec95b78d4de133b93226a2a3f282f7b0710523b0dfea171486fdd3afc
7
+ data.tar.gz: 130e68bb3cae95e1a13443769350c670969750a8d0eea48d4377997258fb621243bf44c98bd405f9dc28cc0daf6246a9ffcf5c96e8750d94c59e575b610fff43
data/README.md CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 0.28.7
10
+ - Package version: 0.28.8
11
11
  - Generator version: 7.10.0
12
12
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
13
13
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
@@ -25,16 +25,16 @@ gem build pulp_ansible_client.gemspec
25
25
  Then either install the gem locally:
26
26
 
27
27
  ```shell
28
- gem install ./pulp_ansible_client-0.28.7.gem
28
+ gem install ./pulp_ansible_client-0.28.8.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./pulp_ansible_client-0.28.7.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulp_ansible_client-0.28.8.gem` to install the development dependencies)
32
32
 
33
33
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
34
34
 
35
35
  Finally add this to the Gemfile:
36
36
 
37
- gem 'pulp_ansible_client', '~> 0.28.7'
37
+ gem 'pulp_ansible_client', '~> 0.28.8'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -4,13 +4,13 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **pulp_href** | **String** | | [optional][readonly] |
8
+ | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
7
9
  | **artifact** | **String** | Artifact file representing the physical content | [optional] |
8
10
  | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
9
- | **pulp_href** | **String** | | [optional][readonly] |
11
+ | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
10
12
  | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
11
13
  | **vuln_report** | **String** | | [optional][readonly] |
12
- | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
13
- | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
14
14
  | **sha256** | **String** | The SHA-256 checksum if available. | [optional][readonly] |
15
15
  | **md5** | **String** | The MD5 checksum if available. | [optional][readonly] |
16
16
  | **sha1** | **String** | The SHA-1 checksum if available. | [optional][readonly] |
@@ -38,13 +38,13 @@
38
38
  require 'pulp_ansible_client'
39
39
 
40
40
  instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(
41
+ pulp_href: null,
42
+ pulp_last_updated: null,
41
43
  artifact: null,
42
44
  pulp_created: null,
43
- pulp_href: null,
45
+ pulp_labels: null,
44
46
  prn: null,
45
47
  vuln_report: null,
46
- pulp_labels: null,
47
- pulp_last_updated: null,
48
48
  sha256: null,
49
49
  md5: null,
50
50
  sha1: null,
@@ -4,26 +4,26 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
7
8
  | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
8
- | **name** | **String** | A unique name for this remote. | |
9
+ | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
9
10
  | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
11
+ | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
12
+ | **pulp_labels** | **Hash<String, String>** | | [optional] |
13
+ | **url** | **String** | The URL of an external content source. | |
14
+ | **sock_connect_timeout** | **Float** | 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. | [optional] |
15
+ | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
16
+ | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
10
17
  | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
11
18
  | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
12
- | **sock_connect_timeout** | **Float** | 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. | [optional] |
13
19
  | **sock_read_timeout** | **Float** | 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. | [optional] |
14
- | **url** | **String** | The URL of an external content source. | |
15
- | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
16
- | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
17
- | **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
18
- | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
19
- | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
20
- | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
21
20
  | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
22
21
  | **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
23
- | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
24
- | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
25
- | **pulp_labels** | **Hash<String, String>** | | [optional] |
26
22
  | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
23
+ | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
24
+ | **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
25
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
26
+ | **name** | **String** | A unique name for this remote. | |
27
27
  | **metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional] |
28
28
  | **git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional] |
29
29
 
@@ -33,26 +33,26 @@
33
33
  require 'pulp_ansible_client'
34
34
 
35
35
  instance = PulpAnsibleClient::AnsibleGitRemote.new(
36
+ ca_cert: null,
36
37
  proxy_username: null,
37
- name: null,
38
+ proxy_password: null,
38
39
  password: null,
40
+ tls_validation: null,
41
+ pulp_labels: null,
42
+ url: null,
43
+ sock_connect_timeout: null,
44
+ max_retries: null,
45
+ proxy_url: null,
39
46
  headers: null,
40
47
  client_cert: null,
41
- sock_connect_timeout: null,
42
48
  sock_read_timeout: null,
43
- url: null,
44
- ca_cert: null,
45
- tls_validation: null,
46
- total_timeout: null,
47
- client_key: null,
48
- proxy_password: null,
49
- max_retries: null,
50
49
  username: null,
51
50
  connect_timeout: null,
52
- proxy_url: null,
53
- download_concurrency: null,
54
- pulp_labels: null,
55
51
  rate_limit: null,
52
+ client_key: null,
53
+ total_timeout: null,
54
+ download_concurrency: null,
55
+ name: null,
56
56
  metadata_only: null,
57
57
  git_ref: null
58
58
  )
@@ -4,26 +4,26 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **pulp_href** | **String** | | [optional][readonly] |
8
+ | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
9
+ | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
10
+ | **pulp_labels** | **Hash<String, String>** | | [optional] |
11
+ | **url** | **String** | The URL of an external content source. | |
7
12
  | **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
8
- | **name** | **String** | A unique name for this remote. | |
9
- | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
10
- | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
11
13
  | **sock_connect_timeout** | **Float** | 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. | [optional] |
12
- | **sock_read_timeout** | **Float** | 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. | [optional] |
13
- | **url** | **String** | The URL of an external content source. | |
14
- | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
14
+ | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
15
+ | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
15
16
  | **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
16
- | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
17
- | **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
18
17
  | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
19
- | **pulp_href** | **String** | | [optional][readonly] |
20
- | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
18
+ | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
19
+ | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
20
+ | **sock_read_timeout** | **Float** | 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. | [optional] |
21
21
  | **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
22
+ | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
22
23
  | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
23
- | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
24
+ | **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
24
25
  | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
25
- | **pulp_labels** | **Hash<String, String>** | | [optional] |
26
- | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
26
+ | **name** | **String** | A unique name for this remote. | |
27
27
  | **metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional] |
28
28
  | **git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional] |
29
29
 
@@ -33,26 +33,26 @@
33
33
  require 'pulp_ansible_client'
34
34
 
35
35
  instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(
36
+ pulp_href: null,
37
+ ca_cert: null,
38
+ tls_validation: null,
39
+ pulp_labels: null,
40
+ url: null,
36
41
  hidden_fields: null,
37
- name: null,
38
- headers: null,
39
- client_cert: null,
40
42
  sock_connect_timeout: null,
41
- sock_read_timeout: null,
42
- url: null,
43
- ca_cert: null,
43
+ max_retries: null,
44
+ proxy_url: null,
44
45
  pulp_last_updated: null,
45
- tls_validation: null,
46
- total_timeout: null,
47
46
  pulp_created: null,
48
- pulp_href: null,
49
- max_retries: null,
47
+ headers: null,
48
+ client_cert: null,
49
+ sock_read_timeout: null,
50
50
  connect_timeout: null,
51
+ rate_limit: null,
51
52
  prn: null,
52
- proxy_url: null,
53
+ total_timeout: null,
53
54
  download_concurrency: null,
54
- pulp_labels: null,
55
- rate_limit: null,
55
+ name: null,
56
56
  metadata_only: null,
57
57
  git_ref: null
58
58
  )
@@ -4,13 +4,13 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **pulp_href** | **String** | | [optional][readonly] |
8
+ | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
7
9
  | **artifact** | **String** | Artifact file representing the physical content | |
8
10
  | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
9
- | **pulp_href** | **String** | | [optional][readonly] |
11
+ | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
10
12
  | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
11
13
  | **vuln_report** | **String** | | [optional][readonly] |
12
- | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
13
- | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
14
14
  | **version** | **String** | | |
15
15
  | **name** | **String** | | |
16
16
  | **namespace** | **String** | | |
@@ -21,13 +21,13 @@
21
21
  require 'pulp_ansible_client'
22
22
 
23
23
  instance = PulpAnsibleClient::AnsibleRoleResponse.new(
24
+ pulp_href: null,
25
+ pulp_last_updated: null,
24
26
  artifact: null,
25
27
  pulp_created: null,
26
- pulp_href: null,
28
+ pulp_labels: null,
27
29
  prn: null,
28
30
  vuln_report: null,
29
- pulp_labels: null,
30
- pulp_last_updated: null,
31
31
  version: null,
32
32
  name: null,
33
33
  namespace: null
@@ -34,10 +34,10 @@ end
34
34
  api_instance = PulpAnsibleClient::ContentCollectionVersionsApi.new
35
35
  opts = {
36
36
  x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
37
- file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
38
37
  artifact: 'artifact_example', # String | Artifact file representing the physical content
39
38
  repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
40
39
  pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
40
+ file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
41
41
  upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
42
42
  file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
43
43
  expected_name: 'expected_name_example', # String | The name of the collection.
@@ -77,10 +77,10 @@ end
77
77
  | Name | Type | Description | Notes |
78
78
  | ---- | ---- | ----------- | ----- |
79
79
  | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
80
- | **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
81
80
  | **artifact** | **String** | Artifact file representing the physical content | [optional] |
82
81
  | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
83
82
  | **pulp_labels** | [**Hash&lt;String, String&gt;**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
83
+ | **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
84
84
  | **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
85
85
  | **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
86
86
  | **expected_name** | **String** | The name of the collection. | [optional] |
@@ -4,26 +4,26 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
7
8
  | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
8
- | **name** | **String** | A unique name for this remote. | [optional] |
9
+ | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
9
10
  | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
11
+ | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
12
+ | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
13
+ | **url** | **String** | The URL of an external content source. | [optional] |
14
+ | **sock_connect_timeout** | **Float** | 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. | [optional] |
15
+ | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
16
+ | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
10
17
  | **headers** | **Array&lt;Object&gt;** | Headers for aiohttp.Clientsession | [optional] |
11
18
  | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
12
- | **sock_connect_timeout** | **Float** | 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. | [optional] |
13
19
  | **sock_read_timeout** | **Float** | 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. | [optional] |
14
- | **url** | **String** | The URL of an external content source. | [optional] |
15
- | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
16
- | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
17
- | **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
18
- | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
19
- | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
20
- | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
21
20
  | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
22
21
  | **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
23
- | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
24
- | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
25
- | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
26
22
  | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
23
+ | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
24
+ | **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
25
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
26
+ | **name** | **String** | A unique name for this remote. | [optional] |
27
27
  | **metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional] |
28
28
  | **git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional] |
29
29
 
@@ -33,26 +33,26 @@
33
33
  require 'pulp_ansible_client'
34
34
 
35
35
  instance = PulpAnsibleClient::PatchedansibleGitRemote.new(
36
+ ca_cert: null,
36
37
  proxy_username: null,
37
- name: null,
38
+ proxy_password: null,
38
39
  password: null,
40
+ tls_validation: null,
41
+ pulp_labels: null,
42
+ url: null,
43
+ sock_connect_timeout: null,
44
+ max_retries: null,
45
+ proxy_url: null,
39
46
  headers: null,
40
47
  client_cert: null,
41
- sock_connect_timeout: null,
42
48
  sock_read_timeout: null,
43
- url: null,
44
- ca_cert: null,
45
- tls_validation: null,
46
- total_timeout: null,
47
- client_key: null,
48
- proxy_password: null,
49
- max_retries: null,
50
49
  username: null,
51
50
  connect_timeout: null,
52
- proxy_url: null,
53
- download_concurrency: null,
54
- pulp_labels: null,
55
51
  rate_limit: null,
52
+ client_key: null,
53
+ total_timeout: null,
54
+ download_concurrency: null,
55
+ name: null,
56
56
  metadata_only: null,
57
57
  git_ref: null
58
58
  )
@@ -115,7 +115,7 @@ PulpAnsibleClient.configure do |config|
115
115
  end
116
116
 
117
117
  api_instance = PulpAnsibleClient::RemotesGitApi.new
118
- ansible_git_remote = PulpAnsibleClient::AnsibleGitRemote.new({name: 'name_example', url: 'url_example'}) # AnsibleGitRemote |
118
+ ansible_git_remote = PulpAnsibleClient::AnsibleGitRemote.new({url: 'url_example', name: 'name_example'}) # AnsibleGitRemote |
119
119
  opts = {
120
120
  x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
121
121
  }
@@ -926,7 +926,7 @@ end
926
926
 
927
927
  api_instance = PulpAnsibleClient::RemotesGitApi.new
928
928
  ansible_git_remote_href = 'ansible_git_remote_href_example' # String |
929
- ansible_git_remote = PulpAnsibleClient::AnsibleGitRemote.new({name: 'name_example', url: 'url_example'}) # AnsibleGitRemote |
929
+ ansible_git_remote = PulpAnsibleClient::AnsibleGitRemote.new({url: 'url_example', name: 'name_example'}) # AnsibleGitRemote |
930
930
  opts = {
931
931
  x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
932
932
  }
@@ -23,10 +23,10 @@ module PulpAnsibleClient
23
23
  # Trigger an asynchronous task to create content,optionally create new repository version.
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
26
- # @option opts [File] :file An uploaded file that may be turned into the content unit.
27
26
  # @option opts [String] :artifact Artifact file representing the physical content
28
27
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
29
28
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
29
+ # @option opts [File] :file An uploaded file that may be turned into the content unit.
30
30
  # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
31
31
  # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
32
32
  # @option opts [String] :expected_name The name of the collection.
@@ -42,10 +42,10 @@ module PulpAnsibleClient
42
42
  # Trigger an asynchronous task to create content,optionally create new repository version.
43
43
  # @param [Hash] opts the optional parameters
44
44
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
45
- # @option opts [File] :file An uploaded file that may be turned into the content unit.
46
45
  # @option opts [String] :artifact Artifact file representing the physical content
47
46
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
48
47
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
48
+ # @option opts [File] :file An uploaded file that may be turned into the content unit.
49
49
  # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
50
50
  # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
51
51
  # @option opts [String] :expected_name The name of the collection.
@@ -103,10 +103,10 @@ module PulpAnsibleClient
103
103
 
104
104
  # form parameters
105
105
  form_params = opts[:form_params] || {}
106
- form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
107
106
  form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
108
107
  form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
109
108
  form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
109
+ form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
110
110
  form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
111
111
  form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
112
112
  form_params['expected_name'] = opts[:'expected_name'] if !opts[:'expected_name'].nil?
@@ -74,7 +74,7 @@ module PulpAnsibleClient
74
74
  fail ArgumentError, 'invalid value for "name" when calling PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.create, the character length must be great than or equal to 3.'
75
75
  end
76
76
 
77
- pattern = Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
77
+ pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
78
78
  if @api_client.config.client_side_validation && name !~ pattern
79
79
  fail ArgumentError, "invalid value for 'name' when calling PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.create, must conform to the pattern #{pattern}."
80
80
  end
@@ -438,7 +438,7 @@ module PulpAnsibleClient
438
438
  fail ArgumentError, 'invalid value for "opts[:"name2"]" when calling PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.partial_update, the character length must be great than or equal to 3.'
439
439
  end
440
440
 
441
- pattern = Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
441
+ pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
442
442
  if @api_client.config.client_side_validation && !opts[:'name2'].nil? && opts[:'name2'] !~ pattern
443
443
  fail ArgumentError, "invalid value for 'opts[:\"name2\"]' when calling PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.partial_update, must conform to the pattern #{pattern}."
444
444
  end
@@ -68,7 +68,7 @@ module PulpAnsibleClient
68
68
  fail ArgumentError, 'invalid value for "name" when calling PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.create, the character length must be great than or equal to 3.'
69
69
  end
70
70
 
71
- pattern = Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
71
+ pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
72
72
  if @api_client.config.client_side_validation && name !~ pattern
73
73
  fail ArgumentError, "invalid value for 'name' when calling PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.create, must conform to the pattern #{pattern}."
74
74
  end
@@ -414,7 +414,7 @@ module PulpAnsibleClient
414
414
  fail ArgumentError, 'invalid value for "opts[:"name2"]" when calling PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.partial_update, the character length must be great than or equal to 3.'
415
415
  end
416
416
 
417
- pattern = Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
417
+ pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
418
418
  if @api_client.config.client_side_validation && !opts[:'name2'].nil? && opts[:'name2'] !~ pattern
419
419
  fail ArgumentError, "invalid value for 'opts[:\"name2\"]' when calling PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.partial_update, must conform to the pattern #{pattern}."
420
420
  end
@@ -139,7 +139,7 @@ module PulpAnsibleClient
139
139
  invalid_properties.push('invalid value for "name", the character length must be great than or equal to 3.')
140
140
  end
141
141
 
142
- pattern = Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
142
+ pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
143
143
  if @name !~ pattern
144
144
  invalid_properties.push("invalid value for \"name\", must conform to the pattern #{pattern}.")
145
145
  end
@@ -166,7 +166,7 @@ module PulpAnsibleClient
166
166
  return false if @name.nil?
167
167
  return false if @name.to_s.length > 64
168
168
  return false if @name.to_s.length < 3
169
- return false if @name !~ Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
169
+ return false if @name !~ Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
170
170
  return false if !@company.nil? && @company.to_s.length > 64
171
171
  return false if !@email.nil? && @email.to_s.length > 256
172
172
  return false if !@description.nil? && @description.to_s.length > 256
@@ -188,7 +188,7 @@ module PulpAnsibleClient
188
188
  fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 3.'
189
189
  end
190
190
 
191
- pattern = Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
191
+ pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
192
192
  if name !~ pattern
193
193
  fail ArgumentError, "invalid value for \"name\", must conform to the pattern #{pattern}."
194
194
  end
@@ -164,7 +164,7 @@ module PulpAnsibleClient
164
164
  invalid_properties.push('invalid value for "name", the character length must be great than or equal to 3.')
165
165
  end
166
166
 
167
- pattern = Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
167
+ pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
168
168
  if @name !~ pattern
169
169
  invalid_properties.push("invalid value for \"name\", must conform to the pattern #{pattern}.")
170
170
  end
@@ -195,7 +195,7 @@ module PulpAnsibleClient
195
195
  return false if @name.nil?
196
196
  return false if @name.to_s.length > 64
197
197
  return false if @name.to_s.length < 3
198
- return false if @name !~ Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
198
+ return false if @name !~ Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
199
199
  return false if !@company.nil? && @company.to_s.length > 64
200
200
  return false if !@email.nil? && @email.to_s.length > 256
201
201
  return false if !@description.nil? && @description.to_s.length > 256
@@ -218,7 +218,7 @@ module PulpAnsibleClient
218
218
  fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 3.'
219
219
  end
220
220
 
221
- pattern = Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
221
+ pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
222
222
  if name !~ pattern
223
223
  fail ArgumentError, "invalid value for \"name\", must conform to the pattern #{pattern}."
224
224
  end