pulp_container_client 2.3.0.dev01611717997 → 2.3.0.dev01611804271

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.

Potentially problematic release.


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

Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/ContainerContainerDistribution.md +9 -7
  4. data/docs/ContainerContainerDistributionResponse.md +12 -10
  5. data/docs/ContainerContainerPushRepositoryResponse.md +2 -0
  6. data/docs/ContainerContainerRemote.md +4 -0
  7. data/docs/ContainerContainerRemoteResponse.md +4 -0
  8. data/docs/ContainerContainerRepository.md +3 -1
  9. data/docs/ContainerContainerRepositoryResponse.md +2 -0
  10. data/docs/PatchedcontainerContainerDistribution.md +9 -7
  11. data/docs/PatchedcontainerContainerRemote.md +4 -0
  12. data/docs/PatchedcontainerContainerRepository.md +3 -1
  13. data/lib/pulp_container_client/models/container_container_distribution.rb +38 -29
  14. data/lib/pulp_container_client/models/container_container_distribution_response.rb +49 -40
  15. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +10 -1
  16. data/lib/pulp_container_client/models/container_container_remote.rb +21 -1
  17. data/lib/pulp_container_client/models/container_container_remote_response.rb +21 -1
  18. data/lib/pulp_container_client/models/container_container_repository.rb +10 -1
  19. data/lib/pulp_container_client/models/container_container_repository_response.rb +10 -1
  20. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +38 -29
  21. data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +21 -1
  22. data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +10 -1
  23. data/lib/pulp_container_client/version.rb +1 -1
  24. data/spec/models/container_container_distribution_response_spec.rb +12 -6
  25. data/spec/models/container_container_distribution_spec.rb +10 -4
  26. data/spec/models/container_container_push_repository_response_spec.rb +6 -0
  27. data/spec/models/container_container_remote_response_spec.rb +12 -0
  28. data/spec/models/container_container_remote_spec.rb +12 -0
  29. data/spec/models/container_container_repository_response_spec.rb +6 -0
  30. data/spec/models/container_container_repository_spec.rb +6 -0
  31. data/spec/models/patchedcontainer_container_distribution_spec.rb +10 -4
  32. data/spec/models/patchedcontainer_container_remote_spec.rb +12 -0
  33. data/spec/models/patchedcontainer_container_repository_spec.rb +6 -0
  34. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2d19e95f54cdcffc9322078192e90263f8f244aef04d97f6466b0b74e958fafe
4
- data.tar.gz: d39f1e2a3d65bfa9adfd17b8d7abc52ee38ebef263e8f8b35da2093978792dc6
3
+ metadata.gz: 876c2e12f6a1333a38ec4530852150dc96d008bde8af9478080c3a68aa4bd59c
4
+ data.tar.gz: ba82dd7d0802fe3ea42cbacbb64a1983c2d3408318e606ebe177c738c4ee6f0b
5
5
  SHA512:
6
- metadata.gz: 4907b1a7598229ae2e6f36692dd4a8b67e8d13278b611bd43c964aed26f00269a641a953d029683b9ff4cfd2cb76b0ddbef3e616d3d2e18eb90da7863abbe9ae
7
- data.tar.gz: 05b090e258b6db44ba9552f34ee54e507fb53dde55f38c3529903a62f4850876f0effa1b0c091e1e8cc39198429f86cdafecc595844f66956f7bfb00e883c40e
6
+ metadata.gz: 14c8c4870db1e03bdfe07133d857463fdbbe40c44fd8613416050e2c549932013fc47c9325d8f36fbf7cf774992c4e25d05c6726885be568b83249a8710a9903
7
+ data.tar.gz: a34bdc1888ce1a6f2a39451ca2ab36ef2bde6a73370c9663222d52ef6a316b0c47e1c463018a66d3715908ad5062905842ad72fc18126806d62c578f2bac808b
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: 2.3.0.dev01611717997
10
+ - Package version: 2.3.0.dev01611804271
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_container_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulp_container_client-2.3.0.dev01611717997.gem
27
+ gem install ./pulp_container_client-2.3.0.dev01611804271.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_container_client-2.3.0.dev01611717997.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_container_client-2.3.0.dev01611804271.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_container_client', '~> 2.3.0.dev01611717997'
36
+ gem 'pulp_container_client', '~> 2.3.0.dev01611804271'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -4,22 +4,24 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
8
- **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
9
- **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
10
7
  **repository_version** | **String** | RepositoryVersion to be served | [optional]
