pulp_ostree_client 2.2.1 → 2.3.1

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 (99) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +23 -4
  3. data/docs/ContentCommitsApi.md +2 -0
  4. data/docs/ContentConfigsApi.md +2 -0
  5. data/docs/ContentContentApi.md +56 -0
  6. data/docs/ContentObjectsApi.md +2 -0
  7. data/docs/ContentRefsApi.md +2 -0
  8. data/docs/ContentSummariesApi.md +2 -0
  9. data/docs/DistributionsOstreeApi.md +232 -0
  10. data/docs/MyPermissionsResponse.md +17 -0
  11. data/docs/NestedRole.md +21 -0
  12. data/docs/NestedRoleResponse.md +21 -0
  13. data/docs/ObjectRolesResponse.md +17 -0
  14. data/docs/OstreeOstreeCommitResponse.md +2 -0
  15. data/docs/OstreeOstreeConfigResponse.md +2 -0
  16. data/docs/OstreeOstreeContent.md +23 -0
  17. data/docs/OstreeOstreeContentResponse.md +2 -0
  18. data/docs/OstreeOstreeDistributionResponse.md +2 -0
  19. data/docs/OstreeOstreeObjectResponse.md +2 -0
  20. data/docs/OstreeOstreeRefResponse.md +2 -0
  21. data/docs/OstreeOstreeRemoteResponse.md +2 -2
  22. data/docs/OstreeOstreeRemoteResponseHiddenFields.md +2 -2
  23. data/docs/OstreeOstreeRepositoryResponse.md +2 -0
  24. data/docs/OstreeOstreeSummaryResponse.md +2 -0
  25. data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
  26. data/docs/PaginatedostreeOstreeCommitResponseList.md +2 -2
  27. data/docs/PaginatedostreeOstreeConfigResponseList.md +2 -2
  28. data/docs/PaginatedostreeOstreeContentResponseList.md +2 -2
  29. data/docs/PaginatedostreeOstreeDistributionResponseList.md +2 -2
  30. data/docs/PaginatedostreeOstreeObjectResponseList.md +2 -2
  31. data/docs/PaginatedostreeOstreeRefResponseList.md +2 -2
  32. data/docs/PaginatedostreeOstreeRemoteResponseList.md +2 -2
  33. data/docs/PaginatedostreeOstreeRepositoryResponseList.md +2 -2
  34. data/docs/PaginatedostreeOstreeSummaryResponseList.md +2 -2
  35. data/docs/RemotesOstreeApi.md +232 -0
  36. data/docs/RepositoriesOstreeApi.md +232 -0
  37. data/docs/RepositoryVersionResponse.md +2 -0
  38. data/lib/pulp_ostree_client/api/content_commits_api.rb +3 -0
  39. data/lib/pulp_ostree_client/api/content_configs_api.rb +3 -0
  40. data/lib/pulp_ostree_client/api/content_content_api.rb +67 -0
  41. data/lib/pulp_ostree_client/api/content_objects_api.rb +3 -0
  42. data/lib/pulp_ostree_client/api/content_refs_api.rb +3 -0
  43. data/lib/pulp_ostree_client/api/content_summaries_api.rb +3 -0
  44. data/lib/pulp_ostree_client/api/distributions_ostree_api.rb +276 -0
  45. data/lib/pulp_ostree_client/api/remotes_ostree_api.rb +276 -0
  46. data/lib/pulp_ostree_client/api/repositories_ostree_api.rb +276 -0
  47. data/lib/pulp_ostree_client/models/my_permissions_response.rb +213 -0
  48. data/lib/pulp_ostree_client/models/nested_role.rb +253 -0
  49. data/lib/pulp_ostree_client/models/nested_role_response.rb +234 -0
  50. data/lib/pulp_ostree_client/models/object_roles_response.rb +213 -0
  51. data/lib/pulp_ostree_client/models/ostree_ostree_commit_response.rb +11 -1
  52. data/lib/pulp_ostree_client/models/ostree_ostree_config_response.rb +11 -1
  53. data/lib/pulp_ostree_client/models/ostree_ostree_content.rb +289 -0
  54. data/lib/pulp_ostree_client/models/ostree_ostree_content_response.rb +11 -1
  55. data/lib/pulp_ostree_client/models/ostree_ostree_distribution_response.rb +11 -1
  56. data/lib/pulp_ostree_client/models/ostree_ostree_object_response.rb +11 -1
  57. data/lib/pulp_ostree_client/models/ostree_ostree_ref_response.rb +11 -1
  58. data/lib/pulp_ostree_client/models/ostree_ostree_remote_response.rb +11 -11
  59. data/lib/pulp_ostree_client/models/ostree_ostree_remote_response_hidden_fields.rb +10 -0
  60. data/lib/pulp_ostree_client/models/ostree_ostree_repository_response.rb +11 -1
  61. data/lib/pulp_ostree_client/models/ostree_ostree_summary_response.rb +11 -1
  62. data/lib/pulp_ostree_client/models/paginated_repository_version_response_list.rb +10 -0
  63. data/lib/pulp_ostree_client/models/paginatedostree_ostree_commit_response_list.rb +10 -0
  64. data/lib/pulp_ostree_client/models/paginatedostree_ostree_config_response_list.rb +10 -0
  65. data/lib/pulp_ostree_client/models/paginatedostree_ostree_content_response_list.rb +10 -0
  66. data/lib/pulp_ostree_client/models/paginatedostree_ostree_distribution_response_list.rb +10 -0
  67. data/lib/pulp_ostree_client/models/paginatedostree_ostree_object_response_list.rb +10 -0
  68. data/lib/pulp_ostree_client/models/paginatedostree_ostree_ref_response_list.rb +10 -0
  69. data/lib/pulp_ostree_client/models/paginatedostree_ostree_remote_response_list.rb +10 -0
  70. data/lib/pulp_ostree_client/models/paginatedostree_ostree_repository_response_list.rb +10 -0
  71. data/lib/pulp_ostree_client/models/paginatedostree_ostree_summary_response_list.rb +10 -0
  72. data/lib/pulp_ostree_client/models/repository_version_response.rb +11 -1
  73. data/lib/pulp_ostree_client/version.rb +1 -1
  74. data/lib/pulp_ostree_client.rb +5 -0
  75. data/spec/api/content_commits_api_spec.rb +1 -0
  76. data/spec/api/content_configs_api_spec.rb +1 -0
  77. data/spec/api/content_content_api_spec.rb +13 -0
  78. data/spec/api/content_objects_api_spec.rb +1 -0
  79. data/spec/api/content_refs_api_spec.rb +1 -0
  80. data/spec/api/content_summaries_api_spec.rb +1 -0
  81. data/spec/api/distributions_ostree_api_spec.rb +54 -0
  82. data/spec/api/remotes_ostree_api_spec.rb +54 -0
  83. data/spec/api/repositories_ostree_api_spec.rb +54 -0
  84. data/spec/models/my_permissions_response_spec.rb +41 -0
  85. data/spec/models/nested_role_response_spec.rb +53 -0
  86. data/spec/models/nested_role_spec.rb +53 -0
  87. data/spec/models/object_roles_response_spec.rb +41 -0
  88. data/spec/models/ostree_ostree_commit_response_spec.rb +6 -0
  89. data/spec/models/ostree_ostree_config_response_spec.rb +6 -0
  90. data/spec/models/ostree_ostree_content_response_spec.rb +6 -0
  91. data/spec/models/ostree_ostree_content_spec.rb +59 -0
  92. data/spec/models/ostree_ostree_distribution_response_spec.rb +6 -0
  93. data/spec/models/ostree_ostree_object_response_spec.rb +6 -0
  94. data/spec/models/ostree_ostree_ref_response_spec.rb +6 -0
  95. data/spec/models/ostree_ostree_remote_response_spec.rb +6 -6
  96. data/spec/models/ostree_ostree_repository_response_spec.rb +6 -0
  97. data/spec/models/ostree_ostree_summary_response_spec.rb +6 -0
  98. data/spec/models/repository_version_response_spec.rb +6 -0
  99. metadata +55 -35
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **pulp_href** | **String** | | [optional] [readonly]
8
8
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
9
10
  **artifact** | **String** | Artifact file representing the physical content |
