pulp_ansible_client 0.12.0 → 0.12.1

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 (28) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/AnsibleCollectionVersion.md +3 -3
  4. data/docs/AnsibleCollectionVersionResponse.md +3 -3
  5. data/docs/AnsibleGitRemote.md +27 -27
  6. data/docs/AnsibleGitRemoteResponse.md +24 -24
  7. data/docs/AnsibleRoleResponse.md +3 -3
  8. data/docs/ContentCollectionVersionsApi.md +3 -3
  9. data/docs/PatchedansibleGitRemote.md +27 -27
  10. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +3 -3
  11. data/lib/pulp_ansible_client/api_client.rb +1 -4
  12. data/lib/pulp_ansible_client/configuration.rb +1 -0
  13. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +11 -11
  14. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +10 -10
  15. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +228 -228
  16. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +146 -146
  17. data/lib/pulp_ansible_client/models/ansible_role_response.rb +10 -10
  18. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +224 -224
  19. data/lib/pulp_ansible_client/version.rb +1 -1
  20. data/pulp_ansible_client.gemspec +1 -1
  21. data/spec/api/content_collection_versions_api_spec.rb +1 -1
  22. data/spec/models/ansible_collection_version_response_spec.rb +3 -3
  23. data/spec/models/ansible_collection_version_spec.rb +2 -2
  24. data/spec/models/ansible_git_remote_response_spec.rb +18 -18
  25. data/spec/models/ansible_git_remote_spec.rb +20 -20
  26. data/spec/models/ansible_role_response_spec.rb +3 -3
  27. data/spec/models/patchedansible_git_remote_spec.rb +20 -20
  28. metadata +80 -80
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b4dc1fda58333188e5da470fb10da1c8eb04cb96890590e3d27146da49f3059a
4
- data.tar.gz: ce1397122f0f0f24c992eb42a875fb25dfc1153716b2865ab6bdd5c0744d2e90
3
+ metadata.gz: 7e4605afe958fe88c72f478eee6af4abd8520b8baf3fa09b14f3434e4c296154
4
+ data.tar.gz: 87708a8e5475276933a7f61a4d99a970a5d0f245e4d1862f17192ea42fc182fe
5
5
  SHA512:
6
- metadata.gz: 158c53d33f315f5d79a798245b91c0100c2d4bb4e2125fb7dd473c2149ec9f8482175b9ce8e11ed0f1eec5c13af9125742e7353d96389363ae5dd9b02448fbd0
7
- data.tar.gz: 3ff747ea94f1b6968c80108b0b69b953cff89d7312f7ecf374791dc21a8712aff9a150fb8662449236cdb6f4518a61690a46647a082adba70752fe7b8ea6a73d
6
+ metadata.gz: d52437861966709e4da7227d0e70b50c63d110c45065e833cae42d171b787391f00eeda395b569cf0ae8e203d6ac4d48c18c7055c714b73bcbb127ad1f623c41
7
+ data.tar.gz: 9cbb85e6feda4f99496b37a7fb53f29f7640311bdcf285860483827ad7616a2c13aabf855c122bdc53c48ea70352cc864bf58b991ed2babf2d545cd0316d323d
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.12.0
10
+ - Package version: 0.12.1
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.12.0.gem
27
+ gem install ./pulp_ansible_client-0.12.1.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_ansible_client-0.12.0.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_ansible_client-0.12.1.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.12.0'
36
+ gem 'pulp_ansible_client', '~> 0.12.1'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -4,8 +4,8 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
8
7
  **file** | **File** | An uploaded file that may be turned into the artifact of the content unit. | [optional]
8
+ **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
9
9
  **name** | **String** | The name of the collection. |
10
10
  **namespace** | **String** | The namespace of the collection. |
11
11
  **version** | **String** | The version of the collection. |
@@ -15,8 +15,8 @@ Name | Type | Description | Notes
15
15
  ```ruby
16
16
  require 'PulpAnsibleClient'
17
17
 
18
- instance = PulpAnsibleClient::AnsibleCollectionVersion.new(repository: null,
19
- file: null,
18
+ instance = PulpAnsibleClient::AnsibleCollectionVersion.new(file: null,
19
+ repository: null,
20
20
  name: null,
21
21
  namespace: null,
22
22
  version: null)
@@ -4,9 +4,9 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
+ **pulp_href** | **String** | | [optional] [readonly]
7
8
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
8
9
  **artifact** | **String** | Artifact file representing the physical content | [optional]
9
- **pulp_href** | **String** | | [optional] [readonly]
10
10
  **md5** | **String** | The MD5 checksum if available. | [optional] [readonly]
11
11
  **sha1** | **String** | The SHA-1 checksum if available. | [optional] [readonly]
12
12
  **sha224** | **String** | The SHA-224 checksum if available. | [optional] [readonly]
@@ -37,9 +37,9 @@ Name | Type | Description | Notes
37
37
  ```ruby
