pulpcore_client 3.62.0 → 3.63.0
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 +12 -10
- 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 +2 -0
- 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 +2 -0
- 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 +2 -0
- 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 +2 -0
- 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 +53 -43
- 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 +11 -1
- 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 +11 -1
- 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 +11 -1
- 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 +11 -1
- 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 +11 -5
- 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 +2 -2
@@ -17,20 +17,23 @@ module PulpcoreClient
|
|
17
17
|
class ArtifactDistributionResponse
|
18
18
|
attr_accessor :pulp_labels
|
19
19
|
|
20
|
-
#
|
21
|
-
attr_accessor :
|
20
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
21
|
+
attr_accessor :base_path
|
22
|
+
|
23
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
24
|
+
attr_accessor :name
|
22
25
|
|
23
26
|
# The URL for accessing the publication as defined by this distribution.
|
24
27
|
attr_accessor :base_url
|
25
28
|
|
26
|
-
#
|
27
|
-
attr_accessor :
|
29
|
+
# Whether this distribution should be shown in the content app.
|
30
|
+
attr_accessor :hidden
|
28
31
|
|
29
|
-
#
|
30
|
-
attr_accessor :
|
32
|
+
# The Pulp Resource Name (PRN).
|
33
|
+
attr_accessor :prn
|
31
34
|
|
32
|
-
#
|
33
|
-
attr_accessor :
|
35
|
+
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
36
|
+
attr_accessor :no_content_change_since
|
34
37
|
|
35
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.
|
36
39
|
attr_accessor :pulp_last_updated
|
@@ -40,22 +43,23 @@ module PulpcoreClient
|
|
40
43
|
# An optional content-guard.
|
41
44
|
attr_accessor :content_guard
|
42
45
|
|
43
|
-
#
|
44
|
-
attr_accessor :
|
46
|
+
# Timestamp of creation.
|
47
|
+
attr_accessor :pulp_created
|
45
48
|
|
46
49
|
# Attribute mapping from ruby-style variable name to JSON key.
|
47
50
|
def self.attribute_map
|
48
51
|
{
|
49
52
|
:'pulp_labels' => :'pulp_labels',
|
50
|
-
:'no_content_change_since' => :'no_content_change_since',
|
51
|
-
:'base_url' => :'base_url',
|
52
|
-
:'name' => :'name',
|
53
|
-
:'pulp_created' => :'pulp_created',
|
54
53
|
:'base_path' => :'base_path',
|
54
|
+
:'name' => :'name',
|
55
|
+
:'base_url' => :'base_url',
|
56
|
+
:'hidden' => :'hidden',
|
57
|
+
:'prn' => :'prn',
|
58
|
+
:'no_content_change_since' => :'no_content_change_since',
|
55
59
|
:'pulp_last_updated' => :'pulp_last_updated',
|
56
60
|
:'pulp_href' => :'pulp_href',
|
57
61
|
:'content_guard' => :'content_guard',
|
58
|
-
:'
|
62
|
+
:'pulp_created' => :'pulp_created'
|
59
63
|
}
|
60
64
|
end
|
61
65
|
|
@@ -63,15 +67,16 @@ module PulpcoreClient
|
|
63
67
|
def self.openapi_types
|
64
68
|
{
|
65
69
|
:'pulp_labels' => :'Hash<String, String>',
|
66
|
-
:'no_content_change_since' => :'String',
|
67
|
-
:'base_url' => :'String',
|
68
|
-
:'name' => :'String',
|
69
|
-
:'pulp_created' => :'DateTime',
|
70
70
|
:'base_path' => :'String',
|
71
|
+
:'name' => :'String',
|
72
|
+
:'base_url' => :'String',
|
73
|
+
:'hidden' => :'Boolean',
|
74
|
+
:'prn' => :'String',
|
75
|
+
:'no_content_change_since' => :'String',
|
71
76
|
:'pulp_last_updated' => :'DateTime',
|
72
77
|
:'pulp_href' => :'String',
|
73
78
|
:'content_guard' => :'String',
|
74
|
-
:'
|
79
|
+
:'pulp_created' => :'DateTime'
|
75
80
|
}
|
76
81
|
end
|
77
82
|
|
@@ -103,24 +108,30 @@ module PulpcoreClient
|
|
103
108
|
end
|
104
109
|
end
|
105
110
|
|
106
|
-
if attributes.key?(:'
|
107
|
-
self.
|
111
|
+
if attributes.key?(:'base_path')
|
112
|
+
self.base_path = attributes[:'base_path']
|
113
|
+
end
|
114
|
+
|
115
|
+
if attributes.key?(:'name')
|
116
|
+
self.name = attributes[:'name']
|
108
117
|
end
|
109
118
|
|
110
119
|
if attributes.key?(:'base_url')
|
111
120
|
self.base_url = attributes[:'base_url']
|
112
121
|
end
|
113
122
|
|
114
|
-
if attributes.key?(:'
|
115
|
-
self.
|
123
|
+
if attributes.key?(:'hidden')
|
124
|
+
self.hidden = attributes[:'hidden']
|
125
|
+
else
|
126
|
+
self.hidden = false
|
116
127
|
end
|
117
128
|
|
118
|
-
if attributes.key?(:'
|
119
|
-
self.
|
129
|
+
if attributes.key?(:'prn')
|
130
|
+
self.prn = attributes[:'prn']
|
120
131
|
end
|
121
132
|
|
122
|
-
if attributes.key?(:'
|
123
|
-
self.
|
133
|
+
if attributes.key?(:'no_content_change_since')
|
134
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
124
135
|
end
|
125
136
|
|
126
137
|
if attributes.key?(:'pulp_last_updated')
|
@@ -135,10 +146,8 @@ module PulpcoreClient
|
|
135
146
|
self.content_guard = attributes[:'content_guard']
|
136
147
|
end
|
137
148
|
|
138
|
-
if attributes.key?(:'
|
139
|
-
self.
|
140
|
-
else
|
141
|
-
self.hidden = false
|
149
|
+
if attributes.key?(:'pulp_created')
|
150
|
+
self.pulp_created = attributes[:'pulp_created']
|
142
151
|
end
|
143
152
|
end
|
144
153
|
|
@@ -146,22 +155,22 @@ module PulpcoreClient
|
|
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
|
|
@@ -171,15 +180,16 @@ module PulpcoreClient
|
|
171
180
|
return true if self.equal?(o)
|
172
181
|
self.class == o.class &&
|
173
182
|
pulp_labels == o.pulp_labels &&
|
174
|
-
no_content_change_since == o.no_content_change_since &&
|
175
|
-
base_url == o.base_url &&
|
176
|
-
name == o.name &&
|
177
|
-
pulp_created == o.pulp_created &&
|
178
183
|
base_path == o.base_path &&
|
184
|
+
name == o.name &&
|
185
|
+
base_url == o.base_url &&
|
186
|
+
hidden == o.hidden &&
|
187
|
+
prn == o.prn &&
|
188
|
+
no_content_change_since == o.no_content_change_since &&
|
179
189
|
pulp_last_updated == o.pulp_last_updated &&
|
180
190
|
pulp_href == o.pulp_href &&
|
181
191
|
content_guard == o.content_guard &&
|
182
|
-
|
192
|
+
pulp_created == o.pulp_created
|
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
|
-
[pulp_labels,
|
204
|
+
[pulp_labels, base_path, name, base_url, hidden, prn, no_content_change_since, pulp_last_updated, pulp_href, content_guard, pulp_created].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,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
|
:'task' => :'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
|
@@ -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
|
@@ -17,6 +17,9 @@ module PulpcoreClient
|
|
17
17
|
class FilesystemExporterResponse
|
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',
|
@@ -81,6 +86,10 @@ module PulpcoreClient
|
|
81
86
|
self.pulp_href = attributes[:'pulp_href']
|
82
87
|
end
|
83
88
|
|
89
|
+
if attributes.key?(:'prn')
|
90
|
+
self.prn = attributes[:'prn']
|
91
|
+
end
|
92
|
+
|
84
93
|
if attributes.key?(:'pulp_created')
|
85
94
|
self.pulp_created = attributes[:'pulp_created']
|
86
95
|
end
|
@@ -131,6 +140,7 @@ module PulpcoreClient
|
|
131
140
|
return true if self.equal?(o)
|
132
141
|
self.class == o.class &&
|
133
142
|
pulp_href == o.pulp_href &&
|
143
|
+
prn == o.prn &&
|
134
144
|
pulp_created == o.pulp_created &&
|
135
145
|
pulp_last_updated == o.pulp_last_updated &&
|
136
146
|
name == o.name &&
|
@@ -147,7 +157,7 @@ module PulpcoreClient
|
|
147
157
|
# Calculates hash code according to all attributes.
|
148
158
|
# @return [Integer] Hash code
|
149
159
|
def hash
|
150
|
-
[pulp_href, pulp_created, pulp_last_updated, name, path, method].hash
|
160
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, name, path, method].hash
|
151
161
|
end
|
152
162
|
|
153
163
|
# Builds the object from hash
|
@@ -20,6 +20,8 @@ module PulpcoreClient
|
|
20
20
|
|
21
21
|
attr_accessor :pulp_href
|
22
22
|
|
23
|
+
attr_accessor :prn
|
24
|
+
|
23
25
|
attr_accessor :id
|
24
26
|
|
25
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -27,6 +29,7 @@ module PulpcoreClient
|
|
27
29
|
{
|
28
30
|
:'name' => :'name',
|
29
31
|
:'pulp_href' => :'pulp_href',
|
32
|
+
:'prn' => :'prn',
|
30
33
|
:'id' => :'id'
|
31
34
|
}
|
32
35
|
end
|
@@ -36,6 +39,7 @@ module PulpcoreClient
|
|
36
39
|
{
|
37
40
|
:'name' => :'String',
|
38
41
|
:'pulp_href' => :'String',
|
42
|
+
:'prn' => :'String',
|
39
43
|
:'id' => :'Integer'
|
40
44
|
}
|
41
45
|
end
|
@@ -69,6 +73,10 @@ module PulpcoreClient
|
|
69
73
|
self.pulp_href = attributes[:'pulp_href']
|
70
74
|
end
|
71
75
|
|
76
|
+
if attributes.key?(:'prn')
|
77
|
+
self.prn = attributes[:'prn']
|
78
|
+
end
|
79
|
+
|
72
80
|
if attributes.key?(:'id')
|
73
81
|
self.id = attributes[:'id']
|
74
82
|
end
|
@@ -118,6 +126,7 @@ module PulpcoreClient
|
|
118
126
|
self.class == o.class &&
|
119
127
|
name == o.name &&
|
120
128
|
pulp_href == o.pulp_href &&
|
129
|
+
prn == o.prn &&
|
121
130
|
id == o.id
|
122
131
|
end
|
123
132
|
|
@@ -130,7 +139,7 @@ module PulpcoreClient
|
|
130
139
|
# Calculates hash code according to all attributes.
|
131
140
|
# @return [Integer] Hash code
|
132
141
|
def hash
|
133
|
-
[name, pulp_href, id].hash
|
142
|
+
[name, pulp_href, prn, id].hash
|
134
143
|
end
|
135
144
|
|
136
145
|
# Builds the object from hash
|