10
11
  **relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
11
12
 
@@ -16,6 +17,7 @@ require 'PulpOstreeClient'
16
17
 
17
18
  instance = PulpOstreeClient::OstreeOstreeConfigResponse.new(pulp_href: null,
18
19
  pulp_created: null,
20
+ pulp_last_updated: null,
19
21
  artifact: null,
20
22
  relative_path: null)
21
23
  ```
@@ -0,0 +1,23 @@
1
+ # PulpOstreeClient::OstreeOstreeContent
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
8
+ **artifact** | **String** | Artifact file representing the physical content |
9
+ **relative_path** | **String** | |
10
+ **digest** | **String** | |
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'PulpOstreeClient'
16
+
17
+ instance = PulpOstreeClient::OstreeOstreeContent.new(repository: null,
18
+ artifact: null,
19
+ relative_path: null,
20
+ digest: null)
21
+ ```
22
+
23
+
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **pulp_href** | **String** | | [optional] [readonly]
8
8
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
9
10
  **artifact** | **String** | Artifact file representing the physical content |
10
11
  **relative_path** | **String** | |
11
12
  **digest** | **String** | |
@@ -17,6 +18,7 @@ require 'PulpOstreeClient'
17
18
 
18
19
  instance = PulpOstreeClient::OstreeOstreeContentResponse.new(pulp_href: null,
19
20
  pulp_created: null,
21
+ pulp_last_updated: null,
20
22
  artifact: null,
21
23
  relative_path: null,
22
24
  digest: null)
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **pulp_href** | **String** | | [optional] [readonly]
8
8
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
9
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\") |
10
11
  **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
