pulp_ansible_client 0.24.3 → 0.24.4

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0a9a0349a49b983c61f958caaf37ef5351a1e8a540b6c72fa1a45b04d4a51807
4
- data.tar.gz: f4cef5ff940f2f47faec5f87f3ede2400885dbc84b4a047f5f24d612c6976628
3
+ metadata.gz: 9ba65ce9a5f83bb5a725f652f90a99be9a7efe0d4d76e4047fdd45c3043275cf
4
+ data.tar.gz: f04f80db18c95e3277a0fdee9aaa114c320601b42d89bc34e3ea218a88fe2e5c
5
5
  SHA512:
6
- metadata.gz: 78a7d1b8b9102f5def11ce87e2876a224863f01a015040c03a037d5ece18d0dbc589782cadbdd20470c1146582e84ab280a696c5e7ca473ca5a53524e66d1b47
7
- data.tar.gz: 60e34dcdfcfabf18ba42df440d3a61a1baaeefcd467ae743c84f1379437c6a1c1c1fabbbb6a8965070390dc38df029d4e1a25fe82cda02f024c9aec0b465416e
6
+ metadata.gz: c30d2950e6a1bc8d6cb528b15dae46f1c218dc54ce588a29a32319d2f2c7a3d07bca338b68a287a9b260c1fe899235c2815e1ed7c2a924b82b9b82d8bffe514e
7
+ data.tar.gz: 8db6cd47ee08a90719c9dcfa236e6e5dc2414cef8aa1e2500a49b15e6500e9cecb01343223e0d76d7532fcd82bcc2302a8876de5879c2cff90f20c47e481e7ac
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.24.3
10
+ - Package version: 0.24.4
11
11
  - Generator version: 7.10.0
12
12
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
13
13
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
@@ -25,16 +25,16 @@ gem build pulp_ansible_client.gemspec
25
25
  Then either install the gem locally:
26
26
 
27
27
  ```shell
28
- gem install ./pulp_ansible_client-0.24.3.gem
28
+ gem install ./pulp_ansible_client-0.24.4.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./pulp_ansible_client-0.24.3.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulp_ansible_client-0.24.4.gem` to install the development dependencies)
32
32
 
33
33
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
34
34
 
35
35
  Finally add this to the Gemfile:
36
36
 
37
- gem 'pulp_ansible_client', '~> 0.24.3'
37
+ gem 'pulp_ansible_client', '~> 0.24.4'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -4,12 +4,12 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
8
- | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
7
+ | **artifact** | **String** | Artifact file representing the physical content | [optional] |
9
8
  | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
9
+ | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
10
10
  | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
11
- | **artifact** | **String** | Artifact file representing the physical content | [optional] |
12
11
  | **pulp_href** | **String** | | [optional][readonly] |
12
+ | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
13
13
  | **sha256** | **String** | The SHA-256 checksum if available. | [optional][readonly] |
14
14
  | **md5** | **String** | The MD5 checksum if available. | [optional][readonly] |
15
15
  | **sha1** | **String** | The SHA-1 checksum if available. | [optional][readonly] |
@@ -41,12 +41,12 @@
41
41
  require 'pulp_ansible_client'
42
42
 
43
43
  instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(
44
- prn: null,
45
- pulp_last_updated: null,
44
+ artifact: null,
46
45
  pulp_created: null,
46
+ pulp_last_updated: null,
47
47
  pulp_labels: null,
48
- artifact: null,
49
48
  pulp_href: null,
49
+ prn: null,
50
50
  sha256: null,
51
51
  md5: null,
52
52
  sha1: null,
@@ -4,26 +4,26 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
8
- | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
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
- | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
7
+ | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
8
+ | **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] |
9
+ | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
11
10
  | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
11
+ | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
12
+ | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
13
+ | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
14
+ | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [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] |
12
16
  | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
13
- | **pulp_labels** | **Hash<String, String>** | | [optional] |
14
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] |
15
- | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
16
- | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
17
- | **url** | **String** | The URL of an external content source. | |
18
18
  | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
19
19
  | **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] |
20
- | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
21
- | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
22
- | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
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] |
24
20
  | **name** | **String** | A unique name for this remote. | |
25
- | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
26
- | **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] |
21
+ | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
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_labels** | **Hash<String, String>** | | [optional] |
24
+ | **url** | **String** | The URL of an external content source. | |
25
+ | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
26
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will 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
 
@@ -33,26 +33,26 @@
33
33
  require 'pulp_ansible_client'
34
34
 
