pulp_ansible_client 0.11.0.dev1636859743 → 0.11.0.dev1637205359

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.

Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/AnsibleCollectionVersion.md +3 -3
  4. data/docs/AnsibleCollectionVersionResponse.md +4 -4
  5. data/docs/AnsibleGitRemote.md +23 -21
  6. data/docs/AnsibleGitRemoteResponse.md +23 -21
  7. data/docs/AnsibleRoleResponse.md +4 -4
  8. data/docs/CollectionVersionResponse.md +4 -0
  9. data/docs/ContentCollectionVersionsApi.md +3 -3
  10. data/docs/PatchedansibleGitRemote.md +23 -21
  11. data/docs/UnpaginatedCollectionVersionResponse.md +5 -1
  12. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +3 -3
  13. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +11 -11
  14. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +14 -19
  15. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +140 -130
  16. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +139 -129
  17. data/lib/pulp_ansible_client/models/ansible_role_response.rb +14 -14
  18. data/lib/pulp_ansible_client/models/collection_version_response.rb +19 -1
  19. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +130 -120
  20. data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +22 -4
  21. data/lib/pulp_ansible_client/version.rb +1 -1
  22. data/spec/api/content_collection_versions_api_spec.rb +1 -1
  23. data/spec/models/ansible_collection_version_response_spec.rb +2 -2
  24. data/spec/models/ansible_collection_version_spec.rb +2 -2
  25. data/spec/models/ansible_git_remote_response_spec.rb +22 -16
  26. data/spec/models/ansible_git_remote_spec.rb +22 -16
  27. data/spec/models/ansible_role_response_spec.rb +2 -2
  28. data/spec/models/collection_version_response_spec.rb +12 -0
  29. data/spec/models/patchedansible_git_remote_spec.rb +22 -16
  30. data/spec/models/unpaginated_collection_version_response_spec.rb +12 -0
  31. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5a821f5861a0574710bc9a4ff5ad9deca7685060b859aaf9fc6760c9bd37541f
4
- data.tar.gz: ecdc08d3bebc414f35d9f3857426f7587a1d7581dbd4291d705bd38b6cd29dc1
3
+ metadata.gz: 52f97e0fab3f238b5f1501faf72ea803b40e91f9c45749898c6a1050ef14196b
4
+ data.tar.gz: f6be6c36d239293086392760d55556283492f969f1639fcc615f882b0713de51
5
5
  SHA512:
6
- metadata.gz: 8b56219d1b5e2148e2ba617444452d23882b79e946b85882ade1a3ae295aa33b104cb4a6ad6ff9aec7cdf6442f884b9bf765e34e03c990c1912a6499d79d88e7
7
- data.tar.gz: aa4192171d79f1d06711b15e62b4049d14dde71d920b99083065f03db98ef1cf6935070af94986477e4a511345c31efb8e396a557dfb4347ccbcfdc6c40b6454
6
+ metadata.gz: a0edc8612440cf0b87926d6d7946cc6bc4a7dfc76a57a2a4b39f8e3cca9d016fd2569b975cd79563461ec0cacb025841adaaf12c531d0bc47548d7b54dae95f6
7
+ data.tar.gz: 1a3b9582deb2e8eaf60522bdec167f5f3159467401b4e4d9f81cadf007659d4cdef10db36122070b694e127eacc1fd090bc14ec98d1940660410e2db8c0907a0
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.dev1636859743
10
+ - Package version: 0.11.0.dev1637205359
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.dev1636859743.gem
27
+ gem install ./pulp_ansible_client-0.11.0.dev1637205359.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_ansible_client-0.11.0.dev1636859743.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_ansible_client-0.11.0.dev1637205359.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.dev1636859743'
36
+ gem 'pulp_ansible_client', '~> 0.11.0.dev1637205359'
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
- **artifact** | **String** | Artifact file representing the physical content |
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,54 +4,56 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
7
+ **rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
8
8
  **password** | **String** | The password to be used for authentication when syncing. | [optional]
9
9
  **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
10
- **rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
11
- **name** | **String** | A unique name for this remote. |
10
+ **proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
11
+ **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
+ **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
13
+ **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
12
14
  **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
13
15
  **username** | **String** | The username to be used for authentication when syncing. | [optional]
14
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]
15
- **proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
16
- **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]
17
- **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
17
+ **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
18
18
  **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]
19
19
  **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
20
- **proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
20
+ **proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
21
+ **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]
22
+ **name** | **String** | A unique name for this remote. |
23
+ **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
21
24
  **pulp_labels** | [**Object**](.md) | | [optional]
22
25
  **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
23
26
  **url** | **String** | The URL of an external content source. |
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]
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
- **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [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
+ **git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional]
28
29
 