11
12
  **content_guard** | **String** | An optional content-guard. | [optional]
@@ -22,6 +23,7 @@ require 'PulpOstreeClient'
22
23
 
23
24
  instance = PulpOstreeClient::OstreeOstreeDistributionResponse.new(pulp_href: null,
24
25
  pulp_created: null,
26
+ pulp_last_updated: null,
25
27
  base_path: null,
26
28
  base_url: null,
27
29
  content_guard: null,
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **pulp_href** | **String** | | [optional] [readonly]
8
8
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
9
10
  **artifact** | **String** | Artifact file representing the physical content |
10
11
  **relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
11
12
  **checksum** | **String** | |
@@ -18,6 +19,7 @@ require 'PulpOstreeClient'
18
19
 
19
20
  instance = PulpOstreeClient::OstreeOstreeObjectResponse.new(pulp_href: null,
20
21
  pulp_created: null,
22
+ pulp_last_updated: null,
21
23
  artifact: null,
22
24
  relative_path: null,
23
25
  checksum: null,
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **pulp_href** | **String** | | [optional] [readonly]
8
8
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
9
10
  **artifact** | **String** | Artifact file representing the physical content |
10
11
  **relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
11
12
  **commit** | **String** | |
@@ -19,6 +20,7 @@ require 'PulpOstreeClient'
19
20
 
20
21
  instance = PulpOstreeClient::OstreeOstreeRefResponse.new(pulp_href: null,
21
22
  pulp_created: null,
23
+ pulp_last_updated: null,
22
24
  artifact: null,
23
25
  relative_path: null,
24
26
  commit: null,
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **pulp_href** | **String** | | [optional] [readonly]
8
8
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
9
10
  **name** | **String** | A unique name for this remote. |
10
11
  **url** | **String** | The URL of an external content source. |
11
12
  **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
@@ -13,7 +14,6 @@ Name | Type | Description | Notes
13
14
  **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
14
15
  **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
15
16
  **pulp_labels** | **Hash<String, String>** | | [optional]
16
- **pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
17
17
  **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
18
18
  **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
19
19
  **policy** | [**PolicyEnum**](PolicyEnum.md) | immediate - All OSTree objects are downloaded and saved during synchronization. on_demand - Only commits, dirtrees, and refs are downloaded. Other OSTree objects are not downloaded until they are requested for the first time by a client. * `immediate` - immediate * `on_demand` - on_demand | [optional]
@@ -35,6 +35,7 @@ require 'PulpOstreeClient'
35
35
 
36
36
  instance = PulpOstreeClient::OstreeOstreeRemoteResponse.new(pulp_href: null,
37
37
  pulp_created: null,
38
+ pulp_last_updated: null,
38
39
  name: null,
39
40
  url: null,
40
41
  ca_cert: null,
@@ -42,7 +43,6 @@ instance = PulpOstreeClient::OstreeOstreeRemoteResponse.new(pulp_href: null,
42
43
  tls_validation: null,
43
44
  proxy_url: null,
44
45
  pulp_labels: null,
45
- pulp_last_updated: null,
46
46
  download_concurrency: null,
47
47
  max_retries: null,
48
48
  policy: null,
@@ -4,8 +4,8 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **name** | **String** | | [optional]
8
- **is_set** | **Boolean** | | [optional]
7
+ **name** | **String** | |
8
+ **is_set** | **Boolean** | |
9
9
 
10
10
  ## Code Sample
11
11
 
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **pulp_href** | **String** | | [optional] [readonly]
8
8
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
9
10
  **versions_href** | **String** | | [optional] [readonly]
10
11
  **pulp_labels** | **Hash<String, String>** | | [optional]
11
12
  **latest_version_href** | **String** | | [optional] [readonly]
@@ -22,6 +23,7 @@ require 'PulpOstreeClient'
22
23
 
23
24
  instance = PulpOstreeClient::OstreeOstreeRepositoryResponse.new(pulp_href: null,
24
25
  pulp_created: null,
26
+ pulp_last_updated: null,
25
27
  versions_href: null,
26
28
  pulp_labels: null,
27
29
  latest_version_href: null,
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **pulp_href** | **String** | | [optional] [readonly]
8
8
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
9
10
  **artifact** | **String** | Artifact file representing the physical content |
10
11
  **relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
11
12
 
@@ -16,6 +17,7 @@ require 'PulpOstreeClient'
16
17
 
17
18
  instance = PulpOstreeClient::OstreeOstreeSummaryResponse.new(pulp_href: null,
18
19
  pulp_created: null,
20
+ pulp_last_updated: null,
19
21
  artifact: null,
20
22
  relative_path: null)
21
23
  ```
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | | [optional]
7
+ **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<RepositoryVersionResponse>**](RepositoryVersionResponse.md) | | [optional]
10
+ **results** | [**Array<RepositoryVersionResponse>**](RepositoryVersionResponse.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | | [optional]
7
+ **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<OstreeOstreeCommitResponse>**](OstreeOstreeCommitResponse.md) | | [optional]
10
+ **results** | [**Array<OstreeOstreeCommitResponse>**](OstreeOstreeCommitResponse.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | | [optional]
7
+ **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<OstreeOstreeConfigResponse>**](OstreeOstreeConfigResponse.md) | | [optional]
10
+ **results** | [**Array<OstreeOstreeConfigResponse>**](OstreeOstreeConfigResponse.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | | [optional]
7
+ **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<OstreeOstreeContentResponse>**](OstreeOstreeContentResponse.md) | | [optional]
10
+ **results** | [**Array<OstreeOstreeContentResponse>**](OstreeOstreeContentResponse.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | | [optional]
7
+ **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<OstreeOstreeDistributionResponse>**](OstreeOstreeDistributionResponse.md) | | [optional]
10
+ **results** | [**Array<OstreeOstreeDistributionResponse>**](OstreeOstreeDistributionResponse.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | | [optional]
7
+ **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<OstreeOstreeObjectResponse>**](OstreeOstreeObjectResponse.md) | | [optional]
10
+ **results** | [**Array<OstreeOstreeObjectResponse>**](OstreeOstreeObjectResponse.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | | [optional]
7
+ **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<OstreeOstreeRefResponse>**](OstreeOstreeRefResponse.md) | | [optional]
10
+ **results** | [**Array<OstreeOstreeRefResponse>**](OstreeOstreeRefResponse.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | | [optional]
7
+ **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<OstreeOstreeRemoteResponse>**](OstreeOstreeRemoteResponse.md) | | [optional]
10
+ **results** | [**Array<OstreeOstreeRemoteResponse>**](OstreeOstreeRemoteResponse.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | | [optional]
7
+ **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<OstreeOstreeRepositoryResponse>**](OstreeOstreeRepositoryResponse.md) | | [optional]
10
+ **results** | [**Array<OstreeOstreeRepositoryResponse>**](OstreeOstreeRepositoryResponse.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | | [optional]
7
+ **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<OstreeOstreeSummaryResponse>**](OstreeOstreeSummaryResponse.md) | | [optional]
10
+ **results** | [**Array<OstreeOstreeSummaryResponse>**](OstreeOstreeSummaryResponse.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -4,17 +4,76 @@ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
+ [**add_role**](RemotesOstreeApi.md#add_role) | **POST** {ostree_ostree_remote_href}add_role/ | Add a role
7
8
  [**create**](RemotesOstreeApi.md#create) | **POST** /pulp/api/v3/remotes/ostree/ostree/ | Create an ostree remote
8
9
  [**delete**](RemotesOstreeApi.md#delete) | **DELETE** {ostree_ostree_remote_href} | Delete an ostree remote
9
10
  [**list**](RemotesOstreeApi.md#list) | **GET** /pulp/api/v3/remotes/ostree/ostree/ | List ostree remotes
11
+ [**list_roles**](RemotesOstreeApi.md#list_roles) | **GET** {ostree_ostree_remote_href}list_roles/ | List roles
12
+ [**my_permissions**](RemotesOstreeApi.md#my_permissions) | **GET** {ostree_ostree_remote_href}my_permissions/ | List user permissions
10
13
  [**partial_update**](RemotesOstreeApi.md#partial_update) | **PATCH** {ostree_ostree_remote_href} | Update an ostree remote
11
14
  [**read**](RemotesOstreeApi.md#read) | **GET** {ostree_ostree_remote_href} | Inspect an ostree remote
15
+ [**remove_role**](RemotesOstreeApi.md#remove_role) | **POST** {ostree_ostree_remote_href}remove_role/ | Remove a role
12
16
  [**set_label**](RemotesOstreeApi.md#set_label) | **POST** {ostree_ostree_remote_href}set_label/ | Set a label
13
17
  [**unset_label**](RemotesOstreeApi.md#unset_label) | **POST** {ostree_ostree_remote_href}unset_label/ | Unset a label
14
18
  [**update**](RemotesOstreeApi.md#update) | **PUT** {ostree_ostree_remote_href} | Update an ostree remote
15
19
 
16
20
 
17
21
 
22
+ ## add_role
23
+
24
+ > NestedRoleResponse add_role(ostree_ostree_remote_href, nested_role)
25
+
26
+ Add a role
27
+
28
+ Add a role for this object to users/groups.
29
+
30
+ ### Example
31
+
32
+ ```ruby
33
+ # load the gem
34
+ require 'pulp_ostree_client'
35
+ # setup authorization
36
+ PulpOstreeClient.configure do |config|
37
+ # Configure HTTP basic authorization: basicAuth
38
+ config.username = 'YOUR USERNAME'
39
+ config.password = 'YOUR PASSWORD'
40
+ end
41
+
42
+ api_instance = PulpOstreeClient::RemotesOstreeApi.new
43
+ ostree_ostree_remote_href = 'ostree_ostree_remote_href_example' # String |
44
+ nested_role = PulpOstreeClient::NestedRole.new # NestedRole |
45
+
46
+ begin
47
+ #Add a role
48
+ result = api_instance.add_role(ostree_ostree_remote_href, nested_role)
49
+ p result
50
+ rescue PulpOstreeClient::ApiError => e
51
+ puts "Exception when calling RemotesOstreeApi->add_role: #{e}"
52
+ end
53
+ ```
54
+
55
+ ### Parameters
56
+
57
+
58
+ Name | Type | Description | Notes
59
+ ------------- | ------------- | ------------- | -------------
60
+ **ostree_ostree_remote_href** | **String**| |
61
+ **nested_role** | [**NestedRole**](NestedRole.md)| |
62
+
63
+ ### Return type
64
+
65
+ [**NestedRoleResponse**](NestedRoleResponse.md)
66
+
67
+ ### Authorization
68
+
69
+ [basicAuth](../README.md#basicAuth)
70
+
71
+ ### HTTP request headers
72
+
73
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
74
+ - **Accept**: application/json
75
+
76
+
18
77
  ## create
19
78
 
20
79
  > OstreeOstreeRemoteResponse create(ostree_ostree_remote)
@@ -222,6 +281,124 @@ Name | Type | Description | Notes
222
281
  - **Accept**: application/json
223
282
 
224
283
 
284
+ ## list_roles
285
+
286
+ > ObjectRolesResponse list_roles(ostree_ostree_remote_href, opts)
287
+
288
+ List roles
289
+
290
+ List roles assigned to this object.
291
+
292
+ ### Example
293
+
294
+ ```ruby
295
+ # load the gem
296
+ require 'pulp_ostree_client'
297
+ # setup authorization
298
+ PulpOstreeClient.configure do |config|
299
+ # Configure HTTP basic authorization: basicAuth
300
+ config.username = 'YOUR USERNAME'
301
+ config.password = 'YOUR PASSWORD'
302
+ end
303
+
304
+ api_instance = PulpOstreeClient::RemotesOstreeApi.new
305
+ ostree_ostree_remote_href = 'ostree_ostree_remote_href_example' # String |
306
+ opts = {
307
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
308
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
309
+ }
310
+
311
+ begin
312
+ #List roles
313
+ result = api_instance.list_roles(ostree_ostree_remote_href, opts)
314
+ p result
315
+ rescue PulpOstreeClient::ApiError => e
316
+ puts "Exception when calling RemotesOstreeApi->list_roles: #{e}"
317
+ end
318
+ ```
319
+
320
+ ### Parameters
321
+
322
+
323
+ Name | Type | Description | Notes
324
+ ------------- | ------------- | ------------- | -------------
325
+ **ostree_ostree_remote_href** | **String**| |
326
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
327
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
328
+
329
+ ### Return type
330
+
331
+ [**ObjectRolesResponse**](ObjectRolesResponse.md)
332
+
333
+ ### Authorization
334
+
335
+ [basicAuth](../README.md#basicAuth)
336
+
337
+ ### HTTP request headers
338
+
339
+ - **Content-Type**: Not defined
340
+ - **Accept**: application/json
341
+
342
+
343
+ ## my_permissions
344
+
345
+ > MyPermissionsResponse my_permissions(ostree_ostree_remote_href, opts)
346
+
347
+ List user permissions
348
+
349
+ List permissions available to the current user on this object.
350
+
351
+ ### Example
352
+
353
+ ```ruby
354
+ # load the gem
355
+ require 'pulp_ostree_client'
356
+ # setup authorization
357
+ PulpOstreeClient.configure do |config|
358
+ # Configure HTTP basic authorization: basicAuth
359
+ config.username = 'YOUR USERNAME'
360
+ config.password = 'YOUR PASSWORD'
361
+ end
362
+
363
+ api_instance = PulpOstreeClient::RemotesOstreeApi.new
364
+ ostree_ostree_remote_href = 'ostree_ostree_remote_href_example' # String |
365
+ opts = {
366
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
367
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
368
+ }
369
+
370
+ begin
371
+ #List user permissions
372
+ result = api_instance.my_permissions(ostree_ostree_remote_href, opts)
373
+ p result
374
+ rescue PulpOstreeClient::ApiError => e
375
+ puts "Exception when calling RemotesOstreeApi->my_permissions: #{e}"
376
+ end
377
+ ```
378
+
379
+ ### Parameters
380
+
381
+
382
+ Name | Type | Description | Notes
383
+ ------------- | ------------- | ------------- | -------------
384
+ **ostree_ostree_remote_href** | **String**| |
385
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
386
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
387
+
388
+ ### Return type
389
+
390
+ [**MyPermissionsResponse**](MyPermissionsResponse.md)
391
+
392
+ ### Authorization
393
+
394
+ [basicAuth](../README.md#basicAuth)
395
+
396
+ ### HTTP request headers
397
+
398
+ - **Content-Type**: Not defined
399
+ - **Accept**: application/json
400
+
401
+
225
402
  ## partial_update
226
403
 
227
404
  > AsyncOperationResponse partial_update(ostree_ostree_remote_href, patchedostree_ostree_remote)
@@ -336,6 +513,61 @@ Name | Type | Description | Notes
336
513
  - **Accept**: application/json
337
514
 
338
515
 
516
+ ## remove_role
517
+
518
+ > NestedRoleResponse remove_role(ostree_ostree_remote_href, nested_role)
519
+
520
+ Remove a role
521
+
522
+ Remove a role for this object from users/groups.
523
+
524
+ ### Example
525
+
526
+ ```ruby
527
+ # load the gem
528
+ require 'pulp_ostree_client'
529
+ # setup authorization
530
+ PulpOstreeClient.configure do |config|
531
+ # Configure HTTP basic authorization: basicAuth
532
+ config.username = 'YOUR USERNAME'
533
+ config.password = 'YOUR PASSWORD'
534
+ end
535
+
536
+ api_instance = PulpOstreeClient::RemotesOstreeApi.new
537
+ ostree_ostree_remote_href = 'ostree_ostree_remote_href_example' # String |
538
+ nested_role = PulpOstreeClient::NestedRole.new # NestedRole |
539
+
540
+ begin
541
+ #Remove a role
542
+ result = api_instance.remove_role(ostree_ostree_remote_href, nested_role)
543
+ p result
544
+ rescue PulpOstreeClient::ApiError => e
545
+ puts "Exception when calling RemotesOstreeApi->remove_role: #{e}"
546
+ end
547
+ ```
548
+
549
+ ### Parameters
550
+
551
+
552
+ Name | Type | Description | Notes
553
+ ------------- | ------------- | ------------- | -------------
554
+ **ostree_ostree_remote_href** | **String**| |
555
+ **nested_role** | [**NestedRole**](NestedRole.md)| |
556
+
557
+ ### Return type
558
+
559
+ [**NestedRoleResponse**](NestedRoleResponse.md)
560
+
561
+ ### Authorization
562
+
563
+ [basicAuth](../README.md#basicAuth)
564
+
565
+ ### HTTP request headers
566
+
567
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
568
+ - **Accept**: application/json
569
+
570
+
339
571
  ## set_label
340
572
 
341
573
  > SetLabelResponse set_label(ostree_ostree_remote_href, set_label)