pulpcore_client 3.7.5 → 3.7.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +4 -4
- data/docs/PulpExportResponse.md +1 -1
- data/docs/WorkerResponse.md +3 -3
- data/lib/pulpcore_client/api/access_policies_api.rb +1 -1
- data/lib/pulpcore_client/api/artifacts_api.rb +1 -1
- data/lib/pulpcore_client/api/exporters_core_exports_api.rb +1 -1
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +1 -1
- data/lib/pulpcore_client/api/groups_api.rb +1 -1
- data/lib/pulpcore_client/api/groups_model_permissions_api.rb +1 -1
- data/lib/pulpcore_client/api/groups_object_permissions_api.rb +1 -1
- data/lib/pulpcore_client/api/groups_users_api.rb +1 -1
- data/lib/pulpcore_client/api/importers_core_imports_api.rb +1 -1
- data/lib/pulpcore_client/api/importers_pulp_api.rb +1 -1
- data/lib/pulpcore_client/api/orphans_api.rb +1 -1
- data/lib/pulpcore_client/api/signing_services_api.rb +1 -1
- data/lib/pulpcore_client/api/status_api.rb +1 -1
- data/lib/pulpcore_client/api/task_groups_api.rb +1 -1
- data/lib/pulpcore_client/api/tasks_api.rb +1 -1
- data/lib/pulpcore_client/api/uploads_api.rb +1 -1
- data/lib/pulpcore_client/api/users_api.rb +1 -1
- data/lib/pulpcore_client/api/workers_api.rb +1 -1
- data/lib/pulpcore_client/api_client.rb +12 -8
- data/lib/pulpcore_client/api_error.rb +1 -1
- data/lib/pulpcore_client/configuration.rb +8 -1
- data/lib/pulpcore_client/models/access_policy.rb +1 -1
- data/lib/pulpcore_client/models/access_policy_response.rb +1 -1
- data/lib/pulpcore_client/models/artifact.rb +1 -1
- data/lib/pulpcore_client/models/artifact_response.rb +1 -1
- data/lib/pulpcore_client/models/async_operation_response.rb +1 -1
- data/lib/pulpcore_client/models/content_app_status_response.rb +1 -1
- data/lib/pulpcore_client/models/database_connection_response.rb +1 -1
- data/lib/pulpcore_client/models/group.rb +1 -1
- data/lib/pulpcore_client/models/group_progress_report_response.rb +1 -1
- data/lib/pulpcore_client/models/group_response.rb +1 -1
- data/lib/pulpcore_client/models/group_user.rb +1 -1
- data/lib/pulpcore_client/models/group_user_response.rb +1 -1
- data/lib/pulpcore_client/models/import_response.rb +1 -1
- data/lib/pulpcore_client/models/inline_response200.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2001.rb +1 -1
- data/lib/pulpcore_client/models/inline_response20010.rb +1 -1
- data/lib/pulpcore_client/models/inline_response20011.rb +1 -1
- data/lib/pulpcore_client/models/inline_response20012.rb +1 -1
- data/lib/pulpcore_client/models/inline_response20013.rb +1 -1
- data/lib/pulpcore_client/models/inline_response20014.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2002.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2003.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2004.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2005.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2006.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2007.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2008.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2009.rb +1 -1
- data/lib/pulpcore_client/models/patched_access_policy.rb +1 -1
- data/lib/pulpcore_client/models/patched_group.rb +1 -1
- data/lib/pulpcore_client/models/patched_pulp_exporter.rb +1 -1
- data/lib/pulpcore_client/models/patched_pulp_importer.rb +1 -1
- data/lib/pulpcore_client/models/patched_task_cancel.rb +1 -1
- data/lib/pulpcore_client/models/permission_response.rb +1 -1
- data/lib/pulpcore_client/models/progress_report_response.rb +1 -1
- data/lib/pulpcore_client/models/pulp_export.rb +1 -1
- data/lib/pulpcore_client/models/pulp_export_response.rb +2 -2
- data/lib/pulpcore_client/models/pulp_exporter.rb +1 -1
- data/lib/pulpcore_client/models/pulp_exporter_response.rb +1 -1
- data/lib/pulpcore_client/models/pulp_import.rb +1 -1
- data/lib/pulpcore_client/models/pulp_importer.rb +1 -1
- data/lib/pulpcore_client/models/pulp_importer_response.rb +1 -1
- data/lib/pulpcore_client/models/redis_connection_response.rb +1 -1
- data/lib/pulpcore_client/models/signing_service_response.rb +1 -1
- data/lib/pulpcore_client/models/status_response.rb +1 -1
- data/lib/pulpcore_client/models/storage_response.rb +1 -1
- data/lib/pulpcore_client/models/task_group_response.rb +1 -1
- data/lib/pulpcore_client/models/task_response.rb +1 -1
- data/lib/pulpcore_client/models/upload.rb +1 -1
- data/lib/pulpcore_client/models/upload_chunk.rb +1 -1
- data/lib/pulpcore_client/models/upload_chunk_response.rb +1 -1
- data/lib/pulpcore_client/models/upload_commit.rb +1 -1
- data/lib/pulpcore_client/models/upload_detail_response.rb +1 -1
- data/lib/pulpcore_client/models/upload_response.rb +1 -1
- data/lib/pulpcore_client/models/user_group_response.rb +1 -1
- data/lib/pulpcore_client/models/user_response.rb +1 -1
- data/lib/pulpcore_client/models/version_response.rb +1 -1
- data/lib/pulpcore_client/models/worker_response.rb +11 -11
- data/lib/pulpcore_client/version.rb +2 -2
- data/lib/pulpcore_client.rb +1 -1
- data/pulpcore_client.gemspec +1 -1
- data/spec/api/access_policies_api_spec.rb +1 -1
- data/spec/api/artifacts_api_spec.rb +1 -1
- data/spec/api/exporters_core_exports_api_spec.rb +1 -1
- data/spec/api/exporters_pulp_api_spec.rb +1 -1
- data/spec/api/groups_api_spec.rb +1 -1
- data/spec/api/groups_model_permissions_api_spec.rb +1 -1
- data/spec/api/groups_object_permissions_api_spec.rb +1 -1
- data/spec/api/groups_users_api_spec.rb +1 -1
- data/spec/api/importers_core_imports_api_spec.rb +1 -1
- data/spec/api/importers_pulp_api_spec.rb +1 -1
- data/spec/api/orphans_api_spec.rb +1 -1
- data/spec/api/signing_services_api_spec.rb +1 -1
- data/spec/api/status_api_spec.rb +1 -1
- data/spec/api/task_groups_api_spec.rb +1 -1
- data/spec/api/tasks_api_spec.rb +1 -1
- data/spec/api/uploads_api_spec.rb +1 -1
- data/spec/api/users_api_spec.rb +1 -1
- data/spec/api/workers_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/access_policy_response_spec.rb +1 -1
- data/spec/models/access_policy_spec.rb +1 -1
- data/spec/models/artifact_response_spec.rb +1 -1
- data/spec/models/artifact_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/content_app_status_response_spec.rb +1 -1
- data/spec/models/database_connection_response_spec.rb +1 -1
- data/spec/models/group_progress_report_response_spec.rb +1 -1
- data/spec/models/group_response_spec.rb +1 -1
- data/spec/models/group_spec.rb +1 -1
- data/spec/models/group_user_response_spec.rb +1 -1
- data/spec/models/group_user_spec.rb +1 -1
- data/spec/models/import_response_spec.rb +1 -1
- data/spec/models/inline_response20010_spec.rb +1 -1
- data/spec/models/inline_response20011_spec.rb +1 -1
- data/spec/models/inline_response20012_spec.rb +1 -1
- data/spec/models/inline_response20013_spec.rb +1 -1
- data/spec/models/inline_response20014_spec.rb +1 -1
- data/spec/models/inline_response2001_spec.rb +1 -1
- data/spec/models/inline_response2002_spec.rb +1 -1
- data/spec/models/inline_response2003_spec.rb +1 -1
- data/spec/models/inline_response2004_spec.rb +1 -1
- data/spec/models/inline_response2005_spec.rb +1 -1
- data/spec/models/inline_response2006_spec.rb +1 -1
- data/spec/models/inline_response2007_spec.rb +1 -1
- data/spec/models/inline_response2008_spec.rb +1 -1
- data/spec/models/inline_response2009_spec.rb +1 -1
- data/spec/models/inline_response200_spec.rb +1 -1
- data/spec/models/patched_access_policy_spec.rb +1 -1
- data/spec/models/patched_group_spec.rb +1 -1
- data/spec/models/patched_pulp_exporter_spec.rb +1 -1
- data/spec/models/patched_pulp_importer_spec.rb +1 -1
- data/spec/models/patched_task_cancel_spec.rb +1 -1
- data/spec/models/permission_response_spec.rb +1 -1
- data/spec/models/progress_report_response_spec.rb +1 -1
- data/spec/models/pulp_export_response_spec.rb +1 -1
- data/spec/models/pulp_export_spec.rb +1 -1
- data/spec/models/pulp_exporter_response_spec.rb +1 -1
- data/spec/models/pulp_exporter_spec.rb +1 -1
- data/spec/models/pulp_import_spec.rb +1 -1
- data/spec/models/pulp_importer_response_spec.rb +1 -1
- data/spec/models/pulp_importer_spec.rb +1 -1
- data/spec/models/redis_connection_response_spec.rb +1 -1
- data/spec/models/signing_service_response_spec.rb +1 -1
- data/spec/models/status_response_spec.rb +1 -1
- data/spec/models/storage_response_spec.rb +1 -1
- data/spec/models/task_group_response_spec.rb +1 -1
- data/spec/models/task_response_spec.rb +1 -1
- data/spec/models/upload_chunk_response_spec.rb +1 -1
- data/spec/models/upload_chunk_spec.rb +1 -1
- data/spec/models/upload_commit_spec.rb +1 -1
- data/spec/models/upload_detail_response_spec.rb +1 -1
- data/spec/models/upload_response_spec.rb +1 -1
- data/spec/models/upload_spec.rb +1 -1
- data/spec/models/user_group_response_spec.rb +1 -1
- data/spec/models/user_response_spec.rb +1 -1
- data/spec/models/version_response_spec.rb +1 -1
- data/spec/models/worker_response_spec.rb +3 -3
- data/spec/spec_helper.rb +1 -1
- metadata +59 -59
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -54,7 +54,7 @@ module PulpcoreClient
|
|
54
54
|
:'pulp_href' => :'String',
|
55
55
|
:'pulp_created' => :'DateTime',
|
56
56
|
:'task' => :'String',
|
57
|
-
:'exported_resources' => :'Array<
|
57
|
+
:'exported_resources' => :'Array<AnyType>',
|
58
58
|
:'params' => :'Object',
|
59
59
|
:'output_file_info' => :'Object',
|
60
60
|
:'toc_info' => :'Object'
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -15,11 +15,11 @@ require 'date'
|
|
15
15
|
module PulpcoreClient
|
16
16
|
# Base serializer for use with :class:`pulpcore.app.models.Model` This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
17
17
|
class WorkerResponse
|
18
|
+
attr_accessor :pulp_href
|
19
|
+
|
18
20
|
# Timestamp of creation.
|
19
21
|
attr_accessor :pulp_created
|
20
22
|
|
21
|
-
attr_accessor :pulp_href
|
22
|
-
|
23
23
|
# The name of the worker.
|
24
24
|
attr_accessor :name
|
25
25
|
|
@@ -29,8 +29,8 @@ module PulpcoreClient
|
|
29
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
30
30
|
def self.attribute_map
|
31
31
|
{
|
32
|
-
:'pulp_created' => :'pulp_created',
|
33
32
|
:'pulp_href' => :'pulp_href',
|
33
|
+
:'pulp_created' => :'pulp_created',
|
34
34
|
:'name' => :'name',
|
35
35
|
:'last_heartbeat' => :'last_heartbeat'
|
36
36
|
}
|
@@ -39,8 +39,8 @@ module PulpcoreClient
|
|
39
39
|
# Attribute type mapping.
|
40
40
|
def self.openapi_types
|
41
41
|
{
|
42
|
-
:'pulp_created' => :'DateTime',
|
43
42
|
:'pulp_href' => :'String',
|
43
|
+
:'pulp_created' => :'DateTime',
|
44
44
|
:'name' => :'String',
|
45
45
|
:'last_heartbeat' => :'DateTime'
|
46
46
|
}
|
@@ -67,14 +67,14 @@ module PulpcoreClient
|
|
67
67
|
h[k.to_sym] = v
|
68
68
|
}
|
69
69
|
|
70
|
-
if attributes.key?(:'pulp_created')
|
71
|
-
self.pulp_created = attributes[:'pulp_created']
|
72
|
-
end
|
73
|
-
|
74
70
|
if attributes.key?(:'pulp_href')
|
75
71
|
self.pulp_href = attributes[:'pulp_href']
|
76
72
|
end
|
77
73
|
|
74
|
+
if attributes.key?(:'pulp_created')
|
75
|
+
self.pulp_created = attributes[:'pulp_created']
|
76
|
+
end
|
77
|
+
|
78
78
|
if attributes.key?(:'name')
|
79
79
|
self.name = attributes[:'name']
|
80
80
|
end
|
@@ -102,8 +102,8 @@ module PulpcoreClient
|
|
102
102
|
def ==(o)
|
103
103
|
return true if self.equal?(o)
|
104
104
|
self.class == o.class &&
|
105
|
-
pulp_created == o.pulp_created &&
|
106
105
|
pulp_href == o.pulp_href &&
|
106
|
+
pulp_created == o.pulp_created &&
|
107
107
|
name == o.name &&
|
108
108
|
last_heartbeat == o.last_heartbeat
|
109
109
|
end
|
@@ -117,7 +117,7 @@ module PulpcoreClient
|
|
117
117
|
# Calculates hash code according to all attributes.
|
118
118
|
# @return [Integer] Hash code
|
119
119
|
def hash
|
120
|
-
[
|
120
|
+
[pulp_href, pulp_created, name, last_heartbeat].hash
|
121
121
|
end
|
122
122
|
|
123
123
|
# Builds the object from hash
|
@@ -6,10 +6,10 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module PulpcoreClient
|
14
|
-
VERSION = '3.7.
|
14
|
+
VERSION = '3.7.9'
|
15
15
|
end
|
data/lib/pulpcore_client.rb
CHANGED
data/pulpcore_client.gemspec
CHANGED
data/spec/api/groups_api_spec.rb
CHANGED
data/spec/api/status_api_spec.rb
CHANGED
data/spec/api/tasks_api_spec.rb
CHANGED
data/spec/api/users_api_spec.rb
CHANGED
data/spec/api_client_spec.rb
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -118,7 +118,7 @@ describe PulpcoreClient::ApiClient do
|
|
118
118
|
end
|
119
119
|
|
120
120
|
it 'fails for invalid collection format' do
|
121
|
-
expect{api_client.build_collection_param(param, :INVALID)}.to raise_error(RuntimeError, 'unknown collection format: :INVALID')
|
121
|
+
expect { api_client.build_collection_param(param, :INVALID) }.to raise_error(RuntimeError, 'unknown collection format: :INVALID')
|
122
122
|
end
|
123
123
|
end
|
124
124
|
|
data/spec/configuration_spec.rb
CHANGED