pulp_container_client 2.22.0 → 2.22.2

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 (37) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/ContainerContainerDistribution.md +6 -6
  4. data/docs/ContainerContainerDistributionResponse.md +10 -10
  5. data/docs/ContainerContainerPullThroughDistribution.md +6 -6
  6. data/docs/ContainerContainerPullThroughDistributionResponse.md +10 -10
  7. data/docs/ContainerContainerPushRepository.md +6 -6
  8. data/docs/ContainerContainerPushRepositoryResponse.md +14 -14
  9. data/docs/PatchedcontainerContainerDistribution.md +6 -6
  10. data/docs/PatchedcontainerContainerPullThroughDistribution.md +6 -6
  11. data/docs/PatchedcontainerContainerPushRepository.md +6 -6
  12. data/lib/pulp_container_client/models/container_container_distribution.rb +25 -25
  13. data/lib/pulp_container_client/models/container_container_distribution_response.rb +45 -45
  14. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +25 -25
  15. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +45 -45
  16. data/lib/pulp_container_client/models/container_container_pull_through_remote.rb +20 -20
  17. data/lib/pulp_container_client/models/container_container_pull_through_remote_response.rb +20 -20
  18. data/lib/pulp_container_client/models/container_container_push_repository.rb +25 -25
  19. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +57 -57
  20. data/lib/pulp_container_client/models/container_container_remote.rb +20 -20
  21. data/lib/pulp_container_client/models/container_container_remote_response.rb +20 -20
  22. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +25 -25
  23. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +25 -25
  24. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_remote.rb +20 -20
  25. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +25 -25
  26. data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +20 -20
  27. data/lib/pulp_container_client/version.rb +1 -1
  28. data/spec/models/container_container_distribution_response_spec.rb +8 -8
  29. data/spec/models/container_container_distribution_spec.rb +5 -5
  30. data/spec/models/container_container_pull_through_distribution_response_spec.rb +8 -8
  31. data/spec/models/container_container_pull_through_distribution_spec.rb +5 -5
  32. data/spec/models/container_container_push_repository_response_spec.rb +10 -10
  33. data/spec/models/container_container_push_repository_spec.rb +4 -4
  34. data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
  35. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +5 -5
  36. data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
  37. metadata +65 -65
@@ -15,37 +15,37 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class ContainerContainerDistributionResponse
18
- # Timestamp of creation.
19
- attr_accessor :pulp_created
18
+ # The latest RepositoryVersion for this Repository will be served.
19
+ attr_accessor :repository
20
20
 
21
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
22
- attr_accessor :base_path
21
+ # 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
+ attr_accessor :pulp_last_updated
23
23
 
24
24
  attr_accessor :pulp_labels
25
25
 
26
- # The latest RepositoryVersion for this Repository will be served.
27
- attr_accessor :repository
28
-
29
26
  # An optional content-guard. If none is specified, a default one will be used.
30
27
  attr_accessor :content_guard
31
28
 
29
+ # Timestamp of creation.
30
+ attr_accessor :pulp_created
31
+
32
+ # 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
+ attr_accessor :base_path
34
+
32
35
  # The Pulp Resource Name (PRN).
33
36
  attr_accessor :prn
34
37
 
35
- # A unique name. Ex, `rawhide` and `stable`.
36
- attr_accessor :name
37
-
38
38
  # Whether this distribution should be shown in the content app.
39
39
  attr_accessor :hidden
40
40
 
41
41
  attr_accessor :pulp_href
42
42
 
43
+ # A unique name. Ex, `rawhide` and `stable`.
44
+ attr_accessor :name
45
+
43
46
  # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
44
47
  attr_accessor :no_content_change_since
45
48
 
46
- # 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.
47
- attr_accessor :pulp_last_updated
48
-
49
49
  # RepositoryVersion to be served
50
50
  attr_accessor :repository_version
51
51
 
@@ -67,17 +67,17 @@ module PulpContainerClient
67
67
  # Attribute mapping from ruby-style variable name to JSON key.
68
68
  def self.attribute_map
