pulp_file_client 1.14.4 → 1.14.5

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.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +36 -25
  3. data/docs/AcsFileApi.md +23 -9
  4. data/docs/ContentFilesApi.md +3 -1
  5. data/docs/DistributionsFileApi.md +135 -9
  6. data/docs/PublicationsFileApi.md +15 -9
  7. data/docs/RemotesFileApi.md +135 -9
  8. data/docs/RepositoriesFileApi.md +135 -9
  9. data/docs/RepositoriesFileVersionsApi.md +3 -1
  10. data/docs/SetLabel.md +19 -0
  11. data/docs/SetLabelResponse.md +19 -0
  12. data/docs/UnsetLabel.md +17 -0
  13. data/docs/UnsetLabelResponse.md +19 -0
  14. data/lib/pulp_file_client/api/acs_file_api.rb +23 -0
  15. data/lib/pulp_file_client/api/content_files_api.rb +3 -0
  16. data/lib/pulp_file_client/api/distributions_file_api.rb +163 -0
  17. data/lib/pulp_file_client/api/publications_file_api.rb +11 -0
  18. data/lib/pulp_file_client/api/remotes_file_api.rb +163 -0
  19. data/lib/pulp_file_client/api/repositories_file_api.rb +163 -0
  20. data/lib/pulp_file_client/api/repositories_file_versions_api.rb +3 -0
  21. data/lib/pulp_file_client/configuration.rb +2 -2
  22. data/lib/pulp_file_client/models/set_label.rb +252 -0
  23. data/lib/pulp_file_client/models/set_label_response.rb +243 -0
  24. data/lib/pulp_file_client/models/unset_label.rb +242 -0
  25. data/lib/pulp_file_client/models/unset_label_response.rb +242 -0
  26. data/lib/pulp_file_client/version.rb +1 -1
  27. data/lib/pulp_file_client.rb +4 -0
  28. data/spec/api/acs_file_api_spec.rb +9 -0
  29. data/spec/api/content_files_api_spec.rb +1 -0
  30. data/spec/api/distributions_file_api_spec.rb +35 -0
  31. data/spec/api/publications_file_api_spec.rb +5 -0
  32. data/spec/api/remotes_file_api_spec.rb +35 -0
  33. data/spec/api/repositories_file_api_spec.rb +35 -0
  34. data/spec/api/repositories_file_versions_api_spec.rb +1 -0
  35. data/spec/configuration_spec.rb +3 -3
  36. data/spec/models/set_label_response_spec.rb +47 -0
  37. data/spec/models/set_label_spec.rb +47 -0
  38. data/spec/models/unset_label_response_spec.rb +47 -0
  39. data/spec/models/unset_label_spec.rb +41 -0
  40. metadata +49 -33
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5c79185564cf62bf3329865835143e650aa56d17d16d91cba63d0b0b6c6a829d
4
- data.tar.gz: d0f4cf0890aad6c4117e7646fcdb7f87814bf38ae430cc96ffef0fec6ede21f9
3
+ metadata.gz: 3eb12220e26819bdd0a48b9ff9702d0700ae3957cd586a1e9592d8d89126b6a2
4
+ data.tar.gz: 8fb8609aa5889089509cf46fd8693bd76d88286a4d8394bcf764bbf1ad6fe83b
5
5
  SHA512:
6
- metadata.gz: 351fb690e38e7895490102526d04fca808fa41ddeba9e588a1c31773e50c2a3ec7d89b329a9ca2d64d8f8819ff2267c7dc6fbe07b1fe43edd2712ed702eeabd0
7
- data.tar.gz: 2b0aaf5f2807f8485cb81d5e4a52afd155141700f29f88756f465a61db171ce3a23fbd0ccf1901df3fc75d08d28c2f9d7fab5a915ff9f98a37d20f86d5ed8ca1
6
+ metadata.gz: 83b03e747c0f6e98832dc3668a18818307bbc13523ecf07013c26a966215e8daf4621ea11c8e59ea27dc1a0c2806942114eeea6ba00f24e216b0280c6103ecdd
7
+ data.tar.gz: b7484caa7957b6a98f02fcf44c71ca2a6fe83fb2203af5fe8c53f9d58c73209f67130fd536b31718da740c16241073cc081b0fd27ac350829e19798f1ff06e33
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.14.4
10
+ - Package version: 1.14.5
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.14.4.gem
27
+ gem install ./pulp_file_client-1.14.5.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_file_client-1.14.4.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_file_client-1.14.5.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.14.4'
36
+ gem 'pulp_file_client', '~> 1.14.5'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -69,6 +69,7 @@ file_file_alternate_content_source_href = 'file_file_alternate_content_source_hr
69
69
  nested_role = PulpFileClient::NestedRole.new # NestedRole |
70
70
 
71
71
  begin
72
+ #Add a role
72
73
  result = api_instance.add_role(file_file_alternate_content_source_href, nested_role)
73
74
  p result
74
75
  rescue PulpFileClient::ApiError => e
@@ -79,63 +80,69 @@ end
79
80
 
80
81
  ## Documentation for API Endpoints
81
82
 
82
- All URIs are relative to *https://pulp*
83
+ All URIs are relative to *http://pulp*
83
84
 
