pulp_ostree_client 2.4.5 → 2.4.7

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 (175) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +29 -12
  3. data/docs/AsyncOperationResponse.md +8 -7
  4. data/docs/ContentCommitsApi.md +228 -47
  5. data/docs/ContentConfigsApi.md +227 -46
  6. data/docs/ContentContentApi.md +255 -57
  7. data/docs/ContentObjectsApi.md +228 -47
  8. data/docs/ContentRefsApi.md +238 -57
  9. data/docs/ContentSummariesApi.md +227 -46
  10. data/docs/ContentSummaryResponse.md +12 -11
  11. data/docs/DistributionsOstreeApi.md +387 -182
  12. data/docs/MyPermissionsResponse.md +8 -7
  13. data/docs/NestedRole.md +12 -11
  14. data/docs/NestedRoleResponse.md +12 -11
  15. data/docs/ObjectRolesResponse.md +8 -7
  16. data/docs/OstreeImportAll.md +10 -9
  17. data/docs/OstreeImportCommitsToRef.md +12 -11
  18. data/docs/OstreeOstreeCommitResponse.md +26 -23
  19. data/docs/OstreeOstreeConfigResponse.md +20 -17
  20. data/docs/OstreeOstreeContent.md +16 -13
  21. data/docs/OstreeOstreeContentResponse.md +22 -19
  22. data/docs/OstreeOstreeDistribution.md +20 -19
  23. data/docs/OstreeOstreeDistributionResponse.md +32 -31
  24. data/docs/OstreeOstreeObjectResponse.md +24 -21
  25. data/docs/OstreeOstreeRefResponse.md +26 -23
  26. data/docs/OstreeOstreeRemote.md +54 -53
  27. data/docs/OstreeOstreeRemoteResponse.md +54 -53
  28. data/docs/OstreeOstreeRemoteResponseHiddenFieldsInner.md +20 -0
  29. data/docs/OstreeOstreeRepository.md +18 -17
  30. data/docs/OstreeOstreeRepositoryResponse.md +30 -29
  31. data/docs/OstreeOstreeSummaryResponse.md +20 -17
  32. data/docs/PaginatedRepositoryVersionResponseList.md +14 -13
  33. data/docs/PaginatedostreeOstreeCommitResponseList.md +14 -13
  34. data/docs/PaginatedostreeOstreeConfigResponseList.md +14 -13
  35. data/docs/PaginatedostreeOstreeContentResponseList.md +14 -13
  36. data/docs/PaginatedostreeOstreeDistributionResponseList.md +14 -13
  37. data/docs/PaginatedostreeOstreeObjectResponseList.md +14 -13
  38. data/docs/PaginatedostreeOstreeRefResponseList.md +14 -13
  39. data/docs/PaginatedostreeOstreeRemoteResponseList.md +14 -13
  40. data/docs/PaginatedostreeOstreeRepositoryResponseList.md +14 -13
  41. data/docs/PaginatedostreeOstreeSummaryResponseList.md +14 -13
  42. data/docs/PatchedostreeOstreeDistribution.md +20 -19
  43. data/docs/PatchedostreeOstreeRemote.md +54 -53
  44. data/docs/PatchedostreeOstreeRepository.md +18 -17
  45. data/docs/PolicyEnum.md +4 -5
  46. data/docs/RemotesOstreeApi.md +389 -184
  47. data/docs/Repair.md +8 -7
  48. data/docs/RepositoriesOstreeApi.md +502 -231
  49. data/docs/RepositoriesOstreeVersionsApi.md +152 -82
  50. data/docs/RepositoryAddRemoveContent.md +12 -11
  51. data/docs/RepositorySyncURL.md +10 -9
  52. data/docs/RepositoryVersionResponse.md +22 -21
  53. data/docs/SetLabel.md +10 -9
  54. data/docs/SetLabelResponse.md +10 -9
  55. data/docs/UnsetLabel.md +8 -7
  56. data/docs/UnsetLabelResponse.md +10 -9
  57. data/lib/pulp_ostree_client/api/content_commits_api.rb +165 -12
  58. data/lib/pulp_ostree_client/api/content_configs_api.rb +162 -9
  59. data/lib/pulp_ostree_client/api/content_content_api.rb +171 -14
  60. data/lib/pulp_ostree_client/api/content_objects_api.rb +165 -12
  61. data/lib/pulp_ostree_client/api/content_refs_api.rb +165 -12
  62. data/lib/pulp_ostree_client/api/content_summaries_api.rb +162 -9
  63. data/lib/pulp_ostree_client/api/distributions_ostree_api.rb +95 -59
  64. data/lib/pulp_ostree_client/api/remotes_ostree_api.rb +104 -68
  65. data/lib/pulp_ostree_client/api/repositories_ostree_api.rb +125 -76
  66. data/lib/pulp_ostree_client/api/repositories_ostree_versions_api.rb +40 -30
  67. data/lib/pulp_ostree_client/api_client.rb +137 -102
  68. data/lib/pulp_ostree_client/api_error.rb +2 -1
  69. data/lib/pulp_ostree_client/configuration.rb +162 -21
  70. data/lib/pulp_ostree_client/models/async_operation_response.rb +32 -22
  71. data/lib/pulp_ostree_client/models/content_summary_response.rb +36 -22
  72. data/lib/pulp_ostree_client/models/my_permissions_response.rb +32 -22
  73. data/lib/pulp_ostree_client/models/nested_role.rb +32 -22
  74. data/lib/pulp_ostree_client/models/nested_role_response.rb +32 -22
  75. data/lib/pulp_ostree_client/models/object_roles_response.rb +32 -22
  76. data/lib/pulp_ostree_client/models/ostree_import_all.rb +34 -22
  77. data/lib/pulp_ostree_client/models/ostree_import_commits_to_ref.rb +36 -22
  78. data/lib/pulp_ostree_client/models/ostree_ostree_commit_response.rb +53 -25
  79. data/lib/pulp_ostree_client/models/ostree_ostree_config_response.rb +49 -25
  80. data/lib/pulp_ostree_client/models/ostree_ostree_content.rb +49 -23
  81. data/lib/pulp_ostree_client/models/ostree_ostree_content_response.rb +51 -25
  82. data/lib/pulp_ostree_client/models/ostree_ostree_distribution.rb +34 -22
  83. data/lib/pulp_ostree_client/models/ostree_ostree_distribution_response.rb +36 -24
  84. data/lib/pulp_ostree_client/models/ostree_ostree_object_response.rb +53 -25
  85. data/lib/pulp_ostree_client/models/ostree_ostree_ref_response.rb +53 -25
  86. data/lib/pulp_ostree_client/models/ostree_ostree_remote.rb +61 -23
  87. data/lib/pulp_ostree_client/models/ostree_ostree_remote_response.rb +64 -26
  88. data/lib/pulp_ostree_client/models/{ostree_ostree_remote_response_hidden_fields.rb → ostree_ostree_remote_response_hidden_fields_inner.rb} +37 -25
  89. data/lib/pulp_ostree_client/models/ostree_ostree_repository.rb +32 -22
  90. data/lib/pulp_ostree_client/models/ostree_ostree_repository_response.rb +34 -24
  91. data/lib/pulp_ostree_client/models/ostree_ostree_summary_response.rb +49 -25
  92. data/lib/pulp_ostree_client/models/paginated_repository_version_response_list.rb +34 -22
  93. data/lib/pulp_ostree_client/models/paginatedostree_ostree_commit_response_list.rb +34 -22
  94. data/lib/pulp_ostree_client/models/paginatedostree_ostree_config_response_list.rb +34 -22
  95. data/lib/pulp_ostree_client/models/paginatedostree_ostree_content_response_list.rb +34 -22
  96. data/lib/pulp_ostree_client/models/paginatedostree_ostree_distribution_response_list.rb +34 -22
  97. data/lib/pulp_ostree_client/models/paginatedostree_ostree_object_response_list.rb +34 -22
  98. data/lib/pulp_ostree_client/models/paginatedostree_ostree_ref_response_list.rb +34 -22
  99. data/lib/pulp_ostree_client/models/paginatedostree_ostree_remote_response_list.rb +34 -22
  100. data/lib/pulp_ostree_client/models/paginatedostree_ostree_repository_response_list.rb +34 -22
  101. data/lib/pulp_ostree_client/models/paginatedostree_ostree_summary_response_list.rb +34 -22
  102. data/lib/pulp_ostree_client/models/patchedostree_ostree_distribution.rb +40 -24
  103. data/lib/pulp_ostree_client/models/patchedostree_ostree_remote.rb +67 -25
  104. data/lib/pulp_ostree_client/models/patchedostree_ostree_repository.rb +35 -23
  105. data/lib/pulp_ostree_client/models/policy_enum.rb +8 -4
  106. data/lib/pulp_ostree_client/models/repair.rb +30 -22
  107. data/lib/pulp_ostree_client/models/repository_add_remove_content.rb +30 -22
  108. data/lib/pulp_ostree_client/models/repository_sync_url.rb +30 -22
  109. data/lib/pulp_ostree_client/models/repository_version_response.rb +32 -24
  110. data/lib/pulp_ostree_client/models/set_label.rb +34 -22
  111. data/lib/pulp_ostree_client/models/set_label_response.rb +34 -22
  112. data/lib/pulp_ostree_client/models/unset_label.rb +33 -23
  113. data/lib/pulp_ostree_client/models/unset_label_response.rb +33 -23
  114. data/lib/pulp_ostree_client/version.rb +2 -2
  115. data/lib/pulp_ostree_client.rb +2 -2
  116. data/pulp_ostree_client.gemspec +9 -6
  117. data/spec/api/content_commits_api_spec.rb +31 -4
  118. data/spec/api/content_configs_api_spec.rb +30 -3
  119. data/spec/api/content_content_api_spec.rb +31 -4
  120. data/spec/api/content_objects_api_spec.rb +31 -4
  121. data/spec/api/content_refs_api_spec.rb +31 -4
  122. data/spec/api/content_summaries_api_spec.rb +30 -3
  123. data/spec/api/distributions_ostree_api_spec.rb +15 -14
  124. data/spec/api/remotes_ostree_api_spec.rb +20 -19
  125. data/spec/api/repositories_ostree_api_spec.rb +17 -17
  126. data/spec/api/repositories_ostree_versions_api_spec.rb +12 -11
  127. data/spec/models/async_operation_response_spec.rb +7 -12
  128. data/spec/models/content_summary_response_spec.rb +9 -14
  129. data/spec/models/my_permissions_response_spec.rb +7 -12
  130. data/spec/models/nested_role_response_spec.rb +9 -14
  131. data/spec/models/nested_role_spec.rb +9 -14
  132. data/spec/models/object_roles_response_spec.rb +7 -12
  133. data/spec/models/ostree_import_all_spec.rb +8 -13
  134. data/spec/models/ostree_import_commits_to_ref_spec.rb +9 -14
  135. data/spec/models/ostree_ostree_commit_response_spec.rb +21 -20
  136. data/spec/models/ostree_ostree_config_response_spec.rb +18 -17
  137. data/spec/models/ostree_ostree_content_response_spec.rb +19 -18
  138. data/spec/models/ostree_ostree_content_spec.rb +16 -15
  139. data/spec/models/ostree_ostree_distribution_response_spec.rb +19 -24
  140. data/spec/models/ostree_ostree_distribution_spec.rb +13 -18
  141. data/spec/models/ostree_ostree_object_response_spec.rb +20 -19
  142. data/spec/models/ostree_ostree_ref_response_spec.rb +21 -20
  143. data/spec/models/{ostree_ostree_remote_response_hidden_fields_spec.rb → ostree_ostree_remote_response_hidden_fields_inner_spec.rb} +11 -16
  144. data/spec/models/ostree_ostree_remote_response_spec.rb +30 -35
  145. data/spec/models/ostree_ostree_remote_spec.rb +30 -35
  146. data/spec/models/ostree_ostree_repository_response_spec.rb +18 -23
  147. data/spec/models/ostree_ostree_repository_spec.rb +12 -17
  148. data/spec/models/ostree_ostree_summary_response_spec.rb +18 -17
  149. data/spec/models/paginated_repository_version_response_list_spec.rb +10 -15
  150. data/spec/models/paginatedostree_ostree_commit_response_list_spec.rb +10 -15
  151. data/spec/models/paginatedostree_ostree_config_response_list_spec.rb +10 -15
  152. data/spec/models/paginatedostree_ostree_content_response_list_spec.rb +10 -15
  153. data/spec/models/paginatedostree_ostree_distribution_response_list_spec.rb +10 -15
  154. data/spec/models/paginatedostree_ostree_object_response_list_spec.rb +10 -15
  155. data/spec/models/paginatedostree_ostree_ref_response_list_spec.rb +10 -15
  156. data/spec/models/paginatedostree_ostree_remote_response_list_spec.rb +10 -15
  157. data/spec/models/paginatedostree_ostree_repository_response_list_spec.rb +10 -15
  158. data/spec/models/paginatedostree_ostree_summary_response_list_spec.rb +10 -15
  159. data/spec/models/patchedostree_ostree_distribution_spec.rb +13 -18
  160. data/spec/models/patchedostree_ostree_remote_spec.rb +30 -35
  161. data/spec/models/patchedostree_ostree_repository_spec.rb +12 -17
  162. data/spec/models/policy_enum_spec.rb +6 -11
  163. data/spec/models/repair_spec.rb +7 -12
  164. data/spec/models/repository_add_remove_content_spec.rb +9 -14
  165. data/spec/models/repository_sync_url_spec.rb +8 -13
  166. data/spec/models/repository_version_response_spec.rb +14 -19
  167. data/spec/models/set_label_response_spec.rb +8 -13
  168. data/spec/models/set_label_spec.rb +8 -13
  169. data/spec/models/unset_label_response_spec.rb +8 -13
  170. data/spec/models/unset_label_spec.rb +7 -12
  171. data/spec/spec_helper.rb +1 -1
  172. metadata +83 -59
  173. data/docs/OstreeOstreeRemoteResponseHiddenFields.md +0 -19
  174. data/spec/api_client_spec.rb +0 -188
  175. data/spec/configuration_spec.rb +0 -42