8
+ **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
9
+ **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
11
10
  **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
11
+ **pulp_labels** | [**Object**](.md) | | [optional]
12
+ **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
12
13
 
13
14
  ## Code Sample
14
15
 
15
16
  ```ruby
16
17
  require 'PulpContainerClient'
17
18
 
18
- instance = PulpContainerClient::ContainerContainerDistribution.new(repository: null,
19
+ instance = PulpContainerClient::ContainerContainerDistribution.new(repository_version: null,
19
20
  name: null,
20
- content_guard: null,
21
- repository_version: null,
22
- base_path: null)
21
+ repository: null,
22
+ base_path: null,
23
+ pulp_labels: null,
24
+ content_guard: null)
23
25
  ```
24
26
 
25
27
 
@@ -4,13 +4,14 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
8
- **pulp_href** | **String** | | [optional] [readonly]
9
- **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
10
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
11
- **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
12
7
  **repository_version** | **String** | RepositoryVersion to be served | [optional]
8
+ **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
9
+ **pulp_href** | **String** | | [optional] [readonly]
10
+ **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
13
11
  **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
12
+ **pulp_labels** | [**Object**](.md) | | [optional]
13
+ **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
14
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
14
15
  **registry_path** | **String** | The Registry hostame/name/ to use with docker pull command defined by this distribution. | [optional] [readonly]
15
16
  **namespace** | **String** | Namespace this distribution belongs to. | [optional] [readonly]
16
17
 
@@ -19,13 +20,14 @@ Name | Type | Description | Notes
19
20
  ```ruby
20
21
  require 'PulpContainerClient'
21
22
 
22
- instance = PulpContainerClient::ContainerContainerDistributionResponse.new(repository: null,
23
- pulp_href: null,
23
+ instance = PulpContainerClient::ContainerContainerDistributionResponse.new(repository_version: null,
24
24
  name: null,
25
- pulp_created: null,
26
- content_guard: null,
27
- repository_version: null,
25
+ pulp_href: null,
26
+ repository: null,
28
27
  base_path: null,
28
+ pulp_labels: null,
29
+ content_guard: null,
30
+ pulp_created: null,
29
31
  registry_path: null,
30
32
  namespace: null)
31
33
  ```
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
7
7
  **pulp_href** | **String** | | [optional] [readonly]
8
8
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
9
  **versions_href** | **String** | | [optional] [readonly]
10
+ **pulp_labels** | [**Object**](.md) | | [optional]
10
11
  **latest_version_href** | **String** | | [optional] [readonly]
11
12
  **name** | **String** | A unique name for this repository. |
12
13
  **description** | **String** | An optional description. | [optional]
