pulp_container_client 2.26.0 → 2.26.1

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 +2 -2
  4. data/docs/ContainerContainerDistributionResponse.md +10 -10
  5. data/docs/ContainerContainerPullThroughDistribution.md +2 -2
  6. data/docs/ContainerContainerPullThroughDistributionResponse.md +10 -10
  7. data/docs/ContainerContainerPushRepository.md +8 -8
  8. data/docs/ContainerContainerPushRepositoryResponse.md +16 -16
  9. data/docs/PatchedcontainerContainerDistribution.md +2 -2
  10. data/docs/PatchedcontainerContainerPullThroughDistribution.md +2 -2
  11. data/docs/PatchedcontainerContainerPushRepository.md +8 -8
  12. data/lib/pulp_container_client/models/container_container_distribution.rb +11 -11
  13. data/lib/pulp_container_client/models/container_container_distribution_response.rb +42 -42
  14. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +11 -11
  15. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +42 -42
  16. data/lib/pulp_container_client/models/container_container_push_repository.rb +49 -49
  17. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +67 -67
  18. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +11 -11
  19. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +11 -11
  20. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +47 -47
  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 +4 -4
  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 +4 -4
  26. data/spec/models/container_container_push_repository_response_spec.rb +10 -10
  27. data/spec/models/container_container_push_repository_spec.rb +4 -4
  28. data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
  29. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +4 -4
  30. data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
  31. metadata +61 -61
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2a8d80cbf63a440604e49f4f9db399539a3e30754addde0b757a3e6a2b258391
4
- data.tar.gz: 7b9f70d6b1f0e266017d533c3c2176f46487be9ab8abf28650cab0dee5331915
3
+ metadata.gz: 5c59b1ba7d1dfc4d9ecafec8cd79edb8515563920c1e928ad8069dfbcee62c4c
4
+ data.tar.gz: 8e63074c219fe78d13469f064f6a088bfe562aa2b69658160f6f38e612451b71
5
5
  SHA512:
6
- metadata.gz: 8800fe786fce1479451c43f5a7e2ca39bdcf9301dae34a4379664689b14c199ed938bda6ef0367c594585e10951a5a1ec98207723fd9eb3805e0f1d122120af9
7
- data.tar.gz: dd58ac91ac28ebe0a86ebb34fae815a18407d171bf7c788cd36e4ec33739ff5df6b0a1c4680ef216c258ef1f2793fc79124d491c304afe97b0986b3a24108d5c
6
+ metadata.gz: 5e5dd4081dc42d78220a5c57beef33c9c74e5f171f506a3ace5ca0cac3af02dde2c95d2ab9942fd1b068a1445489362a28451ca3f252a0054ae9394b3c60cd77
7
+ data.tar.gz: 5ee312475537eba5675b8d557fcd13ec131c3ab860f3406c86e43c7d9a80746f63b9afed4b7be4e4d60ad182a97f7c8f944ef17bebc0700abed6e9c55000debe
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.26.0
10
+ - Package version: 2.26.1
11
11
  - Generator version: 7.10.0
12
12
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
13
13
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
@@ -25,16 +25,16 @@ gem build pulp_container_client.gemspec
25
25
  Then either install the gem locally:
26
26
 
27
27
  ```shell
28
- gem install ./pulp_container_client-2.26.0.gem
28
+ gem install ./pulp_container_client-2.26.1.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./pulp_container_client-2.26.0.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulp_container_client-2.26.1.gem` to install the development dependencies)
32
32
 
33
33
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
34
34
 
35
35
  Finally add this to the Gemfile:
36
36
 
37
- gem 'pulp_container_client', '~> 2.26.0'
37
+ gem 'pulp_container_client', '~> 2.26.1'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -5,10 +5,10 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
8
- | **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
9
8
  | **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
10
9
  | **pulp_labels** | **Hash<String, String>** | | [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
+ | **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
12
12
  | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
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] |
@@ -21,10 +21,10 @@ require 'pulp_container_client'
21
21
 
