pulpcore_client 3.21.24 → 3.22.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 +11 -5
- data/docs/AccessPoliciesApi.md +2 -2
- data/docs/ArtifactDistributionResponse.md +29 -0
- data/docs/ContentSettingsResponse.md +19 -0
- data/docs/ContentguardsApi.md +2 -2
- data/docs/ContentguardsContentRedirectApi.md +2 -2
- data/docs/ContentguardsRbacApi.md +2 -2
- data/docs/DistributionResponse.md +1 -1
- data/docs/DistributionsApi.md +5 -5
- data/docs/DistributionsArtifactsApi.md +154 -0
- data/docs/ExportersFilesystemApi.md +2 -2
- data/docs/ExportersPulpApi.md +2 -2
- data/docs/FilesystemExport.md +1 -3
- data/docs/ImportersPulpApi.md +2 -2
- data/docs/PaginatedArtifactDistributionResponseList.md +23 -0
- data/docs/PublicationsApi.md +2 -2
- data/docs/RemoteResponse.md +4 -2
- data/docs/RemoteResponseHiddenFields.md +19 -0
- data/docs/RemotesApi.md +4 -4
- data/docs/RepositoriesApi.md +3 -3
- data/docs/RepositoryResponse.md +1 -1
- data/docs/RepositoryVersionsApi.md +4 -4
- data/docs/SigningServicesApi.md +4 -2
- data/docs/StatusResponse.md +3 -1
- data/docs/TaskGroupsApi.md +0 -2
- data/docs/TaskSchedulesApi.md +4 -4
- data/docs/TasksApi.md +32 -18
- data/docs/UploadsApi.md +10 -0
- data/docs/UserResponse.md +3 -1
- data/docs/WorkersApi.md +4 -4
- data/lib/pulpcore_client/api/access_policies_api.rb +3 -3
- data/lib/pulpcore_client/api/artifacts_api.rb +1 -1
- data/lib/pulpcore_client/api/contentguards_api.rb +3 -3
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +3 -3
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +3 -3
- data/lib/pulpcore_client/api/distributions_api.rb +7 -7
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +198 -0
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +3 -3
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +3 -3
- data/lib/pulpcore_client/api/groups_api.rb +1 -1
- data/lib/pulpcore_client/api/importers_pulp_api.rb +3 -3
- data/lib/pulpcore_client/api/publications_api.rb +3 -3
- data/lib/pulpcore_client/api/remotes_api.rb +5 -5
- data/lib/pulpcore_client/api/repositories_api.rb +3 -3
- data/lib/pulpcore_client/api/repository_versions_api.rb +5 -5
- data/lib/pulpcore_client/api/roles_api.rb +1 -1
- data/lib/pulpcore_client/api/signing_services_api.rb +9 -2
- data/lib/pulpcore_client/api/task_groups_api.rb +0 -7
- data/lib/pulpcore_client/api/task_schedules_api.rb +5 -5
- data/lib/pulpcore_client/api/tasks_api.rb +40 -19
- data/lib/pulpcore_client/api/uploads_api.rb +19 -0
- data/lib/pulpcore_client/api/users_api.rb +1 -1
- data/lib/pulpcore_client/api/workers_api.rb +5 -5
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +279 -0
- data/lib/pulpcore_client/models/content_settings_response.rb +228 -0
- data/lib/pulpcore_client/models/distribution_response.rb +4 -2
- data/lib/pulpcore_client/models/filesystem_export.rb +4 -14
- data/lib/pulpcore_client/models/group_role.rb +19 -0
- data/lib/pulpcore_client/models/paginated_artifact_distribution_response_list.rb +237 -0
- data/lib/pulpcore_client/models/remote_response.rb +21 -7
- data/lib/pulpcore_client/models/remote_response_hidden_fields.rb +215 -0
- data/lib/pulpcore_client/models/repository_response.rb +4 -2
- data/lib/pulpcore_client/models/status_response.rb +19 -4
- data/lib/pulpcore_client/models/user_response.rb +16 -4
- data/lib/pulpcore_client/models/user_role.rb +19 -0
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +5 -0
- data/spec/api/access_policies_api_spec.rb +1 -1
- data/spec/api/contentguards_api_spec.rb +1 -1
- data/spec/api/contentguards_content_redirect_api_spec.rb +1 -1
- data/spec/api/contentguards_rbac_api_spec.rb +1 -1
- data/spec/api/distributions_api_spec.rb +3 -3
- data/spec/api/distributions_artifacts_api_spec.rb +76 -0
- data/spec/api/exporters_filesystem_api_spec.rb +1 -1
- data/spec/api/exporters_pulp_api_spec.rb +1 -1
- data/spec/api/importers_pulp_api_spec.rb +1 -1
- data/spec/api/publications_api_spec.rb +1 -1
- data/spec/api/remotes_api_spec.rb +2 -2
- data/spec/api/repositories_api_spec.rb +1 -1
- data/spec/api/repository_versions_api_spec.rb +2 -2
- data/spec/api/signing_services_api_spec.rb +2 -1
- data/spec/api/task_groups_api_spec.rb +0 -1
- data/spec/api/task_schedules_api_spec.rb +2 -2
- data/spec/api/tasks_api_spec.rb +16 -9
- data/spec/api/uploads_api_spec.rb +5 -0
- data/spec/api/workers_api_spec.rb +2 -2
- data/spec/models/artifact_distribution_response_spec.rb +77 -0
- data/spec/models/content_settings_response_spec.rb +47 -0
- data/spec/models/filesystem_export_spec.rb +0 -6
- data/spec/models/paginated_artifact_distribution_response_list_spec.rb +59 -0
- data/spec/models/remote_response_hidden_fields_spec.rb +47 -0
- data/spec/models/remote_response_spec.rb +6 -0
- data/spec/models/status_response_spec.rb +6 -0
- data/spec/models/user_response_spec.rb +6 -0
- metadata +145 -125
|
@@ -38,7 +38,7 @@ describe 'RepositoryVersionsApi' do
|
|
|
38
38
|
# @option opts [String] :content Content Unit referenced by HREF
|
|
39
39
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
|
40
40
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
41
|
-
# @option opts [Integer] :number
|
|
41
|
+
# @option opts [Integer] :number Filter results where number matches value
|
|
42
42
|
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
|
43
43
|
# @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
|
|
44
44
|
# @option opts [Integer] :number__lt Filter results where number is less than value
|
|
@@ -46,7 +46,7 @@ describe 'RepositoryVersionsApi' do
|
|
|
46
46
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
|
47
47
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
48
48
|
# @option opts [Array<String>] :ordering Ordering
|
|
49
|
-
# @option opts [DateTime] :pulp_created
|
|
49
|
+
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
|
50
50
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
|
51
51
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
|
52
52
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
|
@@ -37,8 +37,9 @@ describe 'SigningServicesApi' do
|
|
|
37
37
|
# A ViewSet that supports browsing of existing signing services.
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
39
39
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
40
|
-
# @option opts [String] :name
|
|
40
|
+
# @option opts [String] :name Filter results where name matches value
|
|
41
41
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
42
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
42
43
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
43
44
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
44
45
|
# @return [PaginatedSigningServiceResponseList]
|
|
@@ -38,7 +38,6 @@ describe 'TaskGroupsApi' do
|
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
39
39
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
40
40
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
41
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
42
41
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
43
42
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
44
43
|
# @return [PaginatedTaskGroupResponseList]
|
|
@@ -49,11 +49,11 @@ describe 'TaskSchedulesApi' do
|
|
|
49
49
|
# ViewSet to monitor task schedules. NOTE: This feature is in tech-preview and may change in backwards incompatible ways.
|
|
50
50
|
# @param [Hash] opts the optional parameters
|
|
51
51
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
52
|
-
# @option opts [String] :name
|
|
52
|
+
# @option opts [String] :name Filter results where name matches value
|
|
53
53
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
54
54
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
55
55
|
# @option opts [Array<String>] :ordering Ordering
|
|
56
|
-
# @option opts [String] :task_name
|
|
56
|
+
# @option opts [String] :task_name Filter results where task_name matches value
|
|
57
57
|
# @option opts [String] :task_name__contains Filter results where task_name contains value
|
|
58
58
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
59
59
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
data/spec/api/tasks_api_spec.rb
CHANGED
|
@@ -60,33 +60,40 @@ describe 'TasksApi' do
|
|
|
60
60
|
# List tasks
|
|
61
61
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
62
62
|
# @param [Hash] opts the optional parameters
|
|
63
|
-
# @option opts [String] :child_tasks
|
|
63
|
+
# @option opts [String] :child_tasks Filter results where child_tasks matches value
|
|
64
64
|
# @option opts [String] :created_resources
|
|
65
|
-
# @option opts [
|
|
65
|
+
# @option opts [String] :exclusive_resources
|
|
66
|
+
# @option opts [Array<String>] :exclusive_resources__in Multiple values may be separated by commas.
|
|
67
|
+
# @option opts [DateTime] :finished_at Filter results where finished_at matches value
|
|
66
68
|
# @option opts [DateTime] :finished_at__gt Filter results where finished_at is greater than value
|
|
67
69
|
# @option opts [DateTime] :finished_at__gte Filter results where finished_at is greater than or equal to value
|
|
68
70
|
# @option opts [DateTime] :finished_at__lt Filter results where finished_at is less than value
|
|
69
71
|
# @option opts [DateTime] :finished_at__lte Filter results where finished_at is less than or equal to value
|
|
70
72
|
# @option opts [Array<DateTime>] :finished_at__range Filter results where finished_at is between two comma separated values
|
|
71
73
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
72
|
-
# @option opts [String] :logging_cid
|
|
74
|
+
# @option opts [String] :logging_cid Filter results where logging_cid matches value
|
|
73
75
|
# @option opts [String] :logging_cid__contains Filter results where logging_cid contains value
|
|
74
|
-
# @option opts [String] :name
|
|
76
|
+
# @option opts [String] :name Filter results where name matches value
|
|
75
77
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
78
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
76
79
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
77
80
|
# @option opts [Array<String>] :ordering Ordering
|
|
78
|
-
# @option opts [String] :parent_task
|
|
81
|
+
# @option opts [String] :parent_task Filter results where parent_task matches value
|
|
82
|
+
# @option opts [String] :reserved_resources
|
|
83
|
+
# @option opts [Array<String>] :reserved_resources__in Multiple values may be separated by commas.
|
|
79
84
|
# @option opts [Array<String>] :reserved_resources_record
|
|
80
|
-
# @option opts [
|
|
85
|
+
# @option opts [String] :shared_resources
|
|
86
|
+
# @option opts [Array<String>] :shared_resources__in Multiple values may be separated by commas.
|
|
87
|
+
# @option opts [DateTime] :started_at Filter results where started_at matches value
|
|
81
88
|
# @option opts [DateTime] :started_at__gt Filter results where started_at is greater than value
|
|
82
89
|
# @option opts [DateTime] :started_at__gte Filter results where started_at is greater than or equal to value
|
|
83
90
|
# @option opts [DateTime] :started_at__lt Filter results where started_at is less than value
|
|
84
91
|
# @option opts [DateTime] :started_at__lte Filter results where started_at is less than or equal to value
|
|
85
92
|
# @option opts [Array<DateTime>] :started_at__range Filter results where started_at is between two comma separated values
|
|
86
|
-
# @option opts [String] :state
|
|
93
|
+
# @option opts [String] :state Filter results where state matches value
|
|
87
94
|
# @option opts [Array<String>] :state__in Filter results where state is in a comma-separated list of values
|
|
88
|
-
# @option opts [String] :task_group
|
|
89
|
-
# @option opts [String] :worker
|
|
95
|
+
# @option opts [String] :task_group Filter results where task_group matches value
|
|
96
|
+
# @option opts [String] :worker Filter results where worker matches value
|
|
90
97
|
# @option opts [Array<String>] :worker__in Filter results where worker is in a comma-separated list of values
|
|
91
98
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
92
99
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
@@ -87,6 +87,11 @@ describe 'UploadsApi' do
|
|
|
87
87
|
# @param [Hash] opts the optional parameters
|
|
88
88
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
89
89
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
90
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
91
|
+
# @option opts [Integer] :size Filter results where size matches value
|
|
92
|
+
# @option opts [Integer] :size__gt Filter results where size is greater than value
|
|
93
|
+
# @option opts [Integer] :size__lt Filter results where size is less than value
|
|
94
|
+
# @option opts [Array<Integer>] :size__range Filter results where size is between two comma separated values
|
|
90
95
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
91
96
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
92
97
|
# @return [PaginatedUploadResponseList]
|
|
@@ -36,7 +36,7 @@ describe 'WorkersApi' do
|
|
|
36
36
|
# List workers
|
|
37
37
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
39
|
-
# @option opts [DateTime] :last_heartbeat
|
|
39
|
+
# @option opts [DateTime] :last_heartbeat Filter results where last_heartbeat matches value
|
|
40
40
|
# @option opts [DateTime] :last_heartbeat__gt Filter results where last_heartbeat is greater than value
|
|
41
41
|
# @option opts [DateTime] :last_heartbeat__gte Filter results where last_heartbeat is greater than or equal to value
|
|
42
42
|
# @option opts [DateTime] :last_heartbeat__lt Filter results where last_heartbeat is less than value
|
|
@@ -44,7 +44,7 @@ describe 'WorkersApi' do
|
|
|
44
44
|
# @option opts [Array<DateTime>] :last_heartbeat__range Filter results where last_heartbeat is between two comma separated values
|
|
45
45
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
46
46
|
# @option opts [Boolean] :missing
|
|
47
|
-
# @option opts [String] :name
|
|
47
|
+
# @option opts [String] :name Filter results where name matches value
|
|
48
48
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
49
49
|
# @option opts [String] :name__icontains Filter results where name contains value
|
|
50
50
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Pulp 3 API
|
|
3
|
+
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v3
|
|
7
|
+
Contact: pulp-list@redhat.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 4.3.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpcoreClient::ArtifactDistributionResponse
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'ArtifactDistributionResponse' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = PulpcoreClient::ArtifactDistributionResponse.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of ArtifactDistributionResponse' do
|
|
31
|
+
it 'should create an instance of ArtifactDistributionResponse' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpcoreClient::ArtifactDistributionResponse)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "content_guard"' do
|
|
36
|
+
it 'should work' do
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
describe 'test attribute "pulp_labels"' do
|
|
42
|
+
it 'should work' do
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
describe 'test attribute "pulp_created"' do
|
|
48
|
+
it 'should work' do
|
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
describe 'test attribute "base_path"' do
|
|
54
|
+
it 'should work' do
|
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
describe 'test attribute "base_url"' do
|
|
60
|
+
it 'should work' do
|
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
describe 'test attribute "pulp_href"' do
|
|
66
|
+
it 'should work' do
|
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
describe 'test attribute "name"' do
|
|
72
|
+
it 'should work' do
|
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
end
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Pulp 3 API
|
|
3
|
+
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v3
|
|
7
|
+
Contact: pulp-list@redhat.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 4.3.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpcoreClient::ContentSettingsResponse
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'ContentSettingsResponse' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = PulpcoreClient::ContentSettingsResponse.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of ContentSettingsResponse' do
|
|
31
|
+
it 'should create an instance of ContentSettingsResponse' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpcoreClient::ContentSettingsResponse)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "content_origin"' do
|
|
36
|
+
it 'should work' do
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
describe 'test attribute "content_path_prefix"' do
|
|
42
|
+
it 'should work' do
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
end
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Pulp 3 API
|
|
3
|
+
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v3
|
|
7
|
+
Contact: pulp-list@redhat.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 4.3.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpcoreClient::PaginatedArtifactDistributionResponseList
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'PaginatedArtifactDistributionResponseList' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = PulpcoreClient::PaginatedArtifactDistributionResponseList.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of PaginatedArtifactDistributionResponseList' do
|
|
31
|
+
it 'should create an instance of PaginatedArtifactDistributionResponseList' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpcoreClient::PaginatedArtifactDistributionResponseList)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "count"' do
|
|
36
|
+
it 'should work' do
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
describe 'test attribute "_next"' do
|
|
42
|
+
it 'should work' do
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
describe 'test attribute "previous"' do
|
|
48
|
+
it 'should work' do
|
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
describe 'test attribute "results"' do
|
|
54
|
+
it 'should work' do
|
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
end
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Pulp 3 API
|
|
3
|
+
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v3
|
|
7
|
+
Contact: pulp-list@redhat.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 4.3.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpcoreClient::RemoteResponseHiddenFields
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'RemoteResponseHiddenFields' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = PulpcoreClient::RemoteResponseHiddenFields.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of RemoteResponseHiddenFields' do
|
|
31
|
+
it 'should create an instance of RemoteResponseHiddenFields' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpcoreClient::RemoteResponseHiddenFields)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "name"' do
|
|
36
|
+
it 'should work' do
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
describe 'test attribute "is_set"' do
|
|
42
|
+
it 'should work' do
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
end
|