35
35
  instance = PulpAnsibleClient::AnsibleGitRemote.new(
36
- rate_limit: null,
37
- download_concurrency: null,
38
- total_timeout: null,
39
- client_key: null,
36
+ ca_cert: null,
37
+ connect_timeout: null,
38
+ username: null,
40
39
  headers: null,
40
+ client_key: null,
41
+ proxy_password: null,
42
+ proxy_url: null,
43
+ rate_limit: null,
44
+ max_retries: null,
41
45
  tls_validation: null,
42
- pulp_labels: null,
43
46
  sock_connect_timeout: null,
44
- ca_cert: null,
45
- password: null,
46
- url: null,
47
47
  proxy_username: null,
48
48
  sock_read_timeout: null,
49
- proxy_url: null,
50
- username: null,
51
- client_cert: null,
52
- max_retries: null,
53
49
  name: null,
54
- proxy_password: null,
55
- connect_timeout: null,
50
+ client_cert: null,
51
+ total_timeout: null,
52
+ pulp_labels: null,
53
+ url: null,
54
+ password: null,
55
+ download_concurrency: null,
56
56
  metadata_only: null,
57
57
  git_ref: null
58
58
  )
@@ -4,26 +4,26 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
8
- | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
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] |
7
+ | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
8
+ | **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] |
9
+ | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
10
10
  | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
11
+ | **pulp_href** | **String** | | [optional][readonly] |
12
+ | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
13
+ | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [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] |
11
15
  | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
12
- | **pulp_labels** | **Hash<String, String>** | | [optional] |
16
+ | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
13
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] |
14
- | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
15
- | **url** | **String** | The URL of an external content source. | |
16
18
  | **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
- | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
18
- | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
19
+ | **name** | **String** | A unique name for this remote. | |
19
20
  | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
20
- | **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional][readonly] |
21
+ | **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
21
22
  | **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
22
- | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
23
- | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
24
- | **pulp_href** | **String** | | [optional][readonly] |
25
- | **name** | **String** | A unique name for this remote. | |
26
- | **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
+ | **pulp_labels** | **Hash<String, String>** | | [optional] |
24
+ | **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional][readonly] |
25
+ | **url** | **String** | The URL of an external content source. | |
26
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will 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
 
@@ -33,26 +33,26 @@
33
33
  require 'pulp_ansible_client'
34
34
 
35
35
  instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(
36
- rate_limit: null,
37
- download_concurrency: null,
38
- total_timeout: null,
36
+ ca_cert: null,
37
+ connect_timeout: null,
38
+ pulp_created: null,
39
39
  headers: null,
40
+ pulp_href: null,
41
+ proxy_url: null,
42
+ rate_limit: null,
43
+ max_retries: null,
40
44
  tls_validation: null,
41
- pulp_labels: null,
45
+ prn: null,
42
46
  sock_connect_timeout: null,
43
- ca_cert: null,
44
- url: null,
45
47
  sock_read_timeout: null,
46
- proxy_url: null,
47
- prn: null,
48
+ name: null,
48
49
  client_cert: null,
49
- hidden_fields: null,
50
+ total_timeout: null,
50
51
  pulp_last_updated: null,
51
- max_retries: null,
52
- pulp_created: null,
53
- pulp_href: null,
54
- name: null,
55
- connect_timeout: null,
52
+ pulp_labels: null,
53
+ hidden_fields: null,
54
+ url: null,
55
+ download_concurrency: null,
56
56
  metadata_only: null,
57
57
  git_ref: null
58
58
  )
data/docs/AnsibleRole.md CHANGED
@@ -5,8 +5,8 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
8
- | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
9
8
  | **artifact** | **String** | Artifact file representing the physical content | |
9
+ | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
10
10
  | **version** | **String** | | |
11
11
  | **name** | **String** | | |
12
12
  | **namespace** | **String** | | |
@@ -18,8 +18,8 @@ require 'pulp_ansible_client'
18
18
 