84
85
  Class | Method | HTTP request | Description
85
86
  ------------ | ------------- | ------------- | -------------
86
- *PulpFileClient::AcsFileApi* | [**add_role**](docs/AcsFileApi.md#add_role) | **POST** {file_file_alternate_content_source_href}add_role/ |
87
+ *PulpFileClient::AcsFileApi* | [**add_role**](docs/AcsFileApi.md#add_role) | **POST** {file_file_alternate_content_source_href}add_role/ | Add a role
87
88
  *PulpFileClient::AcsFileApi* | [**create**](docs/AcsFileApi.md#create) | **POST** /pulp/api/v3/acs/file/file/ | Create a file alternate content source
88
89
  *PulpFileClient::AcsFileApi* | [**delete**](docs/AcsFileApi.md#delete) | **DELETE** {file_file_alternate_content_source_href} | Delete a file alternate content source
89
90
  *PulpFileClient::AcsFileApi* | [**list**](docs/AcsFileApi.md#list) | **GET** /pulp/api/v3/acs/file/file/ | List file alternate content sources
90
- *PulpFileClient::AcsFileApi* | [**list_roles**](docs/AcsFileApi.md#list_roles) | **GET** {file_file_alternate_content_source_href}list_roles/ |
91
- *PulpFileClient::AcsFileApi* | [**my_permissions**](docs/AcsFileApi.md#my_permissions) | **GET** {file_file_alternate_content_source_href}my_permissions/ |
91
+ *PulpFileClient::AcsFileApi* | [**list_roles**](docs/AcsFileApi.md#list_roles) | **GET** {file_file_alternate_content_source_href}list_roles/ | List roles
92
+ *PulpFileClient::AcsFileApi* | [**my_permissions**](docs/AcsFileApi.md#my_permissions) | **GET** {file_file_alternate_content_source_href}my_permissions/ | List user permissions
92
93
  *PulpFileClient::AcsFileApi* | [**partial_update**](docs/AcsFileApi.md#partial_update) | **PATCH** {file_file_alternate_content_source_href} | Update a file alternate content source
93
94
  *PulpFileClient::AcsFileApi* | [**read**](docs/AcsFileApi.md#read) | **GET** {file_file_alternate_content_source_href} | Inspect a file alternate content source
94
95
  *PulpFileClient::AcsFileApi* | [**refresh**](docs/AcsFileApi.md#refresh) | **POST** {file_file_alternate_content_source_href}refresh/ | Refresh metadata
95
- *PulpFileClient::AcsFileApi* | [**remove_role**](docs/AcsFileApi.md#remove_role) | **POST** {file_file_alternate_content_source_href}remove_role/ |
96
+ *PulpFileClient::AcsFileApi* | [**remove_role**](docs/AcsFileApi.md#remove_role) | **POST** {file_file_alternate_content_source_href}remove_role/ | Remove a role
96
97
  *PulpFileClient::AcsFileApi* | [**update**](docs/AcsFileApi.md#update) | **PUT** {file_file_alternate_content_source_href} | Update a file alternate content source
97
98
  *PulpFileClient::ContentFilesApi* | [**create**](docs/ContentFilesApi.md#create) | **POST** /pulp/api/v3/content/file/files/ | Create a file content
98
99
  *PulpFileClient::ContentFilesApi* | [**list**](docs/ContentFilesApi.md#list) | **GET** /pulp/api/v3/content/file/files/ | List file contents
99
100
  *PulpFileClient::ContentFilesApi* | [**read**](docs/ContentFilesApi.md#read) | **GET** {file_file_content_href} | Inspect a file content
100
- *PulpFileClient::DistributionsFileApi* | [**add_role**](docs/DistributionsFileApi.md#add_role) | **POST** {file_file_distribution_href}add_role/ |
101
+ *PulpFileClient::DistributionsFileApi* | [**add_role**](docs/DistributionsFileApi.md#add_role) | **POST** {file_file_distribution_href}add_role/ | Add a role
101
102
  *PulpFileClient::DistributionsFileApi* | [**create**](docs/DistributionsFileApi.md#create) | **POST** /pulp/api/v3/distributions/file/file/ | Create a file distribution
102
103
  *PulpFileClient::DistributionsFileApi* | [**delete**](docs/DistributionsFileApi.md#delete) | **DELETE** {file_file_distribution_href} | Delete a file distribution
103
104
  *PulpFileClient::DistributionsFileApi* | [**list**](docs/DistributionsFileApi.md#list) | **GET** /pulp/api/v3/distributions/file/file/ | List file distributions
104
- *PulpFileClient::DistributionsFileApi* | [**list_roles**](docs/DistributionsFileApi.md#list_roles) | **GET** {file_file_distribution_href}list_roles/ |
105
- *PulpFileClient::DistributionsFileApi* | [**my_permissions**](docs/DistributionsFileApi.md#my_permissions) | **GET** {file_file_distribution_href}my_permissions/ |
105
+ *PulpFileClient::DistributionsFileApi* | [**list_roles**](docs/DistributionsFileApi.md#list_roles) | **GET** {file_file_distribution_href}list_roles/ | List roles
106
+ *PulpFileClient::DistributionsFileApi* | [**my_permissions**](docs/DistributionsFileApi.md#my_permissions) | **GET** {file_file_distribution_href}my_permissions/ | List user permissions
106
107
  *PulpFileClient::DistributionsFileApi* | [**partial_update**](docs/DistributionsFileApi.md#partial_update) | **PATCH** {file_file_distribution_href} | Update a file distribution
107
108
  *PulpFileClient::DistributionsFileApi* | [**read**](docs/DistributionsFileApi.md#read) | **GET** {file_file_distribution_href} | Inspect a file distribution
108
- *PulpFileClient::DistributionsFileApi* | [**remove_role**](docs/DistributionsFileApi.md#remove_role) | **POST** {file_file_distribution_href}remove_role/ |
109
+ *PulpFileClient::DistributionsFileApi* | [**remove_role**](docs/DistributionsFileApi.md#remove_role) | **POST** {file_file_distribution_href}remove_role/ | Remove a role
110
+ *PulpFileClient::DistributionsFileApi* | [**set_label**](docs/DistributionsFileApi.md#set_label) | **POST** {file_file_distribution_href}set_label/ | Set a label
111
+ *PulpFileClient::DistributionsFileApi* | [**unset_label**](docs/DistributionsFileApi.md#unset_label) | **POST** {file_file_distribution_href}unset_label/ | Unset a label
109
112
  *PulpFileClient::DistributionsFileApi* | [**update**](docs/DistributionsFileApi.md#update) | **PUT** {file_file_distribution_href} | Update a file distribution
110
- *PulpFileClient::PublicationsFileApi* | [**add_role**](docs/PublicationsFileApi.md#add_role) | **POST** {file_file_publication_href}add_role/ |
113
+ *PulpFileClient::PublicationsFileApi* | [**add_role**](docs/PublicationsFileApi.md#add_role) | **POST** {file_file_publication_href}add_role/ | Add a role
111
114
  *PulpFileClient::PublicationsFileApi* | [**create**](docs/PublicationsFileApi.md#create) | **POST** /pulp/api/v3/publications/file/file/ | Create a file publication
112
115
  *PulpFileClient::PublicationsFileApi* | [**delete**](docs/PublicationsFileApi.md#delete) | **DELETE** {file_file_publication_href} | Delete a file publication
113
116
  *PulpFileClient::PublicationsFileApi* | [**list**](docs/PublicationsFileApi.md#list) | **GET** /pulp/api/v3/publications/file/file/ | List file publications
114
- *PulpFileClient::PublicationsFileApi* | [**list_roles**](docs/PublicationsFileApi.md#list_roles) | **GET** {file_file_publication_href}list_roles/ |
115
- *PulpFileClient::PublicationsFileApi* | [**my_permissions**](docs/PublicationsFileApi.md#my_permissions) | **GET** {file_file_publication_href}my_permissions/ |
117
+ *PulpFileClient::PublicationsFileApi* | [**list_roles**](docs/PublicationsFileApi.md#list_roles) | **GET** {file_file_publication_href}list_roles/ | List roles
118
+ *PulpFileClient::PublicationsFileApi* | [**my_permissions**](docs/PublicationsFileApi.md#my_permissions) | **GET** {file_file_publication_href}my_permissions/ | List user permissions
116
119
  *PulpFileClient::PublicationsFileApi* | [**read**](docs/PublicationsFileApi.md#read) | **GET** {file_file_publication_href} | Inspect a file publication
117
- *PulpFileClient::PublicationsFileApi* | [**remove_role**](docs/PublicationsFileApi.md#remove_role) | **POST** {file_file_publication_href}remove_role/ |
118
- *PulpFileClient::RemotesFileApi* | [**add_role**](docs/RemotesFileApi.md#add_role) | **POST** {file_file_remote_href}add_role/ |
120
+ *PulpFileClient::PublicationsFileApi* | [**remove_role**](docs/PublicationsFileApi.md#remove_role) | **POST** {file_file_publication_href}remove_role/ | Remove a role
121
+ *PulpFileClient::RemotesFileApi* | [**add_role**](docs/RemotesFileApi.md#add_role) | **POST** {file_file_remote_href}add_role/ | Add a role
119
122
  *PulpFileClient::RemotesFileApi* | [**create**](docs/RemotesFileApi.md#create) | **POST** /pulp/api/v3/remotes/file/file/ | Create a file remote
120
123
  *PulpFileClient::RemotesFileApi* | [**delete**](docs/RemotesFileApi.md#delete) | **DELETE** {file_file_remote_href} | Delete a file remote
121
124
  *PulpFileClient::RemotesFileApi* | [**list**](docs/RemotesFileApi.md#list) | **GET** /pulp/api/v3/remotes/file/file/ | List file remotes
122
- *PulpFileClient::RemotesFileApi* | [**list_roles**](docs/RemotesFileApi.md#list_roles) | **GET** {file_file_remote_href}list_roles/ |
123
- *PulpFileClient::RemotesFileApi* | [**my_permissions**](docs/RemotesFileApi.md#my_permissions) | **GET** {file_file_remote_href}my_permissions/ |
125
+ *PulpFileClient::RemotesFileApi* | [**list_roles**](docs/RemotesFileApi.md#list_roles) | **GET** {file_file_remote_href}list_roles/ | List roles
126
+ *PulpFileClient::RemotesFileApi* | [**my_permissions**](docs/RemotesFileApi.md#my_permissions) | **GET** {file_file_remote_href}my_permissions/ | List user permissions
124
127
  *PulpFileClient::RemotesFileApi* | [**partial_update**](docs/RemotesFileApi.md#partial_update) | **PATCH** {file_file_remote_href} | Update a file remote
125
128
  *PulpFileClient::RemotesFileApi* | [**read**](docs/RemotesFileApi.md#read) | **GET** {file_file_remote_href} | Inspect a file remote
126
- *PulpFileClient::RemotesFileApi* | [**remove_role**](docs/RemotesFileApi.md#remove_role) | **POST** {file_file_remote_href}remove_role/ |
129
+ *PulpFileClient::RemotesFileApi* | [**remove_role**](docs/RemotesFileApi.md#remove_role) | **POST** {file_file_remote_href}remove_role/ | Remove a role
130
+ *PulpFileClient::RemotesFileApi* | [**set_label**](docs/RemotesFileApi.md#set_label) | **POST** {file_file_remote_href}set_label/ | Set a label
131
+ *PulpFileClient::RemotesFileApi* | [**unset_label**](docs/RemotesFileApi.md#unset_label) | **POST** {file_file_remote_href}unset_label/ | Unset a label
127
132
  *PulpFileClient::RemotesFileApi* | [**update**](docs/RemotesFileApi.md#update) | **PUT** {file_file_remote_href} | Update a file remote
128
- *PulpFileClient::RepositoriesFileApi* | [**add_role**](docs/RepositoriesFileApi.md#add_role) | **POST** {file_file_repository_href}add_role/ |
133
+ *PulpFileClient::RepositoriesFileApi* | [**add_role**](docs/RepositoriesFileApi.md#add_role) | **POST** {file_file_repository_href}add_role/ | Add a role
129
134
  *PulpFileClient::RepositoriesFileApi* | [**create**](docs/RepositoriesFileApi.md#create) | **POST** /pulp/api/v3/repositories/file/file/ | Create a file repository
130
135
  *PulpFileClient::RepositoriesFileApi* | [**delete**](docs/RepositoriesFileApi.md#delete) | **DELETE** {file_file_repository_href} | Delete a file repository
131
136
  *PulpFileClient::RepositoriesFileApi* | [**list**](docs/RepositoriesFileApi.md#list) | **GET** /pulp/api/v3/repositories/file/file/ | List file repositorys
132
- *PulpFileClient::RepositoriesFileApi* | [**list_roles**](docs/RepositoriesFileApi.md#list_roles) | **GET** {file_file_repository_href}list_roles/ |
137
+ *PulpFileClient::RepositoriesFileApi* | [**list_roles**](docs/RepositoriesFileApi.md#list_roles) | **GET** {file_file_repository_href}list_roles/ | List roles
133
138
  *PulpFileClient::RepositoriesFileApi* | [**modify**](docs/RepositoriesFileApi.md#modify) | **POST** {file_file_repository_href}modify/ | Modify Repository Content
134
- *PulpFileClient::RepositoriesFileApi* | [**my_permissions**](docs/RepositoriesFileApi.md#my_permissions) | **GET** {file_file_repository_href}my_permissions/ |
139
+ *PulpFileClient::RepositoriesFileApi* | [**my_permissions**](docs/RepositoriesFileApi.md#my_permissions) | **GET** {file_file_repository_href}my_permissions/ | List user permissions
135
140
  *PulpFileClient::RepositoriesFileApi* | [**partial_update**](docs/RepositoriesFileApi.md#partial_update) | **PATCH** {file_file_repository_href} | Update a file repository
136
141
  *PulpFileClient::RepositoriesFileApi* | [**read**](docs/RepositoriesFileApi.md#read) | **GET** {file_file_repository_href} | Inspect a file repository
137
- *PulpFileClient::RepositoriesFileApi* | [**remove_role**](docs/RepositoriesFileApi.md#remove_role) | **POST** {file_file_repository_href}remove_role/ |
142
+ *PulpFileClient::RepositoriesFileApi* | [**remove_role**](docs/RepositoriesFileApi.md#remove_role) | **POST** {file_file_repository_href}remove_role/ | Remove a role
143
+ *PulpFileClient::RepositoriesFileApi* | [**set_label**](docs/RepositoriesFileApi.md#set_label) | **POST** {file_file_repository_href}set_label/ | Set a label
138
144
  *PulpFileClient::RepositoriesFileApi* | [**sync**](docs/RepositoriesFileApi.md#sync) | **POST** {file_file_repository_href}sync/ | Sync from a remote
145
+ *PulpFileClient::RepositoriesFileApi* | [**unset_label**](docs/RepositoriesFileApi.md#unset_label) | **POST** {file_file_repository_href}unset_label/ | Unset a label
139
146
  *PulpFileClient::RepositoriesFileApi* | [**update**](docs/RepositoriesFileApi.md#update) | **PUT** {file_file_repository_href} | Update a file repository
140
147
  *PulpFileClient::RepositoriesFileVersionsApi* | [**delete**](docs/RepositoriesFileVersionsApi.md#delete) | **DELETE** {file_file_repository_version_href} | Delete a repository version
141
148
  *PulpFileClient::RepositoriesFileVersionsApi* | [**list**](docs/RepositoriesFileVersionsApi.md#list) | **GET** {file_file_repository_href}versions/ | List repository versions
@@ -180,7 +187,11 @@ Class | Method | HTTP request | Description
180
187
  - [PulpFileClient::RepositoryAddRemoveContent](docs/RepositoryAddRemoveContent.md)
181
188
  - [PulpFileClient::RepositorySyncURL](docs/RepositorySyncURL.md)
182
189
  - [PulpFileClient::RepositoryVersionResponse](docs/RepositoryVersionResponse.md)
190
+ - [PulpFileClient::SetLabel](docs/SetLabel.md)
191
+ - [PulpFileClient::SetLabelResponse](docs/SetLabelResponse.md)
183
192
  - [PulpFileClient::TaskGroupOperationResponse](docs/TaskGroupOperationResponse.md)
193
+ - [PulpFileClient::UnsetLabel](docs/UnsetLabel.md)
194
+ - [PulpFileClient::UnsetLabelResponse](docs/UnsetLabelResponse.md)
184
195
 
185
196
 
186
197
  ## Documentation for Authorization
data/docs/AcsFileApi.md CHANGED
@@ -1,19 +1,19 @@
1
1
  # PulpFileClient::AcsFileApi
2
2
 
3
- All URIs are relative to *https://pulp*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**add_role**](AcsFileApi.md#add_role) | **POST** {file_file_alternate_content_source_href}add_role/ |
7
+ [**add_role**](AcsFileApi.md#add_role) | **POST** {file_file_alternate_content_source_href}add_role/ | Add a role
8
8
  [**create**](AcsFileApi.md#create) | **POST** /pulp/api/v3/acs/file/file/ | Create a file alternate content source
9
9
  [**delete**](AcsFileApi.md#delete) | **DELETE** {file_file_alternate_content_source_href} | Delete a file alternate content source
10
10
  [**list**](AcsFileApi.md#list) | **GET** /pulp/api/v3/acs/file/file/ | List file alternate content sources
11
- [**list_roles**](AcsFileApi.md#list_roles) | **GET** {file_file_alternate_content_source_href}list_roles/ |
12
- [**my_permissions**](AcsFileApi.md#my_permissions) | **GET** {file_file_alternate_content_source_href}my_permissions/ |
11
+ [**list_roles**](AcsFileApi.md#list_roles) | **GET** {file_file_alternate_content_source_href}list_roles/ | List roles
12
+ [**my_permissions**](AcsFileApi.md#my_permissions) | **GET** {file_file_alternate_content_source_href}my_permissions/ | List user permissions
13
13
  [**partial_update**](AcsFileApi.md#partial_update) | **PATCH** {file_file_alternate_content_source_href} | Update a file alternate content source
14
14
  [**read**](AcsFileApi.md#read) | **GET** {file_file_alternate_content_source_href} | Inspect a file alternate content source
15
15
  [**refresh**](AcsFileApi.md#refresh) | **POST** {file_file_alternate_content_source_href}refresh/ | Refresh metadata
16
- [**remove_role**](AcsFileApi.md#remove_role) | **POST** {file_file_alternate_content_source_href}remove_role/ |
16
+ [**remove_role**](AcsFileApi.md#remove_role) | **POST** {file_file_alternate_content_source_href}remove_role/ | Remove a role
17
17
  [**update**](AcsFileApi.md#update) | **PUT** {file_file_alternate_content_source_href} | Update a file alternate content source
18
18
 
19
19
 
@@ -22,7 +22,7 @@ Method | HTTP request | Description
22
22
 
23
23
  > NestedRoleResponse add_role(file_file_alternate_content_source_href, nested_role)
24
24
 
25
-
25
+ Add a role
26
26
 
27
27
  Add a role for this object to users/groups.
28
28
 
@@ -43,6 +43,7 @@ file_file_alternate_content_source_href = 'file_file_alternate_content_source_hr
43
43
  nested_role = PulpFileClient::NestedRole.new # NestedRole |
44
44
 
45
45
  begin
46
+ #Add a role
46
47
  result = api_instance.add_role(file_file_alternate_content_source_href, nested_role)
47
48
  p result
48
49
  rescue PulpFileClient::ApiError => e
@@ -204,12 +205,17 @@ opts = {
204
205
  name: 'name_example', # String | Filter results where name matches value
205
206
  name__contains: 'name__contains_example', # String | Filter results where name contains value
206
207
  name__icontains: 'name__icontains_example', # String | Filter results where name contains value
208
+ name__iexact: 'name__iexact_example', # String | Filter results where name matches value
207
209
  name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
210
+ name__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
211
+ name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
212
+ name__regex: 'name__regex_example', # String | Filter results where name matches regex value
208
213
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
209
214
  offset: 56, # Integer | The initial index from which to return the results.
210
215
  ordering: ['ordering_example'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `last_refreshed` - Last refreshed * `-last_refreshed` - Last refreshed (descending) * `pk` - Pk * `-pk` - Pk (descending)
211
216
  pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
212
217
  pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
218
+ q: 'q_example', # String |
213
219
  fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
214
220
  exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
215
221
  }
@@ -232,12 +238,17 @@ Name | Type | Description | Notes
232
238
  **name** | **String**| Filter results where name matches value | [optional]
233
239
  **name__contains** | **String**| Filter results where name contains value | [optional]
234
240
  **name__icontains** | **String**| Filter results where name contains value | [optional]
241
+ **name__iexact** | **String**| Filter results where name matches value | [optional]
235
242
  **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
243
+ **name__iregex** | **String**| Filter results where name matches regex value | [optional]
244
+ **name__istartswith** | **String**| Filter results where name starts with value | [optional]
245
+ **name__regex** | **String**| Filter results where name matches regex value | [optional]
236
246
  **name__startswith** | **String**| Filter results where name starts with value | [optional]
237
247
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
238
248
  **ordering** | [**Array&lt;String&gt;**](String.md)| 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;last_refreshed&#x60; - Last refreshed * &#x60;-last_refreshed&#x60; - Last refreshed (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
239
249
  **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
240
250
  **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
251
+ **q** | **String**| | [optional]
241
252
  **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
242
253
  **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
243
254
 
@@ -259,7 +270,7 @@ Name | Type | Description | Notes
259
270
 
260
271
  > ObjectRolesResponse list_roles(file_file_alternate_content_source_href, opts)
261
272
 
262
-
273
+ List roles
263
274
 
264
275
  List roles assigned to this object.
265
276
 
@@ -283,6 +294,7 @@ opts = {
283
294
  }
284
295
 
285
296
  begin
297
+ #List roles
286
298
  result = api_instance.list_roles(file_file_alternate_content_source_href, opts)
287
299
  p result
288
300
  rescue PulpFileClient::ApiError => e
@@ -317,7 +329,7 @@ Name | Type | Description | Notes
317
329
 
318
330
  > MyPermissionsResponse my_permissions(file_file_alternate_content_source_href, opts)
319
331
 
320
-
332
+ List user permissions
321
333
 
322
334
  List permissions available to the current user on this object.
323
335
 
@@ -341,6 +353,7 @@ opts = {
341
353
  }
342
354
 
343
355
  begin
356
+ #List user permissions
344
357
  result = api_instance.my_permissions(file_file_alternate_content_source_href, opts)
345
358
  p result
346
359
  rescue PulpFileClient::ApiError => e
@@ -542,7 +555,7 @@ Name | Type | Description | Notes
542
555
 
543
556
  > NestedRoleResponse remove_role(file_file_alternate_content_source_href, nested_role)
544
557
 
545
-
558
+ Remove a role
546
559
 
547
560
  Remove a role for this object from users/groups.
548
561
 
@@ -563,6 +576,7 @@ file_file_alternate_content_source_href = 'file_file_alternate_content_source_hr
563
576
  nested_role = PulpFileClient::NestedRole.new # NestedRole |
564
577
 
565
578
  begin
579
+ #Remove a role
566
580
  result = api_instance.remove_role(file_file_alternate_content_source_href, nested_role)
567
581
  p result
568
582
  rescue PulpFileClient::ApiError => e
@@ -1,6 +1,6 @@
1
1
  # PulpFileClient::ContentFilesApi
2
2
 
3
- All URIs are relative to *https://pulp*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -100,6 +100,7 @@ opts = {
100
100
  ordering: ['ordering_example'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pk` - Pk * `-pk` - Pk (descending)
101
101
  pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
102
102
  pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
103
+ q: 'q_example', # String |
103
104
  relative_path: 'relative_path_example', # String | Filter results where relative_path matches value
104
105
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
105
106
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
@@ -128,6 +129,7 @@ Name | Type | Description | Notes
128
129
  **ordering** | [**Array&lt;String&gt;**](String.md)| 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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
129
130
  **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
130
131
  **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
132
+ **q** | **String**| | [optional]
131
133
  **relative_path** | **String**| Filter results where relative_path matches value | [optional]
132
134
  **repository_version** | **String**| Repository Version referenced by HREF | [optional]
133
135
  **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
@@ -1,18 +1,20 @@
1
1
  # PulpFileClient::DistributionsFileApi
2
2
 
3
- All URIs are relative to *https://pulp*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**add_role**](DistributionsFileApi.md#add_role) | **POST** {file_file_distribution_href}add_role/ |
7
+ [**add_role**](DistributionsFileApi.md#add_role) | **POST** {file_file_distribution_href}add_role/ | Add a role
8
8
  [**create**](DistributionsFileApi.md#create) | **POST** /pulp/api/v3/distributions/file/file/ | Create a file distribution
9
9
  [**delete**](DistributionsFileApi.md#delete) | **DELETE** {file_file_distribution_href} | Delete a file distribution
10
10
  [**list**](DistributionsFileApi.md#list) | **GET** /pulp/api/v3/distributions/file/file/ | List file distributions
11
- [**list_roles**](DistributionsFileApi.md#list_roles) | **GET** {file_file_distribution_href}list_roles/ |
12
- [**my_permissions**](DistributionsFileApi.md#my_permissions) | **GET** {file_file_distribution_href}my_permissions/ |
11
+ [**list_roles**](DistributionsFileApi.md#list_roles) | **GET** {file_file_distribution_href}list_roles/ | List roles
12
+ [**my_permissions**](DistributionsFileApi.md#my_permissions) | **GET** {file_file_distribution_href}my_permissions/ | List user permissions
13
13
  [**partial_update**](DistributionsFileApi.md#partial_update) | **PATCH** {file_file_distribution_href} | Update a file distribution
14
14
  [**read**](DistributionsFileApi.md#read) | **GET** {file_file_distribution_href} | Inspect a file distribution
15
- [**remove_role**](DistributionsFileApi.md#remove_role) | **POST** {file_file_distribution_href}remove_role/ |
15
+ [**remove_role**](DistributionsFileApi.md#remove_role) | **POST** {file_file_distribution_href}remove_role/ | Remove a role
16
+ [**set_label**](DistributionsFileApi.md#set_label) | **POST** {file_file_distribution_href}set_label/ | Set a label
17
+ [**unset_label**](DistributionsFileApi.md#unset_label) | **POST** {file_file_distribution_href}unset_label/ | Unset a label
16
18
  [**update**](DistributionsFileApi.md#update) | **PUT** {file_file_distribution_href} | Update a file distribution
17
19
 
18
20
 
@@ -21,7 +23,7 @@ Method | HTTP request | Description
21
23
 
22
24
  > NestedRoleResponse add_role(file_file_distribution_href, nested_role)
23
25
 
24
-
26
+ Add a role
25
27
 
26
28
  Add a role for this object to users/groups.
27
29
 
@@ -42,6 +44,7 @@ file_file_distribution_href = 'file_file_distribution_href_example' # String |
42
44
  nested_role = PulpFileClient::NestedRole.new # NestedRole |
43
45
 
44
46
  begin
47
+ #Add a role
45
48
  result = api_instance.add_role(file_file_distribution_href, nested_role)
46
49
  p result
47
50
  rescue PulpFileClient::ApiError => e
@@ -207,13 +210,18 @@ opts = {
207
210
  name: 'name_example', # String | Filter results where name matches value
208
211
  name__contains: 'name__contains_example', # String | Filter results where name contains value
209
212
  name__icontains: 'name__icontains_example', # String | Filter results where name contains value
213
+ name__iexact: 'name__iexact_example', # String | Filter results where name matches value
210
214
  name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
215
+ name__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
216
+ name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
217
+ name__regex: 'name__regex_example', # String | Filter results where name matches regex value
211
218
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
212
219
  offset: 56, # Integer | The initial index from which to return the results.
213
220
  ordering: ['ordering_example'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
214
221
  pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
215
222
  pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
216
223
  pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
224
+ q: 'q_example', # String |
217
225
  repository: 'repository_example', # String | Filter results where repository matches value
218
226
  repository__in: ['repository__in_example'], # Array<String> | Filter results where repository is in a comma-separated list of values
219
227
  with_content: 'with_content_example', # String | Filter distributions based on the content served by them
@@ -243,13 +251,18 @@ Name | Type | Description | Notes
243
251
  **name** | **String**| Filter results where name matches value | [optional]
244
252
  **name__contains** | **String**| Filter results where name contains value | [optional]
245
253
  **name__icontains** | **String**| Filter results where name contains value | [optional]
254
+ **name__iexact** | **String**| Filter results where name matches value | [optional]
246
255
  **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
256
+ **name__iregex** | **String**| Filter results where name matches regex value | [optional]
257
+ **name__istartswith** | **String**| Filter results where name starts with value | [optional]
258
+ **name__regex** | **String**| Filter results where name matches regex value | [optional]
247
259
  **name__startswith** | **String**| Filter results where name starts with value | [optional]
248
260
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
249
261
  **ordering** | [**Array&lt;String&gt;**](String.md)| 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;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
250
262
  **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
251
263
  **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
252
264
  **pulp_label_select** | **String**| Filter labels by search string | [optional]
265
+ **q** | **String**| | [optional]
253
266
  **repository** | [**String**](.md)| Filter results where repository matches value | [optional]
254
267
  **repository__in** | [**Array&lt;String&gt;**](String.md)| Filter results where repository is in a comma-separated list of values | [optional]
255
268
  **with_content** | **String**| Filter distributions based on the content served by them | [optional]
@@ -274,7 +287,7 @@ Name | Type | Description | Notes
274
287
 
275
288
  > ObjectRolesResponse list_roles(file_file_distribution_href, opts)
276
289
 
277
-
290
+ List roles
278
291
 
279
292
  List roles assigned to this object.
280
293
 
@@ -298,6 +311,7 @@ opts = {
298
311
  }
299
312
 
300
313
  begin
314
+ #List roles
301
315
  result = api_instance.list_roles(file_file_distribution_href, opts)
302
316
  p result
303
317
  rescue PulpFileClient::ApiError => e
@@ -332,7 +346,7 @@ Name | Type | Description | Notes
332
346
 
333
347
  > MyPermissionsResponse my_permissions(file_file_distribution_href, opts)
334
348
 
335
-
349
+ List user permissions
336
350
 
337
351
  List permissions available to the current user on this object.
338
352
 
@@ -356,6 +370,7 @@ opts = {
356
370
  }
357
371
 
358
372
  begin
373
+ #List user permissions
359
374
  result = api_instance.my_permissions(file_file_distribution_href, opts)
360
375
  p result
361
376
  rescue PulpFileClient::ApiError => e
@@ -504,7 +519,7 @@ Name | Type | Description | Notes
504
519
 
505
520
  > NestedRoleResponse remove_role(file_file_distribution_href, nested_role)
506
521
 
507
-
522
+ Remove a role
508
523
 
509
524
  Remove a role for this object from users/groups.
510
525
 
@@ -525,6 +540,7 @@ file_file_distribution_href = 'file_file_distribution_href_example' # String |
525
540
  nested_role = PulpFileClient::NestedRole.new # NestedRole |
526
541
 
527
542
  begin
543
+ #Remove a role
528
544
  result = api_instance.remove_role(file_file_distribution_href, nested_role)
529
545
  p result
530
546
  rescue PulpFileClient::ApiError => e
@@ -554,6 +570,116 @@ Name | Type | Description | Notes
554
570
  - **Accept**: application/json
555
571
 
556
572
 
573
+ ## set_label
574
+
575
+ > SetLabelResponse set_label(file_file_distribution_href, set_label)
576
+
577
+ Set a label
578
+
579
+ Set a single pulp_label on the object to a specific value or null.
580
+
581
+ ### Example
582
+
583
+ ```ruby
584
+ # load the gem
585
+ require 'pulp_file_client'
586
+ # setup authorization
587
+ PulpFileClient.configure do |config|
588
+ # Configure HTTP basic authorization: basicAuth
589
+ config.username = 'YOUR USERNAME'
590
+ config.password = 'YOUR PASSWORD'
591
+ end
592
+
593
+ api_instance = PulpFileClient::DistributionsFileApi.new
594
+ file_file_distribution_href = 'file_file_distribution_href_example' # String |
595
+ set_label = PulpFileClient::SetLabel.new # SetLabel |
596
+
597
+ begin
598
+ #Set a label
599
+ result = api_instance.set_label(file_file_distribution_href, set_label)
600
+ p result
601
+ rescue PulpFileClient::ApiError => e
602
+ puts "Exception when calling DistributionsFileApi->set_label: #{e}"
603
+ end
604
+ ```
605
+
606
+ ### Parameters
607
+
608
+
609
+ Name | Type | Description | Notes
610
+ ------------- | ------------- | ------------- | -------------
611
+ **file_file_distribution_href** | **String**| |
612
+ **set_label** | [**SetLabel**](SetLabel.md)| |
613
+
614
+ ### Return type
615
+
616
+ [**SetLabelResponse**](SetLabelResponse.md)
617
+
618
+ ### Authorization
619
+
620
+ [basicAuth](../README.md#basicAuth)
621
+
622
+ ### HTTP request headers
623
+
624
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
625
+ - **Accept**: application/json
626
+
627
+
628
+ ## unset_label
629
+
630
+ > UnsetLabelResponse unset_label(file_file_distribution_href, unset_label)
631
+
632
+ Unset a label
633
+
634
+ Unset a single pulp_label on the object.
635
+
636
+ ### Example
637
+
638
+ ```ruby
639
+ # load the gem
640
+ require 'pulp_file_client'
641
+ # setup authorization
642
+ PulpFileClient.configure do |config|
643
+ # Configure HTTP basic authorization: basicAuth
644
+ config.username = 'YOUR USERNAME'
645
+ config.password = 'YOUR PASSWORD'
646
+ end
647
+
648
+ api_instance = PulpFileClient::DistributionsFileApi.new
649
+ file_file_distribution_href = 'file_file_distribution_href_example' # String |
650
+ unset_label = PulpFileClient::UnsetLabel.new # UnsetLabel |
651
+
652
+ begin
653
+ #Unset a label
654
+ result = api_instance.unset_label(file_file_distribution_href, unset_label)
655
+ p result
656
+ rescue PulpFileClient::ApiError => e
657
+ puts "Exception when calling DistributionsFileApi->unset_label: #{e}"
658
+ end
659
+ ```
660
+
661
+ ### Parameters
662
+
663
+
664
+ Name | Type | Description | Notes
665
+ ------------- | ------------- | ------------- | -------------
666
+ **file_file_distribution_href** | **String**| |
667
+ **unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
668
+
669
+ ### Return type
670
+
671
+ [**UnsetLabelResponse**](UnsetLabelResponse.md)
672
+
673
+ ### Authorization
674
+
675
+ [basicAuth](../README.md#basicAuth)
676
+
677
+ ### HTTP request headers
678
+
679
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
680
+ - **Accept**: application/json
681
+
682
+
557
683
  ## update
558
684
 
559
685
  > AsyncOperationResponse update(file_file_distribution_href, file_file_distribution)