pulpcore_client 3.41.0 → 3.43.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,181 @@
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
+
16
+ # Unit tests for PulpcoreClient::ContentguardsCompositeApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'ContentguardsCompositeApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpcoreClient::ContentguardsCompositeApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ContentguardsCompositeApi' do
30
+ it 'should create an instance of ContentguardsCompositeApi' do
31
+ expect(@api_instance).to be_instance_of(PulpcoreClient::ContentguardsCompositeApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for add_role
36
+ # Add a role
37
+ # Add a role for this object to users/groups.
38
+ # @param composite_content_guard_href
39
+ # @param nested_role
40
+ # @param [Hash] opts the optional parameters
41
+ # @return [NestedRoleResponse]
42
+ describe 'add_role test' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
45
+ end
46
+ end
47
+
48
+ # unit tests for create
49
+ # Create a composite content guard
50
+ # Content guard that queries a list-of content-guards for access permissions.
51
+ # @param composite_content_guard
52
+ # @param [Hash] opts the optional parameters
53
+ # @return [CompositeContentGuardResponse]
54
+ describe 'create test' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
57
+ end
58
+ end
59
+
60
+ # unit tests for delete
61
+ # Delete a composite content guard
62
+ # Content guard that queries a list-of content-guards for access permissions.
63
+ # @param composite_content_guard_href
64
+ # @param [Hash] opts the optional parameters
65
+ # @return [nil]
66
+ describe 'delete test' do
67
+ it 'should work' do
68
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
69
+ end
70
+ end
71
+
72
+ # unit tests for list
73
+ # List composite content guards
74
+ # Content guard that queries a list-of content-guards for access permissions.
75
+ # @param [Hash] opts the optional parameters
76
+ # @option opts [Integer] :limit Number of results to return per page.
77
+ # @option opts [String] :name Filter results where name matches value
78
+ # @option opts [String] :name__contains Filter results where name contains value
79
+ # @option opts [String] :name__icontains Filter results where name contains value
80
+ # @option opts [String] :name__iexact Filter results where name matches value
81
+ # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
82
+ # @option opts [String] :name__iregex Filter results where name matches regex value
83
+ # @option opts [String] :name__istartswith Filter results where name starts with value
84
+ # @option opts [String] :name__regex Filter results where name matches regex value
85
+ # @option opts [String] :name__startswith Filter results where name starts with value
86
+ # @option opts [Integer] :offset The initial index from which to return the results.
87
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
88
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
89
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
90
+ # @option opts [String] :q
91
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
92
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
93
+ # @return [PaginatedCompositeContentGuardResponseList]
94
+ describe 'list test' do
95
+ it 'should work' do
96
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
97
+ end
98
+ end
99
+
100
+ # unit tests for list_roles
101
+ # List roles
102
+ # List roles assigned to this object.
103
+ # @param composite_content_guard_href
104
+ # @param [Hash] opts the optional parameters
105
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
106
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
107
+ # @return [ObjectRolesResponse]
108
+ describe 'list_roles test' do
109
+ it 'should work' do
110
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
111
+ end
112
+ end
113
+
114
+ # unit tests for my_permissions
115
+ # List user permissions
116
+ # List permissions available to the current user on this object.
117
+ # @param composite_content_guard_href
118
+ # @param [Hash] opts the optional parameters
119
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
120
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
121
+ # @return [MyPermissionsResponse]
122
+ describe 'my_permissions test' do
123
+ it 'should work' do
124
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
125
+ end
126
+ end
127
+
128
+ # unit tests for partial_update
129
+ # Update a composite content guard
130
+ # Content guard that queries a list-of content-guards for access permissions.
131
+ # @param composite_content_guard_href
132
+ # @param patched_composite_content_guard
133
+ # @param [Hash] opts the optional parameters
134
+ # @return [CompositeContentGuardResponse]
135
+ describe 'partial_update test' do
136
+ it 'should work' do
137
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
138
+ end
139
+ end
140
+
141
+ # unit tests for read
142
+ # Inspect a composite content guard
143
+ # Content guard that queries a list-of content-guards for access permissions.
144
+ # @param composite_content_guard_href
145
+ # @param [Hash] opts the optional parameters
146
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
147
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
148
+ # @return [CompositeContentGuardResponse]
149
+ describe 'read test' do
150
+ it 'should work' do
151
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
152
+ end
153
+ end
154
+
155
+ # unit tests for remove_role
156
+ # Remove a role
157
+ # Remove a role for this object from users/groups.
158
+ # @param composite_content_guard_href
159
+ # @param nested_role
160
+ # @param [Hash] opts the optional parameters
161
+ # @return [NestedRoleResponse]
162
+ describe 'remove_role test' do
163
+ it 'should work' do
164
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
165
+ end
166
+ end
167
+
168
+ # unit tests for update
169
+ # Update a composite content guard
170
+ # Content guard that queries a list-of content-guards for access permissions.
171
+ # @param composite_content_guard_href
172
+ # @param composite_content_guard
173
+ # @param [Hash] opts the optional parameters
174
+ # @return [CompositeContentGuardResponse]
175
+ describe 'update test' do
176
+ it 'should work' do
177
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
178
+ end
179
+ end
180
+
181
+ end
@@ -38,43 +38,43 @@ describe 'ArtifactDistributionResponse' do
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "pulp_created"' do
41
+ describe 'test attribute "pulp_labels"' 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
- describe 'test attribute "pulp_href"' do
47
+ describe 'test attribute "base_url"' do
48
48
  it 'should work' do
49
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "content_guard"' do
53
+ describe 'test attribute "base_path"' 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
- describe 'test attribute "pulp_labels"' do
59
+ describe 'test attribute "name"' do
60
60
  it 'should work' do
61
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
62
  end
63
63
  end
64
64
 
65
- describe 'test attribute "base_url"' do
65
+ describe 'test attribute "pulp_created"' 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
- describe 'test attribute "base_path"' do
71
+ describe 'test attribute "content_guard"' do
72
72
  it 'should work' do
73
73
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
74
  end
75
75
  end
76
76
 
77
- describe 'test attribute "name"' do
77
+ describe 'test attribute "pulp_href"' do
78
78
  it 'should work' do
79
79
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
80
  end
@@ -0,0 +1,65 @@
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::CompositeContentGuardResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'CompositeContentGuardResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpcoreClient::CompositeContentGuardResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of CompositeContentGuardResponse' do
31
+ it 'should create an instance of CompositeContentGuardResponse' do
32
+ expect(@instance).to be_instance_of(PulpcoreClient::CompositeContentGuardResponse)
33
+ end
34
+ end
35
+ describe 'test attribute "pulp_href"' 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_created"' 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 "name"' 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 "description"' 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 "guards"' 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
+ end
@@ -0,0 +1,53 @@
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::CompositeContentGuard
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'CompositeContentGuard' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpcoreClient::CompositeContentGuard.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of CompositeContentGuard' do
31
+ it 'should create an instance of CompositeContentGuard' do
32
+ expect(@instance).to be_instance_of(PulpcoreClient::CompositeContentGuard)
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 "description"' 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 "guards"' 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
+ 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::PaginatedCompositeContentGuardResponseList
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'PaginatedCompositeContentGuardResponseList' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpcoreClient::PaginatedCompositeContentGuardResponseList.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PaginatedCompositeContentGuardResponseList' do
31
+ it 'should create an instance of PaginatedCompositeContentGuardResponseList' do
32
+ expect(@instance).to be_instance_of(PulpcoreClient::PaginatedCompositeContentGuardResponseList)
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,53 @@
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::PatchedCompositeContentGuard
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'PatchedCompositeContentGuard' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpcoreClient::PatchedCompositeContentGuard.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PatchedCompositeContentGuard' do
31
+ it 'should create an instance of PatchedCompositeContentGuard' do
32
+ expect(@instance).to be_instance_of(PulpcoreClient::PatchedCompositeContentGuard)
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 "description"' 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 "guards"' 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
+ end