pulp_ansible_client 0.19.0 → 0.20.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +44 -32
- data/docs/AnsibleAnsibleRepositoryResponse.md +1 -1
- data/docs/AnsibleCollectionRemoteResponse.md +1 -1
- data/docs/AnsibleCollectionVersion.md +6 -6
- data/docs/AnsibleCollectionsApi.md +15 -9
- data/docs/AnsibleCopyApi.md +1 -1
- data/docs/AnsibleGitRemote.md +24 -24
- data/docs/AnsibleGitRemoteResponse.md +22 -22
- data/docs/ApiCollectionsApi.md +1 -1
- data/docs/ApiRolesApi.md +1 -1
- data/docs/CollectionImportApi.md +1 -1
- data/docs/CollectionVersionListResponse.md +1 -1
- data/docs/CollectionVersionResponse.md +1 -1
- data/docs/ContentCollectionDeprecationsApi.md +3 -1
- data/docs/ContentCollectionMarksApi.md +4 -2
- data/docs/ContentCollectionSignaturesApi.md +5 -3
- data/docs/ContentCollectionVersionsApi.md +7 -7
- data/docs/ContentNamespacesApi.md +19 -1
- data/docs/ContentRolesApi.md +3 -1
- data/docs/DistributionsAnsibleApi.md +136 -10
- data/docs/GalaxyDetailApi.md +1 -1
- data/docs/PatchedansibleGitRemote.md +24 -24
- data/docs/PulpAnsibleApiApi.md +1 -1
- data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3Api.md +1 -1
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +3 -1
- data/docs/PulpAnsibleApiV3CollectionsApi.md +3 -1
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3NamespacesApi.md +19 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +3 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +3 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +23 -5
- data/docs/PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.md +1 -1
- data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +1 -1
- data/docs/PulpAnsibleDefaultApiApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3Api.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +3 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +3 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +19 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +3 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +3 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +23 -5
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +1 -1
- data/docs/PulpAnsibleTagsApi.md +1 -1
- data/docs/RemotesCollectionApi.md +135 -9
- data/docs/RemotesGitApi.md +135 -9
- data/docs/RemotesRoleApi.md +135 -9
- data/docs/RepositoriesAnsibleApi.md +136 -10
- data/docs/RepositoriesAnsibleVersionsApi.md +3 -1
- data/docs/SetLabel.md +19 -0
- data/docs/SetLabelResponse.md +19 -0
- data/docs/UnpaginatedCollectionVersionResponse.md +1 -1
- data/docs/UnsetLabel.md +17 -0
- data/docs/UnsetLabelResponse.md +19 -0
- data/docs/VersionsApi.md +1 -1
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +11 -0
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +3 -0
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +3 -0
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +3 -0
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -9
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +27 -0
- data/lib/pulp_ansible_client/api/content_roles_api.rb +3 -0
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +163 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +27 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +35 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +27 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +35 -8
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +163 -0
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +163 -0
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +163 -0
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +163 -0
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +3 -0
- data/lib/pulp_ansible_client/configuration.rb +2 -2
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +25 -25
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +195 -195
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +130 -130
- data/lib/pulp_ansible_client/models/collection_version_list_response.rb +24 -0
- data/lib/pulp_ansible_client/models/collection_version_response.rb +24 -0
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +186 -186
- data/lib/pulp_ansible_client/models/{progress_report_response.rb → set_label.rb} +52 -59
- data/lib/pulp_ansible_client/models/set_label_response.rb +243 -0
- data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +24 -0
- data/lib/pulp_ansible_client/models/{task.rb → unset_label.rb} +31 -55
- data/lib/pulp_ansible_client/models/unset_label_response.rb +242 -0
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +4 -3
- data/spec/api/ansible_collections_api_spec.rb +5 -0
- data/spec/api/content_collection_deprecations_api_spec.rb +1 -0
- data/spec/api/content_collection_marks_api_spec.rb +1 -0
- data/spec/api/content_collection_signatures_api_spec.rb +1 -0
- data/spec/api/content_collection_versions_api_spec.rb +3 -3
- data/spec/api/content_namespaces_api_spec.rb +9 -0
- data/spec/api/content_roles_api_spec.rb +1 -0
- data/spec/api/distributions_ansible_api_spec.rb +35 -0
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +9 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +13 -4
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +9 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +13 -4
- data/spec/api/remotes_collection_api_spec.rb +35 -0
- data/spec/api/remotes_git_api_spec.rb +35 -0
- data/spec/api/remotes_role_api_spec.rb +35 -0
- data/spec/api/repositories_ansible_api_spec.rb +35 -0
- data/spec/api/repositories_ansible_versions_api_spec.rb +1 -0
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/ansible_collection_version_spec.rb +4 -4
- data/spec/models/ansible_git_remote_response_spec.rb +17 -17
- data/spec/models/ansible_git_remote_spec.rb +18 -18
- data/spec/models/patchedansible_git_remote_spec.rb +18 -18
- data/spec/models/set_label_response_spec.rb +47 -0
- data/spec/models/{task_spec.rb → set_label_spec.rb} +8 -8
- data/spec/models/unset_label_response_spec.rb +47 -0
- data/spec/models/unset_label_spec.rb +41 -0
- metadata +147 -143
- data/docs/ProgressReportResponse.md +0 -27
- data/docs/Task.md +0 -19
- data/docs/TaskResponse.md +0 -47
- data/lib/pulp_ansible_client/models/task_response.rb +0 -376
- data/spec/models/progress_report_response_spec.rb +0 -71
- data/spec/models/task_response_spec.rb +0 -131
@@ -0,0 +1,242 @@
|
|
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 PulpAnsibleClient
|
16
|
+
# Serializer for synchronously setting a label.
|
17
|
+
class UnsetLabelResponse
|
18
|
+
attr_accessor :key
|
19
|
+
|
20
|
+
attr_accessor :value
|
21
|
+
|
22
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
23
|
+
def self.attribute_map
|
24
|
+
{
|
25
|
+
:'key' => :'key',
|
26
|
+
:'value' => :'value'
|
27
|
+
}
|
28
|
+
end
|
29
|
+
|
30
|
+
# Attribute type mapping.
|
31
|
+
def self.openapi_types
|
32
|
+
{
|
33
|
+
:'key' => :'String',
|
34
|
+
:'value' => :'String'
|
35
|
+
}
|
36
|
+
end
|
37
|
+
|
38
|
+
# List of attributes with nullable: true
|
39
|
+
def self.openapi_nullable
|
40
|
+
Set.new([
|
41
|
+
])
|
42
|
+
end
|
43
|
+
|
44
|
+
# Initializes the object
|
45
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
46
|
+
def initialize(attributes = {})
|
47
|
+
if (!attributes.is_a?(Hash))
|
48
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpAnsibleClient::UnsetLabelResponse` initialize method"
|
49
|
+
end
|
50
|
+
|
51
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
52
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
53
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
54
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpAnsibleClient::UnsetLabelResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
55
|
+
end
|
56
|
+
h[k.to_sym] = v
|
57
|
+
}
|
58
|
+
|
59
|
+
if attributes.key?(:'key')
|
60
|
+
self.key = attributes[:'key']
|
61
|
+
end
|
62
|
+
|
63
|
+
if attributes.key?(:'value')
|
64
|
+
self.value = attributes[:'value']
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
69
|
+
# @return Array for valid properties with the reasons
|
70
|
+
def list_invalid_properties
|
71
|
+
invalid_properties = Array.new
|
72
|
+
if @key.nil?
|
73
|
+
invalid_properties.push('invalid value for "key", key cannot be nil.')
|
74
|
+
end
|
75
|
+
|
76
|
+
pattern = Regexp.new(/^[-a-zA-Z0-9_]+$/)
|
77
|
+
if @key !~ pattern
|
78
|
+
invalid_properties.push("invalid value for \"key\", must conform to the pattern #{pattern}.")
|
79
|
+
end
|
80
|
+
|
81
|
+
invalid_properties
|
82
|
+
end
|
83
|
+
|
84
|
+
# Check to see if the all the properties in the model are valid
|
85
|
+
# @return true if the model is valid
|
86
|
+
def valid?
|
87
|
+
return false if @key.nil?
|
88
|
+
return false if @key !~ Regexp.new(/^[-a-zA-Z0-9_]+$/)
|
89
|
+
true
|
90
|
+
end
|
91
|
+
|
92
|
+
# Custom attribute writer method with validation
|
93
|
+
# @param [Object] key Value to be assigned
|
94
|
+
def key=(key)
|
95
|
+
if key.nil?
|
96
|
+
fail ArgumentError, 'key cannot be nil'
|
97
|
+
end
|
98
|
+
|
99
|
+
pattern = Regexp.new(/^[-a-zA-Z0-9_]+$/)
|
100
|
+
if key !~ pattern
|
101
|
+
fail ArgumentError, "invalid value for \"key\", must conform to the pattern #{pattern}."
|
102
|
+
end
|
103
|
+
|
104
|
+
@key = key
|
105
|
+
end
|
106
|
+
|
107
|
+
# Checks equality by comparing each attribute.
|
108
|
+
# @param [Object] Object to be compared
|
109
|
+
def ==(o)
|
110
|
+
return true if self.equal?(o)
|
111
|
+
self.class == o.class &&
|
112
|
+
key == o.key &&
|
113
|
+
value == o.value
|
114
|
+
end
|
115
|
+
|
116
|
+
# @see the `==` method
|
117
|
+
# @param [Object] Object to be compared
|
118
|
+
def eql?(o)
|
119
|
+
self == o
|
120
|
+
end
|
121
|
+
|
122
|
+
# Calculates hash code according to all attributes.
|
123
|
+
# @return [Integer] Hash code
|
124
|
+
def hash
|
125
|
+
[key, value].hash
|
126
|
+
end
|
127
|
+
|
128
|
+
# Builds the object from hash
|
129
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
130
|
+
# @return [Object] Returns the model itself
|
131
|
+
def self.build_from_hash(attributes)
|
132
|
+
new.build_from_hash(attributes)
|
133
|
+
end
|
134
|
+
|
135
|
+
# Builds the object from hash
|
136
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
137
|
+
# @return [Object] Returns the model itself
|
138
|
+
def build_from_hash(attributes)
|
139
|
+
return nil unless attributes.is_a?(Hash)
|
140
|
+
self.class.openapi_types.each_pair do |key, type|
|
141
|
+
if type =~ /\AArray<(.*)>/i
|
142
|
+
# check to ensure the input is an array given that the attribute
|
143
|
+
# is documented as an array but the input is not
|
144
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
145
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
146
|
+
end
|
147
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
148
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
149
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
150
|
+
end
|
151
|
+
|
152
|
+
self
|
153
|
+
end
|
154
|
+
|
155
|
+
# Deserializes the data based on type
|
156
|
+
# @param string type Data type
|
157
|
+
# @param string value Value to be deserialized
|
158
|
+
# @return [Object] Deserialized data
|
159
|
+
def _deserialize(type, value)
|
160
|
+
case type.to_sym
|
161
|
+
when :DateTime
|
162
|
+
DateTime.parse(value)
|
163
|
+
when :Date
|
164
|
+
Date.parse(value)
|
165
|
+
when :String
|
166
|
+
value.to_s
|
167
|
+
when :Integer
|
168
|
+
value.to_i
|
169
|
+
when :Float
|
170
|
+
value.to_f
|
171
|
+
when :Boolean
|
172
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
173
|
+
true
|
174
|
+
else
|
175
|
+
false
|
176
|
+
end
|
177
|
+
when :Object
|
178
|
+
# generic object (usually a Hash), return directly
|
179
|
+
value
|
180
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
181
|
+
inner_type = Regexp.last_match[:inner_type]
|
182
|
+
value.map { |v| _deserialize(inner_type, v) }
|
183
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
184
|
+
k_type = Regexp.last_match[:k_type]
|
185
|
+
v_type = Regexp.last_match[:v_type]
|
186
|
+
{}.tap do |hash|
|
187
|
+
value.each do |k, v|
|
188
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
189
|
+
end
|
190
|
+
end
|
191
|
+
else # model
|
192
|
+
PulpAnsibleClient.const_get(type).build_from_hash(value)
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
196
|
+
# Returns the string representation of the object
|
197
|
+
# @return [String] String presentation of the object
|
198
|
+
def to_s
|
199
|
+
to_hash.to_s
|
200
|
+
end
|
201
|
+
|
202
|
+
# to_body is an alias to to_hash (backward compatibility)
|
203
|
+
# @return [Hash] Returns the object in the form of hash
|
204
|
+
def to_body
|
205
|
+
to_hash
|
206
|
+
end
|
207
|
+
|
208
|
+
# Returns the object in the form of hash
|
209
|
+
# @return [Hash] Returns the object in the form of hash
|
210
|
+
def to_hash
|
211
|
+
hash = {}
|
212
|
+
self.class.attribute_map.each_pair do |attr, param|
|
213
|
+
value = self.send(attr)
|
214
|
+
if value.nil?
|
215
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
216
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
217
|
+
end
|
218
|
+
|
219
|
+
hash[param] = _to_hash(value)
|
220
|
+
end
|
221
|
+
hash
|
222
|
+
end
|
223
|
+
|
224
|
+
# Outputs non-array value in the form of hash
|
225
|
+
# For object, use to_hash. Otherwise, just return the value
|
226
|
+
# @param [Object] value Any valid value
|
227
|
+
# @return [Hash] Returns the value in the form of hash
|
228
|
+
def _to_hash(value)
|
229
|
+
if value.is_a?(Array)
|
230
|
+
value.compact.map { |v| _to_hash(v) }
|
231
|
+
elsif value.is_a?(Hash)
|
232
|
+
{}.tap do |hash|
|
233
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
234
|
+
end
|
235
|
+
elsif value.respond_to? :to_hash
|
236
|
+
value.to_hash
|
237
|
+
else
|
238
|
+
value
|
239
|
+
end
|
240
|
+
end
|
241
|
+
end
|
242
|
+
end
|
data/lib/pulp_ansible_client.rb
CHANGED
@@ -105,17 +105,18 @@ require 'pulp_ansible_client/models/patchedansible_collection_remote'
|
|
105
105
|
require 'pulp_ansible_client/models/patchedansible_git_remote'
|
106
106
|
require 'pulp_ansible_client/models/patchedansible_role_remote'
|
107
107
|
require 'pulp_ansible_client/models/policy_enum'
|
108
|
-
require 'pulp_ansible_client/models/progress_report_response'
|
109
108
|
require 'pulp_ansible_client/models/repair'
|
110
109
|
require 'pulp_ansible_client/models/repo_metadata_response'
|
111
110
|
require 'pulp_ansible_client/models/repository'
|
112
111
|
require 'pulp_ansible_client/models/repository_add_remove_content'
|
113
112
|
require 'pulp_ansible_client/models/repository_response'
|
114
113
|
require 'pulp_ansible_client/models/repository_version_response'
|
114
|
+
require 'pulp_ansible_client/models/set_label'
|
115
|
+
require 'pulp_ansible_client/models/set_label_response'
|
115
116
|
require 'pulp_ansible_client/models/tag_response'
|
116
|
-
require 'pulp_ansible_client/models/task'
|
117
|
-
require 'pulp_ansible_client/models/task_response'
|
118
117
|
require 'pulp_ansible_client/models/unpaginated_collection_version_response'
|
118
|
+
require 'pulp_ansible_client/models/unset_label'
|
119
|
+
require 'pulp_ansible_client/models/unset_label_response'
|
119
120
|
|
120
121
|
# APIs
|
121
122
|
require 'pulp_ansible_client/api/ansible_collections_api'
|
@@ -33,6 +33,7 @@ describe 'AnsibleCollectionsApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for add_role
|
36
|
+
# Add a role
|
36
37
|
# Add a role for this object to users/groups.
|
37
38
|
# @param ansible_collection_href
|
38
39
|
# @param nested_role
|
@@ -55,6 +56,7 @@ describe 'AnsibleCollectionsApi' do
|
|
55
56
|
# @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) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
56
57
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
57
58
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
59
|
+
# @option opts [String] :q
|
58
60
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
59
61
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
60
62
|
# @return [PaginatedansibleCollectionResponseList]
|
@@ -65,6 +67,7 @@ describe 'AnsibleCollectionsApi' do
|
|
65
67
|
end
|
66
68
|
|
67
69
|
# unit tests for list_roles
|
70
|
+
# List roles
|
68
71
|
# List roles assigned to this object.
|
69
72
|
# @param ansible_collection_href
|
70
73
|
# @param [Hash] opts the optional parameters
|
@@ -78,6 +81,7 @@ describe 'AnsibleCollectionsApi' do
|
|
78
81
|
end
|
79
82
|
|
80
83
|
# unit tests for my_permissions
|
84
|
+
# List user permissions
|
81
85
|
# List permissions available to the current user on this object.
|
82
86
|
# @param ansible_collection_href
|
83
87
|
# @param [Hash] opts the optional parameters
|
@@ -91,6 +95,7 @@ describe 'AnsibleCollectionsApi' do
|
|
91
95
|
end
|
92
96
|
|
93
97
|
# unit tests for remove_role
|
98
|
+
# Remove a role
|
94
99
|
# Remove a role for this object from users/groups.
|
95
100
|
# @param ansible_collection_href
|
96
101
|
# @param nested_role
|
@@ -53,6 +53,7 @@ describe 'ContentCollectionDeprecationsApi' do
|
|
53
53
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
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] :q
|
56
57
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
57
58
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
58
59
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -54,6 +54,7 @@ describe 'ContentCollectionMarksApi' do
|
|
54
54
|
# @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) * `value` - Value * `-value` - Value (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
55
55
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
56
56
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
57
|
+
# @option opts [String] :q
|
57
58
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
58
59
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
59
60
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -57,6 +57,7 @@ describe 'ContentCollectionSignaturesApi' do
|
|
57
57
|
# @option opts [Array<String>] :pubkey_fingerprint__in Filter results where pubkey_fingerprint is in a comma-separated list of values
|
58
58
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
59
59
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
60
|
+
# @option opts [String] :q
|
60
61
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
61
62
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
62
63
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -36,10 +36,10 @@ describe 'ContentCollectionVersionsApi' do
|
|
36
36
|
# Create a collection version
|
37
37
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
|
-
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
40
|
-
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
41
|
-
# @option opts [String] :artifact Artifact file representing the physical content
|
42
39
|
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
40
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
41
|
+
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
42
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
43
43
|
# @option opts [String] :expected_name The name of the collection.
|
44
44
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
45
45
|
# @option opts [String] :expected_version The version of the collection.
|
@@ -52,7 +52,11 @@ describe 'ContentNamespacesApi' do
|
|
52
52
|
# @option opts [String] :company Filter results where company matches value
|
53
53
|
# @option opts [String] :company__contains Filter results where company contains value
|
54
54
|
# @option opts [String] :company__icontains Filter results where company contains value
|
55
|
+
# @option opts [String] :company__iexact Filter results where company matches value
|
55
56
|
# @option opts [Array<String>] :company__in Filter results where company is in a comma-separated list of values
|
57
|
+
# @option opts [String] :company__iregex Filter results where company matches regex value
|
58
|
+
# @option opts [String] :company__istartswith Filter results where company starts with value
|
59
|
+
# @option opts [String] :company__regex Filter results where company matches regex value
|
56
60
|
# @option opts [String] :company__startswith Filter results where company starts with value
|
57
61
|
# @option opts [Integer] :limit Number of results to return per page.
|
58
62
|
# @option opts [String] :metadata_sha256 Filter results where metadata_sha256 matches value
|
@@ -60,12 +64,17 @@ describe 'ContentNamespacesApi' do
|
|
60
64
|
# @option opts [String] :name Filter results where name matches value
|
61
65
|
# @option opts [String] :name__contains Filter results where name contains value
|
62
66
|
# @option opts [String] :name__icontains Filter results where name contains value
|
67
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
63
68
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
69
|
+
# @option opts [String] :name__iregex Filter results where name matches regex value
|
70
|
+
# @option opts [String] :name__istartswith Filter results where name starts with value
|
71
|
+
# @option opts [String] :name__regex Filter results where name matches regex value
|
64
72
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
65
73
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
66
74
|
# @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) * `company` - Company * `-company` - Company (descending) * `email` - Email * `-email` - Email (descending) * `description` - Description * `-description` - Description (descending) * `resources` - Resources * `-resources` - Resources (descending) * `links` - Links * `-links` - Links (descending) * `avatar_sha256` - Avatar sha256 * `-avatar_sha256` - Avatar sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
67
75
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
68
76
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
77
|
+
# @option opts [String] :q
|
69
78
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
70
79
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
71
80
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -55,6 +55,7 @@ describe 'ContentRolesApi' do
|
|
55
55
|
# @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) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
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] :q
|
58
59
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
59
60
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
60
61
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -33,6 +33,7 @@ describe 'DistributionsAnsibleApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for add_role
|
36
|
+
# Add a role
|
36
37
|
# Add a role for this object to users/groups.
|
37
38
|
# @param ansible_ansible_distribution_href
|
38
39
|
# @param nested_role
|
@@ -80,13 +81,18 @@ describe 'DistributionsAnsibleApi' do
|
|
80
81
|
# @option opts [String] :name Filter results where name matches value
|
81
82
|
# @option opts [String] :name__contains Filter results where name contains value
|
82
83
|
# @option opts [String] :name__icontains Filter results where name contains value
|
84
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
83
85
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
86
|
+
# @option opts [String] :name__iregex Filter results where name matches regex value
|
87
|
+
# @option opts [String] :name__istartswith Filter results where name starts with value
|
88
|
+
# @option opts [String] :name__regex Filter results where name matches regex value
|
84
89
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
85
90
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
86
91
|
# @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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
87
92
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
88
93
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
89
94
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
95
|
+
# @option opts [String] :q
|
90
96
|
# @option opts [String] :repository Filter results where repository matches value
|
91
97
|
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
92
98
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
@@ -100,6 +106,7 @@ describe 'DistributionsAnsibleApi' do
|
|
100
106
|
end
|
101
107
|
|
102
108
|
# unit tests for list_roles
|
109
|
+
# List roles
|
103
110
|
# List roles assigned to this object.
|
104
111
|
# @param ansible_ansible_distribution_href
|
105
112
|
# @param [Hash] opts the optional parameters
|
@@ -113,6 +120,7 @@ describe 'DistributionsAnsibleApi' do
|
|
113
120
|
end
|
114
121
|
|
115
122
|
# unit tests for my_permissions
|
123
|
+
# List user permissions
|
116
124
|
# List permissions available to the current user on this object.
|
117
125
|
# @param ansible_ansible_distribution_href
|
118
126
|
# @param [Hash] opts the optional parameters
|
@@ -153,6 +161,7 @@ describe 'DistributionsAnsibleApi' do
|
|
153
161
|
end
|
154
162
|
|
155
163
|
# unit tests for remove_role
|
164
|
+
# Remove a role
|
156
165
|
# Remove a role for this object from users/groups.
|
157
166
|
# @param ansible_ansible_distribution_href
|
158
167
|
# @param nested_role
|
@@ -164,6 +173,32 @@ describe 'DistributionsAnsibleApi' do
|
|
164
173
|
end
|
165
174
|
end
|
166
175
|
|
176
|
+
# unit tests for set_label
|
177
|
+
# Set a label
|
178
|
+
# Set a single pulp_label on the object to a specific value or null.
|
179
|
+
# @param ansible_ansible_distribution_href
|
180
|
+
# @param set_label
|
181
|
+
# @param [Hash] opts the optional parameters
|
182
|
+
# @return [SetLabelResponse]
|
183
|
+
describe 'set_label test' do
|
184
|
+
it 'should work' do
|
185
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
186
|
+
end
|
187
|
+
end
|
188
|
+
|
189
|
+
# unit tests for unset_label
|
190
|
+
# Unset a label
|
191
|
+
# Unset a single pulp_label on the object.
|
192
|
+
# @param ansible_ansible_distribution_href
|
193
|
+
# @param unset_label
|
194
|
+
# @param [Hash] opts the optional parameters
|
195
|
+
# @return [UnsetLabelResponse]
|
196
|
+
describe 'unset_label test' do
|
197
|
+
it 'should work' do
|
198
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
199
|
+
end
|
200
|
+
end
|
201
|
+
|
167
202
|
# unit tests for update
|
168
203
|
# Update an ansible distribution
|
169
204
|
# Trigger an asynchronous update task
|
@@ -42,6 +42,7 @@ describe 'PulpAnsibleApiV3CollectionsAllApi' do
|
|
42
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) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
43
43
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
44
44
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
45
|
+
# @option opts [String] :q
|
45
46
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
46
47
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
47
48
|
# @return [Array<CollectionResponse>]
|
@@ -57,6 +57,7 @@ describe 'PulpAnsibleApiV3CollectionsApi' do
|
|
57
57
|
# @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) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
58
58
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
59
59
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
60
|
+
# @option opts [String] :q
|
60
61
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
61
62
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
62
63
|
# @return [PaginatedCollectionResponseList]
|
@@ -39,7 +39,11 @@ describe 'PulpAnsibleApiV3NamespacesApi' do
|
|
39
39
|
# @option opts [String] :company Filter results where company matches value
|
40
40
|
# @option opts [String] :company__contains Filter results where company contains value
|
41
41
|
# @option opts [String] :company__icontains Filter results where company contains value
|
42
|
+
# @option opts [String] :company__iexact Filter results where company matches value
|
42
43
|
# @option opts [Array<String>] :company__in Filter results where company is in a comma-separated list of values
|
44
|
+
# @option opts [String] :company__iregex Filter results where company matches regex value
|
45
|
+
# @option opts [String] :company__istartswith Filter results where company starts with value
|
46
|
+
# @option opts [String] :company__regex Filter results where company matches regex value
|
43
47
|
# @option opts [String] :company__startswith Filter results where company starts with value
|
44
48
|
# @option opts [Integer] :limit Number of results to return per page.
|
45
49
|
# @option opts [String] :metadata_sha256 Filter results where metadata_sha256 matches value
|
@@ -47,12 +51,17 @@ describe 'PulpAnsibleApiV3NamespacesApi' do
|
|
47
51
|
# @option opts [String] :name Filter results where name matches value
|
48
52
|
# @option opts [String] :name__contains Filter results where name contains value
|
49
53
|
# @option opts [String] :name__icontains Filter results where name contains value
|
54
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
50
55
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
56
|
+
# @option opts [String] :name__iregex Filter results where name matches regex value
|
57
|
+
# @option opts [String] :name__istartswith Filter results where name starts with value
|
58
|
+
# @option opts [String] :name__regex Filter results where name matches regex value
|
51
59
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
52
60
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
53
61
|
# @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) * `company` - Company * `-company` - Company (descending) * `email` - Email * `-email` - Email (descending) * `description` - Description * `-description` - Description (descending) * `resources` - Resources * `-resources` - Resources (descending) * `links` - Links * `-links` - Links (descending) * `avatar_sha256` - Avatar sha256 * `-avatar_sha256` - Avatar sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
54
62
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
55
63
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
64
|
+
# @option opts [String] :q
|
56
65
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
57
66
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
58
67
|
# @return [PaginatedansibleAnsibleNamespaceMetadataResponseList]
|
data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb
CHANGED
@@ -43,6 +43,7 @@ describe 'PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi' do
|
|
43
43
|
# @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) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
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] :q
|
46
47
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
47
48
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
48
49
|
# @return [Array<CollectionResponse>]
|
@@ -59,6 +59,7 @@ describe 'PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi' do
|
|
59
59
|
# @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) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
60
60
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
61
61
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
62
|
+
# @option opts [String] :q
|
62
63
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
63
64
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
64
65
|
# @return [PaginatedCollectionResponseList]
|
@@ -33,7 +33,7 @@ describe 'PulpAnsibleApiV3PluginAnsibleContentNamespacesApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for create
|
36
|
-
#
|
36
|
+
# Provides the authentication and permission classes from settings.
|
37
37
|
# @param distro_base_path
|
38
38
|
# @param path
|
39
39
|
# @param name Required named, only accepts lowercase, numbers and underscores.
|
@@ -65,14 +65,18 @@ describe 'PulpAnsibleApiV3PluginAnsibleContentNamespacesApi' do
|
|
65
65
|
end
|
66
66
|
|
67
67
|
# unit tests for list
|
68
|
-
#
|
68
|
+
# Provides the authentication and permission classes from settings.
|
69
69
|
# @param distro_base_path
|
70
70
|
# @param path
|
71
71
|
# @param [Hash] opts the optional parameters
|
72
72
|
# @option opts [String] :company Filter results where company matches value
|
73
73
|
# @option opts [String] :company__contains Filter results where company contains value
|
74
74
|
# @option opts [String] :company__icontains Filter results where company contains value
|
75
|
+
# @option opts [String] :company__iexact Filter results where company matches value
|
75
76
|
# @option opts [Array<String>] :company__in Filter results where company is in a comma-separated list of values
|
77
|
+
# @option opts [String] :company__iregex Filter results where company matches regex value
|
78
|
+
# @option opts [String] :company__istartswith Filter results where company starts with value
|
79
|
+
# @option opts [String] :company__regex Filter results where company matches regex value
|
76
80
|
# @option opts [String] :company__startswith Filter results where company starts with value
|
77
81
|
# @option opts [Integer] :limit Number of results to return per page.
|
78
82
|
# @option opts [String] :metadata_sha256 Filter results where metadata_sha256 matches value
|
@@ -80,12 +84,17 @@ describe 'PulpAnsibleApiV3PluginAnsibleContentNamespacesApi' do
|
|
80
84
|
# @option opts [String] :name Filter results where name matches value
|
81
85
|
# @option opts [String] :name__contains Filter results where name contains value
|
82
86
|
# @option opts [String] :name__icontains Filter results where name contains value
|
87
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
83
88
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
89
|
+
# @option opts [String] :name__iregex Filter results where name matches regex value
|
90
|
+
# @option opts [String] :name__istartswith Filter results where name starts with value
|
91
|
+
# @option opts [String] :name__regex Filter results where name matches regex value
|
84
92
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
85
93
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
86
94
|
# @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) * `company` - Company * `-company` - Company (descending) * `email` - Email * `-email` - Email (descending) * `description` - Description * `-description` - Description (descending) * `resources` - Resources * `-resources` - Resources (descending) * `links` - Links * `-links` - Links (descending) * `avatar_sha256` - Avatar sha256 * `-avatar_sha256` - Avatar sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
87
95
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
88
96
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
97
|
+
# @option opts [String] :q
|
89
98
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
90
99
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
91
100
|
# @return [PaginatedansibleAnsibleNamespaceMetadataResponseList]
|
@@ -96,7 +105,7 @@ describe 'PulpAnsibleApiV3PluginAnsibleContentNamespacesApi' do
|
|
96
105
|
end
|
97
106
|
|
98
107
|
# unit tests for partial_update
|
99
|
-
#
|
108
|
+
# Provides the authentication and permission classes from settings.
|
100
109
|
# @param distro_base_path
|
101
110
|
# @param name
|
102
111
|
# @param path
|
@@ -116,7 +125,7 @@ describe 'PulpAnsibleApiV3PluginAnsibleContentNamespacesApi' do
|
|
116
125
|
end
|
117
126
|
|
118
127
|
# unit tests for read
|
119
|
-
#
|
128
|
+
# Provides the authentication and permission classes from settings.
|
120
129
|
# @param distro_base_path
|
121
130
|
# @param name
|
122
131
|
# @param path
|
@@ -41,6 +41,7 @@ describe 'PulpAnsibleDefaultApiV3CollectionsAllApi' do
|
|
41
41
|
# @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) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
42
42
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
43
43
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
44
|
+
# @option opts [String] :q
|
44
45
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
45
46
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
46
47
|
# @return [Array<CollectionResponse>]
|
@@ -55,6 +55,7 @@ describe 'PulpAnsibleDefaultApiV3CollectionsApi' do
|
|
55
55
|
# @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) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
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] :q
|
58
59
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
59
60
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
60
61
|
# @return [PaginatedCollectionResponseList]
|