pulp_container_client 2.10.4 → 2.10.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 (25) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/ContainerContainerDistribution.md +5 -5
  4. data/docs/ContainerContainerDistributionResponse.md +7 -7
  5. data/docs/ContainerContainerPushRepository.md +4 -4
  6. data/docs/ContainerContainerPushRepositoryResponse.md +9 -9
  7. data/docs/PatchedcontainerContainerDistribution.md +5 -5
  8. data/docs/PatchedcontainerContainerPushRepository.md +4 -4
  9. data/lib/pulp_container_client/api_client.rb +1 -1
  10. data/lib/pulp_container_client/models/container_container_distribution.rb +44 -44
  11. data/lib/pulp_container_client/models/container_container_distribution_response.rb +35 -35
  12. data/lib/pulp_container_client/models/container_container_push_repository.rb +30 -30
  13. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +37 -37
  14. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +35 -35
  15. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +30 -30
  16. data/lib/pulp_container_client/version.rb +1 -1
  17. data/pulp_container_client.gemspec +3 -3
  18. data/spec/models/container_container_distribution_response_spec.rb +6 -6
  19. data/spec/models/container_container_distribution_spec.rb +4 -4
  20. data/spec/models/container_container_push_repository_response_spec.rb +7 -7
  21. data/spec/models/container_container_push_repository_spec.rb +2 -2
  22. data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
  23. data/spec/models/patchedcontainer_container_push_repository_spec.rb +2 -2
  24. metadata +53 -54
  25. data/git_push.sh +0 -58
@@ -15,13 +15,13 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # Serializer for Container Push Repositories.
17
17
  class ContainerContainerPushRepository
18
- attr_accessor :pulp_labels
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.
19
+ attr_accessor :retain_repo_versions
19
20
 
20
21
  # An optional description.
21
22
  attr_accessor :description
22
23
 
23
- # 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.
24
- attr_accessor :retain_repo_versions
24
+ attr_accessor :pulp_labels
25
25
 
26
26
  # A unique name for this repository.
27
27
  attr_accessor :name
@@ -29,9 +29,9 @@ module PulpContainerClient
29
29
  # Attribute mapping from ruby-style variable name to JSON key.
30
30
  def self.attribute_map
31
31
  {
32
- :'pulp_labels' => :'pulp_labels',
33
- :'description' => :'description',
34
32
  :'retain_repo_versions' => :'retain_repo_versions',
33
+ :'description' => :'description',
34
+ :'pulp_labels' => :'pulp_labels',
35
35
  :'name' => :'name'
36
36
  }
37
37
  end
@@ -39,9 +39,9 @@ module PulpContainerClient
39
39
  # Attribute type mapping.
40
40
  def self.openapi_types
41
41
  {
42
- :'pulp_labels' => :'Object',
43
- :'description' => :'String',
44
42
  :'retain_repo_versions' => :'Integer',
43
+ :'description' => :'String',
44
+ :'pulp_labels' => :'Object',
45
45
  :'name' => :'String'
46
46
  }
47
47
  end
@@ -49,8 +49,8 @@ module PulpContainerClient
49
49
  # List of attributes with nullable: true
50
50
  def self.openapi_nullable
51
51
  Set.new([
52
- :'description',
53
52
  :'retain_repo_versions',
53
+ :'description',
54
54
  ])
55
55
  end
56
56
 
@@ -69,16 +69,16 @@ module PulpContainerClient
69
69
  h[k.to_sym] = v
70
70
  }
71
71
 
72
- if attributes.key?(:'pulp_labels')
73
- self.pulp_labels = attributes[:'pulp_labels']
72
+ if attributes.key?(:'retain_repo_versions')
73
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
74
74
  end
75
75
 
76
76
  if attributes.key?(:'description')
77
77
  self.description = attributes[:'description']
78
78
  end
79
79
 
80
- if attributes.key?(:'retain_repo_versions')
81
- self.retain_repo_versions = attributes[:'retain_repo_versions']
80
+ if attributes.key?(:'pulp_labels')
81
+ self.pulp_labels = attributes[:'pulp_labels']
82
82
  end
83
83
 
84
84
  if attributes.key?(:'name')
@@ -90,14 +90,14 @@ module PulpContainerClient
90
90
  # @return Array for valid properties with the reasons
91
91
  def list_invalid_properties
92
92
  invalid_properties = Array.new
