pulpcore_client 3.19.1 → 3.20.0
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 +93 -16
- data/docs/AccessPoliciesApi.md +2 -2
- data/docs/AccessPolicy.md +3 -1
- data/docs/AccessPolicyResponse.md +3 -1
- data/docs/AcsApi.md +417 -0
- data/docs/AlternateContentSource.md +23 -0
- data/docs/AlternateContentSourceResponse.md +27 -0
- data/docs/ArtifactsApi.md +2 -2
- data/docs/ContentApi.md +117 -3
- data/docs/ContentGuard.md +19 -0
- data/docs/ContentguardsApi.md +282 -3
- data/docs/ContentguardsContentRedirectApi.md +230 -2
- data/docs/ContentguardsRbacApi.md +2 -2
- data/docs/Distribution.md +25 -0
- data/docs/DistributionsApi.md +283 -3
- data/docs/Export.md +17 -0
- data/docs/ExportResponse.md +25 -0
- data/docs/Exporter.md +17 -0
- data/docs/ExporterResponse.md +21 -0
- data/docs/ExportersApi.md +362 -0
- data/docs/{GroupsModelPermissionsApi.md → ExportersExportsApi.md} +46 -48
- data/docs/ExportersFilesystemApi.md +2 -2
- data/docs/ExportersFilesystemExportsApi.md +0 -2
- data/docs/ExportersPulpApi.md +2 -2
- data/docs/ExportersPulpExportsApi.md +0 -2
- data/docs/GroupRole.md +1 -1
- data/docs/GroupRoleResponse.md +6 -2
- data/docs/GroupsApi.md +2 -2
- data/docs/GroupsRolesApi.md +2 -2
- data/docs/GroupsUsersApi.md +0 -2
- data/docs/Import.md +19 -0
- data/docs/Importer.md +17 -0
- data/docs/ImporterResponse.md +21 -0
- data/docs/ImportersApi.md +361 -0
- data/docs/{GroupsObjectPermissionsApi.md → ImportersImportsApi.md} +46 -48
- data/docs/ImportersPulpApi.md +2 -2
- data/docs/ImportersPulpImportsApi.md +0 -2
- data/docs/MultipleArtifactContent.md +17 -0
- data/docs/OrphansCleanup.md +1 -1
- data/docs/PaginatedAlternateContentSourceResponseList.md +23 -0
- data/docs/{PaginatedPermissionResponseList.md → PaginatedExportResponseList.md} +3 -3
- data/docs/PaginatedExporterResponseList.md +23 -0
- data/docs/PaginatedImporterResponseList.md +23 -0
- data/docs/PaginatedRemoteResponseList.md +23 -0
- data/docs/PatchedAccessPolicy.md +3 -1
- data/docs/PatchedAlternateContentSource.md +23 -0
- data/docs/PatchedContentGuard.md +19 -0
- data/docs/PatchedDistribution.md +25 -0
- data/docs/PatchedExporter.md +17 -0
- data/docs/PatchedImporter.md +17 -0
- data/docs/PatchedRemote.md +57 -0
- data/docs/PatchedRepository.md +25 -0
- data/docs/PolicyEnum.md +16 -0
- data/docs/PublicationsApi.md +117 -2
- data/docs/Remote.md +57 -0
- data/docs/RemoteResponse.md +53 -0
- data/docs/RemotesApi.md +376 -0
- data/docs/RepositoriesApi.md +283 -3
- data/docs/RepositoriesVersionsApi.md +271 -0
- data/docs/Repository.md +25 -0
- data/docs/RepositoryVersionsApi.md +2 -0
- data/docs/RolesApi.md +6 -2
- data/docs/SigningServicesApi.md +0 -2
- data/docs/TaskGroupsApi.md +2 -2
- data/docs/TaskSchedulesApi.md +2 -2
- data/docs/TasksApi.md +2 -2
- data/docs/UploadsApi.md +0 -2
- data/docs/UserRole.md +1 -1
- data/docs/UserRoleResponse.md +6 -2
- data/docs/UsersApi.md +2 -61
- data/docs/UsersRolesApi.md +2 -2
- data/docs/VersionResponse.md +3 -1
- data/docs/WorkersApi.md +2 -2
- data/lib/pulpcore_client/api/access_policies_api.rb +7 -3
- data/lib/pulpcore_client/api/acs_api.rb +514 -0
- data/lib/pulpcore_client/api/artifacts_api.rb +7 -3
- data/lib/pulpcore_client/api/content_api.rb +141 -5
- data/lib/pulpcore_client/api/contentguards_api.rb +341 -5
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +275 -3
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +7 -3
- data/lib/pulpcore_client/api/distributions_api.rb +343 -5
- data/lib/pulpcore_client/api/exporters_api.rb +446 -0
- data/lib/pulpcore_client/api/{groups_model_permissions_api.rb → exporters_exports_api.rb} +76 -79
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +7 -3
- data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +0 -3
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +7 -3
- data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +0 -3
- data/lib/pulpcore_client/api/groups_api.rb +7 -3
- data/lib/pulpcore_client/api/groups_roles_api.rb +7 -3
- data/lib/pulpcore_client/api/groups_users_api.rb +0 -3
- data/lib/pulpcore_client/api/importers_api.rb +444 -0
- data/lib/pulpcore_client/api/{groups_object_permissions_api.rb → importers_imports_api.rb} +76 -79
- data/lib/pulpcore_client/api/importers_pulp_api.rb +7 -3
- data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +0 -3
- data/lib/pulpcore_client/api/publications_api.rb +138 -3
- data/lib/pulpcore_client/api/remotes_api.rb +467 -0
- data/lib/pulpcore_client/api/repositories_api.rb +343 -5
- data/lib/pulpcore_client/api/repositories_versions_api.rb +343 -0
- data/lib/pulpcore_client/api/repository_versions_api.rb +7 -0
- data/lib/pulpcore_client/api/roles_api.rb +13 -3
- data/lib/pulpcore_client/api/signing_services_api.rb +0 -3
- data/lib/pulpcore_client/api/task_groups_api.rb +7 -3
- data/lib/pulpcore_client/api/task_schedules_api.rb +7 -3
- data/lib/pulpcore_client/api/tasks_api.rb +7 -3
- data/lib/pulpcore_client/api/uploads_api.rb +0 -3
- data/lib/pulpcore_client/api/users_api.rb +7 -69
- data/lib/pulpcore_client/api/users_roles_api.rb +7 -3
- data/lib/pulpcore_client/api/workers_api.rb +7 -3
- data/lib/pulpcore_client/models/access_policy.rb +14 -4
- data/lib/pulpcore_client/models/access_policy_response.rb +14 -4
- data/lib/pulpcore_client/models/alternate_content_source.rb +270 -0
- data/lib/pulpcore_client/models/alternate_content_source_response.rb +270 -0
- data/lib/pulpcore_client/models/content_guard.rb +258 -0
- data/lib/pulpcore_client/models/distribution.rb +297 -0
- data/lib/pulpcore_client/models/export.rb +209 -0
- data/lib/pulpcore_client/models/export_response.rb +250 -0
- data/lib/pulpcore_client/models/exporter.rb +232 -0
- data/lib/pulpcore_client/models/{permission_response.rb → exporter_response.rb} +24 -27
- data/lib/pulpcore_client/models/group_role.rb +1 -1
- data/lib/pulpcore_client/models/group_role_response.rb +26 -6
- data/lib/pulpcore_client/models/import.rb +228 -0
- data/lib/pulpcore_client/models/importer.rb +232 -0
- data/lib/pulpcore_client/models/importer_response.rb +232 -0
- data/lib/pulpcore_client/models/multiple_artifact_content.rb +213 -0
- data/lib/pulpcore_client/models/orphans_cleanup.rb +0 -2
- data/lib/pulpcore_client/models/paginated_alternate_content_source_response_list.rb +237 -0
- data/lib/pulpcore_client/models/{paginated_permission_response_list.rb → paginated_export_response_list.rb} +4 -4
- data/lib/pulpcore_client/models/paginated_exporter_response_list.rb +237 -0
- data/lib/pulpcore_client/models/paginated_importer_response_list.rb +237 -0
- data/lib/pulpcore_client/models/paginated_remote_response_list.rb +237 -0
- data/lib/pulpcore_client/models/patched_access_policy.rb +14 -4
- data/lib/pulpcore_client/models/patched_alternate_content_source.rb +256 -0
- data/lib/pulpcore_client/models/patched_content_guard.rb +249 -0
- data/lib/pulpcore_client/models/patched_distribution.rb +279 -0
- data/lib/pulpcore_client/models/patched_exporter.rb +223 -0
- data/lib/pulpcore_client/models/patched_importer.rb +223 -0
- data/lib/pulpcore_client/models/patched_remote.rb +649 -0
- data/lib/pulpcore_client/models/patched_repository.rb +295 -0
- data/lib/pulpcore_client/models/policy_enum.rb +36 -0
- data/lib/pulpcore_client/models/remote.rb +667 -0
- data/lib/pulpcore_client/models/remote_response.rb +483 -0
- data/lib/pulpcore_client/models/repository.rb +304 -0
- data/lib/pulpcore_client/models/user_role.rb +1 -1
- data/lib/pulpcore_client/models/user_role_response.rb +26 -6
- data/lib/pulpcore_client/models/version_response.rb +19 -4
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +35 -4
- data/spec/api/access_policies_api_spec.rb +1 -1
- data/spec/api/acs_api_spec.rb +132 -0
- data/spec/api/artifacts_api_spec.rb +1 -1
- data/spec/api/content_api_spec.rb +28 -2
- data/spec/api/contentguards_api_spec.rb +66 -2
- data/spec/api/contentguards_content_redirect_api_spec.rb +51 -1
- data/spec/api/contentguards_rbac_api_spec.rb +1 -1
- data/spec/api/distributions_api_spec.rb +66 -2
- data/spec/api/exporters_api_spec.rb +120 -0
- data/spec/api/{groups_model_permissions_api_spec.rb → exporters_exports_api_spec.rb} +22 -23
- data/spec/api/exporters_filesystem_api_spec.rb +1 -1
- data/spec/api/exporters_filesystem_exports_api_spec.rb +0 -1
- data/spec/api/exporters_pulp_api_spec.rb +1 -1
- data/spec/api/exporters_pulp_exports_api_spec.rb +0 -1
- data/spec/api/groups_api_spec.rb +1 -1
- data/spec/api/groups_roles_api_spec.rb +1 -1
- data/spec/api/groups_users_api_spec.rb +0 -1
- data/spec/api/importers_api_spec.rb +120 -0
- data/spec/api/{groups_object_permissions_api_spec.rb → importers_imports_api_spec.rb} +22 -23
- data/spec/api/importers_pulp_api_spec.rb +1 -1
- data/spec/api/importers_pulp_imports_api_spec.rb +0 -1
- data/spec/api/publications_api_spec.rb +28 -1
- data/spec/api/remotes_api_spec.rb +127 -0
- data/spec/api/repositories_api_spec.rb +66 -2
- data/spec/api/repositories_versions_api_spec.rb +104 -0
- data/spec/api/repository_versions_api_spec.rb +1 -0
- data/spec/api/roles_api_spec.rb +3 -1
- data/spec/api/signing_services_api_spec.rb +0 -1
- data/spec/api/task_groups_api_spec.rb +1 -1
- data/spec/api/task_schedules_api_spec.rb +1 -1
- data/spec/api/tasks_api_spec.rb +1 -1
- data/spec/api/uploads_api_spec.rb +0 -1
- data/spec/api/users_api_spec.rb +1 -14
- data/spec/api/users_roles_api_spec.rb +1 -1
- data/spec/api/workers_api_spec.rb +1 -1
- data/spec/models/access_policy_response_spec.rb +6 -0
- data/spec/models/access_policy_spec.rb +6 -0
- data/spec/models/alternate_content_source_response_spec.rb +71 -0
- data/spec/models/{permission_response_spec.rb → alternate_content_source_spec.rb} +10 -10
- data/spec/models/content_guard_spec.rb +47 -0
- data/spec/models/distribution_spec.rb +65 -0
- data/spec/models/export_response_spec.rb +65 -0
- data/spec/models/export_spec.rb +41 -0
- data/spec/models/exporter_response_spec.rb +53 -0
- data/spec/models/exporter_spec.rb +41 -0
- data/spec/models/group_role_response_spec.rb +12 -0
- data/spec/models/import_spec.rb +47 -0
- data/spec/models/importer_response_spec.rb +53 -0
- data/spec/models/importer_spec.rb +41 -0
- data/spec/models/multiple_artifact_content_spec.rb +41 -0
- data/spec/models/paginated_alternate_content_source_response_list_spec.rb +59 -0
- data/spec/models/{paginated_permission_response_list_spec.rb → paginated_export_response_list_spec.rb} +6 -6
- data/spec/models/paginated_exporter_response_list_spec.rb +59 -0
- data/spec/models/paginated_importer_response_list_spec.rb +59 -0
- data/spec/models/paginated_remote_response_list_spec.rb +59 -0
- data/spec/models/patched_access_policy_spec.rb +6 -0
- data/spec/models/patched_alternate_content_source_spec.rb +59 -0
- data/spec/models/patched_content_guard_spec.rb +47 -0
- data/spec/models/patched_distribution_spec.rb +65 -0
- data/spec/models/patched_exporter_spec.rb +41 -0
- data/spec/models/patched_importer_spec.rb +41 -0
- data/spec/models/patched_remote_spec.rb +161 -0
- data/spec/models/patched_repository_spec.rb +65 -0
- data/spec/models/policy_enum_spec.rb +35 -0
- data/spec/models/remote_response_spec.rb +149 -0
- data/spec/models/remote_spec.rb +161 -0
- data/spec/models/repository_spec.rb +65 -0
- data/spec/models/user_role_response_spec.rb +12 -0
- data/spec/models/version_response_spec.rb +6 -0
- metadata +263 -139
- data/docs/PermissionResponse.md +0 -23
|
@@ -0,0 +1,304 @@
|
|
|
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 PulpcoreClient
|
|
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
|
+
class Repository
|
|
18
|
+
attr_accessor :pulp_labels
|
|
19
|
+
|
|
20
|
+
# A unique name for this repository.
|
|
21
|
+
attr_accessor :name
|
|
22
|
+
|
|
23
|
+
# An optional description.
|
|
24
|
+
attr_accessor :description
|
|
25
|
+
|
|
26
|
+
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
|
27
|
+
attr_accessor :retain_repo_versions
|
|
28
|
+
|
|
29
|
+
# An optional remote to use by default when syncing.
|
|
30
|
+
attr_accessor :remote
|
|
31
|
+
|
|
32
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
33
|
+
def self.attribute_map
|
|
34
|
+
{
|
|
35
|
+
:'pulp_labels' => :'pulp_labels',
|
|
36
|
+
:'name' => :'name',
|
|
37
|
+
:'description' => :'description',
|
|
38
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
|
39
|
+
:'remote' => :'remote'
|
|
40
|
+
}
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# Attribute type mapping.
|
|
44
|
+
def self.openapi_types
|
|
45
|
+
{
|
|
46
|
+
:'pulp_labels' => :'Object',
|
|
47
|
+
:'name' => :'String',
|
|
48
|
+
:'description' => :'String',
|
|
49
|
+
:'retain_repo_versions' => :'Integer',
|
|
50
|
+
:'remote' => :'String'
|
|
51
|
+
}
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
# List of attributes with nullable: true
|
|
55
|
+
def self.openapi_nullable
|
|
56
|
+
Set.new([
|
|
57
|
+
:'description',
|
|
58
|
+
:'retain_repo_versions',
|
|
59
|
+
:'remote'
|
|
60
|
+
])
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
# Initializes the object
|
|
64
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
65
|
+
def initialize(attributes = {})
|
|
66
|
+
if (!attributes.is_a?(Hash))
|
|
67
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpcoreClient::Repository` initialize method"
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
71
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
72
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
73
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpcoreClient::Repository`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
74
|
+
end
|
|
75
|
+
h[k.to_sym] = v
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
if attributes.key?(:'pulp_labels')
|
|
79
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
if attributes.key?(:'name')
|
|
83
|
+
self.name = attributes[:'name']
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
if attributes.key?(:'description')
|
|
87
|
+
self.description = attributes[:'description']
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
if attributes.key?(:'retain_repo_versions')
|
|
91
|
+
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
if attributes.key?(:'remote')
|
|
95
|
+
self.remote = attributes[:'remote']
|
|
96
|
+
end
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
100
|
+
# @return Array for valid properties with the reasons
|
|
101
|
+
def list_invalid_properties
|
|
102
|
+
invalid_properties = Array.new
|
|
103
|
+
if @name.nil?
|
|
104
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
if @name.to_s.length < 1
|
|
108
|
+
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
|
109
|
+
end
|
|
110
|
+
|
|
111
|
+
if !@description.nil? && @description.to_s.length < 1
|
|
112
|
+
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
116
|
+
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
|
117
|
+
end
|
|
118
|
+
|
|
119
|
+
invalid_properties
|
|
120
|
+
end
|
|
121
|
+
|
|
122
|
+
# Check to see if the all the properties in the model are valid
|
|
123
|
+
# @return true if the model is valid
|
|
124
|
+
def valid?
|
|
125
|
+
return false if @name.nil?
|
|
126
|
+
return false if @name.to_s.length < 1
|
|
127
|
+
return false if !@description.nil? && @description.to_s.length < 1
|
|
128
|
+
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
129
|
+
true
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
# Custom attribute writer method with validation
|
|
133
|
+
# @param [Object] name Value to be assigned
|
|
134
|
+
def name=(name)
|
|
135
|
+
if name.nil?
|
|
136
|
+
fail ArgumentError, 'name cannot be nil'
|
|
137
|
+
end
|
|
138
|
+
|
|
139
|
+
if name.to_s.length < 1
|
|
140
|
+
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
|
|
141
|
+
end
|
|
142
|
+
|
|
143
|
+
@name = name
|
|
144
|
+
end
|
|
145
|
+
|
|
146
|
+
# Custom attribute writer method with validation
|
|
147
|
+
# @param [Object] description Value to be assigned
|
|
148
|
+
def description=(description)
|
|
149
|
+
if !description.nil? && description.to_s.length < 1
|
|
150
|
+
fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
|
|
151
|
+
end
|
|
152
|
+
|
|
153
|
+
@description = description
|
|
154
|
+
end
|
|
155
|
+
|
|
156
|
+
# Custom attribute writer method with validation
|
|
157
|
+
# @param [Object] retain_repo_versions Value to be assigned
|
|
158
|
+
def retain_repo_versions=(retain_repo_versions)
|
|
159
|
+
if !retain_repo_versions.nil? && retain_repo_versions < 1
|
|
160
|
+
fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
|
|
161
|
+
end
|
|
162
|
+
|
|
163
|
+
@retain_repo_versions = retain_repo_versions
|
|
164
|
+
end
|
|
165
|
+
|
|
166
|
+
# Checks equality by comparing each attribute.
|
|
167
|
+
# @param [Object] Object to be compared
|
|
168
|
+
def ==(o)
|
|
169
|
+
return true if self.equal?(o)
|
|
170
|
+
self.class == o.class &&
|
|
171
|
+
pulp_labels == o.pulp_labels &&
|
|
172
|
+
name == o.name &&
|
|
173
|
+
description == o.description &&
|
|
174
|
+
retain_repo_versions == o.retain_repo_versions &&
|
|
175
|
+
remote == o.remote
|
|
176
|
+
end
|
|
177
|
+
|
|
178
|
+
# @see the `==` method
|
|
179
|
+
# @param [Object] Object to be compared
|
|
180
|
+
def eql?(o)
|
|
181
|
+
self == o
|
|
182
|
+
end
|
|
183
|
+
|
|
184
|
+
# Calculates hash code according to all attributes.
|
|
185
|
+
# @return [Integer] Hash code
|
|
186
|
+
def hash
|
|
187
|
+
[pulp_labels, name, description, retain_repo_versions, remote].hash
|
|
188
|
+
end
|
|
189
|
+
|
|
190
|
+
# Builds the object from hash
|
|
191
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
192
|
+
# @return [Object] Returns the model itself
|
|
193
|
+
def self.build_from_hash(attributes)
|
|
194
|
+
new.build_from_hash(attributes)
|
|
195
|
+
end
|
|
196
|
+
|
|
197
|
+
# Builds the object from hash
|
|
198
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
199
|
+
# @return [Object] Returns the model itself
|
|
200
|
+
def build_from_hash(attributes)
|
|
201
|
+
return nil unless attributes.is_a?(Hash)
|
|
202
|
+
self.class.openapi_types.each_pair do |key, type|
|
|
203
|
+
if type =~ /\AArray<(.*)>/i
|
|
204
|
+
# check to ensure the input is an array given that the attribute
|
|
205
|
+
# is documented as an array but the input is not
|
|
206
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
207
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
208
|
+
end
|
|
209
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
210
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
211
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
212
|
+
end
|
|
213
|
+
|
|
214
|
+
self
|
|
215
|
+
end
|
|
216
|
+
|
|
217
|
+
# Deserializes the data based on type
|
|
218
|
+
# @param string type Data type
|
|
219
|
+
# @param string value Value to be deserialized
|
|
220
|
+
# @return [Object] Deserialized data
|
|
221
|
+
def _deserialize(type, value)
|
|
222
|
+
case type.to_sym
|
|
223
|
+
when :DateTime
|
|
224
|
+
DateTime.parse(value)
|
|
225
|
+
when :Date
|
|
226
|
+
Date.parse(value)
|
|
227
|
+
when :String
|
|
228
|
+
value.to_s
|
|
229
|
+
when :Integer
|
|
230
|
+
value.to_i
|
|
231
|
+
when :Float
|
|
232
|
+
value.to_f
|
|
233
|
+
when :Boolean
|
|
234
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
235
|
+
true
|
|
236
|
+
else
|
|
237
|
+
false
|
|
238
|
+
end
|
|
239
|
+
when :Object
|
|
240
|
+
# generic object (usually a Hash), return directly
|
|
241
|
+
value
|
|
242
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
243
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
244
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
245
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
246
|
+
k_type = Regexp.last_match[:k_type]
|
|
247
|
+
v_type = Regexp.last_match[:v_type]
|
|
248
|
+
{}.tap do |hash|
|
|
249
|
+
value.each do |k, v|
|
|
250
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
251
|
+
end
|
|
252
|
+
end
|
|
253
|
+
else # model
|
|
254
|
+
PulpcoreClient.const_get(type).build_from_hash(value)
|
|
255
|
+
end
|
|
256
|
+
end
|
|
257
|
+
|
|
258
|
+
# Returns the string representation of the object
|
|
259
|
+
# @return [String] String presentation of the object
|
|
260
|
+
def to_s
|
|
261
|
+
to_hash.to_s
|
|
262
|
+
end
|
|
263
|
+
|
|
264
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
265
|
+
# @return [Hash] Returns the object in the form of hash
|
|
266
|
+
def to_body
|
|
267
|
+
to_hash
|
|
268
|
+
end
|
|
269
|
+
|
|
270
|
+
# Returns the object in the form of hash
|
|
271
|
+
# @return [Hash] Returns the object in the form of hash
|
|
272
|
+
def to_hash
|
|
273
|
+
hash = {}
|
|
274
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
275
|
+
value = self.send(attr)
|
|
276
|
+
if value.nil?
|
|
277
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
278
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
279
|
+
end
|
|
280
|
+
|
|
281
|
+
hash[param] = _to_hash(value)
|
|
282
|
+
end
|
|
283
|
+
hash
|
|
284
|
+
end
|
|
285
|
+
|
|
286
|
+
# Outputs non-array value in the form of hash
|
|
287
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
288
|
+
# @param [Object] value Any valid value
|
|
289
|
+
# @return [Hash] Returns the value in the form of hash
|
|
290
|
+
def _to_hash(value)
|
|
291
|
+
if value.is_a?(Array)
|
|
292
|
+
value.compact.map { |v| _to_hash(v) }
|
|
293
|
+
elsif value.is_a?(Hash)
|
|
294
|
+
{}.tap do |hash|
|
|
295
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
296
|
+
end
|
|
297
|
+
elsif value.respond_to? :to_hash
|
|
298
|
+
value.to_hash
|
|
299
|
+
else
|
|
300
|
+
value
|
|
301
|
+
end
|
|
302
|
+
end
|
|
303
|
+
end
|
|
304
|
+
end
|
|
@@ -17,7 +17,7 @@ module PulpcoreClient
|
|
|
17
17
|
class UserRole
|
|
18
18
|
attr_accessor :role
|
|
19
19
|
|
|
20
|
-
#
|
|
20
|
+
# pulp_href of the object for which role permissions should be asserted. If set to 'null', permissions will act on the model-level.
|
|
21
21
|
attr_accessor :content_object
|
|
22
22
|
|
|
23
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -22,16 +22,22 @@ module PulpcoreClient
|
|
|
22
22
|
|
|
23
23
|
attr_accessor :role
|
|
24
24
|
|
|
25
|
-
#
|
|
25
|
+
# pulp_href of the object for which role permissions should be asserted. If set to 'null', permissions will act on the model-level.
|
|
26
26
|
attr_accessor :content_object
|
|
27
27
|
|
|
28
|
+
attr_accessor :description
|
|
29
|
+
|
|
30
|
+
attr_accessor :permissions
|
|
31
|
+
|
|
28
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
29
33
|
def self.attribute_map
|
|
30
34
|
{
|
|
31
35
|
:'pulp_href' => :'pulp_href',
|
|
32
36
|
:'pulp_created' => :'pulp_created',
|
|
33
37
|
:'role' => :'role',
|
|
34
|
-
:'content_object' => :'content_object'
|
|
38
|
+
:'content_object' => :'content_object',
|
|
39
|
+
:'description' => :'description',
|
|
40
|
+
:'permissions' => :'permissions'
|
|
35
41
|
}
|
|
36
42
|
end
|
|
37
43
|
|
|
@@ -41,14 +47,16 @@ module PulpcoreClient
|
|
|
41
47
|
:'pulp_href' => :'String',
|
|
42
48
|
:'pulp_created' => :'DateTime',
|
|
43
49
|
:'role' => :'String',
|
|
44
|
-
:'content_object' => :'String'
|
|
50
|
+
:'content_object' => :'String',
|
|
51
|
+
:'description' => :'String',
|
|
52
|
+
:'permissions' => :'Array<String>'
|
|
45
53
|
}
|
|
46
54
|
end
|
|
47
55
|
|
|
48
56
|
# List of attributes with nullable: true
|
|
49
57
|
def self.openapi_nullable
|
|
50
58
|
Set.new([
|
|
51
|
-
:'content_object'
|
|
59
|
+
:'content_object',
|
|
52
60
|
])
|
|
53
61
|
end
|
|
54
62
|
|
|
@@ -82,6 +90,16 @@ module PulpcoreClient
|
|
|
82
90
|
if attributes.key?(:'content_object')
|
|
83
91
|
self.content_object = attributes[:'content_object']
|
|
84
92
|
end
|
|
93
|
+
|
|
94
|
+
if attributes.key?(:'description')
|
|
95
|
+
self.description = attributes[:'description']
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
if attributes.key?(:'permissions')
|
|
99
|
+
if (value = attributes[:'permissions']).is_a?(Array)
|
|
100
|
+
self.permissions = value
|
|
101
|
+
end
|
|
102
|
+
end
|
|
85
103
|
end
|
|
86
104
|
|
|
87
105
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -110,7 +128,9 @@ module PulpcoreClient
|
|
|
110
128
|
pulp_href == o.pulp_href &&
|
|
111
129
|
pulp_created == o.pulp_created &&
|
|
112
130
|
role == o.role &&
|
|
113
|
-
content_object == o.content_object
|
|
131
|
+
content_object == o.content_object &&
|
|
132
|
+
description == o.description &&
|
|
133
|
+
permissions == o.permissions
|
|
114
134
|
end
|
|
115
135
|
|
|
116
136
|
# @see the `==` method
|
|
@@ -122,7 +142,7 @@ module PulpcoreClient
|
|
|
122
142
|
# Calculates hash code according to all attributes.
|
|
123
143
|
# @return [Integer] Hash code
|
|
124
144
|
def hash
|
|
125
|
-
[pulp_href, pulp_created, role, content_object].hash
|
|
145
|
+
[pulp_href, pulp_created, role, content_object, description, permissions].hash
|
|
126
146
|
end
|
|
127
147
|
|
|
128
148
|
# Builds the object from hash
|
|
@@ -21,11 +21,15 @@ module PulpcoreClient
|
|
|
21
21
|
# Version of the component (e.g. 3.0.0)
|
|
22
22
|
attr_accessor :version
|
|
23
23
|
|
|
24
|
+
# Python package name providing the component
|
|
25
|
+
attr_accessor :package
|
|
26
|
+
|
|
24
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
25
28
|
def self.attribute_map
|
|
26
29
|
{
|
|
27
30
|
:'component' => :'component',
|
|
28
|
-
:'version' => :'version'
|
|
31
|
+
:'version' => :'version',
|
|
32
|
+
:'package' => :'package'
|
|
29
33
|
}
|
|
30
34
|
end
|
|
31
35
|
|
|
@@ -33,7 +37,8 @@ module PulpcoreClient
|
|
|
33
37
|
def self.openapi_types
|
|
34
38
|
{
|
|
35
39
|
:'component' => :'String',
|
|
36
|
-
:'version' => :'String'
|
|
40
|
+
:'version' => :'String',
|
|
41
|
+
:'package' => :'String'
|
|
37
42
|
}
|
|
38
43
|
end
|
|
39
44
|
|
|
@@ -65,6 +70,10 @@ module PulpcoreClient
|
|
|
65
70
|
if attributes.key?(:'version')
|
|
66
71
|
self.version = attributes[:'version']
|
|
67
72
|
end
|
|
73
|
+
|
|
74
|
+
if attributes.key?(:'package')
|
|
75
|
+
self.package = attributes[:'package']
|
|
76
|
+
end
|
|
68
77
|
end
|
|
69
78
|
|
|
70
79
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -79,6 +88,10 @@ module PulpcoreClient
|
|
|
79
88
|
invalid_properties.push('invalid value for "version", version cannot be nil.')
|
|
80
89
|
end
|
|
81
90
|
|
|
91
|
+
if @package.nil?
|
|
92
|
+
invalid_properties.push('invalid value for "package", package cannot be nil.')
|
|
93
|
+
end
|
|
94
|
+
|
|
82
95
|
invalid_properties
|
|
83
96
|
end
|
|
84
97
|
|
|
@@ -87,6 +100,7 @@ module PulpcoreClient
|
|
|
87
100
|
def valid?
|
|
88
101
|
return false if @component.nil?
|
|
89
102
|
return false if @version.nil?
|
|
103
|
+
return false if @package.nil?
|
|
90
104
|
true
|
|
91
105
|
end
|
|
92
106
|
|
|
@@ -96,7 +110,8 @@ module PulpcoreClient
|
|
|
96
110
|
return true if self.equal?(o)
|
|
97
111
|
self.class == o.class &&
|
|
98
112
|
component == o.component &&
|
|
99
|
-
version == o.version
|
|
113
|
+
version == o.version &&
|
|
114
|
+
package == o.package
|
|
100
115
|
end
|
|
101
116
|
|
|
102
117
|
# @see the `==` method
|
|
@@ -108,7 +123,7 @@ module PulpcoreClient
|
|
|
108
123
|
# Calculates hash code according to all attributes.
|
|
109
124
|
# @return [Integer] Hash code
|
|
110
125
|
def hash
|
|
111
|
-
[component, version].hash
|
|
126
|
+
[component, version, package].hash
|
|
112
127
|
end
|
|
113
128
|
|
|
114
129
|
# Builds the object from hash
|
data/lib/pulpcore_client.rb
CHANGED
|
@@ -19,17 +19,25 @@ require 'pulpcore_client/configuration'
|
|
|
19
19
|
# Models
|
|
20
20
|
require 'pulpcore_client/models/access_policy'
|
|
21
21
|
require 'pulpcore_client/models/access_policy_response'
|
|
22
|
+
require 'pulpcore_client/models/alternate_content_source'
|
|
23
|
+
require 'pulpcore_client/models/alternate_content_source_response'
|
|
22
24
|
require 'pulpcore_client/models/artifact'
|
|
23
25
|
require 'pulpcore_client/models/artifact_response'
|
|
24
26
|
require 'pulpcore_client/models/async_operation_response'
|
|
25
27
|
require 'pulpcore_client/models/content_app_status_response'
|
|
28
|
+
require 'pulpcore_client/models/content_guard'
|
|
26
29
|
require 'pulpcore_client/models/content_guard_response'
|
|
27
30
|
require 'pulpcore_client/models/content_redirect_content_guard'
|
|
28
31
|
require 'pulpcore_client/models/content_redirect_content_guard_response'
|
|
29
32
|
require 'pulpcore_client/models/content_summary_response'
|
|
30
33
|
require 'pulpcore_client/models/database_connection_response'
|
|
34
|
+
require 'pulpcore_client/models/distribution'
|
|
31
35
|
require 'pulpcore_client/models/distribution_response'
|
|
32
36
|
require 'pulpcore_client/models/evaluation_response'
|
|
37
|
+
require 'pulpcore_client/models/export'
|
|
38
|
+
require 'pulpcore_client/models/export_response'
|
|
39
|
+
require 'pulpcore_client/models/exporter'
|
|
40
|
+
require 'pulpcore_client/models/exporter_response'
|
|
33
41
|
require 'pulpcore_client/models/filesystem_export'
|
|
34
42
|
require 'pulpcore_client/models/filesystem_export_response'
|
|
35
43
|
require 'pulpcore_client/models/filesystem_exporter'
|
|
@@ -41,9 +49,13 @@ require 'pulpcore_client/models/group_role'
|
|
|
41
49
|
require 'pulpcore_client/models/group_role_response'
|
|
42
50
|
require 'pulpcore_client/models/group_user'
|
|
43
51
|
require 'pulpcore_client/models/group_user_response'
|
|
52
|
+
require 'pulpcore_client/models/import'
|
|
44
53
|
require 'pulpcore_client/models/import_response'
|
|
54
|
+
require 'pulpcore_client/models/importer'
|
|
55
|
+
require 'pulpcore_client/models/importer_response'
|
|
45
56
|
require 'pulpcore_client/models/method_enum'
|
|
46
57
|
require 'pulpcore_client/models/minimal_task_response'
|
|
58
|
+
require 'pulpcore_client/models/multiple_artifact_content'
|
|
47
59
|
require 'pulpcore_client/models/multiple_artifact_content_response'
|
|
48
60
|
require 'pulpcore_client/models/my_permissions_response'
|
|
49
61
|
require 'pulpcore_client/models/nested_role'
|
|
@@ -51,23 +63,27 @@ require 'pulpcore_client/models/nested_role_response'
|
|
|
51
63
|
require 'pulpcore_client/models/object_roles_response'
|
|
52
64
|
require 'pulpcore_client/models/orphans_cleanup'
|
|
53
65
|
require 'pulpcore_client/models/paginated_access_policy_response_list'
|
|
66
|
+
require 'pulpcore_client/models/paginated_alternate_content_source_response_list'
|
|
54
67
|
require 'pulpcore_client/models/paginated_artifact_response_list'
|
|
55
68
|
require 'pulpcore_client/models/paginated_content_guard_response_list'
|
|
56
69
|
require 'pulpcore_client/models/paginated_content_redirect_content_guard_response_list'
|
|
57
70
|
require 'pulpcore_client/models/paginated_distribution_response_list'
|
|
71
|
+
require 'pulpcore_client/models/paginated_export_response_list'
|
|
72
|
+
require 'pulpcore_client/models/paginated_exporter_response_list'
|
|
58
73
|
require 'pulpcore_client/models/paginated_filesystem_export_response_list'
|
|
59
74
|
require 'pulpcore_client/models/paginated_filesystem_exporter_response_list'
|
|
60
75
|
require 'pulpcore_client/models/paginated_group_response_list'
|
|
61
76
|
require 'pulpcore_client/models/paginated_group_role_response_list'
|
|
62
77
|
require 'pulpcore_client/models/paginated_group_user_response_list'
|
|
63
78
|
require 'pulpcore_client/models/paginated_import_response_list'
|
|
79
|
+
require 'pulpcore_client/models/paginated_importer_response_list'
|
|
64
80
|
require 'pulpcore_client/models/paginated_multiple_artifact_content_response_list'
|
|
65
|
-
require 'pulpcore_client/models/paginated_permission_response_list'
|
|
66
81
|
require 'pulpcore_client/models/paginated_publication_response_list'
|
|
67
82
|
require 'pulpcore_client/models/paginated_pulp_export_response_list'
|
|
68
83
|
require 'pulpcore_client/models/paginated_pulp_exporter_response_list'
|
|
69
84
|
require 'pulpcore_client/models/paginated_pulp_importer_response_list'
|
|
70
85
|
require 'pulpcore_client/models/paginated_rbac_content_guard_response_list'
|
|
86
|
+
require 'pulpcore_client/models/paginated_remote_response_list'
|
|
71
87
|
require 'pulpcore_client/models/paginated_repository_response_list'
|
|
72
88
|
require 'pulpcore_client/models/paginated_repository_version_response_list'
|
|
73
89
|
require 'pulpcore_client/models/paginated_role_response_list'
|
|
@@ -80,16 +96,23 @@ require 'pulpcore_client/models/paginated_user_response_list'
|
|
|
80
96
|
require 'pulpcore_client/models/paginated_user_role_response_list'
|
|
81
97
|
require 'pulpcore_client/models/paginated_worker_response_list'
|
|
82
98
|
require 'pulpcore_client/models/patched_access_policy'
|
|
99
|
+
require 'pulpcore_client/models/patched_alternate_content_source'
|
|
100
|
+
require 'pulpcore_client/models/patched_content_guard'
|
|
83
101
|
require 'pulpcore_client/models/patched_content_redirect_content_guard'
|
|
102
|
+
require 'pulpcore_client/models/patched_distribution'
|
|
103
|
+
require 'pulpcore_client/models/patched_exporter'
|
|
84
104
|
require 'pulpcore_client/models/patched_filesystem_exporter'
|
|
85
105
|
require 'pulpcore_client/models/patched_group'
|
|
106
|
+
require 'pulpcore_client/models/patched_importer'
|
|
86
107
|
require 'pulpcore_client/models/patched_pulp_exporter'
|
|
87
108
|
require 'pulpcore_client/models/patched_pulp_importer'
|
|
88
109
|
require 'pulpcore_client/models/patched_rbac_content_guard'
|
|
110
|
+
require 'pulpcore_client/models/patched_remote'
|
|
111
|
+
require 'pulpcore_client/models/patched_repository'
|
|
89
112
|
require 'pulpcore_client/models/patched_role'
|
|
90
113
|
require 'pulpcore_client/models/patched_task_cancel'
|
|
91
114
|
require 'pulpcore_client/models/patched_user'
|
|
92
|
-
require 'pulpcore_client/models/
|
|
115
|
+
require 'pulpcore_client/models/policy_enum'
|
|
93
116
|
require 'pulpcore_client/models/progress_report_response'
|
|
94
117
|
require 'pulpcore_client/models/publication_response'
|
|
95
118
|
require 'pulpcore_client/models/pulp_export'
|
|
@@ -106,7 +129,10 @@ require 'pulpcore_client/models/rbac_content_guard'
|
|
|
106
129
|
require 'pulpcore_client/models/rbac_content_guard_response'
|
|
107
130
|
require 'pulpcore_client/models/reclaim_space'
|
|
108
131
|
require 'pulpcore_client/models/redis_connection_response'
|
|
132
|
+
require 'pulpcore_client/models/remote'
|
|
133
|
+
require 'pulpcore_client/models/remote_response'
|
|
109
134
|
require 'pulpcore_client/models/repair'
|
|
135
|
+
require 'pulpcore_client/models/repository'
|
|
110
136
|
require 'pulpcore_client/models/repository_response'
|
|
111
137
|
require 'pulpcore_client/models/repository_version_response'
|
|
112
138
|
require 'pulpcore_client/models/role'
|
|
@@ -136,30 +162,35 @@ require 'pulpcore_client/models/worker_response'
|
|
|
136
162
|
|
|
137
163
|
# APIs
|
|
138
164
|
require 'pulpcore_client/api/access_policies_api'
|
|
165
|
+
require 'pulpcore_client/api/acs_api'
|
|
139
166
|
require 'pulpcore_client/api/artifacts_api'
|
|
140
167
|
require 'pulpcore_client/api/content_api'
|
|
141
168
|
require 'pulpcore_client/api/contentguards_api'
|
|
142
169
|
require 'pulpcore_client/api/contentguards_content_redirect_api'
|
|
143
170
|
require 'pulpcore_client/api/contentguards_rbac_api'
|
|
144
171
|
require 'pulpcore_client/api/distributions_api'
|
|
172
|
+
require 'pulpcore_client/api/exporters_api'
|
|
173
|
+
require 'pulpcore_client/api/exporters_exports_api'
|
|
145
174
|
require 'pulpcore_client/api/exporters_filesystem_api'
|
|
146
175
|
require 'pulpcore_client/api/exporters_filesystem_exports_api'
|
|
147
176
|
require 'pulpcore_client/api/exporters_pulp_api'
|
|
148
177
|
require 'pulpcore_client/api/exporters_pulp_exports_api'
|
|
149
178
|
require 'pulpcore_client/api/groups_api'
|
|
150
|
-
require 'pulpcore_client/api/groups_model_permissions_api'
|
|
151
|
-
require 'pulpcore_client/api/groups_object_permissions_api'
|
|
152
179
|
require 'pulpcore_client/api/groups_roles_api'
|
|
153
180
|
require 'pulpcore_client/api/groups_users_api'
|
|
181
|
+
require 'pulpcore_client/api/importers_api'
|
|
182
|
+
require 'pulpcore_client/api/importers_imports_api'
|
|
154
183
|
require 'pulpcore_client/api/importers_pulp_api'
|
|
155
184
|
require 'pulpcore_client/api/importers_pulp_import_check_api'
|
|
156
185
|
require 'pulpcore_client/api/importers_pulp_imports_api'
|
|
157
186
|
require 'pulpcore_client/api/orphans_api'
|
|
158
187
|
require 'pulpcore_client/api/orphans_cleanup_api'
|
|
159
188
|
require 'pulpcore_client/api/publications_api'
|
|
189
|
+
require 'pulpcore_client/api/remotes_api'
|
|
160
190
|
require 'pulpcore_client/api/repair_api'
|
|
161
191
|
require 'pulpcore_client/api/repositories_api'
|
|
162
192
|
require 'pulpcore_client/api/repositories_reclaim_space_api'
|
|
193
|
+
require 'pulpcore_client/api/repositories_versions_api'
|
|
163
194
|
require 'pulpcore_client/api/repository_versions_api'
|
|
164
195
|
require 'pulpcore_client/api/roles_api'
|
|
165
196
|
require 'pulpcore_client/api/signing_services_api'
|
|
@@ -39,7 +39,7 @@ describe 'AccessPoliciesApi' do
|
|
|
39
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
|
-
# @option opts [String] :ordering
|
|
42
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
43
43
|
# @option opts [String] :viewset_name Filter results where viewset_name matches value
|
|
44
44
|
# @option opts [String] :viewset_name__contains Filter results where viewset_name contains value
|
|
45
45
|
# @option opts [String] :viewset_name__icontains Filter results where viewset_name contains value
|