38
38
  require 'PulpAnsibleClient'
39
39
 
40
- instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(pulp_created: null,
40
+ instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(pulp_href: null,
41
+ pulp_created: null,
41
42
  artifact: null,
42
- pulp_href: null,
43
43
  md5: null,
44
44
  sha1: null,
45
45
  sha224: null,
@@ -4,26 +4,26 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **url** | **String** | The URL of an external content source. |
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
- **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
10
7
  **proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
11
- **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]
12
- **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
8
+ **username** | **String** | The username to be used for authentication when syncing. | [optional]
9
+ **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
13
10
  **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
14
11
  **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
15
- **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
- **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
17
- **password** | **String** | The password to be used for authentication when syncing. | [optional]
18
12
  **pulp_labels** | [**Object**](.md) | | [optional]
19
- **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
+ **url** | **String** | The URL of an external content source. |
20
14
  **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
21
- **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
15
+ **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]
16
+ **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]
22
17
  **proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
23
- **name** | **String** | A unique name for this remote. |
24
- **username** | **String** | The username to be used for authentication when syncing. | [optional]
18
+ **password** | **String** | The password to be used for authentication when syncing. | [optional]
19
+ **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
+ **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
21
+ **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
22
+ **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
23
+ **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
25
24
  **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
