pulpcore_client 3.11.0.dev01613619278 → 3.11.0.dev01614051194
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pulpcore_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +11 -11
- data/docs/AccessPoliciesApi.md +12 -12
- data/docs/ArtifactsApi.md +14 -14
- data/docs/ContentApi.md +6 -6
- data/docs/{ContentGuardsApi.md → ContentguardsApi.md} +15 -15
- data/docs/ExportersPulpApi.md +10 -10
- data/docs/GroupsApi.md +14 -14
- data/docs/ImportersPulpApi.md +10 -10
- data/docs/RepositoriesApi.md +12 -12
- data/docs/SigningServicesApi.md +2 -2
- data/docs/TasksApi.md +46 -46
- data/docs/UsersApi.md +44 -44
- data/docs/WorkerResponse.md +3 -3
- data/docs/WorkersApi.md +26 -26
- data/lib/pulpcore_client.rb +1 -1
- data/lib/pulpcore_client/api/access_policies_api.rb +13 -13
- data/lib/pulpcore_client/api/artifacts_api.rb +14 -14
- data/lib/pulpcore_client/api/content_api.rb +6 -6
- data/lib/pulpcore_client/api/{content_guards_api.rb → contentguards_api.rb} +17 -17
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +11 -11
- data/lib/pulpcore_client/api/groups_api.rb +16 -16
- data/lib/pulpcore_client/api/importers_pulp_api.rb +11 -11
- data/lib/pulpcore_client/api/repositories_api.rb +13 -13
- data/lib/pulpcore_client/api/signing_services_api.rb +2 -2
- data/lib/pulpcore_client/api/tasks_api.rb +58 -50
- data/lib/pulpcore_client/api/users_api.rb +48 -48
- data/lib/pulpcore_client/api/workers_api.rb +28 -28
- data/lib/pulpcore_client/models/worker_response.rb +10 -10
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/api/access_policies_api_spec.rb +6 -6
- data/spec/api/artifacts_api_spec.rb +7 -7
- data/spec/api/content_api_spec.rb +3 -3
- data/spec/api/{content_guards_api_spec.rb → contentguards_api_spec.rb} +12 -12
- data/spec/api/exporters_pulp_api_spec.rb +5 -5
- data/spec/api/groups_api_spec.rb +7 -7
- data/spec/api/importers_pulp_api_spec.rb +5 -5
- data/spec/api/repositories_api_spec.rb +6 -6
- data/spec/api/signing_services_api_spec.rb +1 -1
- data/spec/api/tasks_api_spec.rb +23 -23
- data/spec/api/users_api_spec.rb +22 -22
- data/spec/api/workers_api_spec.rb +13 -13
- data/spec/models/worker_response_spec.rb +2 -2
- metadata +6 -6
@@ -22,21 +22,21 @@ module PulpcoreClient
|
|
22
22
|
# List workers
|
23
23
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
-
# @option opts [
|
26
|
-
# @option opts [
|
27
|
-
# @option opts [
|
28
|
-
# @option opts [
|
29
|
-
# @option opts [
|
30
|
-
# @option opts [
|
25
|
+
# @option opts [DateTime] :last_heartbeat ISO 8601 formatted dates are supported
|
26
|
+
# @option opts [DateTime] :last_heartbeat__gt Filter results where last_heartbeat is greater than value
|
27
|
+
# @option opts [DateTime] :last_heartbeat__gte Filter results where last_heartbeat is greater than or equal to value
|
28
|
+
# @option opts [DateTime] :last_heartbeat__lt Filter results where last_heartbeat is less than value
|
29
|
+
# @option opts [DateTime] :last_heartbeat__lte Filter results where last_heartbeat is less than or equal to value
|
30
|
+
# @option opts [Array<DateTime>] :last_heartbeat__range Filter results where last_heartbeat is between two comma separated values
|
31
31
|
# @option opts [Integer] :limit Number of results to return per page.
|
32
|
-
# @option opts [
|
33
|
-
# @option opts [String] :name
|
34
|
-
# @option opts [String] :name__contains
|
35
|
-
# @option opts [String] :name__icontains
|
36
|
-
# @option opts [String] :name__in
|
37
|
-
# @option opts [String] :name__startswith
|
32
|
+
# @option opts [Boolean] :missing
|
33
|
+
# @option opts [String] :name
|
34
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
35
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
36
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
37
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
38
38
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
39
|
-
# @option opts [
|
39
|
+
# @option opts [Boolean] :online
|
40
40
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
41
41
|
# @option opts [String] :fields A list of fields to include in the response.
|
42
42
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
@@ -49,21 +49,21 @@ module PulpcoreClient
|
|
49
49
|
# List workers
|
50
50
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
|
-
# @option opts [
|
53
|
-
# @option opts [
|
54
|
-
# @option opts [
|
55
|
-
# @option opts [
|
56
|
-
# @option opts [
|
57
|
-
# @option opts [
|
52
|
+
# @option opts [DateTime] :last_heartbeat ISO 8601 formatted dates are supported
|
53
|
+
# @option opts [DateTime] :last_heartbeat__gt Filter results where last_heartbeat is greater than value
|
54
|
+
# @option opts [DateTime] :last_heartbeat__gte Filter results where last_heartbeat is greater than or equal to value
|
55
|
+
# @option opts [DateTime] :last_heartbeat__lt Filter results where last_heartbeat is less than value
|
56
|
+
# @option opts [DateTime] :last_heartbeat__lte Filter results where last_heartbeat is less than or equal to value
|
57
|
+
# @option opts [Array<DateTime>] :last_heartbeat__range Filter results where last_heartbeat is between two comma separated values
|
58
58
|
# @option opts [Integer] :limit Number of results to return per page.
|
59
|
-
# @option opts [
|
60
|
-
# @option opts [String] :name
|
61
|
-
# @option opts [String] :name__contains
|
62
|
-
# @option opts [String] :name__icontains
|
63
|
-
# @option opts [String] :name__in
|
64
|
-
# @option opts [String] :name__startswith
|
59
|
+
# @option opts [Boolean] :missing
|
60
|
+
# @option opts [String] :name
|
61
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
62
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
63
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
64
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
65
65
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
66
|
-
# @option opts [
|
66
|
+
# @option opts [Boolean] :online
|
67
67
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
68
68
|
# @option opts [String] :fields A list of fields to include in the response.
|
69
69
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
@@ -82,13 +82,13 @@ module PulpcoreClient
|
|
82
82
|
query_params[:'last_heartbeat__gte'] = opts[:'last_heartbeat__gte'] if !opts[:'last_heartbeat__gte'].nil?
|
83
83
|
query_params[:'last_heartbeat__lt'] = opts[:'last_heartbeat__lt'] if !opts[:'last_heartbeat__lt'].nil?
|
84
84
|
query_params[:'last_heartbeat__lte'] = opts[:'last_heartbeat__lte'] if !opts[:'last_heartbeat__lte'].nil?
|
85
|
-
query_params[:'last_heartbeat__range'] = opts[:'last_heartbeat__range'] if !opts[:'last_heartbeat__range'].nil?
|
85
|
+
query_params[:'last_heartbeat__range'] = @api_client.build_collection_param(opts[:'last_heartbeat__range'], :csv) if !opts[:'last_heartbeat__range'].nil?
|
86
86
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
87
87
|
query_params[:'missing'] = opts[:'missing'] if !opts[:'missing'].nil?
|
88
88
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
89
89
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
90
90
|
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
91
|
-
query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
|
91
|
+
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
92
92
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
93
93
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
94
94
|
query_params[:'online'] = opts[:'online'] if !opts[:'online'].nil?
|
@@ -15,11 +15,11 @@ require 'date'
|
|
15
15
|
module PulpcoreClient
|
16
16
|
# Base serializer for use with :class:`pulpcore.app.models.Model` This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
17
17
|
class WorkerResponse
|
18
|
-
attr_accessor :pulp_href
|
19
|
-
|
20
18
|
# Timestamp of creation.
|
21
19
|
attr_accessor :pulp_created
|
22
20
|
|
21
|
+
attr_accessor :pulp_href
|
22
|
+
|
23
23
|
# The name of the worker.
|
24
24
|
attr_accessor :name
|
25
25
|
|
@@ -29,8 +29,8 @@ module PulpcoreClient
|
|
29
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
30
30
|
def self.attribute_map
|
31
31
|
{
|
32
|
-
:'pulp_href' => :'pulp_href',
|
33
32
|
:'pulp_created' => :'pulp_created',
|
33
|
+
:'pulp_href' => :'pulp_href',
|
34
34
|
:'name' => :'name',
|
35
35
|
:'last_heartbeat' => :'last_heartbeat'
|
36
36
|
}
|
@@ -39,8 +39,8 @@ module PulpcoreClient
|
|
39
39
|
# Attribute type mapping.
|
40
40
|
def self.openapi_types
|
41
41
|
{
|
42
|
-
:'pulp_href' => :'String',
|
43
42
|
:'pulp_created' => :'DateTime',
|
43
|
+
:'pulp_href' => :'String',
|
44
44
|
:'name' => :'String',
|
45
45
|
:'last_heartbeat' => :'DateTime'
|
46
46
|
}
|
@@ -67,14 +67,14 @@ module PulpcoreClient
|
|
67
67
|
h[k.to_sym] = v
|
68
68
|
}
|
69
69
|
|
70
|
-
if attributes.key?(:'pulp_href')
|
71
|
-
self.pulp_href = attributes[:'pulp_href']
|
72
|
-
end
|
73
|
-
|
74
70
|
if attributes.key?(:'pulp_created')
|
75
71
|
self.pulp_created = attributes[:'pulp_created']
|
76
72
|
end
|
77
73
|
|
74
|
+
if attributes.key?(:'pulp_href')
|
75
|
+
self.pulp_href = attributes[:'pulp_href']
|
76
|
+
end
|
77
|
+
|
78
78
|
if attributes.key?(:'name')
|
79
79
|
self.name = attributes[:'name']
|
80
80
|
end
|
@@ -102,8 +102,8 @@ module PulpcoreClient
|
|
102
102
|
def ==(o)
|
103
103
|
return true if self.equal?(o)
|
104
104
|
self.class == o.class &&
|
105
|
-
pulp_href == o.pulp_href &&
|
106
105
|
pulp_created == o.pulp_created &&
|
106
|
+
pulp_href == o.pulp_href &&
|
107
107
|
name == o.name &&
|
108
108
|
last_heartbeat == o.last_heartbeat
|
109
109
|
end
|
@@ -117,7 +117,7 @@ module PulpcoreClient
|
|
117
117
|
# Calculates hash code according to all attributes.
|
118
118
|
# @return [Integer] Hash code
|
119
119
|
def hash
|
120
|
-
[
|
120
|
+
[pulp_created, pulp_href, name, last_heartbeat].hash
|
121
121
|
end
|
122
122
|
|
123
123
|
# Builds the object from hash
|
@@ -36,15 +36,15 @@ describe 'AccessPoliciesApi' do
|
|
36
36
|
# List access policys
|
37
37
|
# ViewSet for AccessPolicy. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
|
-
# @option opts [
|
39
|
+
# @option opts [Boolean] :customized
|
40
40
|
# @option opts [Integer] :limit Number of results to return per page.
|
41
41
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
42
42
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
43
|
-
# @option opts [String] :viewset_name viewset_name
|
44
|
-
# @option opts [String] :viewset_name__contains
|
45
|
-
# @option opts [String] :viewset_name__icontains
|
46
|
-
# @option opts [String] :viewset_name__in
|
47
|
-
# @option opts [String] :viewset_name__startswith
|
43
|
+
# @option opts [String] :viewset_name Filter results where viewset_name matches value
|
44
|
+
# @option opts [String] :viewset_name__contains Filter results where viewset_name contains value
|
45
|
+
# @option opts [String] :viewset_name__icontains Filter results where viewset_name contains value
|
46
|
+
# @option opts [Array<String>] :viewset_name__in Filter results where viewset_name is in a comma-separated list of values
|
47
|
+
# @option opts [String] :viewset_name__startswith Filter results where viewset_name starts with value
|
48
48
|
# @option opts [String] :fields A list of fields to include in the response.
|
49
49
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
50
50
|
# @return [PaginatedAccessPolicyResponseList]
|
@@ -68,15 +68,15 @@ describe 'ArtifactsApi' do
|
|
68
68
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
69
69
|
# @param [Hash] opts the optional parameters
|
70
70
|
# @option opts [Integer] :limit Number of results to return per page.
|
71
|
-
# @option opts [String] :md5 md5
|
71
|
+
# @option opts [String] :md5 Filter results where md5 matches value
|
72
72
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
73
73
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
74
|
-
# @option opts [String] :repository_version
|
75
|
-
# @option opts [String] :sha1 sha1
|
76
|
-
# @option opts [String] :sha224 sha224
|
77
|
-
# @option opts [String] :sha256 sha256
|
78
|
-
# @option opts [String] :sha384 sha384
|
79
|
-
# @option opts [String] :sha512 sha512
|
74
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
75
|
+
# @option opts [String] :sha1 Filter results where sha1 matches value
|
76
|
+
# @option opts [String] :sha224 Filter results where sha224 matches value
|
77
|
+
# @option opts [String] :sha256 Filter results where sha256 matches value
|
78
|
+
# @option opts [String] :sha384 Filter results where sha384 matches value
|
79
|
+
# @option opts [String] :sha512 Filter results where sha512 matches value
|
80
80
|
# @option opts [String] :fields A list of fields to include in the response.
|
81
81
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
82
82
|
# @return [PaginatedArtifactResponseList]
|
@@ -39,9 +39,9 @@ describe 'ContentApi' do
|
|
39
39
|
# @option opts [Integer] :limit Number of results to return per page.
|
40
40
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
41
41
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
42
|
-
# @option opts [String] :repository_version
|
43
|
-
# @option opts [String] :repository_version_added
|
44
|
-
# @option opts [String] :repository_version_removed
|
42
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
43
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
44
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
45
45
|
# @option opts [String] :fields A list of fields to include in the response.
|
46
46
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
47
47
|
# @return [PaginatedMultipleArtifactContentResponseList]
|
@@ -13,35 +13,35 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
15
15
|
|
16
|
-
# Unit tests for PulpcoreClient::
|
16
|
+
# Unit tests for PulpcoreClient::ContentguardsApi
|
17
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
18
|
# Please update as you see appropriate
|
19
|
-
describe '
|
19
|
+
describe 'ContentguardsApi' do
|
20
20
|
before do
|
21
21
|
# run before each test
|
22
|
-
@api_instance = PulpcoreClient::
|
22
|
+
@api_instance = PulpcoreClient::ContentguardsApi.new
|
23
23
|
end
|
24
24
|
|
25
25
|
after do
|
26
26
|
# run after each test
|
27
27
|
end
|
28
28
|
|
29
|
-
describe 'test an instance of
|
30
|
-
it 'should create an instance of
|
31
|
-
expect(@api_instance).to be_instance_of(PulpcoreClient::
|
29
|
+
describe 'test an instance of ContentguardsApi' do
|
30
|
+
it 'should create an instance of ContentguardsApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpcoreClient::ContentguardsApi)
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for list
|
36
36
|
# List content guards
|
37
|
-
# Endpoint to list all
|
37
|
+
# Endpoint to list all contentguards.
|
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] :name__contains
|
42
|
-
# @option opts [String] :name__icontains
|
43
|
-
# @option opts [String] :name__in
|
44
|
-
# @option opts [String] :name__startswith
|
40
|
+
# @option opts [String] :name
|
41
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
42
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
43
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
44
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
45
45
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
46
46
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
47
47
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -61,11 +61,11 @@ describe 'ExportersPulpApi' do
|
|
61
61
|
# ViewSet for viewing PulpExporters.
|
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
71
|
# @option opts [String] :fields A list of fields to include in the response.
|
data/spec/api/groups_api_spec.rb
CHANGED
@@ -60,14 +60,14 @@ describe 'GroupsApi' do
|
|
60
60
|
# List groups
|
61
61
|
# ViewSet for Group. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
|
-
# @option opts [
|
64
|
-
# @option opts [
|
63
|
+
# @option opts [Integer] :id Filter results where id matches value
|
64
|
+
# @option opts [Array<Integer>] :id__in Filter results where id is in a comma-separated list of values
|
65
65
|
# @option opts [Integer] :limit Number of results to return per page.
|
66
|
-
# @option opts [String] :name name
|
67
|
-
# @option opts [String] :name__contains
|
68
|
-
# @option opts [String] :name__icontains
|
69
|
-
# @option opts [String] :name__iexact
|
70
|
-
# @option opts [String] :name__in
|
66
|
+
# @option opts [String] :name Filter results where name matches value
|
67
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
68
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
69
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
70
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
71
71
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
72
72
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
73
73
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -61,11 +61,11 @@ describe 'ImportersPulpApi' do
|
|
61
61
|
# ViewSet for PulpImporters.
|
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
71
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -37,14 +37,14 @@ describe 'RepositoriesApi' do
|
|
37
37
|
# Endpoint to list all repositories.
|
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] :name__contains
|
42
|
-
# @option opts [String] :name__icontains
|
43
|
-
# @option opts [String] :name__in
|
44
|
-
# @option opts [String] :name__startswith
|
40
|
+
# @option opts [String] :name
|
41
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
42
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
43
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
44
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
45
45
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
46
46
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
47
|
-
# @option opts [String] :pulp_label_select
|
47
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
48
48
|
# @option opts [String] :fields A list of fields to include in the response.
|
49
49
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
50
50
|
# @return [PaginatedRepositoryResponseList]
|
@@ -37,7 +37,7 @@ describe 'SigningServicesApi' do
|
|
37
37
|
# A ViewSet that supports browsing of existing signing services.
|
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
|
40
|
+
# @option opts [String] :name
|
41
41
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
42
42
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
43
43
|
# @option opts [String] :fields A list of fields to include in the response.
|
data/spec/api/tasks_api_spec.rb
CHANGED
@@ -48,32 +48,32 @@ describe 'TasksApi' do
|
|
48
48
|
# List tasks
|
49
49
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
50
50
|
# @param [Hash] opts the optional parameters
|
51
|
-
# @option opts [String] :child_tasks
|
52
|
-
# @option opts [String] :created_resources
|
53
|
-
# @option opts [
|
54
|
-
# @option opts [
|
55
|
-
# @option opts [
|
56
|
-
# @option opts [
|
57
|
-
# @option opts [
|
58
|
-
# @option opts [
|
51
|
+
# @option opts [String] :child_tasks Foreign Key referenced by HREF
|
52
|
+
# @option opts [String] :created_resources
|
53
|
+
# @option opts [DateTime] :finished_at ISO 8601 formatted dates are supported
|
54
|
+
# @option opts [DateTime] :finished_at__gt Filter results where finished_at is greater than value
|
55
|
+
# @option opts [DateTime] :finished_at__gte Filter results where finished_at is greater than or equal to value
|
56
|
+
# @option opts [DateTime] :finished_at__lt Filter results where finished_at is less than value
|
57
|
+
# @option opts [DateTime] :finished_at__lte Filter results where finished_at is less than or equal to value
|
58
|
+
# @option opts [Array<DateTime>] :finished_at__range Filter results where finished_at is between two comma separated values
|
59
59
|
# @option opts [Integer] :limit Number of results to return per page.
|
60
|
-
# @option opts [String] :name
|
61
|
-
# @option opts [String] :name__contains
|
60
|
+
# @option opts [String] :name
|
61
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
62
62
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
63
63
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
64
|
-
# @option opts [String] :parent_task
|
65
|
-
# @option opts [String] :reserved_resources_record
|
66
|
-
# @option opts [
|
67
|
-
# @option opts [
|
68
|
-
# @option opts [
|
69
|
-
# @option opts [
|
70
|
-
# @option opts [
|
71
|
-
# @option opts [
|
72
|
-
# @option opts [String] :state
|
73
|
-
# @option opts [String] :state__in
|
74
|
-
# @option opts [String] :task_group
|
75
|
-
# @option opts [String] :worker
|
76
|
-
# @option opts [String] :worker__in
|
64
|
+
# @option opts [String] :parent_task Foreign Key referenced by HREF
|
65
|
+
# @option opts [String] :reserved_resources_record
|
66
|
+
# @option opts [DateTime] :started_at ISO 8601 formatted dates are supported
|
67
|
+
# @option opts [DateTime] :started_at__gt Filter results where started_at is greater than value
|
68
|
+
# @option opts [DateTime] :started_at__gte Filter results where started_at is greater than or equal to value
|
69
|
+
# @option opts [DateTime] :started_at__lt Filter results where started_at is less than value
|
70
|
+
# @option opts [DateTime] :started_at__lte Filter results where started_at is less than or equal to value
|
71
|
+
# @option opts [Array<DateTime>] :started_at__range Filter results where started_at is between two comma separated values
|
72
|
+
# @option opts [String] :state
|
73
|
+
# @option opts [Array<String>] :state__in Filter results where state is in a comma-separated list of values
|
74
|
+
# @option opts [String] :task_group Foreign Key referenced by HREF
|
75
|
+
# @option opts [String] :worker Foreign Key referenced by HREF
|
76
|
+
# @option opts [Array<String>] :worker__in Filter results where worker is in a comma-separated list of values
|
77
77
|
# @option opts [String] :fields A list of fields to include in the response.
|
78
78
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
79
79
|
# @return [PaginatedTaskResponseList]
|
data/spec/api/users_api_spec.rb
CHANGED
@@ -36,31 +36,31 @@ describe 'UsersApi' do
|
|
36
36
|
# List users
|
37
37
|
# ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
|
-
# @option opts [String] :email email
|
40
|
-
# @option opts [String] :email__contains
|
41
|
-
# @option opts [String] :email__icontains
|
42
|
-
# @option opts [String] :email__iexact
|
43
|
-
# @option opts [String] :email__in
|
44
|
-
# @option opts [String] :first_name first_name
|
45
|
-
# @option opts [String] :first_name__contains
|
46
|
-
# @option opts [String] :first_name__icontains
|
47
|
-
# @option opts [String] :first_name__iexact
|
48
|
-
# @option opts [String] :first_name__in
|
49
|
-
# @option opts [
|
50
|
-
# @option opts [
|
51
|
-
# @option opts [String] :last_name last_name
|
52
|
-
# @option opts [String] :last_name__contains
|
53
|
-
# @option opts [String] :last_name__icontains
|
54
|
-
# @option opts [String] :last_name__iexact
|
55
|
-
# @option opts [String] :last_name__in
|
39
|
+
# @option opts [String] :email Filter results where email matches value
|
40
|
+
# @option opts [String] :email__contains Filter results where email contains value
|
41
|
+
# @option opts [String] :email__icontains Filter results where email contains value
|
42
|
+
# @option opts [String] :email__iexact Filter results where email matches value
|
43
|
+
# @option opts [Array<String>] :email__in Filter results where email is in a comma-separated list of values
|
44
|
+
# @option opts [String] :first_name Filter results where first_name matches value
|
45
|
+
# @option opts [String] :first_name__contains Filter results where first_name contains value
|
46
|
+
# @option opts [String] :first_name__icontains Filter results where first_name contains value
|
47
|
+
# @option opts [String] :first_name__iexact Filter results where first_name matches value
|
48
|
+
# @option opts [Array<String>] :first_name__in Filter results where first_name is in a comma-separated list of values
|
49
|
+
# @option opts [Boolean] :is_active Filter results where is_active matches value
|
50
|
+
# @option opts [Boolean] :is_staff Filter results where is_staff matches value
|
51
|
+
# @option opts [String] :last_name Filter results where last_name matches value
|
52
|
+
# @option opts [String] :last_name__contains Filter results where last_name contains value
|
53
|
+
# @option opts [String] :last_name__icontains Filter results where last_name contains value
|
54
|
+
# @option opts [String] :last_name__iexact Filter results where last_name matches value
|
55
|
+
# @option opts [Array<String>] :last_name__in Filter results where last_name is in a comma-separated list of values
|
56
56
|
# @option opts [Integer] :limit Number of results to return per page.
|
57
57
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
58
58
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
59
|
-
# @option opts [String] :username username
|
60
|
-
# @option opts [String] :username__contains
|
61
|
-
# @option opts [String] :username__icontains
|
62
|
-
# @option opts [String] :username__iexact
|
63
|
-
# @option opts [String] :username__in
|
59
|
+
# @option opts [String] :username Filter results where username matches value
|
60
|
+
# @option opts [String] :username__contains Filter results where username contains value
|
61
|
+
# @option opts [String] :username__icontains Filter results where username contains value
|
62
|
+
# @option opts [String] :username__iexact Filter results where username matches value
|
63
|
+
# @option opts [Array<String>] :username__in Filter results where username is in a comma-separated list of values
|
64
64
|
# @option opts [String] :fields A list of fields to include in the response.
|
65
65
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
66
66
|
# @return [PaginatedUserResponseList]
|