pulp_file_client 1.8.0 → 1.9.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +21 -15
  4. data/docs/AcsFileApi.md +416 -0
  5. data/docs/ContentFilesApi.md +1 -1
  6. data/docs/DistributionsFileApi.md +1 -1
  7. data/docs/FileFileAlternateContentSource.md +23 -0
  8. data/docs/FileFileAlternateContentSourceResponse.md +27 -0
  9. data/docs/FileFileRemote.md +7 -5
  10. data/docs/FileFileRemoteResponse.md +7 -5
  11. data/docs/FileFileRepository.md +3 -3
  12. data/docs/FileFileRepositoryResponse.md +3 -3
  13. data/docs/PaginatedfileFileAlternateContentSourceResponseList.md +23 -0
  14. data/docs/PatchedfileFileAlternateContentSource.md +23 -0
  15. data/docs/PatchedfileFileRemote.md +7 -5
  16. data/docs/PatchedfileFileRepository.md +3 -3
  17. data/docs/PublicationsFileApi.md +1 -1
  18. data/docs/RemotesFileApi.md +1 -1
  19. data/docs/RepositoriesFileApi.md +1 -1
  20. data/docs/RepositoriesFileVersionsApi.md +1 -1
  21. data/docs/RepositoryAddRemoveContent.md +2 -2
  22. data/lib/pulp_file_client/api/acs_file_api.rb +508 -0
  23. data/lib/pulp_file_client/api/content_files_api.rb +1 -1
  24. data/lib/pulp_file_client/api/distributions_file_api.rb +1 -1
  25. data/lib/pulp_file_client/api/publications_file_api.rb +1 -1
  26. data/lib/pulp_file_client/api/remotes_file_api.rb +1 -1
  27. data/lib/pulp_file_client/api/repositories_file_api.rb +1 -1
  28. data/lib/pulp_file_client/api/repositories_file_versions_api.rb +1 -1
  29. data/lib/pulp_file_client/api_client.rb +12 -8
  30. data/lib/pulp_file_client/api_error.rb +1 -1
  31. data/lib/pulp_file_client/configuration.rb +10 -3
  32. data/lib/pulp_file_client/models/async_operation_response.rb +1 -1
  33. data/lib/pulp_file_client/models/content_summary.rb +1 -1
  34. data/lib/pulp_file_client/models/content_summary_response.rb +1 -1
  35. data/lib/pulp_file_client/models/file_file_alternate_content_source.rb +251 -0
  36. data/lib/pulp_file_client/models/file_file_alternate_content_source_response.rb +270 -0
  37. data/lib/pulp_file_client/models/file_file_content.rb +1 -1
  38. data/lib/pulp_file_client/models/file_file_content_response.rb +1 -1
  39. data/lib/pulp_file_client/models/file_file_distribution.rb +1 -1
  40. data/lib/pulp_file_client/models/file_file_distribution_response.rb +1 -1
  41. data/lib/pulp_file_client/models/file_file_publication.rb +1 -1
  42. data/lib/pulp_file_client/models/file_file_publication_response.rb +1 -1
  43. data/lib/pulp_file_client/models/file_file_remote.rb +19 -7
  44. data/lib/pulp_file_client/models/file_file_remote_response.rb +19 -7
  45. data/lib/pulp_file_client/models/file_file_repository.rb +18 -17
  46. data/lib/pulp_file_client/models/file_file_repository_response.rb +18 -17
  47. data/lib/pulp_file_client/models/paginated_repository_version_response_list.rb +1 -1
  48. data/lib/pulp_file_client/models/paginatedfile_file_alternate_content_source_response_list.rb +237 -0
  49. data/lib/pulp_file_client/models/paginatedfile_file_content_response_list.rb +1 -1
  50. data/lib/pulp_file_client/models/paginatedfile_file_distribution_response_list.rb +1 -1
  51. data/lib/pulp_file_client/models/paginatedfile_file_publication_response_list.rb +1 -1
  52. data/lib/pulp_file_client/models/paginatedfile_file_remote_response_list.rb +1 -1
  53. data/lib/pulp_file_client/models/paginatedfile_file_repository_response_list.rb +1 -1
  54. data/lib/pulp_file_client/models/patchedfile_file_alternate_content_source.rb +241 -0
  55. data/lib/pulp_file_client/models/patchedfile_file_distribution.rb +1 -1
  56. data/lib/pulp_file_client/models/patchedfile_file_remote.rb +19 -7
  57. data/lib/pulp_file_client/models/patchedfile_file_repository.rb +18 -17
  58. data/lib/pulp_file_client/models/policy_enum.rb +1 -1
  59. data/lib/pulp_file_client/models/repository_add_remove_content.rb +3 -3
  60. data/lib/pulp_file_client/models/repository_sync_url.rb +1 -1
  61. data/lib/pulp_file_client/models/repository_version.rb +1 -1
  62. data/lib/pulp_file_client/models/repository_version_response.rb +1 -1
  63. data/lib/pulp_file_client/version.rb +2 -2
  64. data/lib/pulp_file_client.rb +6 -1
  65. data/pulp_file_client.gemspec +1 -1
  66. data/spec/api/acs_file_api_spec.rb +132 -0
  67. data/spec/api/content_files_api_spec.rb +1 -1
  68. data/spec/api/distributions_file_api_spec.rb +1 -1
  69. data/spec/api/publications_file_api_spec.rb +1 -1
  70. data/spec/api/remotes_file_api_spec.rb +1 -1
  71. data/spec/api/repositories_file_api_spec.rb +1 -1
  72. data/spec/api/repositories_file_versions_api_spec.rb +1 -1
  73. data/spec/api_client_spec.rb +2 -2
  74. data/spec/configuration_spec.rb +4 -4
  75. data/spec/models/async_operation_response_spec.rb +1 -1
  76. data/spec/models/content_summary_response_spec.rb +1 -1
  77. data/spec/models/content_summary_spec.rb +1 -1
  78. data/spec/models/file_file_alternate_content_source_response_spec.rb +71 -0
  79. data/spec/models/file_file_alternate_content_source_spec.rb +59 -0
  80. data/spec/models/file_file_content_response_spec.rb +1 -1
  81. data/spec/models/file_file_content_spec.rb +1 -1
  82. data/spec/models/file_file_distribution_response_spec.rb +1 -1
  83. data/spec/models/file_file_distribution_spec.rb +1 -1
  84. data/spec/models/file_file_publication_response_spec.rb +1 -1
  85. data/spec/models/file_file_publication_spec.rb +1 -1
  86. data/spec/models/file_file_remote_response_spec.rb +7 -1
  87. data/spec/models/file_file_remote_spec.rb +7 -1
  88. data/spec/models/file_file_repository_response_spec.rb +2 -2
  89. data/spec/models/file_file_repository_spec.rb +2 -2
  90. data/spec/models/paginated_repository_version_response_list_spec.rb +1 -1
  91. data/spec/models/paginatedfile_file_alternate_content_source_response_list_spec.rb +59 -0
  92. data/spec/models/paginatedfile_file_content_response_list_spec.rb +1 -1
  93. data/spec/models/paginatedfile_file_distribution_response_list_spec.rb +1 -1
  94. data/spec/models/paginatedfile_file_publication_response_list_spec.rb +1 -1
  95. data/spec/models/paginatedfile_file_remote_response_list_spec.rb +1 -1
  96. data/spec/models/paginatedfile_file_repository_response_list_spec.rb +1 -1
  97. data/spec/models/patchedfile_file_alternate_content_source_spec.rb +59 -0
  98. data/spec/models/patchedfile_file_distribution_spec.rb +1 -1
  99. data/spec/models/patchedfile_file_remote_spec.rb +7 -1
  100. data/spec/models/patchedfile_file_repository_spec.rb +2 -2
  101. data/spec/models/policy_enum_spec.rb +1 -1
  102. data/spec/models/repository_add_remove_content_spec.rb +1 -1
  103. data/spec/models/repository_sync_url_spec.rb +1 -1
  104. data/spec/models/repository_version_response_spec.rb +1 -1
  105. data/spec/models/repository_version_spec.rb +1 -1
  106. data/spec/spec_helper.rb +1 -1
  107. metadata +43 -23
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eb997742837a9803528e554ad048077023abd15a15ca8a2e985795f00f6dd0c1
4
- data.tar.gz: 3eca196950310a37563b40a3360c4b8689e2d03ceb4f427db74b8a06fcfe20ae
3
+ metadata.gz: 4fc003e85d4235bad4d15547ccb46e811b2dcc10b13a71507e813a594d789c02
4
+ data.tar.gz: 44709d602524ae6bdde5a0c877e93a9a914151b8620141f35f28d74635d1cc19
5
5
  SHA512:
6
- metadata.gz: 715258dbb070f522edb73cf34d879ea706d7b9e48c1a80614d25730e5b9129ee1f68d426ed3f02788bd57c65b4de19cec97875e94c2da0f1bb91027a35c4f58a
7
- data.tar.gz: 6057c769f6ba03bf7d07df11872f42160acf0c8116d8683be49e9f54d85950122962402d9006a86532c36be82eeed9d386cc2322159b6b7be04260251e505901
6
+ metadata.gz: 31fd3c23c85edc2140a69e31916225fd4af92fdaadb4c7cee1176c2c78573abafb1af4dbf79e564f0408a31a2779498bbef7b7621d985b6d28f1e329495458e7
7
+ data.tar.gz: 771507583365d008777df44ad491a8c7d42d08c63517d8edf0d4a5d56ecb355d9fcb626982e5e35925f5fb2577b97e06585e23f4a149ce67d7485cf12eb81727
data/Gemfile CHANGED
@@ -3,7 +3,7 @@ source 'https://rubygems.org'
3
3
  gemspec
4
4
 
5
5
  group :development, :test do
6
- gem 'rake', '~> 12.0.0'
6
+ gem 'rake', '~> 13.0.1'
7
7
  gem 'pry-byebug'
8
8
  gem 'rubocop', '~> 0.66.0'
