pulpcore_client 3.28.30 → 3.28.32
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 +154 -156
- data/docs/AccessPoliciesApi.md +25 -25
- data/docs/ArtifactDistributionResponse.md +9 -9
- data/docs/ArtifactsApi.md +20 -20
- data/docs/ContentApi.md +5 -5
- data/docs/ContentguardsApi.md +5 -5
- data/docs/ContentguardsContentRedirectApi.md +50 -50
- data/docs/ContentguardsRbacApi.md +50 -50
- data/docs/DistributionsApi.md +5 -5
- data/docs/DistributionsArtifactsApi.md +10 -10
- data/docs/DomainsApi.md +30 -30
- data/docs/ExportersFilesystemApi.md +30 -30
- data/docs/ExportersFilesystemExportsApi.md +20 -20
- data/docs/ExportersPulpApi.md +30 -30
- data/docs/ExportersPulpExportsApi.md +20 -20
- data/docs/GroupsApi.md +50 -50
- data/docs/GroupsRolesApi.md +20 -20
- data/docs/GroupsUsersApi.md +15 -15
- data/docs/ImportersPulpApi.md +30 -30
- data/docs/ImportersPulpImportsApi.md +20 -20
- data/docs/OrphansApi.md +5 -5
- data/docs/OrphansCleanupApi.md +5 -5
- data/docs/PublicationsApi.md +5 -5
- data/docs/RemotesApi.md +5 -5
- data/docs/RepairApi.md +5 -5
- data/docs/RepositoriesApi.md +5 -5
- data/docs/RepositoriesReclaimSpaceApi.md +5 -5
- data/docs/RepositoryVersionsApi.md +5 -5
- data/docs/RolesApi.md +30 -30
- data/docs/SigningServicesApi.md +10 -10
- data/docs/TaskGroupsApi.md +10 -10
- data/docs/TaskSchedulesApi.md +30 -30
- data/docs/TasksApi.md +95 -95
- data/docs/UploadsApi.md +50 -50
- data/docs/UpstreamPulpsApi.md +35 -35
- data/docs/UsersApi.md +30 -30
- data/docs/UsersRolesApi.md +20 -20
- data/docs/WorkersApi.md +10 -10
- data/lib/pulpcore_client/api/access_policies_api.rb +31 -31
- data/lib/pulpcore_client/api/artifacts_api.rb +29 -29
- data/lib/pulpcore_client/api/content_api.rb +5 -5
- data/lib/pulpcore_client/api/contentguards_api.rb +5 -5
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +63 -63
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +63 -63
- data/lib/pulpcore_client/api/distributions_api.rb +5 -5
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +11 -11
- data/lib/pulpcore_client/api/domains_api.rb +37 -37
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +37 -37
- data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +25 -25
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +37 -37
- data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +25 -25
- data/lib/pulpcore_client/api/groups_api.rb +63 -63
- data/lib/pulpcore_client/api/groups_roles_api.rb +25 -25
- data/lib/pulpcore_client/api/groups_users_api.rb +19 -19
- data/lib/pulpcore_client/api/importers_pulp_api.rb +37 -37
- data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +25 -25
- data/lib/pulpcore_client/api/orphans_api.rb +5 -5
- data/lib/pulpcore_client/api/orphans_cleanup_api.rb +6 -6
- data/lib/pulpcore_client/api/publications_api.rb +5 -5
- data/lib/pulpcore_client/api/remotes_api.rb +5 -5
- data/lib/pulpcore_client/api/repair_api.rb +6 -6
- data/lib/pulpcore_client/api/repositories_api.rb +5 -5
- data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +6 -6
- data/lib/pulpcore_client/api/repository_versions_api.rb +5 -5
- data/lib/pulpcore_client/api/roles_api.rb +37 -37
- data/lib/pulpcore_client/api/signing_services_api.rb +11 -11
- data/lib/pulpcore_client/api/task_groups_api.rb +11 -11
- data/lib/pulpcore_client/api/task_schedules_api.rb +37 -37
- data/lib/pulpcore_client/api/tasks_api.rb +119 -119
- data/lib/pulpcore_client/api/uploads_api.rb +65 -65
- data/lib/pulpcore_client/api/upstream_pulps_api.rb +43 -43
- data/lib/pulpcore_client/api/users_api.rb +37 -37
- data/lib/pulpcore_client/api/users_roles_api.rb +25 -25
- data/lib/pulpcore_client/api/workers_api.rb +11 -11
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +39 -39
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +0 -2
- data/spec/api/access_policies_api_spec.rb +10 -10
- data/spec/api/artifacts_api_spec.rb +8 -8
- data/spec/api/content_api_spec.rb +2 -2
- data/spec/api/contentguards_api_spec.rb +2 -2
- data/spec/api/contentguards_content_redirect_api_spec.rb +20 -20
- data/spec/api/contentguards_rbac_api_spec.rb +20 -20
- data/spec/api/distributions_api_spec.rb +2 -2
- data/spec/api/distributions_artifacts_api_spec.rb +4 -4
- data/spec/api/domains_api_spec.rb +12 -12
- data/spec/api/exporters_filesystem_api_spec.rb +12 -12
- data/spec/api/exporters_filesystem_exports_api_spec.rb +8 -8
- data/spec/api/exporters_pulp_api_spec.rb +12 -12
- data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
- data/spec/api/groups_api_spec.rb +20 -20
- data/spec/api/groups_roles_api_spec.rb +8 -8
- data/spec/api/groups_users_api_spec.rb +6 -6
- data/spec/api/importers_pulp_api_spec.rb +12 -12
- data/spec/api/importers_pulp_imports_api_spec.rb +8 -8
- data/spec/api/orphans_api_spec.rb +2 -2
- data/spec/api/orphans_cleanup_api_spec.rb +2 -2
- data/spec/api/publications_api_spec.rb +2 -2
- data/spec/api/remotes_api_spec.rb +2 -2
- data/spec/api/repair_api_spec.rb +2 -2
- data/spec/api/repositories_api_spec.rb +2 -2
- data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
- data/spec/api/repository_versions_api_spec.rb +2 -2
- data/spec/api/roles_api_spec.rb +12 -12
- data/spec/api/signing_services_api_spec.rb +4 -4
- data/spec/api/task_groups_api_spec.rb +4 -4
- data/spec/api/task_schedules_api_spec.rb +12 -12
- data/spec/api/tasks_api_spec.rb +29 -29
- data/spec/api/uploads_api_spec.rb +20 -20
- data/spec/api/upstream_pulps_api_spec.rb +14 -14
- data/spec/api/users_api_spec.rb +12 -12
- data/spec/api/users_roles_api_spec.rb +8 -8
- data/spec/api/workers_api_spec.rb +4 -4
- data/spec/models/artifact_distribution_response_spec.rb +6 -6
- metadata +140 -148
- data/docs/DocsApiJsonApi.md +0 -61
- data/docs/DocsApiYamlApi.md +0 -61
- data/lib/pulpcore_client/api/docs_api_json_api.rb +0 -89
- data/lib/pulpcore_client/api/docs_api_yaml_api.rb +0 -89
- data/spec/api/docs_api_json_api_spec.rb +0 -48
- data/spec/api/docs_api_yaml_api_spec.rb +0 -48
|
@@ -32,7 +32,7 @@ describe 'AccessPoliciesApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for list
|
|
36
36
|
# List access policys
|
|
37
37
|
# ViewSet for AccessPolicy. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
@@ -50,26 +50,26 @@ describe 'AccessPoliciesApi' do
|
|
|
50
50
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
51
51
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
52
52
|
# @return [PaginatedAccessPolicyResponseList]
|
|
53
|
-
describe '
|
|
53
|
+
describe 'list test' do
|
|
54
54
|
it 'should work' do
|
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
56
|
end
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
# unit tests for
|
|
59
|
+
# unit tests for partial_update
|
|
60
60
|
# Update an access policy
|
|
61
61
|
# ViewSet for AccessPolicy. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
62
62
|
# @param access_policy_href
|
|
63
63
|
# @param patched_access_policy
|
|
64
64
|
# @param [Hash] opts the optional parameters
|
|
65
65
|
# @return [AccessPolicyResponse]
|
|
66
|
-
describe '
|
|
66
|
+
describe 'partial_update test' do
|
|
67
67
|
it 'should work' do
|
|
68
68
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
69
69
|
end
|
|
70
70
|
end
|
|
71
71
|
|
|
72
|
-
# unit tests for
|
|
72
|
+
# unit tests for read
|
|
73
73
|
# Inspect an access policy
|
|
74
74
|
# ViewSet for AccessPolicy. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
75
75
|
# @param access_policy_href
|
|
@@ -77,31 +77,31 @@ describe 'AccessPoliciesApi' do
|
|
|
77
77
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
78
78
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
79
79
|
# @return [AccessPolicyResponse]
|
|
80
|
-
describe '
|
|
80
|
+
describe 'read test' do
|
|
81
81
|
it 'should work' do
|
|
82
82
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
83
83
|
end
|
|
84
84
|
end
|
|
85
85
|
|
|
86
|
-
# unit tests for
|
|
86
|
+
# unit tests for reset
|
|
87
87
|
# Reset the access policy to its uncustomized default value.
|
|
88
88
|
# @param access_policy_href
|
|
89
89
|
# @param [Hash] opts the optional parameters
|
|
90
90
|
# @return [AccessPolicyResponse]
|
|
91
|
-
describe '
|
|
91
|
+
describe 'reset test' do
|
|
92
92
|
it 'should work' do
|
|
93
93
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
94
94
|
end
|
|
95
95
|
end
|
|
96
96
|
|
|
97
|
-
# unit tests for
|
|
97
|
+
# unit tests for update
|
|
98
98
|
# Update an access policy
|
|
99
99
|
# ViewSet for AccessPolicy. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
100
100
|
# @param access_policy_href
|
|
101
101
|
# @param access_policy
|
|
102
102
|
# @param [Hash] opts the optional parameters
|
|
103
103
|
# @return [AccessPolicyResponse]
|
|
104
|
-
describe '
|
|
104
|
+
describe 'update test' do
|
|
105
105
|
it 'should work' do
|
|
106
106
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
107
107
|
end
|
|
@@ -32,7 +32,7 @@ describe 'ArtifactsApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for create
|
|
36
36
|
# Create an artifact
|
|
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 file The stored file.
|
|
@@ -45,25 +45,25 @@ describe 'ArtifactsApi' do
|
|
|
45
45
|
# @option opts [String] :sha384 The SHA-384 checksum of the file if available.
|
|
46
46
|
# @option opts [String] :sha512 The SHA-512 checksum of the file if available.
|
|
47
47
|
# @return [ArtifactResponse]
|
|
48
|
-
describe '
|
|
48
|
+
describe 'create test' do
|
|
49
49
|
it 'should work' do
|
|
50
50
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
51
51
|
end
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
-
# unit tests for
|
|
54
|
+
# unit tests for delete
|
|
55
55
|
# Delete an artifact
|
|
56
56
|
# Remove Artifact only if it is not associated with any Content.
|
|
57
57
|
# @param artifact_href
|
|
58
58
|
# @param [Hash] opts the optional parameters
|
|
59
59
|
# @return [nil]
|
|
60
|
-
describe '
|
|
60
|
+
describe 'delete test' do
|
|
61
61
|
it 'should work' do
|
|
62
62
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
63
63
|
end
|
|
64
64
|
end
|
|
65
65
|
|
|
66
|
-
# unit tests for
|
|
66
|
+
# unit tests for list
|
|
67
67
|
# List artifacts
|
|
68
68
|
# 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.
|
|
69
69
|
# @param [Hash] opts the optional parameters
|
|
@@ -82,13 +82,13 @@ describe 'ArtifactsApi' do
|
|
|
82
82
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
83
83
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
84
84
|
# @return [PaginatedArtifactResponseList]
|
|
85
|
-
describe '
|
|
85
|
+
describe 'list test' do
|
|
86
86
|
it 'should work' do
|
|
87
87
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
88
88
|
end
|
|
89
89
|
end
|
|
90
90
|
|
|
91
|
-
# unit tests for
|
|
91
|
+
# unit tests for read
|
|
92
92
|
# Inspect an artifact
|
|
93
93
|
# 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.
|
|
94
94
|
# @param artifact_href
|
|
@@ -96,7 +96,7 @@ describe 'ArtifactsApi' do
|
|
|
96
96
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
97
97
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
98
98
|
# @return [ArtifactResponse]
|
|
99
|
-
describe '
|
|
99
|
+
describe 'read test' do
|
|
100
100
|
it 'should work' do
|
|
101
101
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
102
102
|
end
|
|
@@ -32,7 +32,7 @@ describe 'ContentApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for list
|
|
36
36
|
# List content
|
|
37
37
|
# Endpoint to list all content.
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
@@ -48,7 +48,7 @@ describe 'ContentApi' do
|
|
|
48
48
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
49
49
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
50
50
|
# @return [PaginatedMultipleArtifactContentResponseList]
|
|
51
|
-
describe '
|
|
51
|
+
describe 'list test' do
|
|
52
52
|
it 'should work' do
|
|
53
53
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
54
54
|
end
|
|
@@ -32,7 +32,7 @@ describe 'ContentguardsApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for list
|
|
36
36
|
# List content guards
|
|
37
37
|
# Endpoint to list all contentguards.
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
@@ -50,7 +50,7 @@ describe 'ContentguardsApi' do
|
|
|
50
50
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
51
51
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
52
52
|
# @return [PaginatedContentGuardResponseList]
|
|
53
|
-
describe '
|
|
53
|
+
describe 'list test' do
|
|
54
54
|
it 'should work' do
|
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
56
|
end
|
|
@@ -32,43 +32,43 @@ describe 'ContentguardsContentRedirectApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for add_role
|
|
36
36
|
# Add a role for this object to users/groups.
|
|
37
37
|
# @param content_redirect_content_guard_href
|
|
38
38
|
# @param nested_role
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
40
|
# @return [NestedRoleResponse]
|
|
41
|
-
describe '
|
|
41
|
+
describe 'add_role test' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
-
# unit tests for
|
|
47
|
+
# unit tests for create
|
|
48
48
|
# Create a content redirect content guard
|
|
49
49
|
# Content guard to protect preauthenticated redirects to the content app.
|
|
50
50
|
# @param content_redirect_content_guard
|
|
51
51
|
# @param [Hash] opts the optional parameters
|
|
52
52
|
# @return [ContentRedirectContentGuardResponse]
|
|
53
|
-
describe '
|
|
53
|
+
describe 'create test' do
|
|
54
54
|
it 'should work' do
|
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
56
|
end
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
# unit tests for
|
|
59
|
+
# unit tests for delete
|
|
60
60
|
# Delete a content redirect content guard
|
|
61
61
|
# Content guard to protect preauthenticated redirects to the content app.
|
|
62
62
|
# @param content_redirect_content_guard_href
|
|
63
63
|
# @param [Hash] opts the optional parameters
|
|
64
64
|
# @return [nil]
|
|
65
|
-
describe '
|
|
65
|
+
describe 'delete test' do
|
|
66
66
|
it 'should work' do
|
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
68
68
|
end
|
|
69
69
|
end
|
|
70
70
|
|
|
71
|
-
# unit tests for
|
|
71
|
+
# unit tests for list
|
|
72
72
|
# List content redirect content guards
|
|
73
73
|
# Content guard to protect preauthenticated redirects to the content app.
|
|
74
74
|
# @param [Hash] opts the optional parameters
|
|
@@ -85,52 +85,52 @@ describe 'ContentguardsContentRedirectApi' do
|
|
|
85
85
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
86
86
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
87
87
|
# @return [PaginatedContentRedirectContentGuardResponseList]
|
|
88
|
-
describe '
|
|
88
|
+
describe 'list test' do
|
|
89
89
|
it 'should work' do
|
|
90
90
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
91
91
|
end
|
|
92
92
|
end
|
|
93
93
|
|
|
94
|
-
# unit tests for
|
|
94
|
+
# unit tests for list_roles
|
|
95
95
|
# List roles assigned to this object.
|
|
96
96
|
# @param content_redirect_content_guard_href
|
|
97
97
|
# @param [Hash] opts the optional parameters
|
|
98
98
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
99
99
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
100
100
|
# @return [ObjectRolesResponse]
|
|
101
|
-
describe '
|
|
101
|
+
describe 'list_roles test' do
|
|
102
102
|
it 'should work' do
|
|
103
103
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
104
104
|
end
|
|
105
105
|
end
|
|
106
106
|
|
|
107
|
-
# unit tests for
|
|
107
|
+
# unit tests for my_permissions
|
|
108
108
|
# List permissions available to the current user on this object.
|
|
109
109
|
# @param content_redirect_content_guard_href
|
|
110
110
|
# @param [Hash] opts the optional parameters
|
|
111
111
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
112
112
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
113
113
|
# @return [MyPermissionsResponse]
|
|
114
|
-
describe '
|
|
114
|
+
describe 'my_permissions test' do
|
|
115
115
|
it 'should work' do
|
|
116
116
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
117
117
|
end
|
|
118
118
|
end
|
|
119
119
|
|
|
120
|
-
# unit tests for
|
|
120
|
+
# unit tests for partial_update
|
|
121
121
|
# Update a content redirect content guard
|
|
122
122
|
# Content guard to protect preauthenticated redirects to the content app.
|
|
123
123
|
# @param content_redirect_content_guard_href
|
|
124
124
|
# @param patched_content_redirect_content_guard
|
|
125
125
|
# @param [Hash] opts the optional parameters
|
|
126
126
|
# @return [ContentRedirectContentGuardResponse]
|
|
127
|
-
describe '
|
|
127
|
+
describe 'partial_update test' do
|
|
128
128
|
it 'should work' do
|
|
129
129
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
130
130
|
end
|
|
131
131
|
end
|
|
132
132
|
|
|
133
|
-
# unit tests for
|
|
133
|
+
# unit tests for read
|
|
134
134
|
# Inspect a content redirect content guard
|
|
135
135
|
# Content guard to protect preauthenticated redirects to the content app.
|
|
136
136
|
# @param content_redirect_content_guard_href
|
|
@@ -138,32 +138,32 @@ describe 'ContentguardsContentRedirectApi' do
|
|
|
138
138
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
139
139
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
140
140
|
# @return [ContentRedirectContentGuardResponse]
|
|
141
|
-
describe '
|
|
141
|
+
describe 'read test' do
|
|
142
142
|
it 'should work' do
|
|
143
143
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
144
144
|
end
|
|
145
145
|
end
|
|
146
146
|
|
|
147
|
-
# unit tests for
|
|
147
|
+
# unit tests for remove_role
|
|
148
148
|
# Remove a role for this object from users/groups.
|
|
149
149
|
# @param content_redirect_content_guard_href
|
|
150
150
|
# @param nested_role
|
|
151
151
|
# @param [Hash] opts the optional parameters
|
|
152
152
|
# @return [NestedRoleResponse]
|
|
153
|
-
describe '
|
|
153
|
+
describe 'remove_role test' do
|
|
154
154
|
it 'should work' do
|
|
155
155
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
156
156
|
end
|
|
157
157
|
end
|
|
158
158
|
|
|
159
|
-
# unit tests for
|
|
159
|
+
# unit tests for update
|
|
160
160
|
# Update a content redirect content guard
|
|
161
161
|
# Content guard to protect preauthenticated redirects to the content app.
|
|
162
162
|
# @param content_redirect_content_guard_href
|
|
163
163
|
# @param content_redirect_content_guard
|
|
164
164
|
# @param [Hash] opts the optional parameters
|
|
165
165
|
# @return [ContentRedirectContentGuardResponse]
|
|
166
|
-
describe '
|
|
166
|
+
describe 'update test' do
|
|
167
167
|
it 'should work' do
|
|
168
168
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
169
169
|
end
|
|
@@ -32,43 +32,43 @@ describe 'ContentguardsRbacApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for add_role
|
|
36
36
|
# Add a role for this object to users/groups.
|
|
37
37
|
# @param r_b_a_c_content_guard_href
|
|
38
38
|
# @param nested_role
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
40
|
# @return [NestedRoleResponse]
|
|
41
|
-
describe '
|
|
41
|
+
describe 'add_role test' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
-
# unit tests for
|
|
47
|
+
# unit tests for create
|
|
48
48
|
# Create a rbac content guard
|
|
49
49
|
# Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard.
|
|
50
50
|
# @param rbac_content_guard
|
|
51
51
|
# @param [Hash] opts the optional parameters
|
|
52
52
|
# @return [RBACContentGuardResponse]
|
|
53
|
-
describe '
|
|
53
|
+
describe 'create test' do
|
|
54
54
|
it 'should work' do
|
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
56
|
end
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
# unit tests for
|
|
59
|
+
# unit tests for delete
|
|
60
60
|
# Delete a rbac content guard
|
|
61
61
|
# Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard.
|
|
62
62
|
# @param r_b_a_c_content_guard_href
|
|
63
63
|
# @param [Hash] opts the optional parameters
|
|
64
64
|
# @return [nil]
|
|
65
|
-
describe '
|
|
65
|
+
describe 'delete test' do
|
|
66
66
|
it 'should work' do
|
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
68
68
|
end
|
|
69
69
|
end
|
|
70
70
|
|
|
71
|
-
# unit tests for
|
|
71
|
+
# unit tests for list
|
|
72
72
|
# List rbac content guards
|
|
73
73
|
# Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard.
|
|
74
74
|
# @param [Hash] opts the optional parameters
|
|
@@ -85,52 +85,52 @@ describe 'ContentguardsRbacApi' do
|
|
|
85
85
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
86
86
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
87
87
|
# @return [PaginatedRBACContentGuardResponseList]
|
|
88
|
-
describe '
|
|
88
|
+
describe 'list test' do
|
|
89
89
|
it 'should work' do
|
|
90
90
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
91
91
|
end
|
|
92
92
|
end
|
|
93
93
|
|
|
94
|
-
# unit tests for
|
|
94
|
+
# unit tests for list_roles
|
|
95
95
|
# List roles assigned to this object.
|
|
96
96
|
# @param r_b_a_c_content_guard_href
|
|
97
97
|
# @param [Hash] opts the optional parameters
|
|
98
98
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
99
99
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
100
100
|
# @return [ObjectRolesResponse]
|
|
101
|
-
describe '
|
|
101
|
+
describe 'list_roles test' do
|
|
102
102
|
it 'should work' do
|
|
103
103
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
104
104
|
end
|
|
105
105
|
end
|
|
106
106
|
|
|
107
|
-
# unit tests for
|
|
107
|
+
# unit tests for my_permissions
|
|
108
108
|
# List permissions available to the current user on this object.
|
|
109
109
|
# @param r_b_a_c_content_guard_href
|
|
110
110
|
# @param [Hash] opts the optional parameters
|
|
111
111
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
112
112
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
113
113
|
# @return [MyPermissionsResponse]
|
|
114
|
-
describe '
|
|
114
|
+
describe 'my_permissions test' do
|
|
115
115
|
it 'should work' do
|
|
116
116
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
117
117
|
end
|
|
118
118
|
end
|
|
119
119
|
|
|
120
|
-
# unit tests for
|
|
120
|
+
# unit tests for partial_update
|
|
121
121
|
# Update a rbac content guard
|
|
122
122
|
# Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard.
|
|
123
123
|
# @param r_b_a_c_content_guard_href
|
|
124
124
|
# @param patched_rbac_content_guard
|
|
125
125
|
# @param [Hash] opts the optional parameters
|
|
126
126
|
# @return [RBACContentGuardResponse]
|
|
127
|
-
describe '
|
|
127
|
+
describe 'partial_update test' do
|
|
128
128
|
it 'should work' do
|
|
129
129
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
130
130
|
end
|
|
131
131
|
end
|
|
132
132
|
|
|
133
|
-
# unit tests for
|
|
133
|
+
# unit tests for read
|
|
134
134
|
# Inspect a rbac content guard
|
|
135
135
|
# Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard.
|
|
136
136
|
# @param r_b_a_c_content_guard_href
|
|
@@ -138,32 +138,32 @@ describe 'ContentguardsRbacApi' do
|
|
|
138
138
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
139
139
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
140
140
|
# @return [RBACContentGuardResponse]
|
|
141
|
-
describe '
|
|
141
|
+
describe 'read test' do
|
|
142
142
|
it 'should work' do
|
|
143
143
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
144
144
|
end
|
|
145
145
|
end
|
|
146
146
|
|
|
147
|
-
# unit tests for
|
|
147
|
+
# unit tests for remove_role
|
|
148
148
|
# Remove a role for this object from users/groups.
|
|
149
149
|
# @param r_b_a_c_content_guard_href
|
|
150
150
|
# @param nested_role
|
|
151
151
|
# @param [Hash] opts the optional parameters
|
|
152
152
|
# @return [NestedRoleResponse]
|
|
153
|
-
describe '
|
|
153
|
+
describe 'remove_role test' do
|
|
154
154
|
it 'should work' do
|
|
155
155
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
156
156
|
end
|
|
157
157
|
end
|
|
158
158
|
|
|
159
|
-
# unit tests for
|
|
159
|
+
# unit tests for update
|
|
160
160
|
# Update a rbac content guard
|
|
161
161
|
# Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard.
|
|
162
162
|
# @param r_b_a_c_content_guard_href
|
|
163
163
|
# @param rbac_content_guard
|
|
164
164
|
# @param [Hash] opts the optional parameters
|
|
165
165
|
# @return [RBACContentGuardResponse]
|
|
166
|
-
describe '
|
|
166
|
+
describe 'update test' do
|
|
167
167
|
it 'should work' do
|
|
168
168
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
169
169
|
end
|
|
@@ -32,7 +32,7 @@ describe 'DistributionsApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for list
|
|
36
36
|
# List distributions
|
|
37
37
|
# Provides base viewset for Distributions.
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
@@ -58,7 +58,7 @@ describe 'DistributionsApi' do
|
|
|
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.
|
|
60
60
|
# @return [PaginatedDistributionResponseList]
|
|
61
|
-
describe '
|
|
61
|
+
describe 'list test' do
|
|
62
62
|
it 'should work' do
|
|
63
63
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
64
64
|
end
|
|
@@ -32,7 +32,7 @@ describe 'DistributionsArtifactsApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for list
|
|
36
36
|
# List artifact distributions
|
|
37
37
|
# ViewSet for ArtifactDistribution.
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
@@ -57,13 +57,13 @@ describe 'DistributionsArtifactsApi' do
|
|
|
57
57
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
58
58
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
59
59
|
# @return [PaginatedArtifactDistributionResponseList]
|
|
60
|
-
describe '
|
|
60
|
+
describe 'list test' do
|
|
61
61
|
it 'should work' do
|
|
62
62
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
63
63
|
end
|
|
64
64
|
end
|
|
65
65
|
|
|
66
|
-
# unit tests for
|
|
66
|
+
# unit tests for read
|
|
67
67
|
# Inspect an artifact distribution
|
|
68
68
|
# ViewSet for ArtifactDistribution.
|
|
69
69
|
# @param artifact_distribution_href
|
|
@@ -71,7 +71,7 @@ describe 'DistributionsArtifactsApi' do
|
|
|
71
71
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
72
72
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
73
73
|
# @return [ArtifactDistributionResponse]
|
|
74
|
-
describe '
|
|
74
|
+
describe 'read test' do
|
|
75
75
|
it 'should work' do
|
|
76
76
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
77
77
|
end
|
|
@@ -32,31 +32,31 @@ describe 'DomainsApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for create
|
|
36
36
|
# Create a domain
|
|
37
37
|
# ViewSet for Domain. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
38
38
|
# @param domain
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
40
|
# @return [DomainResponse]
|
|
41
|
-
describe '
|
|
41
|
+
describe 'create test' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
-
# unit tests for
|
|
47
|
+
# unit tests for delete
|
|
48
48
|
# Delete a domain
|
|
49
49
|
# Trigger an asynchronous delete task
|
|
50
50
|
# @param domain_href
|
|
51
51
|
# @param [Hash] opts the optional parameters
|
|
52
52
|
# @return [AsyncOperationResponse]
|
|
53
|
-
describe '
|
|
53
|
+
describe 'delete test' do
|
|
54
54
|
it 'should work' do
|
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
56
|
end
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
# unit tests for
|
|
59
|
+
# unit tests for list
|
|
60
60
|
# List domains
|
|
61
61
|
# ViewSet for Domain. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
62
62
|
# @param [Hash] opts the optional parameters
|
|
@@ -73,26 +73,26 @@ describe 'DomainsApi' do
|
|
|
73
73
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
74
74
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
75
75
|
# @return [PaginatedDomainResponseList]
|
|
76
|
-
describe '
|
|
76
|
+
describe 'list test' do
|
|
77
77
|
it 'should work' do
|
|
78
78
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
79
79
|
end
|
|
80
80
|
end
|
|
81
81
|
|
|
82
|
-
# unit tests for
|
|
82
|
+
# unit tests for partial_update
|
|
83
83
|
# Update a domain
|
|
84
84
|
# Trigger an asynchronous partial update task
|
|
85
85
|
# @param domain_href
|
|
86
86
|
# @param patched_domain
|
|
87
87
|
# @param [Hash] opts the optional parameters
|
|
88
88
|
# @return [AsyncOperationResponse]
|
|
89
|
-
describe '
|
|
89
|
+
describe 'partial_update test' do
|
|
90
90
|
it 'should work' do
|
|
91
91
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
92
92
|
end
|
|
93
93
|
end
|
|
94
94
|
|
|
95
|
-
# unit tests for
|
|
95
|
+
# unit tests for read
|
|
96
96
|
# Inspect a domain
|
|
97
97
|
# ViewSet for Domain. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
98
98
|
# @param domain_href
|
|
@@ -100,20 +100,20 @@ describe 'DomainsApi' do
|
|
|
100
100
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
101
101
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
102
102
|
# @return [DomainResponse]
|
|
103
|
-
describe '
|
|
103
|
+
describe 'read test' do
|
|
104
104
|
it 'should work' do
|
|
105
105
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
106
106
|
end
|
|
107
107
|
end
|
|
108
108
|
|
|
109
|
-
# unit tests for
|
|
109
|
+
# unit tests for update
|
|
110
110
|
# Update a domain
|
|
111
111
|
# Trigger an asynchronous update task
|
|
112
112
|
# @param domain_href
|
|
113
113
|
# @param domain
|
|
114
114
|
# @param [Hash] opts the optional parameters
|
|
115
115
|
# @return [AsyncOperationResponse]
|
|
116
|
-
describe '
|
|
116
|
+
describe 'update test' do
|
|
117
117
|
it 'should work' do
|
|
118
118
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
119
119
|
end
|