pulpcore_client 3.62.0 → 3.63.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -4
- data/docs/AccessPoliciesApi.md +2 -0
- data/docs/AccessPolicyResponse.md +2 -0
- data/docs/ArtifactDistributionResponse.md +14 -12
- data/docs/ArtifactResponse.md +2 -0
- data/docs/ArtifactsApi.md +4 -2
- data/docs/CompositeContentGuardResponse.md +2 -0
- data/docs/ContentApi.md +8 -6
- data/docs/ContentGuardResponse.md +2 -0
- data/docs/ContentRedirectContentGuardResponse.md +2 -0
- data/docs/ContentguardsApi.md +2 -0
- data/docs/ContentguardsCompositeApi.md +2 -0
- data/docs/ContentguardsContentRedirectApi.md +2 -0
- data/docs/ContentguardsHeaderApi.md +2 -0
- data/docs/ContentguardsRbacApi.md +2 -0
- data/docs/DistributionResponse.md +2 -0
- data/docs/DistributionsApi.md +2 -0
- data/docs/DistributionsArtifactsApi.md +2 -0
- data/docs/DomainResponse.md +2 -0
- data/docs/DomainsApi.md +2 -0
- data/docs/ExportersFilesystemApi.md +2 -0
- data/docs/ExportersPulpApi.md +2 -0
- data/docs/FilesystemExportResponse.md +3 -1
- data/docs/FilesystemExporterResponse.md +2 -0
- data/docs/GroupResponse.md +2 -0
- data/docs/GroupRoleResponse.md +2 -0
- data/docs/GroupUserResponse.md +3 -1
- data/docs/GroupsApi.md +2 -0
- data/docs/GroupsRolesApi.md +2 -0
- data/docs/HeaderContentGuardResponse.md +2 -0
- data/docs/ImportResponse.md +3 -1
- data/docs/ImportersPulpApi.md +2 -0
- data/docs/MinimalTaskResponse.md +2 -0
- data/docs/MultipleArtifactContentResponse.md +2 -0
- data/docs/PublicationResponse.md +2 -0
- data/docs/PublicationsApi.md +8 -6
- data/docs/PulpExportResponse.md +5 -3
- data/docs/PulpExporterResponse.md +2 -0
- data/docs/PulpImporterResponse.md +2 -0
- data/docs/RBACContentGuardResponse.md +2 -0
- data/docs/RemoteResponse.md +2 -0
- data/docs/RemotesApi.md +2 -0
- data/docs/RepositoriesApi.md +6 -4
- data/docs/RepositoryResponse.md +2 -0
- data/docs/RepositoryVersionResponse.md +2 -0
- data/docs/RepositoryVersionsApi.md +4 -2
- data/docs/RoleResponse.md +2 -0
- data/docs/RolesApi.md +2 -0
- data/docs/SigningServiceResponse.md +2 -0
- data/docs/SigningServicesApi.md +2 -0
- data/docs/TaskGroupResponse.md +2 -0
- data/docs/TaskResponse.md +3 -1
- data/docs/TaskScheduleResponse.md +2 -0
- data/docs/TaskSchedulesApi.md +2 -0
- data/docs/TasksApi.md +2 -0
- data/docs/UploadDetailResponse.md +2 -0
- data/docs/UploadResponse.md +2 -0
- data/docs/UploadsApi.md +2 -0
- data/docs/UpstreamPulpResponse.md +2 -0
- data/docs/UpstreamPulpsApi.md +2 -0
- data/docs/UserGroupResponse.md +3 -1
- data/docs/UserResponse.md +2 -0
- data/docs/UserRoleResponse.md +2 -0
- data/docs/UsersApi.md +2 -0
- data/docs/UsersRolesApi.md +2 -0
- data/docs/WorkerResponse.md +2 -0
- data/docs/WorkersApi.md +2 -0
- data/lib/pulpcore_client/api/access_policies_api.rb +3 -0
- data/lib/pulpcore_client/api/artifacts_api.rb +5 -2
- data/lib/pulpcore_client/api/content_api.rb +9 -6
- data/lib/pulpcore_client/api/contentguards_api.rb +3 -0
- data/lib/pulpcore_client/api/contentguards_composite_api.rb +3 -0
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +3 -0
- data/lib/pulpcore_client/api/contentguards_header_api.rb +3 -0
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +3 -0
- data/lib/pulpcore_client/api/distributions_api.rb +3 -0
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +3 -0
- data/lib/pulpcore_client/api/domains_api.rb +3 -0
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +3 -0
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +3 -0
- data/lib/pulpcore_client/api/groups_api.rb +3 -0
- data/lib/pulpcore_client/api/groups_roles_api.rb +3 -0
- data/lib/pulpcore_client/api/importers_pulp_api.rb +3 -0
- data/lib/pulpcore_client/api/publications_api.rb +9 -6
- data/lib/pulpcore_client/api/remotes_api.rb +3 -0
- data/lib/pulpcore_client/api/repositories_api.rb +7 -4
- data/lib/pulpcore_client/api/repository_versions_api.rb +5 -2
- data/lib/pulpcore_client/api/roles_api.rb +3 -0
- data/lib/pulpcore_client/api/signing_services_api.rb +3 -0
- data/lib/pulpcore_client/api/task_schedules_api.rb +3 -0
- data/lib/pulpcore_client/api/tasks_api.rb +3 -0
- data/lib/pulpcore_client/api/uploads_api.rb +3 -0
- data/lib/pulpcore_client/api/upstream_pulps_api.rb +3 -0
- data/lib/pulpcore_client/api/users_api.rb +3 -0
- data/lib/pulpcore_client/api/users_roles_api.rb +3 -0
- data/lib/pulpcore_client/api/workers_api.rb +3 -0
- data/lib/pulpcore_client/models/access_policy_response.rb +11 -1
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +67 -57
- data/lib/pulpcore_client/models/artifact_response.rb +11 -1
- data/lib/pulpcore_client/models/composite_content_guard_response.rb +11 -1
- data/lib/pulpcore_client/models/content_guard_response.rb +11 -1
- data/lib/pulpcore_client/models/content_redirect_content_guard_response.rb +11 -1
- data/lib/pulpcore_client/models/distribution_response.rb +11 -1
- data/lib/pulpcore_client/models/domain_response.rb +11 -1
- data/lib/pulpcore_client/models/filesystem_export_response.rb +12 -2
- data/lib/pulpcore_client/models/filesystem_exporter_response.rb +11 -1
- data/lib/pulpcore_client/models/group_response.rb +10 -1
- data/lib/pulpcore_client/models/group_role_response.rb +11 -1
- data/lib/pulpcore_client/models/group_user_response.rb +13 -4
- data/lib/pulpcore_client/models/header_content_guard_response.rb +11 -1
- data/lib/pulpcore_client/models/import_response.rb +12 -2
- data/lib/pulpcore_client/models/minimal_task_response.rb +11 -1
- data/lib/pulpcore_client/models/multiple_artifact_content_response.rb +11 -1
- data/lib/pulpcore_client/models/publication_response.rb +11 -1
- data/lib/pulpcore_client/models/pulp_export_response.rb +14 -4
- data/lib/pulpcore_client/models/pulp_exporter_response.rb +11 -1
- data/lib/pulpcore_client/models/pulp_importer_response.rb +11 -1
- data/lib/pulpcore_client/models/rbac_content_guard_response.rb +11 -1
- data/lib/pulpcore_client/models/remote_response.rb +11 -1
- data/lib/pulpcore_client/models/repository_response.rb +11 -1
- data/lib/pulpcore_client/models/repository_version_response.rb +11 -1
- data/lib/pulpcore_client/models/role_response.rb +11 -1
- data/lib/pulpcore_client/models/signing_service_response.rb +11 -1
- data/lib/pulpcore_client/models/task_group_response.rb +11 -1
- data/lib/pulpcore_client/models/task_response.rb +12 -2
- data/lib/pulpcore_client/models/task_schedule_response.rb +11 -1
- data/lib/pulpcore_client/models/upload_detail_response.rb +11 -1
- data/lib/pulpcore_client/models/upload_response.rb +11 -1
- data/lib/pulpcore_client/models/upstream_pulp_response.rb +11 -1
- data/lib/pulpcore_client/models/user_group_response.rb +13 -4
- data/lib/pulpcore_client/models/user_response.rb +10 -1
- data/lib/pulpcore_client/models/user_role_response.rb +11 -1
- data/lib/pulpcore_client/models/worker_response.rb +11 -1
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/api/access_policies_api_spec.rb +1 -0
- data/spec/api/artifacts_api_spec.rb +2 -1
- data/spec/api/content_api_spec.rb +4 -3
- data/spec/api/contentguards_api_spec.rb +1 -0
- data/spec/api/contentguards_composite_api_spec.rb +1 -0
- data/spec/api/contentguards_content_redirect_api_spec.rb +1 -0
- data/spec/api/contentguards_header_api_spec.rb +1 -0
- data/spec/api/contentguards_rbac_api_spec.rb +1 -0
- data/spec/api/distributions_api_spec.rb +1 -0
- data/spec/api/distributions_artifacts_api_spec.rb +1 -0
- data/spec/api/domains_api_spec.rb +1 -0
- data/spec/api/exporters_filesystem_api_spec.rb +1 -0
- data/spec/api/exporters_pulp_api_spec.rb +1 -0
- data/spec/api/groups_api_spec.rb +1 -0
- data/spec/api/groups_roles_api_spec.rb +1 -0
- data/spec/api/importers_pulp_api_spec.rb +1 -0
- data/spec/api/publications_api_spec.rb +4 -3
- data/spec/api/remotes_api_spec.rb +1 -0
- data/spec/api/repositories_api_spec.rb +3 -2
- data/spec/api/repository_versions_api_spec.rb +2 -1
- data/spec/api/roles_api_spec.rb +1 -0
- data/spec/api/signing_services_api_spec.rb +1 -0
- data/spec/api/task_schedules_api_spec.rb +1 -0
- data/spec/api/tasks_api_spec.rb +1 -0
- data/spec/api/uploads_api_spec.rb +1 -0
- data/spec/api/upstream_pulps_api_spec.rb +1 -0
- data/spec/api/users_api_spec.rb +1 -0
- data/spec/api/users_roles_api_spec.rb +1 -0
- data/spec/api/workers_api_spec.rb +1 -0
- data/spec/models/access_policy_response_spec.rb +6 -0
- data/spec/models/artifact_distribution_response_spec.rb +14 -8
- data/spec/models/artifact_response_spec.rb +6 -0
- data/spec/models/composite_content_guard_response_spec.rb +6 -0
- data/spec/models/content_guard_response_spec.rb +6 -0
- data/spec/models/content_redirect_content_guard_response_spec.rb +6 -0
- data/spec/models/distribution_response_spec.rb +6 -0
- data/spec/models/domain_response_spec.rb +6 -0
- data/spec/models/filesystem_export_response_spec.rb +6 -0
- data/spec/models/filesystem_exporter_response_spec.rb +6 -0
- data/spec/models/group_response_spec.rb +6 -0
- data/spec/models/group_role_response_spec.rb +6 -0
- data/spec/models/group_user_response_spec.rb +6 -0
- data/spec/models/header_content_guard_response_spec.rb +6 -0
- data/spec/models/import_response_spec.rb +6 -0
- data/spec/models/minimal_task_response_spec.rb +6 -0
- data/spec/models/multiple_artifact_content_response_spec.rb +6 -0
- data/spec/models/publication_response_spec.rb +6 -0
- data/spec/models/pulp_export_response_spec.rb +6 -0
- data/spec/models/pulp_exporter_response_spec.rb +6 -0
- data/spec/models/pulp_importer_response_spec.rb +6 -0
- data/spec/models/rbac_content_guard_response_spec.rb +6 -0
- data/spec/models/remote_response_spec.rb +6 -0
- data/spec/models/repository_response_spec.rb +6 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- data/spec/models/role_response_spec.rb +6 -0
- data/spec/models/signing_service_response_spec.rb +6 -0
- data/spec/models/task_group_response_spec.rb +6 -0
- data/spec/models/task_response_spec.rb +6 -0
- data/spec/models/task_schedule_response_spec.rb +6 -0
- data/spec/models/upload_detail_response_spec.rb +6 -0
- data/spec/models/upload_response_spec.rb +6 -0
- data/spec/models/upstream_pulp_response_spec.rb +6 -0
- data/spec/models/user_group_response_spec.rb +6 -0
- data/spec/models/user_response_spec.rb +6 -0
- data/spec/models/user_role_response_spec.rb +6 -0
- data/spec/models/worker_response_spec.rb +6 -0
- metadata +155 -155
@@ -42,6 +42,7 @@ module PulpcoreClient
|
|
42
42
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
43
43
|
# @option opts [Boolean] :online
|
44
44
|
# @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) * `name` - Name * `-name` - Name (descending) * `last_heartbeat` - Last heartbeat * `-last_heartbeat` - Last heartbeat (descending) * `versions` - Versions * `-versions` - Versions (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
45
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
45
46
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
46
47
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
47
48
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
@@ -76,6 +77,7 @@ module PulpcoreClient
|
|
76
77
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
77
78
|
# @option opts [Boolean] :online
|
78
79
|
# @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) * `name` - Name * `-name` - Name (descending) * `last_heartbeat` - Last heartbeat * `-last_heartbeat` - Last heartbeat (descending) * `versions` - Versions * `-versions` - Versions (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
80
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
79
81
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
80
82
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
81
83
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
@@ -115,6 +117,7 @@ module PulpcoreClient
|
|
115
117
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
116
118
|
query_params[:'online'] = opts[:'online'] if !opts[:'online'].nil?
|
117
119
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
120
|
+
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
118
121
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
119
122
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
120
123
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
@@ -17,6 +17,9 @@ module PulpcoreClient
|
|
17
17
|
class AccessPolicyResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -45,6 +48,7 @@ module PulpcoreClient
|
|
45
48
|
def self.attribute_map
|
46
49
|
{
|
47
50
|
:'pulp_href' => :'pulp_href',
|
51
|
+
:'prn' => :'prn',
|
48
52
|
:'pulp_created' => :'pulp_created',
|
49
53
|
:'pulp_last_updated' => :'pulp_last_updated',
|
50
54
|
:'permissions_assignment' => :'permissions_assignment',
|
@@ -60,6 +64,7 @@ module PulpcoreClient
|
|
60
64
|
def self.openapi_types
|
61
65
|
{
|
62
66
|
:'pulp_href' => :'String',
|
67
|
+
:'prn' => :'String',
|
63
68
|
:'pulp_created' => :'DateTime',
|
64
69
|
:'pulp_last_updated' => :'DateTime',
|
65
70
|
:'permissions_assignment' => :'Array<Object>',
|
@@ -96,6 +101,10 @@ module PulpcoreClient
|
|
96
101
|
self.pulp_href = attributes[:'pulp_href']
|
97
102
|
end
|
98
103
|
|
104
|
+
if attributes.key?(:'prn')
|
105
|
+
self.prn = attributes[:'prn']
|
106
|
+
end
|
107
|
+
|
99
108
|
if attributes.key?(:'pulp_created')
|
100
109
|
self.pulp_created = attributes[:'pulp_created']
|
101
110
|
end
|
@@ -159,6 +168,7 @@ module PulpcoreClient
|
|
159
168
|
return true if self.equal?(o)
|
160
169
|
self.class == o.class &&
|
161
170
|
pulp_href == o.pulp_href &&
|
171
|
+
prn == o.prn &&
|
162
172
|
pulp_created == o.pulp_created &&
|
163
173
|
pulp_last_updated == o.pulp_last_updated &&
|
164
174
|
permissions_assignment == o.permissions_assignment &&
|
@@ -178,7 +188,7 @@ module PulpcoreClient
|
|
178
188
|
# Calculates hash code according to all attributes.
|
179
189
|
# @return [Integer] Hash code
|
180
190
|
def hash
|
181
|
-
[pulp_href, pulp_created, pulp_last_updated, permissions_assignment, creation_hooks, statements, viewset_name, customized, queryset_scoping].hash
|
191
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, permissions_assignment, creation_hooks, statements, viewset_name, customized, queryset_scoping].hash
|
182
192
|
end
|
183
193
|
|
184
194
|
# Builds the object from hash
|
@@ -15,63 +15,68 @@ require 'date'
|
|
15
15
|
module PulpcoreClient
|
16
16
|
# A serializer for ArtifactDistribution.
|
17
17
|
class ArtifactDistributionResponse
|
18
|
-
|
19
|
-
|
20
|
-
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
21
|
-
attr_accessor :no_content_change_since
|
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
|
+
attr_accessor :base_path
|
22
20
|
|
23
21
|
# The URL for accessing the publication as defined by this distribution.
|
24
22
|
attr_accessor :base_url
|
25
23
|
|
26
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
27
|
-
attr_accessor :name
|
28
|
-
|
29
24
|
# Timestamp of creation.
|
30
25
|
attr_accessor :pulp_created
|
31
26
|
|
32
|
-
# The
|
33
|
-
attr_accessor :
|
34
|
-
|
35
|
-
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
36
|
-
attr_accessor :pulp_last_updated
|
27
|
+
# The Pulp Resource Name (PRN).
|
28
|
+
attr_accessor :prn
|
37
29
|
|
38
|
-
|
30
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
31
|
+
attr_accessor :name
|
39
32
|
|
40
33
|
# An optional content-guard.
|
41
34
|
attr_accessor :content_guard
|
42
35
|
|
36
|
+
attr_accessor :pulp_labels
|
37
|
+
|
38
|
+
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
39
|
+
attr_accessor :pulp_last_updated
|
40
|
+
|
43
41
|
# Whether this distribution should be shown in the content app.
|
44
42
|
attr_accessor :hidden
|
45
43
|
|
44
|
+
attr_accessor :pulp_href
|
45
|
+
|
46
|
+
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
47
|
+
attr_accessor :no_content_change_since
|
48
|
+
|
46
49
|
# Attribute mapping from ruby-style variable name to JSON key.
|
47
50
|
def self.attribute_map
|
48
51
|
{
|
49
|
-
:'
|
50
|
-
:'no_content_change_since' => :'no_content_change_since',
|
52
|
+
:'base_path' => :'base_path',
|
51
53
|
:'base_url' => :'base_url',
|
52
|
-
:'name' => :'name',
|
53
54
|
:'pulp_created' => :'pulp_created',
|
54
|
-
:'
|
55
|
+
:'prn' => :'prn',
|
56
|
+
:'name' => :'name',
|
57
|
+
:'content_guard' => :'content_guard',
|
58
|
+
:'pulp_labels' => :'pulp_labels',
|
55
59
|
:'pulp_last_updated' => :'pulp_last_updated',
|
60
|
+
:'hidden' => :'hidden',
|
56
61
|
:'pulp_href' => :'pulp_href',
|
57
|
-
:'
|
58
|
-
:'hidden' => :'hidden'
|
62
|
+
:'no_content_change_since' => :'no_content_change_since'
|
59
63
|
}
|
60
64
|
end
|
61
65
|
|
62
66
|
# Attribute type mapping.
|
63
67
|
def self.openapi_types
|
64
68
|
{
|
65
|
-
:'
|
66
|
-
:'no_content_change_since' => :'String',
|
69
|
+
:'base_path' => :'String',
|
67
70
|
:'base_url' => :'String',
|
68
|
-
:'name' => :'String',
|
69
71
|
:'pulp_created' => :'DateTime',
|
70
|
-
:'
|
72
|
+
:'prn' => :'String',
|
73
|
+
:'name' => :'String',
|
74
|
+
:'content_guard' => :'String',
|
75
|
+
:'pulp_labels' => :'Hash<String, String>',
|
71
76
|
:'pulp_last_updated' => :'DateTime',
|
77
|
+
:'hidden' => :'Boolean',
|
72
78
|
:'pulp_href' => :'String',
|
73
|
-
:'
|
74
|
-
:'hidden' => :'Boolean'
|
79
|
+
:'no_content_change_since' => :'String'
|
75
80
|
}
|
76
81
|
end
|
77
82
|
|
@@ -97,71 +102,75 @@ module PulpcoreClient
|
|
97
102
|
h[k.to_sym] = v
|
98
103
|
}
|
99
104
|
|
100
|
-
if attributes.key?(:'
|
101
|
-
|
102
|
-
self.pulp_labels = value
|
103
|
-
end
|
104
|
-
end
|
105
|
-
|
106
|
-
if attributes.key?(:'no_content_change_since')
|
107
|
-
self.no_content_change_since = attributes[:'no_content_change_since']
|
105
|
+
if attributes.key?(:'base_path')
|
106
|
+
self.base_path = attributes[:'base_path']
|
108
107
|
end
|
109
108
|
|
110
109
|
if attributes.key?(:'base_url')
|
111
110
|
self.base_url = attributes[:'base_url']
|
112
111
|
end
|
113
112
|
|
114
|
-
if attributes.key?(:'name')
|
115
|
-
self.name = attributes[:'name']
|
116
|
-
end
|
117
|
-
|
118
113
|
if attributes.key?(:'pulp_created')
|
119
114
|
self.pulp_created = attributes[:'pulp_created']
|
120
115
|
end
|
121
116
|
|
122
|
-
if attributes.key?(:'
|
123
|
-
self.
|
117
|
+
if attributes.key?(:'prn')
|
118
|
+
self.prn = attributes[:'prn']
|
124
119
|
end
|
125
120
|
|
126
|
-
if attributes.key?(:'
|
127
|
-
self.
|
128
|
-
end
|
129
|
-
|
130
|
-
if attributes.key?(:'pulp_href')
|
131
|
-
self.pulp_href = attributes[:'pulp_href']
|
121
|
+
if attributes.key?(:'name')
|
122
|
+
self.name = attributes[:'name']
|
132
123
|
end
|
133
124
|
|
134
125
|
if attributes.key?(:'content_guard')
|
135
126
|
self.content_guard = attributes[:'content_guard']
|
136
127
|
end
|
137
128
|
|
129
|
+
if attributes.key?(:'pulp_labels')
|
130
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
131
|
+
self.pulp_labels = value
|
132
|
+
end
|
133
|
+
end
|
134
|
+
|
135
|
+
if attributes.key?(:'pulp_last_updated')
|
136
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
137
|
+
end
|
138
|
+
|
138
139
|
if attributes.key?(:'hidden')
|
139
140
|
self.hidden = attributes[:'hidden']
|
140
141
|
else
|
141
142
|
self.hidden = false
|
142
143
|
end
|
144
|
+
|
145
|
+
if attributes.key?(:'pulp_href')
|
146
|
+
self.pulp_href = attributes[:'pulp_href']
|
147
|
+
end
|
148
|
+
|
149
|
+
if attributes.key?(:'no_content_change_since')
|
150
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
151
|
+
end
|
143
152
|
end
|
144
153
|
|
145
154
|
# Show invalid properties with the reasons. Usually used together with valid?
|
146
155
|
# @return Array for valid properties with the reasons
|
147
156
|
def list_invalid_properties
|
148
157
|
invalid_properties = Array.new
|
149
|
-
if @name.nil?
|
150
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
151
|
-
end
|
152
|
-
|
153
158
|
if @base_path.nil?
|
154
159
|
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
155
160
|
end
|
156
161
|
|
162
|
+
if @name.nil?
|
163
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
164
|
+
end
|
165
|
+
|
157
166
|
invalid_properties
|
158
167
|
end
|
159
168
|
|
160
169
|
# Check to see if the all the properties in the model are valid
|
161
170
|
# @return true if the model is valid
|
162
171
|
def valid?
|
163
|
-
return false if @name.nil?
|
164
172
|
return false if @base_path.nil?
|
173
|
+
return false if @name.nil?
|
165
174
|
true
|
166
175
|
end
|
167
176
|
|
@@ -170,16 +179,17 @@ module PulpcoreClient
|
|
170
179
|
def ==(o)
|
171
180
|
return true if self.equal?(o)
|
172
181
|
self.class == o.class &&
|
173
|
-
|
174
|
-
no_content_change_since == o.no_content_change_since &&
|
182
|
+
base_path == o.base_path &&
|
175
183
|
base_url == o.base_url &&
|
176
|
-
name == o.name &&
|
177
184
|
pulp_created == o.pulp_created &&
|
178
|
-
|
185
|
+
prn == o.prn &&
|
186
|
+
name == o.name &&
|
187
|
+
content_guard == o.content_guard &&
|
188
|
+
pulp_labels == o.pulp_labels &&
|
179
189
|
pulp_last_updated == o.pulp_last_updated &&
|
190
|
+
hidden == o.hidden &&
|
180
191
|
pulp_href == o.pulp_href &&
|
181
|
-
|
182
|
-
hidden == o.hidden
|
192
|
+
no_content_change_since == o.no_content_change_since
|
183
193
|
end
|
184
194
|
|
185
195
|
# @see the `==` method
|
@@ -191,7 +201,7 @@ module PulpcoreClient
|
|
191
201
|
# Calculates hash code according to all attributes.
|
192
202
|
# @return [Integer] Hash code
|
193
203
|
def hash
|
194
|
-
[
|
204
|
+
[base_path, base_url, pulp_created, prn, name, content_guard, pulp_labels, pulp_last_updated, hidden, pulp_href, no_content_change_since].hash
|
195
205
|
end
|
196
206
|
|
197
207
|
# Builds the object from hash
|
@@ -17,6 +17,9 @@ module PulpcoreClient
|
|
17
17
|
class ArtifactResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -51,6 +54,7 @@ module PulpcoreClient
|
|
51
54
|
def self.attribute_map
|
52
55
|
{
|
53
56
|
:'pulp_href' => :'pulp_href',
|
57
|
+
:'prn' => :'prn',
|
54
58
|
:'pulp_created' => :'pulp_created',
|
55
59
|
:'pulp_last_updated' => :'pulp_last_updated',
|
56
60
|
:'file' => :'file',
|
@@ -68,6 +72,7 @@ module PulpcoreClient
|
|
68
72
|
def self.openapi_types
|
69
73
|
{
|
70
74
|
:'pulp_href' => :'String',
|
75
|
+
:'prn' => :'String',
|
71
76
|
:'pulp_created' => :'DateTime',
|
72
77
|
:'pulp_last_updated' => :'DateTime',
|
73
78
|
:'file' => :'String',
|
@@ -112,6 +117,10 @@ module PulpcoreClient
|
|
112
117
|
self.pulp_href = attributes[:'pulp_href']
|
113
118
|
end
|
114
119
|
|
120
|
+
if attributes.key?(:'prn')
|
121
|
+
self.prn = attributes[:'prn']
|
122
|
+
end
|
123
|
+
|
115
124
|
if attributes.key?(:'pulp_created')
|
116
125
|
self.pulp_created = attributes[:'pulp_created']
|
117
126
|
end
|
@@ -177,6 +186,7 @@ module PulpcoreClient
|
|
177
186
|
return true if self.equal?(o)
|
178
187
|
self.class == o.class &&
|
179
188
|
pulp_href == o.pulp_href &&
|
189
|
+
prn == o.prn &&
|
180
190
|
pulp_created == o.pulp_created &&
|
181
191
|
pulp_last_updated == o.pulp_last_updated &&
|
182
192
|
file == o.file &&
|
@@ -198,7 +208,7 @@ module PulpcoreClient
|
|
198
208
|
# Calculates hash code according to all attributes.
|
199
209
|
# @return [Integer] Hash code
|
200
210
|
def hash
|
201
|
-
[pulp_href, pulp_created, pulp_last_updated, file, size, md5, sha1, sha224, sha256, sha384, sha512].hash
|
211
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, file, size, md5, sha1, sha224, sha256, sha384, sha512].hash
|
202
212
|
end
|
203
213
|
|
204
214
|
# Builds the object from hash
|
@@ -17,6 +17,9 @@ module PulpcoreClient
|
|
17
17
|
class CompositeContentGuardResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -36,6 +39,7 @@ module PulpcoreClient
|
|
36
39
|
def self.attribute_map
|
37
40
|
{
|
38
41
|
:'pulp_href' => :'pulp_href',
|
42
|
+
:'prn' => :'prn',
|
39
43
|
:'pulp_created' => :'pulp_created',
|
40
44
|
:'pulp_last_updated' => :'pulp_last_updated',
|
41
45
|
:'name' => :'name',
|
@@ -48,6 +52,7 @@ module PulpcoreClient
|
|
48
52
|
def self.openapi_types
|
49
53
|
{
|
50
54
|
:'pulp_href' => :'String',
|
55
|
+
:'prn' => :'String',
|
51
56
|
:'pulp_created' => :'DateTime',
|
52
57
|
:'pulp_last_updated' => :'DateTime',
|
53
58
|
:'name' => :'String',
|
@@ -82,6 +87,10 @@ module PulpcoreClient
|
|
82
87
|
self.pulp_href = attributes[:'pulp_href']
|
83
88
|
end
|
84
89
|
|
90
|
+
if attributes.key?(:'prn')
|
91
|
+
self.prn = attributes[:'prn']
|
92
|
+
end
|
93
|
+
|
85
94
|
if attributes.key?(:'pulp_created')
|
86
95
|
self.pulp_created = attributes[:'pulp_created']
|
87
96
|
end
|
@@ -129,6 +138,7 @@ module PulpcoreClient
|
|
129
138
|
return true if self.equal?(o)
|
130
139
|
self.class == o.class &&
|
131
140
|
pulp_href == o.pulp_href &&
|
141
|
+
prn == o.prn &&
|
132
142
|
pulp_created == o.pulp_created &&
|
133
143
|
pulp_last_updated == o.pulp_last_updated &&
|
134
144
|
name == o.name &&
|
@@ -145,7 +155,7 @@ module PulpcoreClient
|
|
145
155
|
# Calculates hash code according to all attributes.
|
146
156
|
# @return [Integer] Hash code
|
147
157
|
def hash
|
148
|
-
[pulp_href, pulp_created, pulp_last_updated, name, description, guards].hash
|
158
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, name, description, guards].hash
|
149
159
|
end
|
150
160
|
|
151
161
|
# Builds the object from hash
|
@@ -17,6 +17,9 @@ module PulpcoreClient
|
|
17
17
|
class ContentGuardResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -33,6 +36,7 @@ module PulpcoreClient
|
|
33
36
|
def self.attribute_map
|
34
37
|
{
|
35
38
|
:'pulp_href' => :'pulp_href',
|
39
|
+
:'prn' => :'prn',
|
36
40
|
:'pulp_created' => :'pulp_created',
|
37
41
|
:'pulp_last_updated' => :'pulp_last_updated',
|
38
42
|
:'name' => :'name',
|
@@ -44,6 +48,7 @@ module PulpcoreClient
|
|
44
48
|
def self.openapi_types
|
45
49
|
{
|
46
50
|
:'pulp_href' => :'String',
|
51
|
+
:'prn' => :'String',
|
47
52
|
:'pulp_created' => :'DateTime',
|
48
53
|
:'pulp_last_updated' => :'DateTime',
|
49
54
|
:'name' => :'String',
|
@@ -77,6 +82,10 @@ module PulpcoreClient
|
|
77
82
|
self.pulp_href = attributes[:'pulp_href']
|
78
83
|
end
|
79
84
|
|
85
|
+
if attributes.key?(:'prn')
|
86
|
+
self.prn = attributes[:'prn']
|
87
|
+
end
|
88
|
+
|
80
89
|
if attributes.key?(:'pulp_created')
|
81
90
|
self.pulp_created = attributes[:'pulp_created']
|
82
91
|
end
|
@@ -118,6 +127,7 @@ module PulpcoreClient
|
|
118
127
|
return true if self.equal?(o)
|
119
128
|
self.class == o.class &&
|
120
129
|
pulp_href == o.pulp_href &&
|
130
|
+
prn == o.prn &&
|
121
131
|
pulp_created == o.pulp_created &&
|
122
132
|
pulp_last_updated == o.pulp_last_updated &&
|
123
133
|
name == o.name &&
|
@@ -133,7 +143,7 @@ module PulpcoreClient
|
|
133
143
|
# Calculates hash code according to all attributes.
|
134
144
|
# @return [Integer] Hash code
|
135
145
|
def hash
|
136
|
-
[pulp_href, pulp_created, pulp_last_updated, name, description].hash
|
146
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, name, description].hash
|
137
147
|
end
|
138
148
|
|
139
149
|
# Builds the object from hash
|
@@ -17,6 +17,9 @@ module PulpcoreClient
|
|
17
17
|
class ContentRedirectContentGuardResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -33,6 +36,7 @@ module PulpcoreClient
|
|
33
36
|
def self.attribute_map
|
34
37
|
{
|
35
38
|
:'pulp_href' => :'pulp_href',
|
39
|
+
:'prn' => :'prn',
|
36
40
|
:'pulp_created' => :'pulp_created',
|
37
41
|
:'pulp_last_updated' => :'pulp_last_updated',
|
38
42
|
:'name' => :'name',
|
@@ -44,6 +48,7 @@ module PulpcoreClient
|
|
44
48
|
def self.openapi_types
|
45
49
|
{
|
46
50
|
:'pulp_href' => :'String',
|
51
|
+
:'prn' => :'String',
|
47
52
|
:'pulp_created' => :'DateTime',
|
48
53
|
:'pulp_last_updated' => :'DateTime',
|
49
54
|
:'name' => :'String',
|
@@ -77,6 +82,10 @@ module PulpcoreClient
|
|
77
82
|
self.pulp_href = attributes[:'pulp_href']
|
78
83
|
end
|
79
84
|
|
85
|
+
if attributes.key?(:'prn')
|
86
|
+
self.prn = attributes[:'prn']
|
87
|
+
end
|
88
|
+
|
80
89
|
if attributes.key?(:'pulp_created')
|
81
90
|
self.pulp_created = attributes[:'pulp_created']
|
82
91
|
end
|
@@ -118,6 +127,7 @@ module PulpcoreClient
|
|
118
127
|
return true if self.equal?(o)
|
119
128
|
self.class == o.class &&
|
120
129
|
pulp_href == o.pulp_href &&
|
130
|
+
prn == o.prn &&
|
121
131
|
pulp_created == o.pulp_created &&
|
122
132
|
pulp_last_updated == o.pulp_last_updated &&
|
123
133
|
name == o.name &&
|
@@ -133,7 +143,7 @@ module PulpcoreClient
|
|
133
143
|
# Calculates hash code according to all attributes.
|
134
144
|
# @return [Integer] Hash code
|
135
145
|
def hash
|
136
|
-
[pulp_href, pulp_created, pulp_last_updated, name, description].hash
|
146
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, name, description].hash
|
137
147
|
end
|
138
148
|
|
139
149
|
# Builds the object from hash
|
@@ -17,6 +17,9 @@ module PulpcoreClient
|
|
17
17
|
class DistributionResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -50,6 +53,7 @@ module PulpcoreClient
|
|
50
53
|
def self.attribute_map
|
51
54
|
{
|
52
55
|
:'pulp_href' => :'pulp_href',
|
56
|
+
:'prn' => :'prn',
|
53
57
|
:'pulp_created' => :'pulp_created',
|
54
58
|
:'pulp_last_updated' => :'pulp_last_updated',
|
55
59
|
:'base_path' => :'base_path',
|
@@ -67,6 +71,7 @@ module PulpcoreClient
|
|
67
71
|
def self.openapi_types
|
68
72
|
{
|
69
73
|
:'pulp_href' => :'String',
|
74
|
+
:'prn' => :'String',
|
70
75
|
:'pulp_created' => :'DateTime',
|
71
76
|
:'pulp_last_updated' => :'DateTime',
|
72
77
|
:'base_path' => :'String',
|
@@ -107,6 +112,10 @@ module PulpcoreClient
|
|
107
112
|
self.pulp_href = attributes[:'pulp_href']
|
108
113
|
end
|
109
114
|
|
115
|
+
if attributes.key?(:'prn')
|
116
|
+
self.prn = attributes[:'prn']
|
117
|
+
end
|
118
|
+
|
110
119
|
if attributes.key?(:'pulp_created')
|
111
120
|
self.pulp_created = attributes[:'pulp_created']
|
112
121
|
end
|
@@ -181,6 +190,7 @@ module PulpcoreClient
|
|
181
190
|
return true if self.equal?(o)
|
182
191
|
self.class == o.class &&
|
183
192
|
pulp_href == o.pulp_href &&
|
193
|
+
prn == o.prn &&
|
184
194
|
pulp_created == o.pulp_created &&
|
185
195
|
pulp_last_updated == o.pulp_last_updated &&
|
186
196
|
base_path == o.base_path &&
|
@@ -202,7 +212,7 @@ module PulpcoreClient
|
|
202
212
|
# Calculates hash code according to all attributes.
|
203
213
|
# @return [Integer] Hash code
|
204
214
|
def hash
|
205
|
-
[pulp_href, pulp_created, pulp_last_updated, base_path, base_url, content_guard, no_content_change_since, hidden, pulp_labels, name, repository].hash
|
215
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, base_path, base_url, content_guard, no_content_change_since, hidden, pulp_labels, name, repository].hash
|
206
216
|
end
|
207
217
|
|
208
218
|
# Builds the object from hash
|
@@ -17,6 +17,9 @@ module PulpcoreClient
|
|
17
17
|
class DomainResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -45,6 +48,7 @@ module PulpcoreClient
|
|
45
48
|
def self.attribute_map
|
46
49
|
{
|
47
50
|
:'pulp_href' => :'pulp_href',
|
51
|
+
:'prn' => :'prn',
|
48
52
|
:'pulp_created' => :'pulp_created',
|
49
53
|
:'pulp_last_updated' => :'pulp_last_updated',
|
50
54
|
:'name' => :'name',
|
@@ -60,6 +64,7 @@ module PulpcoreClient
|
|
60
64
|
def self.openapi_types
|
61
65
|
{
|
62
66
|
:'pulp_href' => :'String',
|
67
|
+
:'prn' => :'String',
|
63
68
|
:'pulp_created' => :'DateTime',
|
64
69
|
:'pulp_last_updated' => :'DateTime',
|
65
70
|
:'name' => :'String',
|
@@ -97,6 +102,10 @@ module PulpcoreClient
|
|
97
102
|
self.pulp_href = attributes[:'pulp_href']
|
98
103
|
end
|
99
104
|
|
105
|
+
if attributes.key?(:'prn')
|
106
|
+
self.prn = attributes[:'prn']
|
107
|
+
end
|
108
|
+
|
100
109
|
if attributes.key?(:'pulp_created')
|
101
110
|
self.pulp_created = attributes[:'pulp_created']
|
102
111
|
end
|
@@ -198,6 +207,7 @@ module PulpcoreClient
|
|
198
207
|
return true if self.equal?(o)
|
199
208
|
self.class == o.class &&
|
200
209
|
pulp_href == o.pulp_href &&
|
210
|
+
prn == o.prn &&
|
201
211
|
pulp_created == o.pulp_created &&
|
202
212
|
pulp_last_updated == o.pulp_last_updated &&
|
203
213
|
name == o.name &&
|
@@ -217,7 +227,7 @@ module PulpcoreClient
|
|
217
227
|
# Calculates hash code according to all attributes.
|
218
228
|
# @return [Integer] Hash code
|
219
229
|
def hash
|
220
|
-
[pulp_href, pulp_created, pulp_last_updated, name, description, storage_class, storage_settings, redirect_to_object_storage, hide_guarded_distributions].hash
|
230
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, name, description, storage_class, storage_settings, redirect_to_object_storage, hide_guarded_distributions].hash
|
221
231
|
end
|
222
232
|
|
223
233
|
# Builds the object from hash
|
@@ -17,6 +17,9 @@ module PulpcoreClient
|
|
17
17
|
class FilesystemExportResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -36,6 +39,7 @@ module PulpcoreClient
|
|
36
39
|
def self.attribute_map
|
37
40
|
{
|
38
41
|
:'pulp_href' => :'pulp_href',
|
42
|
+
:'prn' => :'prn',
|
39
43
|
:'pulp_created' => :'pulp_created',
|
40
44
|
:'pulp_last_updated' => :'pulp_last_updated',
|
41
45
|
:'task' => :'task',
|
@@ -48,11 +52,12 @@ module PulpcoreClient
|
|
48
52
|
def self.openapi_types
|
49
53
|
{
|
50
54
|
:'pulp_href' => :'String',
|
55
|
+
:'prn' => :'String',
|
51
56
|
:'pulp_created' => :'DateTime',
|
52
57
|
:'pulp_last_updated' => :'DateTime',
|
53
58
|
:'task' => :'String',
|
54
59
|
:'exported_resources' => :'Array<String>',
|
55
|
-
:'params' => :'
|
60
|
+
:'params' => :'Object'
|
56
61
|
}
|
57
62
|
end
|
58
63
|
|
@@ -82,6 +87,10 @@ module PulpcoreClient
|
|
82
87
|
self.pulp_href = attributes[:'pulp_href']
|
83
88
|
end
|
84
89
|
|
90
|
+
if attributes.key?(:'prn')
|
91
|
+
self.prn = attributes[:'prn']
|
92
|
+
end
|
93
|
+
|
85
94
|
if attributes.key?(:'pulp_created')
|
86
95
|
self.pulp_created = attributes[:'pulp_created']
|
87
96
|
end
|
@@ -124,6 +133,7 @@ module PulpcoreClient
|
|
124
133
|
return true if self.equal?(o)
|
125
134
|
self.class == o.class &&
|
126
135
|
pulp_href == o.pulp_href &&
|
136
|
+
prn == o.prn &&
|
127
137
|
pulp_created == o.pulp_created &&
|
128
138
|
pulp_last_updated == o.pulp_last_updated &&
|
129
139
|
task == o.task &&
|
@@ -140,7 +150,7 @@ module PulpcoreClient
|
|
140
150
|
# Calculates hash code according to all attributes.
|
141
151
|
# @return [Integer] Hash code
|
142
152
|
def hash
|
143
|
-
[pulp_href, pulp_created, pulp_last_updated, task, exported_resources, params].hash
|
153
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, task, exported_resources, params].hash
|
144
154
|
end
|
145
155
|
|
146
156
|
# Builds the object from hash
|