pulp_ostree_client 2.0.0a6 → 2.0.0a7.dev1675912380
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pulp_ostree_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +7 -6
- data/docs/ContentCommitsApi.md +8 -8
- data/docs/ContentConfigsApi.md +8 -8
- data/docs/ContentObjectsApi.md +8 -8
- data/docs/ContentRefsApi.md +8 -8
- data/docs/ContentSummariesApi.md +8 -8
- data/docs/DistributionsOstreeApi.md +18 -12
- data/docs/OstreeOstreeDistribution.md +1 -1
- data/docs/OstreeOstreeDistributionResponse.md +1 -1
- data/docs/OstreeOstreeRemote.md +1 -1
- data/docs/OstreeOstreeRemoteResponse.md +3 -1
- data/docs/OstreeOstreeRemoteResponseHiddenFields.md +19 -0
- data/docs/OstreeOstreeRepository.md +1 -1
- data/docs/OstreeOstreeRepositoryResponse.md +1 -1
- data/docs/PatchedostreeOstreeDistribution.md +1 -1
- data/docs/PatchedostreeOstreeRemote.md +1 -1
- data/docs/PatchedostreeOstreeRepository.md +1 -1
- data/docs/RemotesOstreeApi.md +12 -12
- data/docs/RepositoriesOstreeApi.md +28 -10
- data/docs/RepositoriesOstreeVersionsApi.md +12 -12
- data/lib/pulp_ostree_client/api/content_commits_api.rb +13 -13
- data/lib/pulp_ostree_client/api/content_configs_api.rb +12 -12
- data/lib/pulp_ostree_client/api/content_objects_api.rb +13 -13
- data/lib/pulp_ostree_client/api/content_refs_api.rb +13 -13
- data/lib/pulp_ostree_client/api/content_summaries_api.rb +12 -12
- data/lib/pulp_ostree_client/api/distributions_ostree_api.rb +26 -17
- data/lib/pulp_ostree_client/api/remotes_ostree_api.rb +17 -17
- data/lib/pulp_ostree_client/api/repositories_ostree_api.rb +42 -15
- data/lib/pulp_ostree_client/api/repositories_ostree_versions_api.rb +17 -17
- data/lib/pulp_ostree_client/api_client.rb +1 -1
- data/lib/pulp_ostree_client/models/ostree_ostree_distribution.rb +4 -2
- data/lib/pulp_ostree_client/models/ostree_ostree_distribution_response.rb +4 -2
- data/lib/pulp_ostree_client/models/ostree_ostree_remote.rb +4 -2
- data/lib/pulp_ostree_client/models/ostree_ostree_remote_response.rb +17 -3
- data/lib/pulp_ostree_client/models/ostree_ostree_remote_response_hidden_fields.rb +215 -0
- data/lib/pulp_ostree_client/models/ostree_ostree_repository.rb +4 -2
- data/lib/pulp_ostree_client/models/ostree_ostree_repository_response.rb +4 -2
- data/lib/pulp_ostree_client/models/patchedostree_ostree_distribution.rb +4 -2
- data/lib/pulp_ostree_client/models/patchedostree_ostree_remote.rb +4 -2
- data/lib/pulp_ostree_client/models/patchedostree_ostree_repository.rb +4 -2
- data/lib/pulp_ostree_client/version.rb +1 -1
- data/lib/pulp_ostree_client.rb +1 -0
- data/pulp_ostree_client.gemspec +3 -3
- data/spec/api/content_commits_api_spec.rb +4 -4
- data/spec/api/content_configs_api_spec.rb +4 -4
- data/spec/api/content_objects_api_spec.rb +4 -4
- data/spec/api/content_refs_api_spec.rb +4 -4
- data/spec/api/content_summaries_api_spec.rb +4 -4
- data/spec/api/distributions_ostree_api_spec.rb +9 -6
- data/spec/api/remotes_ostree_api_spec.rb +6 -6
- data/spec/api/repositories_ostree_api_spec.rb +14 -5
- data/spec/api/repositories_ostree_versions_api_spec.rb +6 -6
- data/spec/models/ostree_ostree_remote_response_hidden_fields_spec.rb +47 -0
- data/spec/models/ostree_ostree_remote_response_spec.rb +6 -0
- metadata +41 -38
- data/git_push.sh +0 -58
@@ -0,0 +1,215 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module PulpOstreeClient
|
16
|
+
class OstreeOstreeRemoteResponseHiddenFields
|
17
|
+
attr_accessor :name
|
18
|
+
|
19
|
+
attr_accessor :is_set
|
20
|
+
|
21
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
22
|
+
def self.attribute_map
|
23
|
+
{
|
24
|
+
:'name' => :'name',
|
25
|
+
:'is_set' => :'is_set'
|
26
|
+
}
|
27
|
+
end
|
28
|
+
|
29
|
+
# Attribute type mapping.
|
30
|
+
def self.openapi_types
|
31
|
+
{
|
32
|
+
:'name' => :'String',
|
33
|
+
:'is_set' => :'Boolean'
|
34
|
+
}
|
35
|
+
end
|
36
|
+
|
37
|
+
# List of attributes with nullable: true
|
38
|
+
def self.openapi_nullable
|
39
|
+
Set.new([
|
40
|
+
])
|
41
|
+
end
|
42
|
+
|
43
|
+
# Initializes the object
|
44
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
45
|
+
def initialize(attributes = {})
|
46
|
+
if (!attributes.is_a?(Hash))
|
47
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpOstreeClient::OstreeOstreeRemoteResponseHiddenFields` initialize method"
|
48
|
+
end
|
49
|
+
|
50
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
51
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
52
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
53
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpOstreeClient::OstreeOstreeRemoteResponseHiddenFields`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
54
|
+
end
|
55
|
+
h[k.to_sym] = v
|
56
|
+
}
|
57
|
+
|
58
|
+
if attributes.key?(:'name')
|
59
|
+
self.name = attributes[:'name']
|
60
|
+
end
|
61
|
+
|
62
|
+
if attributes.key?(:'is_set')
|
63
|
+
self.is_set = attributes[:'is_set']
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
68
|
+
# @return Array for valid properties with the reasons
|
69
|
+
def list_invalid_properties
|
70
|
+
invalid_properties = Array.new
|
71
|
+
invalid_properties
|
72
|
+
end
|
73
|
+
|
74
|
+
# Check to see if the all the properties in the model are valid
|
75
|
+
# @return true if the model is valid
|
76
|
+
def valid?
|
77
|
+
true
|
78
|
+
end
|
79
|
+
|
80
|
+
# Checks equality by comparing each attribute.
|
81
|
+
# @param [Object] Object to be compared
|
82
|
+
def ==(o)
|
83
|
+
return true if self.equal?(o)
|
84
|
+
self.class == o.class &&
|
85
|
+
name == o.name &&
|
86
|
+
is_set == o.is_set
|
87
|
+
end
|
88
|
+
|
89
|
+
# @see the `==` method
|
90
|
+
# @param [Object] Object to be compared
|
91
|
+
def eql?(o)
|
92
|
+
self == o
|
93
|
+
end
|
94
|
+
|
95
|
+
# Calculates hash code according to all attributes.
|
96
|
+
# @return [Integer] Hash code
|
97
|
+
def hash
|
98
|
+
[name, is_set].hash
|
99
|
+
end
|
100
|
+
|
101
|
+
# Builds the object from hash
|
102
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
103
|
+
# @return [Object] Returns the model itself
|
104
|
+
def self.build_from_hash(attributes)
|
105
|
+
new.build_from_hash(attributes)
|
106
|
+
end
|
107
|
+
|
108
|
+
# Builds the object from hash
|
109
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
110
|
+
# @return [Object] Returns the model itself
|
111
|
+
def build_from_hash(attributes)
|
112
|
+
return nil unless attributes.is_a?(Hash)
|
113
|
+
self.class.openapi_types.each_pair do |key, type|
|
114
|
+
if type =~ /\AArray<(.*)>/i
|
115
|
+
# check to ensure the input is an array given that the attribute
|
116
|
+
# is documented as an array but the input is not
|
117
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
118
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
119
|
+
end
|
120
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
121
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
122
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
123
|
+
end
|
124
|
+
|
125
|
+
self
|
126
|
+
end
|
127
|
+
|
128
|
+
# Deserializes the data based on type
|
129
|
+
# @param string type Data type
|
130
|
+
# @param string value Value to be deserialized
|
131
|
+
# @return [Object] Deserialized data
|
132
|
+
def _deserialize(type, value)
|
133
|
+
case type.to_sym
|
134
|
+
when :DateTime
|
135
|
+
DateTime.parse(value)
|
136
|
+
when :Date
|
137
|
+
Date.parse(value)
|
138
|
+
when :String
|
139
|
+
value.to_s
|
140
|
+
when :Integer
|
141
|
+
value.to_i
|
142
|
+
when :Float
|
143
|
+
value.to_f
|
144
|
+
when :Boolean
|
145
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
146
|
+
true
|
147
|
+
else
|
148
|
+
false
|
149
|
+
end
|
150
|
+
when :Object
|
151
|
+
# generic object (usually a Hash), return directly
|
152
|
+
value
|
153
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
154
|
+
inner_type = Regexp.last_match[:inner_type]
|
155
|
+
value.map { |v| _deserialize(inner_type, v) }
|
156
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
157
|
+
k_type = Regexp.last_match[:k_type]
|
158
|
+
v_type = Regexp.last_match[:v_type]
|
159
|
+
{}.tap do |hash|
|
160
|
+
value.each do |k, v|
|
161
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
162
|
+
end
|
163
|
+
end
|
164
|
+
else # model
|
165
|
+
PulpOstreeClient.const_get(type).build_from_hash(value)
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
169
|
+
# Returns the string representation of the object
|
170
|
+
# @return [String] String presentation of the object
|
171
|
+
def to_s
|
172
|
+
to_hash.to_s
|
173
|
+
end
|
174
|
+
|
175
|
+
# to_body is an alias to to_hash (backward compatibility)
|
176
|
+
# @return [Hash] Returns the object in the form of hash
|
177
|
+
def to_body
|
178
|
+
to_hash
|
179
|
+
end
|
180
|
+
|
181
|
+
# Returns the object in the form of hash
|
182
|
+
# @return [Hash] Returns the object in the form of hash
|
183
|
+
def to_hash
|
184
|
+
hash = {}
|
185
|
+
self.class.attribute_map.each_pair do |attr, param|
|
186
|
+
value = self.send(attr)
|
187
|
+
if value.nil?
|
188
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
189
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
190
|
+
end
|
191
|
+
|
192
|
+
hash[param] = _to_hash(value)
|
193
|
+
end
|
194
|
+
hash
|
195
|
+
end
|
196
|
+
|
197
|
+
# Outputs non-array value in the form of hash
|
198
|
+
# For object, use to_hash. Otherwise, just return the value
|
199
|
+
# @param [Object] value Any valid value
|
200
|
+
# @return [Hash] Returns the value in the form of hash
|
201
|
+
def _to_hash(value)
|
202
|
+
if value.is_a?(Array)
|
203
|
+
value.compact.map { |v| _to_hash(v) }
|
204
|
+
elsif value.is_a?(Hash)
|
205
|
+
{}.tap do |hash|
|
206
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
207
|
+
end
|
208
|
+
elsif value.respond_to? :to_hash
|
209
|
+
value.to_hash
|
210
|
+
else
|
211
|
+
value
|
212
|
+
end
|
213
|
+
end
|
214
|
+
end
|
215
|
+
end
|
@@ -43,7 +43,7 @@ module PulpOstreeClient
|
|
43
43
|
# Attribute type mapping.
|
44
44
|
def self.openapi_types
|
45
45
|
{
|
46
|
-
:'pulp_labels' => :'
|
46
|
+
:'pulp_labels' => :'Hash<String, String>',
|
47
47
|
:'name' => :'String',
|
48
48
|
:'description' => :'String',
|
49
49
|
:'retain_repo_versions' => :'Integer',
|
@@ -76,7 +76,9 @@ module PulpOstreeClient
|
|
76
76
|
}
|
77
77
|
|
78
78
|
if attributes.key?(:'pulp_labels')
|
79
|
-
|
79
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
80
|
+
self.pulp_labels = value
|
81
|
+
end
|
80
82
|
end
|
81
83
|
|
82
84
|
if attributes.key?(:'name')
|
@@ -59,7 +59,7 @@ module PulpOstreeClient
|
|
59
59
|
:'pulp_href' => :'String',
|
60
60
|
:'pulp_created' => :'DateTime',
|
61
61
|
:'versions_href' => :'String',
|
62
|
-
:'pulp_labels' => :'
|
62
|
+
:'pulp_labels' => :'Hash<String, String>',
|
63
63
|
:'latest_version_href' => :'String',
|
64
64
|
:'name' => :'String',
|
65
65
|
:'description' => :'String',
|
@@ -105,7 +105,9 @@ module PulpOstreeClient
|
|
105
105
|
end
|
106
106
|
|
107
107
|
if attributes.key?(:'pulp_labels')
|
108
|
-
|
108
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
109
|
+
self.pulp_labels = value
|
110
|
+
end
|
109
111
|
end
|
110
112
|
|
111
113
|
if attributes.key?(:'latest_version_href')
|
@@ -49,7 +49,7 @@ module PulpOstreeClient
|
|
49
49
|
{
|
50
50
|
:'base_path' => :'String',
|
51
51
|
:'content_guard' => :'String',
|
52
|
-
:'pulp_labels' => :'
|
52
|
+
:'pulp_labels' => :'Hash<String, String>',
|
53
53
|
:'name' => :'String',
|
54
54
|
:'repository' => :'String',
|
55
55
|
:'repository_version' => :'String'
|
@@ -89,7 +89,9 @@ module PulpOstreeClient
|
|
89
89
|
end
|
90
90
|
|
91
91
|
if attributes.key?(:'pulp_labels')
|
92
|
-
|
92
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
93
|
+
self.pulp_labels = value
|
94
|
+
end
|
93
95
|
end
|
94
96
|
|
95
97
|
if attributes.key?(:'name')
|
@@ -130,7 +130,7 @@ module PulpOstreeClient
|
|
130
130
|
:'proxy_password' => :'String',
|
131
131
|
:'username' => :'String',
|
132
132
|
:'password' => :'String',
|
133
|
-
:'pulp_labels' => :'
|
133
|
+
:'pulp_labels' => :'Hash<String, String>',
|
134
134
|
:'download_concurrency' => :'Integer',
|
135
135
|
:'max_retries' => :'Integer',
|
136
136
|
:'policy' => :'PolicyEnum',
|
@@ -229,7 +229,9 @@ module PulpOstreeClient
|
|
229
229
|
end
|
230
230
|
|
231
231
|
if attributes.key?(:'pulp_labels')
|
232
|
-
|
232
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
233
|
+
self.pulp_labels = value
|
234
|
+
end
|
233
235
|
end
|
234
236
|
|
235
237
|
if attributes.key?(:'download_concurrency')
|
@@ -43,7 +43,7 @@ module PulpOstreeClient
|
|
43
43
|
# Attribute type mapping.
|
44
44
|
def self.openapi_types
|
45
45
|
{
|
46
|
-
:'pulp_labels' => :'
|
46
|
+
:'pulp_labels' => :'Hash<String, String>',
|
47
47
|
:'name' => :'String',
|
48
48
|
:'description' => :'String',
|
49
49
|
:'retain_repo_versions' => :'Integer',
|
@@ -76,7 +76,9 @@ module PulpOstreeClient
|
|
76
76
|
}
|
77
77
|
|
78
78
|
if attributes.key?(:'pulp_labels')
|
79
|
-
|
79
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
80
|
+
self.pulp_labels = value
|
81
|
+
end
|
80
82
|
end
|
81
83
|
|
82
84
|
if attributes.key?(:'name')
|
data/lib/pulp_ostree_client.rb
CHANGED
@@ -29,6 +29,7 @@ require 'pulp_ostree_client/models/ostree_ostree_object_response'
|
|
29
29
|
require 'pulp_ostree_client/models/ostree_ostree_ref_response'
|
30
30
|
require 'pulp_ostree_client/models/ostree_ostree_remote'
|
31
31
|
require 'pulp_ostree_client/models/ostree_ostree_remote_response'
|
32
|
+
require 'pulp_ostree_client/models/ostree_ostree_remote_response_hidden_fields'
|
32
33
|
require 'pulp_ostree_client/models/ostree_ostree_repository'
|
33
34
|
require 'pulp_ostree_client/models/ostree_ostree_repository_response'
|
34
35
|
require 'pulp_ostree_client/models/ostree_ostree_summary_response'
|
data/pulp_ostree_client.gemspec
CHANGED
@@ -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://
|
24
|
+
s.homepage = "https://github.com/pulp/pulp_ostree"
|
25
25
|
s.summary = "Pulp 3 API Ruby Gem"
|
26
26
|
s.description = "Fetch, Upload, Organize, and Distribute Software Packages"
|
27
|
-
s.license = '
|
27
|
+
s.license = 'GPLv2+'
|
28
28
|
s.required_ruby_version = ">= 1.9"
|
29
29
|
|
30
|
-
s.add_runtime_dependency 'faraday', '
|
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'
|
@@ -43,8 +43,8 @@ describe 'ContentCommitsApi' do
|
|
43
43
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
44
44
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
45
45
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
46
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
47
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
46
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
47
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
48
48
|
# @return [PaginatedostreeOstreeCommitResponseList]
|
49
49
|
describe 'list test' do
|
50
50
|
it 'should work' do
|
@@ -57,8 +57,8 @@ describe 'ContentCommitsApi' do
|
|
57
57
|
# A ViewSet class for OSTree commits.
|
58
58
|
# @param ostree_ostree_commit_href
|
59
59
|
# @param [Hash] opts the optional parameters
|
60
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
61
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
60
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
61
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
62
62
|
# @return [OstreeOstreeCommitResponse]
|
63
63
|
describe 'read test' do
|
64
64
|
it 'should work' do
|
@@ -42,8 +42,8 @@ describe 'ContentConfigsApi' do
|
|
42
42
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
43
43
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
44
44
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
45
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
46
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
45
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
46
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
47
47
|
# @return [PaginatedostreeOstreeConfigResponseList]
|
48
48
|
describe 'list test' do
|
49
49
|
it 'should work' do
|
@@ -56,8 +56,8 @@ describe 'ContentConfigsApi' do
|
|
56
56
|
# A ViewSet class for OSTree repository configurations.
|
57
57
|
# @param ostree_ostree_config_href
|
58
58
|
# @param [Hash] opts the optional parameters
|
59
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
60
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
59
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
60
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
61
61
|
# @return [OstreeOstreeConfigResponse]
|
62
62
|
describe 'read test' do
|
63
63
|
it 'should work' do
|
@@ -43,8 +43,8 @@ describe 'ContentObjectsApi' do
|
|
43
43
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
44
44
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
45
45
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
46
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
47
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
46
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
47
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
48
48
|
# @return [PaginatedostreeOstreeObjectResponseList]
|
49
49
|
describe 'list test' do
|
50
50
|
it 'should work' do
|
@@ -57,8 +57,8 @@ describe 'ContentObjectsApi' do
|
|
57
57
|
# A ViewSet class for OSTree objects (e.g., dirtree, dirmeta, file).
|
58
58
|
# @param ostree_ostree_object_href
|
59
59
|
# @param [Hash] opts the optional parameters
|
60
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
61
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
60
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
61
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
62
62
|
# @return [OstreeOstreeObjectResponse]
|
63
63
|
describe 'read test' do
|
64
64
|
it 'should work' do
|
@@ -48,8 +48,8 @@ describe 'ContentRefsApi' do
|
|
48
48
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
49
49
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
50
50
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
51
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
52
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
51
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
52
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
53
53
|
# @return [PaginatedostreeOstreeRefResponseList]
|
54
54
|
describe 'list test' do
|
55
55
|
it 'should work' do
|
@@ -62,8 +62,8 @@ describe 'ContentRefsApi' do
|
|
62
62
|
# A ViewSet class for OSTree head commits.
|
63
63
|
# @param ostree_ostree_ref_href
|
64
64
|
# @param [Hash] opts the optional parameters
|
65
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
66
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
65
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
66
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
67
67
|
# @return [OstreeOstreeRefResponse]
|
68
68
|
describe 'read test' do
|
69
69
|
it 'should work' do
|
@@ -42,8 +42,8 @@ describe 'ContentSummariesApi' do
|
|
42
42
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
43
43
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
44
44
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
45
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
46
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
45
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
46
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
47
47
|
# @return [PaginatedostreeOstreeSummaryResponseList]
|
48
48
|
describe 'list test' do
|
49
49
|
it 'should work' do
|
@@ -56,8 +56,8 @@ describe 'ContentSummariesApi' do
|
|
56
56
|
# A ViewSet class for OSTree repository summary files.
|
57
57
|
# @param ostree_ostree_summary_href
|
58
58
|
# @param [Hash] opts the optional parameters
|
59
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
60
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
59
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
60
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
61
61
|
# @return [OstreeOstreeSummaryResponse]
|
62
62
|
describe 'read test' do
|
63
63
|
it 'should work' do
|
@@ -60,12 +60,12 @@ describe 'DistributionsOstreeApi' do
|
|
60
60
|
# List ostree distributions
|
61
61
|
# A ViewSet class for OSTree distributions.
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
|
-
# @option opts [String] :base_path
|
63
|
+
# @option opts [String] :base_path Filter results where base_path matches value
|
64
64
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
65
65
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
66
66
|
# @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
|
67
67
|
# @option opts [Integer] :limit Number of results to return per page.
|
68
|
-
# @option opts [String] :name
|
68
|
+
# @option opts [String] :name Filter results where name matches value
|
69
69
|
# @option opts [String] :name__contains Filter results where name contains value
|
70
70
|
# @option opts [String] :name__icontains Filter results where name contains value
|
71
71
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
@@ -73,8 +73,11 @@ describe 'DistributionsOstreeApi' do
|
|
73
73
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
74
74
|
# @option opts [Array<String>] :ordering Ordering
|
75
75
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
76
|
-
# @option opts [String] :
|
77
|
-
# @option opts [String] :
|
76
|
+
# @option opts [String] :repository Filter results where repository matches value
|
77
|
+
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
78
|
+
# @option opts [String] :with_content Filter distributions based on the content served by them
|
79
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
80
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
78
81
|
# @return [PaginatedostreeOstreeDistributionResponseList]
|
79
82
|
describe 'list test' do
|
80
83
|
it 'should work' do
|
@@ -100,8 +103,8 @@ describe 'DistributionsOstreeApi' do
|
|
100
103
|
# A ViewSet class for OSTree distributions.
|
101
104
|
# @param ostree_ostree_distribution_href
|
102
105
|
# @param [Hash] opts the optional parameters
|
103
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
104
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
106
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
107
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
105
108
|
# @return [OstreeOstreeDistributionResponse]
|
106
109
|
describe 'read test' do
|
107
110
|
it 'should work' do
|
@@ -61,7 +61,7 @@ describe 'RemotesOstreeApi' do
|
|
61
61
|
# A ViewSet class for OSTree remote repositories.
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
63
|
# @option opts [Integer] :limit Number of results to return per page.
|
64
|
-
# @option opts [String] :name
|
64
|
+
# @option opts [String] :name Filter results where name matches value
|
65
65
|
# @option opts [String] :name__contains Filter results where name contains value
|
66
66
|
# @option opts [String] :name__icontains Filter results where name contains value
|
67
67
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
@@ -69,14 +69,14 @@ describe 'RemotesOstreeApi' do
|
|
69
69
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
70
70
|
# @option opts [Array<String>] :ordering Ordering
|
71
71
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
72
|
-
# @option opts [DateTime] :pulp_last_updated
|
72
|
+
# @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
|
73
73
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
74
74
|
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
75
75
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
76
76
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
77
77
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
78
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
79
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
78
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
79
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
80
80
|
# @return [PaginatedostreeOstreeRemoteResponseList]
|
81
81
|
describe 'list test' do
|
82
82
|
it 'should work' do
|
@@ -102,8 +102,8 @@ describe 'RemotesOstreeApi' do
|
|
102
102
|
# A ViewSet class for OSTree remote repositories.
|
103
103
|
# @param ostree_ostree_remote_href
|
104
104
|
# @param [Hash] opts the optional parameters
|
105
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
106
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
105
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
106
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
107
107
|
# @return [OstreeOstreeRemoteResponse]
|
108
108
|
describe 'read test' do
|
109
109
|
it 'should work' do
|
@@ -87,7 +87,7 @@ describe 'RepositoriesOstreeApi' do
|
|
87
87
|
# A ViewSet class for OSTree repositories.
|
88
88
|
# @param [Hash] opts the optional parameters
|
89
89
|
# @option opts [Integer] :limit Number of results to return per page.
|
90
|
-
# @option opts [String] :name
|
90
|
+
# @option opts [String] :name Filter results where name matches value
|
91
91
|
# @option opts [String] :name__contains Filter results where name contains value
|
92
92
|
# @option opts [String] :name__icontains Filter results where name contains value
|
93
93
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
@@ -95,8 +95,17 @@ describe 'RepositoriesOstreeApi' do
|
|
95
95
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
96
96
|
# @option opts [Array<String>] :ordering Ordering
|
97
97
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
98
|
-
# @option opts [String] :
|
99
|
-
# @option opts [
|
98
|
+
# @option opts [String] :remote Foreign Key referenced by HREF
|
99
|
+
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
100
|
+
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
101
|
+
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
102
|
+
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
103
|
+
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
104
|
+
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
105
|
+
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
106
|
+
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
107
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
108
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
100
109
|
# @return [PaginatedostreeOstreeRepositoryResponseList]
|
101
110
|
describe 'list test' do
|
102
111
|
it 'should work' do
|
@@ -135,8 +144,8 @@ describe 'RepositoriesOstreeApi' do
|
|
135
144
|
# A ViewSet class for OSTree repositories.
|
136
145
|
# @param ostree_ostree_repository_href
|
137
146
|
# @param [Hash] opts the optional parameters
|
138
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
139
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
147
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
148
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
140
149
|
# @return [OstreeOstreeRepositoryResponse]
|
141
150
|
describe 'read test' do
|
142
151
|
it 'should work' do
|
@@ -52,7 +52,7 @@ describe 'RepositoriesOstreeVersionsApi' do
|
|
52
52
|
# @option opts [String] :content Content Unit referenced by HREF
|
53
53
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
54
54
|
# @option opts [Integer] :limit Number of results to return per page.
|
55
|
-
# @option opts [Integer] :number
|
55
|
+
# @option opts [Integer] :number Filter results where number matches value
|
56
56
|
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
57
57
|
# @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
|
58
58
|
# @option opts [Integer] :number__lt Filter results where number is less than value
|
@@ -60,14 +60,14 @@ describe 'RepositoriesOstreeVersionsApi' do
|
|
60
60
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
61
61
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
62
62
|
# @option opts [Array<String>] :ordering Ordering
|
63
|
-
# @option opts [DateTime] :pulp_created
|
63
|
+
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
64
64
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
65
65
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
66
66
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
67
67
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
68
68
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
69
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
70
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
69
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
70
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
71
71
|
# @return [PaginatedRepositoryVersionResponseList]
|
72
72
|
describe 'list test' do
|
73
73
|
it 'should work' do
|
@@ -80,8 +80,8 @@ describe 'RepositoriesOstreeVersionsApi' do
|
|
80
80
|
# A ViewSet class that represents a single OSTree repository version.
|
81
81
|
# @param ostree_ostree_repository_version_href
|
82
82
|
# @param [Hash] opts the optional parameters
|
83
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
84
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
83
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
84
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
85
85
|
# @return [RepositoryVersionResponse]
|
86
86
|
describe 'read test' do
|
87
87
|
it 'should work' do
|