pulp_container_client 2.19.5 → 2.19.7

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