@@ -2,26 +2,27 @@
2
2
 
3
3
  All URIs are relative to *http://localhost:24817*
4
4
 
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**create**](ContentContentApi.md#create) | **POST** /pulp/api/v3/content/ostree/content/ | Create an ostree content
8
- [**list**](ContentContentApi.md#list) | **GET** /pulp/api/v3/content/ostree/content/ | List ostree contents
9
- [**read**](ContentContentApi.md#read) | **GET** {ostree_ostree_content_href} | Inspect an ostree content
10
-
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**create**](ContentContentApi.md#create) | **POST** /pulp/api/v3/content/ostree/content/ | Create an ostree content |
8
+ | [**list**](ContentContentApi.md#list) | **GET** /pulp/api/v3/content/ostree/content/ | List ostree contents |
9
+ | [**read**](ContentContentApi.md#read) | **GET** {ostree_ostree_content_href} | Inspect an ostree content |
10
+ | [**set_label**](ContentContentApi.md#set_label) | **POST** {ostree_ostree_content_href}set_label/ | Set a label |
11
+ | [**unset_label**](ContentContentApi.md#unset_label) | **POST** {ostree_ostree_content_href}unset_label/ | Unset a label |
11
12
 
12
13
 
13
14
  ## create
14
15
 
15
- > AsyncOperationResponse create(ostree_ostree_content)
16
+ > <AsyncOperationResponse> create(ostree_ostree_content)
16
17
 
17
18
  Create an ostree content
18
19
 
19
20
  Trigger an asynchronous task to create content,optionally create new repository version.
20
21
 
21
- ### Example
22
+ ### Examples
22
23
 
23
24
  ```ruby
24
- # load the gem
25
+ require 'time'
25
26
  require 'pulp_ostree_client'
26
27
  # setup authorization
27
28
  PulpOstreeClient.configure do |config|
@@ -31,23 +32,40 @@ PulpOstreeClient.configure do |config|
31
32
  end
32
33
 
33
34
  api_instance = PulpOstreeClient::ContentContentApi.new
34
- ostree_ostree_content = PulpOstreeClient::OstreeOstreeContent.new # OstreeOstreeContent |
35
+ ostree_ostree_content = PulpOstreeClient::OstreeOstreeContent.new({artifact: 'artifact_example', relative_path: 'relative_path_example', digest: 'digest_example'}) # OstreeOstreeContent |
35
36
 
36
37
  begin
37
- #Create an ostree content
38
+ # Create an ostree content
38
39
  result = api_instance.create(ostree_ostree_content)
39
40
  p result
40
41
  rescue PulpOstreeClient::ApiError => e
41
- puts "Exception when calling ContentContentApi->create: #{e}"
42
+ puts "Error when calling ContentContentApi->create: #{e}"
42
43
  end
43
44
  ```
44
45
 
45
- ### Parameters
46
+ #### Using the create_with_http_info variant
47
+
48
+ This returns an Array which contains the response data, status code and headers.
49
+
50
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(ostree_ostree_content)
51
+
52
+ ```ruby
53
+ begin
54
+ # Create an ostree content
55
+ data, status_code, headers = api_instance.create_with_http_info(ostree_ostree_content)
56
+ p status_code # => 2xx
57
+ p headers # => { ... }
58
+ p data # => <AsyncOperationResponse>
59
+ rescue PulpOstreeClient::ApiError => e
60
+ puts "Error when calling ContentContentApi->create_with_http_info: #{e}"
61
+ end
62
+ ```
46
63
 
64
+ ### Parameters
47
65
 
48
- Name | Type | Description | Notes
49
- ------------- | ------------- | ------------- | -------------
50
- **ostree_ostree_content** | [**OstreeOstreeContent**](OstreeOstreeContent.md)| |
66
+ | Name | Type | Description | Notes |
67
+ | ---- | ---- | ----------- | ----- |
68
+ | **ostree_ostree_content** | [**OstreeOstreeContent**](OstreeOstreeContent.md) | | |
51
69
 
52
70
  ### Return type
53
71
 
@@ -65,16 +83,16 @@ Name | Type | Description | Notes
65
83
 
66
84
  ## list
67
85
 
68
- > PaginatedostreeOstreeContentResponseList list(opts)
86
+ > <PaginatedostreeOstreeContentResponseList> list(opts)
69
87
 
70
88
  List ostree contents
71
89
 
72
90
  A ViewSet class for uncategorized content units (e.g., static deltas).
73
91
 
74
- ### Example
92
+ ### Examples
75
93
 
76
94
  ```ruby
77
- # load the gem
95
+ require 'time'
78
96
  require 'pulp_ostree_client'
79
97
  # setup authorization
80
98
  PulpOstreeClient.configure do |config|
@@ -87,46 +105,65 @@ api_instance = PulpOstreeClient::ContentContentApi.new
87
105
  opts = {
88
106
  limit: 56, # Integer | Number of results to return per page.
89
107
  offset: 56, # Integer | The initial index from which to return the results.
90
- ordering: ['ordering_example'], # Array<String> | Ordering * `pk` - Pk * `-pk` - Pk (descending)
91
- orphaned_for: 3.4, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
92
- prn__in: ['prn__in_example'], # Array<String> | Multiple values may be separated by commas.
93
- pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
94
- pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
108
+ ordering: ['-pk'], # Array<String> | Ordering * `pk` - Pk * `-pk` - Pk (descending)
109
+ orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
110
+ prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
111
+ pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
112
+ pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
113
+ pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
95
114
  q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
96
115
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
97
116
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
98
117
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF/PRN
99
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
100
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
118
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
119
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
101
120
  }
102
121
 
103
122
  begin
104
- #List ostree contents
123
+ # List ostree contents
105
124
  result = api_instance.list(opts)
106
125
  p result
107
126
  rescue PulpOstreeClient::ApiError => e
108
- puts "Exception when calling ContentContentApi->list: #{e}"
127
+ puts "Error when calling ContentContentApi->list: #{e}"
109
128
  end
110
129
  ```
111
130
 
112
- ### Parameters
131
+ #### Using the list_with_http_info variant
132
+
133
+ This returns an Array which contains the response data, status code and headers.
134
+
135
+ > <Array(<PaginatedostreeOstreeContentResponseList>, Integer, Hash)> list_with_http_info(opts)
136
+
137
+ ```ruby
138
+ begin
139
+ # List ostree contents
140
+ data, status_code, headers = api_instance.list_with_http_info(opts)
141
+ p status_code # => 2xx
142
+ p headers # => { ... }
143
+ p data # => <PaginatedostreeOstreeContentResponseList>
144
+ rescue PulpOstreeClient::ApiError => e
145
+ puts "Error when calling ContentContentApi->list_with_http_info: #{e}"
146
+ end
147
+ ```
113
148
 
149
+ ### Parameters
114
150
 
115
- Name | Type | Description | Notes
116
- ------------- | ------------- | ------------- | -------------
117
- **limit** | **Integer**| Number of results to return per page. | [optional]
118
- **offset** | **Integer**| The initial index from which to return the results. | [optional]
119
- **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
120
- **orphaned_for** | **Float**| Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional]
121
- **prn__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
122
- **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
123
- **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
124
- **q** | **String**| Filter results by using NOT, AND and OR operations on other filters | [optional]
125
- **repository_version** | **String**| Repository Version referenced by HREF/PRN | [optional]
126
- **repository_version_added** | **String**| Repository Version referenced by HREF/PRN | [optional]
127
- **repository_version_removed** | **String**| Repository Version referenced by HREF/PRN | [optional]
128
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
129
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
151
+ | Name | Type | Description | Notes |
152
+ | ---- | ---- | ----------- | ----- |
153
+ | **limit** | **Integer** | Number of results to return per page. | [optional] |
154
+ | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
155
+ | **ordering** | [**Array&lt;String&gt;**](String.md) | Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
156
+ | **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
157
+ | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
158
+ | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
159
+ | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
160
+ | **pulp_label_select** | **String** | Filter labels by search string | [optional] |
161
+ | **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
162
+ | **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
163
+ | **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
164
+ | **repository_version_removed** | **String** | Repository Version referenced by HREF/PRN | [optional] |
165
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
166
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
130
167
 
131
168
  ### Return type
132
169
 
@@ -144,16 +181,16 @@ Name | Type | Description | Notes
144
181
 
145
182
  ## read
146
183
 
147
- > OstreeOstreeContentResponse read(ostree_ostree_content_href, opts)
184
+ > <OstreeOstreeContentResponse> read(ostree_ostree_content_href, opts)
148
185
 
149
186
  Inspect an ostree content
150
187
 
151
188
  A ViewSet class for uncategorized content units (e.g., static deltas).
152
189
 
153
- ### Example
190
+ ### Examples
154
191
 
155
192
  ```ruby
156
- # load the gem
193
+ require 'time'
157
194
  require 'pulp_ostree_client'
158
195
  # setup authorization
159
196
  PulpOstreeClient.configure do |config|
@@ -165,27 +202,44 @@ end
165
202
  api_instance = PulpOstreeClient::ContentContentApi.new
166
203
  ostree_ostree_content_href = 'ostree_ostree_content_href_example' # String |
167
204
  opts = {
168
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
169
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
205
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
206
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
170
207
  }
171
208
 
172
209
  begin
173
- #Inspect an ostree content
210
+ # Inspect an ostree content
174
211
  result = api_instance.read(ostree_ostree_content_href, opts)
175
212
  p result
176
213
  rescue PulpOstreeClient::ApiError => e
177
- puts "Exception when calling ContentContentApi->read: #{e}"
214
+ puts "Error when calling ContentContentApi->read: #{e}"
178
215
  end
179
216
  ```
180
217
 
181
- ### Parameters
218
+ #### Using the read_with_http_info variant
219
+
220
+ This returns an Array which contains the response data, status code and headers.
221
+
222
+ > <Array(<OstreeOstreeContentResponse>, Integer, Hash)> read_with_http_info(ostree_ostree_content_href, opts)
182
223
 
224
+ ```ruby
225
+ begin
226
+ # Inspect an ostree content
227
+ data, status_code, headers = api_instance.read_with_http_info(ostree_ostree_content_href, opts)
228
+ p status_code # => 2xx
229
+ p headers # => { ... }
230
+ p data # => <OstreeOstreeContentResponse>
231
+ rescue PulpOstreeClient::ApiError => e
232
+ puts "Error when calling ContentContentApi->read_with_http_info: #{e}"
233
+ end
234
+ ```
235
+
236
+ ### Parameters
183
237
 
184
- Name | Type | Description | Notes
185
- ------------- | ------------- | ------------- | -------------
186
- **ostree_ostree_content_href** | **String**| |
187
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
188
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
238
+ | Name | Type | Description | Notes |
239
+ | ---- | ---- | ----------- | ----- |
240
+ | **ostree_ostree_content_href** | **String** | | |
241
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
242
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
189
243
 
190
244
  ### Return type
191
245
 
@@ -200,3 +254,147 @@ Name | Type | Description | Notes
200
254
  - **Content-Type**: Not defined
201
255
  - **Accept**: application/json
202
256
 
257
+
258
+ ## set_label
259
+
260
+ > <SetLabelResponse> set_label(ostree_ostree_content_href, set_label)
261
+
262
+ Set a label
263
+
264
+ Set a single pulp_label on the object to a specific value or null.
265
+
266
+ ### Examples
267
+
268
+ ```ruby
269
+ require 'time'
270
+ require 'pulp_ostree_client'
271
+ # setup authorization
272
+ PulpOstreeClient.configure do |config|
273
+ # Configure HTTP basic authorization: basicAuth
274
+ config.username = 'YOUR USERNAME'
275
+ config.password = 'YOUR PASSWORD'
276
+ end
277
+
278
+ api_instance = PulpOstreeClient::ContentContentApi.new
279
+ ostree_ostree_content_href = 'ostree_ostree_content_href_example' # String |
280
+ set_label = PulpOstreeClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
281
+
282
+ begin
283
+ # Set a label
284
+ result = api_instance.set_label(ostree_ostree_content_href, set_label)
285
+ p result
286
+ rescue PulpOstreeClient::ApiError => e
287
+ puts "Error when calling ContentContentApi->set_label: #{e}"
288
+ end
289
+ ```
290
+
291
+ #### Using the set_label_with_http_info variant
292
+
293
+ This returns an Array which contains the response data, status code and headers.
294
+
295
+ > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(ostree_ostree_content_href, set_label)
296
+
297
+ ```ruby
298
+ begin
299
+ # Set a label
300
+ data, status_code, headers = api_instance.set_label_with_http_info(ostree_ostree_content_href, set_label)
301
+ p status_code # => 2xx
302
+ p headers # => { ... }
303
+ p data # => <SetLabelResponse>
304
+ rescue PulpOstreeClient::ApiError => e
305
+ puts "Error when calling ContentContentApi->set_label_with_http_info: #{e}"
306
+ end
307
+ ```
308
+
309
+ ### Parameters
310
+
311
+ | Name | Type | Description | Notes |
312
+ | ---- | ---- | ----------- | ----- |
313
+ | **ostree_ostree_content_href** | **String** | | |
314
+ | **set_label** | [**SetLabel**](SetLabel.md) | | |
315
+
316
+ ### Return type
317
+
318
+ [**SetLabelResponse**](SetLabelResponse.md)
319
+
320
+ ### Authorization
321
+
322
+ [basicAuth](../README.md#basicAuth)
323
+
324
+ ### HTTP request headers
325
+
326
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
327
+ - **Accept**: application/json
328
+
329
+
330
+ ## unset_label
331
+
332
+ > <UnsetLabelResponse> unset_label(ostree_ostree_content_href, unset_label)
333
+
334
+ Unset a label
335
+
336
+ Unset a single pulp_label on the object.
337
+
338
+ ### Examples
339
+
340
+ ```ruby
341
+ require 'time'
342
+ require 'pulp_ostree_client'
343
+ # setup authorization
344
+ PulpOstreeClient.configure do |config|
345
+ # Configure HTTP basic authorization: basicAuth
346
+ config.username = 'YOUR USERNAME'
347
+ config.password = 'YOUR PASSWORD'
348
+ end
349
+
350
+ api_instance = PulpOstreeClient::ContentContentApi.new
351
+ ostree_ostree_content_href = 'ostree_ostree_content_href_example' # String |
352
+ unset_label = PulpOstreeClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
353
+
354
+ begin
355
+ # Unset a label
356
+ result = api_instance.unset_label(ostree_ostree_content_href, unset_label)
357
+ p result
358
+ rescue PulpOstreeClient::ApiError => e
359
+ puts "Error when calling ContentContentApi->unset_label: #{e}"
360
+ end
361
+ ```
362
+
363
+ #### Using the unset_label_with_http_info variant
364
+
365
+ This returns an Array which contains the response data, status code and headers.
366
+
367
+ > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(ostree_ostree_content_href, unset_label)
368
+
369
+ ```ruby
370
+ begin
371
+ # Unset a label
372
+ data, status_code, headers = api_instance.unset_label_with_http_info(ostree_ostree_content_href, unset_label)
373
+ p status_code # => 2xx
374
+ p headers # => { ... }
375
+ p data # => <UnsetLabelResponse>
376
+ rescue PulpOstreeClient::ApiError => e
377
+ puts "Error when calling ContentContentApi->unset_label_with_http_info: #{e}"
378
+ end
379
+ ```
380
+
381
+ ### Parameters
382
+
383
+ | Name | Type | Description | Notes |
384
+ | ---- | ---- | ----------- | ----- |
385
+ | **ostree_ostree_content_href** | **String** | | |
386
+ | **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
387
+
388
+ ### Return type
389
+
390
+ [**UnsetLabelResponse**](UnsetLabelResponse.md)
391
+
392
+ ### Authorization
393
+
394
+ [basicAuth](../README.md#basicAuth)
395
+
396
+ ### HTTP request headers
397
+
398
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
399
+ - **Accept**: application/json
400
+