19
19
  instance = PulpAnsibleClient::AnsibleRole.new(
20
20
  repository: null,
21
- pulp_labels: null,
22
21
  artifact: null,
22
+ pulp_labels: null,
23
23
  version: null,
24
24
  name: null,
25
25
  namespace: null
@@ -4,12 +4,12 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
8
- | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
7
+ | **artifact** | **String** | Artifact file representing the physical content | |
9
8
  | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
9
+ | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
10
10
  | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
11
- | **artifact** | **String** | Artifact file representing the physical content | |
12
11
  | **pulp_href** | **String** | | [optional][readonly] |
12
+ | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
13
13
  | **version** | **String** | | |
14
14
  | **name** | **String** | | |
15
15
  | **namespace** | **String** | | |
@@ -20,12 +20,12 @@
20
20
  require 'pulp_ansible_client'
21
21
 
22
22
  instance = PulpAnsibleClient::AnsibleRoleResponse.new(
23
- prn: null,
24
- pulp_last_updated: null,
23
+ artifact: null,
25
24
  pulp_created: null,
25
+ pulp_last_updated: null,
26
26
  pulp_labels: null,
27
- artifact: null,
28
27
  pulp_href: null,
28
+ prn: null,
29
29
  version: null,
30
30
  name: null,
31
31
  namespace: null
@@ -33,12 +33,12 @@ end
33
33
 
34
34
  api_instance = PulpAnsibleClient::ContentCollectionVersionsApi.new
35
35
  opts = {
36
- upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
37
- file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
38
36
  repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
39
- pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
40
37
  artifact: 'artifact_example', # String | Artifact file representing the physical content
38
+ upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
41
39
  file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
40
+ pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
41
+ file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
42
42
  expected_name: 'expected_name_example', # String | The name of the collection.
43
43
  expected_namespace: 'expected_namespace_example', # String | The namespace of the collection.
44
44
  expected_version: 'expected_version_example' # String | The version of the collection.
@@ -75,12 +75,12 @@ end
75
75
 
76
76
  | Name | Type | Description | Notes |
77
77
  | ---- | ---- | ----------- | ----- |
78
- | **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
79
- | **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
80
78
  | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
81
- | **pulp_labels** | [**Hash&lt;String, String&gt;**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
82
79
  | **artifact** | **String** | Artifact file representing the physical content | [optional] |
80
+ | **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
83
81
  | **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
82
+ | **pulp_labels** | [**Hash&lt;String, String&gt;**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
83
+ | **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
84
84
  | **expected_name** | **String** | The name of the collection. | [optional] |
85
85
  | **expected_namespace** | **String** | The namespace of the collection. | [optional] |
86
86
  | **expected_version** | **String** | The version of the collection. | [optional] |
@@ -4,26 +4,26 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
8
- | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
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
- | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
7
+ | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
8
+ | **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] |
9
+ | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
11
10
  | **headers** | **Array&lt;Object&gt;** | Headers for aiohttp.Clientsession | [optional] |
11
+ | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
12
+ | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
13
+ | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
14
+ | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [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] |
12
16
  | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
13
- | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
14
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] |
15
- | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
16
- | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
17
- | **url** | **String** | The URL of an external content source. | [optional] |
18
18
  | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
19
19
  | **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] |
20
- | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
21
- | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
22
- | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
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] |
24
20
  | **name** | **String** | A unique name for this remote. | [optional] |
25
- | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
26
- | **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] |
21
+ | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
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_labels** | **Hash&lt;String, String&gt;** | | [optional] |
24
+ | **url** | **String** | The URL of an external content source. | [optional] |
25
+ | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
26
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will 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
 
@@ -33,26 +33,26 @@
33
33
  require 'pulp_ansible_client'
34
34
 
35
35
  instance = PulpAnsibleClient::PatchedansibleGitRemote.new(
36
- rate_limit: null,
37
- download_concurrency: null,
38
- total_timeout: null,
39
- client_key: null,
36
+ ca_cert: null,
37
+ connect_timeout: null,
38
+ username: null,
40
39
  headers: null,
40
+ client_key: null,
41
+ proxy_password: null,
42
+ proxy_url: null,
43
+ rate_limit: null,
44
+ max_retries: null,
41
45
  tls_validation: null,
42
- pulp_labels: null,
43
46
  sock_connect_timeout: null,
44
- ca_cert: null,
45
- password: null,
46
- url: null,
47
47
  proxy_username: null,
48
48
  sock_read_timeout: null,
49
- proxy_url: null,
50
- username: null,
51
- client_cert: null,
52
- max_retries: null,
53
49
  name: null,
54
- proxy_password: null,
55
- connect_timeout: null,
50
+ client_cert: null,
51
+ total_timeout: null,
52
+ pulp_labels: null,
53
+ url: null,
54
+ password: null,
55
+ download_concurrency: null,
56
56
  metadata_only: null,
57
57
  git_ref: null
58
58
  )
@@ -111,7 +111,7 @@ PulpAnsibleClient.configure do |config|
111
111
  end
112
112
 
