pulp_container_client 2.19.16 → 2.19.17

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.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/ContainerContainerDistribution.md +5 -5
  4. data/docs/ContainerContainerDistributionResponse.md +10 -10
  5. data/docs/ContainerContainerPullThroughDistribution.md +5 -5
  6. data/docs/ContainerContainerPullThroughDistributionResponse.md +10 -10
  7. data/docs/ContainerContainerPushRepository.md +7 -7
  8. data/docs/ContainerContainerPushRepositoryResponse.md +13 -13
  9. data/docs/PatchedcontainerContainerDistribution.md +5 -5
  10. data/docs/PatchedcontainerContainerPullThroughDistribution.md +5 -5
  11. data/docs/PatchedcontainerContainerPushRepository.md +7 -7
  12. data/lib/pulp_container_client/models/container_container_distribution.rb +20 -20
  13. data/lib/pulp_container_client/models/container_container_distribution_response.rb +41 -41
  14. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +20 -20
  15. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +41 -41
  16. data/lib/pulp_container_client/models/container_container_push_repository.rb +46 -46
  17. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +55 -55
  18. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +20 -20
  19. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +20 -20
  20. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +46 -46
  21. data/lib/pulp_container_client/version.rb +1 -1
  22. data/spec/models/container_container_distribution_response_spec.rb +9 -9
  23. data/spec/models/container_container_distribution_spec.rb +6 -6
  24. data/spec/models/container_container_pull_through_distribution_response_spec.rb +9 -9
  25. data/spec/models/container_container_pull_through_distribution_spec.rb +6 -6
  26. data/spec/models/container_container_push_repository_response_spec.rb +9 -9
  27. data/spec/models/container_container_push_repository_spec.rb +4 -4
  28. data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
  29. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +6 -6
  30. data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
  31. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1196406af609353130fc6b0568ed43b1ed8c686fa9524fc585d3bc80a87dc9e0
4
- data.tar.gz: 338fe0d967b4b8ef1ae96d9ec91636f36e98f79655875bb3498b9ca2a848f7dd
3
+ metadata.gz: 62a607433ed1ec308cc75d075a7052bfec768376a75d3c48a53f32071ecdbe21
4
+ data.tar.gz: 4941a8668efe18b4e0148919d9f2e34d935344404e15bd6522ef1def33aead86
5
5
  SHA512:
6
- metadata.gz: 1408d9b544be5ade023dcb0d54d783427efaf2013c8da1b154771d7c2cbe07ca9a52a2e2a6af11293175a8b5a715cfacfb7b1625109c4fe10e24d57c77d45f62
7
- data.tar.gz: 70c9d8e457eb34ba19f13f9776dc6be20e39f8f67ab8aaaf4bd1aa957d06d2efd36c22f883088cdaa299bf4bc21e0dc96e6f4cfbe484d85bc637256406c1ebe9
6
+ metadata.gz: e5b4c3b044143c51d7c8c83e0c144333c32d9213fa6dae12a45039378867ef910860b725b2e4f77f824fe111f998a72385575a56ec7090c80112f67e9c8e66ba
7
+ data.tar.gz: d13e02ffceba501f18167bf3090a6d8f0245d05bb09a5a95f47ef0ef592da5d0347c65f39b10607b161ea35761ccd0b600de16375106d2e2c7787783e9cdc5b2
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.19.16
10
+ - Package version: 2.19.17
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.19.16.gem
27
+ gem install ./pulp_container_client-2.19.17.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_container_client-2.19.16.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_container_client-2.19.17.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.19.16'
36
+ gem 'pulp_container_client', '~> 2.19.17'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -4,12 +4,12 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **pulp_labels** | **Hash<String, String>** | | [optional]
8
7
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
8
+ **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
9
+ **pulp_labels** | **Hash<String, String>** | | [optional]
9
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\") |
10
11
  **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
11
12
  **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
12
- **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
13
13
  **repository_version** | **String** | RepositoryVersion to be served | [optional]
14
14
  **private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
15
15
  **description** | **String** | An optional description. | [optional]