22
22
  instance = PulpContainerClient::ContainerContainerDistribution.new(
23
23
  name: null,
24
- content_guard: null,
25
24
  repository: null,
26
25
  pulp_labels: null,
27
26
  base_path: null,
27
+ content_guard: null,
28
28
  hidden: null,
29
29
  repository_version: null,
30
30
  private: null,
@@ -4,16 +4,16 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
7
+ | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
8
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] |
9
+ | **no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional][readonly] |
10
+ | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
11
+ | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
10
12
  | **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
11
13
  | **pulp_labels** | **Hash<String, String>** | | [optional] |
12
14
  | **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\") | |
13
- | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
14
- | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
15
15
  | **pulp_href** | **String** | | [optional][readonly] |
16
- | **no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional][readonly] |
16
+ | **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
17
17
  | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
18
18
  | **repository_version** | **String** | RepositoryVersion to be served | [optional] |
19
19
  | **registry_path** | **String** | The Registry hostname/name/ to use with docker pull command defined by this distribution. | [optional][readonly] |
@@ -28,16 +28,16 @@
28
28
  require 'pulp_container_client'
29
29
 
30
30
  instance = PulpContainerClient::ContainerContainerDistributionResponse.new(
31
- pulp_last_updated: null,
31
+ pulp_created: null,
32
32
  name: null,
33
- content_guard: null,
33
+ no_content_change_since: null,
34
+ pulp_last_updated: null,
35
+ prn: null,
34
36
  repository: null,
35
37
  pulp_labels: null,
36
38
  base_path: null,
37
- pulp_created: null,
38
- prn: null,
39
39
  pulp_href: null,
40
- no_content_change_since: null,
40
+ content_guard: null,
41
41
  hidden: null,
42
42
  repository_version: null,
43
43
  registry_path: null,
@@ -5,10 +5,10 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
8
- | **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
9
8
  | **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
10
9
  | **pulp_labels** | **Hash<String, String>** | | [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
+ | **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
12
12
  | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
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] |
@@ -22,10 +22,10 @@ require 'pulp_container_client'
22
22
 
23
23
  instance = PulpContainerClient::ContainerContainerPullThroughDistribution.new(
24
24
  name: null,
25
- content_guard: null,
26
25
  repository: null,
27
26
  pulp_labels: null,
28
27
  base_path: null,
28
+ content_guard: null,
29
29
  hidden: null,
30
30
  remote: null,
31
31
  distributions: null,
@@ -4,16 +4,16 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
7
+ | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
8
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] |
9
+ | **no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional][readonly] |
10
+ | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
11
+ | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
10
12
  | **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
11
13
  | **pulp_labels** | **Hash<String, String>** | | [optional] |
12
14
  | **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\") | |
13
- | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
14
- | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
15
15
  | **pulp_href** | **String** | | [optional][readonly] |
16
- | **no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional][readonly] |
16
+ | **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
17
17
  | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
18
18
  | **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | |
19
19
  | **distributions** | **Array<String>** | Distributions created after pulling content through cache | [optional] |
@@ -27,16 +27,16 @@
27
27
  require 'pulp_container_client'
28
28
 
29
29
  instance = PulpContainerClient::ContainerContainerPullThroughDistributionResponse.new(
30
- pulp_last_updated: null,
30
+ pulp_created: null,
31
31
  name: null,
32
- content_guard: null,
32
+ no_content_change_since: null,
33
+ pulp_last_updated: null,
34
+ prn: null,
33
35
  repository: null,
34
36
  pulp_labels: null,
35
37
  base_path: null,
36
- pulp_created: null,
37
- prn: null,
38
38
  pulp_href: null,
39
- no_content_change_since: null,
39
+ content_guard: null,
40
40
  hidden: null,
41
41
  remote: null,
42
42
  distributions: null,
@@ -4,11 +4,11 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **name** | **String** | A unique name for this repository. | |
8
- | **pulp_labels** | **Hash<String, String>** | | [optional] |
9
- | **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional] |
10
- | **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
11
7
  | **description** | **String** | An optional description. | [optional] |