69
69
  {
70
- :'pulp_created' => :'pulp_created',
71
- :'base_path' => :'base_path',
72
- :'pulp_labels' => :'pulp_labels',
73
70
  :'repository' => :'repository',
71
+ :'pulp_last_updated' => :'pulp_last_updated',
72
+ :'pulp_labels' => :'pulp_labels',
74
73
  :'content_guard' => :'content_guard',
74
+ :'pulp_created' => :'pulp_created',
75
+ :'base_path' => :'base_path',
75
76
  :'prn' => :'prn',
76
- :'name' => :'name',
77
77
  :'hidden' => :'hidden',
78
78
  :'pulp_href' => :'pulp_href',
79
+ :'name' => :'name',
79
80
  :'no_content_change_since' => :'no_content_change_since',
80
- :'pulp_last_updated' => :'pulp_last_updated',
81
81
  :'repository_version' => :'repository_version',
82
82
  :'registry_path' => :'registry_path',
83
83
  :'remote' => :'remote',
@@ -90,17 +90,17 @@ module PulpContainerClient
90
90
  # Attribute type mapping.
91
91
  def self.openapi_types
92
92
  {
93
- :'pulp_created' => :'DateTime',
94
- :'base_path' => :'String',
95
- :'pulp_labels' => :'Hash<String, String>',
96
93
  :'repository' => :'String',
94
+ :'pulp_last_updated' => :'DateTime',
95
+ :'pulp_labels' => :'Hash<String, String>',
97
96
  :'content_guard' => :'String',
97
+ :'pulp_created' => :'DateTime',
98
+ :'base_path' => :'String',
98
99
  :'prn' => :'String',
99
- :'name' => :'String',
100
100
  :'hidden' => :'Boolean',
101
101
  :'pulp_href' => :'String',
102
+ :'name' => :'String',
102
103
  :'no_content_change_since' => :'String',
103
- :'pulp_last_updated' => :'DateTime',
104
104
  :'repository_version' => :'String',
105
105
  :'registry_path' => :'String',
106
106
  :'remote' => :'String',
@@ -134,12 +134,12 @@ module PulpContainerClient
134
134
  h[k.to_sym] = v
135
135
  }
136
136
 
137
- if attributes.key?(:'pulp_created')
138
- self.pulp_created = attributes[:'pulp_created']
137
+ if attributes.key?(:'repository')
138
+ self.repository = attributes[:'repository']
139
139
  end
140
140
 
141
- if attributes.key?(:'base_path')
142
- self.base_path = attributes[:'base_path']
141
+ if attributes.key?(:'pulp_last_updated')
142
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
143
143
  end
144
144
 
145
145
  if attributes.key?(:'pulp_labels')
@@ -148,20 +148,20 @@ module PulpContainerClient
148
148
  end
149
149
  end
150
150
 
151
- if attributes.key?(:'repository')
152
- self.repository = attributes[:'repository']
153
- end
154
-
155
151
  if attributes.key?(:'content_guard')
156
152
  self.content_guard = attributes[:'content_guard']
157
153
  end
158
154
 
159
- if attributes.key?(:'prn')
160
- self.prn = attributes[:'prn']
155
+ if attributes.key?(:'pulp_created')
156
+ self.pulp_created = attributes[:'pulp_created']
161
157
  end
162
158
 
163
- if attributes.key?(:'name')
164
- self.name = attributes[:'name']
159
+ if attributes.key?(:'base_path')
160
+ self.base_path = attributes[:'base_path']
161
+ end
162
+
163
+ if attributes.key?(:'prn')
164
+ self.prn = attributes[:'prn']
165
165
  end
166
166
 
167
167
  if attributes.key?(:'hidden')
@@ -174,12 +174,12 @@ module PulpContainerClient
174
174
  self.pulp_href = attributes[:'pulp_href']
175
175
  end
176
176
 
177
- if attributes.key?(:'no_content_change_since')
178
- self.no_content_change_since = attributes[:'no_content_change_since']
177
+ if attributes.key?(:'name')
178
+ self.name = attributes[:'name']
179
179
  end
180
180
 
181
- if attributes.key?(:'pulp_last_updated')
182
- self.pulp_last_updated = attributes[:'pulp_last_updated']
181
+ if attributes.key?(:'no_content_change_since')
182
+ self.no_content_change_since = attributes[:'no_content_change_since']
183
183
  end
184
184
 
185
185
  if attributes.key?(:'repository_version')
@@ -235,17 +235,17 @@ module PulpContainerClient
235
235
  def ==(o)
236
236
  return true if self.equal?(o)
237
237
  self.class == o.class &&
238
- pulp_created == o.pulp_created &&
239
- base_path == o.base_path &&
240
- pulp_labels == o.pulp_labels &&
241
238
  repository == o.repository &&
239
+ pulp_last_updated == o.pulp_last_updated &&
240
+ pulp_labels == o.pulp_labels &&
242
241
  content_guard == o.content_guard &&
242
+ pulp_created == o.pulp_created &&
243
+ base_path == o.base_path &&
243
244
  prn == o.prn &&
244
- name == o.name &&
245
245
  hidden == o.hidden &&
246
246
  pulp_href == o.pulp_href &&
247
+ name == o.name &&
247
248
  no_content_change_since == o.no_content_change_since &&
248
- pulp_last_updated == o.pulp_last_updated &&
249
249
  repository_version == o.repository_version &&
250
250
  registry_path == o.registry_path &&
251
251
  remote == o.remote &&
@@ -263,7 +263,7 @@ module PulpContainerClient
263
263
  # Calculates hash code according to all attributes.
264
264
  # @return [Integer] Hash code
265
265
  def hash
266
- [pulp_created, base_path, pulp_labels, repository, content_guard, prn, name, hidden, pulp_href, no_content_change_since, pulp_last_updated, repository_version, registry_path, remote, namespace, private, description].hash
266
+ [repository, pulp_last_updated, pulp_labels, content_guard, pulp_created, base_path, prn, hidden, pulp_href, name, no_content_change_since, repository_version, registry_path, remote, namespace, private, description].hash
267
267
  end
268
268
 
269
269
  # 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 ContainerContainerPullThroughDistribution
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\")
19
- attr_accessor :base_path
20
-
21
- attr_accessor :pulp_labels
22
-
23
18
  # The latest RepositoryVersion for this Repository will be served.
24
19
  attr_accessor :repository
25
20
 
21
+ attr_accessor :pulp_labels
22
+
26
23
  # An optional content-guard. If none is specified, a default one will be used.
27
24
  attr_accessor :content_guard
28
25
 
29
- # A unique name. Ex, `rawhide` and `stable`.
30
- attr_accessor :name
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\")
27
+ attr_accessor :base_path
31
28
 
32
29
  # Whether this distribution should be shown in the content app.
33
30
  attr_accessor :hidden
34
31
 
32
+ # A unique name. Ex, `rawhide` and `stable`.
33
+ attr_accessor :name
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
- :'base_path' => :'base_path',
51
- :'pulp_labels' => :'pulp_labels',
52
50
  :'repository' => :'repository',
51
+ :'pulp_labels' => :'pulp_labels',
53
52
  :'content_guard' => :'content_guard',
54
- :'name' => :'name',
53
+ :'base_path' => :'base_path',
55
54
  :'hidden' => :'hidden',
55
+ :'name' => :'name',
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
- :'base_path' => :'String',
67
- :'pulp_labels' => :'Hash<String, String>',
68
66
  :'repository' => :'String',
67
+ :'pulp_labels' => :'Hash<String, String>',
69
68
  :'content_guard' => :'String',
70
- :'name' => :'String',
69
+ :'base_path' => :'String',
71
70
  :'hidden' => :'Boolean',
71
+ :'name' => :'String',
72
72
  :'remote' => :'String',
73
73
  :'distributions' => :'Array<String>',
74
74
  :'private' => :'Boolean',
@@ -99,8 +99,8 @@ module PulpContainerClient
99
99
  h[k.to_sym] = v
100
100
  }
