pulp_ansible_client 0.11.0.dev1636254912 → 0.11.0.dev1636600545

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of pulp_ansible_client might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 881866f69f09a8ef924a0db86ab217b811a73629f5971b4d57842b7cbfbb62b5
4
- data.tar.gz: 4609095659381e2e13747500e517f7d435f5e58f49241d70759b4851cc142361
3
+ metadata.gz: 20a5fe5117e3e1a388a6f1ae5aa0da8081333a26e96e13933b39c2b0e6f1f840
4
+ data.tar.gz: 3e977b57d5698ffb66873c30c11097563d80c9a8a56b72edadbff74aaacefafc
5
5
  SHA512:
6
- metadata.gz: abaa39cf5e353d53a73365a8f7236cd69926d25c39f057c8fed1e66918fc08390fcb5942434fb3139f69cb5367669663157f3db889e5972cb2f2c50c33e50f4c
7
- data.tar.gz: ceb358ef32488932dcc40205af9c6d3feeb03f6b8a2ac3e69d1efe8efcf1239d9e42a6de4a6048934851669f261d71c3c7d38b2cf62b65746db1260f861f4ea2
6
+ metadata.gz: 432563349e0a6c00c1a5e022064e86a01c0bc75cfd3a4a33bbd65c0a21e209c1f5f9509aa404564ae3ef61d3fbf90940118915b24e23503b50d33e5910343d99
7
+ data.tar.gz: 9fb9f1b56f39283272172237f5d821763a7a1746ae77ed269b437f256e36711d2b9ee21b7cef71f7d27bef5e7f1627f5404528c3c65b80f1831db7dd7dc5bd37
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.11.0.dev1636254912
10
+ - Package version: 0.11.0.dev1636600545
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.11.0.dev1636254912.gem
27
+ gem install ./pulp_ansible_client-0.11.0.dev1636600545.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_ansible_client-0.11.0.dev1636254912.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_ansible_client-0.11.0.dev1636600545.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.11.0.dev1636254912'
36
+ gem 'pulp_ansible_client', '~> 0.11.0.dev1636600545'
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_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
8
7
  **pulp_href** | **String** | | [optional] [readonly]
9
8
  **artifact** | **String** | Artifact file representing the physical content |
9
+ **pulp_created** | **DateTime** | Timestamp of creation. | [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,
41
- pulp_href: null,
40
+ instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(pulp_href: null,
42
41
  artifact: null,
42
+ pulp_created: 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
- **rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
8
- **url** | **String** | The URL of an external content source. |
7
+ **pulp_labels** | [**Object**](.md) | | [optional]
8
+ **password** | **String** | The password to be used for authentication when syncing. | [optional]
9
9
  **proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
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]
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
10
  **username** | **String** | The username to be used for authentication when syncing. | [optional]
13
- **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
14
- **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
15
- **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
16
- **name** | **String** | A unique name for this remote. |
17
11
  **proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
18
- **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [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]
20
- **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
21
- **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
22
- **pulp_labels** | [**Object**](.md) | | [optional]
23
- **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
24
12
  **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
25
- **password** | **String** | The password to be used for authentication when syncing. | [optional]
26
13
  **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
14
+ **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
15
+ **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
16
+ **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
+ **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
+ **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
19
+ **name** | **String** | A unique name for this remote. |
20
+ **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
21
+ **rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
22
+ **url** | **String** | The URL of an external content source. |
23
+ **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
24
+ **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
25
+ **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]
26
+ **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]
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
 
29
29
  ## Code Sample
@@ -31,26 +31,26 @@ Name | Type | Description | Notes
31
31
  ```ruby
32
32
  require 'PulpAnsibleClient'
33
33
 
34
- instance = PulpAnsibleClient::AnsibleGitRemote.new(rate_limit: null,
35
- url: null,
34
+ instance = PulpAnsibleClient::AnsibleGitRemote.new(pulp_labels: null,
35
+ password: null,
36
36
  proxy_username: null,
37
- total_timeout: null,
38
- connect_timeout: null,
39
37
  username: null,
40
- sock_read_timeout: null,
41
- max_retries: null,
42
- tls_validation: null,
43
- name: null,
44
38
  proxy_password: null,
45
- download_concurrency: null,
46
- sock_connect_timeout: null,
47
- headers: null,
48
- client_key: null,
49
- pulp_labels: null,
50
- client_cert: null,
51
39
  proxy_url: null,
52
- password: null,
53
40
  ca_cert: null,
41
+ client_key: null,
42
+ max_retries: null,
43
+ sock_read_timeout: null,
44
+ total_timeout: null,
45
+ download_concurrency: null,
46
+ name: null,
47
+ client_cert: null,
48
+ rate_limit: null,
49
+ url: null,
50
+ headers: null,
51
+ tls_validation: null,
52
+ connect_timeout: null,
53
+ sock_connect_timeout: null,
54
54
  metadata_only: null)
55
55
  ```
