pulp_container_client 2.15.0.dev1675825732 → 2.15.0.dev1675998739

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


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

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6f37db2f6a15bda86b8d591deeea5c31de7e742a3dbdd060f4e1ff4b113ffed2
4
- data.tar.gz: 792db344e7fbee92c58a2873625963b43f5888abf6e472d6a53b47ac6f85e131
3
+ metadata.gz: 86d630cb28345fb8e9e16eb9e63eddcaf7b6b623dd006084b4eeac5bacdf7102
4
+ data.tar.gz: bc786d0054e2c483e514d0905c2e3da9a2c090c601c59f4f7b04b62d9dae6b17
5
5
  SHA512:
6
- metadata.gz: 880f888f986ab5015d184c69c48be8d481b79939bc12979b713b2f90e89fac297b7208a7dcc3d3fab7067bce9dbaafd0a55a90b4a3be2a40c309b26a2226eedb
7
- data.tar.gz: ae57a4b59da595129cbd8691d03023b3ddc92a700d7f544ed2ebbe072cc87d378100b5e45b8862f7fc13bb9c844f1ccea8f16a535a01565608291ff2016711c4
6
+ metadata.gz: 814eccc75e3d48f200a757c6a40909fd735aea203307156cbec8522199701690a38b39e355a20e8b8fc3d0cee9357ead897392e00d7a561562667a2db9176afa
7
+ data.tar.gz: d371e08bf213cf54de6b2b298e81b5a515761eb8ad0c1fc06c7249e4dfe996d70cadda03f566c5fe5aa9640417b26715e499f838c92537c1190a093a5dddb2f8
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.0.dev1675825732
10
+ - Package version: 2.15.0.dev1675998739
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.0.dev1675825732.gem
27
+ gem install ./pulp_container_client-2.15.0.dev1675998739.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_container_client-2.15.0.dev1675825732.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_container_client-2.15.0.dev1675998739.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.0.dev1675825732'
36
+ gem 'pulp_container_client', '~> 2.15.0.dev1675998739'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -4,11 +4,11 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
+ **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
8
+ **pulp_labels** | **Hash<String, String>** | | [optional]
7
9
  **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
8
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\") |
9
11
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
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
  **repository_version** | **String** | RepositoryVersion to be served | [optional]
13
13
  **private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
14
14
  **description** | **String** | An optional description. | [optional]
@@ -18,11 +18,11 @@ Name | Type | Description | Notes
18
18
  ```ruby
19
19
  require 'PulpContainerClient'
20
20
 
21
- instance = PulpContainerClient::ContainerContainerDistribution.new(repository: null,
21
+ instance = PulpContainerClient::ContainerContainerDistribution.new(content_guard: null,
22
+ pulp_labels: null,
23
+ repository: null,
22
24
  base_path: null,
23
25
  name: null,
24
- pulp_labels: null,
25
- content_guard: null,
26
26
  repository_version: null,
27
27
  private: null,
28
28
  description: null)
@@ -4,13 +4,13 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
+ **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
8
+ **pulp_labels** | **Hash<String, String>** | | [optional]
7
9
  **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
8
10
  **pulp_href** | **String** | | [optional] [readonly]
9
11
  **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
10
12
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
11
13
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
12
- **pulp_labels** | **Hash<String, String>** | | [optional]
13
- **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
14
14
  **repository_version** | **String** | RepositoryVersion to be served | [optional]
15
15
  **registry_path** | **String** | The Registry hostname/name/ to use with docker pull command defined by this distribution. | [optional] [readonly]
16
16
  **namespace** | **String** | Namespace this distribution belongs to. | [optional] [readonly]
@@ -22,13 +22,13 @@ Name | Type | Description | Notes
22
22
  ```ruby
23
23
  require 'PulpContainerClient'
24
24
 
