pulp_ansible_client 0.22.8 → 0.22.10

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 (30) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/AnsibleCollectionVersion.md +4 -4
  4. data/docs/AnsibleCollectionVersionResponse.md +3 -3
  5. data/docs/AnsibleGitRemote.md +26 -26
  6. data/docs/AnsibleGitRemoteResponse.md +29 -29
  7. data/docs/AnsibleRoleResponse.md +5 -5
  8. data/docs/ContentCollectionVersionsApi.md +4 -4
  9. data/docs/PatchedansibleGitRemote.md +26 -26
  10. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +6 -6
  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.rb +18 -18
  16. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +11 -11
  17. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +244 -244
  18. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +147 -147
  19. data/lib/pulp_ansible_client/models/ansible_role_response.rb +18 -18
  20. data/lib/pulp_ansible_client/models/patchedansible_ansible_namespace_metadata.rb +3 -3
  21. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +235 -235
  22. data/lib/pulp_ansible_client/version.rb +1 -1
  23. data/spec/api/content_collection_versions_api_spec.rb +2 -2
  24. data/spec/models/ansible_collection_version_response_spec.rb +3 -3
  25. data/spec/models/ansible_collection_version_spec.rb +3 -3
  26. data/spec/models/ansible_git_remote_response_spec.rb +20 -20
  27. data/spec/models/ansible_git_remote_spec.rb +19 -19
  28. data/spec/models/ansible_role_response_spec.rb +5 -5
  29. data/spec/models/patchedansible_git_remote_spec.rb +19 -19
  30. metadata +128 -128
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 13713308b35445817b2d678d3c2058d41e2aa71641584d09eac00b05595c33ad
4
- data.tar.gz: d9555b4d4d7d25a6113dae853932de81924d0d51172bc4f42cc081bdbbf64258
3
+ metadata.gz: 19eec759fd613b5483b393c7f174e502f8d2d0e494a1a7b2af1ba21a04510fc7
4
+ data.tar.gz: 42cd492b3193d4eb53b2d24f072e1785507e654fb64c9b5d92b4785bdf8324a7
5
5
  SHA512:
6
- metadata.gz: 5a65d5b7e4f5b8b91110cd93dcbfa64235d269b6105db404d007f863ff30b0e115331d19018cb1de8f9dec5662ad6f23ac9fc015831710b73a92dc863e2eb262
7
- data.tar.gz: a66557a3365e473649e2a8634fda3fc070d6ce0d2b70a876d5a464806b2c1bd1050c03c1e9e69a681c7261f3abacb6b4953f66eabed655a3ce093814aa9185ab
6
+ metadata.gz: 24641a4e70cb1a240780e50619d4158f31924ef830413ea879adf57004812f530c7ce069f131dff800f372d186b1f8f1e1db965461887ed9551cb435afb6a10c
7
+ data.tar.gz: a118f1d85240aa1c31e39fad6eb1d74efd4c65b33ba29c6a13bd8fe6f1e697b0ace278b459b61a62e9b33ec707952a2dce758965a5beae8c91bffe7fd5220e6e
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.22.8
10
+ - Package version: 0.22.10
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
13
13
 
@@ -24,16 +24,16 @@ gem build pulp_ansible_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulp_ansible_client-0.22.8.gem
27
+ gem install ./pulp_ansible_client-0.22.10.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_ansible_client-0.22.8.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_ansible_client-0.22.10.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'pulp_ansible_client', '~> 0.22.8'
36
+ gem 'pulp_ansible_client', '~> 0.22.10'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -5,10 +5,10 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **artifact** | **String** | Artifact file representing the physical content | [optional]
8
- **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional]
9
8
  **file** | **File** | An uploaded file that may be turned into the content unit. | [optional]
10
- **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
11
9
  **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional]
10
+ **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
11
+ **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional]
12
12
  **expected_name** | **String** | The name of the collection. | [optional]
13
13
  **expected_namespace** | **String** | The namespace of the collection. | [optional]
14
14
  **expected_version** | **String** | The version of the collection. | [optional]
@@ -19,10 +19,10 @@ Name | Type | Description | Notes
19
19
  require 'PulpAnsibleClient'
20
20
 
