pulp_ostree_client 2.0.0a6 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +12 -7
  3. data/docs/ContentCommitsApi.md +8 -8
  4. data/docs/ContentConfigsApi.md +8 -8
  5. data/docs/ContentContentApi.md +138 -0
  6. data/docs/ContentObjectsApi.md +8 -8
  7. data/docs/ContentRefsApi.md +8 -8
  8. data/docs/ContentSummariesApi.md +8 -8
  9. data/docs/DistributionsOstreeApi.md +18 -12
  10. data/docs/OstreeOstreeContentResponse.md +25 -0
  11. data/docs/OstreeOstreeDistribution.md +1 -1
  12. data/docs/OstreeOstreeDistributionResponse.md +1 -1
  13. data/docs/OstreeOstreeRemote.md +1 -1
  14. data/docs/OstreeOstreeRemoteResponse.md +3 -1
  15. data/docs/OstreeOstreeRemoteResponseHiddenFields.md +19 -0
  16. data/docs/OstreeOstreeRepository.md +5 -3
  17. data/docs/OstreeOstreeRepositoryResponse.md +5 -3
  18. data/docs/PaginatedostreeOstreeContentResponseList.md +23 -0
  19. data/docs/PatchedostreeOstreeDistribution.md +1 -1
  20. data/docs/PatchedostreeOstreeRemote.md +1 -1
  21. data/docs/PatchedostreeOstreeRepository.md +5 -3
  22. data/docs/RemotesOstreeApi.md +12 -12
  23. data/docs/RepositoriesOstreeApi.md +32 -14
  24. data/docs/RepositoriesOstreeVersionsApi.md +12 -12
  25. data/docs/RepositoryAddRemoveContent.md +21 -0
  26. data/lib/pulp_ostree_client/api/content_commits_api.rb +13 -13
  27. data/lib/pulp_ostree_client/api/content_configs_api.rb +12 -12
  28. data/lib/pulp_ostree_client/api/content_content_api.rb +174 -0
  29. data/lib/pulp_ostree_client/api/content_objects_api.rb +13 -13
  30. data/lib/pulp_ostree_client/api/content_refs_api.rb +13 -13
  31. data/lib/pulp_ostree_client/api/content_summaries_api.rb +12 -12
  32. data/lib/pulp_ostree_client/api/distributions_ostree_api.rb +26 -17
  33. data/lib/pulp_ostree_client/api/remotes_ostree_api.rb +17 -17
  34. data/lib/pulp_ostree_client/api/repositories_ostree_api.rb +51 -24
  35. data/lib/pulp_ostree_client/api/repositories_ostree_versions_api.rb +17 -17
  36. data/lib/pulp_ostree_client/api_client.rb +1 -1
  37. data/lib/pulp_ostree_client/models/ostree_ostree_content_response.rb +260 -0
  38. data/lib/pulp_ostree_client/models/ostree_ostree_distribution.rb +4 -2
  39. data/lib/pulp_ostree_client/models/ostree_ostree_distribution_response.rb +4 -2
  40. data/lib/pulp_ostree_client/models/ostree_ostree_remote.rb +4 -2
  41. data/lib/pulp_ostree_client/models/ostree_ostree_remote_response.rb +17 -3
  42. data/lib/pulp_ostree_client/models/ostree_ostree_remote_response_hidden_fields.rb +215 -0
  43. data/lib/pulp_ostree_client/models/ostree_ostree_repository.rb +21 -8
  44. data/lib/pulp_ostree_client/models/ostree_ostree_repository_response.rb +21 -8
  45. data/lib/pulp_ostree_client/models/paginatedostree_ostree_content_response_list.rb +237 -0
  46. data/lib/pulp_ostree_client/models/patchedostree_ostree_distribution.rb +4 -2
  47. data/lib/pulp_ostree_client/models/patchedostree_ostree_remote.rb +4 -2
  48. data/lib/pulp_ostree_client/models/patchedostree_ostree_repository.rb +21 -8
  49. data/lib/pulp_ostree_client/models/{ostree_repository_add_remove_content.rb → repository_add_remove_content.rb} +6 -6
  50. data/lib/pulp_ostree_client/version.rb +1 -1
  51. data/lib/pulp_ostree_client.rb +5 -1
  52. data/pulp_ostree_client.gemspec +3 -3
  53. data/spec/api/content_commits_api_spec.rb +4 -4
  54. data/spec/api/content_configs_api_spec.rb +4 -4
  55. data/spec/api/content_content_api_spec.rb +68 -0
  56. data/spec/api/content_objects_api_spec.rb +4 -4
  57. data/spec/api/content_refs_api_spec.rb +4 -4
  58. data/spec/api/content_summaries_api_spec.rb +4 -4
  59. data/spec/api/distributions_ostree_api_spec.rb +9 -6
  60. data/spec/api/remotes_ostree_api_spec.rb +6 -6
  61. data/spec/api/repositories_ostree_api_spec.rb +15 -6
  62. data/spec/api/repositories_ostree_versions_api_spec.rb +6 -6
  63. data/spec/models/ostree_ostree_content_response_spec.rb +65 -0
  64. data/spec/models/ostree_ostree_remote_response_hidden_fields_spec.rb +47 -0
  65. data/spec/models/ostree_ostree_remote_response_spec.rb +6 -0
  66. data/spec/models/ostree_ostree_repository_response_spec.rb +6 -0
  67. data/spec/models/ostree_ostree_repository_spec.rb +6 -0
  68. data/spec/models/paginatedostree_ostree_content_response_list_spec.rb +59 -0
  69. data/spec/models/patchedostree_ostree_repository_spec.rb +6 -0
  70. data/spec/models/{ostree_repository_add_remove_content_spec.rb → repository_add_remove_content_spec.rb} +6 -6
  71. metadata +60 -45
  72. data/docs/OstreeRepositoryAddRemoveContent.md +0 -21
  73. data/git_push.sh +0 -58
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 21f66086909a0b3a934c9f360ff955a8539ae26ee50b87a99d2d8de9621d72df
4
- data.tar.gz: 9e4ef8da5bdd90ab3eda3e776e57b7c6f3f32244b38bbc6273e3dbbf54d36abb
3
+ metadata.gz: 50c173afe5863940d188bc9685e257e71c092d9974da173c4d20651deb65afa9
4
+ data.tar.gz: 7c711daa151e03a82adb4fe1bfd17ccdfb6c123747eccc5e07f18f2a4263fcb5
5
5
  SHA512:
6
- metadata.gz: b8ce9dbc541cf34eb6df420da88c2365b10f409d8392155c977242581bb5ce729c47cc94029ecebbb4c74d98ef06881895ef026a156addf00f8e6d6b42b074ee
7
- data.tar.gz: 888774fb5c87e0e3aa1ea3c2a950bda95f2bf28c3ccdfc7c7ad5c6f93b3efa53bc9d14a968cf002d04d987ff0b0c5ed3c30b5a2fcf4ddc8734a1d386009ba91d
6
+ metadata.gz: 729057a37047f70d9714d93b987672ac1c9f1a0b618bcb5344e6e20c14403b13d4f90a70a537a8ae7ea0325c6901bf9a514bedf8d20d1a59e8ed5b03474d89ad
7
+ data.tar.gz: c265cd4626116319bc7cc431bc9992034129556abaf2fc52d5e10a8cb03c58c60353071fede093cee9fa47bd469869725a84d7f2649275f8320b5e44067c1349
data/README.md CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 2.0.0a6
10
+ - Package version: 2.0.0
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
13
13
 
@@ -24,16 +24,16 @@ gem build pulp_ostree_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulp_ostree_client-2.0.0a6.gem
27
+ gem install ./pulp_ostree_client-2.0.0.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_ostree_client-2.0.0a6.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_ostree_client-2.0.0.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'pulp_ostree_client', '~> 2.0.0a6'
36
+ gem 'pulp_ostree_client', '~> 2.0.0'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -73,8 +73,8 @@ opts = {
73
73
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
74
74
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
75
75
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
76
- fields: 'fields_example', # String | A list of fields to include in the response.
77
- exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
76
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
77
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
78
78
  }
79
79
 
80
80
  begin