@@ -19,12 +19,12 @@ Name | Type | Description | Notes
19
19
  ```ruby
20
20
  require 'PulpContainerClient'
21
21
 
22
- instance = PulpContainerClient::ContainerContainerDistribution.new(pulp_labels: null,
23
- name: null,
22
+ instance = PulpContainerClient::ContainerContainerDistribution.new(name: null,
23
+ repository: null,
24
+ pulp_labels: null,
24
25
  base_path: null,
25
26
  hidden: null,
26
27
  content_guard: null,
27
- repository: null,
28
28
  repository_version: null,
29
29
  private: null,
30
30
  description: null)
@@ -4,15 +4,15 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
8
- **pulp_labels** | **Hash<String, String>** | | [optional]
9
7
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
8
+ **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
9
+ **pulp_last_updated** | **DateTime** | 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
+ **pulp_labels** | **Hash<String, String>** | | [optional]
11
+ **pulp_href** | **String** | | [optional] [readonly]
10
12
  **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
13
  **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
12
- **pulp_last_updated** | **DateTime** | 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]
14
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
13
15
  **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
14
- **pulp_href** | **String** | | [optional] [readonly]
15
- **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
16
16
  **repository_version** | **String** | RepositoryVersion to be served | [optional]
17
17
  **registry_path** | **String** | The Registry hostname/name/ to use with docker pull command defined by this distribution. | [optional] [readonly]
18
18
  **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional] [readonly]
@@ -25,15 +25,15 @@ Name | Type | Description | Notes
25
25
  ```ruby
26
26
  require 'PulpContainerClient'
27
27
 
