pulp_container_client 2.19.11 → 2.19.13

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 +7 -7
  4. data/docs/ContainerContainerDistributionResponse.md +9 -9
  5. data/docs/ContainerContainerPullThroughDistribution.md +7 -7
  6. data/docs/ContainerContainerPullThroughDistributionResponse.md +9 -9
  7. data/docs/ContainerContainerPushRepository.md +4 -4
  8. data/docs/ContainerContainerPushRepositoryResponse.md +11 -11
  9. data/docs/PatchedcontainerContainerDistribution.md +7 -7
  10. data/docs/PatchedcontainerContainerPullThroughDistribution.md +7 -7
  11. data/docs/PatchedcontainerContainerPushRepository.md +4 -4
  12. data/lib/pulp_container_client/models/container_container_distribution.rb +29 -29
  13. data/lib/pulp_container_client/models/container_container_distribution_response.rb +39 -39
  14. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +29 -29
  15. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +39 -39
  16. data/lib/pulp_container_client/models/container_container_push_repository.rb +35 -35
  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 +29 -29
  19. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +29 -29
  20. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +35 -35
  21. data/lib/pulp_container_client/version.rb +1 -1
  22. data/spec/models/container_container_distribution_response_spec.rb +8 -8
  23. data/spec/models/container_container_distribution_spec.rb +6 -6
  24. data/spec/models/container_container_pull_through_distribution_response_spec.rb +8 -8
  25. data/spec/models/container_container_pull_through_distribution_spec.rb +6 -6
  26. data/spec/models/container_container_push_repository_response_spec.rb +8 -8
  27. data/spec/models/container_container_push_repository_spec.rb +3 -3
  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 +3 -3
  31. metadata +61 -61
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cad892b76e2e4cabe9a413943d64bdeaaeb3e517cc688c189cd378a1782589b3
4
- data.tar.gz: 69423e6626ecbb597cb4ddbaa480260f9d0f668c7c0483863fb32afc3dd306f4
3
+ metadata.gz: a43dd6198131f6b3a15c83c2e0a344b504427d4bdebf914bf3947cdea2795fa5
4
+ data.tar.gz: 10ee9eb278a5fb1214a7d7a2fbc5098e2046ab5afa5c103b638f127fbf3c3234
5
5
  SHA512:
6
- metadata.gz: 0c9b6c93922b733f434fd58e175881bc87fd47ee4f6443bd42aa01e2e42fe7d36dccb831d77af65edbb6afc7475016ea2f4d3c4c9d0dc46f67abb23e8b74d72e
7
- data.tar.gz: 36f1106d91731c0c7a1cc16338a36b8658d78d7b4e232034576d876f074136480a9645f5c47fe0b02aa2bbcb21dd111bc79af21f89ee3d09595f5f4493012353
6
+ metadata.gz: '081475e36767c031b4fb713ed1afbec5faffc5da8432c918ce933fb9bcfcd3d64a19ff79a4f09dae0c3111082b6e8331d7b81632aa80d3ab1728d412d08cb08c'
7
+ data.tar.gz: 3f7a525c4d21042316af4ed19214c6e09f6db187ab285b15e06308d7b157361d753f92e890f679d9a5b7fadcc02f3beceda759927b3d8fa335921801a0420f25
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.11
10
+ - Package version: 2.19.13
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.11.gem
27
+ gem install ./pulp_container_client-2.19.13.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_container_client-2.19.11.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_container_client-2.19.13.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.11'
36
+ gem 'pulp_container_client', '~> 2.19.13'
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
- **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
9
7
  **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
10
- **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
8
+ **pulp_labels** | **Hash<String, String>** | | [optional]
11
9
  **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
10
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
11
+ **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
- content_guard: null,
24
- hidden: null,
25
- repository: null,
22
+ instance = PulpContainerClient::ContainerContainerDistribution.new(hidden: null,
23
+ pulp_labels: null,
26
24
  base_path: null,
27
25
  name: null,
26
+ content_guard: null,
27
+ repository: null,
28
28
  repository_version: null,
29
29
  private: null,
30
30
  description: null)