21
21
  instance = PulpAnsibleClient::AnsibleCollectionVersion.new(artifact: null,
22
- file_url: null,
23
22
  file: null,
24
- repository: null,
25
23
  upload: null,
24
+ repository: null,
25
+ file_url: null,
26
26
  expected_name: null,
27
27
  expected_namespace: null,
28
28
  expected_version: null)
@@ -4,9 +4,9 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
+ **artifact** | **String** | Artifact file representing the physical content | [optional]
7
8
  **pulp_last_updated** | **DateTime** | 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
9
  **prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
9
- **artifact** | **String** | Artifact file representing the physical content | [optional]
10
10
  **pulp_href** | **String** | | [optional] [readonly]
11
11
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
12
12
  **sha256** | **String** | The SHA-256 checksum if available. | [optional] [readonly]
@@ -39,9 +39,9 @@ Name | Type | Description | Notes
39
39
  ```ruby
40
40
  require 'PulpAnsibleClient'
41
41
 
42
- instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(pulp_last_updated: null,
42
+ instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(artifact: null,
43
+ pulp_last_updated: null,
43
44
  prn: null,
44
- artifact: null,
45
45
  pulp_href: null,
46
46
  pulp_created: null,
47
47
  sha256: null,
@@ -4,26 +4,26 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **pulp_labels** | **Hash<String, String>** | | [optional]
8
- **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]
7
+ **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]
8
+ **name** | **String** | A unique name for this remote. |
9
+ **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]
10
+ **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
11
+ **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
9
12
  **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
10
- **url** | **String** | The URL of an external content source. |
11
13
  **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
12
- **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
13
- **username** | **String** | The username to be used for authentication when syncing. | [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]
14
+ **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
15
15
  **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
16
+ **proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
17
+ **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]
16
18
  **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
17
19
  **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
18
- **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]
19
- **name** | **String** | A unique name for this remote. |
20
- **proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
21
- **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
22
- **password** | **String** | The password to be used for authentication when syncing. 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
+ **pulp_labels** | **Hash<String, String>** | | [optional]
23
22
  **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
- **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
25
23
  **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
26
- **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
24
+ **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
25
+ **username** | **String** | The username to be used for authentication when syncing. | [optional]
26
+ **url** | **String** | The URL of an external content source. |
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
 
@@ -32,26 +32,26 @@ Name | Type | Description | Notes
32
32
  ```ruby
33
33
  require 'PulpAnsibleClient'
34
34
 