113
113
  api_instance = PulpAnsibleClient::RemotesGitApi.new
114
- ansible_git_remote = PulpAnsibleClient::AnsibleGitRemote.new({url: 'url_example', name: 'name_example'}) # AnsibleGitRemote |
114
+ ansible_git_remote = PulpAnsibleClient::AnsibleGitRemote.new({name: 'name_example', url: 'url_example'}) # AnsibleGitRemote |
115
115
 
116
116
  begin
117
117
  # Create a git remote
@@ -890,7 +890,7 @@ end
890
890
 
891
891
  api_instance = PulpAnsibleClient::RemotesGitApi.new
892
892
  ansible_git_remote_href = 'ansible_git_remote_href_example' # String |
893
- ansible_git_remote = PulpAnsibleClient::AnsibleGitRemote.new({url: 'url_example', name: 'name_example'}) # AnsibleGitRemote |
893
+ ansible_git_remote = PulpAnsibleClient::AnsibleGitRemote.new({name: 'name_example', url: 'url_example'}) # AnsibleGitRemote |
894
894
 
895
895
  begin
896
896
  # Update a git remote
@@ -22,12 +22,12 @@ module PulpAnsibleClient
22
22
  # Create a collection version
23
23
  # Trigger an asynchronous task to create content,optionally create new repository version.
24
24
  # @param [Hash] opts the optional parameters
25
- # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
26
- # @option opts [File] :file An uploaded file that may be turned into the content unit.
27
25
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
28
- # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
29
26
  # @option opts [String] :artifact Artifact file representing the physical content
27
+ # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
30
28
  # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
29
+ # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
30
+ # @option opts [File] :file An uploaded file that may be turned into the content unit.
31
31
  # @option opts [String] :expected_name The name of the collection.
32
32
  # @option opts [String] :expected_namespace The namespace of the collection.
33
33
  # @option opts [String] :expected_version The version of the collection.
@@ -40,12 +40,12 @@ module PulpAnsibleClient
40
40
  # Create a collection version
41
41
  # Trigger an asynchronous task to create content,optionally create new repository version.
42
42
  # @param [Hash] opts the optional parameters
43
- # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
44
- # @option opts [File] :file An uploaded file that may be turned into the content unit.
45
43
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
46
- # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
47
44
  # @option opts [String] :artifact Artifact file representing the physical content
45
+ # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
48
46
  # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
47
+ # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
48
+ # @option opts [File] :file An uploaded file that may be turned into the content unit.
49
49
  # @option opts [String] :expected_name The name of the collection.
50
50
  # @option opts [String] :expected_namespace The namespace of the collection.
51
51
  # @option opts [String] :expected_version The version of the collection.
@@ -100,12 +100,12 @@ module PulpAnsibleClient
100
100
 
101
101
  # form parameters
102
102
  form_params = opts[:form_params] || {}
103
- form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
104
- form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
105
103
  form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
106
- form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
107
104
  form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
105
+ form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
108
106
  form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
107
+ form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
108
+ form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
109
109
  form_params['expected_name'] = opts[:'expected_name'] if !opts[:'expected_name'].nil?
110
110
  form_params['expected_namespace'] = opts[:'expected_namespace'] if !opts[:'expected_namespace'].nil?
111
111
  form_params['expected_version'] = opts[:'expected_version'] if !opts[:'expected_version'].nil?
@@ -16,23 +16,23 @@ require 'time'
16
16
  module PulpAnsibleClient
17
17
  # A serializer for CollectionVersion Content.
18
18
  class AnsibleCollectionVersionResponse
19
- # The Pulp Resource Name (PRN).
20
- attr_accessor :prn
21
-
22
- # Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
23
- attr_accessor :pulp_last_updated
19
+ # Artifact file representing the physical content
20
+ attr_accessor :artifact
24
21
 
25
22
  # Timestamp of creation.
26
23
  attr_accessor :pulp_created
27
24
 
25
+ # Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
26
+ attr_accessor :pulp_last_updated
27
+
28
28
  # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
29
29
  attr_accessor :pulp_labels
30
30
 
31
- # Artifact file representing the physical content
32
- attr_accessor :artifact
33
-
34
31
  attr_accessor :pulp_href
35
32
 
33
+ # The Pulp Resource Name (PRN).
34
+ attr_accessor :prn
35
+
36
36
  # The SHA-256 checksum if available.
37
37
  attr_accessor :sha256
38
38
 
@@ -107,12 +107,12 @@ module PulpAnsibleClient
107
107
  # Attribute mapping from ruby-style variable name to JSON key.
