pulp_container_client 2.22.6 → 2.22.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/ContainerContainerDistribution.md +7 -7
  4. data/docs/ContainerContainerDistributionResponse.md +13 -13
  5. data/docs/ContainerContainerPullThroughDistribution.md +7 -7
  6. data/docs/ContainerContainerPullThroughDistributionResponse.md +13 -13
  7. data/docs/ContainerContainerPushRepository.md +7 -7
  8. data/docs/ContainerContainerPushRepositoryResponse.md +14 -14
  9. data/docs/PatchedcontainerContainerDistribution.md +7 -7
  10. data/docs/PatchedcontainerContainerPullThroughDistribution.md +7 -7
  11. data/docs/PatchedcontainerContainerPushRepository.md +7 -7
  12. data/lib/pulp_container_client/models/container_container_distribution.rb +29 -29
  13. data/lib/pulp_container_client/models/container_container_distribution_response.rb +55 -55
  14. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +29 -29
  15. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +55 -55
  16. data/lib/pulp_container_client/models/container_container_push_repository.rb +47 -47
  17. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +50 -50
  18. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +29 -29
  19. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +29 -29
  20. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +47 -47
  21. data/lib/pulp_container_client/version.rb +1 -1
  22. data/spec/models/container_container_distribution_response_spec.rb +10 -10
  23. data/spec/models/container_container_distribution_spec.rb +5 -5
  24. data/spec/models/container_container_pull_through_distribution_response_spec.rb +10 -10
  25. data/spec/models/container_container_pull_through_distribution_spec.rb +5 -5
  26. data/spec/models/container_container_push_repository_response_spec.rb +7 -7
  27. data/spec/models/container_container_push_repository_spec.rb +4 -4
  28. data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
  29. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +5 -5
  30. data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
  31. metadata +59 -59
@@ -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
18
+ attr_accessor :pulp_labels
20
19
 
21
20
  # A unique name for this repository.
22
21
  attr_accessor :name
23
22
 
24
- # A reference to an associated signing service.
25
- attr_accessor :manifest_signing_service
26
-
27
- attr_accessor :pulp_labels
28
-
29
23
  # Retain X versions of the repository. Default is null which retains all versions.
30
24
  attr_accessor :retain_repo_versions
31
25
 
26
+ # An optional description.
27
+ attr_accessor :description
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
- :'description' => :'description',
36
- :'name' => :'name',
37
- :'manifest_signing_service' => :'manifest_signing_service',
38
35
  :'pulp_labels' => :'pulp_labels',
39
- :'retain_repo_versions' => :'retain_repo_versions'
36
+ :'name' => :'name',
37
+ :'retain_repo_versions' => :'retain_repo_versions',
38
+ :'description' => :'description',
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
- :'description' => :'String',
47
- :'name' => :'String',
48
- :'manifest_signing_service' => :'String',
49
46
  :'pulp_labels' => :'Hash<String, String>',
50
- :'retain_repo_versions' => :'Integer'
47
+ :'name' => :'String',
48
+ :'retain_repo_versions' => :'Integer',
49
+ :'description' => :'String',
50
+ :'manifest_signing_service' => :'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
+ :'retain_repo_versions',
57
58
  :'description',
58
- :'manifest_signing_service',
59
- :'retain_repo_versions'
59
+ :'manifest_signing_service'
60
60
  ])
61
61
  end
62
62
 
@@ -75,26 +75,26 @@ module PulpContainerClient
75
75
  h[k.to_sym] = v
76
76
  }
77
77
 
78
- if attributes.key?(:'description')
79
- self.description = attributes[:'description']
78
+ if attributes.key?(:'pulp_labels')
79
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
80
+ self.pulp_labels = value
81
+ end
80
82
  end
81
83
 
82
84
  if attributes.key?(:'name')
83
85
  self.name = attributes[:'name']
84
86
  end
85
87
 
86
- if attributes.key?(:'manifest_signing_service')
87
- self.manifest_signing_service = attributes[:'manifest_signing_service']
88
+ if attributes.key?(:'retain_repo_versions')
89
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
88
90
  end
