pulpcore_client 3.28.39 → 3.29.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 +5 -5
- data/docs/AccessPoliciesApi.md +1 -1
- data/docs/ArtifactDistributionResponse.md +8 -8
- data/docs/ArtifactsApi.md +1 -1
- data/docs/ContentApi.md +3 -3
- data/docs/ContentguardsApi.md +3 -3
- data/docs/ContentguardsContentRedirectApi.md +1 -1
- data/docs/ContentguardsRbacApi.md +1 -1
- data/docs/DistributionsApi.md +4 -4
- data/docs/DistributionsArtifactsApi.md +2 -2
- data/docs/DomainsApi.md +1 -1
- data/docs/ExportersFilesystemApi.md +1 -1
- data/docs/ExportersFilesystemExportsApi.md +1 -1
- data/docs/ExportersPulpApi.md +1 -1
- data/docs/ExportersPulpExportsApi.md +1 -1
- data/docs/GroupsApi.md +1 -1
- data/docs/GroupsRolesApi.md +2 -2
- data/docs/GroupsUsersApi.md +1 -1
- data/docs/ImportersPulpApi.md +1 -1
- data/docs/ImportersPulpImportCheckApi.md +1 -1
- data/docs/ImportersPulpImportsApi.md +1 -1
- data/docs/OrphansApi.md +1 -1
- data/docs/OrphansCleanupApi.md +1 -1
- data/docs/PaginatedAccessPolicyResponseList.md +2 -2
- data/docs/PaginatedArtifactDistributionResponseList.md +2 -2
- data/docs/PaginatedArtifactResponseList.md +2 -2
- data/docs/PaginatedContentGuardResponseList.md +2 -2
- data/docs/PaginatedContentRedirectContentGuardResponseList.md +2 -2
- data/docs/PaginatedDistributionResponseList.md +2 -2
- data/docs/PaginatedDomainResponseList.md +2 -2
- data/docs/PaginatedFilesystemExportResponseList.md +2 -2
- data/docs/PaginatedFilesystemExporterResponseList.md +2 -2
- data/docs/PaginatedGroupResponseList.md +2 -2
- data/docs/PaginatedGroupRoleResponseList.md +2 -2
- data/docs/PaginatedGroupUserResponseList.md +2 -2
- data/docs/PaginatedImportResponseList.md +2 -2
- data/docs/PaginatedMultipleArtifactContentResponseList.md +2 -2
- data/docs/PaginatedPublicationResponseList.md +2 -2
- data/docs/PaginatedPulpExportResponseList.md +2 -2
- data/docs/PaginatedPulpExporterResponseList.md +2 -2
- data/docs/PaginatedPulpImporterResponseList.md +2 -2
- data/docs/PaginatedRBACContentGuardResponseList.md +2 -2
- data/docs/PaginatedRemoteResponseList.md +2 -2
- data/docs/PaginatedRepositoryResponseList.md +2 -2
- data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
- data/docs/PaginatedRoleResponseList.md +2 -2
- data/docs/PaginatedSigningServiceResponseList.md +2 -2
- data/docs/PaginatedTaskGroupResponseList.md +2 -2
- data/docs/PaginatedTaskResponseList.md +2 -2
- data/docs/PaginatedTaskScheduleResponseList.md +2 -2
- data/docs/PaginatedUploadResponseList.md +2 -2
- data/docs/PaginatedUpstreamPulpResponseList.md +2 -2
- data/docs/PaginatedUserResponseList.md +2 -2
- data/docs/PaginatedUserRoleResponseList.md +2 -2
- data/docs/PaginatedWorkerResponseList.md +2 -2
- data/docs/PublicationsApi.md +3 -3
- data/docs/RemoteResponseHiddenFields.md +2 -2
- data/docs/RemotesApi.md +3 -3
- data/docs/RepairApi.md +1 -1
- data/docs/RepositoriesApi.md +4 -4
- data/docs/RepositoriesReclaimSpaceApi.md +1 -1
- data/docs/RepositoryVersionsApi.md +1 -1
- data/docs/RolesApi.md +1 -1
- data/docs/SigningServicesApi.md +1 -1
- data/docs/StatusApi.md +1 -1
- data/docs/TaskGroupsApi.md +1 -1
- data/docs/TaskSchedulesApi.md +1 -1
- data/docs/TasksApi.md +7 -7
- data/docs/UploadsApi.md +1 -1
- data/docs/UpstreamPulpsApi.md +3 -3
- data/docs/UsersApi.md +1 -1
- data/docs/UsersRolesApi.md +2 -2
- data/docs/WorkersApi.md +1 -1
- data/lib/pulpcore_client/api/content_api.rb +3 -3
- data/lib/pulpcore_client/api/contentguards_api.rb +3 -3
- data/lib/pulpcore_client/api/distributions_api.rb +3 -3
- data/lib/pulpcore_client/api/publications_api.rb +6 -2
- data/lib/pulpcore_client/api/remotes_api.rb +6 -2
- data/lib/pulpcore_client/api/repositories_api.rb +6 -2
- data/lib/pulpcore_client/api/tasks_api.rb +3 -3
- data/lib/pulpcore_client/api/upstream_pulps_api.rb +3 -3
- data/lib/pulpcore_client/configuration.rb +3 -3
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +37 -37
- data/lib/pulpcore_client/models/paginated_access_policy_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_artifact_distribution_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_artifact_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_content_guard_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_content_redirect_content_guard_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_distribution_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_domain_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_filesystem_export_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_filesystem_exporter_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_group_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_group_role_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_group_user_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_import_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_multiple_artifact_content_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_publication_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_pulp_export_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_pulp_exporter_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_pulp_importer_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_rbac_content_guard_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_remote_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_repository_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_repository_version_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_role_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_signing_service_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_task_group_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_task_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_task_schedule_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_upload_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_upstream_pulp_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_user_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_user_role_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_worker_response_list.rb +0 -10
- data/lib/pulpcore_client/models/remote_response_hidden_fields.rb +0 -10
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/api/content_api_spec.rb +1 -1
- data/spec/api/contentguards_api_spec.rb +1 -1
- data/spec/api/distributions_api_spec.rb +1 -1
- data/spec/api/publications_api_spec.rb +1 -1
- data/spec/api/remotes_api_spec.rb +1 -1
- data/spec/api/repositories_api_spec.rb +1 -1
- data/spec/api/tasks_api_spec.rb +1 -1
- data/spec/api/upstream_pulps_api_spec.rb +1 -1
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_distribution_response_spec.rb +6 -6
- metadata +160 -160
@@ -39,7 +39,7 @@ module PulpcoreClient
|
|
39
39
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
40
40
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
41
41
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
42
|
-
# @option opts [Array<String>] :pulp_type__in Pulp type is in
|
42
|
+
# @option opts [Array<String>] :pulp_type__in Pulp type is in * `file.file` - file.file
|
43
43
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
44
44
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
45
45
|
# @return [PaginatedRemoteResponseList]
|
@@ -68,7 +68,7 @@ module PulpcoreClient
|
|
68
68
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
69
69
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
70
70
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
71
|
-
# @option opts [Array<String>] :pulp_type__in Pulp type is in
|
71
|
+
# @option opts [Array<String>] :pulp_type__in Pulp type is in * `file.file` - file.file
|
72
72
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
73
73
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
74
74
|
# @return [Array<(PaginatedRemoteResponseList, Integer, Hash)>] PaginatedRemoteResponseList data, response status code and response headers
|
@@ -80,6 +80,10 @@ module PulpcoreClient
|
|
80
80
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
81
81
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
82
82
|
end
|
83
|
+
allowable_values = ["file.file"]
|
84
|
+
if @api_client.config.client_side_validation && opts[:'pulp_type__in'] && !opts[:'pulp_type__in'].all? { |item| allowable_values.include?(item) }
|
85
|
+
fail ArgumentError, "invalid value for \"pulp_type__in\", must include one of #{allowable_values}"
|
86
|
+
end
|
83
87
|
# resource path
|
84
88
|
local_var_path = '/pulp/api/v3/remotes/'
|
85
89
|
|
@@ -34,7 +34,7 @@ module PulpcoreClient
|
|
34
34
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
35
35
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
36
36
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
37
|
-
# @option opts [Array<String>] :pulp_type__in Pulp type is in
|
37
|
+
# @option opts [Array<String>] :pulp_type__in Pulp type is in * `file.file` - file.file
|
38
38
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
39
39
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
40
40
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
@@ -68,7 +68,7 @@ module PulpcoreClient
|
|
68
68
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
69
69
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
70
70
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
71
|
-
# @option opts [Array<String>] :pulp_type__in Pulp type is in
|
71
|
+
# @option opts [Array<String>] :pulp_type__in Pulp type is in * `file.file` - file.file
|
72
72
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
73
73
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
74
74
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
@@ -90,6 +90,10 @@ module PulpcoreClient
|
|
90
90
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
91
91
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
92
92
|
end
|
93
|
+
allowable_values = ["file.file"]
|
94
|
+
if @api_client.config.client_side_validation && opts[:'pulp_type__in'] && !opts[:'pulp_type__in'].all? { |item| allowable_values.include?(item) }
|
95
|
+
fail ArgumentError, "invalid value for \"pulp_type__in\", must include one of #{allowable_values}"
|
96
|
+
end
|
93
97
|
# resource path
|
94
98
|
local_var_path = '/pulp/api/v3/repositories/'
|
95
99
|
|
@@ -167,7 +167,7 @@ module PulpcoreClient
|
|
167
167
|
# @option opts [String] :name__contains Filter results where name contains value
|
168
168
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
169
169
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
170
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `args` - Args * `-args` - Args (descending) * `kwargs` - Kwargs * `-kwargs` - Kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
170
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `args` - Args * `-args` - Args (descending) * `kwargs` - Kwargs * `-kwargs` - Kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
171
171
|
# @option opts [String] :parent_task Filter results where parent_task matches value
|
172
172
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
173
173
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
@@ -215,7 +215,7 @@ module PulpcoreClient
|
|
215
215
|
# @option opts [String] :name__contains Filter results where name contains value
|
216
216
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
217
217
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
218
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `args` - Args * `-args` - Args (descending) * `kwargs` - Kwargs * `-kwargs` - Kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
218
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `args` - Args * `-args` - Args (descending) * `kwargs` - Kwargs * `-kwargs` - Kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
219
219
|
# @option opts [String] :parent_task Filter results where parent_task matches value
|
220
220
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
221
221
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
@@ -242,7 +242,7 @@ module PulpcoreClient
|
|
242
242
|
if @api_client.config.debugging
|
243
243
|
@api_client.config.logger.debug 'Calling API: TasksApi.list ...'
|
244
244
|
end
|
245
|
-
allowable_values = ["-args", "-error", "-finished_at", "-kwargs", "-logging_cid", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-reserved_resources_record", "-started_at", "-state", "args", "error", "finished_at", "kwargs", "logging_cid", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "reserved_resources_record", "started_at", "state"]
|
245
|
+
allowable_values = ["-args", "-error", "-finished_at", "-kwargs", "-logging_cid", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-reserved_resources_record", "-started_at", "-state", "-versions", "args", "error", "finished_at", "kwargs", "logging_cid", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "reserved_resources_record", "started_at", "state", "versions"]
|
246
246
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
247
247
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
248
248
|
end
|
@@ -353,7 +353,7 @@ module PulpcoreClient
|
|
353
353
|
# Trigger an asynchronous repository replication task group. This API is provided as a tech preview.
|
354
354
|
# @param upstream_pulp_href [String]
|
355
355
|
# @param [Hash] opts the optional parameters
|
356
|
-
# @return [
|
356
|
+
# @return [AsyncOperationResponse]
|
357
357
|
def replicate(upstream_pulp_href, opts = {})
|
358
358
|
data, _status_code, _headers = replicate_with_http_info(upstream_pulp_href, opts)
|
359
359
|
data
|
@@ -363,7 +363,7 @@ module PulpcoreClient
|
|
363
363
|
# Trigger an asynchronous repository replication task group. This API is provided as a tech preview.
|
364
364
|
# @param upstream_pulp_href [String]
|
365
365
|
# @param [Hash] opts the optional parameters
|
366
|
-
# @return [Array<(
|
366
|
+
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
367
367
|
def replicate_with_http_info(upstream_pulp_href, opts = {})
|
368
368
|
if @api_client.config.debugging
|
369
369
|
@api_client.config.logger.debug 'Calling API: UpstreamPulpsApi.replicate ...'
|
@@ -390,7 +390,7 @@ module PulpcoreClient
|
|
390
390
|
post_body = opts[:body]
|
391
391
|
|
392
392
|
# return_type
|
393
|
-
return_type = opts[:return_type] || '
|
393
|
+
return_type = opts[:return_type] || 'AsyncOperationResponse'
|
394
394
|
|
395
395
|
# auth_names
|
396
396
|
auth_names = opts[:auth_names] || ['basicAuth']
|
@@ -127,8 +127,8 @@ module PulpcoreClient
|
|
127
127
|
attr_accessor :force_ending_format
|
128
128
|
|
129
129
|
def initialize
|
130
|
-
@scheme = '
|
131
|
-
@host = '
|
130
|
+
@scheme = 'https'
|
131
|
+
@host = 'pulp'
|
132
132
|
@base_path = ''
|
133
133
|
@api_key = {}
|
134
134
|
@api_key_prefix = {}
|
@@ -210,7 +210,7 @@ module PulpcoreClient
|
|
210
210
|
def server_settings
|
211
211
|
[
|
212
212
|
{
|
213
|
-
url: "
|
213
|
+
url: "https://pulp/",
|
214
214
|
description: "No description provided",
|
215
215
|
}
|
216
216
|
]
|
@@ -18,36 +18,36 @@ module PulpcoreClient
|
|
18
18
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
19
19
|
attr_accessor :base_path
|
20
20
|
|
21
|
+
attr_accessor :pulp_labels
|
22
|
+
|
21
23
|
# A unique name. Ex, `rawhide` and `stable`.
|
22
24
|
attr_accessor :name
|
23
25
|
|
24
|
-
# An optional content-guard.
|
25
|
-
attr_accessor :content_guard
|
26
|
-
|
27
26
|
attr_accessor :pulp_href
|
28
27
|
|
29
|
-
|
30
|
-
|
31
|
-
# The URL for accessing the publication as defined by this distribution.
|
32
|
-
attr_accessor :base_url
|
28
|
+
# Timestamp of creation.
|
29
|
+
attr_accessor :pulp_created
|
33
30
|
|
34
31
|
# Whether this distribution should be shown in the content app.
|
35
32
|
attr_accessor :hidden
|
36
33
|
|
37
|
-
#
|
38
|
-
attr_accessor :
|
34
|
+
# The URL for accessing the publication as defined by this distribution.
|
35
|
+
attr_accessor :base_url
|
36
|
+
|
37
|
+
# An optional content-guard.
|
38
|
+
attr_accessor :content_guard
|
39
39
|
|
40
40
|
# Attribute mapping from ruby-style variable name to JSON key.
|
41
41
|
def self.attribute_map
|
42
42
|
{
|
43
43
|
:'base_path' => :'base_path',
|
44
|
+
:'pulp_labels' => :'pulp_labels',
|
44
45
|
:'name' => :'name',
|
45
|
-
:'content_guard' => :'content_guard',
|
46
46
|
:'pulp_href' => :'pulp_href',
|
47
|
-
:'
|
48
|
-
:'base_url' => :'base_url',
|
47
|
+
:'pulp_created' => :'pulp_created',
|
49
48
|
:'hidden' => :'hidden',
|
50
|
-
:'
|
49
|
+
:'base_url' => :'base_url',
|
50
|
+
:'content_guard' => :'content_guard'
|
51
51
|
}
|
52
52
|
end
|
53
53
|
|
@@ -55,20 +55,20 @@ module PulpcoreClient
|
|
55
55
|
def self.openapi_types
|
56
56
|
{
|
57
57
|
:'base_path' => :'String',
|
58
|
+
:'pulp_labels' => :'Hash<String, String>',
|
58
59
|
:'name' => :'String',
|
59
|
-
:'content_guard' => :'String',
|
60
60
|
:'pulp_href' => :'String',
|
61
|
-
:'
|
62
|
-
:'base_url' => :'String',
|
61
|
+
:'pulp_created' => :'DateTime',
|
63
62
|
:'hidden' => :'Boolean',
|
64
|
-
:'
|
63
|
+
:'base_url' => :'String',
|
64
|
+
:'content_guard' => :'String'
|
65
65
|
}
|
66
66
|
end
|
67
67
|
|
68
68
|
# List of attributes with nullable: true
|
69
69
|
def self.openapi_nullable
|
70
70
|
Set.new([
|
71
|
-
:'content_guard'
|
71
|
+
:'content_guard'
|
72
72
|
])
|
73
73
|
end
|
74
74
|
|
@@ -91,26 +91,22 @@ module PulpcoreClient
|
|
91
91
|
self.base_path = attributes[:'base_path']
|
92
92
|
end
|
93
93
|
|
94
|
-
if attributes.key?(:'
|
95
|
-
|
94
|
+
if attributes.key?(:'pulp_labels')
|
95
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
96
|
+
self.pulp_labels = value
|
97
|
+
end
|
96
98
|
end
|
97
99
|
|
98
|
-
if attributes.key?(:'
|
99
|
-
self.
|
100
|
+
if attributes.key?(:'name')
|
101
|
+
self.name = attributes[:'name']
|
100
102
|
end
|
101
103
|
|
102
104
|
if attributes.key?(:'pulp_href')
|
103
105
|
self.pulp_href = attributes[:'pulp_href']
|
104
106
|
end
|
105
107
|
|
106
|
-
if attributes.key?(:'
|
107
|
-
|
108
|
-
self.pulp_labels = value
|
109
|
-
end
|
110
|
-
end
|
111
|
-
|
112
|
-
if attributes.key?(:'base_url')
|
113
|
-
self.base_url = attributes[:'base_url']
|
108
|
+
if attributes.key?(:'pulp_created')
|
109
|
+
self.pulp_created = attributes[:'pulp_created']
|
114
110
|
end
|
115
111
|
|
116
112
|
if attributes.key?(:'hidden')
|
@@ -119,8 +115,12 @@ module PulpcoreClient
|
|
119
115
|
self.hidden = false
|
120
116
|
end
|
121
117
|
|
122
|
-
if attributes.key?(:'
|
123
|
-
self.
|
118
|
+
if attributes.key?(:'base_url')
|
119
|
+
self.base_url = attributes[:'base_url']
|
120
|
+
end
|
121
|
+
|
122
|
+
if attributes.key?(:'content_guard')
|
123
|
+
self.content_guard = attributes[:'content_guard']
|
124
124
|
end
|
125
125
|
end
|
126
126
|
|
@@ -153,13 +153,13 @@ module PulpcoreClient
|
|
153
153
|
return true if self.equal?(o)
|
154
154
|
self.class == o.class &&
|
155
155
|
base_path == o.base_path &&
|
156
|
+
pulp_labels == o.pulp_labels &&
|
156
157
|
name == o.name &&
|
157
|
-
content_guard == o.content_guard &&
|
158
158
|
pulp_href == o.pulp_href &&
|
159
|
-
|
160
|
-
base_url == o.base_url &&
|
159
|
+
pulp_created == o.pulp_created &&
|
161
160
|
hidden == o.hidden &&
|
162
|
-
|
161
|
+
base_url == o.base_url &&
|
162
|
+
content_guard == o.content_guard
|
163
163
|
end
|
164
164
|
|
165
165
|
# @see the `==` method
|
@@ -171,7 +171,7 @@ module PulpcoreClient
|
|
171
171
|
# Calculates hash code according to all attributes.
|
172
172
|
# @return [Integer] Hash code
|
173
173
|
def hash
|
174
|
-
[base_path,
|
174
|
+
[base_path, pulp_labels, name, pulp_href, pulp_created, hidden, base_url, content_guard].hash
|
175
175
|
end
|
176
176
|
|
177
177
|
# Builds the object from hash
|
@@ -88,22 +88,12 @@ module PulpcoreClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
-
if @count.nil?
|
92
|
-
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
-
end
|
94
|
-
|
95
|
-
if @results.nil?
|
96
|
-
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
-
end
|
98
|
-
|
99
91
|
invalid_properties
|
100
92
|
end
|
101
93
|
|
102
94
|
# Check to see if the all the properties in the model are valid
|
103
95
|
# @return true if the model is valid
|
104
96
|
def valid?
|
105
|
-
return false if @count.nil?
|
106
|
-
return false if @results.nil?
|
107
97
|
true
|
108
98
|
end
|
109
99
|
|
@@ -88,22 +88,12 @@ module PulpcoreClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
-
if @count.nil?
|
92
|
-
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
-
end
|
94
|
-
|
95
|
-
if @results.nil?
|
96
|
-
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
-
end
|
98
|
-
|
99
91
|
invalid_properties
|
100
92
|
end
|
101
93
|
|
102
94
|
# Check to see if the all the properties in the model are valid
|
103
95
|
# @return true if the model is valid
|
104
96
|
def valid?
|
105
|
-
return false if @count.nil?
|
106
|
-
return false if @results.nil?
|
107
97
|
true
|
108
98
|
end
|
109
99
|
|
@@ -88,22 +88,12 @@ module PulpcoreClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
-
if @count.nil?
|
92
|
-
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
-
end
|
94
|
-
|
95
|
-
if @results.nil?
|
96
|
-
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
-
end
|
98
|
-
|
99
91
|
invalid_properties
|
100
92
|
end
|
101
93
|
|
102
94
|
# Check to see if the all the properties in the model are valid
|
103
95
|
# @return true if the model is valid
|
104
96
|
def valid?
|
105
|
-
return false if @count.nil?
|
106
|
-
return false if @results.nil?
|
107
97
|
true
|
108
98
|
end
|
109
99
|
|
@@ -88,22 +88,12 @@ module PulpcoreClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
-
if @count.nil?
|
92
|
-
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
-
end
|
94
|
-
|
95
|
-
if @results.nil?
|
96
|
-
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
-
end
|
98
|
-
|
99
91
|
invalid_properties
|
100
92
|
end
|
101
93
|
|
102
94
|
# Check to see if the all the properties in the model are valid
|
103
95
|
# @return true if the model is valid
|
104
96
|
def valid?
|
105
|
-
return false if @count.nil?
|
106
|
-
return false if @results.nil?
|
107
97
|
true
|
108
98
|
end
|
109
99
|
|
@@ -88,22 +88,12 @@ module PulpcoreClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
-
if @count.nil?
|
92
|
-
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
-
end
|
94
|
-
|
95
|
-
if @results.nil?
|
96
|
-
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
-
end
|
98
|
-
|
99
91
|
invalid_properties
|
100
92
|
end
|
101
93
|
|
102
94
|
# Check to see if the all the properties in the model are valid
|
103
95
|
# @return true if the model is valid
|
104
96
|
def valid?
|
105
|
-
return false if @count.nil?
|
106
|
-
return false if @results.nil?
|
107
97
|
true
|
108
98
|
end
|
109
99
|
|
@@ -88,22 +88,12 @@ module PulpcoreClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
-
if @count.nil?
|
92
|
-
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
-
end
|
94
|
-
|
95
|
-
if @results.nil?
|
96
|
-
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
-
end
|
98
|
-
|
99
91
|
invalid_properties
|
100
92
|
end
|
101
93
|
|
102
94
|
# Check to see if the all the properties in the model are valid
|
103
95
|
# @return true if the model is valid
|
104
96
|
def valid?
|
105
|
-
return false if @count.nil?
|
106
|
-
return false if @results.nil?
|
107
97
|
true
|
108
98
|
end
|
109
99
|
|
@@ -88,22 +88,12 @@ module PulpcoreClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
-
if @count.nil?
|
92
|
-
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
-
end
|
94
|
-
|
95
|
-
if @results.nil?
|
96
|
-
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
-
end
|
98
|
-
|
99
91
|
invalid_properties
|
100
92
|
end
|
101
93
|
|
102
94
|
# Check to see if the all the properties in the model are valid
|
103
95
|
# @return true if the model is valid
|
104
96
|
def valid?
|
105
|
-
return false if @count.nil?
|
106
|
-
return false if @results.nil?
|
107
97
|
true
|
108
98
|
end
|
109
99
|
|
@@ -88,22 +88,12 @@ module PulpcoreClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
-
if @count.nil?
|
92
|
-
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
-
end
|
94
|
-
|
95
|
-
if @results.nil?
|
96
|
-
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
-
end
|
98
|
-
|
99
91
|
invalid_properties
|
100
92
|
end
|
101
93
|
|
102
94
|
# Check to see if the all the properties in the model are valid
|
103
95
|
# @return true if the model is valid
|
104
96
|
def valid?
|
105
|
-
return false if @count.nil?
|
106
|
-
return false if @results.nil?
|
107
97
|
true
|
108
98
|
end
|
109
99
|
|
@@ -88,22 +88,12 @@ module PulpcoreClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
-
if @count.nil?
|
92
|
-
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
-
end
|
94
|
-
|
95
|
-
if @results.nil?
|
96
|
-
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
-
end
|
98
|
-
|
99
91
|
invalid_properties
|
100
92
|
end
|
101
93
|
|
102
94
|
# Check to see if the all the properties in the model are valid
|
103
95
|
# @return true if the model is valid
|
104
96
|
def valid?
|
105
|
-
return false if @count.nil?
|
106
|
-
return false if @results.nil?
|
107
97
|
true
|
108
98
|
end
|
109
99
|
|
@@ -88,22 +88,12 @@ module PulpcoreClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
-
if @count.nil?
|
92
|
-
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
-
end
|
94
|
-
|
95
|
-
if @results.nil?
|
96
|
-
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
-
end
|
98
|
-
|
99
91
|
invalid_properties
|
100
92
|
end
|
101
93
|
|
102
94
|
# Check to see if the all the properties in the model are valid
|
103
95
|
# @return true if the model is valid
|
104
96
|
def valid?
|
105
|
-
return false if @count.nil?
|
106
|
-
return false if @results.nil?
|
107
97
|
true
|
108
98
|
end
|
109
99
|
|
@@ -88,22 +88,12 @@ module PulpcoreClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
-
if @count.nil?
|
92
|
-
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
-
end
|
94
|
-
|
95
|
-
if @results.nil?
|
96
|
-
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
-
end
|
98
|
-
|
99
91
|
invalid_properties
|
100
92
|
end
|
101
93
|
|
102
94
|
# Check to see if the all the properties in the model are valid
|
103
95
|
# @return true if the model is valid
|
104
96
|
def valid?
|
105
|
-
return false if @count.nil?
|
106
|
-
return false if @results.nil?
|
107
97
|
true
|
108
98
|
end
|
109
99
|
|
@@ -88,22 +88,12 @@ module PulpcoreClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
-
if @count.nil?
|
92
|
-
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
-
end
|
94
|
-
|
95
|
-
if @results.nil?
|
96
|
-
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
-
end
|
98
|
-
|
99
91
|
invalid_properties
|
100
92
|
end
|
101
93
|
|
102
94
|
# Check to see if the all the properties in the model are valid
|
103
95
|
# @return true if the model is valid
|
104
96
|
def valid?
|
105
|
-
return false if @count.nil?
|
106
|
-
return false if @results.nil?
|
107
97
|
true
|
108
98
|
end
|
109
99
|
|
@@ -88,22 +88,12 @@ module PulpcoreClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
-
if @count.nil?
|
92
|
-
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
-
end
|
94
|
-
|
95
|
-
if @results.nil?
|
96
|
-
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
-
end
|
98
|
-
|
99
91
|
invalid_properties
|
100
92
|
end
|
101
93
|
|
102
94
|
# Check to see if the all the properties in the model are valid
|
103
95
|
# @return true if the model is valid
|
104
96
|
def valid?
|
105
|
-
return false if @count.nil?
|
106
|
-
return false if @results.nil?
|
107
97
|
true
|
108
98
|
end
|
109
99
|
|
@@ -88,22 +88,12 @@ module PulpcoreClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
-
if @count.nil?
|
92
|
-
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
-
end
|
94
|
-
|
95
|
-
if @results.nil?
|
96
|
-
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
-
end
|
98
|
-
|
99
91
|
invalid_properties
|
100
92
|
end
|
101
93
|
|
102
94
|
# Check to see if the all the properties in the model are valid
|
103
95
|
# @return true if the model is valid
|
104
96
|
def valid?
|
105
|
-
return false if @count.nil?
|
106
|
-
return false if @results.nil?
|
107
97
|
true
|
108
98
|
end
|
109
99
|
|
@@ -88,22 +88,12 @@ module PulpcoreClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
-
if @count.nil?
|
92
|
-
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
-
end
|
94
|
-
|
95
|
-
if @results.nil?
|
96
|
-
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
-
end
|
98
|
-
|
99
91
|
invalid_properties
|
100
92
|
end
|
101
93
|
|
102
94
|
# Check to see if the all the properties in the model are valid
|
103
95
|
# @return true if the model is valid
|
104
96
|
def valid?
|
105
|
-
return false if @count.nil?
|
106
|
-
return false if @results.nil?
|
107
97
|
true
|
108
98
|
end
|
109
99
|
|