@@ -97,6 +97,8 @@ Class | Method | HTTP request | Description
97
97
  *PulpOstreeClient::ContentCommitsApi* | [**read**](docs/ContentCommitsApi.md#read) | **GET** {ostree_ostree_commit_href} | Inspect an ostree commit
98
98
  *PulpOstreeClient::ContentConfigsApi* | [**list**](docs/ContentConfigsApi.md#list) | **GET** /pulp/api/v3/content/ostree/configs/ | List ostree configs
99
99
  *PulpOstreeClient::ContentConfigsApi* | [**read**](docs/ContentConfigsApi.md#read) | **GET** {ostree_ostree_config_href} | Inspect an ostree config
100
+ *PulpOstreeClient::ContentContentApi* | [**list**](docs/ContentContentApi.md#list) | **GET** /pulp/api/v3/content/ostree/content/ | List ostree contents
101
+ *PulpOstreeClient::ContentContentApi* | [**read**](docs/ContentContentApi.md#read) | **GET** {ostree_ostree_content_href} | Inspect an ostree content
100
102
  *PulpOstreeClient::ContentObjectsApi* | [**list**](docs/ContentObjectsApi.md#list) | **GET** /pulp/api/v3/content/ostree/objects/ | List ostree objects
101
103
  *PulpOstreeClient::ContentObjectsApi* | [**read**](docs/ContentObjectsApi.md#read) | **GET** {ostree_ostree_object_href} | Inspect an ostree object
102
104
  *PulpOstreeClient::ContentRefsApi* | [**list**](docs/ContentRefsApi.md#list) | **GET** /pulp/api/v3/content/ostree/refs/ | List ostree refs
@@ -139,19 +141,21 @@ Class | Method | HTTP request | Description
139
141
  - [PulpOstreeClient::OstreeImportCommitsToRef](docs/OstreeImportCommitsToRef.md)
140
142
  - [PulpOstreeClient::OstreeOstreeCommitResponse](docs/OstreeOstreeCommitResponse.md)
141
143
  - [PulpOstreeClient::OstreeOstreeConfigResponse](docs/OstreeOstreeConfigResponse.md)
144
+ - [PulpOstreeClient::OstreeOstreeContentResponse](docs/OstreeOstreeContentResponse.md)
142
145
  - [PulpOstreeClient::OstreeOstreeDistribution](docs/OstreeOstreeDistribution.md)
143
146
  - [PulpOstreeClient::OstreeOstreeDistributionResponse](docs/OstreeOstreeDistributionResponse.md)
144
147
  - [PulpOstreeClient::OstreeOstreeObjectResponse](docs/OstreeOstreeObjectResponse.md)
145
148
  - [PulpOstreeClient::OstreeOstreeRefResponse](docs/OstreeOstreeRefResponse.md)
146
149
  - [PulpOstreeClient::OstreeOstreeRemote](docs/OstreeOstreeRemote.md)
147
150
  - [PulpOstreeClient::OstreeOstreeRemoteResponse](docs/OstreeOstreeRemoteResponse.md)
151
+ - [PulpOstreeClient::OstreeOstreeRemoteResponseHiddenFields](docs/OstreeOstreeRemoteResponseHiddenFields.md)
148
152
  - [PulpOstreeClient::OstreeOstreeRepository](docs/OstreeOstreeRepository.md)
149
153
  - [PulpOstreeClient::OstreeOstreeRepositoryResponse](docs/OstreeOstreeRepositoryResponse.md)
150
154
  - [PulpOstreeClient::OstreeOstreeSummaryResponse](docs/OstreeOstreeSummaryResponse.md)
151
- - [PulpOstreeClient::OstreeRepositoryAddRemoveContent](docs/OstreeRepositoryAddRemoveContent.md)
152
155
  - [PulpOstreeClient::PaginatedRepositoryVersionResponseList](docs/PaginatedRepositoryVersionResponseList.md)
153
156
  - [PulpOstreeClient::PaginatedostreeOstreeCommitResponseList](docs/PaginatedostreeOstreeCommitResponseList.md)
154
157
  - [PulpOstreeClient::PaginatedostreeOstreeConfigResponseList](docs/PaginatedostreeOstreeConfigResponseList.md)
158
+ - [PulpOstreeClient::PaginatedostreeOstreeContentResponseList](docs/PaginatedostreeOstreeContentResponseList.md)
155
159
  - [PulpOstreeClient::PaginatedostreeOstreeDistributionResponseList](docs/PaginatedostreeOstreeDistributionResponseList.md)
156
160
  - [PulpOstreeClient::PaginatedostreeOstreeObjectResponseList](docs/PaginatedostreeOstreeObjectResponseList.md)
157
161
  - [PulpOstreeClient::PaginatedostreeOstreeRefResponseList](docs/PaginatedostreeOstreeRefResponseList.md)
@@ -163,6 +167,7 @@ Class | Method | HTTP request | Description
163
167
  - [PulpOstreeClient::PatchedostreeOstreeRepository](docs/PatchedostreeOstreeRepository.md)
164
168
  - [PulpOstreeClient::PolicyEnum](docs/PolicyEnum.md)
165
169
  - [PulpOstreeClient::Repair](docs/Repair.md)
170
+ - [PulpOstreeClient::RepositoryAddRemoveContent](docs/RepositoryAddRemoveContent.md)
166
171
  - [PulpOstreeClient::RepositorySyncURL](docs/RepositorySyncURL.md)
167
172
  - [PulpOstreeClient::RepositoryVersionResponse](docs/RepositoryVersionResponse.md)
168
173
 
@@ -38,8 +38,8 @@ opts = {
38
38
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
39
39
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
40
40
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
41
- fields: 'fields_example', # String | A list of fields to include in the response.
42
- exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
41
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
42
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
43
43
  }
44
44
 
45
45
  begin
@@ -63,8 +63,8 @@ Name | Type | Description | Notes
63
63
  **repository_version** | **String**| Repository Version referenced by HREF | [optional]
64
64
  **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
65
65
  **repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
66
- **fields** | **String**| A list of fields to include in the response. | [optional]
67
- **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
66
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
67
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
68
68
 
69
69
  ### Return type
70
70
 
@@ -103,8 +103,8 @@ end
103
103
  api_instance = PulpOstreeClient::ContentCommitsApi.new
104
104
  ostree_ostree_commit_href = 'ostree_ostree_commit_href_example' # String |
105
105
  opts = {
106
- fields: 'fields_example', # String | A list of fields to include in the response.
107
- exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
106
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
107
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
108
108
  }
109
109
 
110
110
  begin
@@ -122,8 +122,8 @@ end
122
122
  Name | Type | Description | Notes
123
123
  ------------- | ------------- | ------------- | -------------
124
124
  **ostree_ostree_commit_href** | **String**| |
125
- **fields** | **String**| A list of fields to include in the response. | [optional]
126
- **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
125
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
126
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
127
127
 
128
128
  ### Return type
129
129
 
@@ -37,8 +37,8 @@ opts = {
37
37
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
38
38
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
39
39
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
40
- fields: 'fields_example', # String | A list of fields to include in the response.
41
- exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
40
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
41
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
42
42
  }
43
43
 
44
44
  begin
@@ -61,8 +61,8 @@ Name | Type | Description | Notes
61
61
  **repository_version** | **String**| Repository Version referenced by HREF | [optional]
62
62
  **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
63
63
  **repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
64
- **fields** | **String**| A list of fields to include in the response. | [optional]
65
- **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
64
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
65
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
66
66
 
67
67
  ### Return type
68
68
 
@@ -101,8 +101,8 @@ end
101
101
  api_instance = PulpOstreeClient::ContentConfigsApi.new
102
102
  ostree_ostree_config_href = 'ostree_ostree_config_href_example' # String |
103
103
  opts = {
104
- fields: 'fields_example', # String | A list of fields to include in the response.
105
- exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
104
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
105
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
106
106
  }
107
107
 
108
108
  begin
@@ -120,8 +120,8 @@ end
120
120
  Name | Type | Description | Notes
121
121
  ------------- | ------------- | ------------- | -------------
122
122
  **ostree_ostree_config_href** | **String**| |
123
- **fields** | **String**| A list of fields to include in the response. | [optional]
124
- **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
123
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
124
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
125
125
 
126
126
  ### Return type
127
127
 
@@ -0,0 +1,138 @@
1
+ # PulpOstreeClient::ContentContentApi
2
+
3
+ All URIs are relative to *https://pulp*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**list**](ContentContentApi.md#list) | **GET** /pulp/api/v3/content/ostree/content/ | List ostree contents
8
+ [**read**](ContentContentApi.md#read) | **GET** {ostree_ostree_content_href} | Inspect an ostree content
9
+
10
+
11
+
12
+ ## list
13
+
14
+ > PaginatedostreeOstreeContentResponseList list(opts)
15
+
16
+ List ostree contents
17
+
18
+ A ViewSet class for uncategorized content units (e.g., static deltas).
19
+
20
+ ### Example
21
+
22
+ ```ruby
23
+ # load the gem
24
+ require 'pulp_ostree_client'
25
+ # setup authorization
26
+ PulpOstreeClient.configure do |config|
27
+ # Configure HTTP basic authorization: basicAuth
28
+ config.username = 'YOUR USERNAME'
29
+ config.password = 'YOUR PASSWORD'
30
+ end
31
+
32
+ api_instance = PulpOstreeClient::ContentContentApi.new
33
+ opts = {
34
+ limit: 56, # Integer | Number of results to return per page.
35
+ offset: 56, # Integer | The initial index from which to return the results.
36
+ ordering: ['ordering_example'], # Array<String> | Ordering
37
+ repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
38
+ repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
39
+ repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
40
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
41
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
42
+ }
43
+
44
+ begin
45
+ #List ostree contents
46
+ result = api_instance.list(opts)
47
+ p result
48
+ rescue PulpOstreeClient::ApiError => e
49
+ puts "Exception when calling ContentContentApi->list: #{e}"
50
+ end
51
+ ```
52
+
53
+ ### Parameters
54
+
55
+
56
+ Name | Type | Description | Notes
57
+ ------------- | ------------- | ------------- | -------------
58
+ **limit** | **Integer**| Number of results to return per page. | [optional]
59
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
60
+ **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
61
+ **repository_version** | **String**| Repository Version referenced by HREF | [optional]
62
+ **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
63
+ **repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
64
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
65
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
66
+
67
+ ### Return type
68
+
69
+ [**PaginatedostreeOstreeContentResponseList**](PaginatedostreeOstreeContentResponseList.md)
70
+
71
+ ### Authorization
72
+
73
+ [basicAuth](../README.md#basicAuth)
74
+
75
+ ### HTTP request headers
76
+
77
+ - **Content-Type**: Not defined
78
+ - **Accept**: application/json
79
+
80
+
81
+ ## read
82
+
83
+ > OstreeOstreeContentResponse read(ostree_ostree_content_href, opts)
84
+
85
+ Inspect an ostree content
86
+
87
+ A ViewSet class for uncategorized content units (e.g., static deltas).
88
+
89
+ ### Example
90
+
91
+ ```ruby
92
+ # load the gem
93
+ require 'pulp_ostree_client'
94
+ # setup authorization
95
+ PulpOstreeClient.configure do |config|
96
+ # Configure HTTP basic authorization: basicAuth
97
+ config.username = 'YOUR USERNAME'
98
+ config.password = 'YOUR PASSWORD'
99
+ end
100
+
101
+ api_instance = PulpOstreeClient::ContentContentApi.new
102
+ ostree_ostree_content_href = 'ostree_ostree_content_href_example' # String |
103
+ opts = {
104
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
105
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
106
+ }
107
+
108
+ begin
109
+ #Inspect an ostree content
110
+ result = api_instance.read(ostree_ostree_content_href, opts)
111
+ p result
112
+ rescue PulpOstreeClient::ApiError => e
113
+ puts "Exception when calling ContentContentApi->read: #{e}"
114
+ end
115
+ ```
116
+
117
+ ### Parameters
118
+
119
+
120
+ Name | Type | Description | Notes
121
+ ------------- | ------------- | ------------- | -------------
122
+ **ostree_ostree_content_href** | **String**| |
123
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
124
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
125
+
126
+ ### Return type
127
+
128
+ [**OstreeOstreeContentResponse**](OstreeOstreeContentResponse.md)
129
+
130
+ ### Authorization
131
+
132
+ [basicAuth](../README.md#basicAuth)
133
+
134
+ ### HTTP request headers
135
+
136
+ - **Content-Type**: Not defined
137
+ - **Accept**: application/json
138
+
@@ -38,8 +38,8 @@ opts = {
38
38
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
39
39
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
40
40
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
41
- fields: 'fields_example', # String | A list of fields to include in the response.
42
- exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
41
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
42
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
43
43
  }
44
44
 
45
45
  begin
@@ -63,8 +63,8 @@ Name | Type | Description | Notes
63
63
  **repository_version** | **String**| Repository Version referenced by HREF | [optional]
64
64
  **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
65
65
  **repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
66
- **fields** | **String**| A list of fields to include in the response. | [optional]
67
- **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
66
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
67
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
68
68
 
69
69
  ### Return type
70
70
 
@@ -103,8 +103,8 @@ end
103
103
  api_instance = PulpOstreeClient::ContentObjectsApi.new
104
104
  ostree_ostree_object_href = 'ostree_ostree_object_href_example' # String |
105
105
  opts = {
106
- fields: 'fields_example', # String | A list of fields to include in the response.
107
- exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
106
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
107
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
108
108
  }
109
109
 
110
110
  begin
@@ -122,8 +122,8 @@ end
122
122
  Name | Type | Description | Notes
123
123
  ------------- | ------------- | ------------- | -------------
124
124
  **ostree_ostree_object_href** | **String**| |
125
- **fields** | **String**| A list of fields to include in the response. | [optional]
126
- **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
125
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
126
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
127
127
 
128
128
  ### Return type
129
129
 
@@ -43,8 +43,8 @@ opts = {
43
43
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
44
44
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
45
45
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
46
- fields: 'fields_example', # String | A list of fields to include in the response.
47
- exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
46
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
47
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
48
48
  }
49
49
 
50
50
  begin
@@ -73,8 +73,8 @@ Name | Type | Description | Notes
73
73
  **repository_version** | **String**| Repository Version referenced by HREF | [optional]
74
74
  **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
75
75
  **repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
76
- **fields** | **String**| A list of fields to include in the response. | [optional]
77
- **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
76
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
77
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
78
78
 
79
79
  ### Return type
80
80
 
@@ -113,8 +113,8 @@ end
113
113
  api_instance = PulpOstreeClient::ContentRefsApi.new
114
114
  ostree_ostree_ref_href = 'ostree_ostree_ref_href_example' # String |
115
115
  opts = {
116
- fields: 'fields_example', # String | A list of fields to include in the response.
117
- exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
116
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
117
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
118
118
  }
119
119
 
120
120
  begin
@@ -132,8 +132,8 @@ end
132
132
  Name | Type | Description | Notes
133
133
  ------------- | ------------- | ------------- | -------------
134
134
  **ostree_ostree_ref_href** | **String**| |
135
- **fields** | **String**| A list of fields to include in the response. | [optional]
136
- **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
135
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
136
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
137
137
 
138
138
  ### Return type
139
139
 
@@ -37,8 +37,8 @@ opts = {
37
37
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
38
38
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
39
39
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
40
- fields: 'fields_example', # String | A list of fields to include in the response.
41
- exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
40
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
41
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
42
42
  }
43
43
 
44
44
  begin
@@ -61,8 +61,8 @@ Name | Type | Description | Notes
61
61
  **repository_version** | **String**| Repository Version referenced by HREF | [optional]
62
62
  **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
63
63
  **repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
64
- **fields** | **String**| A list of fields to include in the response. | [optional]
65
- **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
64
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
65
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
66
66
 
67
67
  ### Return type
68
68
 
@@ -101,8 +101,8 @@ end
101
101
  api_instance = PulpOstreeClient::ContentSummariesApi.new
102
102
  ostree_ostree_summary_href = 'ostree_ostree_summary_href_example' # String |
103
103
  opts = {
104
- fields: 'fields_example', # String | A list of fields to include in the response.
105
- exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
104
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
105
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
106
106
  }
107
107
 
108
108
  begin
@@ -120,8 +120,8 @@ end
120
120
  Name | Type | Description | Notes
121
121
  ------------- | ------------- | ------------- | -------------
122
122
  **ostree_ostree_summary_href** | **String**| |
123
- **fields** | **String**| A list of fields to include in the response. | [optional]
124
- **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
123
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
124
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
125
125
 
126
126
  ### Return type
127
127
 
@@ -141,12 +141,12 @@ end
141
141
 
142
142
  api_instance = PulpOstreeClient::DistributionsOstreeApi.new
143
143
  opts = {
144
- base_path: 'base_path_example', # String |
144
+ base_path: 'base_path_example', # String | Filter results where base_path matches value
145
145
  base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
146
146
  base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
147
147
  base_path__in: ['base_path__in_example'], # Array<String> | Filter results where base_path is in a comma-separated list of values
148
148
  limit: 56, # Integer | Number of results to return per page.
149
- name: 'name_example', # String |
149
+ name: 'name_example', # String | Filter results where name matches value
150
150
  name__contains: 'name__contains_example', # String | Filter results where name contains value
151
151
  name__icontains: 'name__icontains_example', # String | Filter results where name contains value
152
152
  name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
@@ -154,8 +154,11 @@ opts = {
154
154
  offset: 56, # Integer | The initial index from which to return the results.
155
155
  ordering: ['ordering_example'], # Array<String> | Ordering
156
156
  pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
157
- fields: 'fields_example', # String | A list of fields to include in the response.
158
- exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
157
+ repository: 'repository_example', # String | Filter results where repository matches value
158
+ repository__in: ['repository__in_example'], # Array<String> | Filter results where repository is in a comma-separated list of values
159
+ with_content: 'with_content_example', # String | Filter distributions based on the content served by them
160
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
161
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
159
162
  }
160
163
 
161
164
  begin
@@ -172,12 +175,12 @@ end
172
175
 
173
176
  Name | Type | Description | Notes
174
177
  ------------- | ------------- | ------------- | -------------
175
- **base_path** | **String**| | [optional]
178
+ **base_path** | **String**| Filter results where base_path matches value | [optional]
176
179
  **base_path__contains** | **String**| Filter results where base_path contains value | [optional]
177
180
  **base_path__icontains** | **String**| Filter results where base_path contains value | [optional]
178
181
  **base_path__in** | [**Array&lt;String&gt;**](String.md)| Filter results where base_path is in a comma-separated list of values | [optional]
179
182
  **limit** | **Integer**| Number of results to return per page. | [optional]
180
- **name** | **String**| | [optional]
183
+ **name** | **String**| Filter results where name matches value | [optional]
181
184
  **name__contains** | **String**| Filter results where name contains value | [optional]
182
185
  **name__icontains** | **String**| Filter results where name contains value | [optional]
183
186
  **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
@@ -185,8 +188,11 @@ Name | Type | Description | Notes
185
188
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
186
189
  **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
187
190
  **pulp_label_select** | **String**| Filter labels by search string | [optional]
188
- **fields** | **String**| A list of fields to include in the response. | [optional]
189
- **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
191
+ **repository** | **String**| Filter results where repository matches value | [optional]
192
+ **repository__in** | [**Array&lt;String&gt;**](String.md)| Filter results where repository is in a comma-separated list of values | [optional]
193
+ **with_content** | **String**| Filter distributions based on the content served by them | [optional]
194
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
195
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
190
196
 
191
197
  ### Return type
192
198
 
@@ -280,8 +286,8 @@ end
280
286
  api_instance = PulpOstreeClient::DistributionsOstreeApi.new
281
287
  ostree_ostree_distribution_href = 'ostree_ostree_distribution_href_example' # String |
282
288
  opts = {
283
- fields: 'fields_example', # String | A list of fields to include in the response.
284
- exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
289
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
290
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
285
291
  }
286
292
 
287
293
  begin
@@ -299,8 +305,8 @@ end
299
305
  Name | Type | Description | Notes
300
306
  ------------- | ------------- | ------------- | -------------
301
307
  **ostree_ostree_distribution_href** | **String**| |
302
- **fields** | **String**| A list of fields to include in the response. | [optional]
303
- **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
308
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
309
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
304
310
 
305
311
  ### Return type
306
312
 
@@ -0,0 +1,25 @@
1
+ # PulpOstreeClient::OstreeOstreeContentResponse
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **artifact** | **String** | Artifact file representing the physical content |
10
+ **relative_path** | **String** | |
11
+ **digest** | **String** | |
12
+
13
+ ## Code Sample
14
+
15
+ ```ruby
16
+ require 'PulpOstreeClient'
17
+
18
+ instance = PulpOstreeClient::OstreeOstreeContentResponse.new(pulp_href: null,
19
+ pulp_created: null,
20
+ artifact: null,
21
+ relative_path: null,
22
+ digest: null)
23
+ ```
24
+
25
+
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \&quot;foo\&quot; and \&quot;foo/bar\&quot;) |
8
8
  **content_guard** | **String** | An optional content-guard. | [optional]
9
- **pulp_labels** | [**Object**](.md) | | [optional]
9
+ **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional]
10
10
  **name** | **String** | A unique name. Ex, &#x60;rawhide&#x60; and &#x60;stable&#x60;. |
11
11
  **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
12
12
  **repository_version** | **String** | RepositoryVersion to be served | [optional]
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
9
9
  **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \&quot;foo\&quot; and \&quot;foo/bar\&quot;) |
10
10
  **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
11
11
  **content_guard** | **String** | An optional content-guard. | [optional]
12
- **pulp_labels** | [**Object**](.md) | | [optional]
12
+ **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional]
13
13
  **name** | **String** | A unique name. Ex, &#x60;rawhide&#x60; and &#x60;stable&#x60;. |
14
14
  **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
15
15
  **repository_version** | **String** | RepositoryVersion to be served | [optional]
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
15
15
  **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
16
16
  **username** | **String** | The username to be used for authentication when syncing. | [optional]
17
17
  **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
18
- **pulp_labels** | [**Object**](.md) | | [optional]
18
+ **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional]
19
19
  **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
20
20
  **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
21
21
  **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. | [optional]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
12
12
  **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
13
13
  **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
14
14
  **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
15
- **pulp_labels** | [**Object**](.md) | | [optional]
15
+ **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional]
16
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]
@@ -23,6 +23,7 @@ Name | Type | Description | Notes
23
23
  **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
24
24
  **headers** | **Array&lt;Object&gt;** | Headers for aiohttp.Clientsession | [optional]
25
25
  **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
26
+ **hidden_fields** | [**Array&lt;OstreeOstreeRemoteResponseHiddenFields&gt;**](OstreeOstreeRemoteResponseHiddenFields.md) | List of hidden (write only) fields | [optional] [readonly]
26
27
  **depth** | **Integer** | An option to specify how many commits to traverse. | [optional] [default to 0]
27
28
  **include_refs** | **Array&lt;String&gt;** | A list of refs to include during a sync. The wildcards *, ? are recognized. &#39;include_refs&#39; is evaluated before &#39;exclude_refs&#39;. | [optional]
28
29
  **exclude_refs** | **Array&lt;String&gt;** | A list of tags to exclude during a sync. The wildcards *, ? are recognized. &#39;exclude_refs&#39; is evaluated after &#39;include_refs&#39;. | [optional]
@@ -51,6 +52,7 @@ instance = PulpOstreeClient::OstreeOstreeRemoteResponse.new(pulp_href: null,
51
52
  sock_read_timeout: null,
52
53
  headers: null,
53
54
  rate_limit: null,
55
+ hidden_fields: null,
54
56
  depth: null,
55
57
  include_refs: null,
56
58
  exclude_refs: null)
@@ -0,0 +1,19 @@
1
+ # PulpOstreeClient::OstreeOstreeRemoteResponseHiddenFields
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **name** | **String** | | [optional]
8
+ **is_set** | **Boolean** | | [optional]
9
+
10
+ ## Code Sample
11
+
12
+ ```ruby
13
+ require 'PulpOstreeClient'
14
+
15
+ instance = PulpOstreeClient::OstreeOstreeRemoteResponseHiddenFields.new(name: null,
16
+ is_set: null)
17
+ ```
18
+
19
+