89
91
 
90
- if attributes.key?(:'pulp_labels')
91
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
92
- self.pulp_labels = value
93
- end
92
+ if attributes.key?(:'description')
93
+ self.description = attributes[:'description']
94
94
  end
95
95
 
96
- if attributes.key?(:'retain_repo_versions')
97
- self.retain_repo_versions = attributes[:'retain_repo_versions']
96
+ if attributes.key?(:'manifest_signing_service')
97
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
98
98
  end
99
99
  end
100
100
 
@@ -102,10 +102,6 @@ module PulpContainerClient
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 @name.nil?
110
106
  invalid_properties.push('invalid value for "name", name cannot be nil.')
111
107
  end
@@ -118,29 +114,23 @@ module PulpContainerClient
118
114
  invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
119
115
  end
120
116
 
117
+ if !@description.nil? && @description.to_s.length < 1
118
+ invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
119
+ end
120
+
121
121
  invalid_properties
122
122
  end
123
123
 
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 @name.nil?
129
128
  return false if @name.to_s.length < 1
130
129
  return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
130
+ return false if !@description.nil? && @description.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] name Value to be assigned
146
136
  def name=(name)
@@ -165,16 +155,26 @@ module PulpContainerClient
165
155
  @retain_repo_versions = retain_repo_versions
166
156
  end
167
157
 
158
+ # Custom attribute writer method with validation
159
+ # @param [Object] description Value to be assigned
160
+ def description=(description)
161
+ if !description.nil? && description.to_s.length < 1
162
+ fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
163
+ end
164
+
165
+ @description = description
166
+ end
167
+
168
168
  # Checks equality by comparing each attribute.
169
169
  # @param [Object] Object to be compared
170
170
  def ==(o)
171
171
  return true if self.equal?(o)
172
172
  self.class == o.class &&
173
- description == o.description &&
174
- name == o.name &&
175
- manifest_signing_service == o.manifest_signing_service &&
176
173
  pulp_labels == o.pulp_labels &&
177
- retain_repo_versions == o.retain_repo_versions
174
+ name == o.name &&
175
+ retain_repo_versions == o.retain_repo_versions &&
176
+ description == o.description &&
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
- [description, name, manifest_signing_service, pulp_labels, retain_repo_versions].hash
189
+ [pulp_labels, name, retain_repo_versions, description, manifest_signing_service].hash
190
190
  end
191
191
 
192
192
  # Builds the object from hash
@@ -15,75 +15,75 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # Serializer for Container Push Repositories.
17
17
  class ContainerContainerPushRepositoryResponse
18
- # An optional description.
19
- attr_accessor :description
18
+ attr_accessor :pulp_labels
20
19
 
21
20
  # A unique name for this repository.
22
21
  attr_accessor :name
23
22
 
24
- # A reference to an associated signing service.
25
- attr_accessor :manifest_signing_service
23
+ attr_accessor :pulp_href
26
24
 
27
25
  # Timestamp of creation.
28
26
  attr_accessor :pulp_created
29
27
 
30
- attr_accessor :pulp_labels
28
+ # Retain X versions of the repository. Default is null which retains all versions.
29
+ attr_accessor :retain_repo_versions
31
30
 
32
31
  attr_accessor :latest_version_href
33
32
 
34
- # Retain X versions of the repository. Default is null which retains all versions.
35
- attr_accessor :retain_repo_versions
33
+ # An optional description.
34
+ attr_accessor :description
36
35
 
37
- # The Pulp Resource Name (PRN).
38
- attr_accessor :prn
36
+ attr_accessor :versions_href
39
37
 
40
38
  # Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
41
39
  attr_accessor :pulp_last_updated
42
40
 
43
- attr_accessor :pulp_href
41
+ # A reference to an associated signing service.
42
+ attr_accessor :manifest_signing_service
44
43
 
45
- attr_accessor :versions_href
44
+ # The Pulp Resource Name (PRN).
45
+ attr_accessor :prn
46
46
 
47
47
  # Attribute mapping from ruby-style variable name to JSON key.
