pulp_ansible_client 0.7.1 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +6 -6
- data/docs/AnsibleCollectionRemote.md +7 -1
- data/docs/AnsibleCollectionRemoteResponse.md +3 -7
- data/docs/AnsibleCollectionVersionResponse.md +3 -3
- data/docs/AnsibleCollectionsApi.md +4 -4
- data/docs/AnsibleRoleRemote.md +7 -1
- data/docs/AnsibleRoleRemoteResponse.md +3 -7
- data/docs/AnsibleRoleResponse.md +3 -3
- data/docs/ContentCollectionVersionsApi.md +18 -18
- data/docs/ContentRolesApi.md +12 -12
- data/docs/ContentSummary.md +3 -3
- data/docs/ContentSummaryResponse.md +3 -3
- data/docs/DistributionsAnsibleApi.md +20 -20
- data/docs/PatchedansibleCollectionRemote.md +7 -1
- data/docs/PatchedansibleRoleRemote.md +7 -1
- data/docs/PulpAnsibleGalaxyApiCollectionsApi.md +6 -6
- data/docs/PulpAnsibleGalaxyApiV3AllApi.md +6 -24
- data/docs/PulpAnsibleGalaxyApiV3VersionsApi.md +18 -18
- data/docs/RemotesCollectionApi.md +24 -24
- data/docs/RemotesRoleApi.md +24 -24
- data/docs/RepositoriesAnsibleApi.md +12 -12
- data/docs/RepositoriesAnsibleVersionsApi.md +28 -28
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +4 -4
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +18 -18
- data/lib/pulp_ansible_client/api/content_roles_api.rb +12 -12
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +22 -22
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_all_api.rb +6 -33
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_versions_api.rb +18 -18
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +26 -26
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +26 -26
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +13 -13
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +30 -30
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +36 -2
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +14 -35
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +36 -2
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +14 -35
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +11 -11
- data/lib/pulp_ansible_client/models/content_summary.rb +12 -6
- data/lib/pulp_ansible_client/models/content_summary_response.rb +12 -6
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +36 -2
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +36 -2
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/ansible_collections_api_spec.rb +2 -2
- data/spec/api/content_collection_versions_api_spec.rb +9 -9
- data/spec/api/content_roles_api_spec.rb +6 -6
- data/spec/api/distributions_ansible_api_spec.rb +10 -10
- data/spec/api/pulp_ansible_galaxy_api_collections_api_spec.rb +3 -3
- data/spec/api/pulp_ansible_galaxy_api_v3_all_api_spec.rb +3 -12
- data/spec/api/pulp_ansible_galaxy_api_v3_versions_api_spec.rb +9 -9
- data/spec/api/remotes_collection_api_spec.rb +12 -12
- data/spec/api/remotes_role_api_spec.rb +12 -12
- data/spec/api/repositories_ansible_api_spec.rb +6 -6
- data/spec/api/repositories_ansible_versions_api_spec.rb +14 -14
- data/spec/models/ansible_collection_remote_response_spec.rb +6 -18
- data/spec/models/ansible_collection_remote_spec.rb +18 -0
- data/spec/models/ansible_collection_version_response_spec.rb +3 -3
- data/spec/models/ansible_role_remote_response_spec.rb +6 -18
- data/spec/models/ansible_role_remote_spec.rb +18 -0
- data/spec/models/ansible_role_response_spec.rb +3 -3
- data/spec/models/patchedansible_collection_remote_spec.rb +18 -0
- data/spec/models/patchedansible_role_remote_spec.rb +18 -0
- metadata +65 -65
@@ -33,9 +33,15 @@ module PulpAnsibleClient
|
|
33
33
|
# If True, TLS peer validation must be performed.
|
34
34
|
attr_accessor :tls_validation
|
35
35
|
|
36
|
-
# The proxy URL. Format: scheme://
|
36
|
+
# The proxy URL. Format: scheme://host:port
|
37
37
|
attr_accessor :proxy_url
|
38
38
|
|
39
|
+
# The username to authenticte to the proxy.
|
40
|
+
attr_accessor :proxy_username
|
41
|
+
|
42
|
+
# The password to authenticte to the proxy.
|
43
|
+
attr_accessor :proxy_password
|
44
|
+
|
39
45
|
# The username to be used for authentication when syncing.
|
40
46
|
attr_accessor :username
|
41
47
|
|
@@ -62,6 +68,9 @@ module PulpAnsibleClient
|
|
62
68
|
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
|
63
69
|
attr_accessor :sock_read_timeout
|
64
70
|
|
71
|
+
# Headers for aiohttp.Clientsession
|
72
|
+
attr_accessor :headers
|
73
|
+
|
65
74
|
# Limits total download rate in requests per second
|
66
75
|
attr_accessor :rate_limit
|
67
76
|
|
@@ -75,6 +84,8 @@ module PulpAnsibleClient
|
|
75
84
|
:'client_key' => :'client_key',
|
76
85
|
:'tls_validation' => :'tls_validation',
|
77
86
|
:'proxy_url' => :'proxy_url',
|
87
|
+
:'proxy_username' => :'proxy_username',
|
88
|
+
:'proxy_password' => :'proxy_password',
|
78
89
|
:'username' => :'username',
|
79
90
|
:'password' => :'password',
|
80
91
|
:'pulp_labels' => :'pulp_labels',
|
@@ -84,6 +95,7 @@ module PulpAnsibleClient
|
|
84
95
|
:'connect_timeout' => :'connect_timeout',
|
85
96
|
:'sock_connect_timeout' => :'sock_connect_timeout',
|
86
97
|
:'sock_read_timeout' => :'sock_read_timeout',
|
98
|
+
:'headers' => :'headers',
|
87
99
|
:'rate_limit' => :'rate_limit'
|
88
100
|
}
|
89
101
|
end
|
@@ -98,6 +110,8 @@ module PulpAnsibleClient
|
|
98
110
|
:'client_key' => :'String',
|
99
111
|
:'tls_validation' => :'Boolean',
|
100
112
|
:'proxy_url' => :'String',
|
113
|
+
:'proxy_username' => :'String',
|
114
|
+
:'proxy_password' => :'String',
|
101
115
|
:'username' => :'String',
|
102
116
|
:'password' => :'String',
|
103
117
|
:'pulp_labels' => :'Object',
|
@@ -107,6 +121,7 @@ module PulpAnsibleClient
|
|
107
121
|
:'connect_timeout' => :'Float',
|
108
122
|
:'sock_connect_timeout' => :'Float',
|
109
123
|
:'sock_read_timeout' => :'Float',
|
124
|
+
:'headers' => :'Array<Object>',
|
110
125
|
:'rate_limit' => :'Integer'
|
111
126
|
}
|
112
127
|
end
|
@@ -118,6 +133,8 @@ module PulpAnsibleClient
|
|
118
133
|
:'client_cert',
|
119
134
|
:'client_key',
|
120
135
|
:'proxy_url',
|
136
|
+
:'proxy_username',
|
137
|
+
:'proxy_password',
|
121
138
|
:'username',
|
122
139
|
:'password',
|
123
140
|
:'total_timeout',
|
@@ -171,6 +188,14 @@ module PulpAnsibleClient
|
|
171
188
|
self.proxy_url = attributes[:'proxy_url']
|
172
189
|
end
|
173
190
|
|
191
|
+
if attributes.key?(:'proxy_username')
|
192
|
+
self.proxy_username = attributes[:'proxy_username']
|
193
|
+
end
|
194
|
+
|
195
|
+
if attributes.key?(:'proxy_password')
|
196
|
+
self.proxy_password = attributes[:'proxy_password']
|
197
|
+
end
|
198
|
+
|
174
199
|
if attributes.key?(:'username')
|
175
200
|
self.username = attributes[:'username']
|
176
201
|
end
|
@@ -207,6 +232,12 @@ module PulpAnsibleClient
|
|
207
232
|
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
208
233
|
end
|
209
234
|
|
235
|
+
if attributes.key?(:'headers')
|
236
|
+
if (value = attributes[:'headers']).is_a?(Array)
|
237
|
+
self.headers = value
|
238
|
+
end
|
239
|
+
end
|
240
|
+
|
210
241
|
if attributes.key?(:'rate_limit')
|
211
242
|
self.rate_limit = attributes[:'rate_limit']
|
212
243
|
end
|
@@ -312,6 +343,8 @@ module PulpAnsibleClient
|
|
312
343
|
client_key == o.client_key &&
|
313
344
|
tls_validation == o.tls_validation &&
|
314
345
|
proxy_url == o.proxy_url &&
|
346
|
+
proxy_username == o.proxy_username &&
|
347
|
+
proxy_password == o.proxy_password &&
|
315
348
|
username == o.username &&
|
316
349
|
password == o.password &&
|
317
350
|
pulp_labels == o.pulp_labels &&
|
@@ -321,6 +354,7 @@ module PulpAnsibleClient
|
|
321
354
|
connect_timeout == o.connect_timeout &&
|
322
355
|
sock_connect_timeout == o.sock_connect_timeout &&
|
323
356
|
sock_read_timeout == o.sock_read_timeout &&
|
357
|
+
headers == o.headers &&
|
324
358
|
rate_limit == o.rate_limit
|
325
359
|
end
|
326
360
|
|
@@ -333,7 +367,7 @@ module PulpAnsibleClient
|
|
333
367
|
# Calculates hash code according to all attributes.
|
334
368
|
# @return [Integer] Hash code
|
335
369
|
def hash
|
336
|
-
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, pulp_labels, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, rate_limit].hash
|
370
|
+
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, pulp_labels, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit].hash
|
337
371
|
end
|
338
372
|
|
339
373
|
# Builds the object from hash
|
@@ -37,8 +37,8 @@ describe 'AnsibleCollectionsApi' do
|
|
37
37
|
# Viewset for Ansible Collections.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @option opts [Integer] :limit Number of results to return per page.
|
40
|
-
# @option opts [String] :name
|
41
|
-
# @option opts [String] :namespace
|
40
|
+
# @option opts [String] :name
|
41
|
+
# @option opts [String] :namespace
|
42
42
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
43
43
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
44
44
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -48,18 +48,18 @@ describe 'ContentCollectionVersionsApi' do
|
|
48
48
|
# List collection versions
|
49
49
|
# ViewSet for Ansible Collection.
|
50
50
|
# @param [Hash] opts the optional parameters
|
51
|
-
# @option opts [
|
51
|
+
# @option opts [Boolean] :is_highest
|
52
52
|
# @option opts [Integer] :limit Number of results to return per page.
|
53
|
-
# @option opts [String] :name
|
54
|
-
# @option opts [String] :namespace
|
53
|
+
# @option opts [String] :name
|
54
|
+
# @option opts [String] :namespace
|
55
55
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
56
56
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
57
|
-
# @option opts [String] :q
|
58
|
-
# @option opts [String] :repository_version
|
59
|
-
# @option opts [String] :repository_version_added
|
60
|
-
# @option opts [String] :repository_version_removed
|
61
|
-
# @option opts [String] :tags tags
|
62
|
-
# @option opts [String] :version version
|
57
|
+
# @option opts [String] :q
|
58
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
59
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
60
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
61
|
+
# @option opts [String] :tags Filter by comma separate list of tags that must all be matched
|
62
|
+
# @option opts [String] :version Filter results where version matches value
|
63
63
|
# @option opts [String] :fields A list of fields to include in the response.
|
64
64
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
65
65
|
# @return [PaginatedansibleCollectionVersionResponseList]
|
@@ -49,14 +49,14 @@ describe 'ContentRolesApi' do
|
|
49
49
|
# ViewSet for Role.
|
50
50
|
# @param [Hash] opts the optional parameters
|
51
51
|
# @option opts [Integer] :limit Number of results to return per page.
|
52
|
-
# @option opts [String] :name name
|
53
|
-
# @option opts [String] :namespace namespace
|
52
|
+
# @option opts [String] :name Filter results where name matches value
|
53
|
+
# @option opts [String] :namespace Filter results where namespace matches value
|
54
54
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
55
55
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
56
|
-
# @option opts [String] :repository_version
|
57
|
-
# @option opts [String] :repository_version_added
|
58
|
-
# @option opts [String] :repository_version_removed
|
59
|
-
# @option opts [String] :version version
|
56
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
57
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
58
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
59
|
+
# @option opts [String] :version Filter results where version matches value
|
60
60
|
# @option opts [String] :fields A list of fields to include in the response.
|
61
61
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
62
62
|
# @return [PaginatedansibleRoleResponseList]
|
@@ -60,19 +60,19 @@ describe 'DistributionsAnsibleApi' do
|
|
60
60
|
# List ansible distributions
|
61
61
|
# ViewSet for Ansible Distributions.
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
|
-
# @option opts [String] :base_path
|
64
|
-
# @option opts [String] :base_path__contains
|
65
|
-
# @option opts [String] :base_path__icontains
|
66
|
-
# @option opts [String] :base_path__in
|
63
|
+
# @option opts [String] :base_path
|
64
|
+
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
65
|
+
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
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
|
69
|
-
# @option opts [String] :name__contains
|
70
|
-
# @option opts [String] :name__icontains
|
71
|
-
# @option opts [String] :name__in
|
72
|
-
# @option opts [String] :name__startswith
|
68
|
+
# @option opts [String] :name
|
69
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
70
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
71
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
72
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
73
73
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
74
74
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
75
|
-
# @option opts [String] :pulp_label_select
|
75
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
76
76
|
# @option opts [String] :fields A list of fields to include in the response.
|
77
77
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
78
78
|
# @return [PaginatedansibleAnsibleDistributionResponseList]
|
@@ -36,10 +36,10 @@ describe 'PulpAnsibleGalaxyApiCollectionsApi' do
|
|
36
36
|
# ViewSet for Collections.
|
37
37
|
# @param path
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
|
-
# @option opts [String] :deprecated
|
39
|
+
# @option opts [String] :deprecated
|
40
40
|
# @option opts [Integer] :limit Number of results to return per page.
|
41
|
-
# @option opts [String] :name
|
42
|
-
# @option opts [String] :namespace
|
41
|
+
# @option opts [String] :name
|
42
|
+
# @option opts [String] :namespace
|
43
43
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
44
44
|
# @option opts [String] :fields A list of fields to include in the response.
|
45
45
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
@@ -36,15 +36,6 @@ describe 'PulpAnsibleGalaxyApiV3AllApi' do
|
|
36
36
|
# Returns paginated CollectionVersions list.
|
37
37
|
# @param path
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
|
-
# @option opts [String] :is_highest is_highest
|
40
|
-
# @option opts [String] :name name
|
41
|
-
# @option opts [String] :namespace namespace
|
42
|
-
# @option opts [String] :q q
|
43
|
-
# @option opts [String] :repository_version repository_version
|
44
|
-
# @option opts [String] :repository_version_added repository_version_added
|
45
|
-
# @option opts [String] :repository_version_removed repository_version_removed
|
46
|
-
# @option opts [String] :tags tags
|
47
|
-
# @option opts [String] :version version
|
48
39
|
# @option opts [String] :fields A list of fields to include in the response.
|
49
40
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
50
41
|
# @return [Array<UnpaginatedCollectionVersionResponse>]
|
@@ -58,9 +49,9 @@ describe 'PulpAnsibleGalaxyApiV3AllApi' do
|
|
58
49
|
# Unpaginated ViewSet for Collections.
|
59
50
|
# @param path
|
60
51
|
# @param [Hash] opts the optional parameters
|
61
|
-
# @option opts [String] :deprecated
|
62
|
-
# @option opts [String] :name
|
63
|
-
# @option opts [String] :namespace
|
52
|
+
# @option opts [String] :deprecated
|
53
|
+
# @option opts [String] :name
|
54
|
+
# @option opts [String] :namespace
|
64
55
|
# @option opts [String] :fields A list of fields to include in the response.
|
65
56
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
66
57
|
# @return [Array<CollectionResponse>]
|
@@ -38,17 +38,17 @@ describe 'PulpAnsibleGalaxyApiV3VersionsApi' do
|
|
38
38
|
# @param namespace
|
39
39
|
# @param path
|
40
40
|
# @param [Hash] opts the optional parameters
|
41
|
-
# @option opts [
|
41
|
+
# @option opts [Boolean] :is_highest
|
42
42
|
# @option opts [Integer] :limit Number of results to return per page.
|
43
|
-
# @option opts [String] :name2
|
44
|
-
# @option opts [String] :namespace2
|
43
|
+
# @option opts [String] :name2
|
44
|
+
# @option opts [String] :namespace2
|
45
45
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
46
|
-
# @option opts [String] :q
|
47
|
-
# @option opts [String] :repository_version
|
48
|
-
# @option opts [String] :repository_version_added
|
49
|
-
# @option opts [String] :repository_version_removed
|
50
|
-
# @option opts [String] :tags tags
|
51
|
-
# @option opts [String] :version version
|
46
|
+
# @option opts [String] :q
|
47
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
48
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
49
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
50
|
+
# @option opts [String] :tags Filter by comma separate list of tags that must all be matched
|
51
|
+
# @option opts [String] :version Filter results where version matches value
|
52
52
|
# @option opts [String] :fields A list of fields to include in the response.
|
53
53
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
54
54
|
# @return [PaginatedCollectionVersionResponseList]
|
@@ -61,20 +61,20 @@ describe 'RemotesCollectionApi' do
|
|
61
61
|
# ViewSet for Collection Remotes.
|
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
|
65
|
-
# @option opts [String] :name__contains
|
66
|
-
# @option opts [String] :name__icontains
|
67
|
-
# @option opts [String] :name__in
|
68
|
-
# @option opts [String] :name__startswith
|
64
|
+
# @option opts [String] :name
|
65
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
66
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
67
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
68
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
69
69
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
70
70
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
71
|
-
# @option opts [String] :pulp_label_select
|
72
|
-
# @option opts [
|
73
|
-
# @option opts [
|
74
|
-
# @option opts [
|
75
|
-
# @option opts [
|
76
|
-
# @option opts [
|
77
|
-
# @option opts [
|
71
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
72
|
+
# @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
|
73
|
+
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
74
|
+
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
75
|
+
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
76
|
+
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
77
|
+
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
78
78
|
# @option opts [String] :fields A list of fields to include in the response.
|
79
79
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
80
80
|
# @return [PaginatedansibleCollectionRemoteResponseList]
|
@@ -61,20 +61,20 @@ describe 'RemotesRoleApi' do
|
|
61
61
|
# ViewSet for Role Remotes.
|
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
|
65
|
-
# @option opts [String] :name__contains
|
66
|
-
# @option opts [String] :name__icontains
|
67
|
-
# @option opts [String] :name__in
|
68
|
-
# @option opts [String] :name__startswith
|
64
|
+
# @option opts [String] :name
|
65
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
66
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
67
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
68
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
69
69
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
70
70
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
71
|
-
# @option opts [String] :pulp_label_select
|
72
|
-
# @option opts [
|
73
|
-
# @option opts [
|
74
|
-
# @option opts [
|
75
|
-
# @option opts [
|
76
|
-
# @option opts [
|
77
|
-
# @option opts [
|
71
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
72
|
+
# @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
|
73
|
+
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
74
|
+
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
75
|
+
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
76
|
+
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
77
|
+
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
78
78
|
# @option opts [String] :fields A list of fields to include in the response.
|
79
79
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
80
80
|
# @return [PaginatedansibleRoleRemoteResponseList]
|
@@ -61,14 +61,14 @@ describe 'RepositoriesAnsibleApi' do
|
|
61
61
|
# ViewSet for Ansible 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
|
65
|
-
# @option opts [String] :name__contains
|
66
|
-
# @option opts [String] :name__icontains
|
67
|
-
# @option opts [String] :name__in
|
68
|
-
# @option opts [String] :name__startswith
|
64
|
+
# @option opts [String] :name
|
65
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
66
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
67
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
68
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
69
69
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
70
70
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
71
|
-
# @option opts [String] :pulp_label_select
|
71
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
72
72
|
# @option opts [String] :fields A list of fields to include in the response.
|
73
73
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
74
74
|
# @return [PaginatedansibleAnsibleRepositoryResponseList]
|
@@ -49,23 +49,23 @@ describe 'RepositoriesAnsibleVersionsApi' do
|
|
49
49
|
# AnsibleRepositoryVersion represents a single file repository version.
|
50
50
|
# @param ansible_ansible_repository_href
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
|
-
# @option opts [String] :content
|
53
|
-
# @option opts [String] :content__in
|
52
|
+
# @option opts [String] :content Content Unit referenced by HREF
|
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 [
|
56
|
-
# @option opts [
|
57
|
-
# @option opts [
|
58
|
-
# @option opts [
|
59
|
-
# @option opts [
|
60
|
-
# @option opts [
|
55
|
+
# @option opts [Integer] :number
|
56
|
+
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
57
|
+
# @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
|
58
|
+
# @option opts [Integer] :number__lt Filter results where number is less than value
|
59
|
+
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
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 [String] :ordering Which field to use when ordering the results.
|
63
|
-
# @option opts [
|
64
|
-
# @option opts [
|
65
|
-
# @option opts [
|
66
|
-
# @option opts [
|
67
|
-
# @option opts [
|
68
|
-
# @option opts [
|
63
|
+
# @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
|
64
|
+
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
65
|
+
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
66
|
+
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
67
|
+
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
68
|
+
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
69
69
|
# @option opts [String] :fields A list of fields to include in the response.
|
70
70
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
71
71
|
# @return [PaginatedRepositoryVersionResponseList]
|
@@ -68,12 +68,6 @@ describe 'AnsibleCollectionRemoteResponse' do
|
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
-
describe 'test attribute "client_key"' do
|
72
|
-
it 'should work' do
|
73
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
-
end
|
75
|
-
end
|
76
|
-
|
77
71
|
describe 'test attribute "tls_validation"' do
|
78
72
|
it 'should work' do
|
79
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -86,18 +80,6 @@ describe 'AnsibleCollectionRemoteResponse' do
|
|
86
80
|
end
|
87
81
|
end
|
88
82
|
|
89
|
-
describe 'test attribute "username"' do
|
90
|
-
it 'should work' do
|
91
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
-
end
|
93
|
-
end
|
94
|
-
|
95
|
-
describe 'test attribute "password"' do
|
96
|
-
it 'should work' do
|
97
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
98
|
-
end
|
99
|
-
end
|
100
|
-
|
101
83
|
describe 'test attribute "pulp_labels"' do
|
102
84
|
it 'should work' do
|
103
85
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -146,6 +128,12 @@ describe 'AnsibleCollectionRemoteResponse' do
|
|
146
128
|
end
|
147
129
|
end
|
148
130
|
|
131
|
+
describe 'test attribute "headers"' do
|
132
|
+
it 'should work' do
|
133
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
134
|
+
end
|
135
|
+
end
|
136
|
+
|
149
137
|
describe 'test attribute "rate_limit"' do
|
150
138
|
it 'should work' do
|
151
139
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|