pulp_ansible_client 0.28.7 → 0.28.9

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 (29) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/AnsibleCollectionVersionResponse.md +8 -8
  4. data/docs/AnsibleGitRemote.md +28 -28
  5. data/docs/AnsibleGitRemoteResponse.md +28 -28
  6. data/docs/AnsibleRole.md +2 -2
  7. data/docs/AnsibleRoleResponse.md +8 -8
  8. data/docs/ContentCollectionVersionsApi.md +6 -6
  9. data/docs/PatchedansibleGitRemote.md +28 -28
  10. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -9
  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 +37 -37
  16. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +237 -237
  17. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +162 -162
  18. data/lib/pulp_ansible_client/models/ansible_role.rb +13 -13
  19. data/lib/pulp_ansible_client/models/ansible_role_response.rb +39 -39
  20. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +231 -231
  21. data/lib/pulp_ansible_client/version.rb +1 -1
  22. data/spec/api/content_collection_versions_api_spec.rb +3 -3
  23. data/spec/models/ansible_collection_version_response_spec.rb +6 -6
  24. data/spec/models/ansible_git_remote_response_spec.rb +20 -20
  25. data/spec/models/ansible_git_remote_spec.rb +20 -20
  26. data/spec/models/ansible_role_response_spec.rb +6 -6
  27. data/spec/models/ansible_role_spec.rb +3 -3
  28. data/spec/models/patchedansible_git_remote_spec.rb +20 -20
  29. metadata +118 -118
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cc6dca37f38c77cbae235a85946640c19ec0a5645243f53eaf09dcfa868d258b
4
- data.tar.gz: '09cce7855c193989e2c457f2ce58c0710e1635f2fa3b8741f3c066fd65b413b4'
3
+ metadata.gz: eee48bd682e223f593caf05342e50749b0e8f63a45ae03011abbaed00e7dd2d7
4
+ data.tar.gz: 1dbb107cdfbabff55f9aa265a44e675d7a89511d7e7675c19413a071ba4807c8
5
5
  SHA512:
6
- metadata.gz: 55ffde4ab6f6660245ab5b2e60b83a627a84685121a7996ee75235924dcb4aab07eb64a9ca55981a56af16fa1b1b47e30eabc61b9c6313404442be63785b86a7
7
- data.tar.gz: 94ed4f07f88450d3b36f50e2d2f1db0389e5fdda4c4235eafc6fff424ef6fbe6cd7f4a1a5a68184fe201bd8c71703199ace00bde6dc82b6d08be78b6b9b50c7f
6
+ metadata.gz: 2bd360cb4a8692f91aecc671d44eef959e205cda330ad78f36e480df7f252fad5fc1183df32b3cfa59102fdc4b4cefb4eca8324f8c4c906c3888f6048a492a5a
7
+ data.tar.gz: d88cd356b629e84a9529712a462d72765a5bf1735cbd7c7568598a4e8b39f25336794b730e989b06f2f3b5c37cd572b8ebfbc87e22d3f0ea43c16c9886a46499
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.9
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.9.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.9.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.9'
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_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] |
8
+ | **pulp_href** | **String** | | [optional][readonly] |
9
+ | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
7
10
  | **artifact** | **String** | Artifact file representing the physical content | [optional] |
11
+ | **vuln_report** | **String** | | [optional][readonly] |
8
12
  | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
9
- | **pulp_href** | **String** | | [optional][readonly] |
10
13
  | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
11
- | **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_last_updated: null,
42
+ pulp_href: null,
43
+ pulp_labels: null,
41
44
  artifact: null,
45
+ vuln_report: null,
42
46
  pulp_created: null,
43
- pulp_href: null,
44
47
  prn: null,
45
- 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
- | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
8
- | **name** | **String** | A unique name for this remote. | |
7
+ | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
8
+ | **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] |
9
+ | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
9
10
  | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
10
- | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
11
- | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
12
11
  | **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
+ | **name** | **String** | A unique name for this remote. | |
13
+ | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
14
+ | **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] |
15
+ | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
16
+ | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
17
+ | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
18
+ | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
19
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
13
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
+ | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
22
+ | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
23
+ | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
14
24
  | **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
25
  | **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
- | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
22
- | **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
26
  | **pulp_labels** | **Hash<String, String>** | | [optional] |