101
101
 
102
- if attributes.key?(:'base_path')
103
- self.base_path = attributes[:'base_path']
102
+ if attributes.key?(:'repository')
103
+ self.repository = attributes[:'repository']
104
104
  end
105
105
 
106
106
  if attributes.key?(:'pulp_labels')
@@ -109,16 +109,12 @@ module PulpContainerClient
109
109
  end
110
110
  end
111
111
 
112
- if attributes.key?(:'repository')
113
- self.repository = attributes[:'repository']
114
- end
115
-
116
112
  if attributes.key?(:'content_guard')
117
113
  self.content_guard = attributes[:'content_guard']
118
114
  end
119
115
 
120
- if attributes.key?(:'name')
121
- self.name = attributes[:'name']
116
+ if attributes.key?(:'base_path')
117
+ self.base_path = attributes[:'base_path']
122
118
  end
123
119
 
124
120
  if attributes.key?(:'hidden')
@@ -127,6 +123,10 @@ module PulpContainerClient
127
123
  self.hidden = false
128
124
  end
129
125
 
126
+ if attributes.key?(:'name')
127
+ self.name = attributes[:'name']
128
+ end
129
+
130
130
  if attributes.key?(:'remote')
131
131
  self.remote = attributes[:'remote']
132
132
  end