@@ -20,6 +21,7 @@ require 'PulpContainerClient'
20
21
  instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(pulp_href: null,
21
22
  pulp_created: null,
22
23
  versions_href: null,
24
+ pulp_labels: null,
23
25
  latest_version_href: null,
24
26
  name: null,
25
27
  description: null,
@@ -13,12 +13,14 @@ Name | Type | Description | Notes
13
13
  **proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
14
14
  **username** | **String** | The username to be used for authentication when syncing. | [optional]
15
15
  **password** | **String** | The password to be used for authentication when syncing. | [optional]
16
+ **pulp_labels** | [**Object**](.md) | | [optional]
16
17
  **download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
17
18
  **policy** | [**PolicyEnum**](PolicyEnum.md) | immediate - All manifests and blobs are downloaded and saved during a sync. on_demand - Only tags and manifests are downloaded. Blobs are not downloaded until they are requested for the first time by a client. streamed - Blobs are streamed to the client with every request and never saved. | [optional]
18
19
  **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
19
20
  **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
20
21
  **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
21
22
  **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
23
+ **rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
22
24
  **upstream_name** | **String** | Name of the upstream repository |
23
25
  **include_tags** | **Array<String>** | A list of tags to include during sync. Wildcards *, ? are recognized. 'include_tags' is evaluated before 'exclude_tags'. | [optional]
24
26
  **exclude_tags** | **Array<String>** | A list of tags to exclude during sync. Wildcards *, ? are recognized. 'exclude_tags' is evaluated after 'include_tags'. | [optional]
@@ -37,12 +39,14 @@ instance = PulpContainerClient::ContainerContainerRemote.new(name: null,
37
39
  proxy_url: null,
38
40
  username: null,
39
41
  password: null,
42
+ pulp_labels: null,
40
43
  download_concurrency: null,
41
44
  policy: null,
42
45
  total_timeout: null,
43
46
  connect_timeout: null,
44
47
  sock_connect_timeout: null,
45
48
  sock_read_timeout: null,
49
+ rate_limit: null,
46
50
  upstream_name: null,
47
51
  include_tags: null,
48
52
  exclude_tags: null)
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
15
15
  **proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
16
16
  **username** | **String** | The username to be used for authentication when syncing. | [optional]
17
17
  **password** | **String** | The password to be used for authentication when syncing. | [optional]
18
+ **pulp_labels** | [**Object**](.md) | | [optional]
18
19
  **pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
19
20
  **download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
20
21
  **policy** | [**PolicyEnum**](PolicyEnum.md) | immediate - All manifests and blobs are downloaded and saved during a sync. on_demand - Only tags and manifests are downloaded. Blobs are not downloaded until they are requested for the first time by a client. streamed - Blobs are streamed to the client with every request and never saved. | [optional]
@@ -22,6 +23,7 @@ Name | Type | Description | Notes
22
23
  **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
23
24
  **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
24
25
  **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
26
+ **rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
25
27
  **upstream_name** | **String** | Name of the upstream repository |
26
28
  **include_tags** | **Array<String>** | A list of tags to include during sync. Wildcards *, ? are recognized. 'include_tags' is evaluated before 'exclude_tags'. | [optional]
27
29
  **exclude_tags** | **Array<String>** | A list of tags to exclude during sync. Wildcards *, ? are recognized. 'exclude_tags' is evaluated after 'include_tags'. | [optional]
@@ -42,6 +44,7 @@ instance = PulpContainerClient::ContainerContainerRemoteResponse.new(pulp_href:
42
44
  proxy_url: null,
43
45
  username: null,
44
46
  password: null,
47
+ pulp_labels: null,
45
48
  pulp_last_updated: null,
46
49
  download_concurrency: null,
47
50
  policy: null,
@@ -49,6 +52,7 @@ instance = PulpContainerClient::ContainerContainerRemoteResponse.new(pulp_href:
49
52
  connect_timeout: null,
50
53
  sock_connect_timeout: null,
51
54
  sock_read_timeout: null,
55
+ rate_limit: null,
52
56
  upstream_name: null,
53
57
  include_tags: null,
54
58
  exclude_tags: null)
@@ -4,6 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
+ **pulp_labels** | [**Object**](.md) | | [optional]
7
8
  **name** | **String** | A unique name for this repository. |
8
9
  **description** | **String** | An optional description. | [optional]
9
10
  **remote** | **String** | | [optional]
@@ -13,7 +14,8 @@ Name | Type | Description | Notes
13
14
  ```ruby
14
15
  require 'PulpContainerClient'
15
16
 
16
- instance = PulpContainerClient::ContainerContainerRepository.new(name: null,
17
+ instance = PulpContainerClient::ContainerContainerRepository.new(pulp_labels: null,
18
+ name: null,
17
19
  description: null,
18
20
  remote: null)
19
21
  ```
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
7
7
  **pulp_href** | **String** | | [optional] [readonly]
8
8
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
9
  **versions_href** | **String** | | [optional] [readonly]
10
+ **pulp_labels** | [**Object**](.md) | | [optional]
10
11
  **latest_version_href** | **String** | | [optional] [readonly]
11
12
  **name** | **String** | A unique name for this repository. |
12
13
  **description** | **String** | An optional description. | [optional]
@@ -20,6 +21,7 @@ require 'PulpContainerClient'
20
21
  instance = PulpContainerClient::ContainerContainerRepositoryResponse.new(pulp_href: null,
21
22
  pulp_created: null,
22
23
  versions_href: null,
24
+ pulp_labels: null,
23
25
  latest_version_href: null,
24
26
  name: null,
25
27
  description: null,
@@ -4,22 +4,24 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
8
- **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
9
- **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
10
7
  **repository_version** | **String** | RepositoryVersion to be served | [optional]
8
+ **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
9
+ **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
11
10
  **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional]
11
+ **pulp_labels** | [**Object**](.md) | | [optional]
12
+ **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
12
13
 
13
14
  ## Code Sample
14
15
 
15
16
  ```ruby
16
17
  require 'PulpContainerClient'
17
18
 
18
- instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(repository: null,
19
+ instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(repository_version: null,
19
20
  name: null,
20
- content_guard: null,
21
- repository_version: null,
22
- base_path: null)
21
+ repository: null,
22
+ base_path: null,
23
+ pulp_labels: null,
24
+ content_guard: null)
23
25
  ```
24
26
 
25
27
 
@@ -13,12 +13,14 @@ Name | Type | Description | Notes
13
13
  **proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
14
14
  **username** | **String** | The username to be used for authentication when syncing. | [optional]
15
15
  **password** | **String** | The password to be used for authentication when syncing. | [optional]
16
+ **pulp_labels** | [**Object**](.md) | | [optional]
16
17
  **download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
17
18
  **policy** | [**PolicyEnum**](PolicyEnum.md) | immediate - All manifests and blobs are downloaded and saved during a sync. on_demand - Only tags and manifests are downloaded. Blobs are not downloaded until they are requested for the first time by a client. streamed - Blobs are streamed to the client with every request and never saved. | [optional]
18
19
  **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
19
20
  **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
20
21
  **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
21
22
  **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
23
+ **rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
22
24
  **upstream_name** | **String** | Name of the upstream repository | [optional]
23
25
  **include_tags** | **Array<String>** | A list of tags to include during sync. Wildcards *, ? are recognized. 'include_tags' is evaluated before 'exclude_tags'. | [optional]
24
26
  **exclude_tags** | **Array<String>** | A list of tags to exclude during sync. Wildcards *, ? are recognized. 'exclude_tags' is evaluated after 'include_tags'. | [optional]
@@ -37,12 +39,14 @@ instance = PulpContainerClient::PatchedcontainerContainerRemote.new(name: null,
37
39
  proxy_url: null,
38
40
  username: null,
39
41
  password: null,
42
+ pulp_labels: null,
40
43
  download_concurrency: null,
41
44
  policy: null,
42
45
  total_timeout: null,
43
46
  connect_timeout: null,
44
47
  sock_connect_timeout: null,
45
48
  sock_read_timeout: null,
49
+ rate_limit: null,
46
50
  upstream_name: null,
47
51
  include_tags: null,
48
52
  exclude_tags: null)
@@ -4,6 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
+ **pulp_labels** | [**Object**](.md) | | [optional]
7
8
  **name** | **String** | A unique name for this repository. | [optional]
8
9
  **description** | **String** | An optional description. | [optional]
9
10
  **remote** | **String** | | [optional]
@@ -13,7 +14,8 @@ Name | Type | Description | Notes
13
14
  ```ruby
14
15
  require 'PulpContainerClient'
15
16
 
16
- instance = PulpContainerClient::PatchedcontainerContainerRepository.new(name: null,
17
+ instance = PulpContainerClient::PatchedcontainerContainerRepository.new(pulp_labels: null,
18
+ name: null,
17
19
  description: null,
18
20
  remote: null)
19
21
  ```
@@ -15,48 +15,52 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class ContainerContainerDistribution
18
- # The latest RepositoryVersion for this Repository will be served.
19
- attr_accessor :repository
18
+ # RepositoryVersion to be served
19
+ attr_accessor :repository_version
20
20
 
21
21
  # A unique name. Ex, `rawhide` and `stable`.
22
22
  attr_accessor :name
23
23
 
24
- # An optional content-guard. If none is specified, a default one will be used.
25
- attr_accessor :content_guard
26
-
27
- # RepositoryVersion to be served
28
- attr_accessor :repository_version
24
+ # The latest RepositoryVersion for this Repository will be served.
25
+ attr_accessor :repository
29
26
 
30
27
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
31
28
  attr_accessor :base_path
32
29
 
30
+ attr_accessor :pulp_labels
31
+
32
+ # An optional content-guard. If none is specified, a default one will be used.
33
+ attr_accessor :content_guard
34
+
33
35
  # Attribute mapping from ruby-style variable name to JSON key.
34
36
  def self.attribute_map
35
37
  {
36
- :'repository' => :'repository',
37
- :'name' => :'name',
38
- :'content_guard' => :'content_guard',
39
38
  :'repository_version' => :'repository_version',
40
- :'base_path' => :'base_path'
39
+ :'name' => :'name',
40
+ :'repository' => :'repository',
41
+ :'base_path' => :'base_path',
42
+ :'pulp_labels' => :'pulp_labels',
43
+ :'content_guard' => :'content_guard'
41
44
  }
42
45
  end
43
46
 
44
47
  # Attribute type mapping.
45
48
  def self.openapi_types
46
49
  {
47
- :'repository' => :'String',
48
- :'name' => :'String',
49
- :'content_guard' => :'String',
50
50
  :'repository_version' => :'String',
51
- :'base_path' => :'String'
51
+ :'name' => :'String',
52
+ :'repository' => :'String',
53
+ :'base_path' => :'String',
54
+ :'pulp_labels' => :'Object',
55
+ :'content_guard' => :'String'
52
56
  }
53
57
  end
54
58
 
55
59
  # List of attributes with nullable: true
56
60
  def self.openapi_nullable
57
61
  Set.new([
58
- :'repository',
59
62
  :'repository_version',
63
+ :'repository',
60
64
  ])
61
65
  end
62
66
 
@@ -75,25 +79,29 @@ module PulpContainerClient
75
79
  h[k.to_sym] = v
76
80
  }
77
81
 
78
- if attributes.key?(:'repository')
79
- self.repository = attributes[:'repository']
82
+ if attributes.key?(:'repository_version')
83
+ self.repository_version = attributes[:'repository_version']
80
84
  end
81
85
 
82
86
  if attributes.key?(:'name')
83
87
  self.name = attributes[:'name']
84
88
  end
85
89
 
86
- if attributes.key?(:'content_guard')
87
- self.content_guard = attributes[:'content_guard']
88
- end
89
-
90
- if attributes.key?(:'repository_version')
91
- self.repository_version = attributes[:'repository_version']
90
+ if attributes.key?(:'repository')
91
+ self.repository = attributes[:'repository']
92
92
  end
93
93
 
94
94
  if attributes.key?(:'base_path')
95
95
  self.base_path = attributes[:'base_path']
96
96
  end
97
+
98
+ if attributes.key?(:'pulp_labels')
99
+ self.pulp_labels = attributes[:'pulp_labels']
100
+ end
101
+
102
+ if attributes.key?(:'content_guard')
103
+ self.content_guard = attributes[:'content_guard']
104
+ end
97
105
  end
98
106
 
99
107
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -124,11 +132,12 @@ module PulpContainerClient
124
132
  def ==(o)
125
133
  return true if self.equal?(o)
126
134
  self.class == o.class &&
127
- repository == o.repository &&
128
- name == o.name &&
129
- content_guard == o.content_guard &&
130
135
  repository_version == o.repository_version &&
131
- base_path == o.base_path
136
+ name == o.name &&
137
+ repository == o.repository &&
138
+ base_path == o.base_path &&
139
+ pulp_labels == o.pulp_labels &&
140
+ content_guard == o.content_guard
132
141
  end
133
142
 
134
143
  # @see the `==` method
@@ -140,7 +149,7 @@ module PulpContainerClient
140
149
  # Calculates hash code according to all attributes.
141
150
  # @return [Integer] Hash code
142
151
  def hash
143
- [repository, name, content_guard, repository_version, base_path].hash
152
+ [repository_version, name, repository, base_path, pulp_labels, content_guard].hash
144
153
  end
145
154
 
146
155
  # Builds the object from hash
@@ -15,26 +15,28 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class ContainerContainerDistributionResponse
18
- # The latest RepositoryVersion for this Repository will be served.
19
- attr_accessor :repository
20
-
21
- attr_accessor :pulp_href
18
+ # RepositoryVersion to be served
19
+ attr_accessor :repository_version
22
20
 
23
21
  # A unique name. Ex, `rawhide` and `stable`.
24
22
  attr_accessor :name
25
23
 
26
- # Timestamp of creation.
27
- attr_accessor :pulp_created
28
-
29
- # An optional content-guard. If none is specified, a default one will be used.
30
- attr_accessor :content_guard
24
+ attr_accessor :pulp_href
31
25
 
32
- # RepositoryVersion to be served
33
- attr_accessor :repository_version
26
+ # The latest RepositoryVersion for this Repository will be served.
27
+ attr_accessor :repository
34
28
 
35
29
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
36
30
  attr_accessor :base_path
37
31
 
32
+ attr_accessor :pulp_labels
33
+
34
+ # An optional content-guard. If none is specified, a default one will be used.
35
+ attr_accessor :content_guard
36
+
37
+ # Timestamp of creation.
38
+ attr_accessor :pulp_created
39
+
38
40
  # The Registry hostame/name/ to use with docker pull command defined by this distribution.
39
41
  attr_accessor :registry_path
40
42
 
@@ -44,13 +46,14 @@ module PulpContainerClient
44
46
  # Attribute mapping from ruby-style variable name to JSON key.
45
47
  def self.attribute_map
46
48
  {
47
- :'repository' => :'repository',
48
- :'pulp_href' => :'pulp_href',
49
- :'name' => :'name',
50
- :'pulp_created' => :'pulp_created',
51
- :'content_guard' => :'content_guard',
52
49
  :'repository_version' => :'repository_version',
50
+ :'name' => :'name',
51
+ :'pulp_href' => :'pulp_href',
52
+ :'repository' => :'repository',
53
53
  :'base_path' => :'base_path',
54
+ :'pulp_labels' => :'pulp_labels',
55
+ :'content_guard' => :'content_guard',
56
+ :'pulp_created' => :'pulp_created',
54
57
  :'registry_path' => :'registry_path',
55
58
  :'namespace' => :'namespace'
56
59
  }
@@ -59,13 +62,14 @@ module PulpContainerClient
59
62
  # Attribute type mapping.
60
63
  def self.openapi_types
61
64
  {
62
- :'repository' => :'String',
63
- :'pulp_href' => :'String',
64
- :'name' => :'String',
65
- :'pulp_created' => :'DateTime',
66
- :'content_guard' => :'String',
67
65
  :'repository_version' => :'String',
66
+ :'name' => :'String',
67
+ :'pulp_href' => :'String',
68
+ :'repository' => :'String',
68
69
  :'base_path' => :'String',
70
+ :'pulp_labels' => :'Object',
71
+ :'content_guard' => :'String',
72
+ :'pulp_created' => :'DateTime',
69
73
  :'registry_path' => :'String',
70
74
  :'namespace' => :'String'
71
75
  }
@@ -74,8 +78,8 @@ module PulpContainerClient
74
78
  # List of attributes with nullable: true
75
79
  def self.openapi_nullable
76
80
  Set.new([
77
- :'repository',
78
81
  :'repository_version',
82
+ :'repository',
79
83
  ])
80
84
  end
81
85
 
@@ -94,32 +98,36 @@ module PulpContainerClient
94
98
  h[k.to_sym] = v
95
99
  }