29
30
  ## Code Sample
30
31
 
31
32
  ```ruby
32
33
  require 'PulpAnsibleClient'
33
34
 
34
- instance = PulpAnsibleClient::AnsibleGitRemote.new(download_concurrency: null,
35
+ instance = PulpAnsibleClient::AnsibleGitRemote.new(rate_limit: null,
35
36
  password: null,
36
37
  client_key: null,
37
- rate_limit: null,
38
- name: null,
38
+ proxy_password: null,
39
+ max_retries: null,
40
+ sock_connect_timeout: null,
41
+ ca_cert: null,
39
42
  proxy_url: null,
40
43
  username: null,
41
44
  sock_read_timeout: null,
42
- proxy_username: null,
43
- sock_connect_timeout: null,
44
- ca_cert: null,
45
+ client_cert: null,
45
46
  total_timeout: null,
46
47
  headers: null,
47
- proxy_password: null,
48
+ proxy_username: null,
49
+ connect_timeout: null,
50
+ name: null,
51
+ download_concurrency: null,
48
52
  pulp_labels: null,
49
53
  tls_validation: null,
50
54
  url: null,
51
- max_retries: null,
52
- connect_timeout: null,
53
- client_cert: null,
54
- metadata_only: null)
55
+ metadata_only: null,
56
+ git_ref: null)
55
57
  ```
56
58
 
57
59
 
@@ -4,50 +4,52 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
8
9
  **rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
9
- **name** | **String** | A unique name for this remote. |
10
- **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
11
- **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
+ **pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
11
+ **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
12
  **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
13
13
  **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
14
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
14
+ **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
15
+ **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
16
+ **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
15
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]
16
- **pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
17
18
  **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
19
+ **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
20
+ **name** | **String** | A unique name for this remote. |
21
+ **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
18
22
  **pulp_labels** | [**Object**](.md) | | [optional]
19
23
  **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
20
24
  **url** | **String** | The URL of an external content source. |
21
- **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [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
- **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
24
- **pulp_href** | **String** | | [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
+ **git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional]
26
27
 
27
28
  ## Code Sample
28
29
 
29
30
  ```ruby
30
31
  require 'PulpAnsibleClient'
31
32
 
32
- instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(download_concurrency: null,
33
+ instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(pulp_href: null,
34
+ pulp_created: null,
33
35
  rate_limit: null,
34
- name: null,
35
- proxy_url: null,
36
- sock_read_timeout: null,
36
+ pulp_last_updated: null,
37
+ max_retries: null,
37
38
  sock_connect_timeout: null,
38
39
  ca_cert: null,
39
- pulp_created: null,
40
+ proxy_url: null,
41
+ sock_read_timeout: null,
42
+ client_cert: null,
40
43
  total_timeout: null,
41
- pulp_last_updated: null,
42
44
  headers: null,
45
+ connect_timeout: null,
46
+ name: null,
47
+ download_concurrency: null,
43
48
  pulp_labels: null,
44
49
  tls_validation: null,
45
50
  url: null,
46
- max_retries: null,
47
- connect_timeout: null,
48
- client_cert: null,
49
- pulp_href: null,
50
- metadata_only: null)
51
+ metadata_only: null,
52
+ git_ref: null)
51
53
  ```
52
54
 
53
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)
@@ -15,6 +15,8 @@ Name | Type | Description | Notes
15
15
  **name** | **String** | | [optional] [readonly]
16
16
  **namespace** | [**CollectionNamespaceResponse**](CollectionNamespaceResponse.md) | | [optional] [readonly]
17
17
  **metadata** | [**CollectionMetadataResponse**](CollectionMetadataResponse.md) | | [optional] [readonly]
18
+ **git_url** | **String** | | [optional] [readonly]
19
+ **git_commit_sha** | **String** | | [optional] [readonly]
18
20
  **manifest** | [**Object**](.md) | A JSON field holding MANIFEST.json data. | [optional] [readonly]
19
21
  **files** | [**Object**](.md) | A JSON field holding FILES.json data. | [optional] [readonly]
20
22
 
@@ -34,6 +36,8 @@ instance = PulpAnsibleClient::CollectionVersionResponse.new(version: null,
34
36
  name: null,
35
37
  namespace: null,
36
38
  metadata: null,
39
+ git_url: null,
40
+ git_commit_sha: null,
37
41
  manifest: null,
38
42
  files: null)