8
+ | **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
9
+ | **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional] |
10
+ | **pulp_labels** | **Hash<String, String>** | | [optional] |
11
+ | **name** | **String** | A unique name for this repository. | |
12
12
 
13
13
  ## Example
14
14
 
@@ -16,11 +16,11 @@
16
16
  require 'pulp_container_client'
17
17
 
18
18
  instance = PulpContainerClient::ContainerContainerPushRepository.new(
19
- name: null,
20
- pulp_labels: null,
21
- manifest_signing_service: null,
19
+ description: null,
22
20
  retain_repo_versions: null,
23
- description: null
21
+ manifest_signing_service: null,
22
+ pulp_labels: null,
23
+ name: null
24
24
  )
25
25
  ```
26
26
 
@@ -4,17 +4,17 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
8
- | **name** | **String** | A unique name for this repository. | |
9
- | **latest_version_href** | **String** | | [optional][readonly] |
10
- | **pulp_labels** | **Hash<String, String>** | | [optional] |
11
7
  | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
12
- | **versions_href** | **String** | | [optional][readonly] |
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] |
10
+ | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
11
+ | **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional] |
13
12
  | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
13
+ | **pulp_labels** | **Hash<String, String>** | | [optional] |
14
14
  | **pulp_href** | **String** | | [optional][readonly] |
15
- | **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional] |
16
- | **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
17
- | **description** | **String** | An optional description. | [optional] |
15
+ | **versions_href** | **String** | | [optional][readonly] |
16
+ | **name** | **String** | A unique name for this repository. | |
17
+ | **latest_version_href** | **String** | | [optional][readonly] |
18
18
 
19
19
  ## Example
20
20
 
@@ -22,17 +22,17 @@
22
22
  require 'pulp_container_client'
23
23
 
24
24
  instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(
25
- pulp_last_updated: null,
26
- name: null,
27
- latest_version_href: null,
28
- pulp_labels: null,
29
25
  pulp_created: null,
30
- versions_href: null,
26
+ description: null,
27
+ retain_repo_versions: null,
28
+ pulp_last_updated: null,
29
+ manifest_signing_service: null,
31
30
  prn: null,
31
+ pulp_labels: null,
32
32
  pulp_href: null,
33
- manifest_signing_service: null,
34
- retain_repo_versions: null,
35
- description: null
33
+ versions_href: null,
34
+ name: null,
35
+ latest_version_href: null
36
36
  )
37
37
  ```
38
38
 
@@ -5,10 +5,10 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional] |
8
- | **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
9
8
  | **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
10
9
  | **pulp_labels** | **Hash<String, String>** | | [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
+ | **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
12
12
  | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
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] |
@@ -21,10 +21,10 @@ require 'pulp_container_client'
21
21
 
22
22
  instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(
23
23
  name: null,
24
- content_guard: null,
25
24
  repository: null,
26
25
  pulp_labels: null,
27
26
  base_path: null,
27
+ content_guard: null,
28
28
  hidden: null,
29
29
  repository_version: null,
30
30
  private: null,
@@ -5,10 +5,10 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional] |
8
- | **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
9
8
  | **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
10
9
  | **pulp_labels** | **Hash<String, String>** | | [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
+ | **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
12
12
  | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
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] |
@@ -22,10 +22,10 @@ require 'pulp_container_client'
22
22
 
23
23
  instance = PulpContainerClient::PatchedcontainerContainerPullThroughDistribution.new(
24
24
  name: null,
25
- content_guard: null,
26
25
  repository: null,
27
26
  pulp_labels: null,
28
27
  base_path: null,
28
+ content_guard: null,
29
29
  hidden: null,
30
30
  remote: null,
31
31
  distributions: null,
@@ -4,11 +4,11 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **name** | **String** | A unique name for this repository. | [optional] |
8
- | **pulp_labels** | **Hash<String, String>** | | [optional] |
9
- | **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional] |
10
- | **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
11
7
  | **description** | **String** | An optional description. | [optional] |