@@ -4,14 +4,14 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **pulp_labels** | **Hash<String, String>** | | [optional]
8
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
- **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
10
7
  **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
11
- **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
8
+ **pulp_labels** | **Hash<String, String>** | | [optional]
12
9
  **pulp_href** | **String** | | [optional] [readonly]
13
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\") |
14
11
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
12
+ **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
13
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
14
+ **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
15
15
  **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]
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]
@@ -25,14 +25,14 @@ Name | Type | Description | Notes
25
25
  ```ruby
26
26
  require 'PulpContainerClient'
27
27
 
28
- instance = PulpContainerClient::ContainerContainerDistributionResponse.new(pulp_labels: null,
29
- pulp_created: null,
30
- content_guard: null,
31
- hidden: null,
32
- repository: null,
28
+ instance = PulpContainerClient::ContainerContainerDistributionResponse.new(hidden: null,
29
+ pulp_labels: null,
33
30
  pulp_href: null,
34
31
  base_path: null,
35
32
  name: null,
33
+ content_guard: null,
34
+ pulp_created: null,
35
+ repository: null,
36
36
  pulp_last_updated: null,
37
37
  repository_version: null,
38
38
  registry_path: null,
@@ -4,12 +4,12 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **pulp_labels** | **Hash<String, String>** | | [optional]
8
- **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
9
7
  **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
10
- **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
8
+ **pulp_labels** | **Hash<String, String>** | | [optional]
11
9
  **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
10
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
11
+ **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
- content_guard: null,
25
- hidden: null,
26
- repository: null,
23
+ instance = PulpContainerClient::ContainerContainerPullThroughDistribution.new(hidden: null,
24
+ pulp_labels: null,
27
25
  base_path: null,
28
26
  name: null,
27
+ content_guard: null,
28
+ repository: null,
29
29
  remote: null,
30
30
  distributions: null,
31
31
  private: null,
@@ -4,14 +4,14 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **pulp_labels** | **Hash<String, String>** | | [optional]
8
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
- **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
10
7
  **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
11
- **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
8
+ **pulp_labels** | **Hash<String, String>** | | [optional]
12
9
  **pulp_href** | **String** | | [optional] [readonly]
13
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\") |
14
11
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
12
+ **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
13
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
14
+ **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
15
15
  **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]
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]
@@ -24,14 +24,14 @@ Name | Type | Description | Notes
24
24
  ```ruby
25
25
  require 'PulpContainerClient'
26
26
 