28
- instance = PulpContainerClient::ContainerContainerDistributionResponse.new(pulp_created: null,
28
+ instance = PulpContainerClient::ContainerContainerDistributionResponse.new(name: null,
29
+ repository: null,
30
+ pulp_last_updated: null,
29
31
  pulp_labels: null,
30
- name: null,
32
+ pulp_href: null,
31
33
  base_path: null,
32
34
  hidden: null,
33
- pulp_last_updated: null,
35
+ pulp_created: null,
34
36
  content_guard: null,
35
- pulp_href: null,
36
- repository: null,
37
37
  repository_version: null,
38
38
  registry_path: null,
39
39
  remote: null,
@@ -4,12 +4,12 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **pulp_labels** | **Hash<String, String>** | | [optional]
8
7
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
8
+ **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
9
+ **pulp_labels** | **Hash<String, String>** | | [optional]
9
10
  **base_path** | **String** | The registry path exposed by this pull-through distribution. |
10
11
  **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
11
12
  **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
12
- **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
13
13
  **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. |
14
14
  **distributions** | **Array<String>** | Distributions created after pulling content through cache | [optional]
15
15
  **private** | **Boolean** | Restrict pull access to explicitly authorized users. Related distributions inherit this value. Defaults to unrestricted pull access. | [optional]
@@ -20,12 +20,12 @@ Name | Type | Description | Notes
20
20
  ```ruby
21
21
  require 'PulpContainerClient'
22
22
 
23
- instance = PulpContainerClient::ContainerContainerPullThroughDistribution.new(pulp_labels: null,
24
- name: null,
23
+ instance = PulpContainerClient::ContainerContainerPullThroughDistribution.new(name: null,
24
+ repository: null,
25
+ pulp_labels: null,
25
26
  base_path: null,
26
27
  hidden: null,
27
28
  content_guard: null,
28
- repository: null,
29
29
  remote: null,
30
30
  distributions: null,
31
31
  private: null,
@@ -4,15 +4,15 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
8
- **pulp_labels** | **Hash<String, String>** | | [optional]
9
7
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
8
+ **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
9
+ **pulp_last_updated** | **DateTime** | 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
+ **pulp_labels** | **Hash<String, String>** | | [optional]
11
+ **pulp_href** | **String** | | [optional] [readonly]
10
12
  **base_path** | **String** | The registry path exposed by this pull-through distribution. |
11
13
  **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
12
- **pulp_last_updated** | **DateTime** | 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]
14
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
13
15
  **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
14
- **pulp_href** | **String** | | [optional] [readonly]
15
- **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
16
16
  **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. |
17
17
  **distributions** | **Array<String>** | Distributions created after pulling content through cache | [optional]
18
18
  **namespace** | **String** | Namespace this distribution belongs to. | [optional] [readonly]
@@ -24,15 +24,15 @@ Name | Type | Description | Notes
24
24
  ```ruby
25
25
  require 'PulpContainerClient'
26
26
 
27
- instance = PulpContainerClient::ContainerContainerPullThroughDistributionResponse.new(pulp_created: null,
27
+ instance = PulpContainerClient::ContainerContainerPullThroughDistributionResponse.new(name: null,
28
+ repository: null,
29
+ pulp_last_updated: null,
28
30
  pulp_labels: null,
29
- name: null,
31
+ pulp_href: null,
30
32
  base_path: null,
31
33
  hidden: null,
32
- pulp_last_updated: null,
34
+ pulp_created: null,
33
35
  content_guard: null,
34
- pulp_href: null,
35
- repository: null,
36
36
  remote: null,
37
37
  distributions: null,
38
38
  namespace: null,
@@ -4,22 +4,22 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **pulp_labels** | **Hash<String, String>** | | [optional]
8
- **name** | **String** | A unique name for this repository. |
9
7
  **description** | **String** | An optional description. | [optional]
10
- **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
8
+ **name** | **String** | A unique name for this repository. |
9
+ **pulp_labels** | **Hash<String, String>** | | [optional]
11
10
  **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
11
+ **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
12
12
 
13
13
  ## Code Sample
14
14
 
15
15
  ```ruby
16
16
  require 'PulpContainerClient'
17
17
 
18
- instance = PulpContainerClient::ContainerContainerPushRepository.new(pulp_labels: null,
18
+ instance = PulpContainerClient::ContainerContainerPushRepository.new(description: null,
19
19
  name: null,
20
- description: null,
21
- manifest_signing_service: null,
22
- retain_repo_versions: null)
20
+ pulp_labels: null,
21
+ retain_repo_versions: null,
22
+ manifest_signing_service: null)
23
23
  ```
24
24
 
25
25
 
@@ -4,32 +4,32 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
8
- **pulp_labels** | **Hash<String, String>** | | [optional]
7
+ **description** | **String** | An optional description. | [optional]
8
+ **versions_href** | **String** | | [optional] [readonly]
9
9
  **name** | **String** | A unique name for this repository. |
10
+ **pulp_labels** | **Hash<String, String>** | | [optional]
10
11
  **pulp_last_updated** | **DateTime** | 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]
11
- **versions_href** | **String** | | [optional] [readonly]
12
- **latest_version_href** | **String** | | [optional] [readonly]
13
- **description** | **String** | An optional description. | [optional]
14
- **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
15
12
  **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
13
+ **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
16
14
  **pulp_href** | **String** | | [optional] [readonly]
15
+ **latest_version_href** | **String** | | [optional] [readonly]
16
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
17
17
 
18
18
  ## Code Sample
19
19
 
20
20
  ```ruby
21
21
  require 'PulpContainerClient'
22
22
 
23
- instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(pulp_created: null,
24
- pulp_labels: null,
23
+ instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(description: null,
24
+ versions_href: null,
25
25
  name: null,
26
+ pulp_labels: null,
26
27
  pulp_last_updated: null,
27
- versions_href: null,
28
- latest_version_href: null,
29
- description: null,
30
- manifest_signing_service: null,
31
28
  retain_repo_versions: null,
32
- pulp_href: null)
29
+ manifest_signing_service: null,
30
+ pulp_href: null,
31
+ latest_version_href: null,
32
+ pulp_created: null)
33
33
  ```
34
34
 
35
35
 
@@ -4,12 +4,12 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **pulp_labels** | **Hash<String, String>** | | [optional]
8
7
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
8
+ **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
9
+ **pulp_labels** | **Hash<String, String>** | | [optional]
9
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]
10
11
  **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
11
12
  **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
12
- **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
13
13
  **repository_version** | **String** | RepositoryVersion to be served | [optional]
14
14
  **private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
15
15
  **description** | **String** | An optional description. | [optional]
@@ -19,12 +19,12 @@ Name | Type | Description | Notes
19
19
  ```ruby
20
20
  require 'PulpContainerClient'
21
21
 
22
- instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(pulp_labels: null,
23
- name: null,
22
+ instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(name: null,
23
+ repository: null,
24
+ pulp_labels: null,
24
25
  base_path: null,
25
26
  hidden: null,
26
27
  content_guard: null,
27
- repository: null,
28
28
  repository_version: null,
29
29
  private: null,
30
30
  description: null)
@@ -4,12 +4,12 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **pulp_labels** | **Hash<String, String>** | | [optional]
8
7
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
8
+ **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
9
+ **pulp_labels** | **Hash<String, String>** | | [optional]
9
10
  **base_path** | **String** | The registry path exposed by this pull-through distribution. | [optional]
10
11
  **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
11
12
  **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
12
- **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
13
13
  **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional]
14
14
  **distributions** | **Array<String>** | Distributions created after pulling content through cache | [optional]
15
15
  **private** | **Boolean** | Restrict pull access to explicitly authorized users. Related distributions inherit this value. Defaults to unrestricted pull access. | [optional]
@@ -20,12 +20,12 @@ Name | Type | Description | Notes
20
20
  ```ruby
21
21
  require 'PulpContainerClient'
22
22
 
23
- instance = PulpContainerClient::PatchedcontainerContainerPullThroughDistribution.new(pulp_labels: null,
24
- name: null,
23
+ instance = PulpContainerClient::PatchedcontainerContainerPullThroughDistribution.new(name: null,
24
+ repository: null,
25
+ pulp_labels: null,
25
26
  base_path: null,
26
27
  hidden: null,
27
28
  content_guard: null,
28
- repository: null,
29
29
  remote: null,
30
30
  distributions: null,
31
31
  private: null,
@@ -4,22 +4,22 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **pulp_labels** | **Hash<String, String>** | | [optional]
8
- **name** | **String** | A unique name for this repository. | [optional]
9
7
  **description** | **String** | An optional description. | [optional]
10
- **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
8
+ **name** | **String** | A unique name for this repository. | [optional]
9
+ **pulp_labels** | **Hash<String, String>** | | [optional]
11
10
  **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
11
+ **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
12
12
 
13
13
  ## Code Sample
14
14
 
15
15
  ```ruby
16
16
  require 'PulpContainerClient'
17
17
 
18
- instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(pulp_labels: null,
18
+ instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(description: null,
19
19
  name: null,
20
- description: null,
21
- manifest_signing_service: null,
22
- retain_repo_versions: null)
20
+ pulp_labels: null,
21
+ retain_repo_versions: null,
22
+ manifest_signing_service: null)
23
23
  ```
24
24
 
25
25
 
@@ -15,11 +15,14 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class ContainerContainerDistribution
18
- attr_accessor :pulp_labels
19
-
20
18
  # A unique name. Ex, `rawhide` and `stable`.
21
19
  attr_accessor :name
22
20
 
21
+ # The latest RepositoryVersion for this Repository will be served.
22
+ attr_accessor :repository
23
+
24
+ attr_accessor :pulp_labels
25
+
23
26
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
24
27
  attr_accessor :base_path
25
28
 
@@ -29,9 +32,6 @@ module PulpContainerClient
29
32
  # An optional content-guard. If none is specified, a default one will be used.
30
33
  attr_accessor :content_guard
31
34
 
32
- # The latest RepositoryVersion for this Repository will be served.
33
- attr_accessor :repository
34
-
35
35
  # RepositoryVersion to be served
36
36
  attr_accessor :repository_version
37
37
 
@@ -44,12 +44,12 @@ module PulpContainerClient
44
44
  # Attribute mapping from ruby-style variable name to JSON key.
45
45
  def self.attribute_map
46
46
  {
47
- :'pulp_labels' => :'pulp_labels',
48
47
  :'name' => :'name',
48
+ :'repository' => :'repository',
49
+ :'pulp_labels' => :'pulp_labels',
49
50
  :'base_path' => :'base_path',
50
51
  :'hidden' => :'hidden',
51
52
  :'content_guard' => :'content_guard',
52
- :'repository' => :'repository',
53
53
  :'repository_version' => :'repository_version',
54
54
  :'private' => :'private',
55
55
  :'description' => :'description'
@@ -59,12 +59,12 @@ module PulpContainerClient
59
59
  # Attribute type mapping.
60
60
  def self.openapi_types
61
61
  {
62
- :'pulp_labels' => :'Hash<String, String>',
63
62
  :'name' => :'String',
63
+ :'repository' => :'String',
64
+ :'pulp_labels' => :'Hash<String, String>',
64
65
  :'base_path' => :'String',
65
66
  :'hidden' => :'Boolean',
66
67
  :'content_guard' => :'String',
67
- :'repository' => :'String',
68
68
  :'repository_version' => :'String',
69
69
  :'private' => :'Boolean',
70
70
  :'description' => :'String'
@@ -95,16 +95,20 @@ module PulpContainerClient
95
95
  h[k.to_sym] = v
96
96
  }
97
97
 
98
+ if attributes.key?(:'name')
99
+ self.name = attributes[:'name']
100
+ end
101
+
102
+ if attributes.key?(:'repository')
103
+ self.repository = attributes[:'repository']
104
+ end
105
+
98
106
  if attributes.key?(:'pulp_labels')
99
107
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
100
108
  self.pulp_labels = value
101
109
  end
102
110
  end
103
111
 
104
- if attributes.key?(:'name')
105
- self.name = attributes[:'name']
106
- end
107
-
108
112
  if attributes.key?(:'base_path')
109
113
  self.base_path = attributes[:'base_path']
110
114
  end
@@ -119,10 +123,6 @@ module PulpContainerClient
119
123
  self.content_guard = attributes[:'content_guard']
120
124
  end
121
125
 
122
- if attributes.key?(:'repository')
123
- self.repository = attributes[:'repository']
124
- end
125
-
126
126
  if attributes.key?(:'repository_version')
127
127
  self.repository_version = attributes[:'repository_version']
128
128
  end
@@ -217,12 +217,12 @@ module PulpContainerClient
217
217
  def ==(o)
218
218
  return true if self.equal?(o)
219
219
  self.class == o.class &&
220
- pulp_labels == o.pulp_labels &&
221
220
  name == o.name &&
221
+ repository == o.repository &&
222
+ pulp_labels == o.pulp_labels &&
222
223
  base_path == o.base_path &&
223
224
  hidden == o.hidden &&
224
225
  content_guard == o.content_guard &&
225
- repository == o.repository &&
226
226
  repository_version == o.repository_version &&
227
227
  private == o.private &&
228
228
  description == o.description
@@ -237,7 +237,7 @@ module PulpContainerClient
237
237
  # Calculates hash code according to all attributes.
238
238
  # @return [Integer] Hash code
239
239
  def hash
240
- [pulp_labels, name, base_path, hidden, content_guard, repository, repository_version, private, description].hash
240
+ [name, repository, pulp_labels, base_path, hidden, content_guard, repository_version, private, description].hash
241
241
  end
242
242
 
243
243
  # Builds the object from hash
@@ -15,13 +15,18 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class ContainerContainerDistributionResponse
18
- # Timestamp of creation.
19
- attr_accessor :pulp_created
18
+ # A unique name. Ex, `rawhide` and `stable`.
19
+ attr_accessor :name
20
+
21
+ # The latest RepositoryVersion for this Repository will be served.
22
+ attr_accessor :repository
23
+
24
+ # 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.
25
+ attr_accessor :pulp_last_updated
20
26
 
21
27
  attr_accessor :pulp_labels
22
28
 
23
- # A unique name. Ex, `rawhide` and `stable`.
24
- attr_accessor :name
29
+ attr_accessor :pulp_href
25
30
 
26
31
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
27
32
  attr_accessor :base_path
@@ -29,17 +34,12 @@ module PulpContainerClient
29
34
  # Whether this distribution should be shown in the content app.
30
35
  attr_accessor :hidden
31
36
 
32
- # 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.
33
- attr_accessor :pulp_last_updated
37
+ # Timestamp of creation.
38
+ attr_accessor :pulp_created
34
39
 
35
40
  # An optional content-guard. If none is specified, a default one will be used.
36
41
  attr_accessor :content_guard
37
42
 
38
- attr_accessor :pulp_href
39
-
40
- # The latest RepositoryVersion for this Repository will be served.
41
- attr_accessor :repository
42
-
43
43
  # RepositoryVersion to be served
44
44
  attr_accessor :repository_version
45
45
 
@@ -61,15 +61,15 @@ module PulpContainerClient
61
61
  # Attribute mapping from ruby-style variable name to JSON key.
62
62
  def self.attribute_map
63
63
  {
64
- :'pulp_created' => :'pulp_created',
65
- :'pulp_labels' => :'pulp_labels',
66
64
  :'name' => :'name',
65
+ :'repository' => :'repository',
66
+ :'pulp_last_updated' => :'pulp_last_updated',
67
+ :'pulp_labels' => :'pulp_labels',
68
+ :'pulp_href' => :'pulp_href',
67
69
  :'base_path' => :'base_path',
68
70
  :'hidden' => :'hidden',
69
- :'pulp_last_updated' => :'pulp_last_updated',
71
+ :'pulp_created' => :'pulp_created',
70
72
  :'content_guard' => :'content_guard',
71
- :'pulp_href' => :'pulp_href',
72
- :'repository' => :'repository',
73
73
  :'repository_version' => :'repository_version',
74
74
  :'registry_path' => :'registry_path',
75
75
  :'remote' => :'remote',
@@ -82,15 +82,15 @@ module PulpContainerClient
82
82
  # Attribute type mapping.
83
83
  def self.openapi_types
84
84
  {
85
- :'pulp_created' => :'DateTime',
86
- :'pulp_labels' => :'Hash<String, String>',
87
85
  :'name' => :'String',
86
+ :'repository' => :'String',
87
+ :'pulp_last_updated' => :'DateTime',
88
+ :'pulp_labels' => :'Hash<String, String>',
89
+ :'pulp_href' => :'String',
88
90
  :'base_path' => :'String',
89
91
  :'hidden' => :'Boolean',
90
- :'pulp_last_updated' => :'DateTime',
92
+ :'pulp_created' => :'DateTime',
91
93
  :'content_guard' => :'String',
92
- :'pulp_href' => :'String',
93
- :'repository' => :'String',
94
94
  :'repository_version' => :'String',
95
95
  :'registry_path' => :'String',
96
96
  :'remote' => :'String',
@@ -124,8 +124,16 @@ module PulpContainerClient
124
124
  h[k.to_sym] = v
125
125
  }
126
126
 
127
- if attributes.key?(:'pulp_created')
128
- self.pulp_created = attributes[:'pulp_created']
127
+ if attributes.key?(:'name')
128
+ self.name = attributes[:'name']
129
+ end
130
+
131
+ if attributes.key?(:'repository')
132
+ self.repository = attributes[:'repository']
133
+ end
134
+
135
+ if attributes.key?(:'pulp_last_updated')
136
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
129
137
  end
130
138
 
131
139
  if attributes.key?(:'pulp_labels')
@@ -134,8 +142,8 @@ module PulpContainerClient
134
142
  end
135
143
  end
136
144
 
137
- if attributes.key?(:'name')
138
- self.name = attributes[:'name']
145
+ if attributes.key?(:'pulp_href')
146
+ self.pulp_href = attributes[:'pulp_href']
139
147
  end
140
148
 
141
149
  if attributes.key?(:'base_path')
@@ -148,22 +156,14 @@ module PulpContainerClient
148
156
  self.hidden = false
149
157
  end
150
158
 
151
- if attributes.key?(:'pulp_last_updated')
152
- self.pulp_last_updated = attributes[:'pulp_last_updated']
159
+ if attributes.key?(:'pulp_created')
160
+ self.pulp_created = attributes[:'pulp_created']
153
161
  end
154
162
 
155
163
  if attributes.key?(:'content_guard')
156
164
  self.content_guard = attributes[:'content_guard']
157
165
  end
158
166
 
159
- if attributes.key?(:'pulp_href')
160
- self.pulp_href = attributes[:'pulp_href']
161
- end
162
-
163
- if attributes.key?(:'repository')
164
- self.repository = attributes[:'repository']
165
- end
166
-
167
167
  if attributes.key?(:'repository_version')
168
168
  self.repository_version = attributes[:'repository_version']
169
169
  end
@@ -217,15 +217,15 @@ module PulpContainerClient
217
217
  def ==(o)
218
218
  return true if self.equal?(o)
219
219
  self.class == o.class &&
220
- pulp_created == o.pulp_created &&
221
- pulp_labels == o.pulp_labels &&
222
220
  name == o.name &&
221
+ repository == o.repository &&
222
+ pulp_last_updated == o.pulp_last_updated &&
223
+ pulp_labels == o.pulp_labels &&
224
+ pulp_href == o.pulp_href &&
223
225
  base_path == o.base_path &&
224
226
  hidden == o.hidden &&
225
- pulp_last_updated == o.pulp_last_updated &&
227
+ pulp_created == o.pulp_created &&
226
228
  content_guard == o.content_guard &&
227
- pulp_href == o.pulp_href &&
228
- repository == o.repository &&
229
229
  repository_version == o.repository_version &&
230
230
  registry_path == o.registry_path &&
231
231
  remote == o.remote &&
@@ -243,7 +243,7 @@ module PulpContainerClient
243
243
  # Calculates hash code according to all attributes.
244
244
  # @return [Integer] Hash code
245
245
  def hash
246
- [pulp_created, pulp_labels, name, base_path, hidden, pulp_last_updated, content_guard, pulp_href, repository, repository_version, registry_path, remote, namespace, private, description].hash
246
+ [name, repository, pulp_last_updated, pulp_labels, pulp_href, base_path, hidden, pulp_created, content_guard, repository_version, registry_path, remote, namespace, private, description].hash
247
247
  end
248
248
 
249
249
  # Builds the object from hash