108
108
  def self.attribute_map
109
109
  {
110
- :'prn' => :'prn',
111
- :'pulp_last_updated' => :'pulp_last_updated',
110
+ :'artifact' => :'artifact',
112
111
  :'pulp_created' => :'pulp_created',
112
+ :'pulp_last_updated' => :'pulp_last_updated',
113
113
  :'pulp_labels' => :'pulp_labels',
114
- :'artifact' => :'artifact',
115
114
  :'pulp_href' => :'pulp_href',
115
+ :'prn' => :'prn',
116
116
  :'sha256' => :'sha256',
117
117
  :'md5' => :'md5',
118
118
  :'sha1' => :'sha1',
@@ -148,12 +148,12 @@ module PulpAnsibleClient
148
148
  # Attribute type mapping.
149
149
  def self.openapi_types
150
150
  {
151
- :'prn' => :'String',
152
- :'pulp_last_updated' => :'Time',
151
+ :'artifact' => :'String',
153
152
  :'pulp_created' => :'Time',
153
+ :'pulp_last_updated' => :'Time',
154
154
  :'pulp_labels' => :'Hash<String, String>',
155
- :'artifact' => :'String',
156
155
  :'pulp_href' => :'String',
156
+ :'prn' => :'String',
157
157
  :'sha256' => :'String',
158
158
  :'md5' => :'String',
159
159
  :'sha1' => :'String',
@@ -203,32 +203,32 @@ module PulpAnsibleClient
203
203
  h[k.to_sym] = v
204
204
  }
205
205
 
206
- if attributes.key?(:'prn')
207
- self.prn = attributes[:'prn']
208
- end
209
-
210
- if attributes.key?(:'pulp_last_updated')
211
- self.pulp_last_updated = attributes[:'pulp_last_updated']
206
+ if attributes.key?(:'artifact')
207
+ self.artifact = attributes[:'artifact']
212
208
  end
213
209
 
214
210
  if attributes.key?(:'pulp_created')
215
211
  self.pulp_created = attributes[:'pulp_created']
216
212
  end
217
213
 
214
+ if attributes.key?(:'pulp_last_updated')
215
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
216
+ end
217
+
218
218
  if attributes.key?(:'pulp_labels')
219
219
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
220
220
  self.pulp_labels = value
221
221
  end
222
222
  end
223
223
 
224
- if attributes.key?(:'artifact')
225
- self.artifact = attributes[:'artifact']
226
- end
227
-
228
224
  if attributes.key?(:'pulp_href')
229
225
  self.pulp_href = attributes[:'pulp_href']
230
226
  end
231
227
 
228
+ if attributes.key?(:'prn')
229
+ self.prn = attributes[:'prn']
230
+ end
231
+
232
232
  if attributes.key?(:'sha256')
233
233
  self.sha256 = attributes[:'sha256']
234
234
  end
@@ -502,12 +502,12 @@ module PulpAnsibleClient
502
502
  def ==(o)
503
503
  return true if self.equal?(o)
504
504
  self.class == o.class &&
505
- prn == o.prn &&
506
- pulp_last_updated == o.pulp_last_updated &&
505
+ artifact == o.artifact &&
507
506
  pulp_created == o.pulp_created &&
507
+ pulp_last_updated == o.pulp_last_updated &&
508
508
  pulp_labels == o.pulp_labels &&
509
- artifact == o.artifact &&
510
509
  pulp_href == o.pulp_href &&
510
+ prn == o.prn &&
511
511
  sha256 == o.sha256 &&
512
512
  md5 == o.md5 &&
513
513
  sha1 == o.sha1 &&
@@ -543,7 +543,7 @@ module PulpAnsibleClient
543
543
  # Calculates hash code according to all attributes.
544
544
  # @return [Integer] Hash code
545
545
  def hash
546
- [prn, pulp_last_updated, pulp_created, pulp_labels, artifact, pulp_href, sha256, md5, sha1, sha224, sha384, sha512, id, authors, contents, dependencies, description, docs_blob, manifest, files, documentation, homepage, issues, license, name, namespace, origin_repository, tags, version, requires_ansible].hash
546
+ [artifact, pulp_created, pulp_last_updated, pulp_labels, pulp_href, prn, sha256, md5, sha1, sha224, sha384, sha512, id, authors, contents, dependencies, description, docs_blob, manifest, files, documentation, homepage, issues, license, name, namespace, origin_repository, tags, version, requires_ansible].hash
547
547
  end
548
548
 
549
549
  # Builds the object from hash