93
- if !@description.nil? && @description.to_s.length < 1
94
- invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
95
- end
96
-
97
93
  if !@retain_repo_versions.nil? && @retain_repo_versions < 1
98
94
  invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
99
95
  end
100
96
 
97
+ if !@description.nil? && @description.to_s.length < 1
98
+ invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
99
+ end
100
+
101
101
  if @name.nil?
102
102
  invalid_properties.push('invalid value for "name", name cannot be nil.')
103
103
  end
@@ -112,23 +112,13 @@ module PulpContainerClient
112
112
  # Check to see if the all the properties in the model are valid
113
113
  # @return true if the model is valid
114
114
  def valid?
115
- return false if !@description.nil? && @description.to_s.length < 1
116
115
  return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
116
+ return false if !@description.nil? && @description.to_s.length < 1
117
117
  return false if @name.nil?
118
118
  return false if @name.to_s.length < 1
119
119
  true
120
120
  end
121
121
 
122
- # Custom attribute writer method with validation
123
- # @param [Object] description Value to be assigned
124
- def description=(description)
125
- if !description.nil? && description.to_s.length < 1
126
- fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
127
- end
128
-
129
- @description = description
130
- end
131
-
132
122
  # Custom attribute writer method with validation
133
123
  # @param [Object] retain_repo_versions Value to be assigned
134
124
  def retain_repo_versions=(retain_repo_versions)
@@ -139,6 +129,16 @@ module PulpContainerClient
139
129
  @retain_repo_versions = retain_repo_versions
140
130
  end
141
131
 
132
+ # Custom attribute writer method with validation
133
+ # @param [Object] description Value to be assigned
134
+ def description=(description)
135
+ if !description.nil? && description.to_s.length < 1
136
+ fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
137
+ end
138
+
139
+ @description = description
140
+ end
141
+
142
142
  # Custom attribute writer method with validation
143
143
  # @param [Object] name Value to be assigned
144
144
  def name=(name)
@@ -158,9 +158,9 @@ module PulpContainerClient
158
158
  def ==(o)
159
159
  return true if self.equal?(o)
160
160
  self.class == o.class &&
161
- pulp_labels == o.pulp_labels &&
162
- description == o.description &&
163
161
  retain_repo_versions == o.retain_repo_versions &&
162
+ description == o.description &&
163
+ pulp_labels == o.pulp_labels &&
164
164
  name == o.name
165
165
  end
166
166
 
@@ -173,7 +173,7 @@ module PulpContainerClient
173
173
  # Calculates hash code according to all attributes.
174
174
  # @return [Integer] Hash code
175
175
  def hash
176
- [pulp_labels, description, retain_repo_versions, name].hash
176
+ [retain_repo_versions, description, pulp_labels, name].hash
177
177
  end
178
178
 
179
179
  # Builds the object from hash
@@ -15,14 +15,6 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # Serializer for Container Push Repositories.
17
17
  class ContainerContainerPushRepositoryResponse
18
- attr_accessor :pulp_labels
19
-
20
- # Timestamp of creation.
21
- attr_accessor :pulp_created
22
-
23
- # An optional description.
24
- attr_accessor :description
25
-
26
18
  attr_accessor :pulp_href
27
19
 
28
20
  # 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.
@@ -30,44 +22,52 @@ module PulpContainerClient
30
22
 
31
23
  attr_accessor :versions_href
32
24
 
25
+ attr_accessor :latest_version_href
26
+
27
+ # An optional description.
28
+ attr_accessor :description
29
+
30
+ attr_accessor :pulp_labels
31
+
33
32
  # A unique name for this repository.
34
33
  attr_accessor :name
35
34
 
36
- attr_accessor :latest_version_href
35
+ # Timestamp of creation.
36
+ attr_accessor :pulp_created
37
37
 
38
38
  # Attribute mapping from ruby-style variable name to JSON key.
39
39
  def self.attribute_map
40
40
  {
41
- :'pulp_labels' => :'pulp_labels',
42
- :'pulp_created' => :'pulp_created',
43
- :'description' => :'description',
44
41
  :'pulp_href' => :'pulp_href',
45
42
  :'retain_repo_versions' => :'retain_repo_versions',
46
43
  :'versions_href' => :'versions_href',
44
+ :'latest_version_href' => :'latest_version_href',
45
+ :'description' => :'description',
46
+ :'pulp_labels' => :'pulp_labels',
47
47
  :'name' => :'name',
48
- :'latest_version_href' => :'latest_version_href'
48
+ :'pulp_created' => :'pulp_created'
49
49
  }
