pulp_file_client 1.10.5 → 1.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +35 -12
- data/docs/AcsFileApi.md +235 -8
- data/docs/ContentFilesApi.md +5 -3
- data/docs/DistributionsFileApi.md +230 -2
- data/docs/FileFileContent.md +3 -1
- data/docs/FileFileRemote.md +3 -3
- data/docs/FileFileRemoteResponse.md +1 -1
- data/docs/MyPermissionsResponse.md +17 -0
- data/docs/NestedRole.md +21 -0
- data/docs/NestedRoleResponse.md +21 -0
- data/docs/ObjectRolesResponse.md +17 -0
- data/docs/PatchedfileFileRemote.md +3 -3
- data/docs/PublicationsFileApi.md +232 -2
- data/docs/RemotesFileApi.md +230 -2
- data/docs/Repair.md +17 -0
- data/docs/RepositoriesFileApi.md +233 -4
- data/docs/RepositoriesFileVersionsApi.md +6 -6
- data/lib/pulp_file_client/api/acs_file_api.rb +281 -15
- data/lib/pulp_file_client/api/content_files_api.rb +14 -3
- data/lib/pulp_file_client/api/distributions_file_api.rb +275 -3
- data/lib/pulp_file_client/api/publications_file_api.rb +278 -3
- data/lib/pulp_file_client/api/remotes_file_api.rb +275 -3
- data/lib/pulp_file_client/api/repositories_file_api.rb +277 -3
- data/lib/pulp_file_client/api/repositories_file_versions_api.rb +16 -12
- data/lib/pulp_file_client/api_client.rb +1 -1
- data/lib/pulp_file_client/models/file_file_alternate_content_source.rb +19 -0
- data/lib/pulp_file_client/models/file_file_content.rb +33 -4
- data/lib/pulp_file_client/models/file_file_distribution.rb +38 -0
- data/lib/pulp_file_client/models/file_file_publication.rb +15 -0
- data/lib/pulp_file_client/models/file_file_remote.rb +161 -3
- data/lib/pulp_file_client/models/file_file_remote_response.rb +1 -1
- data/lib/pulp_file_client/models/file_file_repository.rb +49 -0
- data/lib/pulp_file_client/models/{repository_version.rb → my_permissions_response.rb} +17 -12
- data/lib/pulp_file_client/models/{content_summary.rb → nested_role.rb} +28 -40
- data/lib/pulp_file_client/models/nested_role_response.rb +234 -0
- data/lib/pulp_file_client/models/object_roles_response.rb +213 -0
- data/lib/pulp_file_client/models/patchedfile_file_alternate_content_source.rb +15 -0
- data/lib/pulp_file_client/models/patchedfile_file_distribution.rb +30 -0
- data/lib/pulp_file_client/models/patchedfile_file_remote.rb +153 -3
- data/lib/pulp_file_client/models/patchedfile_file_repository.rb +45 -0
- data/lib/pulp_file_client/models/repair.rb +209 -0
- data/lib/pulp_file_client/version.rb +1 -1
- data/lib/pulp_file_client.rb +5 -2
- data/pulp_file_client.gemspec +1 -1
- data/spec/api/acs_file_api_spec.rb +52 -2
- data/spec/api/content_files_api_spec.rb +2 -1
- data/spec/api/distributions_file_api_spec.rb +51 -1
- data/spec/api/publications_file_api_spec.rb +52 -1
- data/spec/api/remotes_file_api_spec.rb +51 -1
- data/spec/api/repositories_file_api_spec.rb +52 -1
- data/spec/api/repositories_file_versions_api_spec.rb +2 -2
- data/spec/models/file_file_content_spec.rb +6 -0
- data/spec/models/my_permissions_response_spec.rb +41 -0
- data/spec/models/nested_role_response_spec.rb +53 -0
- data/spec/models/{content_summary_spec.rb → nested_role_spec.rb} +9 -9
- data/spec/models/object_roles_response_spec.rb +41 -0
- data/spec/models/{repository_version_spec.rb → repair_spec.rb} +7 -7
- metadata +48 -36
- data/docs/ContentSummary.md +0 -21
- data/docs/RepositoryVersion.md +0 -17
@@ -32,6 +32,18 @@ describe 'DistributionsFileApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
+
# unit tests for add_role
|
36
|
+
# Add a role for this object to users/groups.
|
37
|
+
# @param file_file_distribution_href
|
38
|
+
# @param nested_role
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [NestedRoleResponse]
|
41
|
+
describe 'add_role test' 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
|
+
|
35
47
|
# unit tests for create
|
36
48
|
# Create a file distribution
|
37
49
|
# Trigger an asynchronous create task
|
@@ -71,7 +83,7 @@ describe 'DistributionsFileApi' do
|
|
71
83
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
72
84
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
73
85
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
74
|
-
# @option opts [String] :ordering
|
86
|
+
# @option opts [Array<String>] :ordering Ordering
|
75
87
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
76
88
|
# @option opts [String] :fields A list of fields to include in the response.
|
77
89
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
@@ -82,6 +94,32 @@ describe 'DistributionsFileApi' do
|
|
82
94
|
end
|
83
95
|
end
|
84
96
|
|
97
|
+
# unit tests for list_roles
|
98
|
+
# List roles assigned to this object.
|
99
|
+
# @param file_file_distribution_href
|
100
|
+
# @param [Hash] opts the optional parameters
|
101
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
102
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
103
|
+
# @return [ObjectRolesResponse]
|
104
|
+
describe 'list_roles test' do
|
105
|
+
it 'should work' do
|
106
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
107
|
+
end
|
108
|
+
end
|
109
|
+
|
110
|
+
# unit tests for my_permissions
|
111
|
+
# List permissions available to the current user on this object.
|
112
|
+
# @param file_file_distribution_href
|
113
|
+
# @param [Hash] opts the optional parameters
|
114
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
115
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
116
|
+
# @return [MyPermissionsResponse]
|
117
|
+
describe 'my_permissions test' do
|
118
|
+
it 'should work' do
|
119
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
120
|
+
end
|
121
|
+
end
|
122
|
+
|
85
123
|
# unit tests for partial_update
|
86
124
|
# Update a file distribution
|
87
125
|
# Trigger an asynchronous partial update task
|
@@ -109,6 +147,18 @@ describe 'DistributionsFileApi' do
|
|
109
147
|
end
|
110
148
|
end
|
111
149
|
|
150
|
+
# unit tests for remove_role
|
151
|
+
# Remove a role for this object from users/groups.
|
152
|
+
# @param file_file_distribution_href
|
153
|
+
# @param nested_role
|
154
|
+
# @param [Hash] opts the optional parameters
|
155
|
+
# @return [NestedRoleResponse]
|
156
|
+
describe 'remove_role test' do
|
157
|
+
it 'should work' do
|
158
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
159
|
+
end
|
160
|
+
end
|
161
|
+
|
112
162
|
# unit tests for update
|
113
163
|
# Update a file distribution
|
114
164
|
# Trigger an asynchronous update task
|
@@ -32,6 +32,18 @@ describe 'PublicationsFileApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
+
# unit tests for add_role
|
36
|
+
# Add a role for this object to users/groups.
|
37
|
+
# @param file_file_publication_href
|
38
|
+
# @param nested_role
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [NestedRoleResponse]
|
41
|
+
describe 'add_role test' 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
|
+
|
35
47
|
# unit tests for create
|
36
48
|
# Create a file publication
|
37
49
|
# Trigger an asynchronous task to publish file content.
|
@@ -64,13 +76,14 @@ describe 'PublicationsFileApi' do
|
|
64
76
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
65
77
|
# @option opts [Integer] :limit Number of results to return per page.
|
66
78
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
67
|
-
# @option opts [String] :ordering
|
79
|
+
# @option opts [Array<String>] :ordering Ordering
|
68
80
|
# @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
|
69
81
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
70
82
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
71
83
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
72
84
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
73
85
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
86
|
+
# @option opts [String] :repository Repository referenced by HREF
|
74
87
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
75
88
|
# @option opts [String] :fields A list of fields to include in the response.
|
76
89
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
@@ -81,6 +94,32 @@ describe 'PublicationsFileApi' do
|
|
81
94
|
end
|
82
95
|
end
|
83
96
|
|
97
|
+
# unit tests for list_roles
|
98
|
+
# List roles assigned to this object.
|
99
|
+
# @param file_file_publication_href
|
100
|
+
# @param [Hash] opts the optional parameters
|
101
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
102
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
103
|
+
# @return [ObjectRolesResponse]
|
104
|
+
describe 'list_roles test' do
|
105
|
+
it 'should work' do
|
106
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
107
|
+
end
|
108
|
+
end
|
109
|
+
|
110
|
+
# unit tests for my_permissions
|
111
|
+
# List permissions available to the current user on this object.
|
112
|
+
# @param file_file_publication_href
|
113
|
+
# @param [Hash] opts the optional parameters
|
114
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
115
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
116
|
+
# @return [MyPermissionsResponse]
|
117
|
+
describe 'my_permissions test' do
|
118
|
+
it 'should work' do
|
119
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
120
|
+
end
|
121
|
+
end
|
122
|
+
|
84
123
|
# unit tests for read
|
85
124
|
# Inspect a file publication
|
86
125
|
# A FilePublication contains metadata about all the File Content in a particular File Repository Version. Once a FilePublication has been created, it can be hosted using the File Distribution API.
|
@@ -95,4 +134,16 @@ describe 'PublicationsFileApi' do
|
|
95
134
|
end
|
96
135
|
end
|
97
136
|
|
137
|
+
# unit tests for remove_role
|
138
|
+
# Remove a role for this object from users/groups.
|
139
|
+
# @param file_file_publication_href
|
140
|
+
# @param nested_role
|
141
|
+
# @param [Hash] opts the optional parameters
|
142
|
+
# @return [NestedRoleResponse]
|
143
|
+
describe 'remove_role test' do
|
144
|
+
it 'should work' do
|
145
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
146
|
+
end
|
147
|
+
end
|
148
|
+
|
98
149
|
end
|
@@ -32,6 +32,18 @@ describe 'RemotesFileApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
+
# unit tests for add_role
|
36
|
+
# Add a role for this object to users/groups.
|
37
|
+
# @param file_file_remote_href
|
38
|
+
# @param nested_role
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [NestedRoleResponse]
|
41
|
+
describe 'add_role test' 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
|
+
|
35
47
|
# unit tests for create
|
36
48
|
# Create a file remote
|
37
49
|
# FileRemote represents an external source of File Content. The target url of a FileRemote must contain a file manifest, which contains the metadata for all files at the source.
|
@@ -67,7 +79,7 @@ describe 'RemotesFileApi' do
|
|
67
79
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
68
80
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
69
81
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
70
|
-
# @option opts [String] :ordering
|
82
|
+
# @option opts [Array<String>] :ordering Ordering
|
71
83
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
72
84
|
# @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
|
73
85
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
@@ -84,6 +96,32 @@ describe 'RemotesFileApi' do
|
|
84
96
|
end
|
85
97
|
end
|
86
98
|
|
99
|
+
# unit tests for list_roles
|
100
|
+
# List roles assigned to this object.
|
101
|
+
# @param file_file_remote_href
|
102
|
+
# @param [Hash] opts the optional parameters
|
103
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
104
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
105
|
+
# @return [ObjectRolesResponse]
|
106
|
+
describe 'list_roles test' do
|
107
|
+
it 'should work' do
|
108
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
# unit tests for my_permissions
|
113
|
+
# List permissions available to the current user on this object.
|
114
|
+
# @param file_file_remote_href
|
115
|
+
# @param [Hash] opts the optional parameters
|
116
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
117
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
118
|
+
# @return [MyPermissionsResponse]
|
119
|
+
describe 'my_permissions test' do
|
120
|
+
it 'should work' do
|
121
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
87
125
|
# unit tests for partial_update
|
88
126
|
# Update a file remote
|
89
127
|
# Trigger an asynchronous partial update task
|
@@ -111,6 +149,18 @@ describe 'RemotesFileApi' do
|
|
111
149
|
end
|
112
150
|
end
|
113
151
|
|
152
|
+
# unit tests for remove_role
|
153
|
+
# Remove a role for this object from users/groups.
|
154
|
+
# @param file_file_remote_href
|
155
|
+
# @param nested_role
|
156
|
+
# @param [Hash] opts the optional parameters
|
157
|
+
# @return [NestedRoleResponse]
|
158
|
+
describe 'remove_role test' do
|
159
|
+
it 'should work' do
|
160
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
161
|
+
end
|
162
|
+
end
|
163
|
+
|
114
164
|
# unit tests for update
|
115
165
|
# Update a file remote
|
116
166
|
# Trigger an asynchronous update task
|
@@ -32,6 +32,18 @@ describe 'RepositoriesFileApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
+
# unit tests for add_role
|
36
|
+
# Add a role for this object to users/groups.
|
37
|
+
# @param file_file_repository_href
|
38
|
+
# @param nested_role
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [NestedRoleResponse]
|
41
|
+
describe 'add_role test' 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
|
+
|
35
47
|
# unit tests for create
|
36
48
|
# Create a file repository
|
37
49
|
# FileRepository represents a single file repository, to which content can be synced, added, or removed.
|
@@ -67,7 +79,7 @@ describe 'RepositoriesFileApi' do
|
|
67
79
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
68
80
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
69
81
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
70
|
-
# @option opts [String] :ordering
|
82
|
+
# @option opts [Array<String>] :ordering Ordering
|
71
83
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
72
84
|
# @option opts [String] :fields A list of fields to include in the response.
|
73
85
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
@@ -78,6 +90,19 @@ describe 'RepositoriesFileApi' do
|
|
78
90
|
end
|
79
91
|
end
|
80
92
|
|
93
|
+
# unit tests for list_roles
|
94
|
+
# List roles assigned to this object.
|
95
|
+
# @param file_file_repository_href
|
96
|
+
# @param [Hash] opts the optional parameters
|
97
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
98
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
99
|
+
# @return [ObjectRolesResponse]
|
100
|
+
describe 'list_roles test' do
|
101
|
+
it 'should work' do
|
102
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
81
106
|
# unit tests for modify
|
82
107
|
# Modify Repository Content
|
83
108
|
# Trigger an asynchronous task to create a new repository version.
|
@@ -91,6 +116,19 @@ describe 'RepositoriesFileApi' do
|
|
91
116
|
end
|
92
117
|
end
|
93
118
|
|
119
|
+
# unit tests for my_permissions
|
120
|
+
# List permissions available to the current user on this object.
|
121
|
+
# @param file_file_repository_href
|
122
|
+
# @param [Hash] opts the optional parameters
|
123
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
124
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
125
|
+
# @return [MyPermissionsResponse]
|
126
|
+
describe 'my_permissions test' do
|
127
|
+
it 'should work' do
|
128
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
129
|
+
end
|
130
|
+
end
|
131
|
+
|
94
132
|
# unit tests for partial_update
|
95
133
|
# Update a file repository
|
96
134
|
# Trigger an asynchronous partial update task
|
@@ -118,7 +156,20 @@ describe 'RepositoriesFileApi' do
|
|
118
156
|
end
|
119
157
|
end
|
120
158
|
|
159
|
+
# unit tests for remove_role
|
160
|
+
# Remove a role for this object from users/groups.
|
161
|
+
# @param file_file_repository_href
|
162
|
+
# @param nested_role
|
163
|
+
# @param [Hash] opts the optional parameters
|
164
|
+
# @return [NestedRoleResponse]
|
165
|
+
describe 'remove_role test' do
|
166
|
+
it 'should work' do
|
167
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
168
|
+
end
|
169
|
+
end
|
170
|
+
|
121
171
|
# unit tests for sync
|
172
|
+
# Sync from a remote
|
122
173
|
# Trigger an asynchronous task to sync file content.
|
123
174
|
# @param file_file_repository_href
|
124
175
|
# @param repository_sync_url
|
@@ -59,7 +59,7 @@ describe 'RepositoriesFileVersionsApi' do
|
|
59
59
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
60
60
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
61
61
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
62
|
-
# @option opts [String] :ordering
|
62
|
+
# @option opts [Array<String>] :ordering Ordering
|
63
63
|
# @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
|
64
64
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
65
65
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
@@ -92,7 +92,7 @@ describe 'RepositoriesFileVersionsApi' do
|
|
92
92
|
# unit tests for repair
|
93
93
|
# Trigger an asynchronous task to repair a repository version.
|
94
94
|
# @param file_file_repository_version_href
|
95
|
-
# @param
|
95
|
+
# @param repair
|
96
96
|
# @param [Hash] opts the optional parameters
|
97
97
|
# @return [AsyncOperationResponse]
|
98
98
|
describe 'repair test' do
|
@@ -0,0 +1,41 @@
|
|
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 PulpFileClient::MyPermissionsResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'MyPermissionsResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpFileClient::MyPermissionsResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of MyPermissionsResponse' do
|
31
|
+
it 'should create an instance of MyPermissionsResponse' do
|
32
|
+
expect(@instance).to be_instance_of(PulpFileClient::MyPermissionsResponse)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "permissions"' 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
|
+
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 PulpFileClient::NestedRoleResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'NestedRoleResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpFileClient::NestedRoleResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of NestedRoleResponse' do
|
31
|
+
it 'should create an instance of NestedRoleResponse' do
|
32
|
+
expect(@instance).to be_instance_of(PulpFileClient::NestedRoleResponse)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "users"' 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 "groups"' 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 "role"' 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
|
@@ -14,37 +14,37 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for PulpFileClient::
|
17
|
+
# Unit tests for PulpFileClient::NestedRole
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe '
|
20
|
+
describe 'NestedRole' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance = PulpFileClient::
|
23
|
+
@instance = PulpFileClient::NestedRole.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
27
27
|
# run after each test
|
28
28
|
end
|
29
29
|
|
30
|
-
describe 'test an instance of
|
31
|
-
it 'should create an instance of
|
32
|
-
expect(@instance).to be_instance_of(PulpFileClient::
|
30
|
+
describe 'test an instance of NestedRole' do
|
31
|
+
it 'should create an instance of NestedRole' do
|
32
|
+
expect(@instance).to be_instance_of(PulpFileClient::NestedRole)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "users"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "groups"' 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 "
|
47
|
+
describe 'test attribute "role"' 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
|
@@ -0,0 +1,41 @@
|
|
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 PulpFileClient::ObjectRolesResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ObjectRolesResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpFileClient::ObjectRolesResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ObjectRolesResponse' do
|
31
|
+
it 'should create an instance of ObjectRolesResponse' do
|
32
|
+
expect(@instance).to be_instance_of(PulpFileClient::ObjectRolesResponse)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "roles"' 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
|
+
end
|
@@ -14,25 +14,25 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for PulpFileClient::
|
17
|
+
# Unit tests for PulpFileClient::Repair
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe '
|
20
|
+
describe 'Repair' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance = PulpFileClient::
|
23
|
+
@instance = PulpFileClient::Repair.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
27
27
|
# run after each test
|
28
28
|
end
|
29
29
|
|
30
|
-
describe 'test an instance of
|
31
|
-
it 'should create an instance of
|
32
|
-
expect(@instance).to be_instance_of(PulpFileClient::
|
30
|
+
describe 'test an instance of Repair' do
|
31
|
+
it 'should create an instance of Repair' do
|
32
|
+
expect(@instance).to be_instance_of(PulpFileClient::Repair)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "verify_checksums"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|