pulp_container_client 2.15.5 → 2.15.6

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0fa61db3ac8f1245fc2573f79c33fe0c5895af965d071417418cce1f3a93f2f7
4
- data.tar.gz: 7a1b979bb7095e2663bc622e3c3ccdcced1f6231ab8516d6e5fe94e7b6eab098
3
+ metadata.gz: 9b58c8be2c6cde86e79429cc1c37c563014797d4292ae630809db529715a12f6
4
+ data.tar.gz: 5afcaf9914ce58de87743bbdbebd868f22f7f5cddcf64d16f4f671b3207779f4
5
5
  SHA512:
6
- metadata.gz: 625db410d6242de18a914148fcef1457040d4f977aa425bf54e19b51d091d741539729b57f268fe9f08e821a971baec65767d87b1d0c54db41ed523dfbba325a
7
- data.tar.gz: e3e8bdb15b8cc71ce479db03b2e6cc8f58fa625922dc5963383d7959d887a82f944a8c5a9ee43af0843f39015e7291c20a0661cdc09d55c0a43b469b9edc0f70
6
+ metadata.gz: 5e842c7ea87c0f5cabf2d84725e335c067780ca6afb3fa266cf31b08a70e7a98192f26aac5a8e2884e167fe4c7701495ea8a06213929428093da6817dd5f43e0
7
+ data.tar.gz: '080e296e812e8d01d9d1ca70af515075c9e95a469e3fab062e22f2ff6c1329a164672f6ab6efe1631002dcca85ad02ee1c1f017de3d83565d2d20f2d20697fc9'
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.15.5
10
+ - Package version: 2.15.6
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.15.5.gem
27
+ gem install ./pulp_container_client-2.15.6.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_container_client-2.15.5.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_container_client-2.15.6.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.15.5'
36
+ gem 'pulp_container_client', '~> 2.15.6'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -4,11 +4,11 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
8
7
  **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\") |
9
- **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
10
- **pulp_labels** | **Hash<String, String>** | | [optional]
8
+ **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
11
9
  **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
10
+ **pulp_labels** | **Hash<String, String>** | | [optional]
11
+ **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
12
12
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
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]
@@ -19,11 +19,11 @@ Name | Type | Description | Notes
19
19
  ```ruby
20
20
  require 'PulpContainerClient'
21
21
 
22
- instance = PulpContainerClient::ContainerContainerDistribution.new(hidden: null,
23
- base_path: null,
24
- content_guard: null,
25
- pulp_labels: null,
22
+ instance = PulpContainerClient::ContainerContainerDistribution.new(base_path: null,
23
+ hidden: null,
26
24
  repository: null,
25
+ pulp_labels: null,
26
+ content_guard: null,
27
27
  name: null,
28
28
  repository_version: null,
29
29
  private: null,
@@ -4,13 +4,13 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
8
7
  **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\") |
8
+ **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
9
9
  **pulp_href** | **String** | | [optional] [readonly]
10
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
11
- **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
12
- **pulp_labels** | **Hash<String, String>** | | [optional]
13
10
  **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
11
+ **pulp_labels** | **Hash<String, String>** | | [optional]
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
14
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
15
15
  **repository_version** | **String** | RepositoryVersion to be served | [optional]
16
16
  **registry_path** | **String** | The Registry hostname/name/ to use with docker pull command defined by this distribution. | [optional] [readonly]
@@ -23,13 +23,13 @@ Name | Type | Description | Notes
23
23
  ```ruby
24
24
  require 'PulpContainerClient'
25
25
 