50
50
  end
51
51
 
52
52
  # Attribute type mapping.
53
53
  def self.openapi_types
54
54
  {
55
- :'pulp_labels' => :'Object',
56
- :'pulp_created' => :'DateTime',
57
- :'description' => :'String',
58
55
  :'pulp_href' => :'String',
59
56
  :'retain_repo_versions' => :'Integer',
60
57
  :'versions_href' => :'String',
58
+ :'latest_version_href' => :'String',
59
+ :'description' => :'String',
60
+ :'pulp_labels' => :'Object',
61
61
  :'name' => :'String',
62
- :'latest_version_href' => :'String'
62
+ :'pulp_created' => :'DateTime'
63
63
  }
64
64
  end
65
65
 
66
66
  # List of attributes with nullable: true
67
67
  def self.openapi_nullable
68
68
  Set.new([
69
- :'description',
70
69
  :'retain_repo_versions',
70
+ :'description',
71
71
  ])
72
72
  end
73
73
 
@@ -86,18 +86,6 @@ module PulpContainerClient
86
86
  h[k.to_sym] = v
87
87
  }
88
88
 
89
- if attributes.key?(:'pulp_labels')
90
- self.pulp_labels = attributes[:'pulp_labels']
91
- end
92
-
93
- if attributes.key?(:'pulp_created')
94
- self.pulp_created = attributes[:'pulp_created']
95
- end
96
-
97
- if attributes.key?(:'description')
98
- self.description = attributes[:'description']
99
- end
100
-
101
89
  if attributes.key?(:'pulp_href')
102
90
  self.pulp_href = attributes[:'pulp_href']
103
91
  end
@@ -110,12 +98,24 @@ module PulpContainerClient
110
98
  self.versions_href = attributes[:'versions_href']
111
99
  end
112
100
 
101
+ if attributes.key?(:'latest_version_href')
102
+ self.latest_version_href = attributes[:'latest_version_href']
103
+ end
104
+
105
+ if attributes.key?(:'description')
106
+ self.description = attributes[:'description']
107
+ end
108
+
109
+ if attributes.key?(:'pulp_labels')
110
+ self.pulp_labels = attributes[:'pulp_labels']
111
+ end
112
+
113
113
  if attributes.key?(:'name')
114
114
  self.name = attributes[:'name']
115
115
  end
116
116
 
117
- if attributes.key?(:'latest_version_href')
118
- self.latest_version_href = attributes[:'latest_version_href']
117
+ if attributes.key?(:'pulp_created')
118
+ self.pulp_created = attributes[:'pulp_created']
119
119
  end
120
120
  end
121
121
 
@@ -157,14 +157,14 @@ module PulpContainerClient
157
157
  def ==(o)
158
158
  return true if self.equal?(o)
159
159
  self.class == o.class &&
160
- pulp_labels == o.pulp_labels &&
161
- pulp_created == o.pulp_created &&
162
- description == o.description &&
163
160
  pulp_href == o.pulp_href &&
164
161
  retain_repo_versions == o.retain_repo_versions &&
165
162
  versions_href == o.versions_href &&
163
+ latest_version_href == o.latest_version_href &&
164
+ description == o.description &&
165
+ pulp_labels == o.pulp_labels &&
166
166
  name == o.name &&
167
- latest_version_href == o.latest_version_href
167
+ pulp_created == o.pulp_created
168
168
  end
169
169
 
170
170
  # @see the `==` method
@@ -176,7 +176,7 @@ module PulpContainerClient
176
176
  # Calculates hash code according to all attributes.
177
177
  # @return [Integer] Hash code
178
178
  def hash
179
- [pulp_labels, pulp_created, description, pulp_href, retain_repo_versions, versions_href, name, latest_version_href].hash
179
+ [pulp_href, retain_repo_versions, versions_href, latest_version_href, description, pulp_labels, name, pulp_created].hash
180
180
  end
181
181
 
182
182
  # Builds the object from hash
@@ -15,17 +15,17 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class PatchedcontainerContainerDistribution
18
- attr_accessor :pulp_labels
19
-
20
- # A unique name. Ex, `rawhide` and `stable`.
21
- attr_accessor :name
22
-
23
18
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
24
19
  attr_accessor :base_path
25
20
 
26
21
  # The latest RepositoryVersion for this Repository will be served.