9
9
  end
data/README.md CHANGED
@@ -7,7 +7,7 @@ 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: 1.8.0
10
+ - Package version: 1.9.1
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
13
13
 
@@ -24,16 +24,16 @@ gem build pulp_file_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulp_file_client-1.8.0.gem
27
+ gem install ./pulp_file_client-1.9.1.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_file_client-1.8.0.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_file_client-1.9.1.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'pulp_file_client', '~> 1.8.0'
36
+ gem 'pulp_file_client', '~> 1.9.1'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -64,30 +64,32 @@ PulpFileClient.configure do |config|
64
64
  config.password = 'YOUR_PASSWORD'
65
65
  end
66
66
 
67
- api_instance = PulpFileClient::ContentFilesApi.new
68
- relative_path = 'relative_path_example' # String | Path where the artifact is located relative to distributions base_path
69
- opts = {
70
- artifact: 'artifact_example', # String | Artifact file representing the physical content
71
- file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
72
- repository: 'repository_example' # String | A URI of a repository the new content unit should be associated with.
73
- }
67
+ api_instance = PulpFileClient::AcsFileApi.new
68
+ file_file_alternate_content_source = PulpFileClient::FileFileAlternateContentSource.new # FileFileAlternateContentSource |
74
69
 
75
70
  begin
76
- #Create a file content
77
- result = api_instance.create(relative_path, opts)
71
+ #Create a file alternate content source
72
+ result = api_instance.create(file_file_alternate_content_source)
78
73
  p result
79
74
  rescue PulpFileClient::ApiError => e
80
- puts "Exception when calling ContentFilesApi->create: #{e}"
75
+ puts "Exception when calling AcsFileApi->create: #{e}"
81
76
  end
82
77
 