96
100
 
97
- if attributes.key?(:'repository')
98
- self.repository = attributes[:'repository']
101
+ if attributes.key?(:'repository_version')
102
+ self.repository_version = attributes[:'repository_version']
103
+ end
104
+
105
+ if attributes.key?(:'name')
106
+ self.name = attributes[:'name']
99
107
  end
100
108
 
101
109
  if attributes.key?(:'pulp_href')
102
110
  self.pulp_href = attributes[:'pulp_href']
103
111
  end
104
112
 
105
- if attributes.key?(:'name')
106
- self.name = attributes[:'name']
113
+ if attributes.key?(:'repository')
114
+ self.repository = attributes[:'repository']
107
115
  end
108
116
 
109
- if attributes.key?(:'pulp_created')
110
- self.pulp_created = attributes[:'pulp_created']
117
+ if attributes.key?(:'base_path')
118
+ self.base_path = attributes[:'base_path']
111
119
  end
112
120
 
113
- if attributes.key?(:'content_guard')
114
- self.content_guard = attributes[:'content_guard']
121
+ if attributes.key?(:'pulp_labels')
122
+ self.pulp_labels = attributes[:'pulp_labels']
115
123
  end
116
124
 
117
- if attributes.key?(:'repository_version')
118
- self.repository_version = attributes[:'repository_version']
125
+ if attributes.key?(:'content_guard')
126
+ self.content_guard = attributes[:'content_guard']
119
127
  end
