pulp_ostree_client 2.4.6 → 2.4.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.
- checksums.yaml +4 -4
- data/README.md +18 -5
- data/docs/ContentCommitsApi.md +150 -2
- data/docs/ContentConfigsApi.md +148 -0
- data/docs/ContentContentApi.md +148 -0
- data/docs/ContentObjectsApi.md +150 -2
- data/docs/ContentRefsApi.md +150 -2
- data/docs/ContentSummariesApi.md +148 -0
- data/docs/DistributionsOstreeApi.md +4 -2
- data/docs/OstreeOstreeCommitResponse.md +2 -0
- data/docs/OstreeOstreeConfigResponse.md +2 -0
- data/docs/OstreeOstreeContent.md +2 -0
- data/docs/OstreeOstreeContentResponse.md +2 -0
- data/docs/OstreeOstreeObjectResponse.md +2 -0
- data/docs/OstreeOstreeRefResponse.md +2 -0
- data/docs/OstreeOstreeSummaryResponse.md +2 -0
- data/lib/pulp_ostree_client/api/content_commits_api.rb +154 -3
- data/lib/pulp_ostree_client/api/content_configs_api.rb +151 -0
- data/lib/pulp_ostree_client/api/content_content_api.rb +151 -0
- data/lib/pulp_ostree_client/api/content_objects_api.rb +154 -3
- data/lib/pulp_ostree_client/api/content_refs_api.rb +154 -3
- data/lib/pulp_ostree_client/api/content_summaries_api.rb +151 -0
- data/lib/pulp_ostree_client/api/distributions_ostree_api.rb +6 -3
- data/lib/pulp_ostree_client/models/ostree_ostree_commit_response.rb +13 -1
- data/lib/pulp_ostree_client/models/ostree_ostree_config_response.rb +13 -1
- data/lib/pulp_ostree_client/models/ostree_ostree_content.rb +13 -1
- data/lib/pulp_ostree_client/models/ostree_ostree_content_response.rb +13 -1
- data/lib/pulp_ostree_client/models/ostree_ostree_object_response.rb +13 -1
- data/lib/pulp_ostree_client/models/ostree_ostree_ref_response.rb +13 -1
- data/lib/pulp_ostree_client/models/ostree_ostree_summary_response.rb +13 -1
- data/lib/pulp_ostree_client/models/unset_label.rb +1 -1
- data/lib/pulp_ostree_client/models/unset_label_response.rb +1 -1
- data/lib/pulp_ostree_client/version.rb +1 -1
- data/spec/api/content_commits_api_spec.rb +28 -1
- data/spec/api/content_configs_api_spec.rb +27 -0
- data/spec/api/content_content_api_spec.rb +27 -0
- data/spec/api/content_objects_api_spec.rb +28 -1
- data/spec/api/content_refs_api_spec.rb +28 -1
- data/spec/api/content_summaries_api_spec.rb +27 -0
- data/spec/api/distributions_ostree_api_spec.rb +2 -1
- data/spec/models/ostree_ostree_commit_response_spec.rb +6 -0
- data/spec/models/ostree_ostree_config_response_spec.rb +6 -0
- data/spec/models/ostree_ostree_content_response_spec.rb +6 -0
- data/spec/models/ostree_ostree_content_spec.rb +6 -0
- data/spec/models/ostree_ostree_object_response_spec.rb +6 -0
- data/spec/models/ostree_ostree_ref_response_spec.rb +6 -0
- data/spec/models/ostree_ostree_summary_response_spec.rb +6 -0
- metadata +42 -42
@@ -27,6 +27,9 @@ module PulpOstreeClient
|
|
27
27
|
# 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.
|
28
28
|
attr_accessor :pulp_last_updated
|
29
29
|
|
30
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
31
|
+
attr_accessor :pulp_labels
|
32
|
+
|
30
33
|
# Artifact file representing the physical content
|
31
34
|
attr_accessor :artifact
|
32
35
|
|
@@ -46,6 +49,7 @@ module PulpOstreeClient
|
|
46
49
|
:'prn' => :'prn',
|
47
50
|
:'pulp_created' => :'pulp_created',
|
48
51
|
:'pulp_last_updated' => :'pulp_last_updated',
|
52
|
+
:'pulp_labels' => :'pulp_labels',
|
49
53
|
:'artifact' => :'artifact',
|
50
54
|
:'relative_path' => :'relative_path',
|
51
55
|
:'parent_commit' => :'parent_commit',
|
@@ -66,6 +70,7 @@ module PulpOstreeClient
|
|
66
70
|
:'prn' => :'String',
|
67
71
|
:'pulp_created' => :'Time',
|
68
72
|
:'pulp_last_updated' => :'Time',
|
73
|
+
:'pulp_labels' => :'Hash<String, String>',
|
69
74
|
:'artifact' => :'String',
|
70
75
|
:'relative_path' => :'String',
|
71
76
|
:'parent_commit' => :'String',
|
@@ -112,6 +117,12 @@ module PulpOstreeClient
|
|
112
117
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
113
118
|
end
|
114
119
|
|
120
|
+
if attributes.key?(:'pulp_labels')
|
121
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
122
|
+
self.pulp_labels = value
|
123
|
+
end
|
124
|
+
end
|
125
|
+
|
115
126
|
if attributes.key?(:'artifact')
|
116
127
|
self.artifact = attributes[:'artifact']
|
117
128
|
else
|
@@ -187,6 +198,7 @@ module PulpOstreeClient
|
|
187
198
|
prn == o.prn &&
|
188
199
|
pulp_created == o.pulp_created &&
|
189
200
|
pulp_last_updated == o.pulp_last_updated &&
|
201
|
+
pulp_labels == o.pulp_labels &&
|
190
202
|
artifact == o.artifact &&
|
191
203
|
relative_path == o.relative_path &&
|
192
204
|
parent_commit == o.parent_commit &&
|
@@ -203,7 +215,7 @@ module PulpOstreeClient
|
|
203
215
|
# Calculates hash code according to all attributes.
|
204
216
|
# @return [Integer] Hash code
|
205
217
|
def hash
|
206
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, artifact, relative_path, parent_commit, checksum, objs].hash
|
218
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifact, relative_path, parent_commit, checksum, objs].hash
|
207
219
|
end
|
208
220
|
|
209
221
|
# Builds the object from hash
|
@@ -27,6 +27,9 @@ module PulpOstreeClient
|
|
27
27
|
# 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.
|
28
28
|
attr_accessor :pulp_last_updated
|
29
29
|
|
30
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
31
|
+
attr_accessor :pulp_labels
|
32
|
+
|
30
33
|
# Artifact file representing the physical content
|
31
34
|
attr_accessor :artifact
|
32
35
|
|
@@ -40,6 +43,7 @@ module PulpOstreeClient
|
|
40
43
|
:'prn' => :'prn',
|
41
44
|
:'pulp_created' => :'pulp_created',
|
42
45
|
:'pulp_last_updated' => :'pulp_last_updated',
|
46
|
+
:'pulp_labels' => :'pulp_labels',
|
43
47
|
:'artifact' => :'artifact',
|
44
48
|
:'relative_path' => :'relative_path'
|
45
49
|
}
|
@@ -57,6 +61,7 @@ module PulpOstreeClient
|
|
57
61
|
:'prn' => :'String',
|
58
62
|
:'pulp_created' => :'Time',
|
59
63
|
:'pulp_last_updated' => :'Time',
|
64
|
+
:'pulp_labels' => :'Hash<String, String>',
|
60
65
|
:'artifact' => :'String',
|
61
66
|
:'relative_path' => :'String'
|
62
67
|
}
|
@@ -99,6 +104,12 @@ module PulpOstreeClient
|
|
99
104
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
100
105
|
end
|
101
106
|
|
107
|
+
if attributes.key?(:'pulp_labels')
|
108
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
109
|
+
self.pulp_labels = value
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
102
113
|
if attributes.key?(:'artifact')
|
103
114
|
self.artifact = attributes[:'artifact']
|
104
115
|
else
|
@@ -146,6 +157,7 @@ module PulpOstreeClient
|
|
146
157
|
prn == o.prn &&
|
147
158
|
pulp_created == o.pulp_created &&
|
148
159
|
pulp_last_updated == o.pulp_last_updated &&
|
160
|
+
pulp_labels == o.pulp_labels &&
|
149
161
|
artifact == o.artifact &&
|
150
162
|
relative_path == o.relative_path
|
151
163
|
end
|
@@ -159,7 +171,7 @@ module PulpOstreeClient
|
|
159
171
|
# Calculates hash code according to all attributes.
|
160
172
|
# @return [Integer] Hash code
|
161
173
|
def hash
|
162
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, artifact, relative_path].hash
|
174
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifact, relative_path].hash
|
163
175
|
end
|
164
176
|
|
165
177
|
# Builds the object from hash
|
@@ -19,6 +19,9 @@ module PulpOstreeClient
|
|
19
19
|
# A URI of a repository the new content unit should be associated with.
|
20
20
|
attr_accessor :repository
|
21
21
|
|
22
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
23
|
+
attr_accessor :pulp_labels
|
24
|
+
|
22
25
|
# Artifact file representing the physical content
|
23
26
|
attr_accessor :artifact
|
24
27
|
|
@@ -30,6 +33,7 @@ module PulpOstreeClient
|
|
30
33
|
def self.attribute_map
|
31
34
|
{
|
32
35
|
:'repository' => :'repository',
|
36
|
+
:'pulp_labels' => :'pulp_labels',
|
33
37
|
:'artifact' => :'artifact',
|
34
38
|
:'relative_path' => :'relative_path',
|
35
39
|
:'digest' => :'digest'
|
@@ -45,6 +49,7 @@ module PulpOstreeClient
|
|
45
49
|
def self.openapi_types
|
46
50
|
{
|
47
51
|
:'repository' => :'String',
|
52
|
+
:'pulp_labels' => :'Hash<String, String>',
|
48
53
|
:'artifact' => :'String',
|
49
54
|
:'relative_path' => :'String',
|
50
55
|
:'digest' => :'String'
|
@@ -76,6 +81,12 @@ module PulpOstreeClient
|
|
76
81
|
self.repository = attributes[:'repository']
|
77
82
|
end
|
78
83
|
|
84
|
+
if attributes.key?(:'pulp_labels')
|
85
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
86
|
+
self.pulp_labels = value
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
79
90
|
if attributes.key?(:'artifact')
|
80
91
|
self.artifact = attributes[:'artifact']
|
81
92
|
else
|
@@ -169,6 +180,7 @@ module PulpOstreeClient
|
|
169
180
|
return true if self.equal?(o)
|
170
181
|
self.class == o.class &&
|
171
182
|
repository == o.repository &&
|
183
|
+
pulp_labels == o.pulp_labels &&
|
172
184
|
artifact == o.artifact &&
|
173
185
|
relative_path == o.relative_path &&
|
174
186
|
digest == o.digest
|
@@ -183,7 +195,7 @@ module PulpOstreeClient
|
|
183
195
|
# Calculates hash code according to all attributes.
|
184
196
|
# @return [Integer] Hash code
|
185
197
|
def hash
|
186
|
-
[repository, artifact, relative_path, digest].hash
|
198
|
+
[repository, pulp_labels, artifact, relative_path, digest].hash
|
187
199
|
end
|
188
200
|
|
189
201
|
# Builds the object from hash
|
@@ -27,6 +27,9 @@ module PulpOstreeClient
|
|
27
27
|
# 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.
|
28
28
|
attr_accessor :pulp_last_updated
|
29
29
|
|
30
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
31
|
+
attr_accessor :pulp_labels
|
32
|
+
|
30
33
|
# Artifact file representing the physical content
|
31
34
|
attr_accessor :artifact
|
32
35
|
|
@@ -41,6 +44,7 @@ module PulpOstreeClient
|
|
41
44
|
:'prn' => :'prn',
|
42
45
|
:'pulp_created' => :'pulp_created',
|
43
46
|
:'pulp_last_updated' => :'pulp_last_updated',
|
47
|
+
:'pulp_labels' => :'pulp_labels',
|
44
48
|
:'artifact' => :'artifact',
|
45
49
|
:'relative_path' => :'relative_path',
|
46
50
|
:'digest' => :'digest'
|
@@ -59,6 +63,7 @@ module PulpOstreeClient
|
|
59
63
|
:'prn' => :'String',
|
60
64
|
:'pulp_created' => :'Time',
|
61
65
|
:'pulp_last_updated' => :'Time',
|
66
|
+
:'pulp_labels' => :'Hash<String, String>',
|
62
67
|
:'artifact' => :'String',
|
63
68
|
:'relative_path' => :'String',
|
64
69
|
:'digest' => :'String'
|
@@ -102,6 +107,12 @@ module PulpOstreeClient
|
|
102
107
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
103
108
|
end
|
104
109
|
|
110
|
+
if attributes.key?(:'pulp_labels')
|
111
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
112
|
+
self.pulp_labels = value
|
113
|
+
end
|
114
|
+
end
|
115
|
+
|
105
116
|
if attributes.key?(:'artifact')
|
106
117
|
self.artifact = attributes[:'artifact']
|
107
118
|
else
|
@@ -160,6 +171,7 @@ module PulpOstreeClient
|
|
160
171
|
prn == o.prn &&
|
161
172
|
pulp_created == o.pulp_created &&
|
162
173
|
pulp_last_updated == o.pulp_last_updated &&
|
174
|
+
pulp_labels == o.pulp_labels &&
|
163
175
|
artifact == o.artifact &&
|
164
176
|
relative_path == o.relative_path &&
|
165
177
|
digest == o.digest
|
@@ -174,7 +186,7 @@ module PulpOstreeClient
|
|
174
186
|
# Calculates hash code according to all attributes.
|
175
187
|
# @return [Integer] Hash code
|
176
188
|
def hash
|
177
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, artifact, relative_path, digest].hash
|
189
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifact, relative_path, digest].hash
|
178
190
|
end
|
179
191
|
|
180
192
|
# Builds the object from hash
|
@@ -27,6 +27,9 @@ module PulpOstreeClient
|
|
27
27
|
# 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.
|
28
28
|
attr_accessor :pulp_last_updated
|
29
29
|
|
30
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
31
|
+
attr_accessor :pulp_labels
|
32
|
+
|
30
33
|
# Artifact file representing the physical content
|
31
34
|
attr_accessor :artifact
|
32
35
|
|
@@ -45,6 +48,7 @@ module PulpOstreeClient
|
|
45
48
|
:'prn' => :'prn',
|
46
49
|
:'pulp_created' => :'pulp_created',
|
47
50
|
:'pulp_last_updated' => :'pulp_last_updated',
|
51
|
+
:'pulp_labels' => :'pulp_labels',
|
48
52
|
:'artifact' => :'artifact',
|
49
53
|
:'relative_path' => :'relative_path',
|
50
54
|
:'checksum' => :'checksum',
|
@@ -64,6 +68,7 @@ module PulpOstreeClient
|
|
64
68
|
:'prn' => :'String',
|
65
69
|
:'pulp_created' => :'Time',
|
66
70
|
:'pulp_last_updated' => :'Time',
|
71
|
+
:'pulp_labels' => :'Hash<String, String>',
|
67
72
|
:'artifact' => :'String',
|
68
73
|
:'relative_path' => :'String',
|
69
74
|
:'checksum' => :'String',
|
@@ -108,6 +113,12 @@ module PulpOstreeClient
|
|
108
113
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
109
114
|
end
|
110
115
|
|
116
|
+
if attributes.key?(:'pulp_labels')
|
117
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
118
|
+
self.pulp_labels = value
|
119
|
+
end
|
120
|
+
end
|
121
|
+
|
111
122
|
if attributes.key?(:'artifact')
|
112
123
|
self.artifact = attributes[:'artifact']
|
113
124
|
else
|
@@ -177,6 +188,7 @@ module PulpOstreeClient
|
|
177
188
|
prn == o.prn &&
|
178
189
|
pulp_created == o.pulp_created &&
|
179
190
|
pulp_last_updated == o.pulp_last_updated &&
|
191
|
+
pulp_labels == o.pulp_labels &&
|
180
192
|
artifact == o.artifact &&
|
181
193
|
relative_path == o.relative_path &&
|
182
194
|
checksum == o.checksum &&
|
@@ -192,7 +204,7 @@ module PulpOstreeClient
|
|
192
204
|
# Calculates hash code according to all attributes.
|
193
205
|
# @return [Integer] Hash code
|
194
206
|
def hash
|
195
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, artifact, relative_path, checksum, typ].hash
|
207
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifact, relative_path, checksum, typ].hash
|
196
208
|
end
|
197
209
|
|
198
210
|
# Builds the object from hash
|
@@ -27,6 +27,9 @@ module PulpOstreeClient
|
|
27
27
|
# 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.
|
28
28
|
attr_accessor :pulp_last_updated
|
29
29
|
|
30
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
31
|
+
attr_accessor :pulp_labels
|
32
|
+
|
30
33
|
# Artifact file representing the physical content
|
31
34
|
attr_accessor :artifact
|
32
35
|
|
@@ -46,6 +49,7 @@ module PulpOstreeClient
|
|
46
49
|
:'prn' => :'prn',
|
47
50
|
:'pulp_created' => :'pulp_created',
|
48
51
|
:'pulp_last_updated' => :'pulp_last_updated',
|
52
|
+
:'pulp_labels' => :'pulp_labels',
|
49
53
|
:'artifact' => :'artifact',
|
50
54
|
:'relative_path' => :'relative_path',
|
51
55
|
:'commit' => :'commit',
|
@@ -66,6 +70,7 @@ module PulpOstreeClient
|
|
66
70
|
:'prn' => :'String',
|
67
71
|
:'pulp_created' => :'Time',
|
68
72
|
:'pulp_last_updated' => :'Time',
|
73
|
+
:'pulp_labels' => :'Hash<String, String>',
|
69
74
|
:'artifact' => :'String',
|
70
75
|
:'relative_path' => :'String',
|
71
76
|
:'commit' => :'String',
|
@@ -111,6 +116,12 @@ module PulpOstreeClient
|
|
111
116
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
112
117
|
end
|
113
118
|
|
119
|
+
if attributes.key?(:'pulp_labels')
|
120
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
121
|
+
self.pulp_labels = value
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
114
125
|
if attributes.key?(:'artifact')
|
115
126
|
self.artifact = attributes[:'artifact']
|
116
127
|
else
|
@@ -184,6 +195,7 @@ module PulpOstreeClient
|
|
184
195
|
prn == o.prn &&
|
185
196
|
pulp_created == o.pulp_created &&
|
186
197
|
pulp_last_updated == o.pulp_last_updated &&
|
198
|
+
pulp_labels == o.pulp_labels &&
|
187
199
|
artifact == o.artifact &&
|
188
200
|
relative_path == o.relative_path &&
|
189
201
|
commit == o.commit &&
|
@@ -200,7 +212,7 @@ module PulpOstreeClient
|
|
200
212
|
# Calculates hash code according to all attributes.
|
201
213
|
# @return [Integer] Hash code
|
202
214
|
def hash
|
203
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, artifact, relative_path, commit, checksum, name].hash
|
215
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifact, relative_path, commit, checksum, name].hash
|
204
216
|
end
|
205
217
|
|
206
218
|
# Builds the object from hash
|
@@ -27,6 +27,9 @@ module PulpOstreeClient
|
|
27
27
|
# 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.
|
28
28
|
attr_accessor :pulp_last_updated
|
29
29
|
|
30
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
31
|
+
attr_accessor :pulp_labels
|
32
|
+
|
30
33
|
# Artifact file representing the physical content
|
31
34
|
attr_accessor :artifact
|
32
35
|
|
@@ -40,6 +43,7 @@ module PulpOstreeClient
|
|
40
43
|
:'prn' => :'prn',
|
41
44
|
:'pulp_created' => :'pulp_created',
|
42
45
|
:'pulp_last_updated' => :'pulp_last_updated',
|
46
|
+
:'pulp_labels' => :'pulp_labels',
|
43
47
|
:'artifact' => :'artifact',
|
44
48
|
:'relative_path' => :'relative_path'
|
45
49
|
}
|
@@ -57,6 +61,7 @@ module PulpOstreeClient
|
|
57
61
|
:'prn' => :'String',
|
58
62
|
:'pulp_created' => :'Time',
|
59
63
|
:'pulp_last_updated' => :'Time',
|
64
|
+
:'pulp_labels' => :'Hash<String, String>',
|
60
65
|
:'artifact' => :'String',
|
61
66
|
:'relative_path' => :'String'
|
62
67
|
}
|
@@ -99,6 +104,12 @@ module PulpOstreeClient
|
|
99
104
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
100
105
|
end
|
101
106
|
|
107
|
+
if attributes.key?(:'pulp_labels')
|
108
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
109
|
+
self.pulp_labels = value
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
102
113
|
if attributes.key?(:'artifact')
|
103
114
|
self.artifact = attributes[:'artifact']
|
104
115
|
else
|
@@ -146,6 +157,7 @@ module PulpOstreeClient
|
|
146
157
|
prn == o.prn &&
|
147
158
|
pulp_created == o.pulp_created &&
|
148
159
|
pulp_last_updated == o.pulp_last_updated &&
|
160
|
+
pulp_labels == o.pulp_labels &&
|
149
161
|
artifact == o.artifact &&
|
150
162
|
relative_path == o.relative_path
|
151
163
|
end
|
@@ -159,7 +171,7 @@ module PulpOstreeClient
|
|
159
171
|
# Calculates hash code according to all attributes.
|
160
172
|
# @return [Integer] Hash code
|
161
173
|
def hash
|
162
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, artifact, relative_path].hash
|
174
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifact, relative_path].hash
|
163
175
|
end
|
164
176
|
|
165
177
|
# Builds the object from hash
|
@@ -39,11 +39,12 @@ describe 'ContentCommitsApi' do
|
|
39
39
|
# @option opts [String] :checksum Filter results where checksum matches value
|
40
40
|
# @option opts [Integer] :limit Number of results to return per page.
|
41
41
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
42
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `checksum` - Checksum * `-checksum` - Checksum (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
42
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `checksum` - Checksum * `-checksum` - Checksum (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
43
43
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
44
44
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
45
45
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
46
46
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
47
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
47
48
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
48
49
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
49
50
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -71,4 +72,30 @@ describe 'ContentCommitsApi' do
|
|
71
72
|
end
|
72
73
|
end
|
73
74
|
|
75
|
+
# unit tests for set_label
|
76
|
+
# Set a label
|
77
|
+
# Set a single pulp_label on the object to a specific value or null.
|
78
|
+
# @param ostree_ostree_commit_href
|
79
|
+
# @param set_label
|
80
|
+
# @param [Hash] opts the optional parameters
|
81
|
+
# @return [SetLabelResponse]
|
82
|
+
describe 'set_label test' do
|
83
|
+
it 'should work' do
|
84
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
# unit tests for unset_label
|
89
|
+
# Unset a label
|
90
|
+
# Unset a single pulp_label on the object.
|
91
|
+
# @param ostree_ostree_commit_href
|
92
|
+
# @param unset_label
|
93
|
+
# @param [Hash] opts the optional parameters
|
94
|
+
# @return [UnsetLabelResponse]
|
95
|
+
describe 'unset_label test' do
|
96
|
+
it 'should work' do
|
97
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
74
101
|
end
|
@@ -43,6 +43,7 @@ describe 'ContentConfigsApi' do
|
|
43
43
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
44
44
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
45
45
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
46
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
46
47
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
47
48
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
48
49
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -70,4 +71,30 @@ describe 'ContentConfigsApi' do
|
|
70
71
|
end
|
71
72
|
end
|
72
73
|
|
74
|
+
# unit tests for set_label
|
75
|
+
# Set a label
|
76
|
+
# Set a single pulp_label on the object to a specific value or null.
|
77
|
+
# @param ostree_ostree_config_href
|
78
|
+
# @param set_label
|
79
|
+
# @param [Hash] opts the optional parameters
|
80
|
+
# @return [SetLabelResponse]
|
81
|
+
describe 'set_label test' do
|
82
|
+
it 'should work' do
|
83
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
# unit tests for unset_label
|
88
|
+
# Unset a label
|
89
|
+
# Unset a single pulp_label on the object.
|
90
|
+
# @param ostree_ostree_config_href
|
91
|
+
# @param unset_label
|
92
|
+
# @param [Hash] opts the optional parameters
|
93
|
+
# @return [UnsetLabelResponse]
|
94
|
+
describe 'unset_label test' do
|
95
|
+
it 'should work' do
|
96
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
73
100
|
end
|
@@ -55,6 +55,7 @@ describe 'ContentContentApi' do
|
|
55
55
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
56
56
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
57
57
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
58
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
58
59
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
59
60
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
60
61
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -82,4 +83,30 @@ describe 'ContentContentApi' do
|
|
82
83
|
end
|
83
84
|
end
|
84
85
|
|
86
|
+
# unit tests for set_label
|
87
|
+
# Set a label
|
88
|
+
# Set a single pulp_label on the object to a specific value or null.
|
89
|
+
# @param ostree_ostree_content_href
|
90
|
+
# @param set_label
|
91
|
+
# @param [Hash] opts the optional parameters
|
92
|
+
# @return [SetLabelResponse]
|
93
|
+
describe 'set_label test' do
|
94
|
+
it 'should work' do
|
95
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
# unit tests for unset_label
|
100
|
+
# Unset a label
|
101
|
+
# Unset a single pulp_label on the object.
|
102
|
+
# @param ostree_ostree_content_href
|
103
|
+
# @param unset_label
|
104
|
+
# @param [Hash] opts the optional parameters
|
105
|
+
# @return [UnsetLabelResponse]
|
106
|
+
describe 'unset_label test' do
|
107
|
+
it 'should work' do
|
108
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
85
112
|
end
|
@@ -39,11 +39,12 @@ describe 'ContentObjectsApi' do
|
|
39
39
|
# @option opts [String] :checksum Filter results where checksum matches value
|
40
40
|
# @option opts [Integer] :limit Number of results to return per page.
|
41
41
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
42
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `typ` - Typ * `-typ` - Typ (descending) * `checksum` - Checksum * `-checksum` - Checksum (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
42
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `typ` - Typ * `-typ` - Typ (descending) * `checksum` - Checksum * `-checksum` - Checksum (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
43
43
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
44
44
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
45
45
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
46
46
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
47
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
47
48
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
48
49
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
49
50
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -71,4 +72,30 @@ describe 'ContentObjectsApi' do
|
|
71
72
|
end
|
72
73
|
end
|
73
74
|
|
75
|
+
# unit tests for set_label
|
76
|
+
# Set a label
|
77
|
+
# Set a single pulp_label on the object to a specific value or null.
|
78
|
+
# @param ostree_ostree_object_href
|
79
|
+
# @param set_label
|
80
|
+
# @param [Hash] opts the optional parameters
|
81
|
+
# @return [SetLabelResponse]
|
82
|
+
describe 'set_label test' do
|
83
|
+
it 'should work' do
|
84
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
# unit tests for unset_label
|
89
|
+
# Unset a label
|
90
|
+
# Unset a single pulp_label on the object.
|
91
|
+
# @param ostree_ostree_object_href
|
92
|
+
# @param unset_label
|
93
|
+
# @param [Hash] opts the optional parameters
|
94
|
+
# @return [UnsetLabelResponse]
|
95
|
+
describe 'unset_label test' do
|
96
|
+
it 'should work' do
|
97
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
74
101
|
end
|
@@ -48,11 +48,12 @@ describe 'ContentRefsApi' do
|
|
48
48
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
49
49
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
50
50
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
51
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
51
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
52
52
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
53
53
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
54
54
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
55
55
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
56
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
56
57
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
57
58
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
58
59
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -80,4 +81,30 @@ describe 'ContentRefsApi' do
|
|
80
81
|
end
|
81
82
|
end
|
82
83
|
|
84
|
+
# unit tests for set_label
|
85
|
+
# Set a label
|
86
|
+
# Set a single pulp_label on the object to a specific value or null.
|
87
|
+
# @param ostree_ostree_ref_href
|
88
|
+
# @param set_label
|
89
|
+
# @param [Hash] opts the optional parameters
|
90
|
+
# @return [SetLabelResponse]
|
91
|
+
describe 'set_label test' do
|
92
|
+
it 'should work' do
|
93
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
94
|
+
end
|
95
|
+
end
|
96
|
+
|
97
|
+
# unit tests for unset_label
|
98
|
+
# Unset a label
|
99
|
+
# Unset a single pulp_label on the object.
|
100
|
+
# @param ostree_ostree_ref_href
|
101
|
+
# @param unset_label
|
102
|
+
# @param [Hash] opts the optional parameters
|
103
|
+
# @return [UnsetLabelResponse]
|
104
|
+
describe 'unset_label test' do
|
105
|
+
it 'should work' do
|
106
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
107
|
+
end
|
108
|
+
end
|
109
|
+
|
83
110
|
end
|