35
- instance = PulpAnsibleClient::AnsibleGitRemote.new(pulp_labels: null,
36
- sock_read_timeout: null,
35
+ instance = PulpAnsibleClient::AnsibleGitRemote.new(sock_connect_timeout: null,
36
+ name: null,
37
+ connect_timeout: null,
38
+ proxy_url: null,
39
+ password: null,
37
40
  headers: null,
38
- url: null,
39
41
  client_cert: null,
40
- tls_validation: null,
41
- username: null,
42
- sock_connect_timeout: null,
42
+ rate_limit: null,
43
43
  client_key: null,
44
+ proxy_username: null,
45
+ sock_read_timeout: null,
44
46
  ca_cert: null,
45
47
  proxy_password: null,
46
- connect_timeout: null,
47
- name: null,
48
- proxy_username: null,
49
- proxy_url: null,
50
- password: null,
48
+ max_retries: null,
49
+ pulp_labels: null,
51
50
  total_timeout: null,
52
- rate_limit: null,
53
51
  download_concurrency: null,
54
- max_retries: null,
52
+ tls_validation: null,
53
+ username: null,
54
+ url: null,
55
55
  metadata_only: null,
56
56
  git_ref: null)
57
57
  ```
@@ -4,26 +4,26 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
8
- **pulp_labels** | **Hash<String, String>** | | [optional]
9
- **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]
10
- **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
11
- **url** | **String** | The URL of an external content source. |
12
- **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
13
- **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
14
7
  **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]
8
+ **pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
9
+ **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFields>**](AnsibleCollectionRemoteResponseHiddenFields.md) | List of hidden (write only) fields | [optional] [readonly]
15
10
  **prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
16
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
17
- **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
18
- **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]
19
11
  **name** | **String** | A unique name for this remote. |
12
+ **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]
20
13
  **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
21
- **pulp_href** | **String** | | [optional] [readonly]
22
- **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]
14
+ **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
15
+ **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
23
16
  **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
24
- **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFields>**](AnsibleCollectionRemoteResponseHiddenFields.md) | List of hidden (write only) fields | [optional] [readonly]
25
- **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
17
+ **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]
18
+ **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
26
19
  **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
20
+ **pulp_labels** | **Hash<String, String>** | | [optional]
21
+ **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]
22
+ **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
23
+ **pulp_href** | **String** | | [optional] [readonly]
24
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
25
+ **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
26
+ **url** | **String** | The URL of an external content source. |
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
 
@@ -32,26 +32,26 @@ Name | Type | Description | Notes
32
32
  ```ruby
33
33
  require 'PulpAnsibleClient'
34
34
 
35
- instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(pulp_last_updated: null,
36
- pulp_labels: null,
37
- sock_read_timeout: null,
38
- headers: null,
39
- url: null,
40
- client_cert: null,
41
- tls_validation: null,
42
- sock_connect_timeout: null,
35
+ instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(sock_connect_timeout: null,
36
+ pulp_last_updated: null,
37
+ hidden_fields: null,
43
38
  prn: null,
44
- pulp_created: null,
45
- ca_cert: null,
46
- connect_timeout: null,
47
39
  name: null,
40
+ connect_timeout: null,
48
41
  proxy_url: null,
49
- pulp_href: null,
50
- total_timeout: null,
42
+ headers: null,
43
+ client_cert: null,
51
44
  rate_limit: null,
52
- hidden_fields: null,
53
- download_concurrency: null,
45
+ sock_read_timeout: null,
46
+ ca_cert: null,
54
47
  max_retries: null,
48
+ pulp_labels: null,
49
+ total_timeout: null,
50
+ download_concurrency: null,
51
+ pulp_href: null,
52
+ pulp_created: null,
53
+ tls_validation: null,
54
+ url: null,
55
55
  metadata_only: null,
56
56
  git_ref: null)
57
57
  ```
@@ -4,11 +4,11 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **pulp_last_updated** | **DateTime** | 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
7
  **artifact** | **String** | Artifact file representing the physical content |
8
+ **pulp_last_updated** | **DateTime** | 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]
9
+ **prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
9
10
  **pulp_href** | **String** | | [optional] [readonly]
10
11
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
11
- **prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
12
12
  **version** | **String** | |
13
13
  **name** | **String** | |
14
14
  **namespace** | **String** | |
@@ -18,11 +18,11 @@ Name | Type | Description | Notes
18
18
  ```ruby
19
19
  require 'PulpAnsibleClient'
20
20
 
21
- instance = PulpAnsibleClient::AnsibleRoleResponse.new(pulp_last_updated: null,
22
- artifact: null,
21
+ instance = PulpAnsibleClient::AnsibleRoleResponse.new(artifact: null,
22
+ pulp_last_updated: null,
23
+ prn: null,
23
24
  pulp_href: null,
24
25
  pulp_created: null,
25
- prn: null,
26
26
  version: null,
27
27
  name: null,
28
28
  namespace: null)
@@ -33,10 +33,10 @@ end
33
33
  api_instance = PulpAnsibleClient::ContentCollectionVersionsApi.new
34
34
  opts = {
35
35
  artifact: 'artifact_example', # String | Artifact file representing the physical content
36
- file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
37
36
  file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
38
- repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
39
37
  upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
38
+ repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
39
+ file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
40
40
  expected_name: 'expected_name_example', # String | The name of the collection.
41
41
  expected_namespace: 'expected_namespace_example', # String | The namespace of the collection.
42
42
  expected_version: 'expected_version_example' # String | The version of the collection.
@@ -57,10 +57,10 @@ end
57
57
  Name | Type | Description | Notes
58
58
  ------------- | ------------- | ------------- | -------------
59
59
  **artifact** | **String**| Artifact file representing the physical content | [optional]
60
- **file_url** | **String**| A url that Pulp can download and turn into the content unit. | [optional]
61
60
  **file** | **File**| An uploaded file that may be turned into the content unit. | [optional]
62
- **repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
63
61
  **upload** | **String**| An uncommitted upload that may be turned into the content unit. | [optional]
62
+ **repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
63
+ **file_url** | **String**| A url that Pulp can download and turn into the content unit. | [optional]
64
64
  **expected_name** | **String**| The name of the collection. | [optional]
65
65
  **expected_namespace** | **String**| The namespace of the collection. | [optional]
66
66
  **expected_version** | **String**| The version of the collection. | [optional]
@@ -4,26 +4,26 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **pulp_labels** | **Hash<String, String>** | | [optional]
8
- **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]
7
+ **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]
8
+ **name** | **String** | A unique name for this remote. | [optional]
9
+ **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]
10
+ **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
11
+ **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
9
12
  **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
10
- **url** | **String** | The URL of an external content source. | [optional]
11
13
  **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
12
- **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
13
- **username** | **String** | The username to be used for authentication when syncing. | [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]
14
+ **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
15
15
  **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
16
+ **proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
17
+ **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]
16
18
  **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