48
48
  def self.attribute_map
49
49
  {
50
- :'description' => :'description',
50
+ :'pulp_labels' => :'pulp_labels',
51
51
  :'name' => :'name',
52
- :'manifest_signing_service' => :'manifest_signing_service',
52
+ :'pulp_href' => :'pulp_href',
53
53
  :'pulp_created' => :'pulp_created',
54
- :'pulp_labels' => :'pulp_labels',
55
- :'latest_version_href' => :'latest_version_href',
56
54
  :'retain_repo_versions' => :'retain_repo_versions',
57
- :'prn' => :'prn',
55
+ :'latest_version_href' => :'latest_version_href',
56
+ :'description' => :'description',
57
+ :'versions_href' => :'versions_href',
58
58
  :'pulp_last_updated' => :'pulp_last_updated',
59
- :'pulp_href' => :'pulp_href',
60
- :'versions_href' => :'versions_href'
59
+ :'manifest_signing_service' => :'manifest_signing_service',
60
+ :'prn' => :'prn'
61
61
  }
62
62
  end
63
63
 
64
64
  # Attribute type mapping.
65
65
  def self.openapi_types
66
66
  {
67
- :'description' => :'String',
67
+ :'pulp_labels' => :'Hash<String, String>',
68
68
  :'name' => :'String',
69
- :'manifest_signing_service' => :'String',
69
+ :'pulp_href' => :'String',
70
70
  :'pulp_created' => :'DateTime',
71
- :'pulp_labels' => :'Hash<String, String>',
72
- :'latest_version_href' => :'String',
73
71
  :'retain_repo_versions' => :'Integer',
74
- :'prn' => :'String',
72
+ :'latest_version_href' => :'String',
73
+ :'description' => :'String',
74
+ :'versions_href' => :'String',
75
75
  :'pulp_last_updated' => :'DateTime',
76
- :'pulp_href' => :'String',
77
- :'versions_href' => :'String'
76
+ :'manifest_signing_service' => :'String',
77
+ :'prn' => :'String'
78
78
  }
79
79
  end
80
80
 
81
81
  # List of attributes with nullable: true
82
82
  def self.openapi_nullable
83
83
  Set.new([
84
+ :'retain_repo_versions',
84
85
  :'description',
85
86
  :'manifest_signing_service',
86
- :'retain_repo_versions',
87
87
  ])
88
88
  end
89
89
 
@@ -102,50 +102,50 @@ module PulpContainerClient
102
102
  h[k.to_sym] = v
103
103
  }
104
104
 
105
- if attributes.key?(:'description')
106
- self.description = attributes[:'description']
105
+ if attributes.key?(:'pulp_labels')
106
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
107
+ self.pulp_labels = value
108
+ end
107
109
  end
108
110
 
109
111
  if attributes.key?(:'name')
110
112
  self.name = attributes[:'name']
111
113
  end
112
114
 
113
- if attributes.key?(:'manifest_signing_service')
114
- self.manifest_signing_service = attributes[:'manifest_signing_service']
115
+ if attributes.key?(:'pulp_href')
116
+ self.pulp_href = attributes[:'pulp_href']
115
117
  end
116
118
 
117
119
  if attributes.key?(:'pulp_created')
118
120
  self.pulp_created = attributes[:'pulp_created']
119
121
  end
120
122
 
121
- if attributes.key?(:'pulp_labels')
122
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
123
- self.pulp_labels = value
124
- end
123
+ if attributes.key?(:'retain_repo_versions')
124
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
125
125
  end
126
126
 
127
127
  if attributes.key?(:'latest_version_href')
128
128
  self.latest_version_href = attributes[:'latest_version_href']
129
129
  end
130
130
 
131
- if attributes.key?(:'retain_repo_versions')
132
- self.retain_repo_versions = attributes[:'retain_repo_versions']
131
+ if attributes.key?(:'description')
132
+ self.description = attributes[:'description']
133
133
  end
134
134
 
135
- if attributes.key?(:'prn')
136
- self.prn = attributes[:'prn']
135
+ if attributes.key?(:'versions_href')
136
+ self.versions_href = attributes[:'versions_href']
137
137
  end