39
43
  ```
@@ -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,54 +4,56 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
7
+ **rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
8
8
  **password** | **String** | The password to be used for authentication when syncing. | [optional]
9
9
  **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
10
- **rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
11
- **name** | **String** | A unique name for this remote. | [optional]
10
+ **proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
11
+ **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
+ **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
13
+ **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
12
14
  **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
13
15
  **username** | **String** | The username to be used for authentication when syncing. | [optional]
14
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]
15
- **proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
16
- **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]
17
- **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
17
+ **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
18
18
  **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]
19
19
  **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
20
- **proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
20
+ **proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
21
+ **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]
22
+ **name** | **String** | A unique name for this remote. | [optional]
23
+ **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
21
24
  **pulp_labels** | [**Object**](.md) | | [optional]
22
25
  **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
23
26
  **url** | **String** | The URL of an external content source. | [optional]
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]
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
- **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [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
+ **git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional]
28
29
 
29
30
  ## Code Sample
30
31
 
31
32
  ```ruby
32
33
  require 'PulpAnsibleClient'
33
34
 
34
- instance = PulpAnsibleClient::PatchedansibleGitRemote.new(download_concurrency: null,
35
+ instance = PulpAnsibleClient::PatchedansibleGitRemote.new(rate_limit: null,
35
36
  password: null,
36
37
  client_key: null,
37
- rate_limit: null,
38
- name: null,
38
+ proxy_password: null,
39
+ max_retries: null,
40
+ sock_connect_timeout: null,
41
+ ca_cert: null,
39
42
  proxy_url: null,
40
43
  username: null,
41
44
  sock_read_timeout: null,
42
- proxy_username: null,
43
- sock_connect_timeout: null,
44
- ca_cert: null,
45
+ client_cert: null,
45
46
  total_timeout: null,
46
47
  headers: null,
47
- proxy_password: null,
48
+ proxy_username: null,
49
+ connect_timeout: null,
50
+ name: null,
51
+ download_concurrency: null,
48
52
  pulp_labels: null,
49
53
  tls_validation: null,
50
54
  url: null,
51
- max_retries: null,
52
- connect_timeout: null,
53
- client_cert: null,
54
- metadata_only: null)
55
+ metadata_only: null,
56
+ git_ref: null)
55
57
  ```
56
58
 
57
59
 
@@ -15,6 +15,8 @@ Name | Type | Description | Notes
15
15
  **name** | **String** | | [optional] [readonly]
16
16
  **namespace** | [**CollectionNamespaceResponse**](CollectionNamespaceResponse.md) | | [optional] [readonly]
17
17
  **metadata** | [**CollectionMetadataResponse**](CollectionMetadataResponse.md) | | [optional] [readonly]
18
+ **git_url** | **String** | | [optional] [readonly]
19
+ **git_commit_sha** | **String** | | [optional] [readonly]
18
20
 
19
21
  ## Code Sample
20
22
 
@@ -31,7 +33,9 @@ instance = PulpAnsibleClient::UnpaginatedCollectionVersionResponse.new(version:
31
33
  download_url: null,
32
34
  name: null,
33
35
  namespace: null,
34
- metadata: null)
36
+ metadata: null,
37
+ git_url: null,
38
+ git_commit_sha: null)
35
39
  ```
36
40
 
37
41
 
@@ -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,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')
@@ -301,10 +301,6 @@ module PulpAnsibleClient
301
301
  # @return Array for valid properties with the reasons
302
302
  def list_invalid_properties
303
303
  invalid_properties = Array.new
304
- if @artifact.nil?
305
- invalid_properties.push('invalid value for "artifact", artifact cannot be nil.')
306
- end
307
-
308
304
  if @id.nil?
309
305
  invalid_properties.push('invalid value for "id", id cannot be nil.')
310
306
  end
@@ -407,7 +403,6 @@ module PulpAnsibleClient
407
403
  # Check to see if the all the properties in the model are valid
408
404
  # @return true if the model is valid
409
405
  def valid?
410
- return false if @artifact.nil?
411
406
  return false if @id.nil?
412
407
  return false if @authors.nil?
413
408
  return false if @contents.nil?
@@ -548,9 +543,9 @@ module PulpAnsibleClient
548
543
  def ==(o)
549
544
  return true if self.equal?(o)
550
545
  self.class == o.class &&
551
- pulp_created == o.pulp_created &&
552
- artifact == o.artifact &&
553
546
  pulp_href == o.pulp_href &&
547
+ artifact == o.artifact &&
548
+ pulp_created == o.pulp_created &&
554
549
  md5 == o.md5 &&
555
550
  sha1 == o.sha1 &&
556
551
  sha224 == o.sha224 &&
@@ -586,7 +581,7 @@ module PulpAnsibleClient
586
581
  # Calculates hash code according to all attributes.
587
582
  # @return [Integer] Hash code
588
583
  def hash
589
- [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
590
585
  end
591
586
 
592
587
  # Builds the object from hash