pulp_file_client 3.69.2 → 3.70.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 +10 -7
- data/docs/AcsFileApi.md +343 -157
- data/docs/AsyncOperationResponse.md +8 -7
- data/docs/ContentFilesApi.md +114 -64
- data/docs/ContentSummaryResponse.md +12 -11
- data/docs/DistributionsFileApi.md +385 -182
- data/docs/FileFileAlternateContentSource.md +14 -13
- data/docs/FileFileAlternateContentSourceResponse.md +22 -21
- data/docs/FileFileContentResponse.md +30 -29
- data/docs/FileFileDistribution.md +20 -19
- data/docs/FileFileDistributionResponse.md +32 -31
- data/docs/FileFilePublication.md +12 -11
- data/docs/FileFilePublicationResponse.md +22 -21
- data/docs/FileFileRemote.md +48 -47
- data/docs/FileFileRemoteResponse.md +48 -47
- data/docs/FileFileRemoteResponseHiddenFieldsInner.md +20 -0
- data/docs/FileFileRepository.md +20 -19
- data/docs/FileFileRepositoryResponse.md +32 -31
- data/docs/MyPermissionsResponse.md +8 -7
- data/docs/NestedRole.md +12 -11
- data/docs/NestedRoleResponse.md +12 -11
- data/docs/ObjectRolesResponse.md +8 -7
- data/docs/PaginatedRepositoryVersionResponseList.md +14 -13
- data/docs/PaginatedfileFileAlternateContentSourceResponseList.md +14 -13
- data/docs/PaginatedfileFileContentResponseList.md +14 -13
- data/docs/PaginatedfileFileDistributionResponseList.md +14 -13
- data/docs/PaginatedfileFilePublicationResponseList.md +14 -13
- data/docs/PaginatedfileFileRemoteResponseList.md +14 -13
- data/docs/PaginatedfileFileRepositoryResponseList.md +14 -13
- data/docs/PatchedfileFileAlternateContentSource.md +14 -13
- data/docs/PatchedfileFileDistribution.md +20 -19
- data/docs/PatchedfileFileRemote.md +48 -47
- data/docs/PatchedfileFileRepository.md +20 -19
- data/docs/PolicyEnum.md +4 -5
- data/docs/PublicationsFileApi.md +267 -130
- data/docs/RemotesFileApi.md +389 -184
- data/docs/Repair.md +8 -7
- data/docs/RepositoriesFileApi.md +444 -207
- data/docs/RepositoriesFileVersionsApi.md +152 -82
- data/docs/RepositoryAddRemoveContent.md +12 -11
- data/docs/RepositorySyncURL.md +10 -9
- data/docs/RepositoryVersionResponse.md +22 -21
- data/docs/SetLabel.md +10 -9
- data/docs/SetLabelResponse.md +10 -9
- data/docs/TaskGroupOperationResponse.md +8 -7
- data/docs/UnsetLabel.md +8 -7
- data/docs/UnsetLabelResponse.md +10 -9
- data/lib/pulp_file_client/api/acs_file_api.rb +76 -50
- data/lib/pulp_file_client/api/content_files_api.rb +20 -14
- data/lib/pulp_file_client/api/distributions_file_api.rb +89 -56
- data/lib/pulp_file_client/api/publications_file_api.rb +67 -47
- data/lib/pulp_file_client/api/remotes_file_api.rb +104 -68
- data/lib/pulp_file_client/api/repositories_file_api.rb +107 -66
- data/lib/pulp_file_client/api/repositories_file_versions_api.rb +40 -30
- data/lib/pulp_file_client/api_client.rb +137 -102
- data/lib/pulp_file_client/api_error.rb +2 -1
- data/lib/pulp_file_client/configuration.rb +162 -21
- data/lib/pulp_file_client/models/async_operation_response.rb +32 -22
- data/lib/pulp_file_client/models/content_summary_response.rb +36 -22
- data/lib/pulp_file_client/models/file_file_alternate_content_source.rb +35 -23
- data/lib/pulp_file_client/models/file_file_alternate_content_source_response.rb +37 -25
- data/lib/pulp_file_client/models/file_file_content_response.rb +34 -24
- data/lib/pulp_file_client/models/file_file_distribution.rb +34 -22
- data/lib/pulp_file_client/models/file_file_distribution_response.rb +36 -24
- data/lib/pulp_file_client/models/file_file_publication.rb +30 -22
- data/lib/pulp_file_client/models/file_file_publication_response.rb +32 -24
- data/lib/pulp_file_client/models/file_file_remote.rb +56 -22
- data/lib/pulp_file_client/models/file_file_remote_response.rb +59 -25
- data/lib/pulp_file_client/models/{file_file_remote_response_hidden_fields.rb → file_file_remote_response_hidden_fields_inner.rb} +37 -25
- data/lib/pulp_file_client/models/file_file_repository.rb +32 -22
- data/lib/pulp_file_client/models/file_file_repository_response.rb +34 -24
- data/lib/pulp_file_client/models/my_permissions_response.rb +32 -22
- data/lib/pulp_file_client/models/nested_role.rb +32 -22
- data/lib/pulp_file_client/models/nested_role_response.rb +32 -22
- data/lib/pulp_file_client/models/object_roles_response.rb +32 -22
- data/lib/pulp_file_client/models/paginated_repository_version_response_list.rb +34 -22
- data/lib/pulp_file_client/models/paginatedfile_file_alternate_content_source_response_list.rb +34 -22
- data/lib/pulp_file_client/models/paginatedfile_file_content_response_list.rb +34 -22
- data/lib/pulp_file_client/models/paginatedfile_file_distribution_response_list.rb +34 -22
- data/lib/pulp_file_client/models/paginatedfile_file_publication_response_list.rb +34 -22
- data/lib/pulp_file_client/models/paginatedfile_file_remote_response_list.rb +34 -22
- data/lib/pulp_file_client/models/paginatedfile_file_repository_response_list.rb +34 -22
- data/lib/pulp_file_client/models/patchedfile_file_alternate_content_source.rb +36 -24
- data/lib/pulp_file_client/models/patchedfile_file_distribution.rb +40 -24
- data/lib/pulp_file_client/models/patchedfile_file_remote.rb +62 -24
- data/lib/pulp_file_client/models/patchedfile_file_repository.rb +35 -23
- data/lib/pulp_file_client/models/policy_enum.rb +8 -4
- data/lib/pulp_file_client/models/repair.rb +30 -22
- data/lib/pulp_file_client/models/repository_add_remove_content.rb +30 -22
- data/lib/pulp_file_client/models/repository_sync_url.rb +30 -22
- data/lib/pulp_file_client/models/repository_version_response.rb +32 -24
- data/lib/pulp_file_client/models/set_label.rb +34 -22
- data/lib/pulp_file_client/models/set_label_response.rb +34 -22
- data/lib/pulp_file_client/models/task_group_operation_response.rb +32 -22
- data/lib/pulp_file_client/models/unset_label.rb +32 -22
- data/lib/pulp_file_client/models/unset_label_response.rb +32 -22
- data/lib/pulp_file_client/version.rb +2 -2
- data/lib/pulp_file_client.rb +2 -3
- data/pulp_file_client.gemspec +9 -6
- data/spec/api/acs_file_api_spec.rb +12 -12
- data/spec/api/content_files_api_spec.rb +4 -4
- data/spec/api/distributions_file_api_spec.rb +13 -13
- data/spec/api/publications_file_api_spec.rb +16 -15
- data/spec/api/remotes_file_api_spec.rb +20 -19
- data/spec/api/repositories_file_api_spec.rb +15 -15
- data/spec/api/repositories_file_versions_api_spec.rb +12 -11
- data/spec/models/async_operation_response_spec.rb +7 -12
- data/spec/models/content_summary_response_spec.rb +9 -14
- data/spec/models/file_file_alternate_content_source_response_spec.rb +14 -19
- data/spec/models/file_file_alternate_content_source_spec.rb +10 -15
- data/spec/models/file_file_content_response_spec.rb +18 -23
- data/spec/models/file_file_distribution_response_spec.rb +19 -24
- data/spec/models/file_file_distribution_spec.rb +13 -18
- data/spec/models/file_file_publication_response_spec.rb +14 -19
- data/spec/models/file_file_publication_spec.rb +9 -14
- data/spec/models/{file_file_remote_response_hidden_fields_spec.rb → file_file_remote_response_hidden_fields_inner_spec.rb} +11 -16
- data/spec/models/file_file_remote_response_spec.rb +27 -32
- data/spec/models/file_file_remote_spec.rb +27 -32
- data/spec/models/file_file_repository_response_spec.rb +19 -24
- data/spec/models/file_file_repository_spec.rb +13 -18
- data/spec/models/my_permissions_response_spec.rb +7 -12
- data/spec/models/nested_role_response_spec.rb +9 -14
- data/spec/models/nested_role_spec.rb +9 -14
- data/spec/models/object_roles_response_spec.rb +7 -12
- data/spec/models/paginated_repository_version_response_list_spec.rb +10 -15
- data/spec/models/paginatedfile_file_alternate_content_source_response_list_spec.rb +10 -15
- data/spec/models/paginatedfile_file_content_response_list_spec.rb +10 -15
- data/spec/models/paginatedfile_file_distribution_response_list_spec.rb +10 -15
- data/spec/models/paginatedfile_file_publication_response_list_spec.rb +10 -15
- data/spec/models/paginatedfile_file_remote_response_list_spec.rb +10 -15
- data/spec/models/paginatedfile_file_repository_response_list_spec.rb +10 -15
- data/spec/models/patchedfile_file_alternate_content_source_spec.rb +10 -15
- data/spec/models/patchedfile_file_distribution_spec.rb +13 -18
- data/spec/models/patchedfile_file_remote_spec.rb +27 -32
- data/spec/models/patchedfile_file_repository_spec.rb +13 -18
- data/spec/models/policy_enum_spec.rb +6 -11
- data/spec/models/repair_spec.rb +7 -12
- data/spec/models/repository_add_remove_content_spec.rb +9 -14
- data/spec/models/repository_sync_url_spec.rb +8 -13
- data/spec/models/repository_version_response_spec.rb +14 -19
- data/spec/models/set_label_response_spec.rb +8 -13
- data/spec/models/set_label_spec.rb +8 -13
- data/spec/models/task_group_operation_response_spec.rb +7 -12
- data/spec/models/unset_label_response_spec.rb +8 -13
- data/spec/models/unset_label_spec.rb +7 -12
- data/spec/spec_helper.rb +1 -1
- metadata +45 -25
- data/docs/FileFileContent.md +0 -27
- data/docs/FileFileRemoteResponseHiddenFields.md +0 -19
- data/lib/pulp_file_client/models/file_file_content.rb +0 -297
- data/spec/api_client_spec.rb +0 -188
- data/spec/configuration_spec.rb +0 -42
- data/spec/models/file_file_content_spec.rb +0 -71
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc0c202f32a1e577a30c81b9e5d9bacf603fa8829bbbf1823a7257c848015835
|
4
|
+
data.tar.gz: 736f604f07af0fd887afdae7b4a9bf455aea7328f5c0225cfd0197c935b3ff5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3efcc611a03a5841b0a7f6aece01903f259cd4c78f33a7b2a9a0c84438246e948acec67ac037d64ec41f6fe281203c9182280b455e5b8e712016e1a09e6e1de1
|
7
|
+
data.tar.gz: 929f2ab4273c8e637eb24c189f2255a4d48783b42f772486572b1ecccab662eaa244c41e9ac5b59e523e97a1ffbd149fbfef1e3355a75b3b3bf475ff8d886a42
|
data/README.md
CHANGED
@@ -7,7 +7,8 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: v3
|
10
|
-
- Package version: 3.
|
10
|
+
- Package version: 3.70.0
|
11
|
+
- Generator version: 7.10.0
|
11
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
13
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
14
|
|
@@ -24,16 +25,16 @@ gem build pulp_file_client.gemspec
|
|
24
25
|
Then either install the gem locally:
|
25
26
|
|
26
27
|
```shell
|
27
|
-
gem install ./pulp_file_client-3.
|
28
|
+
gem install ./pulp_file_client-3.70.0.gem
|
28
29
|
```
|
29
30
|
|
30
|
-
(for development, run `gem install --dev ./pulp_file_client-3.
|
31
|
+
(for development, run `gem install --dev ./pulp_file_client-3.70.0.gem` to install the development dependencies)
|
31
32
|
|
32
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
34
|
|
34
35
|
Finally add this to the Gemfile:
|
35
36
|
|
36
|
-
gem 'pulp_file_client', '~> 3.
|
37
|
+
gem 'pulp_file_client', '~> 3.70.0'
|
37
38
|
|
38
39
|
### Install from Git
|
39
40
|
|
@@ -62,11 +63,13 @@ PulpFileClient.configure do |config|
|
|
62
63
|
# Configure HTTP basic authorization: basicAuth
|
63
64
|
config.username = 'YOUR_USERNAME'
|
64
65
|
config.password = 'YOUR_PASSWORD'
|
66
|
+
# Configure faraday connection
|
67
|
+
config.configure_faraday_connection { |connection| 'YOUR CONNECTION CONFIG PROC' }
|
65
68
|
end
|
66
69
|
|
67
70
|
api_instance = PulpFileClient::AcsFileApi.new
|
68
71
|
file_file_alternate_content_source_href = 'file_file_alternate_content_source_href_example' # String |
|
69
|
-
nested_role = PulpFileClient::NestedRole.new # NestedRole |
|
72
|
+
nested_role = PulpFileClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
70
73
|
|
71
74
|
begin
|
72
75
|
#Add a role
|
@@ -156,7 +159,6 @@ Class | Method | HTTP request | Description
|
|
156
159
|
- [PulpFileClient::ContentSummaryResponse](docs/ContentSummaryResponse.md)
|
157
160
|
- [PulpFileClient::FileFileAlternateContentSource](docs/FileFileAlternateContentSource.md)
|
158
161
|
- [PulpFileClient::FileFileAlternateContentSourceResponse](docs/FileFileAlternateContentSourceResponse.md)
|
159
|
-
- [PulpFileClient::FileFileContent](docs/FileFileContent.md)
|
160
162
|
- [PulpFileClient::FileFileContentResponse](docs/FileFileContentResponse.md)
|
161
163
|
- [PulpFileClient::FileFileDistribution](docs/FileFileDistribution.md)
|
162
164
|
- [PulpFileClient::FileFileDistributionResponse](docs/FileFileDistributionResponse.md)
|
@@ -164,7 +166,7 @@ Class | Method | HTTP request | Description
|
|
164
166
|
- [PulpFileClient::FileFilePublicationResponse](docs/FileFilePublicationResponse.md)
|
165
167
|
- [PulpFileClient::FileFileRemote](docs/FileFileRemote.md)
|
166
168
|
- [PulpFileClient::FileFileRemoteResponse](docs/FileFileRemoteResponse.md)
|
167
|
-
- [PulpFileClient::
|
169
|
+
- [PulpFileClient::FileFileRemoteResponseHiddenFieldsInner](docs/FileFileRemoteResponseHiddenFieldsInner.md)
|
168
170
|
- [PulpFileClient::FileFileRepository](docs/FileFileRepository.md)
|
169
171
|
- [PulpFileClient::FileFileRepositoryResponse](docs/FileFileRepositoryResponse.md)
|
170
172
|
- [PulpFileClient::MyPermissionsResponse](docs/MyPermissionsResponse.md)
|
@@ -197,6 +199,7 @@ Class | Method | HTTP request | Description
|
|
197
199
|
## Documentation for Authorization
|
198
200
|
|
199
201
|
|
202
|
+
Authentication schemes defined for the API:
|
200
203
|
### basicAuth
|
201
204
|
|
202
205
|
- **Type**: HTTP basic authentication
|