26
- instance = PulpContainerClient::ContainerContainerDistributionResponse.new(hidden: null,
27
- base_path: null,
26
+ instance = PulpContainerClient::ContainerContainerDistributionResponse.new(base_path: null,
27
+ hidden: null,
28
28
  pulp_href: null,
29
- pulp_created: null,
30
- content_guard: null,
31
- pulp_labels: null,
32
29
  repository: null,
30
+ pulp_labels: null,
31
+ content_guard: null,
32
+ pulp_created: null,
33
33
  name: null,
34
34
  repository_version: null,
35
35
  registry_path: null,
@@ -4,22 +4,22 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **pulp_labels** | **Hash<String, String>** | | [optional]
8
7
  **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
8
  **description** | **String** | An optional description. | [optional]
9
+ **pulp_labels** | **Hash<String, String>** | | [optional]
11
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
 
15
15
  ```ruby
16
16
  require 'PulpContainerClient'
17
17
 
18
- instance = PulpContainerClient::ContainerContainerPushRepository.new(pulp_labels: null,
19
- retain_repo_versions: null,
20
- manifest_signing_service: null,
18
+ instance = PulpContainerClient::ContainerContainerPushRepository.new(retain_repo_versions: null,
21
19
  description: null,
22
- name: null)
20
+ pulp_labels: null,
21
+ name: null,
22
+ manifest_signing_service: null)
23
23
  ```
24
24
 
25
25
 
@@ -5,14 +5,14 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **pulp_href** | **String** | | [optional] [readonly]
8
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
- **pulp_labels** | **Hash<String, String>** | | [optional]
10
8
  **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
11
- **latest_version_href** | **String** | | [optional] [readonly]
12
- **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
13
9
  **description** | **String** | An optional description. | [optional]
14
- **versions_href** | **String** | | [optional] [readonly]
10
+ **pulp_labels** | **Hash<String, String>** | | [optional]
15
11
  **name** | **String** | A unique name for this repository. |
12
+ **versions_href** | **String** | | [optional] [readonly]
13
+ **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
14
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
15
+ **latest_version_href** | **String** | | [optional] [readonly]
16
16
 
17
17
  ## Code Sample
18
18
 
@@ -20,14 +20,14 @@ Name | Type | Description | Notes
20
20
  require 'PulpContainerClient'
21
21
 
22
22
  instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(pulp_href: null,
23
- pulp_created: null,
24
- pulp_labels: null,
25
23
  retain_repo_versions: null,
26
- latest_version_href: null,
27
- manifest_signing_service: null,
28
24
  description: null,
25
+ pulp_labels: null,
26
+ name: null,
29
27
  versions_href: null,
30
- name: null)
28
+ manifest_signing_service: null,
29
+ pulp_created: null,
30
+ latest_version_href: null)
31
31
  ```
32
32
 
33
33
 
@@ -4,11 +4,11 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
8
7
  **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]
9
- **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
10
- **pulp_labels** | **Hash<String, String>** | | [optional]
8
+ **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
11
9
  **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
10
+ **pulp_labels** | **Hash<String, String>** | | [optional]
11
+ **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
12
12
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [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]
@@ -19,11 +19,11 @@ Name | Type | Description | Notes
19
19
  ```ruby
20
20
  require 'PulpContainerClient'
21
21
 
22
- instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(hidden: null,
23
- base_path: null,
24
- content_guard: null,
25
- pulp_labels: null,
22
+ instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(base_path: null,
23
+ hidden: null,
26
24
  repository: null,
25
+ pulp_labels: null,
26
+ content_guard: null,
27
27
  name: null,
28
28
  repository_version: null,
29
29
  private: null,
@@ -4,22 +4,22 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **pulp_labels** | **Hash<String, String>** | | [optional]
8
7
  **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
8
  **description** | **String** | An optional description. | [optional]
9
+ **pulp_labels** | **Hash<String, String>** | | [optional]
11
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
 
15
15
  ```ruby
16
16
  require 'PulpContainerClient'
17
17
 
18
- instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(pulp_labels: null,
19
- retain_repo_versions: null,
20
- manifest_signing_service: null,
18
+ instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(retain_repo_versions: null,
21
19
  description: null,
22
- name: null)
20
+ pulp_labels: null,
21
+ name: null,
22
+ manifest_signing_service: null)
23
23
  ```
24
24
 
25
25
 
@@ -15,20 +15,20 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class ContainerContainerDistribution
18
- # Whether this distribution should be shown in the content app.
19
- attr_accessor :hidden
20
-
21
18
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
22
19
  attr_accessor :base_path
23
20
 
24
- # An optional content-guard. If none is specified, a default one will be used.
25
- attr_accessor :content_guard
26
-
27
- attr_accessor :pulp_labels
21
+ # Whether this distribution should be shown in the content app.
22
+ attr_accessor :hidden
28
23
 
29
24
  # The latest RepositoryVersion for this Repository will be served.
30
25
  attr_accessor :repository
31
26
 
27
+ attr_accessor :pulp_labels
28
+
29
+ # An optional content-guard. If none is specified, a default one will be used.
30
+ attr_accessor :content_guard
31
+
32
32
  # A unique name. Ex, `rawhide` and `stable`.
33
33
  attr_accessor :name
34
34
 
@@ -44,11 +44,11 @@ module PulpContainerClient
44
44
  # Attribute mapping from ruby-style variable name to JSON key.
45
45
  def self.attribute_map
46
46
  {
47
- :'hidden' => :'hidden',
48
47
  :'base_path' => :'base_path',
49
- :'content_guard' => :'content_guard',
50
- :'pulp_labels' => :'pulp_labels',
48
+ :'hidden' => :'hidden',
51
49
  :'repository' => :'repository',
50
+ :'pulp_labels' => :'pulp_labels',
51
+ :'content_guard' => :'content_guard',
52
52
  :'name' => :'name',
53
53
  :'repository_version' => :'repository_version',
54
54
  :'private' => :'private',
@@ -59,11 +59,11 @@ module PulpContainerClient
59
59
  # Attribute type mapping.
60
60
  def self.openapi_types
61
61
  {
62
- :'hidden' => :'Boolean',
63
62
  :'base_path' => :'String',
64
- :'content_guard' => :'String',
65
- :'pulp_labels' => :'Hash<String, String>',
63
+ :'hidden' => :'Boolean',
66
64
  :'repository' => :'String',
65
+ :'pulp_labels' => :'Hash<String, String>',
66
+ :'content_guard' => :'String',
67
67
  :'name' => :'String',
68
68
  :'repository_version' => :'String',
69
69
  :'private' => :'Boolean',
@@ -95,18 +95,18 @@ module PulpContainerClient
95
95
  h[k.to_sym] = v
96
96
  }
97
97
 
98
+ if attributes.key?(:'base_path')
99
+ self.base_path = attributes[:'base_path']
100
+ end
101
+
98
102
  if attributes.key?(:'hidden')
99
103
  self.hidden = attributes[:'hidden']
100
104
  else
101
105
  self.hidden = false
102
106
  end
103
107
 
104
- if attributes.key?(:'base_path')
105
- self.base_path = attributes[:'base_path']
106
- end
107
-
108
- if attributes.key?(:'content_guard')
109
- self.content_guard = attributes[:'content_guard']
108
+ if attributes.key?(:'repository')
109
+ self.repository = attributes[:'repository']
110
110
  end
111
111
 
112
112
  if attributes.key?(:'pulp_labels')
@@ -115,8 +115,8 @@ module PulpContainerClient
115
115
  end
116
116
  end
117
117
 
118
- if attributes.key?(:'repository')
119
- self.repository = attributes[:'repository']
118
+ if attributes.key?(:'content_guard')
119
+ self.content_guard = attributes[:'content_guard']
120
120
  end
121
121
 
122
122
  if attributes.key?(:'name')
@@ -217,11 +217,11 @@ module PulpContainerClient
217
217
  def ==(o)
218
218
  return true if self.equal?(o)
219
219
  self.class == o.class &&
220
- hidden == o.hidden &&
221
220
  base_path == o.base_path &&
222
- content_guard == o.content_guard &&
223
- pulp_labels == o.pulp_labels &&
221
+ hidden == o.hidden &&
224
222
  repository == o.repository &&
223
+ pulp_labels == o.pulp_labels &&
224
+ content_guard == o.content_guard &&
225
225
  name == o.name &&
226
226
  repository_version == o.repository_version &&
227
227
  private == o.private &&
@@ -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
- [hidden, base_path, content_guard, pulp_labels, repository, name, repository_version, private, description].hash
240
+ [base_path, hidden, repository, pulp_labels, content_guard, name, repository_version, private, description].hash
241
241
  end
242
242
 
243
243
  # Builds the object from hash
@@ -15,24 +15,24 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class ContainerContainerDistributionResponse
18
- # Whether this distribution should be shown in the content app.
19
- attr_accessor :hidden
20
-
21
18
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
22
19
  attr_accessor :base_path
23
20
 
21
+ # Whether this distribution should be shown in the content app.
22
+ attr_accessor :hidden
23
+
24
24
  attr_accessor :pulp_href
25
25
 
26
- # Timestamp of creation.
27
- attr_accessor :pulp_created
26
+ # The latest RepositoryVersion for this Repository will be served.
27
+ attr_accessor :repository
28
+
29
+ attr_accessor :pulp_labels
28
30
 
29
31
  # An optional content-guard. If none is specified, a default one will be used.
30
32
  attr_accessor :content_guard
31
33
 
32
- attr_accessor :pulp_labels
33
-
34
- # The latest RepositoryVersion for this Repository will be served.
35
- attr_accessor :repository
34
+ # Timestamp of creation.
35
+ attr_accessor :pulp_created
36
36
 
37
37
  # A unique name. Ex, `rawhide` and `stable`.
38
38
  attr_accessor :name
@@ -55,13 +55,13 @@ module PulpContainerClient
55
55
  # Attribute mapping from ruby-style variable name to JSON key.
56
56
  def self.attribute_map
57
57
  {
58
- :'hidden' => :'hidden',
59
58
  :'base_path' => :'base_path',
59
+ :'hidden' => :'hidden',
60
60
  :'pulp_href' => :'pulp_href',
61
- :'pulp_created' => :'pulp_created',
62
- :'content_guard' => :'content_guard',
63
- :'pulp_labels' => :'pulp_labels',
64
61
  :'repository' => :'repository',
62
+ :'pulp_labels' => :'pulp_labels',
63
+ :'content_guard' => :'content_guard',
64
+ :'pulp_created' => :'pulp_created',
65
65
  :'name' => :'name',
66
66
  :'repository_version' => :'repository_version',
67
67
  :'registry_path' => :'registry_path',
@@ -74,13 +74,13 @@ module PulpContainerClient
74
74
  # Attribute type mapping.
75
75
  def self.openapi_types
76
76
  {
77
- :'hidden' => :'Boolean',
78
77
  :'base_path' => :'String',
78
+ :'hidden' => :'Boolean',
79
79
  :'pulp_href' => :'String',
80
- :'pulp_created' => :'DateTime',
81
- :'content_guard' => :'String',
82
- :'pulp_labels' => :'Hash<String, String>',
83
80
  :'repository' => :'String',
81
+ :'pulp_labels' => :'Hash<String, String>',
82
+ :'content_guard' => :'String',
83
+ :'pulp_created' => :'DateTime',
84
84
  :'name' => :'String',
85
85
  :'repository_version' => :'String',
86
86
  :'registry_path' => :'String',
@@ -114,26 +114,22 @@ module PulpContainerClient
114
114
  h[k.to_sym] = v
115
115
  }
116
116
 
117
+ if attributes.key?(:'base_path')
118
+ self.base_path = attributes[:'base_path']
119
+ end
120
+
117
121
  if attributes.key?(:'hidden')
118
122
  self.hidden = attributes[:'hidden']
119
123
  else
120
124
  self.hidden = false
121
125
  end
122
126
 
123
- if attributes.key?(:'base_path')
124
- self.base_path = attributes[:'base_path']
125
- end
126
-
127
127
  if attributes.key?(:'pulp_href')
128
128
  self.pulp_href = attributes[:'pulp_href']
129
129
  end
130
130
 
131
- if attributes.key?(:'pulp_created')
132
- self.pulp_created = attributes[:'pulp_created']
133
- end
134
-
135
- if attributes.key?(:'content_guard')
136
- self.content_guard = attributes[:'content_guard']
131
+ if attributes.key?(:'repository')
132
+ self.repository = attributes[:'repository']
137
133
  end
138
134
 
139
135
  if attributes.key?(:'pulp_labels')
@@ -142,8 +138,12 @@ module PulpContainerClient
142
138
  end
143
139
  end
144
140
 
145
- if attributes.key?(:'repository')
146
- self.repository = attributes[:'repository']
141
+ if attributes.key?(:'content_guard')
142
+ self.content_guard = attributes[:'content_guard']
143
+ end
144
+
145
+ if attributes.key?(:'pulp_created')
146
+ self.pulp_created = attributes[:'pulp_created']
147
147
  end
148
148
 
149
149
  if attributes.key?(:'name')
@@ -199,13 +199,13 @@ module PulpContainerClient
199
199
  def ==(o)
200
200
  return true if self.equal?(o)
201
201
  self.class == o.class &&
202
- hidden == o.hidden &&
203
202
  base_path == o.base_path &&
203
+ hidden == o.hidden &&
204
204
  pulp_href == o.pulp_href &&
205
- pulp_created == o.pulp_created &&
206
- content_guard == o.content_guard &&
207
- pulp_labels == o.pulp_labels &&
208
205
  repository == o.repository &&
206
+ pulp_labels == o.pulp_labels &&
207
+ content_guard == o.content_guard &&
208
+ pulp_created == o.pulp_created &&
209
209
  name == o.name &&
210
210
  repository_version == o.repository_version &&
211
211
  registry_path == o.registry_path &&
@@ -223,7 +223,7 @@ module PulpContainerClient
223
223
  # Calculates hash code according to all attributes.
224
224
  # @return [Integer] Hash code
225
225
  def hash
226
- [hidden, base_path, pulp_href, pulp_created, content_guard, pulp_labels, repository, name, repository_version, registry_path, namespace, private, description].hash
226
+ [base_path, hidden, pulp_href, repository, pulp_labels, content_guard, pulp_created, name, repository_version, registry_path, namespace, private, description].hash
227
227
  end
228
228
 
229
229
  # Builds the object from hash
@@ -15,39 +15,39 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # Serializer for Container Push Repositories.
17
17
  class ContainerContainerPushRepository
18
- attr_accessor :pulp_labels
19
-
20
18
  # Retain X versions of the repository. Default is null which retains all versions.
21
19
  attr_accessor :retain_repo_versions
22
20
 
23
- # A reference to an associated signing service.
24
- attr_accessor :manifest_signing_service
25
-
26
21
  # An optional description.
27
22
  attr_accessor :description
28
23
 
24
+ attr_accessor :pulp_labels
25
+
29
26
  # A unique name for this repository.
30
27
  attr_accessor :name
31
28
 
29
+ # A reference to an associated signing service.
30
+ attr_accessor :manifest_signing_service
31
+
32
32
  # Attribute mapping from ruby-style variable name to JSON key.
33
33
  def self.attribute_map
34
34
  {
35
- :'pulp_labels' => :'pulp_labels',
36
35
  :'retain_repo_versions' => :'retain_repo_versions',
37
- :'manifest_signing_service' => :'manifest_signing_service',
38
36
  :'description' => :'description',
39
- :'name' => :'name'
37
+ :'pulp_labels' => :'pulp_labels',
38
+ :'name' => :'name',
39
+ :'manifest_signing_service' => :'manifest_signing_service'
40
40
  }
41
41
  end
42
42
 
43
43
  # Attribute type mapping.
44
44
  def self.openapi_types
45
45
  {
46
- :'pulp_labels' => :'Hash<String, String>',
47
46
  :'retain_repo_versions' => :'Integer',
48
- :'manifest_signing_service' => :'String',
49
47
  :'description' => :'String',
50
- :'name' => :'String'
48
+ :'pulp_labels' => :'Hash<String, String>',
49
+ :'name' => :'String',
50
+ :'manifest_signing_service' => :'String'
51
51
  }
52
52
  end
53
53
 
@@ -55,8 +55,8 @@ module PulpContainerClient
55
55
  def self.openapi_nullable
56
56
  Set.new([
57
57
  :'retain_repo_versions',
58
- :'manifest_signing_service',
59
58
  :'description',
59
+ :'manifest_signing_service'
60
60
  ])
61
61
  end
62
62
 
@@ -75,27 +75,27 @@ module PulpContainerClient
75
75
  h[k.to_sym] = v
76
76
  }
77
77
 
78
- if attributes.key?(:'pulp_labels')
79
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
80
- self.pulp_labels = value
81
- end
82
- end
83
-
84
78
  if attributes.key?(:'retain_repo_versions')
85
79
  self.retain_repo_versions = attributes[:'retain_repo_versions']
86
80
  end
87
81
 
88
- if attributes.key?(:'manifest_signing_service')
89
- self.manifest_signing_service = attributes[:'manifest_signing_service']
90
- end
91
-
92
82
  if attributes.key?(:'description')
93
83
  self.description = attributes[:'description']
94
84
  end
95
85
 
86
+ if attributes.key?(:'pulp_labels')
87
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
88
+ self.pulp_labels = value
89
+ end
90
+ end
91
+
96
92
  if attributes.key?(:'name')
97
93
  self.name = attributes[:'name']
98
94
  end
95
+
96
+ if attributes.key?(:'manifest_signing_service')
97
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
98
+ end
99
99
  end
100
100
 
101
101
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -170,11 +170,11 @@ module PulpContainerClient
170
170
  def ==(o)
171
171
  return true if self.equal?(o)
172
172
  self.class == o.class &&
173
- pulp_labels == o.pulp_labels &&
174
173
  retain_repo_versions == o.retain_repo_versions &&
175
- manifest_signing_service == o.manifest_signing_service &&
176
174
  description == o.description &&
177
- name == o.name
175
+ pulp_labels == o.pulp_labels &&
176
+ name == o.name &&
177
+ manifest_signing_service == o.manifest_signing_service
178
178
  end
179
179
 
180
180
  # @see the `==` method
@@ -186,7 +186,7 @@ module PulpContainerClient
186
186
  # Calculates hash code according to all attributes.
187
187
  # @return [Integer] Hash code
188
188
  def hash
189
- [pulp_labels, retain_repo_versions, manifest_signing_service, description, name].hash
189
+ [retain_repo_versions, description, pulp_labels, name, manifest_signing_service].hash
190
190
  end
191
191
 
192
192
  # Builds the object from hash