26
- **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
25
+ **name** | **String** | A unique name for this remote. |
26
+ **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]
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(url: null,
36
- total_timeout: null,
37
- client_cert: null,
38
- proxy_username: null,
39
- connect_timeout: null,
40
- ca_cert: null,
35
+ instance = PulpAnsibleClient::AnsibleGitRemote.new(proxy_username: null,
36
+ username: null,
37
+ download_concurrency: null,
41
38
  proxy_url: null,
42
39
  tls_validation: null,
43
- sock_read_timeout: null,
44
- client_key: null,
45
- password: null,
46
40
  pulp_labels: null,
47
- sock_connect_timeout: null,
41
+ url: null,
48
42
  rate_limit: null,
49
- headers: null,
43
+ sock_connect_timeout: null,
44
+ sock_read_timeout: null,
50
45
  proxy_password: null,
51
- name: null,
52
- username: null,
46
+ password: null,
47
+ connect_timeout: null,
48
+ ca_cert: null,
49
+ client_key: null,
50
+ headers: null,
51
+ client_cert: null,
53
52
  max_retries: null,
54
- download_concurrency: null,
53
+ name: null,
54
+ total_timeout: null,
55
55
  metadata_only: null,
56
56
  git_ref: null)
57
57
  ```
@@ -4,24 +4,24 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **url** | **String** | The URL of an external content source. |
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
- **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
10
- **pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
11
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
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]
13
- **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
7
+ **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
14
8
  **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
15
9
  **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
16
- **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]
17
- **pulp_href** | **String** | | [optional] [readonly]
18
10
  **pulp_labels** | [**Object**](.md) | | [optional]
19
- **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]
11
+ **url** | **String** | The URL of an external content source. |
20
12
  **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
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]
14
+ **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]
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]
16
+ **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
21
17
  **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
22
- **name** | **String** | A unique name for this remote. |
18
+ **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
23
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]
24
- **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
20
+ **name** | **String** | A unique name for this remote. |
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]
23
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
24
+ **pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
25
25
  **metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional]
26
26
  **git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional]
27
27
 
@@ -30,24 +30,24 @@ Name | Type | Description | Notes
30
30
  ```ruby
31
31
  require 'PulpAnsibleClient'
32
32
 
33
- instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(url: null,
34
- total_timeout: null,
35
- client_cert: null,
36
- pulp_last_updated: null,
37
- pulp_created: null,
38
- connect_timeout: null,
39
- ca_cert: null,
33
+ instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(download_concurrency: null,
40
34
  proxy_url: null,
41
35
  tls_validation: null,
42
- sock_read_timeout: null,
43
- pulp_href: null,
44
36
  pulp_labels: null,
45
- sock_connect_timeout: null,
37
+ url: null,
46
38
  rate_limit: null,
39
+ sock_connect_timeout: null,
40
+ sock_read_timeout: null,
41
+ connect_timeout: null,
42
+ ca_cert: null,
47
43
  headers: null,
48
- name: null,
44
+ client_cert: null,
49
45
  max_retries: null,
50
- download_concurrency: null,
46
+ name: null,
47
+ pulp_href: null,
48
+ total_timeout: null,
49
+ pulp_created: null,
50
+ pulp_last_updated: null,
51
51
  metadata_only: null,
52
52
  git_ref: null)
53
53
  ```
@@ -4,9 +4,9 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
+ **pulp_href** | **String** | | [optional] [readonly]
7
8
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
8
9
  **artifact** | **String** | Artifact file representing the physical content |
9
- **pulp_href** | **String** | | [optional] [readonly]
10
10
  **version** | **String** | |
11
11
  **name** | **String** | |
12
12
  **namespace** | **String** | |
@@ -16,9 +16,9 @@ Name | Type | Description | Notes
16
16
  ```ruby
17
17
  require 'PulpAnsibleClient'
18
18
 
19
- instance = PulpAnsibleClient::AnsibleRoleResponse.new(pulp_created: null,
19
+ instance = PulpAnsibleClient::AnsibleRoleResponse.new(pulp_href: null,
20
+ pulp_created: null,
20
21
  artifact: null,
21
- pulp_href: null,
22
22
  version: null,
23
23
  name: null,
24
24
  namespace: null)
@@ -35,8 +35,8 @@ name = 'name_example' # String | The name of the collection.
35
35
  namespace = 'namespace_example' # String | The namespace of the collection.
36
36
  version = 'version_example' # String | The version of the collection.
37
37
  opts = {
38
- repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
39
- file: File.new('/path/to/file') # File | An uploaded file that may be turned into the artifact of the content unit.
38
+ file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
39
+ repository: 'repository_example' # String | A URI of a repository the new content unit should be associated with.
40
40
  }
41
41
 
42
42
  begin
@@ -56,8 +56,8 @@ Name | Type | Description | Notes
56
56
  **name** | **String**| The name of the collection. |
57
57
  **namespace** | **String**| The namespace of the collection. |
58
58
  **version** | **String**| The version of the collection. |
59
- **repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
60
59
  **file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [optional]
60
+ **repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
61
61
 
62
62
  ### Return type
63
63
 
@@ -4,26 +4,26 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **url** | **String** | The URL of an external content source. | [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
- **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
10
7
  **proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
11
- **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]
12
- **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
8
+ **username** | **String** | The username to be used for authentication when syncing. | [optional]
9
+ **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
13
10
  **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
14
11
  **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
15
- **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
- **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
17
- **password** | **String** | The password to be used for authentication when syncing. | [optional]
18
12
  **pulp_labels** | [**Object**](.md) | | [optional]
19
- **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
+ **url** | **String** | The URL of an external content source. | [optional]
20
14
  **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
21
- **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
15
+ **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]
16
+ **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]
22
17
  **proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
23
- **name** | **String** | A unique name for this remote. | [optional]
24
- **username** | **String** | The username to be used for authentication when syncing. | [optional]
18
+ **password** | **String** | The password to be used for authentication when syncing. | [optional]
19
+ **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
+ **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
21
+ **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
22
+ **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
23
+ **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
25
24
  **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
26
- **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
25
+ **name** | **String** | A unique name for this remote. | [optional]
26
+ **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]
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(url: null,
36
- total_timeout: null,
37
- client_cert: null,
38
- proxy_username: null,
39
- connect_timeout: null,
40
- ca_cert: null,
35
+ instance = PulpAnsibleClient::PatchedansibleGitRemote.new(proxy_username: null,
36
+ username: null,
37
+ download_concurrency: null,
41
38
  proxy_url: null,
42
39
  tls_validation: null,
43
- sock_read_timeout: null,
44
- client_key: null,
45
- password: null,
46
40
  pulp_labels: null,
47
- sock_connect_timeout: null,
41
+ url: null,
48
42
  rate_limit: null,
49
- headers: null,
43
+ sock_connect_timeout: null,
44
+ sock_read_timeout: null,
50
45
  proxy_password: null,
51
- name: null,
52
- username: null,
46
+ password: null,
47
+ connect_timeout: null,
48
+ ca_cert: null,
49
+ client_key: null,
50
+ headers: null,
51
+ client_cert: null,
53
52
  max_retries: null,
54
- download_concurrency: null,
53
+ name: null,
54
+ total_timeout: null,
55
55
  metadata_only: null,
56
56
  git_ref: null)
57
57
  ```
@@ -25,8 +25,8 @@ module PulpAnsibleClient
25
25
  # @param namespace [String] The namespace of the collection.
26
26
  # @param version [String] The version of the collection.
27
27
  # @param [Hash] opts the optional parameters
28
- # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
29
28
  # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
29
+ # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
30
30
  # @return [AsyncOperationResponse]
31
31
  def create(name, namespace, version, opts = {})
32
32
  data, _status_code, _headers = create_with_http_info(name, namespace, version, opts)
@@ -39,8 +39,8 @@ module PulpAnsibleClient
39
39
  # @param namespace [String] The namespace of the collection.
40
40
  # @param version [String] The version of the collection.
41
41
  # @param [Hash] opts the optional parameters
42
- # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
43
42
  # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
43
+ # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
44
44
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
45
45
  def create_with_http_info(name, namespace, version, opts = {})
46
46
  if @api_client.config.debugging
@@ -100,8 +100,8 @@ module PulpAnsibleClient
100
100
  form_params['name'] = name
101
101
  form_params['namespace'] = namespace
102
102
  form_params['version'] = version
103
- form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
104
103
  form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
104
+ form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
105
105
 
106
106
  # http body (model)
107
107
  post_body = opts[:body]
@@ -118,9 +118,6 @@ module PulpAnsibleClient
118
118
  update_params_for_auth! header_params, query_params, opts[:auth_names]
119
119
 
120
120
  req_opts = {
121
- :method => http_method,
122
- :headers => header_params,
123
- :params => query_params,
124
121
  :params_encoding => @config.params_encoding,
125
122
  :timeout => @config.timeout,
126
123
  :verbose => @config.debugging
@@ -128,13 +125,13 @@ module PulpAnsibleClient
128
125
 
129
126
  if [:post, :patch, :put, :delete].include?(http_method)
130
127
  req_body = build_request_body(header_params, form_params, opts[:body])
131
- req_opts.update :body => req_body
132
128
  if @config.debugging
133
129
  @config.logger.debug "HTTP request body param ~BEGIN~\n#{req_body}\n~END~\n"
134
130
  end
135
131
  end
136
132
  request.headers = header_params
137
133
  request.body = req_body
134
+ request.options = OpenStruct.new(req_opts)
138
135
  request.url url
139
136
  request.params = query_params
140
137
  download_file(request) if opts[:return_type] == 'File'
@@ -140,6 +140,7 @@ module PulpAnsibleClient
140
140
  @ssl_client_cert = nil
141
141
  @ssl_client_key = nil
142
142
  @params_encoder = nil
143
+ @timeout = 60
143
144
  @debugging = false
144
145
  @inject_format = false
145
146
  @force_ending_format = false
@@ -15,12 +15,12 @@ require 'date'
15
15
  module PulpAnsibleClient
16
16
  # A serializer for CollectionVersion Content.
17
17
  class AnsibleCollectionVersion
18
- # A URI of a repository the new content unit should be associated with.
19
- attr_accessor :repository
20
-
21
18
  # An uploaded file that may be turned into the artifact of the content unit.
22
19
  attr_accessor :file
23
20
 
21
+ # A URI of a repository the new content unit should be associated with.
22
+ attr_accessor :repository
23
+
24
24
  # The name of the collection.
25
25
  attr_accessor :name
26
26
 
@@ -33,8 +33,8 @@ module PulpAnsibleClient
33
33
  # Attribute mapping from ruby-style variable name to JSON key.
34
34
  def self.attribute_map
35
35
  {
36
- :'repository' => :'repository',
37
36
  :'file' => :'file',
37
+ :'repository' => :'repository',
38
38
  :'name' => :'name',
39
39
  :'namespace' => :'namespace',
40
40
  :'version' => :'version'
@@ -44,8 +44,8 @@ module PulpAnsibleClient
44
44
  # Attribute type mapping.
45
45
  def self.openapi_types
46
46
  {
47
- :'repository' => :'String',
48
47
  :'file' => :'File',
48
+ :'repository' => :'String',
49
49
  :'name' => :'String',
50
50
  :'namespace' => :'String',
51
51
  :'version' => :'String'
@@ -73,14 +73,14 @@ module PulpAnsibleClient
73
73
  h[k.to_sym] = v
74
74
  }
75
75
 
76
- if attributes.key?(:'repository')
77
- self.repository = attributes[:'repository']
78
- end
79
-
80
76
  if attributes.key?(:'file')
81
77
  self.file = attributes[:'file']
82
78
  end
83
79
 
80
+ if attributes.key?(:'repository')
81
+ self.repository = attributes[:'repository']
82
+ end
83
+
84
84
  if attributes.key?(:'name')
85
85
  self.name = attributes[:'name']
86
86
  end
@@ -211,8 +211,8 @@ module PulpAnsibleClient
211
211
  def ==(o)
212
212
  return true if self.equal?(o)
213
213
  self.class == o.class &&
214
- repository == o.repository &&
215
214
  file == o.file &&
215
+ repository == o.repository &&
216
216
  name == o.name &&
217
217
  namespace == o.namespace &&
218
218
  version == o.version
@@ -227,7 +227,7 @@ module PulpAnsibleClient
227
227
  # Calculates hash code according to all attributes.
228
228
  # @return [Integer] Hash code
229
229
  def hash
230
- [repository, file, name, namespace, version].hash
230
+ [file, repository, name, namespace, version].hash
231
231
  end
232
232
 
233
233
  # Builds the object from hash
@@ -15,14 +15,14 @@ require 'date'
15
15
  module PulpAnsibleClient
16
16
  # A serializer for CollectionVersion Content.
17
17
  class AnsibleCollectionVersionResponse
18
+ attr_accessor :pulp_href
19
+
18
20
  # Timestamp of creation.
19
21
  attr_accessor :pulp_created
20
22
 
21
23
  # Artifact file representing the physical content
22
24
  attr_accessor :artifact
23
25
 
24
- attr_accessor :pulp_href
25
-
26
26
  # The MD5 checksum if available.
27
27
  attr_accessor :md5
28
28
 
@@ -97,9 +97,9 @@ module PulpAnsibleClient
97
97
  # Attribute mapping from ruby-style variable name to JSON key.
98
98
  def self.attribute_map
99
99
  {
100
+ :'pulp_href' => :'pulp_href',
100
101
  :'pulp_created' => :'pulp_created',
101
102
  :'artifact' => :'artifact',
102
- :'pulp_href' => :'pulp_href',
103
103
  :'md5' => :'md5',
104
104
  :'sha1' => :'sha1',
105
105
  :'sha224' => :'sha224',
@@ -130,9 +130,9 @@ module PulpAnsibleClient
130
130
  # Attribute type mapping.
131
131
  def self.openapi_types
132
132
  {
133
+ :'pulp_href' => :'String',
133
134
  :'pulp_created' => :'DateTime',
134
135
  :'artifact' => :'String',
135
- :'pulp_href' => :'String',
136
136
  :'md5' => :'String',
137
137
  :'sha1' => :'String',
138
138
  :'sha224' => :'String',
@@ -182,6 +182,10 @@ module PulpAnsibleClient
182
182
  h[k.to_sym] = v
183
183
  }
184
184
 
185
+ if attributes.key?(:'pulp_href')
186
+ self.pulp_href = attributes[:'pulp_href']
187
+ end
188
+
185
189
  if attributes.key?(:'pulp_created')
186
190
  self.pulp_created = attributes[:'pulp_created']
187
191
  end
@@ -190,10 +194,6 @@ module PulpAnsibleClient
190
194
  self.artifact = attributes[:'artifact']
191
195
  end
192
196
 
193
- if attributes.key?(:'pulp_href')
194
- self.pulp_href = attributes[:'pulp_href']
195
- end
196
-
197
197
  if attributes.key?(:'md5')
198
198
  self.md5 = attributes[:'md5']
199
199
  end
@@ -543,9 +543,9 @@ module PulpAnsibleClient
543
543
  def ==(o)
544
544
  return true if self.equal?(o)
545
545
  self.class == o.class &&
546
+ pulp_href == o.pulp_href &&
546
547
  pulp_created == o.pulp_created &&
547
548
  artifact == o.artifact &&
548
- pulp_href == o.pulp_href &&
549
549
  md5 == o.md5 &&
550
550
  sha1 == o.sha1 &&
551
551
  sha224 == o.sha224 &&
@@ -581,7 +581,7 @@ module PulpAnsibleClient
581
581
  # Calculates hash code according to all attributes.
582
582
  # @return [Integer] Hash code
583
583
  def hash
584
- [pulp_created, artifact, pulp_href, md5, sha1, sha224, sha256, sha384, sha512, id, authors, contents, dependencies, description, docs_blob, manifest, files, documentation, homepage, issues, license, name, namespace, repository, tags, version, requires_ansible].hash
584
+ [pulp_href, pulp_created, artifact, md5, sha1, sha224, sha256, sha384, sha512, id, authors, contents, dependencies, description, docs_blob, manifest, files, documentation, homepage, issues, license, name, namespace, repository, tags, version, requires_ansible].hash
585
585
  end
586
586
 
587
587
  # Builds the object from hash