17
19
  **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
18
- **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]
19
- **name** | **String** | A unique name for this remote. | [optional]
20
- **proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
21
- **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
22
- **password** | **String** | The password to be used for authentication when syncing. 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
+ **pulp_labels** | **Hash<String, String>** | | [optional]
23
22
  **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
- **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
25
23
  **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
26
- **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
24
+ **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
25
+ **username** | **String** | The username to be used for authentication when syncing. | [optional]
26
+ **url** | **String** | The URL of an external content source. | [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
 
@@ -32,26 +32,26 @@ Name | Type | Description | Notes
32
32
  ```ruby
33
33
  require 'PulpAnsibleClient'
34
34
 
35
- instance = PulpAnsibleClient::PatchedansibleGitRemote.new(pulp_labels: null,
36
- sock_read_timeout: null,
35
+ instance = PulpAnsibleClient::PatchedansibleGitRemote.new(sock_connect_timeout: null,
36
+ name: null,
37
+ connect_timeout: null,
38
+ proxy_url: null,
39
+ password: null,
37
40
  headers: null,
38
- url: null,
39
41
  client_cert: null,
40
- tls_validation: null,
41
- username: null,
42
- sock_connect_timeout: null,
42
+ rate_limit: null,
43
43
  client_key: null,
44
+ proxy_username: null,
45
+ sock_read_timeout: null,
44
46
  ca_cert: null,
45
47
  proxy_password: null,
46
- connect_timeout: null,
47
- name: null,
48
- proxy_username: null,
49
- proxy_url: null,
50
- password: null,
48
+ max_retries: null,
49
+ pulp_labels: null,
51
50
  total_timeout: null,
52
- rate_limit: null,
53
51
  download_concurrency: null,
54
- max_retries: null,
52
+ tls_validation: null,
53
+ username: null,
54
+ url: null,
55
55
  metadata_only: null,
56
56
  git_ref: null)
57
57
  ```
@@ -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 [String] :artifact Artifact file representing the physical content
26
- # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
27
26
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
28
- # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
29
27
  # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
28
+ # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
29
+ # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
30
30
  # @option opts [String] :expected_name The name of the collection.
31
31
  # @option opts [String] :expected_namespace The namespace of the collection.
32
32
  # @option opts [String] :expected_version The version of the collection.
@@ -40,10 +40,10 @@ module PulpAnsibleClient
40
40
  # Trigger an asynchronous task to create content,optionally create new repository version.
41
41
  # @param [Hash] opts the optional parameters
42
42
  # @option opts [String] :artifact Artifact file representing the physical content
43
- # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
44
43
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
45
- # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
46
44
  # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
45
+ # @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.
47
47
  # @option opts [String] :expected_name The name of the collection.
48
48
  # @option opts [String] :expected_namespace The namespace of the collection.
49
49
  # @option opts [String] :expected_version The version of the collection.
@@ -96,10 +96,10 @@ module PulpAnsibleClient
96
96
  # form parameters
97
97
  form_params = opts[:form_params] || {}
98
98
  form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
99
- form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
100
99
  form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
101
- form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
102
100
  form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
101
+ form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
102
+ form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
103
103
  form_params['expected_name'] = opts[:'expected_name'] if !opts[:'expected_name'].nil?
104
104
  form_params['expected_namespace'] = opts[:'expected_namespace'] if !opts[:'expected_namespace'].nil?
105
105
  form_params['expected_version'] = opts[:'expected_version'] if !opts[:'expected_version'].nil?
@@ -72,7 +72,7 @@ module PulpAnsibleClient
72
72
  fail ArgumentError, 'invalid value for "name" when calling PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.create, the character length must be great than or equal to 3.'
73
73
  end
74
74
 
75
- pattern = Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
75
+ pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
76
76
  if @api_client.config.client_side_validation && name !~ pattern
77
77
  fail ArgumentError, "invalid value for 'name' when calling PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.create, must conform to the pattern #{pattern}."
78
78
  end
@@ -421,7 +421,7 @@ module PulpAnsibleClient
421
421
  fail ArgumentError, 'invalid value for "opts[:"name"]" when calling PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.partial_update, the character length must be great than or equal to 3.'
422
422
  end
423
423
 
424
- pattern = Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
424
+ pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
425
425
  if @api_client.config.client_side_validation && !opts[:'name'].nil? && opts[:'name'] !~ pattern
426
426
  fail ArgumentError, "invalid value for 'opts[:\"name\"]' when calling PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.partial_update, must conform to the pattern #{pattern}."
427
427
  end
@@ -66,7 +66,7 @@ module PulpAnsibleClient
66
66
  fail ArgumentError, 'invalid value for "name" when calling PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.create, the character length must be great than or equal to 3.'
67
67
  end
68
68
 
69
- pattern = Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
69
+ pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
70
70
  if @api_client.config.client_side_validation && name !~ pattern
71
71
  fail ArgumentError, "invalid value for 'name' when calling PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.create, must conform to the pattern #{pattern}."
72
72
  end
@@ -397,7 +397,7 @@ module PulpAnsibleClient
397
397
  fail ArgumentError, 'invalid value for "opts[:"name"]" when calling PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.partial_update, the character length must be great than or equal to 3.'
398
398
  end
399
399
 
400
- pattern = Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
400
+ pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
401
401
  if @api_client.config.client_side_validation && !opts[:'name'].nil? && opts[:'name'] !~ pattern
402
402
  fail ArgumentError, "invalid value for 'opts[:\"name\"]' when calling PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.partial_update, must conform to the pattern #{pattern}."
403
403
  end
@@ -130,7 +130,7 @@ module PulpAnsibleClient
130
130
  invalid_properties.push('invalid value for "name", the character length must be great than or equal to 3.')
131
131
  end
132
132
 
133
- pattern = Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
133
+ pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
134
134
  if @name !~ pattern
135
135
  invalid_properties.push("invalid value for \"name\", must conform to the pattern #{pattern}.")
136
136
  end
@@ -156,7 +156,7 @@ module PulpAnsibleClient
156
156
  return false if @name.nil?
157
157
  return false if @name.to_s.length > 64
158
158
  return false if @name.to_s.length < 3
159
- return false if @name !~ Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
159
+ return false if @name !~ Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
160
160
  return false if !@company.nil? && @company.to_s.length > 64
161
161
  return false if !@email.nil? && @email.to_s.length > 256
162
162
  return false if !@description.nil? && @description.to_s.length > 256
@@ -178,7 +178,7 @@ module PulpAnsibleClient
178
178
  fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 3.'
179
179
  end
180
180
 
181
- pattern = Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
181
+ pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
182
182
  if name !~ pattern
183
183
  fail ArgumentError, "invalid value for \"name\", must conform to the pattern #{pattern}."
184
184
  end
@@ -155,7 +155,7 @@ module PulpAnsibleClient
155
155
  invalid_properties.push('invalid value for "name", the character length must be great than or equal to 3.')
156
156
  end
157
157
 
158
- pattern = Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
158
+ pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
159
159
  if @name !~ pattern
160
160
  invalid_properties.push("invalid value for \"name\", must conform to the pattern #{pattern}.")
161
161
  end
@@ -185,7 +185,7 @@ module PulpAnsibleClient
185
185
  return false if @name.nil?
186
186
  return false if @name.to_s.length > 64
187
187
  return false if @name.to_s.length < 3
188
- return false if @name !~ Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
188
+ return false if @name !~ Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
189
189
  return false if !@company.nil? && @company.to_s.length > 64
190
190
  return false if !@email.nil? && @email.to_s.length > 256
191
191
  return false if !@description.nil? && @description.to_s.length > 256
@@ -208,7 +208,7 @@ module PulpAnsibleClient
208
208
  fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 3.'
209
209
  end
210
210
 
211
- pattern = Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
211
+ pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
212
212
  if name !~ pattern
213
213
  fail ArgumentError, "invalid value for \"name\", must conform to the pattern #{pattern}."
214
214
  end
@@ -18,17 +18,17 @@ module PulpAnsibleClient
18
18
  # Artifact file representing the physical content
19
19
  attr_accessor :artifact
20
20
 
21
- # A url that Pulp can download and turn into the content unit.
22
- attr_accessor :file_url
23
-
24
21
  # An uploaded file that may be turned into the content unit.
25
22
  attr_accessor :file
26
23
 
24
+ # An uncommitted upload that may be turned into the content unit.
25
+ attr_accessor :upload
26
+
27
27
  # A URI of a repository the new content unit should be associated with.
28
28
  attr_accessor :repository
29
29
 
30
- # An uncommitted upload that may be turned into the content unit.
31
- attr_accessor :upload
30
+ # A url that Pulp can download and turn into the content unit.
31
+ attr_accessor :file_url
32
32
 
33
33
  # The name of the collection.
34
34
  attr_accessor :expected_name
@@ -43,10 +43,10 @@ module PulpAnsibleClient
43
43
  def self.attribute_map
44
44
  {
45
45
  :'artifact' => :'artifact',
46
- :'file_url' => :'file_url',
47
46
  :'file' => :'file',
48
- :'repository' => :'repository',
49
47
  :'upload' => :'upload',
48
+ :'repository' => :'repository',
49
+ :'file_url' => :'file_url',
50
50
  :'expected_name' => :'expected_name',
51
51
  :'expected_namespace' => :'expected_namespace',
52
52
  :'expected_version' => :'expected_version'
@@ -57,10 +57,10 @@ module PulpAnsibleClient
57
57
  def self.openapi_types
58
58
  {
59
59
  :'artifact' => :'String',
60
- :'file_url' => :'String',
61
60
  :'file' => :'File',
62
- :'repository' => :'String',
63
61
  :'upload' => :'String',
62
+ :'repository' => :'String',
63
+ :'file_url' => :'String',
64
64
  :'expected_name' => :'String',
65
65
  :'expected_namespace' => :'String',
66
66
  :'expected_version' => :'String'
@@ -92,20 +92,20 @@ module PulpAnsibleClient
92
92
  self.artifact = attributes[:'artifact']
93
93
  end
94
94
 
95
- if attributes.key?(:'file_url')
96
- self.file_url = attributes[:'file_url']
97
- end
98
-
99
95
  if attributes.key?(:'file')
100
96
  self.file = attributes[:'file']
101
97
  end
102
98
 
99
+ if attributes.key?(:'upload')
100
+ self.upload = attributes[:'upload']
101
+ end
102
+
103
103
  if attributes.key?(:'repository')
104
104
  self.repository = attributes[:'repository']
105
105
  end
106
106
 
107
- if attributes.key?(:'upload')
108
- self.upload = attributes[:'upload']
107
+ if attributes.key?(:'file_url')
108
+ self.file_url = attributes[:'file_url']
109
109
  end
110
110
 
111
111
  if attributes.key?(:'expected_name')
@@ -227,10 +227,10 @@ module PulpAnsibleClient
227
227
  return true if self.equal?(o)
228
228
  self.class == o.class &&
229
229
  artifact == o.artifact &&
230
- file_url == o.file_url &&
231
230
  file == o.file &&
232
- repository == o.repository &&
233
231
  upload == o.upload &&
232
+ repository == o.repository &&
233
+ file_url == o.file_url &&
234
234
  expected_name == o.expected_name &&
235
235
  expected_namespace == o.expected_namespace &&
236
236
  expected_version == o.expected_version
@@ -245,7 +245,7 @@ module PulpAnsibleClient
245
245
  # Calculates hash code according to all attributes.
246
246
  # @return [Integer] Hash code
247
247
  def hash
248
- [artifact, file_url, file, repository, upload, expected_name, expected_namespace, expected_version].hash
248
+ [artifact, file, upload, repository, file_url, expected_name, expected_namespace, expected_version].hash
249
249
  end
250
250
 
251
251
  # Builds the object from hash