pulp_container_client 2.16.3 → 2.17.0

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