@@ -232,12 +232,12 @@ module PulpContainerClient
232
232
  def ==(o)
233
233
  return true if self.equal?(o)
234
234
  self.class == o.class &&
235
- base_path == o.base_path &&
236
- pulp_labels == o.pulp_labels &&
237
235
  repository == o.repository &&
236
+ pulp_labels == o.pulp_labels &&
238
237
  content_guard == o.content_guard &&
239
- name == o.name &&
238
+ base_path == o.base_path &&
240
239
  hidden == o.hidden &&
240
+ name == o.name &&
241
241
  remote == o.remote &&
242
242
  distributions == o.distributions &&
243
243
  private == o.private &&
@@ -253,7 +253,7 @@ module PulpContainerClient
253
253
  # Calculates hash code according to all attributes.
254
254
  # @return [Integer] Hash code
255
255
  def hash
256
- [base_path, pulp_labels, repository, content_guard, name, hidden, remote, distributions, private, description].hash
256
+ [repository, pulp_labels, content_guard, base_path, hidden, name, remote, distributions, private, description].hash
257
257
  end
258
258
 
259
259
  # Builds the object from hash
@@ -15,37 +15,37 @@ 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
18
+ # The latest RepositoryVersion for this Repository will be served.
19
+ attr_accessor :repository
20
20
 
21
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
22
- attr_accessor :base_path
21
+ # 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
+ attr_accessor :pulp_last_updated
23
23
 
24
24
  attr_accessor :pulp_labels
25
25
 
26
- # The latest RepositoryVersion for this Repository will be served.
27
- attr_accessor :repository
28
-
29
26
  # An optional content-guard. If none is specified, a default one will be used.
30
27
  attr_accessor :content_guard
31
28
 
29
+ # Timestamp of creation.
30
+ attr_accessor :pulp_created
31
+
32
+ # 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
+ attr_accessor :base_path
34
+
32
35
  # The Pulp Resource Name (PRN).
33
36
  attr_accessor :prn
34
37
 
35
- # A unique name. Ex, `rawhide` and `stable`.
36
- attr_accessor :name
37
-
38
38
  # Whether this distribution should be shown in the content app.
39
39
  attr_accessor :hidden
40
40
 
41
41
  attr_accessor :pulp_href
42
42
 
43
+ # A unique name. Ex, `rawhide` and `stable`.
44
+ attr_accessor :name
45
+
43
46
  # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
44
47
  attr_accessor :no_content_change_since
45
48
 
46
- # 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.
47
- attr_accessor :pulp_last_updated
48
-
49
49
  # Remote that can be used to fetch content when using pull-through caching.
50
50
  attr_accessor :remote
51
51
 
@@ -64,17 +64,17 @@ module PulpContainerClient
64
64
  # Attribute mapping from ruby-style variable name to JSON key.
65
65
  def self.attribute_map