25
- instance = PulpContainerClient::ContainerContainerDistributionResponse.new(repository: null,
25
+ instance = PulpContainerClient::ContainerContainerDistributionResponse.new(content_guard: null,
26
+ pulp_labels: null,
27
+ repository: null,
26
28
  pulp_href: null,
27
29
  base_path: null,
28
30
  pulp_created: null,
29
31
  name: null,
30
- pulp_labels: null,
31
- content_guard: null,
32
32
  repository_version: null,
33
33
  registry_path: null,
34
34
  namespace: null,
@@ -4,22 +4,22 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **description** | **String** | An optional description. | [optional]
8
7
  **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
9
- **name** | **String** | A unique name for this repository. |
10
8
  **pulp_labels** | **Hash<String, String>** | | [optional]
9
+ **description** | **String** | An optional description. | [optional]
11
10
  **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
11
+ **name** | **String** | A unique name for this repository. |
12
12
 
13
13
  ## Code Sample
14
14
 
15
15
  ```ruby
16
16
  require 'PulpContainerClient'
17
17
 
18
- instance = PulpContainerClient::ContainerContainerPushRepository.new(description: null,
19
- retain_repo_versions: null,
20
- name: null,
18
+ instance = PulpContainerClient::ContainerContainerPushRepository.new(retain_repo_versions: null,
21
19
  pulp_labels: null,
22
- manifest_signing_service: null)
20
+ description: null,
21
+ manifest_signing_service: null,
22
+ name: null)
23
23
  ```
24
24
 
25
25
 
@@ -4,30 +4,30 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **description** | **String** | An optional description. | [optional]
8
- **pulp_href** | **String** | | [optional] [readonly]
9
7
  **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
8
+ **pulp_labels** | **Hash<String, String>** | | [optional]
9
+ **versions_href** | **String** | | [optional] [readonly]
10
10
  **latest_version_href** | **String** | | [optional] [readonly]
11
+ **pulp_href** | **String** | | [optional] [readonly]
12
+ **description** | **String** | An optional description. | [optional]
13
+ **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
11
14
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
12
15
  **name** | **String** | A unique name for this repository. |
13
- **pulp_labels** | **Hash<String, String>** | | [optional]
14
- **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
15
- **versions_href** | **String** | | [optional] [readonly]
16
16
 
17
17
  ## Code Sample
18
18
 
19
19
  ```ruby
20
20
  require 'PulpContainerClient'
21
21
 
22
- instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(description: null,
23
- pulp_href: null,
24
- retain_repo_versions: null,
25
- latest_version_href: null,
26
- pulp_created: null,
27
- name: null,
22
+ instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(retain_repo_versions: null,
28
23
  pulp_labels: null,
24
+ versions_href: null,
25
+ latest_version_href: null,
26
+ pulp_href: null,
27
+ description: null,
29
28
  manifest_signing_service: null,
30
- versions_href: null)
29
+ pulp_created: null,
30
+ name: null)
31
31
  ```
32
32
 
33
33
 
@@ -4,11 +4,11 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
+ **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
8
+ **pulp_labels** | **Hash<String, String>** | | [optional]
7
9
  **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
8
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]
9
11
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [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
  **repository_version** | **String** | RepositoryVersion to be served | [optional]
13
13
  **private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
14
14
  **description** | **String** | An optional description. | [optional]
@@ -18,11 +18,11 @@ Name | Type | Description | Notes
18
18
  ```ruby
19
19
  require 'PulpContainerClient'
20
20
 
21
- instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(repository: null,
21
+ instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(content_guard: null,
22
+ pulp_labels: null,
23
+ repository: null,
22
24
  base_path: null,
23
25
  name: null,
24
- pulp_labels: null,
25
- content_guard: null,
26
26
  repository_version: null,
27
27
  private: null,
28
28
  description: null)
@@ -4,22 +4,22 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **description** | **String** | An optional description. | [optional]
8
7
  **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
9
- **name** | **String** | A unique name for this repository. | [optional]
10
8
  **pulp_labels** | **Hash<String, String>** | | [optional]
9
+ **description** | **String** | An optional description. | [optional]
11
10
  **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
11
+ **name** | **String** | A unique name for this repository. | [optional]
12
12
 
13
13
  ## Code Sample
14
14
 
15
15
  ```ruby
16
16
  require 'PulpContainerClient'
17
17
 
18
- instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(description: null,
19
- retain_repo_versions: null,
20
- name: null,
18
+ instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(retain_repo_versions: null,
21
19
  pulp_labels: null,
22
- manifest_signing_service: null)
20
+ description: null,
21
+ manifest_signing_service: null,
22
+ name: null)
23
23
  ```
24
24
 
25
25
 
@@ -15,6 +15,11 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class ContainerContainerDistribution
18
+ # An optional content-guard. If none is specified, a default one will be used.
19
+ attr_accessor :content_guard
20
+
21
+ attr_accessor :pulp_labels
22
+
18
23
  # The latest RepositoryVersion for this Repository will be served.
19
24
  attr_accessor :repository
20
25
 
@@ -24,11 +29,6 @@ module PulpContainerClient
24
29
  # A unique name. Ex, `rawhide` and `stable`.
25
30
  attr_accessor :name
26
31
 
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
  # RepositoryVersion to be served
33
33
  attr_accessor :repository_version
34
34
 
@@ -41,11 +41,11 @@ module PulpContainerClient
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
42
42
  def self.attribute_map
43
43
  {
44
+ :'content_guard' => :'content_guard',
45
+ :'pulp_labels' => :'pulp_labels',
44
46
  :'repository' => :'repository',
45
47
  :'base_path' => :'base_path',
46
48
  :'name' => :'name',
47
- :'pulp_labels' => :'pulp_labels',
48
- :'content_guard' => :'content_guard',
49
49
  :'repository_version' => :'repository_version',
50
50
  :'private' => :'private',
51
51
  :'description' => :'description'
@@ -55,11 +55,11 @@ module PulpContainerClient
55
55
  # Attribute type mapping.
56
56
  def self.openapi_types
57
57
  {
58
+ :'content_guard' => :'String',
59
+ :'pulp_labels' => :'Hash<String, String>',
58
60
  :'repository' => :'String',
59
61
  :'base_path' => :'String',
60
62
  :'name' => :'String',
61
- :'pulp_labels' => :'Hash<String, String>',
62
- :'content_guard' => :'String',
63
63
  :'repository_version' => :'String',
64
64
  :'private' => :'Boolean',
65
65
  :'description' => :'String'
@@ -90,6 +90,16 @@ module PulpContainerClient
90
90
  h[k.to_sym] = v
91
91
  }
92
92
 
93
+ if attributes.key?(:'content_guard')
94
+ self.content_guard = attributes[:'content_guard']
95
+ end
96
+
97
+ if attributes.key?(:'pulp_labels')
98
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
99
+ self.pulp_labels = value
100
+ end
101
+ end
102
+
93
103
  if attributes.key?(:'repository')
94
104
  self.repository = attributes[:'repository']
95
105
  end
@@ -102,16 +112,6 @@ module PulpContainerClient
102
112
  self.name = attributes[:'name']
103
113
  end
104
114
 
105
- if attributes.key?(:'pulp_labels')
106
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
107
- self.pulp_labels = value
108
- end
109
- end
110
-
111
- if attributes.key?(:'content_guard')
112
- self.content_guard = attributes[:'content_guard']
113
- end
114
-
115
115
  if attributes.key?(:'repository_version')
116
116
  self.repository_version = attributes[:'repository_version']
117
117
  end
@@ -206,11 +206,11 @@ module PulpContainerClient
206
206
  def ==(o)
207
207
  return true if self.equal?(o)
208
208
  self.class == o.class &&
209
+ content_guard == o.content_guard &&
210
+ pulp_labels == o.pulp_labels &&
209
211
  repository == o.repository &&
210
212
  base_path == o.base_path &&
211
213
  name == o.name &&
212
- pulp_labels == o.pulp_labels &&
213
- content_guard == o.content_guard &&
214
214
  repository_version == o.repository_version &&
215
215
  private == o.private &&
216
216
  description == o.description
@@ -225,7 +225,7 @@ module PulpContainerClient
225
225
  # Calculates hash code according to all attributes.
226
226
  # @return [Integer] Hash code
227
227
  def hash
228
- [repository, base_path, name, pulp_labels, content_guard, repository_version, private, description].hash
228
+ [content_guard, pulp_labels, repository, base_path, name, repository_version, private, description].hash
229
229
  end
230
230
 
231
231
  # Builds the object from hash
@@ -15,6 +15,11 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class ContainerContainerDistributionResponse
18
+ # An optional content-guard. If none is specified, a default one will be used.
19
+ attr_accessor :content_guard
20
+
21
+ attr_accessor :pulp_labels
22
+
18
23
  # The latest RepositoryVersion for this Repository will be served.
19
24
  attr_accessor :repository
20
25
 
@@ -29,11 +34,6 @@ module PulpContainerClient
29
34
  # A unique name. Ex, `rawhide` and `stable`.
30
35
  attr_accessor :name
31
36
 
32
- attr_accessor :pulp_labels
33
-
34
- # An optional content-guard. If none is specified, a default one will be used.
35
- attr_accessor :content_guard
36
-
37
37
  # RepositoryVersion to be served
38
38
  attr_accessor :repository_version
39
39
 
@@ -52,13 +52,13 @@ module PulpContainerClient
52
52
  # Attribute mapping from ruby-style variable name to JSON key.
53
53
  def self.attribute_map
54
54
  {
55
+ :'content_guard' => :'content_guard',
56
+ :'pulp_labels' => :'pulp_labels',
55
57
  :'repository' => :'repository',
56
58
  :'pulp_href' => :'pulp_href',
57
59
  :'base_path' => :'base_path',
58
60
  :'pulp_created' => :'pulp_created',
59
61
  :'name' => :'name',
60
- :'pulp_labels' => :'pulp_labels',
61
- :'content_guard' => :'content_guard',
62
62
  :'repository_version' => :'repository_version',
63
63
  :'registry_path' => :'registry_path',
64
64
  :'namespace' => :'namespace',
@@ -70,13 +70,13 @@ module PulpContainerClient
70
70
  # Attribute type mapping.
71
71
  def self.openapi_types
72
72
  {
73
+ :'content_guard' => :'String',
74
+ :'pulp_labels' => :'Hash<String, String>',
73
75
  :'repository' => :'String',
74
76
  :'pulp_href' => :'String',
75
77
  :'base_path' => :'String',
76
78
  :'pulp_created' => :'DateTime',
77
79
  :'name' => :'String',
78
- :'pulp_labels' => :'Hash<String, String>',
79
- :'content_guard' => :'String',
80
80
  :'repository_version' => :'String',
81
81
  :'registry_path' => :'String',
82
82
  :'namespace' => :'String',
@@ -109,6 +109,16 @@ module PulpContainerClient
109
109
  h[k.to_sym] = v
110
110
  }
111
111
 
112
+ if attributes.key?(:'content_guard')
113
+ self.content_guard = attributes[:'content_guard']
114
+ end
115
+
116
+ if attributes.key?(:'pulp_labels')
117
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
118
+ self.pulp_labels = value
119
+ end
120
+ end
121
+
112
122
  if attributes.key?(:'repository')
113
123
  self.repository = attributes[:'repository']
114
124
  end
@@ -129,16 +139,6 @@ module PulpContainerClient
129
139
  self.name = attributes[:'name']
130
140
  end
131
141
 
132
- if attributes.key?(:'pulp_labels')
133
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
134
- self.pulp_labels = value
135
- end
136
- end
137
-
138
- if attributes.key?(:'content_guard')
139
- self.content_guard = attributes[:'content_guard']
140
- end
141
-
142
142
  if attributes.key?(:'repository_version')
143
143
  self.repository_version = attributes[:'repository_version']
144
144
  end
@@ -188,13 +188,13 @@ module PulpContainerClient
188
188
  def ==(o)
189
189
  return true if self.equal?(o)
190
190
  self.class == o.class &&
191
+ content_guard == o.content_guard &&
192
+ pulp_labels == o.pulp_labels &&
191
193
  repository == o.repository &&
192
194
  pulp_href == o.pulp_href &&
193
195
  base_path == o.base_path &&
194
196
  pulp_created == o.pulp_created &&
195
197
  name == o.name &&
196
- pulp_labels == o.pulp_labels &&
197
- content_guard == o.content_guard &&
198
198
  repository_version == o.repository_version &&
199
199
  registry_path == o.registry_path &&
200
200
  namespace == o.namespace &&
@@ -211,7 +211,7 @@ module PulpContainerClient
211
211
  # Calculates hash code according to all attributes.
212
212
  # @return [Integer] Hash code
213
213
  def hash
214
- [repository, pulp_href, base_path, pulp_created, name, pulp_labels, content_guard, repository_version, registry_path, namespace, private, description].hash
214
+ [content_guard, pulp_labels, repository, pulp_href, base_path, pulp_created, name, repository_version, registry_path, namespace, private, description].hash
215
215
  end
216
216
 
217
217
  # Builds the object from hash
@@ -15,48 +15,48 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # Serializer for Container Push Repositories.
17
17
  class ContainerContainerPushRepository
18
- # An optional description.
19
- attr_accessor :description
20
-
21
18
  # Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
22
19
  attr_accessor :retain_repo_versions
23
20
 
24
- # A unique name for this repository.
25
- attr_accessor :name
26
-
27
21
  attr_accessor :pulp_labels
28
22
 
23
+ # An optional description.
24
+ attr_accessor :description
25
+
29
26
  # A reference to an associated signing service.
30
27
  attr_accessor :manifest_signing_service
31
28
 
29
+ # A unique name for this repository.
30
+ attr_accessor :name
31
+
32
32
  # Attribute mapping from ruby-style variable name to JSON key.
33
33
  def self.attribute_map
34
34
  {
35
- :'description' => :'description',
36
35
  :'retain_repo_versions' => :'retain_repo_versions',
37
- :'name' => :'name',
38
36
  :'pulp_labels' => :'pulp_labels',
39
- :'manifest_signing_service' => :'manifest_signing_service'
37
+ :'description' => :'description',
38
+ :'manifest_signing_service' => :'manifest_signing_service',
39
+ :'name' => :'name'
40
40
  }
41
41
  end
42
42
 
43
43
  # Attribute type mapping.
44
44
  def self.openapi_types
45
45
  {
46
- :'description' => :'String',
47
46
  :'retain_repo_versions' => :'Integer',
48
- :'name' => :'String',
49
47
  :'pulp_labels' => :'Hash<String, String>',
50
- :'manifest_signing_service' => :'String'
48
+ :'description' => :'String',
49
+ :'manifest_signing_service' => :'String',
50
+ :'name' => :'String'
51
51
  }
52
52
  end
53
53
 
54
54
  # List of attributes with nullable: true
55
55
  def self.openapi_nullable
56
56
  Set.new([
57
- :'description',
58
57
  :'retain_repo_versions',
59
- :'manifest_signing_service'
58
+ :'description',
59
+ :'manifest_signing_service',
60
60
  ])
61
61
  end
62
62
 
@@ -75,41 +75,41 @@ module PulpContainerClient
75
75
  h[k.to_sym] = v
76
76
  }
77
77
 
78
- if attributes.key?(:'description')
79
- self.description = attributes[:'description']
80
- end
81
-
82
78
  if attributes.key?(:'retain_repo_versions')
83
79
  self.retain_repo_versions = attributes[:'retain_repo_versions']
84
80
  end
85
81
 
86
- if attributes.key?(:'name')
87
- self.name = attributes[:'name']
88
- end
89
-
90
82
  if attributes.key?(:'pulp_labels')
91
83
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
92
84
  self.pulp_labels = value
93
85
  end
94
86
  end
95
87
 
88
+ if attributes.key?(:'description')
89
+ self.description = attributes[:'description']
90
+ end
91
+
96
92
  if attributes.key?(:'manifest_signing_service')
97
93
  self.manifest_signing_service = attributes[:'manifest_signing_service']
98
94
  end
95
+
96
+ if attributes.key?(:'name')
97
+ self.name = attributes[:'name']
98
+ end
99
99
  end
100
100
 
101
101
  # Show invalid properties with the reasons. Usually used together with valid?
102
102
  # @return Array for valid properties with the reasons
103
103
  def list_invalid_properties
104
104
  invalid_properties = Array.new
105
- if !@description.nil? && @description.to_s.length < 1
106
- invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
107
- end
108
-
109
105
  if !@retain_repo_versions.nil? && @retain_repo_versions < 1
110
106
  invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
111
107
  end
112
108
 
109
+ if !@description.nil? && @description.to_s.length < 1
110
+ invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
111
+ end
112
+
113
113
  if @name.nil?
114
114
  invalid_properties.push('invalid value for "name", name cannot be nil.')
115
115
  end
@@ -124,23 +124,13 @@ module PulpContainerClient
124
124
  # Check to see if the all the properties in the model are valid
125
125
  # @return true if the model is valid
126
126
  def valid?
127
- return false if !@description.nil? && @description.to_s.length < 1
128
127
  return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
128
+ return false if !@description.nil? && @description.to_s.length < 1
129
129
  return false if @name.nil?
130
130
  return false if @name.to_s.length < 1
131
131
  true
132
132
  end
133
133
 
134
- # Custom attribute writer method with validation
135
- # @param [Object] description Value to be assigned
136
- def description=(description)
137
- if !description.nil? && description.to_s.length < 1
138
- fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
139
- end
140
-
141
- @description = description
142
- end
143
-
144
134
  # Custom attribute writer method with validation
145
135
  # @param [Object] retain_repo_versions Value to be assigned
146
136
  def retain_repo_versions=(retain_repo_versions)
@@ -151,6 +141,16 @@ module PulpContainerClient
151
141
  @retain_repo_versions = retain_repo_versions
152
142
  end
153
143
 
144
+ # Custom attribute writer method with validation
145
+ # @param [Object] description Value to be assigned
146
+ def description=(description)
147
+ if !description.nil? && description.to_s.length < 1
148
+ fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
149
+ end
150
+
151
+ @description = description
152
+ end
153
+
154
154
  # Custom attribute writer method with validation
155
155
  # @param [Object] name Value to be assigned
156
156
  def name=(name)
@@ -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
- description == o.description &&
174
173
  retain_repo_versions == o.retain_repo_versions &&
175
- name == o.name &&
176
174
  pulp_labels == o.pulp_labels &&
177
- manifest_signing_service == o.manifest_signing_service
175
+ description == o.description &&
176
+ manifest_signing_service == o.manifest_signing_service &&
177
+ name == o.name
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
- [description, retain_repo_versions, name, pulp_labels, manifest_signing_service].hash
189
+ [retain_repo_versions, pulp_labels, description, manifest_signing_service, name].hash
190
190
  end
191
191
 
192
192
  # Builds the object from hash