56
56
 
@@ -4,24 +4,24 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
8
- **url** | **String** | The URL of an external content source. |
9
- **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]
10
- **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]
11
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
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
- **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
14
- **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
15
- **name** | **String** | A unique name for this remote. |
16
- **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
17
- **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]
18
- **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
19
7
  **pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
20
8
  **pulp_labels** | [**Object**](.md) | | [optional]
21
- **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
22
9
  **pulp_href** | **String** | | [optional] [readonly]
23
10
  **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
24
11
  **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
12
+ **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
13
+ **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
14
+ **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]
15
+ **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
16
+ **name** | **String** | A unique name for this remote. |
17
+ **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
18
+ **rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
19
+ **url** | **String** | The URL of an external content source. |
20
+ **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
21
+ **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [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
+ **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]
24
+ **pulp_created** | **DateTime** | Timestamp of creation. | [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
 
27
27
  ## Code Sample
@@ -29,24 +29,24 @@ Name | Type | Description | Notes
29
29
  ```ruby
30
30
  require 'PulpAnsibleClient'
31
31
 
32
- instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(rate_limit: null,
33
- url: null,
34
- total_timeout: null,
35
- connect_timeout: null,
36
- pulp_created: null,
37
- sock_read_timeout: null,
38
- max_retries: null,
39
- tls_validation: null,
40
- name: null,
41
- download_concurrency: null,
42
- sock_connect_timeout: null,
43
- headers: null,
44
- pulp_last_updated: null,
32
+ instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(pulp_last_updated: null,
45
33
  pulp_labels: null,
46
- client_cert: null,
47
34
  pulp_href: null,
48
35
  proxy_url: null,
49
36
  ca_cert: null,
37
+ max_retries: null,
38
+ sock_read_timeout: null,
39
+ total_timeout: null,
40
+ download_concurrency: null,
41
+ name: null,
42
+ client_cert: null,
43
+ rate_limit: null,
44
+ url: null,
45
+ headers: null,
46
+ tls_validation: null,
47
+ connect_timeout: null,
48
+ sock_connect_timeout: null,
49
+ pulp_created: null,
50
50
  metadata_only: null)
51
51
  ```
52
52
 
@@ -4,9 +4,9 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
8
7
  **pulp_href** | **String** | | [optional] [readonly]
9
8
  **artifact** | **String** | Artifact file representing the physical content |
9
+ **pulp_created** | **DateTime** | Timestamp of creation. | [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,
20
- pulp_href: null,
19
+ instance = PulpAnsibleClient::AnsibleRoleResponse.new(pulp_href: null,
21
20
  artifact: null,
21
+ pulp_created: 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
- **rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
8
- **url** | **String** | The URL of an external content source. | [optional]
7
+ **pulp_labels** | [**Object**](.md) | | [optional]
8
+ **password** | **String** | The password to be used for authentication when syncing. | [optional]
9
9
  **proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
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]
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
10
  **username** | **String** | The username to be used for authentication when syncing. | [optional]
13
- **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
14
- **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
15
- **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
16
- **name** | **String** | A unique name for this remote. | [optional]
17
11
  **proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
18
- **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [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]
20
- **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
21
- **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
22
- **pulp_labels** | [**Object**](.md) | | [optional]
23
- **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
24
12
  **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
25
- **password** | **String** | The password to be used for authentication when syncing. | [optional]
26
13
  **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
14
+ **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
15
+ **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
16
+ **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
+ **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
+ **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
19
+ **name** | **String** | A unique name for this remote. | [optional]
20
+ **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
21
+ **rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
22
+ **url** | **String** | The URL of an external content source. | [optional]
23
+ **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
24
+ **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
25
+ **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]
26
+ **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]
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
 
29
29
  ## Code Sample
