pulp_ansible_client 0.15.1 → 0.15.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 034dfa0e63728ac94f6ba464c79dd2fed06afa34b1ea104760a0d518bc5500d1
4
- data.tar.gz: dcb12b97f5ebcdea2c9c6c93758b85e5ad5a40fb46a52f027157d84fe31fa8f0
3
+ metadata.gz: c57f769765776ed9ad376fb7bfaa8da7ee5dd5a06f51fa3a50d14bc5739a929b
4
+ data.tar.gz: 8937b00a32f97a39626187428acf7999bd13a33aabeeb77395f93df1d0c3cdb4
5
5
  SHA512:
6
- metadata.gz: 2599b76c8e43aa28ad4f456aed9047f2ef283b8715a7be233e42a5ad1519c75587599f8752fb8f91b6931672b5c8251cefda16ec64afe2d6e8033dc79c77381d
7
- data.tar.gz: d68717f2dfac5be8a6d282630796f9524ff8da459ec932155641773c832fc7ec88fb5e9c02790de2e443442e1791f5f5c91c86ceae61347d7ef78f7f36e1d4a3
6
+ metadata.gz: a7f0dc1790c0a649048444e05e0b26b1be2c62eb2bab5e5f538ac668442de790ead55f9ddf1c478b7fd1bbd24dca89cff6072ddec1009095bb8020666bca0aaf
7
+ data.tar.gz: 4cceb90f55c8d71c22921ef1fc6d611b1c50122058cb9ac17a1ca3c0e9c83f75c9e5604049b9477884a0cc6969d86b5ac25fd4b0c8c67cd3ef7910a523e50a23
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.15.1
10
+ - Package version: 0.15.3
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.15.1.gem
27
+ gem install ./pulp_ansible_client-0.15.3.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_ansible_client-0.15.1.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_ansible_client-0.15.3.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.15.1'
36
+ gem 'pulp_ansible_client', '~> 0.15.3'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -4,8 +4,8 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **upload** | **String** | An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
8
7
  **file** | **File** | An uploaded file that may be turned into the artifact of the content unit. | [optional]
8
+ **upload** | **String** | An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
9
9
  **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
10
10
  **name** | **String** | The name of the collection. |
11
11
  **namespace** | **String** | The namespace of the collection. |
@@ -16,8 +16,8 @@ Name | Type | Description | Notes
16
16
  ```ruby
17
17
  require 'PulpAnsibleClient'
18
18
 
19
- instance = PulpAnsibleClient::AnsibleCollectionVersion.new(upload: null,
20
- file: null,
19
+ instance = PulpAnsibleClient::AnsibleCollectionVersion.new(file: null,
20
+ upload: null,
21
21
  repository: null,
22
22
  name: null,
23
23
  namespace: 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
- **artifact** | **String** | Artifact file representing the physical content | [optional]
9
7
  **pulp_href** | **String** | | [optional] [readonly]
8
+ **artifact** | **String** | Artifact file representing the physical content | [optional]
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,
40
+ instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(pulp_href: null,
41
41
  artifact: null,
42
- pulp_href: 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
- **username** | **String** | The username to be used for authentication when syncing. | [optional]
8
- **url** | **String** | The URL of an external content source. |
7
+ **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [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]
9
+ **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
10
+ **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
9
11
  **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
12
+ **url** | **String** | The URL of an external content source. |
13
+ **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
10
14
  **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
15
+ **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
11
16
  **proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
12
- **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [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
- **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [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]
15
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
+ **username** | **String** | The username to be used for authentication when syncing. | [optional]
20
+ **pulp_labels** | **Hash<String, String>** | | [optional]
21
+ **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
16
22
  **name** | **String** | A unique name for this remote. |
17
- **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
18
23
  **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
19
- **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
20
- **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
21
24
  **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
22
- **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]
23
- **pulp_labels** | **Hash<String, String>** | | [optional]
24
- **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
25
- **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [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]
25
+ **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]
26
+ **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [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(username: null,
36
- url: null,
35
+ instance = PulpAnsibleClient::AnsibleGitRemote.new(headers: null,
36
+ sock_read_timeout: null,
37
+ tls_validation: null,
38
+ proxy_url: null,
37
39
  ca_cert: null,
40
+ url: null,
41
+ client_cert: null,
38
42
  rate_limit: null,
43
+ proxy_password: null,
39
44
  proxy_username: null,
40
- client_cert: null,
41
- sock_connect_timeout: null,
42
- password: null,
45
+ total_timeout: null,
43
46
  connect_timeout: null,
47
+ username: null,
48
+ pulp_labels: null,
49
+ download_concurrency: null,
44
50
  name: null,
45
- proxy_url: null,
46
51
  max_retries: null,
47
- download_concurrency: null,
48
- proxy_password: null,
49
52
  client_key: null,
50
- sock_read_timeout: null,
51
- pulp_labels: null,
52
- tls_validation: null,
53
- headers: null,
54
- total_timeout: null,
53
+ sock_connect_timeout: null,
54
+ password: null,
55
55
  metadata_only: null,
56
56
  git_ref: null)
57
57
  ```