27
22
  attr_accessor :repository
28
23
 
24
+ attr_accessor :pulp_labels
25
+
26
+ # A unique name. Ex, `rawhide` and `stable`.
27
+ attr_accessor :name
28
+
29
29
  # An optional content-guard. If none is specified, a default one will be used.
30
30
  attr_accessor :content_guard
31
31
 
@@ -41,10 +41,10 @@ module PulpContainerClient
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
42
42
  def self.attribute_map
43
43
  {
44
- :'pulp_labels' => :'pulp_labels',
45
- :'name' => :'name',
46
44
  :'base_path' => :'base_path',
47
45
  :'repository' => :'repository',
46
+ :'pulp_labels' => :'pulp_labels',
47
+ :'name' => :'name',
48
48
  :'content_guard' => :'content_guard',
49
49
  :'repository_version' => :'repository_version',
50
50
  :'private' => :'private',
@@ -55,10 +55,10 @@ module PulpContainerClient
55
55
  # Attribute type mapping.
56
56
  def self.openapi_types
57
57
  {
58
- :'pulp_labels' => :'Object',
59
- :'name' => :'String',
60
58
  :'base_path' => :'String',
61
59
  :'repository' => :'String',
60
+ :'pulp_labels' => :'Object',
61
+ :'name' => :'String',
62
62
  :'content_guard' => :'String',
63
63
  :'repository_version' => :'String',
64
64
  :'private' => :'Boolean',
@@ -90,14 +90,6 @@ module PulpContainerClient
90
90
  h[k.to_sym] = v
91
91
  }
92
92
 
93
- if attributes.key?(:'pulp_labels')
94
- self.pulp_labels = attributes[:'pulp_labels']
95
- end
96
-
97
- if attributes.key?(:'name')
98
- self.name = attributes[:'name']
99
- end
100
-
101
93
  if attributes.key?(:'base_path')
102
94
  self.base_path = attributes[:'base_path']
103
95
  end
@@ -106,6 +98,14 @@ module PulpContainerClient
106
98
  self.repository = attributes[:'repository']
107
99
  end
108
100
 
101
+ if attributes.key?(:'pulp_labels')
102
+ self.pulp_labels = attributes[:'pulp_labels']
103
+ end
104
+
105
+ if attributes.key?(:'name')
106
+ self.name = attributes[:'name']
107
+ end
108
+
109
109
  if attributes.key?(:'content_guard')
110
110
  self.content_guard = attributes[:'content_guard']
111
111
  end
@@ -127,14 +127,14 @@ module PulpContainerClient
127
127
  # @return Array for valid properties with the reasons
128
128
  def list_invalid_properties
129
129
  invalid_properties = Array.new
130
- if !@name.nil? && @name.to_s.length < 1
131
- invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
132
- end
133
-
134
130
  if !@base_path.nil? && @base_path.to_s.length < 1
135
131
  invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
136
132
  end
137
133
 
134
+ if !@name.nil? && @name.to_s.length < 1
135
+ invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
136
+ end
137
+
138
138
  if !@description.nil? && @description.to_s.length < 1
139
139
  invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
140
140
  end
@@ -145,22 +145,12 @@ module PulpContainerClient
145
145
  # Check to see if the all the properties in the model are valid
146
146
  # @return true if the model is valid
147
147
  def valid?
148
- return false if !@name.nil? && @name.to_s.length < 1
149
148
  return false if !@base_path.nil? && @base_path.to_s.length < 1
149
+ return false if !@name.nil? && @name.to_s.length < 1
150
150
  return false if !@description.nil? && @description.to_s.length < 1
151
151
  true
152
152
  end
153
153
 
154
- # Custom attribute writer method with validation
155
- # @param [Object] name Value to be assigned
156
- def name=(name)
157
- if !name.nil? && name.to_s.length < 1
158
- fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
159
- end
160
-
161
- @name = name
162
- end
163
-
164
154
  # Custom attribute writer method with validation
165
155
  # @param [Object] base_path Value to be assigned
166
156
  def base_path=(base_path)
@@ -171,6 +161,16 @@ module PulpContainerClient
171
161
  @base_path = base_path
172
162
  end
173
163
 
164
+ # Custom attribute writer method with validation
165
+ # @param [Object] name Value to be assigned
166
+ def name=(name)
167
+ if !name.nil? && name.to_s.length < 1
168
+ fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
169
+ end
170
+
171
+ @name = name
172
+ end
173
+
174
174
  # Custom attribute writer method with validation
175
175
  # @param [Object] description Value to be assigned
176
176
  def description=(description)
@@ -186,10 +186,10 @@ module PulpContainerClient
186
186
  def ==(o)
187
187
  return true if self.equal?(o)
188
188
  self.class == o.class &&
189
- pulp_labels == o.pulp_labels &&
190
- name == o.name &&
191
189
  base_path == o.base_path &&
192
190
  repository == o.repository &&
191
+ pulp_labels == o.pulp_labels &&
192
+ name == o.name &&
193
193
  content_guard == o.content_guard &&
194
194
  repository_version == o.repository_version &&
195
195
  private == o.private &&
@@ -205,7 +205,7 @@ module PulpContainerClient
205
205
  # Calculates hash code according to all attributes.
206
206
  # @return [Integer] Hash code
207
207
  def hash
208
- [pulp_labels, name, base_path, repository, content_guard, repository_version, private, description].hash
208
+ [base_path, repository, pulp_labels, name, content_guard, repository_version, private, description].hash
209
209
  end
210
210
 
211
211
  # Builds the object from hash
@@ -15,13 +15,13 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # Serializer for Container Push Repositories.
17
17
  class PatchedcontainerContainerPushRepository
18
- attr_accessor :pulp_labels
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.
19
+ attr_accessor :retain_repo_versions
19
20
 
20
21
  # An optional description.
21
22
  attr_accessor :description
22
23
 
23
- # 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.
24
- attr_accessor :retain_repo_versions
24
+ attr_accessor :pulp_labels
25
25
 
26
26
  # A unique name for this repository.
27
27
  attr_accessor :name
@@ -29,9 +29,9 @@ module PulpContainerClient
29
29
  # Attribute mapping from ruby-style variable name to JSON key.
30
30
  def self.attribute_map
31
31
  {
32
- :'pulp_labels' => :'pulp_labels',
33
- :'description' => :'description',
34
32
  :'retain_repo_versions' => :'retain_repo_versions',
33
+ :'description' => :'description',
34
+ :'pulp_labels' => :'pulp_labels',
35
35
  :'name' => :'name'
36
36
  }
37
37
  end
@@ -39,9 +39,9 @@ module PulpContainerClient
39
39
  # Attribute type mapping.
40
40
  def self.openapi_types
41
41
  {
42
- :'pulp_labels' => :'Object',
43
- :'description' => :'String',
44
42
  :'retain_repo_versions' => :'Integer',
43
+ :'description' => :'String',
44
+ :'pulp_labels' => :'Object',
45
45
  :'name' => :'String'
46
46
  }
47
47
  end
@@ -49,8 +49,8 @@ module PulpContainerClient
49
49
  # List of attributes with nullable: true
50
50
  def self.openapi_nullable
51
51
  Set.new([
52
- :'description',
53
52
  :'retain_repo_versions',
53
+ :'description',
54
54
  ])
55
55
  end
56
56
 
@@ -69,16 +69,16 @@ module PulpContainerClient
69
69
  h[k.to_sym] = v
70
70
  }