138
138
 
139
139
  if attributes.key?(:'pulp_last_updated')
140
140
  self.pulp_last_updated = attributes[:'pulp_last_updated']
141
141
  end
142
142
 
143
- if attributes.key?(:'pulp_href')
144
- self.pulp_href = attributes[:'pulp_href']
143
+ if attributes.key?(:'manifest_signing_service')
144
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
145
145
  end
146
146
 
147
- if attributes.key?(:'versions_href')
148
- self.versions_href = attributes[:'versions_href']
147
+ if attributes.key?(:'prn')
148
+ self.prn = attributes[:'prn']
149
149
  end
150
150
  end
151
151
 
@@ -187,17 +187,17 @@ module PulpContainerClient
187
187
  def ==(o)
188
188
  return true if self.equal?(o)
189
189
  self.class == o.class &&
190
- description == o.description &&
190
+ pulp_labels == o.pulp_labels &&
191
191
  name == o.name &&
192
- manifest_signing_service == o.manifest_signing_service &&
192
+ pulp_href == o.pulp_href &&
193
193
  pulp_created == o.pulp_created &&
194
- pulp_labels == o.pulp_labels &&
195
- latest_version_href == o.latest_version_href &&
196
194
  retain_repo_versions == o.retain_repo_versions &&
197
- prn == o.prn &&
195
+ latest_version_href == o.latest_version_href &&
196
+ description == o.description &&
197
+ versions_href == o.versions_href &&
198
198
  pulp_last_updated == o.pulp_last_updated &&
199
- pulp_href == o.pulp_href &&
200
- versions_href == o.versions_href
199
+ manifest_signing_service == o.manifest_signing_service &&
200
+ prn == o.prn
201
201
  end
202
202
 
203
203
  # @see the `==` method
@@ -209,7 +209,7 @@ module PulpContainerClient
209
209
  # Calculates hash code according to all attributes.
210
210
  # @return [Integer] Hash code
211
211
  def hash
212
- [description, name, manifest_signing_service, pulp_created, pulp_labels, latest_version_href, retain_repo_versions, prn, pulp_last_updated, pulp_href, versions_href].hash
212
+ [pulp_labels, name, pulp_href, pulp_created, retain_repo_versions, latest_version_href, description, versions_href, pulp_last_updated, manifest_signing_service, prn].hash
213
213
  end
214
214
 
215
215
  # Builds the object from hash
@@ -15,23 +15,23 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class PatchedcontainerContainerDistribution
18
- # An optional content-guard. If none is specified, a default one will be used.
19
- attr_accessor :content_guard
20
-
21
18
  # Whether this distribution should be shown in the content app.
22
19
  attr_accessor :hidden
23
20
 
21
+ attr_accessor :pulp_labels
22
+
24
23
  # A unique name. Ex, `rawhide` and `stable`.
25
24
  attr_accessor :name
26
25
 
27
- # The latest RepositoryVersion for this Repository will be served.
28
- attr_accessor :repository
29
-
30
- attr_accessor :pulp_labels
26
+ # An optional content-guard. If none is specified, a default one will be used.
27
+ attr_accessor :content_guard
31
28
 
32
29
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
33
30
  attr_accessor :base_path
34
31
 
32
+ # The latest RepositoryVersion for this Repository will be served.
33
+ attr_accessor :repository
34
+
35
35
  # RepositoryVersion to be served
36
36
  attr_accessor :repository_version
37
37
 
@@ -44,12 +44,12 @@ module PulpContainerClient
44
44
  # Attribute mapping from ruby-style variable name to JSON key.
45
45
  def self.attribute_map