@@ -5,24 +5,24 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **pulp_href** | **String** | | [optional] [readonly]
8
- **url** | **String** | The URL of an external content source. |
9
- **pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
8
+ **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [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
+ **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
11
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
12
+ **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
10
13
  **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
11
- **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
14
+ **url** | **String** | The URL of an external content source. |
12
15
  **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [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]
16
+ **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [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]
14
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
+ **pulp_labels** | **Hash<String, String>** | | [optional]
20
+ **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
15
21
  **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFields>**](AnsibleCollectionRemoteResponseHiddenFields.md) | List of hidden (write only) fields | [optional] [readonly]
16
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
17
22
  **name** | **String** | A unique name for this remote. |
18
- **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
23
+ **pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
19
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]
20
- **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
21
- **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
- **pulp_labels** | **Hash<String, String>** | | [optional]
23
- **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
24
- **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
25
- **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
25
+ **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]
26
26
  **metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional]
27
27
  **git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional]
28
28
 
@@ -32,24 +32,24 @@ Name | Type | Description | Notes
32
32
  require 'PulpAnsibleClient'
33
33
 
34
34
  instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(pulp_href: null,
35
- url: null,
36
- pulp_last_updated: null,
35
+ headers: null,
36
+ sock_read_timeout: null,
37
+ tls_validation: null,
38
+ pulp_created: null,
39
+ proxy_url: null,
37
40
  ca_cert: null,
38
- rate_limit: null,
41
+ url: null,
39
42
  client_cert: null,
40
- sock_connect_timeout: null,
43
+ rate_limit: null,
44
+ total_timeout: null,
41
45
  connect_timeout: null,
46
+ pulp_labels: null,
47
+ download_concurrency: null,
42
48
  hidden_fields: null,
43
- pulp_created: null,
44
49
  name: null,
45
- proxy_url: null,
50
+ pulp_last_updated: null,
46
51
  max_retries: null,
47
- download_concurrency: null,
48
- sock_read_timeout: null,
49
- pulp_labels: null,
50
- tls_validation: null,
51
- headers: null,
52
- total_timeout: null,
52
+ sock_connect_timeout: null,
53
53
  metadata_only: null,
54
54
  git_ref: null)