66
66
  {
67
- :'pulp_created' => :'pulp_created',
68
- :'base_path' => :'base_path',
69
- :'pulp_labels' => :'pulp_labels',
70
67
  :'repository' => :'repository',
68
+ :'pulp_last_updated' => :'pulp_last_updated',
69
+ :'pulp_labels' => :'pulp_labels',
71
70
  :'content_guard' => :'content_guard',
71
+ :'pulp_created' => :'pulp_created',
72
+ :'base_path' => :'base_path',
72
73
  :'prn' => :'prn',
73
- :'name' => :'name',
74
74
  :'hidden' => :'hidden',
75
75
  :'pulp_href' => :'pulp_href',
76
+ :'name' => :'name',
76
77
  :'no_content_change_since' => :'no_content_change_since',
77
- :'pulp_last_updated' => :'pulp_last_updated',
78
78
  :'remote' => :'remote',
79
79
  :'distributions' => :'distributions',
80
80
  :'namespace' => :'namespace',
@@ -86,17 +86,17 @@ module PulpContainerClient
86
86
  # Attribute type mapping.
87
87
  def self.openapi_types
88
88
  {
89
- :'pulp_created' => :'DateTime',
90
- :'base_path' => :'String',
91
- :'pulp_labels' => :'Hash<String, String>',
92
89
  :'repository' => :'String',
90
+ :'pulp_last_updated' => :'DateTime',
91
+ :'pulp_labels' => :'Hash<String, String>',
93
92
  :'content_guard' => :'String',
93
+ :'pulp_created' => :'DateTime',
94
+ :'base_path' => :'String',
94
95
  :'prn' => :'String',
95
- :'name' => :'String',
96
96
  :'hidden' => :'Boolean',
97
97
  :'pulp_href' => :'String',
98
+ :'name' => :'String',
98
99
  :'no_content_change_since' => :'String',
99
- :'pulp_last_updated' => :'DateTime',
100
100
  :'remote' => :'String',
101
101
  :'distributions' => :'Array<String>',
102
102
  :'namespace' => :'String',
@@ -128,12 +128,12 @@ module PulpContainerClient
128
128
  h[k.to_sym] = v
129
129
  }
130
130
 
131
- if attributes.key?(:'pulp_created')
132
- self.pulp_created = attributes[:'pulp_created']
131
+ if attributes.key?(:'repository')
132
+ self.repository = attributes[:'repository']
133
133
  end
134
134
 
135
- if attributes.key?(:'base_path')
136
- self.base_path = attributes[:'base_path']
135
+ if attributes.key?(:'pulp_last_updated')
136
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
137
137
  end
138
138
 
139
139
  if attributes.key?(:'pulp_labels')
@@ -142,20 +142,20 @@ module PulpContainerClient
142
142
  end
143
143
  end
144
144
 
145
- if attributes.key?(:'repository')
146
- self.repository = attributes[:'repository']
147
- end
148
-
149
145
  if attributes.key?(:'content_guard')
150
146
  self.content_guard = attributes[:'content_guard']
151
147
  end
152
148
 
153
- if attributes.key?(:'prn')
154
- self.prn = attributes[:'prn']
149
+ if attributes.key?(:'pulp_created')
150
+ self.pulp_created = attributes[:'pulp_created']
155
151
  end
156
152
 
157
- if attributes.key?(:'name')
158
- self.name = attributes[:'name']
153
+ if attributes.key?(:'base_path')
154
+ self.base_path = attributes[:'base_path']
155
+ end
156
+
157
+ if attributes.key?(:'prn')
158
+ self.prn = attributes[:'prn']
159
159
  end
160
160
 
161
161
  if attributes.key?(:'hidden')
@@ -168,12 +168,12 @@ module PulpContainerClient
168
168
  self.pulp_href = attributes[:'pulp_href']
169
169
  end
170
170
 
171
- if attributes.key?(:'no_content_change_since')
172
- self.no_content_change_since = attributes[:'no_content_change_since']
171
+ if attributes.key?(:'name')
172
+ self.name = attributes[:'name']
173
173
  end
174
174
 
175
- if attributes.key?(:'pulp_last_updated')
176
- self.pulp_last_updated = attributes[:'pulp_last_updated']
175
+ if attributes.key?(:'no_content_change_since')
176
+ self.no_content_change_since = attributes[:'no_content_change_since']
177
177
  end
178
178
 
179
179
  if attributes.key?(:'remote')
@@ -232,17 +232,17 @@ module PulpContainerClient
232
232
  def ==(o)
233
233
  return true if self.equal?(o)
234
234
  self.class == o.class &&
235
- pulp_created == o.pulp_created &&
236
- base_path == o.base_path &&
237
- pulp_labels == o.pulp_labels &&
238
235
  repository == o.repository &&
236
+ pulp_last_updated == o.pulp_last_updated &&
237
+ pulp_labels == o.pulp_labels &&
239
238
  content_guard == o.content_guard &&
239
+ pulp_created == o.pulp_created &&
240
+ base_path == o.base_path &&
240
241
  prn == o.prn &&
241
- name == o.name &&
242
242
  hidden == o.hidden &&
243
243
  pulp_href == o.pulp_href &&
244
+ name == o.name &&
244
245
  no_content_change_since == o.no_content_change_since &&
245
- pulp_last_updated == o.pulp_last_updated &&
246
246
  remote == o.remote &&
247
247
  distributions == o.distributions &&
248
248
  namespace == o.namespace &&
@@ -259,7 +259,7 @@ module PulpContainerClient
259
259
  # Calculates hash code according to all attributes.
260
260
  # @return [Integer] Hash code
261
261
  def hash
262
- [pulp_created, base_path, pulp_labels, repository, content_guard, prn, name, hidden, pulp_href, no_content_change_since, pulp_last_updated, remote, distributions, namespace, private, description].hash
262
+ [repository, pulp_last_updated, pulp_labels, content_guard, pulp_created, base_path, prn, hidden, pulp_href, name, no_content_change_since, remote, distributions, namespace, private, description].hash
263
263
  end
264
264
 
265
265
  # Builds the object from hash
@@ -335,20 +335,20 @@ module PulpContainerClient
335
335
  invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
336
336
  end
337
337
 
338
- if !@total_timeout.nil? && @total_timeout < 0
339
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
338
+ if !@total_timeout.nil? && @total_timeout < 0.0
339
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
340
340
  end
341
341
 
342
- if !@connect_timeout.nil? && @connect_timeout < 0
343
- invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
342
+ if !@connect_timeout.nil? && @connect_timeout < 0.0
343
+ invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
344
344
  end
345
345
 
346
- if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
347
- invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
346
+ if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
347
+ invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
348
348
  end
349
349
 
350
- if !@sock_read_timeout.nil? && @sock_read_timeout < 0
351
- invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
350
+ if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
351
+ invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
352
352
  end
353
353
 
354
354
  invalid_properties
@@ -370,10 +370,10 @@ module PulpContainerClient
370
370
  return false if !@username.nil? && @username.to_s.length < 1
371
371
  return false if !@password.nil? && @password.to_s.length < 1
372
372
  return false if !@download_concurrency.nil? && @download_concurrency < 1
373
- return false if !@total_timeout.nil? && @total_timeout < 0
374
- return false if !@connect_timeout.nil? && @connect_timeout < 0
375
- return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
376
- return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
373
+ return false if !@total_timeout.nil? && @total_timeout < 0.0
374
+ return false if !@connect_timeout.nil? && @connect_timeout < 0.0
375
+ return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
376
+ return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
377
377
  true
378
378
  end
379
379
 
@@ -498,8 +498,8 @@ module PulpContainerClient
498
498
  # Custom attribute writer method with validation
499
499
  # @param [Object] total_timeout Value to be assigned
500
500
  def total_timeout=(total_timeout)
501
- if !total_timeout.nil? && total_timeout < 0
502
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
501
+ if !total_timeout.nil? && total_timeout < 0.0
502
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
503
503
  end
504
504
 
505
505
  @total_timeout = total_timeout
@@ -508,8 +508,8 @@ module PulpContainerClient
508
508
  # Custom attribute writer method with validation
509
509
  # @param [Object] connect_timeout Value to be assigned
510
510
  def connect_timeout=(connect_timeout)
511
- if !connect_timeout.nil? && connect_timeout < 0
512
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
511
+ if !connect_timeout.nil? && connect_timeout < 0.0
512
+ fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
513
513
  end
514
514
 
515
515
  @connect_timeout = connect_timeout
@@ -518,8 +518,8 @@ module PulpContainerClient
518
518
  # Custom attribute writer method with validation
519
519
  # @param [Object] sock_connect_timeout Value to be assigned
520
520
  def sock_connect_timeout=(sock_connect_timeout)
521
- if !sock_connect_timeout.nil? && sock_connect_timeout < 0
522
- fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
521
+ if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
522
+ fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
523
523
  end
524
524
 
525
525
  @sock_connect_timeout = sock_connect_timeout
@@ -528,8 +528,8 @@ module PulpContainerClient
528
528
  # Custom attribute writer method with validation
529
529
  # @param [Object] sock_read_timeout Value to be assigned
530
530
  def sock_read_timeout=(sock_read_timeout)
531
- if !sock_read_timeout.nil? && sock_read_timeout < 0
532
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
531
+ if !sock_read_timeout.nil? && sock_read_timeout < 0.0
532
+ fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
533
533
  end
534
534
 
535
535
  @sock_read_timeout = sock_read_timeout