71
71
 
72
- if attributes.key?(:'pulp_labels')
73
- self.pulp_labels = attributes[:'pulp_labels']
72
+ if attributes.key?(:'retain_repo_versions')
73
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
74
74
  end
75
75
 
76
76
  if attributes.key?(:'description')
77
77
  self.description = attributes[:'description']
78
78
  end
79
79
 
80
- if attributes.key?(:'retain_repo_versions')
81
- self.retain_repo_versions = attributes[:'retain_repo_versions']
80
+ if attributes.key?(:'pulp_labels')
81
+ self.pulp_labels = attributes[:'pulp_labels']
82
82
  end
83
83
 
84
84
  if attributes.key?(:'name')
@@ -90,14 +90,14 @@ module PulpContainerClient
90
90
  # @return Array for valid properties with the reasons
91
91
  def list_invalid_properties
92
92
  invalid_properties = Array.new
93
- if !@description.nil? && @description.to_s.length < 1
94
- invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
95
- end
96
-
97
93
  if !@retain_repo_versions.nil? && @retain_repo_versions < 1
98
94
  invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
99
95
  end
100
96
 
97
+ if !@description.nil? && @description.to_s.length < 1
98
+ invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
99
+ end
100
+
101
101
  if !@name.nil? && @name.to_s.length < 1