55
55
  ```
@@ -4,9 +4,9 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
8
- **artifact** | **String** | Artifact file representing the physical content |
9
7
  **pulp_href** | **String** | | [optional] [readonly]
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,
19
+ instance = PulpAnsibleClient::AnsibleRoleResponse.new(pulp_href: null,
20
20
  artifact: null,
21
- pulp_href: 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
- upload: 'upload_example', # String | An uncommitted upload that may be turned into the artifact of the content unit.
39
38
  file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
39
+ upload: 'upload_example', # String | An uncommitted upload that may be turned into the artifact of the content unit.
40
40
  repository: 'repository_example' # String | A URI of a repository the new content unit should be associated with.
41
41
  }
42
42
 
@@ -57,8 +57,8 @@ Name | Type | Description | Notes
57
57
  **name** | **String**| The name of the collection. |
58
58
  **namespace** | **String**| The namespace of the collection. |
59
59
  **version** | **String**| The version of the collection. |
60
- **upload** | **String**| An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
61
60
  **file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [optional]
61
+ **upload** | **String**| An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
62
62
  **repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
63
63
 
64
64
  ### Return type
@@ -4,26 +4,26 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **username** | **String** | The username to be used for authentication when syncing. | [optional]
8
- **url** | **String** | The URL of an external content source. | [optional]
7
+ **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [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]
9
+ **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
10
+ **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
9
11
  **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
12
+ **url** | **String** | The URL of an external content source. | [optional]
13
+ **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
10
14
  **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
15
+ **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
11
16
  **proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
12
- **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [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
- **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [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]
15
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
+ **username** | **String** | The username to be used for authentication when syncing. | [optional]
20
+ **pulp_labels** | **Hash<String, String>** | | [optional]
21
+ **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
16
22
  **name** | **String** | A unique name for this remote. | [optional]
17
- **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
18
23
  **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
19
- **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
20
- **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
21
24
  **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
22
- **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]
23
- **pulp_labels** | **Hash<String, String>** | | [optional]
24
- **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
25
- **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [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]
25
+ **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]
26
+ **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [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(username: null,
36
- url: null,
35
+ instance = PulpAnsibleClient::PatchedansibleGitRemote.new(headers: null,
36
+ sock_read_timeout: null,
37
+ tls_validation: null,
38
+ proxy_url: null,
37
39
  ca_cert: null,
40
+ url: null,
41
+ client_cert: null,
38
42
  rate_limit: null,
43
+ proxy_password: null,
39
44
  proxy_username: null,
40
- client_cert: null,
41
- sock_connect_timeout: null,
42
- password: null,
45
+ total_timeout: null,
43
46
  connect_timeout: null,
47
+ username: null,
48
+ pulp_labels: null,
49
+ download_concurrency: null,
44
50
  name: null,
45
- proxy_url: null,
46
51
  max_retries: null,
47
- download_concurrency: null,
48
- proxy_password: null,
49
52
  client_key: null,
50
- sock_read_timeout: null,
51
- pulp_labels: null,
52
- tls_validation: null,
53
- headers: null,
54
- total_timeout: null,
53
+ sock_connect_timeout: null,
54
+ password: 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] :upload An uncommitted upload that may be turned into the artifact of the content unit.
29
28
  # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
29
+ # @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
30
30
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
31
31
  # @return [AsyncOperationResponse]
32
32
  def create(name, namespace, version, opts = {})
@@ -40,8 +40,8 @@ module PulpAnsibleClient
40
40
  # @param namespace [String] The namespace of the collection.
41
41
  # @param version [String] The version of the collection.
42
42
  # @param [Hash] opts the optional parameters
43
- # @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
44
43
  # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
44
+ # @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
45
45
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
46
46
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
47
47
  def create_with_http_info(name, namespace, version, opts = {})
@@ -102,8 +102,8 @@ module PulpAnsibleClient
102
102
  form_params['name'] = name
103
103
  form_params['namespace'] = namespace
104
104
  form_params['version'] = version
105
- form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
106
105
  form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
106
+ form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
107
107
  form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
108
108
 
109
109
  # http body (model)
@@ -15,12 +15,12 @@ require 'date'
15
15
  module PulpAnsibleClient
16
16
  # A serializer for CollectionVersion Content.
17
17
  class AnsibleCollectionVersion
18
- # An uncommitted upload that may be turned into the artifact of the content unit.
19
- attr_accessor :upload
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
+ # An uncommitted upload that may be turned into the artifact of the content unit.
22
+ attr_accessor :upload
23
+
24
24
  # A URI of a repository the new content unit should be associated with.
25
25
  attr_accessor :repository
26
26
 
@@ -36,8 +36,8 @@ module PulpAnsibleClient
36
36
  # Attribute mapping from ruby-style variable name to JSON key.
37
37
  def self.attribute_map
38
38
  {
39
- :'upload' => :'upload',
40
39
  :'file' => :'file',
40
+ :'upload' => :'upload',
41
41
  :'repository' => :'repository',
42
42
  :'name' => :'name',
43
43
  :'namespace' => :'namespace',
@@ -48,8 +48,8 @@ module PulpAnsibleClient
48
48
  # Attribute type mapping.
49
49
  def self.openapi_types
50
50
  {
51
- :'upload' => :'String',
52
51
  :'file' => :'File',
52
+ :'upload' => :'String',
53
53
  :'repository' => :'String',
54
54
  :'name' => :'String',
55
55
  :'namespace' => :'String',
@@ -78,14 +78,14 @@ module PulpAnsibleClient
78
78
  h[k.to_sym] = v
79
79
  }
80
80
 
81
- if attributes.key?(:'upload')
82
- self.upload = attributes[:'upload']
83
- end
84
-
85
81
  if attributes.key?(:'file')
86
82
  self.file = attributes[:'file']
87
83
  end
88
84
 
85
+ if attributes.key?(:'upload')
86
+ self.upload = attributes[:'upload']
87
+ end
88
+
89
89
  if attributes.key?(:'repository')
90
90
  self.repository = attributes[:'repository']
91
91
  end
@@ -220,8 +220,8 @@ module PulpAnsibleClient
220
220
  def ==(o)
221
221
  return true if self.equal?(o)
222
222
  self.class == o.class &&
223
- upload == o.upload &&
224
223
  file == o.file &&
224
+ upload == o.upload &&
225
225
  repository == o.repository &&
226
226
  name == o.name &&
227
227
  namespace == o.namespace &&
@@ -237,7 +237,7 @@ module PulpAnsibleClient
237
237
  # Calculates hash code according to all attributes.
238
238
  # @return [Integer] Hash code
239
239
  def hash
240
- [upload, file, repository, name, namespace, version].hash
240
+ [file, upload, repository, name, namespace, version].hash
241
241
  end
242
242
 
243
243
  # Builds the object from hash
@@ -15,13 +15,13 @@ 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
18
+ attr_accessor :pulp_href
20
19
 
21
20
  # Artifact file representing the physical content
22
21
  attr_accessor :artifact
23
22
 
24
- attr_accessor :pulp_href
23
+ # Timestamp of creation.
24
+ attr_accessor :pulp_created
25
25
 
26
26
  # The MD5 checksum if available.
27
27
  attr_accessor :md5
@@ -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
- :'artifact' => :'artifact',
102
100
  :'pulp_href' => :'pulp_href',
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
- :'artifact' => :'String',
135
133
  :'pulp_href' => :'String',
134
+ :'artifact' => :'String',
135
+ :'pulp_created' => :'DateTime',
136
136
  :'md5' => :'String',
137
137
  :'sha1' => :'String',
138
138
  :'sha224' => :'String',
@@ -182,16 +182,16 @@ 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']
185
+ if attributes.key?(:'pulp_href')
186
+ self.pulp_href = attributes[:'pulp_href']
187
187
  end
188
188
 
189
189
  if attributes.key?(:'artifact')
190
190
  self.artifact = attributes[:'artifact']
191
191
  end
192
192
 
193
- if attributes.key?(:'pulp_href')
194
- self.pulp_href = attributes[:'pulp_href']
193
+ if attributes.key?(:'pulp_created')
194
+ self.pulp_created = attributes[:'pulp_created']
195
195
  end
196
196
 
197
197
  if attributes.key?(:'md5')
@@ -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_created == o.pulp_created &&
547
- artifact == o.artifact &&
548
546
  pulp_href == o.pulp_href &&
547
+ artifact == o.artifact &&
548
+ pulp_created == o.pulp_created &&
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, 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
585
585
  end
586
586
 
587
587
  # Builds the object from hash