26
- | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [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::AnsibleGitRemote.new(
36
- proxy_username: null,
37
- name: null,
36
+ rate_limit: null,
37
+ total_timeout: null,
38
+ max_retries: null,
38
39
  password: null,
39
- headers: null,
40
- client_cert: null,
41
40
  sock_connect_timeout: null,
41
+ name: null,
42
+ proxy_username: null,
43
+ connect_timeout: null,
44
+ proxy_password: null,
45
+ client_cert: null,
46
+ client_key: null,
47
+ ca_cert: null,
48
+ download_concurrency: null,
42
49
  sock_read_timeout: null,
50
+ proxy_url: null,
51
+ headers: null,
52
+ username: null,
43
53
  url: null,
44
- ca_cert: null,
45
54
  tls_validation: null,
46
- total_timeout: null,
47
- client_key: null,
48
- proxy_password: null,
49
- max_retries: null,
50
- username: null,
51
- connect_timeout: null,
52
- proxy_url: null,
53
- download_concurrency: null,
54
55
  pulp_labels: null,
55
- rate_limit: 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
- | **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
- | **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] |
15
7
  | **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
- | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
8
+ | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
19
9
  | **pulp_href** | **String** | | [optional][readonly] |
10
+ | **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] |
20
11
  | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [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
+ | **name** | **String** | A unique name for this remote. | |
14
+ | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
21
15
  | **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
- | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
23
- | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
16
+ | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
17
+ | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
18
+ | **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
24
19
  | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [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
+ | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
22
+ | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
23
+ | **url** | **String** | The URL of an external content source. | |
24
+ | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
25
+ | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
25
26
  | **pulp_labels** | **Hash<String, String>** | | [optional] |
26
- | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [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::AnsibleGitRemoteResponse.new(
36
- hidden_fields: null,
37
- name: null,
38
- headers: null,
39
- client_cert: null,
40
- sock_connect_timeout: null,
41
- sock_read_timeout: null,
42
- url: null,
43
- ca_cert: null,
44
36
  pulp_last_updated: null,
45
- tls_validation: null,
46
- total_timeout: null,
47
- pulp_created: null,
37
+ rate_limit: null,
48
38
  pulp_href: null,
39
+ total_timeout: null,
49
40
  max_retries: null,
41
+ sock_connect_timeout: null,
42
+ name: null,
43
+ pulp_created: null,
50
44
  connect_timeout: null,
51
- prn: null,
52
- proxy_url: null,
45
+ client_cert: null,
46
+ ca_cert: null,
47
+ hidden_fields: null,
53
48
  download_concurrency: null,
49
+ sock_read_timeout: null,
50
+ proxy_url: null,
51
+ headers: null,
52
+ url: null,
53
+ prn: null,
54
+ tls_validation: null,
54
55
  pulp_labels: null,
55
- rate_limit: null,
56
56
  metadata_only: null,
57
57
  git_ref: null
58
58
  )
data/docs/AnsibleRole.md CHANGED
@@ -4,9 +4,9 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
7
8
  | **artifact** | **String** | Artifact file representing the physical content | |
8
9
  | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
9
- | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
10
10
  | **version** | **String** | | |
11
11
  | **name** | **String** | | |
12
12
  | **namespace** | **String** | | |
@@ -17,9 +17,9 @@
17
17
  require 'pulp_ansible_client'
18
18
 
19
19
  instance = PulpAnsibleClient::AnsibleRole.new(
20
+ pulp_labels: null,
20
21
  artifact: null,
21
22
  repository: null,
22
- pulp_labels: null,
23
23
  version: null,
24
24
  name: null,
25
25
  namespace: null
@@ -4,13 +4,13 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **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] |
8
+ | **pulp_href** | **String** | | [optional][readonly] |
9
+ | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
7
10
  | **artifact** | **String** | Artifact file representing the physical content | |
11
+ | **vuln_report** | **String** | | [optional][readonly] |
8
12
  | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
9
- | **pulp_href** | **String** | | [optional][readonly] |
10
13
  | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
11
- | **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_last_updated: null,
25
+ pulp_href: null,
26
+ pulp_labels: null,
24
27
  artifact: null,
28
+ vuln_report: null,
25
29
  pulp_created: null,
26
- pulp_href: null,
27
30
  prn: null,
28
- vuln_report: null,
29
- pulp_labels: null,
30
- pulp_last_updated: null,
31
31
  version: null,
32
32
  name: null,
33
33
  namespace: null
@@ -35,11 +35,11 @@ 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
37
  file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
38
- artifact: 'artifact_example', # String | Artifact file representing the physical content
39
- repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
38
+ file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
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
+ artifact: 'artifact_example', # String | Artifact file representing the physical content
41
41
  upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
42
- file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
42
+ repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
43
43
  expected_name: 'expected_name_example', # String | The name of the collection.
44
44
  expected_namespace: 'expected_namespace_example', # String | The namespace of the collection.
45
45
  expected_version: 'expected_version_example' # String | The version of the collection.
@@ -78,11 +78,11 @@ end
78
78
  | ---- | ---- | ----------- | ----- |
79
79
  | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
80
80
  | **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
81
- | **artifact** | **String** | Artifact file representing the physical content | [optional] |
82
- | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
81
+ | **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [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
+ | **artifact** | **String** | Artifact file representing the physical content | [optional] |
84
84
  | **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
85
- | **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
85
+ | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
86
86
  | **expected_name** | **String** | The name of the collection. | [optional] |
87
87
  | **expected_namespace** | **String** | The namespace of the collection. | [optional] |
88
88
  | **expected_version** | **String** | The version of the collection. | [optional] |
@@ -4,26 +4,26 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
8
- | **name** | **String** | A unique name for this remote. | [optional] |
7
+ | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
8
+ | **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] |
9
+ | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
9
10
  | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
10
- | **headers** | **Array&lt;Object&gt;** | Headers for aiohttp.Clientsession | [optional] |
11
- | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
12
11
  | **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
+ | **name** | **String** | A unique name for this remote. | [optional] |
13
+ | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
14
+ | **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] |
15
+ | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
16
+ | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
17
+ | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
18
+ | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
19
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
13
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
+ | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
22
+ | **headers** | **Array&lt;Object&gt;** | Headers for aiohttp.Clientsession | [optional] |
23
+ | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
14
24
  | **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
25
  | **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
- | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
22
- | **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
26
  | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
26
- | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [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
- proxy_username: null,
37
- name: null,
36
+ rate_limit: null,
37
+ total_timeout: null,
38
+ max_retries: null,
38
39
  password: null,
39
- headers: null,
40
- client_cert: null,
41
40
  sock_connect_timeout: null,
41
+ name: null,
42
+ proxy_username: null,
43
+ connect_timeout: null,
44
+ proxy_password: null,
45
+ client_cert: null,
46
+ client_key: null,
47
+ ca_cert: null,
48
+ download_concurrency: null,
42
49
  sock_read_timeout: null,
50
+ proxy_url: null,
51
+ headers: null,
52
+ username: null,
43
53
  url: null,
44
- ca_cert: null,
45
54
  tls_validation: null,
46
- total_timeout: null,
47
- client_key: null,
48
- proxy_password: null,
49
- max_retries: null,
50
- username: null,
51
- connect_timeout: null,
52
- proxy_url: null,
53
- download_concurrency: null,
54
55
  pulp_labels: null,
55
- rate_limit: null,
56
56
  metadata_only: null,
57
57
  git_ref: null
58
58
  )
@@ -24,11 +24,11 @@ module PulpAnsibleClient
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
26
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
27
- # @option opts [String] :artifact Artifact file representing the physical content
28
- # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
27
+ # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
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 [String] :artifact Artifact file representing the physical content
30
30
  # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
31
- # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
31
+ # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
32
32
  # @option opts [String] :expected_name The name of the collection.
33
33
  # @option opts [String] :expected_namespace The namespace of the collection.
34
34
  # @option opts [String] :expected_version The version of the collection.
@@ -43,11 +43,11 @@ module PulpAnsibleClient
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
45
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
46
- # @option opts [String] :artifact Artifact file representing the physical content
47
- # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
46
+ # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
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 [String] :artifact Artifact file representing the physical content
49
49
  # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
50
- # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
50
+ # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
51
51
  # @option opts [String] :expected_name The name of the collection.
52
52
  # @option opts [String] :expected_namespace The namespace of the collection.
53
53
  # @option opts [String] :expected_version The version of the collection.
@@ -104,11 +104,11 @@ module PulpAnsibleClient
104
104
  # form parameters
105
105
  form_params = opts[:form_params] || {}
106
106
  form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
107
- form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
108
- form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
107
+ form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
109
108
  form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
109
+ form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
110
110
  form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
111
- form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
111
+ form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
112
112
  form_params['expected_name'] = opts[:'expected_name'] if !opts[:'expected_name'].nil?
113
113
  form_params['expected_namespace'] = opts[:'expected_namespace'] if !opts[:'expected_namespace'].nil?
114
114
  form_params['expected_version'] = opts[:'expected_version'] if !opts[:'expected_version'].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