102
102
  invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
103
103
  end
@@ -108,22 +108,12 @@ module PulpContainerClient
108
108
  # Check to see if the all the properties in the model are valid
109
109
  # @return true if the model is valid
110
110
  def valid?
111
- return false if !@description.nil? && @description.to_s.length < 1
112
111
  return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
112
+ return false if !@description.nil? && @description.to_s.length < 1
113
113
  return false if !@name.nil? && @name.to_s.length < 1
114
114
  true
115
115
  end
116
116
 
117
- # Custom attribute writer method with validation
118
- # @param [Object] description Value to be assigned
119
- def description=(description)
120
- if !description.nil? && description.to_s.length < 1
121
- fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
122
- end
123
-
124
- @description = description
125
- end
126
-
127
117
  # Custom attribute writer method with validation
128
118
  # @param [Object] retain_repo_versions Value to be assigned
129
119
  def retain_repo_versions=(retain_repo_versions)
@@ -134,6 +124,16 @@ module PulpContainerClient
134
124
  @retain_repo_versions = retain_repo_versions
135
125
  end
136
126
 
127
+ # Custom attribute writer method with validation
128
+ # @param [Object] description Value to be assigned
129
+ def description=(description)
130
+ if !description.nil? && description.to_s.length < 1
131
+ fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
132
+ end
133
+
134
+ @description = description
135
+ end
136
+
137
137
  # Custom attribute writer method with validation
138
138
  # @param [Object] name Value to be assigned
139
139
  def name=(name)
@@ -149,9 +149,9 @@ module PulpContainerClient
149
149
  def ==(o)
150
150
  return true if self.equal?(o)
151
151
  self.class == o.class &&
152
- pulp_labels == o.pulp_labels &&
153
- description == o.description &&
154
152
  retain_repo_versions == o.retain_repo_versions &&
153
+ description == o.description &&
154
+ pulp_labels == o.pulp_labels &&
155
155
  name == o.name
156
156
  end
157
157
 
@@ -164,7 +164,7 @@ module PulpContainerClient
164
164
  # Calculates hash code according to all attributes.
165
165
  # @return [Integer] Hash code
166
166
  def hash
167
- [pulp_labels, description, retain_repo_versions, name].hash
167
+ [retain_repo_versions, description, pulp_labels, name].hash
168
168
  end
169
169
 
170
170
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpContainerClient
14
- VERSION = '2.10.4'
14
+ VERSION = '2.10.7'
15
15
  end
@@ -21,13 +21,13 @@ Gem::Specification.new do |s|
21
21
  s.platform = Gem::Platform::RUBY
22
22
  s.authors = ["OpenAPI-Generator"]
23
23
  s.email = ["pulp-list@redhat.com"]
24
- s.homepage = "https://openapi-generator.tech"
24
+ s.homepage = "https://github.com/pulp/pulp_container"
25
25
  s.summary = "Pulp 3 API Ruby Gem"
26
26
  s.description = "Fetch, Upload, Organize, and Distribute Software Packages"
27
- s.license = 'GPL-2.0+'
27
+ s.license = 'GPLv2+'
28
28
  s.required_ruby_version = ">= 1.9"
29
29
 
30
- s.add_runtime_dependency 'faraday', '~> 0.17', '< 1.9.0'
30
+ s.add_runtime_dependency 'faraday', '>= 1.0.1', '< 2.0'
31
31
  s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
32
32
 
33
33
  s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
@@ -32,37 +32,37 @@ describe 'ContainerContainerDistributionResponse' do
32
32
  expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerDistributionResponse)
33
33
  end
34
34
  end
35
- describe 'test attribute "pulp_labels"' do
35
+ describe 'test attribute "pulp_href"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "pulp_href"' do
41
+ describe 'test attribute "base_path"' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "pulp_created"' do
47
+ describe 'test attribute "repository"' do
48
48
  it 'should work' do
49
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "name"' do
53
+ describe 'test attribute "pulp_labels"' do
54
54
  it 'should work' do
55
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
57
57
  end
58
58
 
59
- describe 'test attribute "base_path"' do
59
+ describe 'test attribute "name"' do
60
60
  it 'should work' do
61
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
62
  end
63
63
  end
64
64
 
65
- describe 'test attribute "repository"' do
65
+ describe 'test attribute "pulp_created"' do
66
66
  it 'should work' do
67
67
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
68
  end