8
+ | **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
9
+ | **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional] |
10
+ | **pulp_labels** | **Hash<String, String>** | | [optional] |
11
+ | **name** | **String** | A unique name for this repository. | [optional] |
12
12
 
13
13
  ## Example
14
14
 
@@ -16,11 +16,11 @@
16
16
  require 'pulp_container_client'
17
17
 
18
18
  instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(
19
- name: null,
20
- pulp_labels: null,
21
- manifest_signing_service: null,
19
+ description: null,
22
20
  retain_repo_versions: null,
23
- description: null
21
+ manifest_signing_service: null,
22
+ pulp_labels: null,
23
+ name: null
24
24
  )
25
25
  ```
26
26
 
@@ -19,9 +19,6 @@ module PulpContainerClient
19
19
  # A unique name. Ex, `rawhide` and `stable`.
20
20
  attr_accessor :name
21
21
 
22
- # An optional content-guard. If none is specified, a default one will be used.
23
- attr_accessor :content_guard
24
-
25
22
  # The latest RepositoryVersion for this Repository will be served.
26
23
  attr_accessor :repository
27
24
 
@@ -30,6 +27,9 @@ module PulpContainerClient
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
+ # An optional content-guard. If none is specified, a default one will be used.
31
+ attr_accessor :content_guard
32
+
33
33
  # Whether this distribution should be shown in the content app.
34
34
  attr_accessor :hidden
35
35
 
@@ -46,10 +46,10 @@ module PulpContainerClient
46
46
  def self.attribute_map
47
47
  {
48
48
  :'name' => :'name',
49
- :'content_guard' => :'content_guard',
50
49
  :'repository' => :'repository',
51
50
  :'pulp_labels' => :'pulp_labels',
52
51
  :'base_path' => :'base_path',
52
+ :'content_guard' => :'content_guard',
53
53
  :'hidden' => :'hidden',
54
54
  :'repository_version' => :'repository_version',
55
55
  :'private' => :'private',
@@ -66,10 +66,10 @@ module PulpContainerClient
66
66
  def self.openapi_types
67
67
  {
68
68
  :'name' => :'String',
69
- :'content_guard' => :'String',
70
69
  :'repository' => :'String',
71
70
  :'pulp_labels' => :'Hash<String, String>',
72
71
  :'base_path' => :'String',
72
+ :'content_guard' => :'String',
73
73
  :'hidden' => :'Boolean',
74
74
  :'repository_version' => :'String',
75
75
  :'private' => :'Boolean',
@@ -107,10 +107,6 @@ module PulpContainerClient
107
107
  self.name = nil
108
108
  end
109
109
 
110
- if attributes.key?(:'content_guard')
111
- self.content_guard = attributes[:'content_guard']
112
- end
113
-
114
110
  if attributes.key?(:'repository')
115
111
  self.repository = attributes[:'repository']
116
112
  end
@@ -127,6 +123,10 @@ module PulpContainerClient
127
123
  self.base_path = nil
128
124
  end
129
125
 
126
+ if attributes.key?(:'content_guard')
127
+ self.content_guard = attributes[:'content_guard']
128
+ end
129
+
130
130
  if attributes.key?(:'hidden')
131
131
  self.hidden = attributes[:'hidden']
132
132
  else
@@ -230,10 +230,10 @@ module PulpContainerClient
230
230
  return true if self.equal?(o)
231
231
  self.class == o.class &&
232
232
  name == o.name &&
233
- content_guard == o.content_guard &&
234
233
  repository == o.repository &&
235
234
  pulp_labels == o.pulp_labels &&
236
235
  base_path == o.base_path &&
236
+ content_guard == o.content_guard &&
237
237
  hidden == o.hidden &&
238
238
  repository_version == o.repository_version &&
239
239
  private == o.private &&
@@ -249,7 +249,7 @@ module PulpContainerClient
249
249
  # Calculates hash code according to all attributes.
250
250
  # @return [Integer] Hash code
251
251
  def hash
252
- [name, content_guard, repository, pulp_labels, base_path, hidden, repository_version, private, description].hash
252
+ [name, repository, pulp_labels, base_path, content_guard, hidden, repository_version, private, description].hash
253
253
  end
254
254
 
255
255
  # Builds the object from hash
@@ -16,14 +16,20 @@ require 'time'
16
16
  module PulpContainerClient
17
17
  # A serializer for ContainerDistribution.
18
18
  class ContainerContainerDistributionResponse
19
- # 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.
20
- attr_accessor :pulp_last_updated
19
+ # Timestamp of creation.
20
+ attr_accessor :pulp_created
21
21
 
22
22
  # A unique name. Ex, `rawhide` and `stable`.
23
23
  attr_accessor :name
24
24
 
25
- # An optional content-guard. If none is specified, a default one will be used.
26
- attr_accessor :content_guard
25
+ # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
26
+ attr_accessor :no_content_change_since
27
+
28
+ # 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.
29
+ attr_accessor :pulp_last_updated
30
+
31
+ # The Pulp Resource Name (PRN).
32
+ attr_accessor :prn
27
33
 
28
34
  # The latest RepositoryVersion for this Repository will be served.
29
35
  attr_accessor :repository
@@ -33,16 +39,10 @@ module PulpContainerClient
33
39
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
34
40
  attr_accessor :base_path
35
41
 
36
- # Timestamp of creation.
37
- attr_accessor :pulp_created
38
-
39
- # The Pulp Resource Name (PRN).
40
- attr_accessor :prn
41
-
42
42
  attr_accessor :pulp_href
43
43
 
44
- # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
45
- attr_accessor :no_content_change_since
44
+ # An optional content-guard. If none is specified, a default one will be used.
45
+ attr_accessor :content_guard
46
46
 
47
47
  # Whether this distribution should be shown in the content app.
48
48
  attr_accessor :hidden
@@ -68,16 +68,16 @@ module PulpContainerClient
68
68
  # Attribute mapping from ruby-style variable name to JSON key.
69
69
  def self.attribute_map
70
70
  {
71
- :'pulp_last_updated' => :'pulp_last_updated',
71
+ :'pulp_created' => :'pulp_created',
72
72
  :'name' => :'name',
73
- :'content_guard' => :'content_guard',
73
+ :'no_content_change_since' => :'no_content_change_since',
74
+ :'pulp_last_updated' => :'pulp_last_updated',
75
+ :'prn' => :'prn',
74
76
  :'repository' => :'repository',
75
77
  :'pulp_labels' => :'pulp_labels',
76
78
  :'base_path' => :'base_path',
77
- :'pulp_created' => :'pulp_created',
78
- :'prn' => :'prn',
79
79
  :'pulp_href' => :'pulp_href',
80
- :'no_content_change_since' => :'no_content_change_since',
80
+ :'content_guard' => :'content_guard',
81
81
  :'hidden' => :'hidden',
82
82
  :'repository_version' => :'repository_version',
83
83
  :'registry_path' => :'registry_path',
@@ -96,16 +96,16 @@ module PulpContainerClient
96
96
  # Attribute type mapping.
97
97
  def self.openapi_types
98
98
  {
99
- :'pulp_last_updated' => :'Time',
99
+ :'pulp_created' => :'Time',
100
100
  :'name' => :'String',
101
- :'content_guard' => :'String',
101
+ :'no_content_change_since' => :'String',
102
+ :'pulp_last_updated' => :'Time',
103
+ :'prn' => :'String',
102
104
  :'repository' => :'String',
103
105
  :'pulp_labels' => :'Hash<String, String>',
104
106
  :'base_path' => :'String',
105
- :'pulp_created' => :'Time',
106
- :'prn' => :'String',
107
107
  :'pulp_href' => :'String',
108
- :'no_content_change_since' => :'String',
108
+ :'content_guard' => :'String',
109
109
  :'hidden' => :'Boolean',
110
110
  :'repository_version' => :'String',
111
111
  :'registry_path' => :'String',
@@ -140,8 +140,8 @@ module PulpContainerClient
140
140
  h[k.to_sym] = v
141
141
  }
142
142
 
143
- if attributes.key?(:'pulp_last_updated')
144
- self.pulp_last_updated = attributes[:'pulp_last_updated']
143
+ if attributes.key?(:'pulp_created')
144
+ self.pulp_created = attributes[:'pulp_created']
145
145
  end
146
146
 
147
147
  if attributes.key?(:'name')
@@ -150,8 +150,16 @@ module PulpContainerClient
150
150
  self.name = nil
151
151
  end
152
152
 
153
- if attributes.key?(:'content_guard')
154
- self.content_guard = attributes[:'content_guard']
153
+ if attributes.key?(:'no_content_change_since')
154
+ self.no_content_change_since = attributes[:'no_content_change_since']
155
+ end
156
+
157
+ if attributes.key?(:'pulp_last_updated')
158
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
159
+ end
160
+
161
+ if attributes.key?(:'prn')
162
+ self.prn = attributes[:'prn']
155
163
  end
156
164
 
157
165
  if attributes.key?(:'repository')
@@ -170,20 +178,12 @@ module PulpContainerClient
170
178
  self.base_path = nil
171
179
  end
172
180
 
173
- if attributes.key?(:'pulp_created')
174
- self.pulp_created = attributes[:'pulp_created']
175
- end
176
-
177
- if attributes.key?(:'prn')
178
- self.prn = attributes[:'prn']
179
- end
180
-
181
181
  if attributes.key?(:'pulp_href')
182
182
  self.pulp_href = attributes[:'pulp_href']
183
183
  end
184
184
 
185
- if attributes.key?(:'no_content_change_since')
186
- self.no_content_change_since = attributes[:'no_content_change_since']
185
+ if attributes.key?(:'content_guard')
186
+ self.content_guard = attributes[:'content_guard']
187
187
  end
188
188
 
189
189
  if attributes.key?(:'hidden')
@@ -247,16 +247,16 @@ module PulpContainerClient
247
247
  def ==(o)
248
248
  return true if self.equal?(o)
249
249
  self.class == o.class &&
250
- pulp_last_updated == o.pulp_last_updated &&
250
+ pulp_created == o.pulp_created &&
251
251
  name == o.name &&
252
- content_guard == o.content_guard &&
252
+ no_content_change_since == o.no_content_change_since &&
253
+ pulp_last_updated == o.pulp_last_updated &&
254
+ prn == o.prn &&
253
255
  repository == o.repository &&
254
256
  pulp_labels == o.pulp_labels &&
255
257
  base_path == o.base_path &&
256
- pulp_created == o.pulp_created &&
257
- prn == o.prn &&
258
258
  pulp_href == o.pulp_href &&
259
- no_content_change_since == o.no_content_change_since &&
259
+ content_guard == o.content_guard &&
260
260
  hidden == o.hidden &&
261
261
  repository_version == o.repository_version &&
262
262
  registry_path == o.registry_path &&
@@ -275,7 +275,7 @@ module PulpContainerClient
275
275
  # Calculates hash code according to all attributes.
276
276
  # @return [Integer] Hash code
277
277
  def hash
278
- [pulp_last_updated, name, content_guard, repository, pulp_labels, base_path, pulp_created, prn, pulp_href, no_content_change_since, hidden, repository_version, registry_path, remote, namespace, private, description].hash
278
+ [pulp_created, name, no_content_change_since, pulp_last_updated, prn, repository, pulp_labels, base_path, pulp_href, content_guard, hidden, repository_version, registry_path, remote, namespace, private, description].hash
279
279
  end
280
280
 
281
281
  # Builds the object from hash