120
128
 
121
- if attributes.key?(:'base_path')
122
- self.base_path = attributes[:'base_path']
129
+ if attributes.key?(:'pulp_created')
130
+ self.pulp_created = attributes[:'pulp_created']
123
131
  end
124
132
 
125
133
  if attributes.key?(:'registry_path')
@@ -159,13 +167,14 @@ module PulpContainerClient
159
167
  def ==(o)
160
168
  return true if self.equal?(o)
161
169
  self.class == o.class &&
162
- repository == o.repository &&
163
- pulp_href == o.pulp_href &&
164
- name == o.name &&
165
- pulp_created == o.pulp_created &&
166
- content_guard == o.content_guard &&
167
170
  repository_version == o.repository_version &&
171
+ name == o.name &&
172
+ pulp_href == o.pulp_href &&
173
+ repository == o.repository &&
168
174
  base_path == o.base_path &&
175
+ pulp_labels == o.pulp_labels &&
176
+ content_guard == o.content_guard &&
177
+ pulp_created == o.pulp_created &&
169
178
  registry_path == o.registry_path &&
170
179
  namespace == o.namespace
171
180
  end
@@ -179,7 +188,7 @@ module PulpContainerClient
179
188
  # Calculates hash code according to all attributes.
180
189
  # @return [Integer] Hash code
181
190
  def hash
182
- [repository, pulp_href, name, pulp_created, content_guard, repository_version, base_path, registry_path, namespace].hash
191
+ [repository_version, name, pulp_href, repository, base_path, pulp_labels, content_guard, pulp_created, registry_path, namespace].hash
183
192
  end
184
193
 
185
194
  # Builds the object from hash