27
- instance = PulpContainerClient::ContainerContainerPullThroughDistributionResponse.new(pulp_labels: null,
28
- pulp_created: null,
29
- content_guard: null,
30
- hidden: null,
31
- repository: null,
27
+ instance = PulpContainerClient::ContainerContainerPullThroughDistributionResponse.new(hidden: null,
28
+ pulp_labels: null,
32
29
  pulp_href: null,
33
30
  base_path: null,
34
31
  name: null,
32
+ content_guard: null,
33
+ pulp_created: null,
34
+ repository: null,
35
35
  pulp_last_updated: null,
36
36
  remote: null,
37
37
  distributions: null,
@@ -5,10 +5,10 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **pulp_labels** | **Hash<String, String>** | | [optional]
8
- **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
9
8
  **description** | **String** | An optional description. | [optional]
10
- **name** | **String** | A unique name for this repository. |
11
9
  **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
10
+ **name** | **String** | A unique name for this repository. |
11
+ **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
12
12
 
13
13
  ## Code Sample
14
14
 
@@ -16,10 +16,10 @@ Name | Type | Description | Notes
16
16
  require 'PulpContainerClient'
17
17
 
18
18
  instance = PulpContainerClient::ContainerContainerPushRepository.new(pulp_labels: null,
19
- manifest_signing_service: null,
20
19
  description: null,
20
+ retain_repo_versions: null,
21
21
  name: null,
22
- retain_repo_versions: null)
22
+ manifest_signing_service: null)
23
23
  ```
24
24
 
25
25
 
@@ -5,15 +5,15 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **pulp_labels** | **Hash<String, String>** | | [optional]
8
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
- **latest_version_href** | **String** | | [optional] [readonly]
10
- **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
11
8
  **description** | **String** | An optional description. | [optional]
9
+ **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
12
10
  **pulp_href** | **String** | | [optional] [readonly]
11
+ **latest_version_href** | **String** | | [optional] [readonly]
12
+ **versions_href** | **String** | | [optional] [readonly]
13
13
  **name** | **String** | A unique name for this repository. |
14
+ **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
15
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
14
16
  **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]
15
- **versions_href** | **String** | | [optional] [readonly]
16
- **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
17
17
 
18
18
  ## Code Sample
19
19
 
@@ -21,15 +21,15 @@ Name | Type | Description | Notes
21
21
  require 'PulpContainerClient'
22
22
 
23
23
  instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(pulp_labels: null,
24
- pulp_created: null,
25
- latest_version_href: null,
26
- manifest_signing_service: null,
27
24
  description: null,
25
+ retain_repo_versions: null,
28
26
  pulp_href: null,
29
- name: null,
30
- pulp_last_updated: null,
27
+ latest_version_href: null,
31
28
  versions_href: null,
32
- retain_repo_versions: null)
29
+ name: null,
30
+ manifest_signing_service: null,
31
+ pulp_created: null,
32
+ pulp_last_updated: 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
- **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
9
7
  **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
10
- **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
8
+ **pulp_labels** | **Hash<String, String>** | | [optional]
11
9
  **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]
12
10
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
11
+ **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
- content_guard: null,
24
- hidden: null,
25
- repository: null,
22
+ instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(hidden: null,
23
+ pulp_labels: null,
26
24
  base_path: null,
27
25
  name: null,
26
+ 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
- **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
9
7
  **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
10
- **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
8
+ **pulp_labels** | **Hash<String, String>** | | [optional]
11
9
  **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]
12
10
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
11
+ **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
- content_guard: null,
25
- hidden: null,
26
- repository: null,
23
+ instance = PulpContainerClient::PatchedcontainerContainerPullThroughDistribution.new(hidden: null,
24
+ pulp_labels: null,
27
25
  base_path: null,
28
26
  name: null,
27
+ content_guard: null,
28
+ repository: null,
29
29
  remote: null,
30
30
  distributions: null,
31
31
  private: null,
@@ -5,10 +5,10 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **pulp_labels** | **Hash<String, String>** | | [optional]
8
- **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
9
8
  **description** | **String** | An optional description. | [optional]
10
- **name** | **String** | A unique name for this repository. | [optional]
11
9
  **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
10
+ **name** | **String** | A unique name for this repository. | [optional]
11
+ **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
12
12
 
13
13
  ## Code Sample
14
14
 
@@ -16,10 +16,10 @@ Name | Type | Description | Notes
16
16
  require 'PulpContainerClient'
17
17
 
18
18
  instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(pulp_labels: null,
19
- manifest_signing_service: null,
20
19
  description: null,
20
+ retain_repo_versions: null,
21
21
  name: null,
22
- retain_repo_versions: null)
22
+ manifest_signing_service: null)
23
23
  ```
24
24
 
25
25
 
@@ -15,16 +15,10 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class ContainerContainerDistribution
18
- attr_accessor :pulp_labels
19
-
20
- # An optional content-guard. If none is specified, a default one will be used.
21
- attr_accessor :content_guard
22
-
23
18
  # Whether this distribution should be shown in the content app.
24
19
  attr_accessor :hidden
25
20
 
26
- # The latest RepositoryVersion for this Repository will be served.
27
- attr_accessor :repository
21
+ attr_accessor :pulp_labels
28
22
 
29
23
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
30
24
  attr_accessor :base_path
@@ -32,6 +26,12 @@ module PulpContainerClient
32
26
  # A unique name. Ex, `rawhide` and `stable`.
33
27
  attr_accessor :name
34
28
 
29
+ # An optional content-guard. If none is specified, a default one will be used.
30
+ attr_accessor :content_guard
31
+
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
- :'content_guard' => :'content_guard',
49
47
  :'hidden' => :'hidden',
50
- :'repository' => :'repository',
48
+ :'pulp_labels' => :'pulp_labels',
51
49
  :'base_path' => :'base_path',
52
50
  :'name' => :'name',
51
+ :'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
- :'content_guard' => :'String',
64
62
  :'hidden' => :'Boolean',
65
- :'repository' => :'String',
63
+ :'pulp_labels' => :'Hash<String, String>',
66
64
  :'base_path' => :'String',
67
65
  :'name' => :'String',
66
+ :'content_guard' => :'String',
67
+ :'repository' => :'String',
68
68
  :'repository_version' => :'String',
69
69
  :'private' => :'Boolean',
70
70
  :'description' => :'String'
@@ -95,24 +95,16 @@ module PulpContainerClient
95
95
  h[k.to_sym] = v
96
96
  }