46
46
  {
47
- :'content_guard' => :'content_guard',
48
47
  :'hidden' => :'hidden',
49
- :'name' => :'name',
50
- :'repository' => :'repository',
51
48
  :'pulp_labels' => :'pulp_labels',
49
+ :'name' => :'name',
50
+ :'content_guard' => :'content_guard',
52
51
  :'base_path' => :'base_path',
52
+ :'repository' => :'repository',
53
53
  :'repository_version' => :'repository_version',
54
54
  :'private' => :'private',
55
55
  :'description' => :'description'
@@ -59,12 +59,12 @@ module PulpContainerClient
59
59
  # Attribute type mapping.
60
60
  def self.openapi_types
61
61
  {
62
- :'content_guard' => :'String',
63
62
  :'hidden' => :'Boolean',
64
- :'name' => :'String',
65
- :'repository' => :'String',
66
63
  :'pulp_labels' => :'Hash<String, String>',
64
+ :'name' => :'String',
65
+ :'content_guard' => :'String',
67
66
  :'base_path' => :'String',
67
+ :'repository' => :'String',
68
68
  :'repository_version' => :'String',
69
69
  :'private' => :'Boolean',
70
70
  :'description' => :'String'
@@ -95,34 +95,34 @@ 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']
100
- end
101
-
102
98
  if attributes.key?(:'hidden')
103
99
  self.hidden = attributes[:'hidden']
104
100
  else
105
101
  self.hidden = false
106
102
  end
107
103
 
108
- if attributes.key?(:'name')
109
- self.name = attributes[:'name']
110
- end
111
-
112
- if attributes.key?(:'repository')
113
- self.repository = attributes[:'repository']
114
- end
115
-
116
104
  if attributes.key?(:'pulp_labels')
117
105
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
118
106
  self.pulp_labels = value
119
107
  end
120
108
  end
121
109
 
110
+ if attributes.key?(:'name')
111
+ self.name = attributes[:'name']
112
+ end
113
+
114
+ if attributes.key?(:'content_guard')
115
+ self.content_guard = attributes[:'content_guard']
116
+ end
117
+
122
118
  if attributes.key?(:'base_path')
123
119
  self.base_path = attributes[:'base_path']
124
120
  end
125
121
 
122
+ if attributes.key?(:'repository')
123
+ self.repository = attributes[:'repository']
124
+ end
125
+
126
126
  if attributes.key?(:'repository_version')
127
127
  self.repository_version = attributes[:'repository_version']
128
128
  end
@@ -199,12 +199,12 @@ 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
202
  hidden == o.hidden &&
204
- name == o.name &&
205
- repository == o.repository &&
206
203
  pulp_labels == o.pulp_labels &&
204
+ name == o.name &&
205
+ content_guard == o.content_guard &&
207
206
  base_path == o.base_path &&
207
+ repository == o.repository &&
208
208
  repository_version == o.repository_version &&
209
209
  private == o.private &&
210
210
  description == o.description
@@ -219,7 +219,7 @@ module PulpContainerClient
219
219
  # Calculates hash code according to all attributes.
220
220
  # @return [Integer] Hash code
221
221
  def hash
222
- [content_guard, hidden, name, repository, pulp_labels, base_path, repository_version, private, description].hash
222
+ [hidden, pulp_labels, name, content_guard, base_path, repository, repository_version, private, description].hash
223
223
  end
224
224
 
225
225
  # Builds the object from hash
@@ -15,23 +15,23 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for a specialized pull-through distribution referencing sub-distributions.
17
17
  class PatchedcontainerContainerPullThroughDistribution
18
- # An optional content-guard. If none is specified, a default one will be used.
19
- attr_accessor :content_guard
20
-
21
18
  # Whether this distribution should be shown in the content app.
22
19
  attr_accessor :hidden
23
20
 
21
+ attr_accessor :pulp_labels
22
+
24
23
  # A unique name. Ex, `rawhide` and `stable`.
25
24
  attr_accessor :name
26
25
 
27
- # The latest RepositoryVersion for this Repository will be served.
28
- attr_accessor :repository
29
-
30
- attr_accessor :pulp_labels
26
+ # An optional content-guard. If none is specified, a default one will be used.
27
+ attr_accessor :content_guard
31
28
 
32
29
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
33
30
  attr_accessor :base_path
34
31
 
32
+ # The latest RepositoryVersion for this Repository will be served.
33
+ attr_accessor :repository
34
+
35
35
  # Remote that can be used to fetch content when using pull-through caching.
36
36
  attr_accessor :remote
37
37
 
@@ -47,12 +47,12 @@ module PulpContainerClient
47
47
  # Attribute mapping from ruby-style variable name to JSON key.
48
48
  def self.attribute_map
49
49
  {
50
- :'content_guard' => :'content_guard',
51
50
  :'hidden' => :'hidden',
52
- :'name' => :'name',
53
- :'repository' => :'repository',
54
51
  :'pulp_labels' => :'pulp_labels',
52
+ :'name' => :'name',
53
+ :'content_guard' => :'content_guard',
55
54
  :'base_path' => :'base_path',
55
+ :'repository' => :'repository',
56
56
  :'remote' => :'remote',
57
57
  :'distributions' => :'distributions',
58
58
  :'private' => :'private',
@@ -63,12 +63,12 @@ module PulpContainerClient
63
63
  # Attribute type mapping.
64
64
  def self.openapi_types
65
65
  {
66
- :'content_guard' => :'String',
67
66
  :'hidden' => :'Boolean',
68
- :'name' => :'String',
69
- :'repository' => :'String',
70
67
  :'pulp_labels' => :'Hash<String, String>',
68
+ :'name' => :'String',
69
+ :'content_guard' => :'String',
71
70
  :'base_path' => :'String',
71
+ :'repository' => :'String',
72
72
  :'remote' => :'String',
73
73
  :'distributions' => :'Array<String>',
74
74
  :'private' => :'Boolean',
@@ -99,34 +99,34 @@ module PulpContainerClient
99
99
  h[k.to_sym] = v
100
100
  }
101
101
 
102
- if attributes.key?(:'content_guard')
103
- self.content_guard = attributes[:'content_guard']
104
- end
105
-
106
102
  if attributes.key?(:'hidden')
107
103
  self.hidden = attributes[:'hidden']
108
104
  else
109
105
  self.hidden = false
110
106
  end
111
107
 
112
- if attributes.key?(:'name')
113
- self.name = attributes[:'name']
114
- end
115
-
116
- if attributes.key?(:'repository')
117
- self.repository = attributes[:'repository']
118
- end
119
-
120
108
  if attributes.key?(:'pulp_labels')
121
109
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
122
110
  self.pulp_labels = value
123
111
  end
124
112
  end
125
113
 
114
+ if attributes.key?(:'name')
115
+ self.name = attributes[:'name']
116
+ end
117
+
118
+ if attributes.key?(:'content_guard')
119
+ self.content_guard = attributes[:'content_guard']
120
+ end
121
+
126
122
  if attributes.key?(:'base_path')
127
123
  self.base_path = attributes[:'base_path']
128
124
  end
129
125
 
126
+ if attributes.key?(:'repository')
127
+ self.repository = attributes[:'repository']
128
+ end
129
+
130
130
  if attributes.key?(:'remote')
131
131
  self.remote = attributes[:'remote']
132
132
  end
@@ -209,12 +209,12 @@ module PulpContainerClient
209
209
  def ==(o)
210
210
  return true if self.equal?(o)
211
211
  self.class == o.class &&
212
- content_guard == o.content_guard &&
213
212
  hidden == o.hidden &&
214
- name == o.name &&
215
- repository == o.repository &&
216
213
  pulp_labels == o.pulp_labels &&
214
+ name == o.name &&
215
+ content_guard == o.content_guard &&
217
216
  base_path == o.base_path &&
217
+ repository == o.repository &&
218
218
  remote == o.remote &&
219
219
  distributions == o.distributions &&
220
220
  private == o.private &&
@@ -230,7 +230,7 @@ module PulpContainerClient
230
230
  # Calculates hash code according to all attributes.
231
231
  # @return [Integer] Hash code
232
232
  def hash
233
- [content_guard, hidden, name, repository, pulp_labels, base_path, remote, distributions, private, description].hash
233
+ [hidden, pulp_labels, name, content_guard, base_path, repository, remote, distributions, private, description].hash
234
234
  end
235
235
 
236
236
  # Builds the object from hash