pulpcore_client 3.17.8 → 3.18.0

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 (38) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +22 -4
  3. data/docs/AccessPolicy.md +2 -2
  4. data/docs/AccessPolicyResponse.md +2 -2
  5. data/docs/ContentRedirectContentGuard.md +19 -0
  6. data/docs/ContentRedirectContentGuardResponse.md +23 -0
  7. data/docs/ContentguardsContentRedirectApi.md +361 -0
  8. data/docs/PaginatedContentRedirectContentGuardResponseList.md +23 -0
  9. data/docs/PaginatedTaskScheduleResponseList.md +23 -0
  10. data/docs/PatchedContentRedirectContentGuard.md +19 -0
  11. data/docs/TaskScheduleResponse.md +29 -0
  12. data/docs/TaskSchedulesApi.md +368 -0
  13. data/docs/WorkerResponse.md +6 -4
  14. data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +440 -0
  15. data/lib/pulpcore_client/api/task_schedules_api.rb +441 -0
  16. data/lib/pulpcore_client/api_client.rb +4 -1
  17. data/lib/pulpcore_client/configuration.rb +0 -1
  18. data/lib/pulpcore_client/models/access_policy.rb +0 -10
  19. data/lib/pulpcore_client/models/access_policy_response.rb +0 -10
  20. data/lib/pulpcore_client/models/content_redirect_content_guard.rb +258 -0
  21. data/lib/pulpcore_client/models/content_redirect_content_guard_response.rb +243 -0
  22. data/lib/pulpcore_client/models/paginated_content_redirect_content_guard_response_list.rb +237 -0
  23. data/lib/pulpcore_client/models/paginated_task_schedule_response_list.rb +237 -0
  24. data/lib/pulpcore_client/models/patched_content_redirect_content_guard.rb +249 -0
  25. data/lib/pulpcore_client/models/task_schedule_response.rb +282 -0
  26. data/lib/pulpcore_client/models/worker_response.rb +23 -13
  27. data/lib/pulpcore_client/version.rb +1 -1
  28. data/lib/pulpcore_client.rb +8 -0
  29. data/spec/api/contentguards_content_redirect_api_spec.rb +120 -0
  30. data/spec/api/task_schedules_api_spec.rb +119 -0
  31. data/spec/models/content_redirect_content_guard_response_spec.rb +59 -0
  32. data/spec/models/content_redirect_content_guard_spec.rb +47 -0
  33. data/spec/models/paginated_content_redirect_content_guard_response_list_spec.rb +59 -0
  34. data/spec/models/paginated_task_schedule_response_list_spec.rb +59 -0
  35. data/spec/models/patched_content_redirect_content_guard_spec.rb +47 -0
  36. data/spec/models/task_schedule_response_spec.rb +77 -0
  37. data/spec/models/worker_response_spec.rb +8 -2
  38. metadata +147 -115
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dd5119febc34aeddc6624428fd5fe6f4bcbd66bd97c7afe88035dfa68ed7557b
4
- data.tar.gz: 384f5c34f6910f4ff01649bb245c84ad045abe820637896e9338080829388c42
3
+ metadata.gz: 7dd2eb078eb50a6acde3060a1bfcee292c529e6757652f739dfeabcf3574cff6
4
+ data.tar.gz: e701487eb19857b96b396de489d70e61dba5a3930183e2d2a359c24a70a2e754
5
5
  SHA512:
6
- metadata.gz: c6d7d783ab7dac63eac00ca24b15533befb6a980dd00622ce13bd24009bfa3c44118d07b73a6f9c94ea1b0d530538f81bc6596a8a6cd99c1aff01ce6628475cf
7
- data.tar.gz: 3810d8513ad2187adf9a88bd0f9cf58ff3a1cd99f408b7620b739ff771fc0838575f89cec2b91b9df526483ca5cea5b5fada116813899c33ccae2bf3a56380d0
6
+ metadata.gz: d83cf478d6c6b56a1448818aef78cf6170249067d14f55fc2e2b9ad5ae45889f15a59cd2d7895cef76fd356e38608968ca3d90cb79988aca76db143582d45bb8
7
+ data.tar.gz: d7d73c2654d5f4be176752036d1670f9c91bac351fa17a22042e67c15417d99847728c385270b90007b9093a1b4ef85289d19a9830829a3f86db25bbcdd4ca32
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: 3.17.8
10
+ - Package version: 3.18.0
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 pulpcore_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulpcore_client-3.17.8.gem
27
+ gem install ./pulpcore_client-3.18.0.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulpcore_client-3.17.8.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulpcore_client-3.18.0.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 'pulpcore_client', '~> 3.17.8'
36
+ gem 'pulpcore_client', '~> 3.18.0'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -106,6 +106,12 @@ Class | Method | HTTP request | Description
106
106
  *PulpcoreClient::ArtifactsApi* | [**read**](docs/ArtifactsApi.md#read) | **GET** {artifact_href} | Inspect an artifact
107
107
  *PulpcoreClient::ContentApi* | [**list**](docs/ContentApi.md#list) | **GET** /pulp/api/v3/content/ | List content
108
108
  *PulpcoreClient::ContentguardsApi* | [**list**](docs/ContentguardsApi.md#list) | **GET** /pulp/api/v3/contentguards/ | List content guards
109
+ *PulpcoreClient::ContentguardsContentRedirectApi* | [**create**](docs/ContentguardsContentRedirectApi.md#create) | **POST** /pulp/api/v3/contentguards/core/content_redirect/ | Create a content redirect content guard
110
+ *PulpcoreClient::ContentguardsContentRedirectApi* | [**delete**](docs/ContentguardsContentRedirectApi.md#delete) | **DELETE** {content_redirect_content_guard_href} | Delete a content redirect content guard
111
+ *PulpcoreClient::ContentguardsContentRedirectApi* | [**list**](docs/ContentguardsContentRedirectApi.md#list) | **GET** /pulp/api/v3/contentguards/core/content_redirect/ | List content redirect content guards
112
+ *PulpcoreClient::ContentguardsContentRedirectApi* | [**partial_update**](docs/ContentguardsContentRedirectApi.md#partial_update) | **PATCH** {content_redirect_content_guard_href} | Update a content redirect content guard
113
+ *PulpcoreClient::ContentguardsContentRedirectApi* | [**read**](docs/ContentguardsContentRedirectApi.md#read) | **GET** {content_redirect_content_guard_href} | Inspect a content redirect content guard
114
+ *PulpcoreClient::ContentguardsContentRedirectApi* | [**update**](docs/ContentguardsContentRedirectApi.md#update) | **PUT** {content_redirect_content_guard_href} | Update a content redirect content guard
109
115
  *PulpcoreClient::ContentguardsRbacApi* | [**add_role**](docs/ContentguardsRbacApi.md#add_role) | **POST** {r_b_a_c_content_guard_href}add_role/ |
110
116
  *PulpcoreClient::ContentguardsRbacApi* | [**create**](docs/ContentguardsRbacApi.md#create) | **POST** /pulp/api/v3/contentguards/core/rbac/ | Create a rbac content guard
111
117
  *PulpcoreClient::ContentguardsRbacApi* | [**delete**](docs/ContentguardsRbacApi.md#delete) | **DELETE** {r_b_a_c_content_guard_href} | Delete a rbac content guard
@@ -190,6 +196,12 @@ Class | Method | HTTP request | Description
190
196
  *PulpcoreClient::StatusApi* | [**status_read**](docs/StatusApi.md#status_read) | **GET** /pulp/api/v3/status/ | Inspect status of Pulp
191
197
  *PulpcoreClient::TaskGroupsApi* | [**list**](docs/TaskGroupsApi.md#list) | **GET** /pulp/api/v3/task-groups/ | List task groups
192
198
  *PulpcoreClient::TaskGroupsApi* | [**read**](docs/TaskGroupsApi.md#read) | **GET** {task_group_href} | Inspect a task group
199
+ *PulpcoreClient::TaskSchedulesApi* | [**add_role**](docs/TaskSchedulesApi.md#add_role) | **POST** {task_schedule_href}add_role/ |
200
+ *PulpcoreClient::TaskSchedulesApi* | [**list**](docs/TaskSchedulesApi.md#list) | **GET** /pulp/api/v3/task-schedules/ | List task schedules
201
+ *PulpcoreClient::TaskSchedulesApi* | [**list_roles**](docs/TaskSchedulesApi.md#list_roles) | **GET** {task_schedule_href}list_roles/ |
202
+ *PulpcoreClient::TaskSchedulesApi* | [**my_permissions**](docs/TaskSchedulesApi.md#my_permissions) | **GET** {task_schedule_href}my_permissions/ |
203
+ *PulpcoreClient::TaskSchedulesApi* | [**read**](docs/TaskSchedulesApi.md#read) | **GET** {task_schedule_href} | Inspect a task schedule
204
+ *PulpcoreClient::TaskSchedulesApi* | [**remove_role**](docs/TaskSchedulesApi.md#remove_role) | **POST** {task_schedule_href}remove_role/ |
193
205
  *PulpcoreClient::TasksApi* | [**add_role**](docs/TasksApi.md#add_role) | **POST** {task_href}add_role/ |
194
206
  *PulpcoreClient::TasksApi* | [**delete**](docs/TasksApi.md#delete) | **DELETE** {task_href} | Delete a task
195
207
  *PulpcoreClient::TasksApi* | [**list**](docs/TasksApi.md#list) | **GET** /pulp/api/v3/tasks/ | List tasks
@@ -229,6 +241,8 @@ Class | Method | HTTP request | Description
229
241
  - [PulpcoreClient::AsyncOperationResponse](docs/AsyncOperationResponse.md)
230
242
  - [PulpcoreClient::ContentAppStatusResponse](docs/ContentAppStatusResponse.md)
231
243
  - [PulpcoreClient::ContentGuardResponse](docs/ContentGuardResponse.md)
244
+ - [PulpcoreClient::ContentRedirectContentGuard](docs/ContentRedirectContentGuard.md)
245
+ - [PulpcoreClient::ContentRedirectContentGuardResponse](docs/ContentRedirectContentGuardResponse.md)
232
246
  - [PulpcoreClient::ContentSummaryResponse](docs/ContentSummaryResponse.md)
233
247
  - [PulpcoreClient::DatabaseConnectionResponse](docs/DatabaseConnectionResponse.md)
234
248
  - [PulpcoreClient::EvaluationResponse](docs/EvaluationResponse.md)
@@ -255,6 +269,7 @@ Class | Method | HTTP request | Description
255
269
  - [PulpcoreClient::PaginatedAccessPolicyResponseList](docs/PaginatedAccessPolicyResponseList.md)
256
270
  - [PulpcoreClient::PaginatedArtifactResponseList](docs/PaginatedArtifactResponseList.md)
257
271
  - [PulpcoreClient::PaginatedContentGuardResponseList](docs/PaginatedContentGuardResponseList.md)
272
+ - [PulpcoreClient::PaginatedContentRedirectContentGuardResponseList](docs/PaginatedContentRedirectContentGuardResponseList.md)
258
273
  - [PulpcoreClient::PaginatedFilesystemExportResponseList](docs/PaginatedFilesystemExportResponseList.md)
259
274
  - [PulpcoreClient::PaginatedFilesystemExporterResponseList](docs/PaginatedFilesystemExporterResponseList.md)
260
275
  - [PulpcoreClient::PaginatedGroupResponseList](docs/PaginatedGroupResponseList.md)
@@ -274,11 +289,13 @@ Class | Method | HTTP request | Description
274
289
  - [PulpcoreClient::PaginatedSigningServiceResponseList](docs/PaginatedSigningServiceResponseList.md)
275
290
  - [PulpcoreClient::PaginatedTaskGroupResponseList](docs/PaginatedTaskGroupResponseList.md)
276
291
  - [PulpcoreClient::PaginatedTaskResponseList](docs/PaginatedTaskResponseList.md)
292
+ - [PulpcoreClient::PaginatedTaskScheduleResponseList](docs/PaginatedTaskScheduleResponseList.md)
277
293
  - [PulpcoreClient::PaginatedUploadResponseList](docs/PaginatedUploadResponseList.md)
278
294
  - [PulpcoreClient::PaginatedUserResponseList](docs/PaginatedUserResponseList.md)
279
295
  - [PulpcoreClient::PaginatedUserRoleResponseList](docs/PaginatedUserRoleResponseList.md)
280
296
  - [PulpcoreClient::PaginatedWorkerResponseList](docs/PaginatedWorkerResponseList.md)
281
297
  - [PulpcoreClient::PatchedAccessPolicy](docs/PatchedAccessPolicy.md)
298
+ - [PulpcoreClient::PatchedContentRedirectContentGuard](docs/PatchedContentRedirectContentGuard.md)
282
299
  - [PulpcoreClient::PatchedFilesystemExporter](docs/PatchedFilesystemExporter.md)
283
300
  - [PulpcoreClient::PatchedGroup](docs/PatchedGroup.md)
284
301
  - [PulpcoreClient::PatchedPulpExporter](docs/PatchedPulpExporter.md)
@@ -316,6 +333,7 @@ Class | Method | HTTP request | Description
316
333
  - [PulpcoreClient::TaskGroupOperationResponse](docs/TaskGroupOperationResponse.md)
317
334
  - [PulpcoreClient::TaskGroupResponse](docs/TaskGroupResponse.md)
318
335
  - [PulpcoreClient::TaskResponse](docs/TaskResponse.md)
336
+ - [PulpcoreClient::TaskScheduleResponse](docs/TaskScheduleResponse.md)
319
337
  - [PulpcoreClient::Upload](docs/Upload.md)
320
338
  - [PulpcoreClient::UploadChunk](docs/UploadChunk.md)
321
339
  - [PulpcoreClient::UploadChunkResponse](docs/UploadChunkResponse.md)
data/docs/AccessPolicy.md CHANGED
@@ -4,8 +4,8 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **permissions_assignment** | **Array<Object>** | List of callables that define the new permissions to be created for new objects.This is deprecated. Use `creation_hooks` instead. |
8
- **creation_hooks** | **Array<Object>** | List of callables that may associate user roles for new objects. |
7
+ **permissions_assignment** | **Array<Object>** | List of callables that define the new permissions to be created for new objects.This is deprecated. Use `creation_hooks` instead. | [optional]
8
+ **creation_hooks** | **Array<Object>** | List of callables that may associate user roles for new objects. | [optional]
9
9
  **statements** | **Array<Object>** | List of policy statements defining the policy. |
10
10
 
11
11
  ## Code Sample
@@ -6,8 +6,8 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **pulp_href** | **String** | | [optional] [readonly]
8
8
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
- **permissions_assignment** | **Array<Object>** | List of callables that define the new permissions to be created for new objects.This is deprecated. Use `creation_hooks` instead. |
10
- **creation_hooks** | **Array<Object>** | List of callables that may associate user roles for new objects. |
9
+ **permissions_assignment** | **Array<Object>** | List of callables that define the new permissions to be created for new objects.This is deprecated. Use `creation_hooks` instead. | [optional]
10
+ **creation_hooks** | **Array<Object>** | List of callables that may associate user roles for new objects. | [optional]
11
11
  **statements** | **Array<Object>** | List of policy statements defining the policy. |
12
12
  **viewset_name** | **String** | The name of ViewSet this AccessPolicy authorizes. | [optional] [readonly]
13
13
  **customized** | **Boolean** | True if the AccessPolicy has been user-modified. False otherwise. | [optional] [readonly]
@@ -0,0 +1,19 @@
1
+ # PulpcoreClient::ContentRedirectContentGuard
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **name** | **String** | The unique name. |
8
+ **description** | **String** | An optional description. | [optional]
9
+
10
+ ## Code Sample
11
+
12
+ ```ruby
13
+ require 'PulpcoreClient'
14
+
15
+ instance = PulpcoreClient::ContentRedirectContentGuard.new(name: null,
16
+ description: null)
17
+ ```
18
+
19
+
@@ -0,0 +1,23 @@
1
+ # PulpcoreClient::ContentRedirectContentGuardResponse
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **name** | **String** | The unique name. |
10
+ **description** | **String** | An optional description. | [optional]
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'PulpcoreClient'
16
+
17
+ instance = PulpcoreClient::ContentRedirectContentGuardResponse.new(pulp_href: null,
18
+ pulp_created: null,
19
+ name: null,
20
+ description: null)
21
+ ```
22
+
23
+
@@ -0,0 +1,361 @@
1
+ # PulpcoreClient::ContentguardsContentRedirectApi
2
+
3
+ All URIs are relative to *https://pulp*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**create**](ContentguardsContentRedirectApi.md#create) | **POST** /pulp/api/v3/contentguards/core/content_redirect/ | Create a content redirect content guard
8
+ [**delete**](ContentguardsContentRedirectApi.md#delete) | **DELETE** {content_redirect_content_guard_href} | Delete a content redirect content guard
9
+ [**list**](ContentguardsContentRedirectApi.md#list) | **GET** /pulp/api/v3/contentguards/core/content_redirect/ | List content redirect content guards
10
+ [**partial_update**](ContentguardsContentRedirectApi.md#partial_update) | **PATCH** {content_redirect_content_guard_href} | Update a content redirect content guard
11
+ [**read**](ContentguardsContentRedirectApi.md#read) | **GET** {content_redirect_content_guard_href} | Inspect a content redirect content guard
12
+ [**update**](ContentguardsContentRedirectApi.md#update) | **PUT** {content_redirect_content_guard_href} | Update a content redirect content guard
13
+
14
+
15
+
16
+ ## create
17
+
18
+ > ContentRedirectContentGuardResponse create(content_redirect_content_guard)
19
+
20
+ Create a content redirect content guard
21
+
22
+ Content guard to protect preauthenticated redirects to the content app.
23
+
24
+ ### Example
25
+
26
+ ```ruby
27
+ # load the gem
28
+ require 'pulpcore_client'
29
+ # setup authorization
30
+ PulpcoreClient.configure do |config|
31
+ # Configure HTTP basic authorization: basicAuth
32
+ config.username = 'YOUR USERNAME'
33
+ config.password = 'YOUR PASSWORD'
34
+ end
35
+
36
+ api_instance = PulpcoreClient::ContentguardsContentRedirectApi.new
37
+ content_redirect_content_guard = PulpcoreClient::ContentRedirectContentGuard.new # ContentRedirectContentGuard |
38
+
39
+ begin
40
+ #Create a content redirect content guard
41
+ result = api_instance.create(content_redirect_content_guard)
42
+ p result
43
+ rescue PulpcoreClient::ApiError => e
44
+ puts "Exception when calling ContentguardsContentRedirectApi->create: #{e}"
45
+ end
46
+ ```
47
+
48
+ ### Parameters
49
+
50
+
51
+ Name | Type | Description | Notes
52
+ ------------- | ------------- | ------------- | -------------
53
+ **content_redirect_content_guard** | [**ContentRedirectContentGuard**](ContentRedirectContentGuard.md)| |
54
+
55
+ ### Return type
56
+
57
+ [**ContentRedirectContentGuardResponse**](ContentRedirectContentGuardResponse.md)
58
+
59
+ ### Authorization
60
+
61
+ [basicAuth](../README.md#basicAuth)
62
+
63
+ ### HTTP request headers
64
+
65
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
66
+ - **Accept**: application/json
67
+
68
+
69
+ ## delete
70
+
71
+ > delete(content_redirect_content_guard_href)
72
+
73
+ Delete a content redirect content guard
74
+
75
+ Content guard to protect preauthenticated redirects to the content app.
76
+
77
+ ### Example
78
+
79
+ ```ruby
80
+ # load the gem
81
+ require 'pulpcore_client'
82
+ # setup authorization
83
+ PulpcoreClient.configure do |config|
84
+ # Configure HTTP basic authorization: basicAuth
85
+ config.username = 'YOUR USERNAME'
86
+ config.password = 'YOUR PASSWORD'
87
+ end
88
+
89
+ api_instance = PulpcoreClient::ContentguardsContentRedirectApi.new
90
+ content_redirect_content_guard_href = 'content_redirect_content_guard_href_example' # String |
91
+
92
+ begin
93
+ #Delete a content redirect content guard
94
+ api_instance.delete(content_redirect_content_guard_href)
95
+ rescue PulpcoreClient::ApiError => e
96
+ puts "Exception when calling ContentguardsContentRedirectApi->delete: #{e}"
97
+ end
98
+ ```
99
+
100
+ ### Parameters
101
+
102
+
103
+ Name | Type | Description | Notes
104
+ ------------- | ------------- | ------------- | -------------
105
+ **content_redirect_content_guard_href** | **String**| |
106
+
107
+ ### Return type
108
+
109
+ nil (empty response body)
110
+
111
+ ### Authorization
112
+
113
+ [basicAuth](../README.md#basicAuth)
114
+
115
+ ### HTTP request headers
116
+
117
+ - **Content-Type**: Not defined
118
+ - **Accept**: Not defined
119
+
120
+
121
+ ## list
122
+
123
+ > PaginatedContentRedirectContentGuardResponseList list(opts)
124
+
125
+ List content redirect content guards
126
+
127
+ Content guard to protect preauthenticated redirects to the content app.
128
+
129
+ ### Example
130
+
131
+ ```ruby
132
+ # load the gem
133
+ require 'pulpcore_client'
134
+ # setup authorization
135
+ PulpcoreClient.configure do |config|
136
+ # Configure HTTP basic authorization: basicAuth
137
+ config.username = 'YOUR USERNAME'
138
+ config.password = 'YOUR PASSWORD'
139
+ end
140
+
141
+ api_instance = PulpcoreClient::ContentguardsContentRedirectApi.new
142
+ opts = {
143
+ limit: 56, # Integer | Number of results to return per page.
144
+ name: 'name_example', # String |
145
+ name__contains: 'name__contains_example', # String | Filter results where name contains value
146
+ name__icontains: 'name__icontains_example', # String | Filter results where name contains value
147
+ name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
148
+ name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
149
+ offset: 56, # Integer | The initial index from which to return the results.
150
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
151
+ fields: 'fields_example', # String | A list of fields to include in the response.
152
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
153
+ }
154
+
155
+ begin
156
+ #List content redirect content guards
157
+ result = api_instance.list(opts)
158
+ p result
159
+ rescue PulpcoreClient::ApiError => e
160
+ puts "Exception when calling ContentguardsContentRedirectApi->list: #{e}"
161
+ end
162
+ ```
163
+
164
+ ### Parameters
165
+
166
+
167
+ Name | Type | Description | Notes
168
+ ------------- | ------------- | ------------- | -------------
169
+ **limit** | **Integer**| Number of results to return per page. | [optional]
170
+ **name** | **String**| | [optional]
171
+ **name__contains** | **String**| Filter results where name contains value | [optional]
172
+ **name__icontains** | **String**| Filter results where name contains value | [optional]
173
+ **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
174
+ **name__startswith** | **String**| Filter results where name starts with value | [optional]
175
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
176
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
177
+ **fields** | **String**| A list of fields to include in the response. | [optional]
178
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
179
+
180
+ ### Return type
181
+
182
+ [**PaginatedContentRedirectContentGuardResponseList**](PaginatedContentRedirectContentGuardResponseList.md)
183
+
184
+ ### Authorization
185
+
186
+ [basicAuth](../README.md#basicAuth)
187
+
188
+ ### HTTP request headers
189
+
190
+ - **Content-Type**: Not defined
191
+ - **Accept**: application/json
192
+
193
+
194
+ ## partial_update
195
+
196
+ > ContentRedirectContentGuardResponse partial_update(content_redirect_content_guard_href, patched_content_redirect_content_guard)
197
+
198
+ Update a content redirect content guard
199
+
200
+ Content guard to protect preauthenticated redirects to the content app.
201
+
202
+ ### Example
203
+
204
+ ```ruby
205
+ # load the gem
206
+ require 'pulpcore_client'
207
+ # setup authorization
208
+ PulpcoreClient.configure do |config|
209
+ # Configure HTTP basic authorization: basicAuth
210
+ config.username = 'YOUR USERNAME'
211
+ config.password = 'YOUR PASSWORD'
212
+ end
213
+
214
+ api_instance = PulpcoreClient::ContentguardsContentRedirectApi.new
215
+ content_redirect_content_guard_href = 'content_redirect_content_guard_href_example' # String |
216
+ patched_content_redirect_content_guard = PulpcoreClient::PatchedContentRedirectContentGuard.new # PatchedContentRedirectContentGuard |
217
+
218
+ begin
219
+ #Update a content redirect content guard
220
+ result = api_instance.partial_update(content_redirect_content_guard_href, patched_content_redirect_content_guard)
221
+ p result
222
+ rescue PulpcoreClient::ApiError => e
223
+ puts "Exception when calling ContentguardsContentRedirectApi->partial_update: #{e}"
224
+ end
225
+ ```
226
+
227
+ ### Parameters
228
+
229
+
230
+ Name | Type | Description | Notes
231
+ ------------- | ------------- | ------------- | -------------
232
+ **content_redirect_content_guard_href** | **String**| |
233
+ **patched_content_redirect_content_guard** | [**PatchedContentRedirectContentGuard**](PatchedContentRedirectContentGuard.md)| |
234
+
235
+ ### Return type
236
+
237
+ [**ContentRedirectContentGuardResponse**](ContentRedirectContentGuardResponse.md)
238
+
239
+ ### Authorization
240
+
241
+ [basicAuth](../README.md#basicAuth)
242
+
243
+ ### HTTP request headers
244
+
245
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
246
+ - **Accept**: application/json
247
+
248
+
249
+ ## read
250
+
251
+ > ContentRedirectContentGuardResponse read(content_redirect_content_guard_href, opts)
252
+
253
+ Inspect a content redirect content guard
254
+
255
+ Content guard to protect preauthenticated redirects to the content app.
256
+
257
+ ### Example
258
+
259
+ ```ruby
260
+ # load the gem
261
+ require 'pulpcore_client'
262
+ # setup authorization
263
+ PulpcoreClient.configure do |config|
264
+ # Configure HTTP basic authorization: basicAuth
265
+ config.username = 'YOUR USERNAME'
266
+ config.password = 'YOUR PASSWORD'
267
+ end
268
+
269
+ api_instance = PulpcoreClient::ContentguardsContentRedirectApi.new
270
+ content_redirect_content_guard_href = 'content_redirect_content_guard_href_example' # String |
271
+ opts = {
272
+ fields: 'fields_example', # String | A list of fields to include in the response.
273
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
274
+ }
275
+
276
+ begin
277
+ #Inspect a content redirect content guard
278
+ result = api_instance.read(content_redirect_content_guard_href, opts)
279
+ p result
280
+ rescue PulpcoreClient::ApiError => e
281
+ puts "Exception when calling ContentguardsContentRedirectApi->read: #{e}"
282
+ end
283
+ ```
284
+
285
+ ### Parameters
286
+
287
+
288
+ Name | Type | Description | Notes
289
+ ------------- | ------------- | ------------- | -------------
290
+ **content_redirect_content_guard_href** | **String**| |
291
+ **fields** | **String**| A list of fields to include in the response. | [optional]
292
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
293
+
294
+ ### Return type
295
+
296
+ [**ContentRedirectContentGuardResponse**](ContentRedirectContentGuardResponse.md)
297
+
298
+ ### Authorization
299
+
300
+ [basicAuth](../README.md#basicAuth)
301
+
302
+ ### HTTP request headers
303
+
304
+ - **Content-Type**: Not defined
305
+ - **Accept**: application/json
306
+
307
+
308
+ ## update
309
+
310
+ > ContentRedirectContentGuardResponse update(content_redirect_content_guard_href, content_redirect_content_guard)
311
+
312
+ Update a content redirect content guard
313
+
314
+ Content guard to protect preauthenticated redirects to the content app.
315
+
316
+ ### Example
317
+
318
+ ```ruby
319
+ # load the gem
320
+ require 'pulpcore_client'
321
+ # setup authorization
322
+ PulpcoreClient.configure do |config|
323
+ # Configure HTTP basic authorization: basicAuth
324
+ config.username = 'YOUR USERNAME'
325
+ config.password = 'YOUR PASSWORD'
326
+ end
327
+
328
+ api_instance = PulpcoreClient::ContentguardsContentRedirectApi.new
329
+ content_redirect_content_guard_href = 'content_redirect_content_guard_href_example' # String |
330
+ content_redirect_content_guard = PulpcoreClient::ContentRedirectContentGuard.new # ContentRedirectContentGuard |
331
+
332
+ begin
333
+ #Update a content redirect content guard
334
+ result = api_instance.update(content_redirect_content_guard_href, content_redirect_content_guard)
335
+ p result
336
+ rescue PulpcoreClient::ApiError => e
337
+ puts "Exception when calling ContentguardsContentRedirectApi->update: #{e}"
338
+ end
339
+ ```
340
+
341
+ ### Parameters
342
+
343
+
344
+ Name | Type | Description | Notes
345
+ ------------- | ------------- | ------------- | -------------
346
+ **content_redirect_content_guard_href** | **String**| |
347
+ **content_redirect_content_guard** | [**ContentRedirectContentGuard**](ContentRedirectContentGuard.md)| |
348
+
349
+ ### Return type
350
+
351
+ [**ContentRedirectContentGuardResponse**](ContentRedirectContentGuardResponse.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
+
@@ -0,0 +1,23 @@
1
+ # PulpcoreClient::PaginatedContentRedirectContentGuardResponseList
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **count** | **Integer** | | [optional]
8
+ **_next** | **String** | | [optional]
9
+ **previous** | **String** | | [optional]
10
+ **results** | [**Array&lt;ContentRedirectContentGuardResponse&gt;**](ContentRedirectContentGuardResponse.md) | | [optional]
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'PulpcoreClient'
16
+
17
+ instance = PulpcoreClient::PaginatedContentRedirectContentGuardResponseList.new(count: 123,
18
+ _next: http://api.example.org/accounts/?offset&#x3D;400&amp;limit&#x3D;100,
19
+ previous: http://api.example.org/accounts/?offset&#x3D;200&amp;limit&#x3D;100,
20
+ results: null)
21
+ ```
22
+
23
+
@@ -0,0 +1,23 @@
1
+ # PulpcoreClient::PaginatedTaskScheduleResponseList
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **count** | **Integer** | | [optional]
8
+ **_next** | **String** | | [optional]
9
+ **previous** | **String** | | [optional]
10
+ **results** | [**Array&lt;TaskScheduleResponse&gt;**](TaskScheduleResponse.md) | | [optional]
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'PulpcoreClient'
16
+
17
+ instance = PulpcoreClient::PaginatedTaskScheduleResponseList.new(count: 123,
18
+ _next: http://api.example.org/accounts/?offset&#x3D;400&amp;limit&#x3D;100,
19
+ previous: http://api.example.org/accounts/?offset&#x3D;200&amp;limit&#x3D;100,
20
+ results: null)
21
+ ```
22
+
23
+
@@ -0,0 +1,19 @@
1
+ # PulpcoreClient::PatchedContentRedirectContentGuard
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **name** | **String** | The unique name. | [optional]
8
+ **description** | **String** | An optional description. | [optional]
9
+
10
+ ## Code Sample
11
+
12
+ ```ruby
13
+ require 'PulpcoreClient'
14
+
15
+ instance = PulpcoreClient::PatchedContentRedirectContentGuard.new(name: null,
16
+ description: null)
17
+ ```
18
+
19
+
@@ -0,0 +1,29 @@
1
+ # PulpcoreClient::TaskScheduleResponse
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **name** | **String** | The name of the task schedule. |
10
+ **task_name** | **String** | The name of the task to be scheduled. |
11
+ **dispatch_interval** | **String** | Periodicity of the schedule. |
12
+ **next_dispatch** | **DateTime** | Timestamp of the next time the task will be dispatched. | [optional] [readonly]
13
+ **last_task** | **String** | The last task dispatched by this schedule. | [optional] [readonly]
14
+
15
+ ## Code Sample
16
+
17
+ ```ruby
18
+ require 'PulpcoreClient'
19
+
20
+ instance = PulpcoreClient::TaskScheduleResponse.new(pulp_href: null,
21
+ pulp_created: null,
22
+ name: null,
23
+ task_name: null,
24
+ dispatch_interval: null,
25
+ next_dispatch: null,
26
+ last_task: null)
27
+ ```
28
+
29
+