@@ -31,26 +31,26 @@ Name | Type | Description | Notes
31
31
  ```ruby
32
32
  require 'PulpAnsibleClient'
33
33
 
34
- instance = PulpAnsibleClient::PatchedansibleGitRemote.new(rate_limit: null,
35
- url: null,
34
+ instance = PulpAnsibleClient::PatchedansibleGitRemote.new(pulp_labels: null,
35
+ password: null,
36
36
  proxy_username: null,
37
- total_timeout: null,
38
- connect_timeout: null,
39
37
  username: null,
40
- sock_read_timeout: null,
41
- max_retries: null,
42
- tls_validation: null,
43
- name: null,
44
38
  proxy_password: null,
45
- download_concurrency: null,
46
- sock_connect_timeout: null,
47
- headers: null,
48
- client_key: null,
49
- pulp_labels: null,
50
- client_cert: null,
51
39
  proxy_url: null,
52
- password: null,
53
40
  ca_cert: null,
41
+ client_key: null,
42
+ max_retries: null,
43
+ sock_read_timeout: null,
44
+ total_timeout: null,
45
+ download_concurrency: null,
46
+ name: null,
47
+ client_cert: null,
48
+ rate_limit: null,
49
+ url: null,
50
+ headers: null,
51
+ tls_validation: null,
52
+ connect_timeout: null,
53
+ sock_connect_timeout: null,
54
54
  metadata_only: null)
55
55
  ```
56
56
 
@@ -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
@@ -88,8 +88,8 @@ module PulpAnsibleClient
88
88
  form_params['name'] = name
89
89
  form_params['namespace'] = namespace
90
90
  form_params['version'] = version
91
- form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
92
91
  form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
92
+ form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
93
93
 
94
94
  # http body (model)
95
95
  post_body = opts[:body]
@@ -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
@@ -184,8 +184,8 @@ module PulpAnsibleClient
184
184
  def ==(o)
185
185
  return true if self.equal?(o)
186
186
  self.class == o.class &&
187
- repository == o.repository &&
188
187
  file == o.file &&
188
+ repository == o.repository &&
189
189
  name == o.name &&
190
190
  namespace == o.namespace &&
191
191
  version == o.version
@@ -200,7 +200,7 @@ module PulpAnsibleClient
200
200
  # Calculates hash code according to all attributes.
201
201
  # @return [Integer] Hash code
202
202
  def hash
203
- [repository, file, name, namespace, version].hash
203
+ [file, repository, name, namespace, version].hash
204
204
  end
205
205
 
206
206
  # 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
- # Timestamp of creation.
19
- attr_accessor :pulp_created
20
-
21
18
  attr_accessor :pulp_href
22
19
 
23
20
  # Artifact file representing the physical content
24
21
  attr_accessor :artifact
25
22
 
23
+ # Timestamp of creation.
24
+ attr_accessor :pulp_created
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_created' => :'pulp_created',
101
100
  :'pulp_href' => :'pulp_href',
102
101
  :'artifact' => :'artifact',
102
+ :'pulp_created' => :'pulp_created',
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_created' => :'DateTime',
134
133
  :'pulp_href' => :'String',
135
134
  :'artifact' => :'String',
135
+ :'pulp_created' => :'DateTime',
136
136
  :'md5' => :'String',
137
137
  :'sha1' => :'String',
138
138
  :'sha224' => :'String',
@@ -182,10 +182,6 @@ module PulpAnsibleClient
182
182
  h[k.to_sym] = v
183
183
  }
184
184
 
185
- if attributes.key?(:'pulp_created')
186
- self.pulp_created = attributes[:'pulp_created']
187
- end
188
-
189
185
  if attributes.key?(:'pulp_href')
190
186
  self.pulp_href = attributes[:'pulp_href']
191
187
  end
@@ -194,6 +190,10 @@ module PulpAnsibleClient
194
190
  self.artifact = attributes[:'artifact']
195
191
  end
196
192
 
193
+ if attributes.key?(:'pulp_created')
194
+ self.pulp_created = attributes[:'pulp_created']
195
+ end
196
+
197
197
  if attributes.key?(:'md5')
198
198
  self.md5 = attributes[:'md5']
199
199
  end
@@ -548,9 +548,9 @@ module PulpAnsibleClient
548
548
  def ==(o)
549
549
  return true if self.equal?(o)
550
550
  self.class == o.class &&
551
- pulp_created == o.pulp_created &&
552
551
  pulp_href == o.pulp_href &&
553
552
  artifact == o.artifact &&
553
+ pulp_created == o.pulp_created &&
554
554
  md5 == o.md5 &&
555
555
  sha1 == o.sha1 &&
556
556
  sha224 == o.sha224 &&
@@ -586,7 +586,7 @@ module PulpAnsibleClient
586
586
  # Calculates hash code according to all attributes.
587
587
  # @return [Integer] Hash code
588
588
  def hash
589
- [pulp_created, pulp_href, 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
589
+ [pulp_href, artifact, pulp_created, 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
590
590
  end
591
591
 
592
592
  # Builds the object from hash