97
97
 
98
- if attributes.key?(:'pulp_labels')
99
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
100
- self.pulp_labels = value
101
- end
102
- end
103
-
104
- if attributes.key?(:'content_guard')
105
- self.content_guard = attributes[:'content_guard']
106
- end
107
-
108
98
  if attributes.key?(:'hidden')
109
99
  self.hidden = attributes[:'hidden']
110
100
  else
111
101
  self.hidden = false
112
102
  end
113
103
 
114
- if attributes.key?(:'repository')
115
- self.repository = attributes[:'repository']
104
+ if attributes.key?(:'pulp_labels')
105
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
106
+ self.pulp_labels = value
107
+ end
116
108
  end
117
109
 
118
110
  if attributes.key?(:'base_path')
@@ -123,6 +115,14 @@ module PulpContainerClient
123
115
  self.name = attributes[:'name']
124
116
  end
125
117
 
118
+ if attributes.key?(:'content_guard')
119
+ self.content_guard = attributes[:'content_guard']
120
+ end
121
+
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
- content_guard == o.content_guard &&
222
220
  hidden == o.hidden &&
223
- repository == o.repository &&
221
+ pulp_labels == o.pulp_labels &&
224
222
  base_path == o.base_path &&
225
223
  name == o.name &&
224
+ 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, content_guard, hidden, repository, base_path, name, repository_version, private, description].hash
240
+ [hidden, pulp_labels, base_path, name, content_guard, repository, repository_version, private, description].hash
241
241
  end
242
242
 
243
243
  # Builds the object from hash
@@ -15,19 +15,10 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class ContainerContainerDistributionResponse
18
- attr_accessor :pulp_labels
19
-
20
- # Timestamp of creation.
21
- attr_accessor :pulp_created
22
-
23
- # An optional content-guard. If none is specified, a default one will be used.
24
- attr_accessor :content_guard
25
-
26
18
  # Whether this distribution should be shown in the content app.
27
19
  attr_accessor :hidden
28
20
 
29
- # The latest RepositoryVersion for this Repository will be served.
30
- attr_accessor :repository
21
+ attr_accessor :pulp_labels
31
22
 
32
23
  attr_accessor :pulp_href
33
24
 
@@ -37,6 +28,15 @@ module PulpContainerClient
37
28
  # A unique name. Ex, `rawhide` and `stable`.
38
29
  attr_accessor :name
39
30
 
31
+ # An optional content-guard. If none is specified, a default one will be used.
32
+ attr_accessor :content_guard
33
+
34
+ # Timestamp of creation.
35
+ attr_accessor :pulp_created
36
+
37
+ # The latest RepositoryVersion for this Repository will be served.
38
+ attr_accessor :repository
39
+
40
40
  # 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.
41
41
  attr_accessor :pulp_last_updated
42
42
 
@@ -61,14 +61,14 @@ module PulpContainerClient
61
61
  # Attribute mapping from ruby-style variable name to JSON key.
62
62
  def self.attribute_map