83
78
  ```
84
79
 
85
80
  ## Documentation for API Endpoints
86
81
 
87
- All URIs are relative to *http://pulp*
82
+ All URIs are relative to *https://pulp*
88
83
 
89
84
  Class | Method | HTTP request | Description
90
85
  ------------ | ------------- | ------------- | -------------
86
+ *PulpFileClient::AcsFileApi* | [**create**](docs/AcsFileApi.md#create) | **POST** /pulp/api/v3/acs/file/file/ | Create a file alternate content source
87
+ *PulpFileClient::AcsFileApi* | [**delete**](docs/AcsFileApi.md#delete) | **DELETE** {file_file_alternate_content_source_href} | Delete a file alternate content source
88
+ *PulpFileClient::AcsFileApi* | [**list**](docs/AcsFileApi.md#list) | **GET** /pulp/api/v3/acs/file/file/ | List file alternate content sources
89
+ *PulpFileClient::AcsFileApi* | [**partial_update**](docs/AcsFileApi.md#partial_update) | **PATCH** {file_file_alternate_content_source_href} | Update a file alternate content source
90
+ *PulpFileClient::AcsFileApi* | [**read**](docs/AcsFileApi.md#read) | **GET** {file_file_alternate_content_source_href} | Inspect a file alternate content source
91
+ *PulpFileClient::AcsFileApi* | [**refresh**](docs/AcsFileApi.md#refresh) | **POST** {file_file_alternate_content_source_href}refresh/ |
92
+ *PulpFileClient::AcsFileApi* | [**update**](docs/AcsFileApi.md#update) | **PUT** {file_file_alternate_content_source_href} | Update a file alternate content source
91
93
  *PulpFileClient::ContentFilesApi* | [**create**](docs/ContentFilesApi.md#create) | **POST** /pulp/api/v3/content/file/files/ | Create a file content
92
94
  *PulpFileClient::ContentFilesApi* | [**list**](docs/ContentFilesApi.md#list) | **GET** /pulp/api/v3/content/file/files/ | List file contents
93
95
  *PulpFileClient::ContentFilesApi* | [**read**](docs/ContentFilesApi.md#read) | **GET** {file_file_content_href} | Inspect a file content
@@ -126,6 +128,8 @@ Class | Method | HTTP request | Description
126
128
  - [PulpFileClient::AsyncOperationResponse](docs/AsyncOperationResponse.md)
127
129
  - [PulpFileClient::ContentSummary](docs/ContentSummary.md)
128
130
  - [PulpFileClient::ContentSummaryResponse](docs/ContentSummaryResponse.md)
131
+ - [PulpFileClient::FileFileAlternateContentSource](docs/FileFileAlternateContentSource.md)
132
+ - [PulpFileClient::FileFileAlternateContentSourceResponse](docs/FileFileAlternateContentSourceResponse.md)
129
133
  - [PulpFileClient::FileFileContent](docs/FileFileContent.md)
130
134
  - [PulpFileClient::FileFileContentResponse](docs/FileFileContentResponse.md)
131
135
  - [PulpFileClient::FileFileDistribution](docs/FileFileDistribution.md)
@@ -137,11 +141,13 @@ Class | Method | HTTP request | Description
137
141
  - [PulpFileClient::FileFileRepository](docs/FileFileRepository.md)
138
142
  - [PulpFileClient::FileFileRepositoryResponse](docs/FileFileRepositoryResponse.md)
139
143
  - [PulpFileClient::PaginatedRepositoryVersionResponseList](docs/PaginatedRepositoryVersionResponseList.md)
144
+ - [PulpFileClient::PaginatedfileFileAlternateContentSourceResponseList](docs/PaginatedfileFileAlternateContentSourceResponseList.md)
140
145
  - [PulpFileClient::PaginatedfileFileContentResponseList](docs/PaginatedfileFileContentResponseList.md)
141
146
  - [PulpFileClient::PaginatedfileFileDistributionResponseList](docs/PaginatedfileFileDistributionResponseList.md)
142
147
  - [PulpFileClient::PaginatedfileFilePublicationResponseList](docs/PaginatedfileFilePublicationResponseList.md)
143
148
  - [PulpFileClient::PaginatedfileFileRemoteResponseList](docs/PaginatedfileFileRemoteResponseList.md)
144
149
  - [PulpFileClient::PaginatedfileFileRepositoryResponseList](docs/PaginatedfileFileRepositoryResponseList.md)
150
+ - [PulpFileClient::PatchedfileFileAlternateContentSource](docs/PatchedfileFileAlternateContentSource.md)
145
151
  - [PulpFileClient::PatchedfileFileDistribution](docs/PatchedfileFileDistribution.md)
146
152
  - [PulpFileClient::PatchedfileFileRemote](docs/PatchedfileFileRemote.md)
147
153
  - [PulpFileClient::PatchedfileFileRepository](docs/PatchedfileFileRepository.md)
@@ -0,0 +1,416 @@
1
+ # PulpFileClient::AcsFileApi
2
+
3
+ All URIs are relative to *https://pulp*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**create**](AcsFileApi.md#create) | **POST** /pulp/api/v3/acs/file/file/ | Create a file alternate content source
8
+ [**delete**](AcsFileApi.md#delete) | **DELETE** {file_file_alternate_content_source_href} | Delete a file alternate content source
9
+ [**list**](AcsFileApi.md#list) | **GET** /pulp/api/v3/acs/file/file/ | List file alternate content sources
10
+ [**partial_update**](AcsFileApi.md#partial_update) | **PATCH** {file_file_alternate_content_source_href} | Update a file alternate content source
11
+ [**read**](AcsFileApi.md#read) | **GET** {file_file_alternate_content_source_href} | Inspect a file alternate content source
12
+ [**refresh**](AcsFileApi.md#refresh) | **POST** {file_file_alternate_content_source_href}refresh/ |
13
+ [**update**](AcsFileApi.md#update) | **PUT** {file_file_alternate_content_source_href} | Update a file alternate content source
14
+
15
+
16
+
17
+ ## create
18
+
19
+ > FileFileAlternateContentSourceResponse create(file_file_alternate_content_source)
20
+
21
+ Create a file alternate content source
22
+
23
+ Alternate Content Source ViewSet for File ACS support is provided as a tech preview in pulp_file.
24
+
25
+ ### Example
26
+
27
+ ```ruby
28
+ # load the gem
29
+ require 'pulp_file_client'
30
+ # setup authorization
31
+ PulpFileClient.configure do |config|
32
+ # Configure HTTP basic authorization: basicAuth
33
+ config.username = 'YOUR USERNAME'
34
+ config.password = 'YOUR PASSWORD'
35
+ end
36
+
37
+ api_instance = PulpFileClient::AcsFileApi.new
38
+ file_file_alternate_content_source = PulpFileClient::FileFileAlternateContentSource.new # FileFileAlternateContentSource |
39
+
40
+ begin
41
+ #Create a file alternate content source
42
+ result = api_instance.create(file_file_alternate_content_source)
43
+ p result
44
+ rescue PulpFileClient::ApiError => e
45
+ puts "Exception when calling AcsFileApi->create: #{e}"
46
+ end
47
+ ```
48
+
49
+ ### Parameters
50
+
51
+
52
+ Name | Type | Description | Notes
53
+ ------------- | ------------- | ------------- | -------------
54
+ **file_file_alternate_content_source** | [**FileFileAlternateContentSource**](FileFileAlternateContentSource.md)| |
55
+
56
+ ### Return type
57
+
58
+ [**FileFileAlternateContentSourceResponse**](FileFileAlternateContentSourceResponse.md)
59
+
60
+ ### Authorization
61
+
62
+ [basicAuth](../README.md#basicAuth)
63
+
64
+ ### HTTP request headers
65
+
66
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
67
+ - **Accept**: application/json
68
+
69
+
70
+ ## delete
71
+
72
+ > delete(file_file_alternate_content_source_href)
73
+
74
+ Delete a file alternate content source
75
+
76
+ Alternate Content Source ViewSet for File ACS support is provided as a tech preview in pulp_file.
77
+
78
+ ### Example
79
+
80
+ ```ruby
81
+ # load the gem
82
+ require 'pulp_file_client'
83
+ # setup authorization
84
+ PulpFileClient.configure do |config|
85
+ # Configure HTTP basic authorization: basicAuth
86
+ config.username = 'YOUR USERNAME'
87
+ config.password = 'YOUR PASSWORD'
88
+ end
89
+
90
+ api_instance = PulpFileClient::AcsFileApi.new
91
+ file_file_alternate_content_source_href = 'file_file_alternate_content_source_href_example' # String |
92
+
93
+ begin
94
+ #Delete a file alternate content source
95
+ api_instance.delete(file_file_alternate_content_source_href)
96
+ rescue PulpFileClient::ApiError => e
97
+ puts "Exception when calling AcsFileApi->delete: #{e}"
98
+ end
99
+ ```
100
+
101
+ ### Parameters
102
+
103
+
104
+ Name | Type | Description | Notes
105
+ ------------- | ------------- | ------------- | -------------
106
+ **file_file_alternate_content_source_href** | **String**| |
107
+
108
+ ### Return type
109
+
110
+ nil (empty response body)
111
+
112
+ ### Authorization
113
+
114
+ [basicAuth](../README.md#basicAuth)
115
+
116
+ ### HTTP request headers
117
+
118
+ - **Content-Type**: Not defined
119
+ - **Accept**: Not defined
120
+
121
+
122
+ ## list
123
+
124
+ > PaginatedfileFileAlternateContentSourceResponseList list(opts)
125
+
126
+ List file alternate content sources
127
+
128
+ Alternate Content Source ViewSet for File ACS support is provided as a tech preview in pulp_file.
129
+
130
+ ### Example
131
+
132
+ ```ruby
133
+ # load the gem
134
+ require 'pulp_file_client'
135
+ # setup authorization
136
+ PulpFileClient.configure do |config|
137
+ # Configure HTTP basic authorization: basicAuth
138
+ config.username = 'YOUR USERNAME'
139
+ config.password = 'YOUR PASSWORD'
140
+ end
141
+
142
+ api_instance = PulpFileClient::AcsFileApi.new
143
+ opts = {
144
+ limit: 56, # Integer | Number of results to return per page.
145
+ name: 'name_example', # String |
146
+ name__contains: 'name__contains_example', # String | Filter results where name contains value
147
+ name__icontains: 'name__icontains_example', # String | Filter results where name contains value
148
+ name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
149
+ name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
150
+ offset: 56, # Integer | The initial index from which to return the results.
151
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
152
+ fields: 'fields_example', # String | A list of fields to include in the response.
153
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
154
+ }
155
+
156
+ begin
157
+ #List file alternate content sources
158
+ result = api_instance.list(opts)
159
+ p result
160
+ rescue PulpFileClient::ApiError => e
161
+ puts "Exception when calling AcsFileApi->list: #{e}"
162
+ end
163
+ ```
164
+
165
+ ### Parameters
166
+
167
+
168
+ Name | Type | Description | Notes
169
+ ------------- | ------------- | ------------- | -------------
170
+ **limit** | **Integer**| Number of results to return per page. | [optional]
171
+ **name** | **String**| | [optional]
172
+ **name__contains** | **String**| Filter results where name contains value | [optional]
173
+ **name__icontains** | **String**| Filter results where name contains value | [optional]
174
+ **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
175
+ **name__startswith** | **String**| Filter results where name starts with value | [optional]
176
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
177
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
178
+ **fields** | **String**| A list of fields to include in the response. | [optional]
179
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
180
+
181
+ ### Return type
182
+
183
+ [**PaginatedfileFileAlternateContentSourceResponseList**](PaginatedfileFileAlternateContentSourceResponseList.md)
184
+
185
+ ### Authorization
186
+
187
+ [basicAuth](../README.md#basicAuth)
188
+
189
+ ### HTTP request headers
190
+
191
+ - **Content-Type**: Not defined
192
+ - **Accept**: application/json
193
+
194
+
195
+ ## partial_update
196
+
197
+ > FileFileAlternateContentSourceResponse partial_update(file_file_alternate_content_source_href, patchedfile_file_alternate_content_source)
198
+
199
+ Update a file alternate content source
200
+
201
+ Alternate Content Source ViewSet for File ACS support is provided as a tech preview in pulp_file.
202
+
203
+ ### Example
204
+
205
+ ```ruby
206
+ # load the gem
207
+ require 'pulp_file_client'
208
+ # setup authorization
209
+ PulpFileClient.configure do |config|
210
+ # Configure HTTP basic authorization: basicAuth
211
+ config.username = 'YOUR USERNAME'
212
+ config.password = 'YOUR PASSWORD'
213
+ end
214
+
215
+ api_instance = PulpFileClient::AcsFileApi.new
216
+ file_file_alternate_content_source_href = 'file_file_alternate_content_source_href_example' # String |
217
+ patchedfile_file_alternate_content_source = PulpFileClient::PatchedfileFileAlternateContentSource.new # PatchedfileFileAlternateContentSource |
218
+
219
+ begin
220
+ #Update a file alternate content source
221
+ result = api_instance.partial_update(file_file_alternate_content_source_href, patchedfile_file_alternate_content_source)
222
+ p result
223
+ rescue PulpFileClient::ApiError => e
224
+ puts "Exception when calling AcsFileApi->partial_update: #{e}"
225
+ end
226
+ ```
227
+
228
+ ### Parameters
229
+
230
+
231
+ Name | Type | Description | Notes
232
+ ------------- | ------------- | ------------- | -------------
233
+ **file_file_alternate_content_source_href** | **String**| |
234
+ **patchedfile_file_alternate_content_source** | [**PatchedfileFileAlternateContentSource**](PatchedfileFileAlternateContentSource.md)| |
235
+
236
+ ### Return type
237
+
238
+ [**FileFileAlternateContentSourceResponse**](FileFileAlternateContentSourceResponse.md)
239
+
240
+ ### Authorization
241
+
242
+ [basicAuth](../README.md#basicAuth)
243
+
244
+ ### HTTP request headers
245
+
246
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
247
+ - **Accept**: application/json
248
+
249
+
250
+ ## read
251
+
252
+ > FileFileAlternateContentSourceResponse read(file_file_alternate_content_source_href, opts)
253
+
254
+ Inspect a file alternate content source
255
+
256
+ Alternate Content Source ViewSet for File ACS support is provided as a tech preview in pulp_file.
257
+
258
+ ### Example
259
+
260
+ ```ruby
261
+ # load the gem
262
+ require 'pulp_file_client'
263
+ # setup authorization
264
+ PulpFileClient.configure do |config|
265
+ # Configure HTTP basic authorization: basicAuth
266
+ config.username = 'YOUR USERNAME'
267
+ config.password = 'YOUR PASSWORD'
268
+ end
269
+
270
+ api_instance = PulpFileClient::AcsFileApi.new
271
+ file_file_alternate_content_source_href = 'file_file_alternate_content_source_href_example' # String |
272
+ opts = {
273
+ fields: 'fields_example', # String | A list of fields to include in the response.
274
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
275
+ }
276
+
277
+ begin
278
+ #Inspect a file alternate content source
279
+ result = api_instance.read(file_file_alternate_content_source_href, opts)
280
+ p result
281
+ rescue PulpFileClient::ApiError => e
282
+ puts "Exception when calling AcsFileApi->read: #{e}"
283
+ end
284
+ ```
285
+
286
+ ### Parameters
287
+
288
+
289
+ Name | Type | Description | Notes
290
+ ------------- | ------------- | ------------- | -------------
291
+ **file_file_alternate_content_source_href** | **String**| |
292
+ **fields** | **String**| A list of fields to include in the response. | [optional]
293
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
294
+
295
+ ### Return type
296
+
297
+ [**FileFileAlternateContentSourceResponse**](FileFileAlternateContentSourceResponse.md)
298
+
299
+ ### Authorization
300
+
301
+ [basicAuth](../README.md#basicAuth)
302
+
303
+ ### HTTP request headers
304
+
305
+ - **Content-Type**: Not defined
306
+ - **Accept**: application/json
307
+
308
+
309
+ ## refresh
310
+
311
+ > FileFileAlternateContentSourceResponse refresh(file_file_alternate_content_source_href, file_file_alternate_content_source)
312
+
313
+
314
+
315
+ Alternate Content Source ViewSet for File ACS support is provided as a tech preview in pulp_file.
316
+
317
+ ### Example
318
+
319
+ ```ruby
320
+ # load the gem
321
+ require 'pulp_file_client'
322
+ # setup authorization
323
+ PulpFileClient.configure do |config|
324
+ # Configure HTTP basic authorization: basicAuth
325
+ config.username = 'YOUR USERNAME'
326
+ config.password = 'YOUR PASSWORD'
327
+ end
328
+
329
+ api_instance = PulpFileClient::AcsFileApi.new
330
+ file_file_alternate_content_source_href = 'file_file_alternate_content_source_href_example' # String |
331
+ file_file_alternate_content_source = PulpFileClient::FileFileAlternateContentSource.new # FileFileAlternateContentSource |
332
+
333
+ begin
334
+ result = api_instance.refresh(file_file_alternate_content_source_href, file_file_alternate_content_source)
335
+ p result
336
+ rescue PulpFileClient::ApiError => e
337
+ puts "Exception when calling AcsFileApi->refresh: #{e}"
338
+ end
339
+ ```
340
+
341
+ ### Parameters
342
+
343
+
344
+ Name | Type | Description | Notes
345
+ ------------- | ------------- | ------------- | -------------
346
+ **file_file_alternate_content_source_href** | **String**| |
347
+ **file_file_alternate_content_source** | [**FileFileAlternateContentSource**](FileFileAlternateContentSource.md)| |
348
+
349
+ ### Return type
350
+
351
+ [**FileFileAlternateContentSourceResponse**](FileFileAlternateContentSourceResponse.md)
352
+
353
+ ### Authorization
354
+
355
+ [basicAuth](../README.md#basicAuth)
356
+
357
+ ### HTTP request headers
358
+
359
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
360
+ - **Accept**: application/json
361
+
362
+
363
+ ## update
364
+
365
+ > FileFileAlternateContentSourceResponse update(file_file_alternate_content_source_href, file_file_alternate_content_source)
366
+
367
+ Update a file alternate content source
368
+
369
+ Alternate Content Source ViewSet for File ACS support is provided as a tech preview in pulp_file.
370
+
371
+ ### Example
372
+
373
+ ```ruby
374
+ # load the gem
375
+ require 'pulp_file_client'
376
+ # setup authorization
377
+ PulpFileClient.configure do |config|
378
+ # Configure HTTP basic authorization: basicAuth
379
+ config.username = 'YOUR USERNAME'
380
+ config.password = 'YOUR PASSWORD'
381
+ end
382
+
383
+ api_instance = PulpFileClient::AcsFileApi.new
384
+ file_file_alternate_content_source_href = 'file_file_alternate_content_source_href_example' # String |
385
+ file_file_alternate_content_source = PulpFileClient::FileFileAlternateContentSource.new # FileFileAlternateContentSource |
386
+
387
+ begin
388
+ #Update a file alternate content source
389
+ result = api_instance.update(file_file_alternate_content_source_href, file_file_alternate_content_source)
390
+ p result
391
+ rescue PulpFileClient::ApiError => e
392
+ puts "Exception when calling AcsFileApi->update: #{e}"
393
+ end
394
+ ```
395
+
396
+ ### Parameters
397
+
398
+
399
+ Name | Type | Description | Notes
400
+ ------------- | ------------- | ------------- | -------------
401
+ **file_file_alternate_content_source_href** | **String**| |
402
+ **file_file_alternate_content_source** | [**FileFileAlternateContentSource**](FileFileAlternateContentSource.md)| |
403
+
404
+ ### Return type
405
+
406
+ [**FileFileAlternateContentSourceResponse**](FileFileAlternateContentSourceResponse.md)
407
+
408
+ ### Authorization
409
+
410
+ [basicAuth](../README.md#basicAuth)
411
+
412
+ ### HTTP request headers
413
+
414
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
415
+ - **Accept**: application/json
416
+