pulpcore_client 3.21.32 → 3.22.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +147 -143
- data/docs/AccessPoliciesApi.md +28 -28
- data/docs/ArtifactDistributionResponse.md +29 -0
- data/docs/ArtifactsApi.md +21 -21
- data/docs/ContentApi.md +6 -6
- data/docs/ContentSettingsResponse.md +19 -0
- data/docs/ContentguardsApi.md +8 -8
- data/docs/ContentguardsContentRedirectApi.md +53 -53
- data/docs/ContentguardsRbacApi.md +53 -53
- data/docs/DistributionResponse.md +1 -1
- data/docs/DistributionsApi.md +11 -11
- data/docs/DistributionsArtifactsApi.md +154 -0
- data/docs/ExportersFilesystemApi.md +33 -33
- data/docs/ExportersFilesystemExportsApi.md +21 -21
- data/docs/ExportersPulpApi.md +33 -33
- data/docs/ExportersPulpExportsApi.md +21 -21
- data/docs/FilesystemExport.md +1 -3
- data/docs/GroupsApi.md +51 -51
- data/docs/GroupsRolesApi.md +21 -21
- data/docs/GroupsUsersApi.md +16 -16
- data/docs/ImportersPulpApi.md +33 -33
- data/docs/ImportersPulpImportCheckApi.md +1 -1
- data/docs/ImportersPulpImportsApi.md +21 -21
- data/docs/OrphansApi.md +6 -6
- data/docs/OrphansCleanupApi.md +6 -6
- data/docs/PaginatedArtifactDistributionResponseList.md +23 -0
- data/docs/PublicationsApi.md +8 -8
- data/docs/RemoteResponse.md +4 -2
- data/docs/RemoteResponseHiddenFields.md +19 -0
- data/docs/RemotesApi.md +10 -10
- data/docs/RepairApi.md +6 -6
- data/docs/RepositoriesApi.md +9 -9
- data/docs/RepositoriesReclaimSpaceApi.md +6 -6
- data/docs/RepositoryResponse.md +1 -1
- data/docs/RepositoryVersionsApi.md +10 -10
- data/docs/RolesApi.md +31 -31
- data/docs/SigningServicesApi.md +15 -13
- data/docs/StatusApi.md +1 -1
- data/docs/StatusResponse.md +3 -1
- data/docs/TaskGroupsApi.md +11 -13
- data/docs/TaskSchedulesApi.md +35 -35
- data/docs/TasksApi.md +128 -114
- data/docs/UploadsApi.md +61 -51
- data/docs/UserResponse.md +3 -1
- data/docs/UsersApi.md +31 -31
- data/docs/UsersRolesApi.md +21 -21
- data/docs/WorkersApi.md +15 -15
- data/lib/pulpcore_client/api/access_policies_api.rb +34 -34
- data/lib/pulpcore_client/api/artifacts_api.rb +30 -30
- data/lib/pulpcore_client/api/content_api.rb +5 -5
- data/lib/pulpcore_client/api/contentguards_api.rb +8 -8
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +66 -66
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +66 -66
- data/lib/pulpcore_client/api/distributions_api.rb +12 -12
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +198 -0
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +40 -40
- data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +25 -25
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +40 -40
- data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +25 -25
- data/lib/pulpcore_client/api/groups_api.rb +64 -64
- data/lib/pulpcore_client/api/groups_roles_api.rb +25 -25
- data/lib/pulpcore_client/api/groups_users_api.rb +19 -19
- data/lib/pulpcore_client/api/importers_pulp_api.rb +40 -40
- data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +25 -25
- data/lib/pulpcore_client/api/orphans_api.rb +5 -5
- data/lib/pulpcore_client/api/orphans_cleanup_api.rb +6 -6
- data/lib/pulpcore_client/api/publications_api.rb +8 -8
- data/lib/pulpcore_client/api/remotes_api.rb +10 -10
- data/lib/pulpcore_client/api/repair_api.rb +6 -6
- data/lib/pulpcore_client/api/repositories_api.rb +8 -8
- data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +6 -6
- data/lib/pulpcore_client/api/repository_versions_api.rb +10 -10
- data/lib/pulpcore_client/api/roles_api.rb +38 -38
- data/lib/pulpcore_client/api/signing_services_api.rb +20 -13
- data/lib/pulpcore_client/api/task_groups_api.rb +11 -18
- data/lib/pulpcore_client/api/task_schedules_api.rb +42 -42
- data/lib/pulpcore_client/api/tasks_api.rb +159 -138
- data/lib/pulpcore_client/api/uploads_api.rb +84 -65
- data/lib/pulpcore_client/api/users_api.rb +38 -38
- data/lib/pulpcore_client/api/users_roles_api.rb +25 -25
- data/lib/pulpcore_client/api/workers_api.rb +16 -16
- data/lib/pulpcore_client/configuration.rb +3 -3
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +279 -0
- data/lib/pulpcore_client/models/content_settings_response.rb +228 -0
- data/lib/pulpcore_client/models/distribution_response.rb +4 -2
- data/lib/pulpcore_client/models/filesystem_export.rb +4 -14
- data/lib/pulpcore_client/models/group_role.rb +19 -0
- data/lib/pulpcore_client/models/paginated_artifact_distribution_response_list.rb +237 -0
- data/lib/pulpcore_client/models/remote_response.rb +41 -27
- data/lib/pulpcore_client/models/remote_response_hidden_fields.rb +215 -0
- data/lib/pulpcore_client/models/repository_response.rb +4 -2
- data/lib/pulpcore_client/models/status_response.rb +19 -4
- data/lib/pulpcore_client/models/user_response.rb +16 -4
- data/lib/pulpcore_client/models/user_role.rb +19 -0
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +5 -2
- data/spec/api/access_policies_api_spec.rb +11 -11
- data/spec/api/artifacts_api_spec.rb +8 -8
- data/spec/api/content_api_spec.rb +2 -2
- data/spec/api/contentguards_api_spec.rb +3 -3
- data/spec/api/contentguards_content_redirect_api_spec.rb +21 -21
- data/spec/api/contentguards_rbac_api_spec.rb +21 -21
- data/spec/api/distributions_api_spec.rb +5 -5
- data/spec/api/distributions_artifacts_api_spec.rb +76 -0
- data/spec/api/exporters_filesystem_api_spec.rb +13 -13
- data/spec/api/exporters_filesystem_exports_api_spec.rb +8 -8
- data/spec/api/exporters_pulp_api_spec.rb +13 -13
- data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
- data/spec/api/groups_api_spec.rb +20 -20
- data/spec/api/groups_roles_api_spec.rb +8 -8
- data/spec/api/groups_users_api_spec.rb +6 -6
- data/spec/api/importers_pulp_api_spec.rb +13 -13
- data/spec/api/importers_pulp_imports_api_spec.rb +8 -8
- data/spec/api/orphans_api_spec.rb +2 -2
- data/spec/api/orphans_cleanup_api_spec.rb +2 -2
- data/spec/api/publications_api_spec.rb +3 -3
- data/spec/api/remotes_api_spec.rb +4 -4
- data/spec/api/repair_api_spec.rb +2 -2
- data/spec/api/repositories_api_spec.rb +3 -3
- data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
- data/spec/api/repository_versions_api_spec.rb +4 -4
- data/spec/api/roles_api_spec.rb +12 -12
- data/spec/api/signing_services_api_spec.rb +6 -5
- data/spec/api/task_groups_api_spec.rb +4 -5
- data/spec/api/task_schedules_api_spec.rb +14 -14
- data/spec/api/tasks_api_spec.rb +45 -38
- data/spec/api/uploads_api_spec.rb +25 -20
- data/spec/api/users_api_spec.rb +12 -12
- data/spec/api/users_roles_api_spec.rb +8 -8
- data/spec/api/workers_api_spec.rb +6 -6
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_distribution_response_spec.rb +77 -0
- data/spec/models/content_settings_response_spec.rb +47 -0
- data/spec/models/filesystem_export_spec.rb +0 -6
- data/spec/models/paginated_artifact_distribution_response_list_spec.rb +59 -0
- data/spec/models/remote_response_hidden_fields_spec.rb +47 -0
- data/spec/models/remote_response_spec.rb +6 -0
- data/spec/models/status_response_spec.rb +6 -0
- data/spec/models/user_response_spec.rb +6 -0
- metadata +162 -150
- data/docs/DocsApiJsonApi.md +0 -61
- data/docs/DocsApiYamlApi.md +0 -61
- data/lib/pulpcore_client/api/docs_api_json_api.rb +0 -89
- data/lib/pulpcore_client/api/docs_api_yaml_api.rb +0 -89
- data/spec/api/docs_api_json_api_spec.rb +0 -48
- data/spec/api/docs_api_yaml_api_spec.rb +0 -48
@@ -0,0 +1,29 @@
|
|
1
|
+
# PulpcoreClient::ArtifactDistributionResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**content_guard** | **String** | An optional content-guard. | [optional]
|
8
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
9
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
10
|
+
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
11
|
+
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
12
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
13
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
14
|
+
|
15
|
+
## Code Sample
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'PulpcoreClient'
|
19
|
+
|
20
|
+
instance = PulpcoreClient::ArtifactDistributionResponse.new(content_guard: null,
|
21
|
+
pulp_labels: null,
|
22
|
+
pulp_created: null,
|
23
|
+
base_path: null,
|
24
|
+
base_url: null,
|
25
|
+
pulp_href: null,
|
26
|
+
name: null)
|
27
|
+
```
|
28
|
+
|
29
|
+
|
data/docs/ArtifactsApi.md
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
# PulpcoreClient::ArtifactsApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *https://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**
|
8
|
-
[**
|
9
|
-
[**
|
10
|
-
[**
|
7
|
+
[**create**](ArtifactsApi.md#create) | **POST** /pulp/api/v3/artifacts/ | Create an artifact
|
8
|
+
[**delete**](ArtifactsApi.md#delete) | **DELETE** {artifact_href} | Delete an artifact
|
9
|
+
[**list**](ArtifactsApi.md#list) | **GET** /pulp/api/v3/artifacts/ | List artifacts
|
10
|
+
[**read**](ArtifactsApi.md#read) | **GET** {artifact_href} | Inspect an artifact
|
11
11
|
|
12
12
|
|
13
13
|
|
14
|
-
##
|
14
|
+
## create
|
15
15
|
|
16
|
-
> ArtifactResponse
|
16
|
+
> ArtifactResponse create(file, opts)
|
17
17
|
|
18
18
|
Create an artifact
|
19
19
|
|
@@ -45,10 +45,10 @@ opts = {
|
|
45
45
|
|
46
46
|
begin
|
47
47
|
#Create an artifact
|
48
|
-
result = api_instance.
|
48
|
+
result = api_instance.create(file, opts)
|
49
49
|
p result
|
50
50
|
rescue PulpcoreClient::ApiError => e
|
51
|
-
puts "Exception when calling ArtifactsApi->
|
51
|
+
puts "Exception when calling ArtifactsApi->create: #{e}"
|
52
52
|
end
|
53
53
|
```
|
54
54
|
|
@@ -80,9 +80,9 @@ Name | Type | Description | Notes
|
|
80
80
|
- **Accept**: application/json
|
81
81
|
|
82
82
|
|
83
|
-
##
|
83
|
+
## delete
|
84
84
|
|
85
|
-
>
|
85
|
+
> delete(artifact_href)
|
86
86
|
|
87
87
|
Delete an artifact
|
88
88
|
|
@@ -105,9 +105,9 @@ artifact_href = 'artifact_href_example' # String |
|
|
105
105
|
|
106
106
|
begin
|
107
107
|
#Delete an artifact
|
108
|
-
api_instance.
|
108
|
+
api_instance.delete(artifact_href)
|
109
109
|
rescue PulpcoreClient::ApiError => e
|
110
|
-
puts "Exception when calling ArtifactsApi->
|
110
|
+
puts "Exception when calling ArtifactsApi->delete: #{e}"
|
111
111
|
end
|
112
112
|
```
|
113
113
|
|
@@ -132,9 +132,9 @@ nil (empty response body)
|
|
132
132
|
- **Accept**: Not defined
|
133
133
|
|
134
134
|
|
135
|
-
##
|
135
|
+
## list
|
136
136
|
|
137
|
-
> PaginatedArtifactResponseList
|
137
|
+
> PaginatedArtifactResponseList list(opts)
|
138
138
|
|
139
139
|
List artifacts
|
140
140
|
|
@@ -170,10 +170,10 @@ opts = {
|
|
170
170
|
|
171
171
|
begin
|
172
172
|
#List artifacts
|
173
|
-
result = api_instance.
|
173
|
+
result = api_instance.list(opts)
|
174
174
|
p result
|
175
175
|
rescue PulpcoreClient::ApiError => e
|
176
|
-
puts "Exception when calling ArtifactsApi->
|
176
|
+
puts "Exception when calling ArtifactsApi->list: #{e}"
|
177
177
|
end
|
178
178
|
```
|
179
179
|
|
@@ -209,9 +209,9 @@ Name | Type | Description | Notes
|
|
209
209
|
- **Accept**: application/json
|
210
210
|
|
211
211
|
|
212
|
-
##
|
212
|
+
## read
|
213
213
|
|
214
|
-
> ArtifactResponse
|
214
|
+
> ArtifactResponse read(artifact_href, opts)
|
215
215
|
|
216
216
|
Inspect an artifact
|
217
217
|
|
@@ -238,10 +238,10 @@ opts = {
|
|
238
238
|
|
239
239
|
begin
|
240
240
|
#Inspect an artifact
|
241
|
-
result = api_instance.
|
241
|
+
result = api_instance.read(artifact_href, opts)
|
242
242
|
p result
|
243
243
|
rescue PulpcoreClient::ApiError => e
|
244
|
-
puts "Exception when calling ArtifactsApi->
|
244
|
+
puts "Exception when calling ArtifactsApi->read: #{e}"
|
245
245
|
end
|
246
246
|
```
|
247
247
|
|
data/docs/ContentApi.md
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
# PulpcoreClient::ContentApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *https://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**
|
7
|
+
[**list**](ContentApi.md#list) | **GET** /pulp/api/v3/content/ | List content
|
8
8
|
|
9
9
|
|
10
10
|
|
11
|
-
##
|
11
|
+
## list
|
12
12
|
|
13
|
-
> PaginatedMultipleArtifactContentResponseList
|
13
|
+
> PaginatedMultipleArtifactContentResponseList list(opts)
|
14
14
|
|
15
15
|
List content
|
16
16
|
|
@@ -42,10 +42,10 @@ opts = {
|
|
42
42
|
|
43
43
|
begin
|
44
44
|
#List content
|
45
|
-
result = api_instance.
|
45
|
+
result = api_instance.list(opts)
|
46
46
|
p result
|
47
47
|
rescue PulpcoreClient::ApiError => e
|
48
|
-
puts "Exception when calling ContentApi->
|
48
|
+
puts "Exception when calling ContentApi->list: #{e}"
|
49
49
|
end
|
50
50
|
```
|
51
51
|
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# PulpcoreClient::ContentSettingsResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**content_origin** | **String** | The CONTENT_ORIGIN setting for this Pulp instance |
|
8
|
+
**content_path_prefix** | **String** | The CONTENT_PATH_PREFIX setting for this Pulp instance |
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'PulpcoreClient'
|
14
|
+
|
15
|
+
instance = PulpcoreClient::ContentSettingsResponse.new(content_origin: null,
|
16
|
+
content_path_prefix: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
data/docs/ContentguardsApi.md
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
# PulpcoreClient::ContentguardsApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *https://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**
|
7
|
+
[**list**](ContentguardsApi.md#list) | **GET** /pulp/api/v3/contentguards/ | List content guards
|
8
8
|
|
9
9
|
|
10
10
|
|
11
|
-
##
|
11
|
+
## list
|
12
12
|
|
13
|
-
> PaginatedContentGuardResponseList
|
13
|
+
> PaginatedContentGuardResponseList list(opts)
|
14
14
|
|
15
15
|
List content guards
|
16
16
|
|
@@ -31,7 +31,7 @@ end
|
|
31
31
|
api_instance = PulpcoreClient::ContentguardsApi.new
|
32
32
|
opts = {
|
33
33
|
limit: 56, # Integer | Number of results to return per page.
|
34
|
-
name: 'name_example', # String |
|
34
|
+
name: 'name_example', # String | Filter results where name matches value
|
35
35
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
36
36
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
37
37
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
@@ -44,10 +44,10 @@ opts = {
|
|
44
44
|
|
45
45
|
begin
|
46
46
|
#List content guards
|
47
|
-
result = api_instance.
|
47
|
+
result = api_instance.list(opts)
|
48
48
|
p result
|
49
49
|
rescue PulpcoreClient::ApiError => e
|
50
|
-
puts "Exception when calling ContentguardsApi->
|
50
|
+
puts "Exception when calling ContentguardsApi->list: #{e}"
|
51
51
|
end
|
52
52
|
```
|
53
53
|
|
@@ -57,7 +57,7 @@ end
|
|
57
57
|
Name | Type | Description | Notes
|
58
58
|
------------- | ------------- | ------------- | -------------
|
59
59
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
60
|
-
**name** | **String**|
|
60
|
+
**name** | **String**| Filter results where name matches value | [optional]
|
61
61
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
62
62
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
63
63
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
@@ -1,25 +1,25 @@
|
|
1
1
|
# PulpcoreClient::ContentguardsContentRedirectApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *https://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**
|
8
|
-
[**
|
9
|
-
[**
|
10
|
-
[**
|
11
|
-
[**
|
12
|
-
[**
|
13
|
-
[**
|
14
|
-
[**
|
15
|
-
[**
|
16
|
-
[**
|
7
|
+
[**add_role**](ContentguardsContentRedirectApi.md#add_role) | **POST** {content_redirect_content_guard_href}add_role/ |
|
8
|
+
[**create**](ContentguardsContentRedirectApi.md#create) | **POST** /pulp/api/v3/contentguards/core/content_redirect/ | Create a content redirect content guard
|
9
|
+
[**delete**](ContentguardsContentRedirectApi.md#delete) | **DELETE** {content_redirect_content_guard_href} | Delete a content redirect content guard
|
10
|
+
[**list**](ContentguardsContentRedirectApi.md#list) | **GET** /pulp/api/v3/contentguards/core/content_redirect/ | List content redirect content guards
|
11
|
+
[**list_roles**](ContentguardsContentRedirectApi.md#list_roles) | **GET** {content_redirect_content_guard_href}list_roles/ |
|
12
|
+
[**my_permissions**](ContentguardsContentRedirectApi.md#my_permissions) | **GET** {content_redirect_content_guard_href}my_permissions/ |
|
13
|
+
[**partial_update**](ContentguardsContentRedirectApi.md#partial_update) | **PATCH** {content_redirect_content_guard_href} | Update a content redirect content guard
|
14
|
+
[**read**](ContentguardsContentRedirectApi.md#read) | **GET** {content_redirect_content_guard_href} | Inspect a content redirect content guard
|
15
|
+
[**remove_role**](ContentguardsContentRedirectApi.md#remove_role) | **POST** {content_redirect_content_guard_href}remove_role/ |
|
16
|
+
[**update**](ContentguardsContentRedirectApi.md#update) | **PUT** {content_redirect_content_guard_href} | Update a content redirect content guard
|
17
17
|
|
18
18
|
|
19
19
|
|
20
|
-
##
|
20
|
+
## add_role
|
21
21
|
|
22
|
-
> NestedRoleResponse
|
22
|
+
> NestedRoleResponse add_role(content_redirect_content_guard_href, nested_role)
|
23
23
|
|
24
24
|
|
25
25
|
|
@@ -42,10 +42,10 @@ content_redirect_content_guard_href = 'content_redirect_content_guard_href_examp
|
|
42
42
|
nested_role = PulpcoreClient::NestedRole.new # NestedRole |
|
43
43
|
|
44
44
|
begin
|
45
|
-
result = api_instance.
|
45
|
+
result = api_instance.add_role(content_redirect_content_guard_href, nested_role)
|
46
46
|
p result
|
47
47
|
rescue PulpcoreClient::ApiError => e
|
48
|
-
puts "Exception when calling ContentguardsContentRedirectApi->
|
48
|
+
puts "Exception when calling ContentguardsContentRedirectApi->add_role: #{e}"
|
49
49
|
end
|
50
50
|
```
|
51
51
|
|
@@ -71,9 +71,9 @@ Name | Type | Description | Notes
|
|
71
71
|
- **Accept**: application/json
|
72
72
|
|
73
73
|
|
74
|
-
##
|
74
|
+
## create
|
75
75
|
|
76
|
-
> ContentRedirectContentGuardResponse
|
76
|
+
> ContentRedirectContentGuardResponse create(content_redirect_content_guard)
|
77
77
|
|
78
78
|
Create a content redirect content guard
|
79
79
|
|
@@ -96,10 +96,10 @@ content_redirect_content_guard = PulpcoreClient::ContentRedirectContentGuard.new
|
|
96
96
|
|
97
97
|
begin
|
98
98
|
#Create a content redirect content guard
|
99
|
-
result = api_instance.
|
99
|
+
result = api_instance.create(content_redirect_content_guard)
|
100
100
|
p result
|
101
101
|
rescue PulpcoreClient::ApiError => e
|
102
|
-
puts "Exception when calling ContentguardsContentRedirectApi->
|
102
|
+
puts "Exception when calling ContentguardsContentRedirectApi->create: #{e}"
|
103
103
|
end
|
104
104
|
```
|
105
105
|
|
@@ -124,9 +124,9 @@ Name | Type | Description | Notes
|
|
124
124
|
- **Accept**: application/json
|
125
125
|
|
126
126
|
|
127
|
-
##
|
127
|
+
## delete
|
128
128
|
|
129
|
-
>
|
129
|
+
> delete(content_redirect_content_guard_href)
|
130
130
|
|
131
131
|
Delete a content redirect content guard
|
132
132
|
|
@@ -149,9 +149,9 @@ content_redirect_content_guard_href = 'content_redirect_content_guard_href_examp
|
|
149
149
|
|
150
150
|
begin
|
151
151
|
#Delete a content redirect content guard
|
152
|
-
api_instance.
|
152
|
+
api_instance.delete(content_redirect_content_guard_href)
|
153
153
|
rescue PulpcoreClient::ApiError => e
|
154
|
-
puts "Exception when calling ContentguardsContentRedirectApi->
|
154
|
+
puts "Exception when calling ContentguardsContentRedirectApi->delete: #{e}"
|
155
155
|
end
|
156
156
|
```
|
157
157
|
|
@@ -176,9 +176,9 @@ nil (empty response body)
|
|
176
176
|
- **Accept**: Not defined
|
177
177
|
|
178
178
|
|
179
|
-
##
|
179
|
+
## list
|
180
180
|
|
181
|
-
> PaginatedContentRedirectContentGuardResponseList
|
181
|
+
> PaginatedContentRedirectContentGuardResponseList list(opts)
|
182
182
|
|
183
183
|
List content redirect content guards
|
184
184
|
|
@@ -199,7 +199,7 @@ end
|
|
199
199
|
api_instance = PulpcoreClient::ContentguardsContentRedirectApi.new
|
200
200
|
opts = {
|
201
201
|
limit: 56, # Integer | Number of results to return per page.
|
202
|
-
name: 'name_example', # String |
|
202
|
+
name: 'name_example', # String | Filter results where name matches value
|
203
203
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
204
204
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
205
205
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
@@ -212,10 +212,10 @@ opts = {
|
|
212
212
|
|
213
213
|
begin
|
214
214
|
#List content redirect content guards
|
215
|
-
result = api_instance.
|
215
|
+
result = api_instance.list(opts)
|
216
216
|
p result
|
217
217
|
rescue PulpcoreClient::ApiError => e
|
218
|
-
puts "Exception when calling ContentguardsContentRedirectApi->
|
218
|
+
puts "Exception when calling ContentguardsContentRedirectApi->list: #{e}"
|
219
219
|
end
|
220
220
|
```
|
221
221
|
|
@@ -225,7 +225,7 @@ end
|
|
225
225
|
Name | Type | Description | Notes
|
226
226
|
------------- | ------------- | ------------- | -------------
|
227
227
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
228
|
-
**name** | **String**|
|
228
|
+
**name** | **String**| Filter results where name matches value | [optional]
|
229
229
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
230
230
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
231
231
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
@@ -249,9 +249,9 @@ Name | Type | Description | Notes
|
|
249
249
|
- **Accept**: application/json
|
250
250
|
|
251
251
|
|
252
|
-
##
|
252
|
+
## list_roles
|
253
253
|
|
254
|
-
> ObjectRolesResponse
|
254
|
+
> ObjectRolesResponse list_roles(content_redirect_content_guard_href, opts)
|
255
255
|
|
256
256
|
|
257
257
|
|
@@ -277,10 +277,10 @@ opts = {
|
|
277
277
|
}
|
278
278
|
|
279
279
|
begin
|
280
|
-
result = api_instance.
|
280
|
+
result = api_instance.list_roles(content_redirect_content_guard_href, opts)
|
281
281
|
p result
|
282
282
|
rescue PulpcoreClient::ApiError => e
|
283
|
-
puts "Exception when calling ContentguardsContentRedirectApi->
|
283
|
+
puts "Exception when calling ContentguardsContentRedirectApi->list_roles: #{e}"
|
284
284
|
end
|
285
285
|
```
|
286
286
|
|
@@ -307,9 +307,9 @@ Name | Type | Description | Notes
|
|
307
307
|
- **Accept**: application/json
|
308
308
|
|
309
309
|
|
310
|
-
##
|
310
|
+
## my_permissions
|
311
311
|
|
312
|
-
> MyPermissionsResponse
|
312
|
+
> MyPermissionsResponse my_permissions(content_redirect_content_guard_href, opts)
|
313
313
|
|
314
314
|
|
315
315
|
|
@@ -335,10 +335,10 @@ opts = {
|
|
335
335
|
}
|
336
336
|
|
337
337
|
begin
|
338
|
-
result = api_instance.
|
338
|
+
result = api_instance.my_permissions(content_redirect_content_guard_href, opts)
|
339
339
|
p result
|
340
340
|
rescue PulpcoreClient::ApiError => e
|
341
|
-
puts "Exception when calling ContentguardsContentRedirectApi->
|
341
|
+
puts "Exception when calling ContentguardsContentRedirectApi->my_permissions: #{e}"
|
342
342
|
end
|
343
343
|
```
|
344
344
|
|
@@ -365,9 +365,9 @@ Name | Type | Description | Notes
|
|
365
365
|
- **Accept**: application/json
|
366
366
|
|
367
367
|
|
368
|
-
##
|
368
|
+
## partial_update
|
369
369
|
|
370
|
-
> ContentRedirectContentGuardResponse
|
370
|
+
> ContentRedirectContentGuardResponse partial_update(content_redirect_content_guard_href, patched_content_redirect_content_guard)
|
371
371
|
|
372
372
|
Update a content redirect content guard
|
373
373
|
|
@@ -391,10 +391,10 @@ patched_content_redirect_content_guard = PulpcoreClient::PatchedContentRedirectC
|
|
391
391
|
|
392
392
|
begin
|
393
393
|
#Update a content redirect content guard
|
394
|
-
result = api_instance.
|
394
|
+
result = api_instance.partial_update(content_redirect_content_guard_href, patched_content_redirect_content_guard)
|
395
395
|
p result
|
396
396
|
rescue PulpcoreClient::ApiError => e
|
397
|
-
puts "Exception when calling ContentguardsContentRedirectApi->
|
397
|
+
puts "Exception when calling ContentguardsContentRedirectApi->partial_update: #{e}"
|
398
398
|
end
|
399
399
|
```
|
400
400
|
|
@@ -420,9 +420,9 @@ Name | Type | Description | Notes
|
|
420
420
|
- **Accept**: application/json
|
421
421
|
|
422
422
|
|
423
|
-
##
|
423
|
+
## read
|
424
424
|
|
425
|
-
> ContentRedirectContentGuardResponse
|
425
|
+
> ContentRedirectContentGuardResponse read(content_redirect_content_guard_href, opts)
|
426
426
|
|
427
427
|
Inspect a content redirect content guard
|
428
428
|
|
@@ -449,10 +449,10 @@ opts = {
|
|
449
449
|
|
450
450
|
begin
|
451
451
|
#Inspect a content redirect content guard
|
452
|
-
result = api_instance.
|
452
|
+
result = api_instance.read(content_redirect_content_guard_href, opts)
|
453
453
|
p result
|
454
454
|
rescue PulpcoreClient::ApiError => e
|
455
|
-
puts "Exception when calling ContentguardsContentRedirectApi->
|
455
|
+
puts "Exception when calling ContentguardsContentRedirectApi->read: #{e}"
|
456
456
|
end
|
457
457
|
```
|
458
458
|
|
@@ -479,9 +479,9 @@ Name | Type | Description | Notes
|
|
479
479
|
- **Accept**: application/json
|
480
480
|
|
481
481
|
|
482
|
-
##
|
482
|
+
## remove_role
|
483
483
|
|
484
|
-
> NestedRoleResponse
|
484
|
+
> NestedRoleResponse remove_role(content_redirect_content_guard_href, nested_role)
|
485
485
|
|
486
486
|
|
487
487
|
|
@@ -504,10 +504,10 @@ content_redirect_content_guard_href = 'content_redirect_content_guard_href_examp
|
|
504
504
|
nested_role = PulpcoreClient::NestedRole.new # NestedRole |
|
505
505
|
|
506
506
|
begin
|
507
|
-
result = api_instance.
|
507
|
+
result = api_instance.remove_role(content_redirect_content_guard_href, nested_role)
|
508
508
|
p result
|
509
509
|
rescue PulpcoreClient::ApiError => e
|
510
|
-
puts "Exception when calling ContentguardsContentRedirectApi->
|
510
|
+
puts "Exception when calling ContentguardsContentRedirectApi->remove_role: #{e}"
|
511
511
|
end
|
512
512
|
```
|
513
513
|
|
@@ -533,9 +533,9 @@ Name | Type | Description | Notes
|
|
533
533
|
- **Accept**: application/json
|
534
534
|
|
535
535
|
|
536
|
-
##
|
536
|
+
## update
|
537
537
|
|
538
|
-
> ContentRedirectContentGuardResponse
|
538
|
+
> ContentRedirectContentGuardResponse update(content_redirect_content_guard_href, content_redirect_content_guard)
|
539
539
|
|
540
540
|
Update a content redirect content guard
|
541
541
|
|
@@ -559,10 +559,10 @@ content_redirect_content_guard = PulpcoreClient::ContentRedirectContentGuard.new
|
|
559
559
|
|
560
560
|
begin
|
561
561
|
#Update a content redirect content guard
|
562
|
-
result = api_instance.
|
562
|
+
result = api_instance.update(content_redirect_content_guard_href, content_redirect_content_guard)
|
563
563
|
p result
|
564
564
|
rescue PulpcoreClient::ApiError => e
|
565
|
-
puts "Exception when calling ContentguardsContentRedirectApi->
|
565
|
+
puts "Exception when calling ContentguardsContentRedirectApi->update: #{e}"
|
566
566
|
end
|
567
567
|
```
|
568
568
|
|