63
63
  {
64
- :'pulp_labels' => :'pulp_labels',
65
- :'pulp_created' => :'pulp_created',
66
- :'content_guard' => :'content_guard',
67
64
  :'hidden' => :'hidden',
68
- :'repository' => :'repository',
65
+ :'pulp_labels' => :'pulp_labels',
69
66
  :'pulp_href' => :'pulp_href',
70
67
  :'base_path' => :'base_path',
71
68
  :'name' => :'name',
69
+ :'content_guard' => :'content_guard',
70
+ :'pulp_created' => :'pulp_created',
71
+ :'repository' => :'repository',
72
72
  :'pulp_last_updated' => :'pulp_last_updated',
73
73
  :'repository_version' => :'repository_version',
74
74
  :'registry_path' => :'registry_path',
@@ -82,14 +82,14 @@ module PulpContainerClient
82
82
  # Attribute type mapping.
83
83
  def self.openapi_types
84
84
  {
85
- :'pulp_labels' => :'Hash<String, String>',
86
- :'pulp_created' => :'DateTime',
87
- :'content_guard' => :'String',
88
85
  :'hidden' => :'Boolean',
89
- :'repository' => :'String',
86
+ :'pulp_labels' => :'Hash<String, String>',
90
87
  :'pulp_href' => :'String',
91
88
  :'base_path' => :'String',
92
89
  :'name' => :'String',
90
+ :'content_guard' => :'String',
91
+ :'pulp_created' => :'DateTime',
92
+ :'repository' => :'String',
93
93
  :'pulp_last_updated' => :'DateTime',
94
94
  :'repository_version' => :'String',
95
95
  :'registry_path' => :'String',
@@ -124,28 +124,16 @@ module PulpContainerClient
124
124
  h[k.to_sym] = v
125
125
  }
126
126
 
127
- if attributes.key?(:'pulp_labels')
128
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
129
- self.pulp_labels = value
130
- end
131
- end
132
-
133
- if attributes.key?(:'pulp_created')
134
- self.pulp_created = attributes[:'pulp_created']
135
- end
136
-
137
- if attributes.key?(:'content_guard')
138
- self.content_guard = attributes[:'content_guard']
139
- end
140
-
141
127
  if attributes.key?(:'hidden')
142
128
  self.hidden = attributes[:'hidden']
143
129
  else
144
130
  self.hidden = false
145
131
  end
146
132
 
147
- if attributes.key?(:'repository')
148
- self.repository = attributes[:'repository']
133
+ if attributes.key?(:'pulp_labels')
134
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
135
+ self.pulp_labels = value
136
+ end
149
137
  end
150
138
 
151
139
  if attributes.key?(:'pulp_href')
@@ -160,6 +148,18 @@ module PulpContainerClient
160
148
  self.name = attributes[:'name']
161
149
  end
162
150
 
151
+ if attributes.key?(:'content_guard')
152
+ self.content_guard = attributes[:'content_guard']
153
+ end
154
+
155
+ if attributes.key?(:'pulp_created')
156
+ self.pulp_created = attributes[:'pulp_created']
157
+ end
158
+
159
+ if attributes.key?(:'repository')
160
+ self.repository = attributes[:'repository']
161
+ end
162
+
163
163
  if attributes.key?(:'pulp_last_updated')
164
164
  self.pulp_last_updated = attributes[:'pulp_last_updated']
165
165
  end
@@ -217,14 +217,14 @@ 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
- pulp_created == o.pulp_created &&
222
- content_guard == o.content_guard &&
223
220
  hidden == o.hidden &&
224
- repository == o.repository &&
221
+ pulp_labels == o.pulp_labels &&
225
222
  pulp_href == o.pulp_href &&
226
223
  base_path == o.base_path &&
227
224
  name == o.name &&
225
+ content_guard == o.content_guard &&
226
+ pulp_created == o.pulp_created &&
227
+ repository == o.repository &&
228
228
  pulp_last_updated == o.pulp_last_updated &&
229
229
  repository_version == o.repository_version &&
230
230
  registry_path == o.registry_path &&
@@ -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_labels, pulp_created, content_guard, hidden, repository, pulp_href, base_path, name, pulp_last_updated, repository_version, registry_path, remote, namespace, private, description].hash
246
+ [hidden, pulp_labels, pulp_href, base_path, name, content_guard, pulp_created, repository, pulp_last_updated, repository_version, registry_path, remote, namespace, private, description].hash
247
247
  end
248
248
 
249
249
  # Builds the object from hash