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,25 +2,26 @@
2
2
 
3
3
  All URIs are relative to *http://localhost:24817*
4
4
 
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**list**](ContentRefsApi.md#list) | **GET** /pulp/api/v3/content/ostree/refs/ | List ostree refs
8
- [**read**](ContentRefsApi.md#read) | **GET** {ostree_ostree_ref_href} | Inspect an ostree ref
9
-
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**list**](ContentRefsApi.md#list) | **GET** /pulp/api/v3/content/ostree/refs/ | List ostree refs |
8
+ | [**read**](ContentRefsApi.md#read) | **GET** {ostree_ostree_ref_href} | Inspect an ostree ref |
9
+ | [**set_label**](ContentRefsApi.md#set_label) | **POST** {ostree_ostree_ref_href}set_label/ | Set a label |
10
+ | [**unset_label**](ContentRefsApi.md#unset_label) | **POST** {ostree_ostree_ref_href}unset_label/ | Unset a label |
10
11
 
11
12
 
12
13
  ## list
13
14
 
14
- > PaginatedostreeOstreeRefResponseList list(opts)
15
+ > <PaginatedostreeOstreeRefResponseList> list(opts)
15
16
 
16
17
  List ostree refs
17
18
 
18
19
  A ViewSet class for OSTree head commits.
19
20
 
20
- ### Example
21
+ ### Examples
21
22
 
22
23
  ```ruby
23
- # load the gem
24
+ require 'time'
24
25
  require 'pulp_ostree_client'
25
26
  # setup authorization
26
27
  PulpOstreeClient.configure do |config|
@@ -37,62 +38,81 @@ opts = {
37
38
  name__contains: 'name__contains_example', # String | Filter results where name contains value
38
39
  name__icontains: 'name__icontains_example', # String | Filter results where name contains value
39
40
  name__iexact: 'name__iexact_example', # String | Filter results where name matches value
40
- name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
41
+ name__in: ['inner_example'], # Array<String> | Filter results where name is in a comma-separated list of values
41
42
  name__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
42
43
  name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
43
44
  name__regex: 'name__regex_example', # String | Filter results where name matches regex value
44
45
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
45
46
  offset: 56, # Integer | The initial index from which to return the results.
46
- ordering: ['ordering_example'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `pk` - Pk * `-pk` - Pk (descending)
47
- orphaned_for: 3.4, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
48
- prn__in: ['prn__in_example'], # Array<String> | Multiple values may be separated by commas.
49
- pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
50
- pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
47
+ ordering: ['-name'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `pk` - Pk * `-pk` - Pk (descending)
48
+ orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
49
+ prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
50
+ pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
51
+ pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
52
+ pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
51
53
  q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
52
54
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
53
55
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
54
56
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF/PRN
55
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
56
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
57
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
58
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
57
59
  }
58
60
 
59
61
  begin
60
- #List ostree refs
62
+ # List ostree refs
61
63
  result = api_instance.list(opts)
62
64
  p result
63
65
  rescue PulpOstreeClient::ApiError => e
64
- puts "Exception when calling ContentRefsApi->list: #{e}"
66
+ puts "Error when calling ContentRefsApi->list: #{e}"
65
67
  end
66
68
  ```
67
69
 
68
- ### Parameters
70
+ #### Using the list_with_http_info variant
69
71
 
72
+ This returns an Array which contains the response data, status code and headers.
70
73
 
71
- Name | Type | Description | Notes
72
- ------------- | ------------- | ------------- | -------------
73
- **checksum** | **String**| | [optional]
74
- **limit** | **Integer**| Number of results to return per page. | [optional]
75
- **name** | **String**| Filter results where name matches value | [optional]
76
- **name__contains** | **String**| Filter results where name contains value | [optional]
77
- **name__icontains** | **String**| Filter results where name contains value | [optional]
78
- **name__iexact** | **String**| Filter results where name matches value | [optional]
79
- **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
80
- **name__iregex** | **String**| Filter results where name matches regex value | [optional]
81
- **name__istartswith** | **String**| Filter results where name starts with value | [optional]
82
- **name__regex** | **String**| Filter results where name matches regex value | [optional]
83
- **name__startswith** | **String**| Filter results where name starts with value | [optional]
84
- **offset** | **Integer**| The initial index from which to return the results. | [optional]
85
- **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
86
- **orphaned_for** | **Float**| Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional]
87
- **prn__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
88
- **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
89
- **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
90
- **q** | **String**| Filter results by using NOT, AND and OR operations on other filters | [optional]
91
- **repository_version** | **String**| Repository Version referenced by HREF/PRN | [optional]
92
- **repository_version_added** | **String**| Repository Version referenced by HREF/PRN | [optional]
93
- **repository_version_removed** | **String**| Repository Version referenced by HREF/PRN | [optional]
94
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
95
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
74
+ > <Array(<PaginatedostreeOstreeRefResponseList>, Integer, Hash)> list_with_http_info(opts)
75
+
76
+ ```ruby
77
+ begin
78
+ # List ostree refs
79
+ data, status_code, headers = api_instance.list_with_http_info(opts)
80
+ p status_code # => 2xx
81
+ p headers # => { ... }
82
+ p data # => <PaginatedostreeOstreeRefResponseList>
83
+ rescue PulpOstreeClient::ApiError => e
84
+ puts "Error when calling ContentRefsApi->list_with_http_info: #{e}"
85
+ end
86
+ ```
87
+
88
+ ### Parameters
89
+
90
+ | Name | Type | Description | Notes |
91
+ | ---- | ---- | ----------- | ----- |
92
+ | **checksum** | **String** | | [optional] |
93
+ | **limit** | **Integer** | Number of results to return per page. | [optional] |
94
+ | **name** | **String** | Filter results where name matches value | [optional] |
95
+ | **name__contains** | **String** | Filter results where name contains value | [optional] |
96
+ | **name__icontains** | **String** | Filter results where name contains value | [optional] |
97
+ | **name__iexact** | **String** | Filter results where name matches value | [optional] |
98
+ | **name__in** | [**Array&lt;String&gt;**](String.md) | Filter results where name is in a comma-separated list of values | [optional] |
99
+ | **name__iregex** | **String** | Filter results where name matches regex value | [optional] |
100
+ | **name__istartswith** | **String** | Filter results where name starts with value | [optional] |
101
+ | **name__regex** | **String** | Filter results where name matches regex value | [optional] |
102
+ | **name__startswith** | **String** | Filter results where name starts with value | [optional] |
103
+ | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
104
+ | **ordering** | [**Array&lt;String&gt;**](String.md) | Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
105
+ | **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
106
+ | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
107
+ | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
108
+ | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
109
+ | **pulp_label_select** | **String** | Filter labels by search string | [optional] |
110
+ | **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
111
+ | **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
112
+ | **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
113
+ | **repository_version_removed** | **String** | Repository Version referenced by HREF/PRN | [optional] |
114
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
115
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
96
116
 
97
117
  ### Return type
98
118
 
@@ -110,16 +130,16 @@ Name | Type | Description | Notes
110
130
 
111
131
  ## read
112
132
 
113
- > OstreeOstreeRefResponse read(ostree_ostree_ref_href, opts)
133
+ > <OstreeOstreeRefResponse> read(ostree_ostree_ref_href, opts)
114
134
 
115
135
  Inspect an ostree ref
116
136
 
117
137
  A ViewSet class for OSTree head commits.
118
138
 
119
- ### Example
139
+ ### Examples
120
140
 
121
141
  ```ruby
122
- # load the gem
142
+ require 'time'
123
143
  require 'pulp_ostree_client'
124
144
  # setup authorization
125
145
  PulpOstreeClient.configure do |config|
@@ -131,27 +151,44 @@ end
131
151
  api_instance = PulpOstreeClient::ContentRefsApi.new
132
152
  ostree_ostree_ref_href = 'ostree_ostree_ref_href_example' # String |
133
153
  opts = {
134
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
135
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
154
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
155
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
136
156
  }
137
157
 
138
158
  begin
139
- #Inspect an ostree ref
159
+ # Inspect an ostree ref
140
160
  result = api_instance.read(ostree_ostree_ref_href, opts)
141
161
  p result
142
162
  rescue PulpOstreeClient::ApiError => e
143
- puts "Exception when calling ContentRefsApi->read: #{e}"
163
+ puts "Error when calling ContentRefsApi->read: #{e}"
144
164
  end
145
165
  ```
146
166
 
147
- ### Parameters
167
+ #### Using the read_with_http_info variant
148
168
 
169
+ This returns an Array which contains the response data, status code and headers.
149
170
 
150
- Name | Type | Description | Notes
151
- ------------- | ------------- | ------------- | -------------
152
- **ostree_ostree_ref_href** | **String**| |
153
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
154
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
171
+ > <Array(<OstreeOstreeRefResponse>, Integer, Hash)> read_with_http_info(ostree_ostree_ref_href, opts)
172
+
173
+ ```ruby
174
+ begin
175
+ # Inspect an ostree ref
176
+ data, status_code, headers = api_instance.read_with_http_info(ostree_ostree_ref_href, opts)
177
+ p status_code # => 2xx
178
+ p headers # => { ... }
179
+ p data # => <OstreeOstreeRefResponse>
180
+ rescue PulpOstreeClient::ApiError => e
181
+ puts "Error when calling ContentRefsApi->read_with_http_info: #{e}"
182
+ end
183
+ ```
184
+
185
+ ### Parameters
186
+
187
+ | Name | Type | Description | Notes |
188
+ | ---- | ---- | ----------- | ----- |
189
+ | **ostree_ostree_ref_href** | **String** | | |
190
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
191
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
155
192
 
156
193
  ### Return type
157
194
 
@@ -166,3 +203,147 @@ Name | Type | Description | Notes
166
203
  - **Content-Type**: Not defined
167
204
  - **Accept**: application/json
168
205
 
206
+
207
+ ## set_label
208
+
209
+ > <SetLabelResponse> set_label(ostree_ostree_ref_href, set_label)
210
+
211
+ Set a label
212
+
213
+ Set a single pulp_label on the object to a specific value or null.
214
+
215
+ ### Examples
216
+
217
+ ```ruby
218
+ require 'time'
219
+ require 'pulp_ostree_client'
220
+ # setup authorization
221
+ PulpOstreeClient.configure do |config|
222
+ # Configure HTTP basic authorization: basicAuth
223
+ config.username = 'YOUR USERNAME'
224
+ config.password = 'YOUR PASSWORD'
225
+ end
226
+
227
+ api_instance = PulpOstreeClient::ContentRefsApi.new
228
+ ostree_ostree_ref_href = 'ostree_ostree_ref_href_example' # String |
229
+ set_label = PulpOstreeClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
230
+
231
+ begin
232
+ # Set a label
233
+ result = api_instance.set_label(ostree_ostree_ref_href, set_label)
234
+ p result
235
+ rescue PulpOstreeClient::ApiError => e
236
+ puts "Error when calling ContentRefsApi->set_label: #{e}"
237
+ end
238
+ ```
239
+
240
+ #### Using the set_label_with_http_info variant
241
+
242
+ This returns an Array which contains the response data, status code and headers.
243
+
244
+ > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(ostree_ostree_ref_href, set_label)
245
+
246
+ ```ruby
247
+ begin
248
+ # Set a label
249
+ data, status_code, headers = api_instance.set_label_with_http_info(ostree_ostree_ref_href, set_label)
250
+ p status_code # => 2xx
251
+ p headers # => { ... }
252
+ p data # => <SetLabelResponse>
253
+ rescue PulpOstreeClient::ApiError => e
254
+ puts "Error when calling ContentRefsApi->set_label_with_http_info: #{e}"
255
+ end
256
+ ```
257
+
258
+ ### Parameters
259
+
260
+ | Name | Type | Description | Notes |
261
+ | ---- | ---- | ----------- | ----- |
262
+ | **ostree_ostree_ref_href** | **String** | | |
263
+ | **set_label** | [**SetLabel**](SetLabel.md) | | |
264
+
265
+ ### Return type
266
+
267
+ [**SetLabelResponse**](SetLabelResponse.md)
268
+
269
+ ### Authorization
270
+
271
+ [basicAuth](../README.md#basicAuth)
272
+
273
+ ### HTTP request headers
274
+
275
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
276
+ - **Accept**: application/json
277
+
278
+
279
+ ## unset_label
280
+
281
+ > <UnsetLabelResponse> unset_label(ostree_ostree_ref_href, unset_label)
282
+
283
+ Unset a label
284
+
285
+ Unset a single pulp_label on the object.
286
+
287
+ ### Examples
288
+
289
+ ```ruby
290
+ require 'time'
291
+ require 'pulp_ostree_client'
292
+ # setup authorization
293
+ PulpOstreeClient.configure do |config|
294
+ # Configure HTTP basic authorization: basicAuth
295
+ config.username = 'YOUR USERNAME'
296
+ config.password = 'YOUR PASSWORD'
297
+ end
298
+
299
+ api_instance = PulpOstreeClient::ContentRefsApi.new
300
+ ostree_ostree_ref_href = 'ostree_ostree_ref_href_example' # String |
301
+ unset_label = PulpOstreeClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
302
+
303
+ begin
304
+ # Unset a label
305
+ result = api_instance.unset_label(ostree_ostree_ref_href, unset_label)
306
+ p result
307
+ rescue PulpOstreeClient::ApiError => e
308
+ puts "Error when calling ContentRefsApi->unset_label: #{e}"
309
+ end
310
+ ```
311
+
312
+ #### Using the unset_label_with_http_info variant
313
+
314
+ This returns an Array which contains the response data, status code and headers.
315
+
316
+ > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(ostree_ostree_ref_href, unset_label)
317
+
318
+ ```ruby
319
+ begin
320
+ # Unset a label
321
+ data, status_code, headers = api_instance.unset_label_with_http_info(ostree_ostree_ref_href, unset_label)
322
+ p status_code # => 2xx
323
+ p headers # => { ... }
324
+ p data # => <UnsetLabelResponse>
325
+ rescue PulpOstreeClient::ApiError => e
326
+ puts "Error when calling ContentRefsApi->unset_label_with_http_info: #{e}"
327
+ end
328
+ ```
329
+
330
+ ### Parameters
331
+
332
+ | Name | Type | Description | Notes |
333
+ | ---- | ---- | ----------- | ----- |
334
+ | **ostree_ostree_ref_href** | **String** | | |
335
+ | **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
336
+
337
+ ### Return type
338
+
339
+ [**UnsetLabelResponse**](UnsetLabelResponse.md)
340
+
341
+ ### Authorization
342
+
343
+ [basicAuth](../README.md#basicAuth)
344
+
345
+ ### HTTP request headers
346
+
347
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
348
+ - **Accept**: application/json
349
+