pulp_ostree_client 2.0.0a1

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 (138) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/README.md +174 -0
  4. data/Rakefile +10 -0
  5. data/docs/AsyncOperationResponse.md +17 -0
  6. data/docs/ContentCommitsApi.md +138 -0
  7. data/docs/ContentConfigsApi.md +138 -0
  8. data/docs/ContentObjectsApi.md +138 -0
  9. data/docs/ContentRefsApi.md +138 -0
  10. data/docs/ContentSummariesApi.md +138 -0
  11. data/docs/ContentSummary.md +21 -0
  12. data/docs/ContentSummaryResponse.md +21 -0
  13. data/docs/DistributionsOstreeApi.md +372 -0
  14. data/docs/OstreeOstreeCommitResponse.md +25 -0
  15. data/docs/OstreeOstreeConfigResponse.md +21 -0
  16. data/docs/OstreeOstreeDistribution.md +27 -0
  17. data/docs/OstreeOstreeDistributionResponse.md +33 -0
  18. data/docs/OstreeOstreeObjectResponse.md +27 -0
  19. data/docs/OstreeOstreeRefResponse.md +25 -0
  20. data/docs/OstreeOstreeRemote.md +59 -0
  21. data/docs/OstreeOstreeRemoteResponse.md +55 -0
  22. data/docs/OstreeOstreeRepository.md +25 -0
  23. data/docs/OstreeOstreeRepositoryResponse.md +33 -0
  24. data/docs/OstreeOstreeSummaryResponse.md +21 -0
  25. data/docs/OstreeRepoImport.md +23 -0
  26. data/docs/PaginatedRepositoryVersionResponseList.md +23 -0
  27. data/docs/PaginatedostreeOstreeCommitResponseList.md +23 -0
  28. data/docs/PaginatedostreeOstreeConfigResponseList.md +23 -0
  29. data/docs/PaginatedostreeOstreeDistributionResponseList.md +23 -0
  30. data/docs/PaginatedostreeOstreeObjectResponseList.md +23 -0
  31. data/docs/PaginatedostreeOstreeRefResponseList.md +23 -0
  32. data/docs/PaginatedostreeOstreeRemoteResponseList.md +23 -0
  33. data/docs/PaginatedostreeOstreeRepositoryResponseList.md +23 -0
  34. data/docs/PaginatedostreeOstreeSummaryResponseList.md +23 -0
  35. data/docs/PatchedostreeOstreeDistribution.md +27 -0
  36. data/docs/PatchedostreeOstreeRemote.md +59 -0
  37. data/docs/PatchedostreeOstreeRepository.md +25 -0
  38. data/docs/PolicyEnum.md +16 -0
  39. data/docs/RemotesOstreeApi.md +376 -0
  40. data/docs/RepositoriesOstreeApi.md +532 -0
  41. data/docs/RepositoriesOstreeVersionsApi.md +271 -0
  42. data/docs/RepositoryAddRemoveContent.md +21 -0
  43. data/docs/RepositorySyncURL.md +19 -0
  44. data/docs/RepositoryVersion.md +17 -0
  45. data/docs/RepositoryVersionResponse.md +27 -0
  46. data/git_push.sh +58 -0
  47. data/lib/pulp_ostree_client/api/content_commits_api.rb +170 -0
  48. data/lib/pulp_ostree_client/api/content_configs_api.rb +170 -0
  49. data/lib/pulp_ostree_client/api/content_objects_api.rb +170 -0
  50. data/lib/pulp_ostree_client/api/content_refs_api.rb +170 -0
  51. data/lib/pulp_ostree_client/api/content_summaries_api.rb +170 -0
  52. data/lib/pulp_ostree_client/api/distributions_ostree_api.rb +457 -0
  53. data/lib/pulp_ostree_client/api/remotes_ostree_api.rb +463 -0
  54. data/lib/pulp_ostree_client/api/repositories_ostree_api.rb +655 -0
  55. data/lib/pulp_ostree_client/api/repositories_ostree_versions_api.rb +339 -0
  56. data/lib/pulp_ostree_client/api_client.rb +406 -0
  57. data/lib/pulp_ostree_client/api_error.rb +57 -0
  58. data/lib/pulp_ostree_client/configuration.rb +250 -0
  59. data/lib/pulp_ostree_client/models/async_operation_response.rb +213 -0
  60. data/lib/pulp_ostree_client/models/content_summary.rb +246 -0
  61. data/lib/pulp_ostree_client/models/content_summary_response.rb +246 -0
  62. data/lib/pulp_ostree_client/models/ostree_ostree_commit_response.rb +256 -0
  63. data/lib/pulp_ostree_client/models/ostree_ostree_config_response.rb +232 -0
  64. data/lib/pulp_ostree_client/models/ostree_ostree_distribution.rb +270 -0
  65. data/lib/pulp_ostree_client/models/ostree_ostree_distribution_response.rb +299 -0
  66. data/lib/pulp_ostree_client/models/ostree_ostree_object_response.rb +275 -0
  67. data/lib/pulp_ostree_client/models/ostree_ostree_ref_response.rb +260 -0
  68. data/lib/pulp_ostree_client/models/ostree_ostree_remote.rb +536 -0
  69. data/lib/pulp_ostree_client/models/ostree_ostree_remote_response.rb +510 -0
  70. data/lib/pulp_ostree_client/models/ostree_ostree_repository.rb +270 -0
  71. data/lib/pulp_ostree_client/models/ostree_ostree_repository_response.rb +307 -0
  72. data/lib/pulp_ostree_client/models/ostree_ostree_summary_response.rb +232 -0
  73. data/lib/pulp_ostree_client/models/ostree_repo_import.rb +248 -0
  74. data/lib/pulp_ostree_client/models/paginated_repository_version_response_list.rb +237 -0
  75. data/lib/pulp_ostree_client/models/paginatedostree_ostree_commit_response_list.rb +237 -0
  76. data/lib/pulp_ostree_client/models/paginatedostree_ostree_config_response_list.rb +237 -0
  77. data/lib/pulp_ostree_client/models/paginatedostree_ostree_distribution_response_list.rb +237 -0
  78. data/lib/pulp_ostree_client/models/paginatedostree_ostree_object_response_list.rb +237 -0
  79. data/lib/pulp_ostree_client/models/paginatedostree_ostree_ref_response_list.rb +237 -0
  80. data/lib/pulp_ostree_client/models/paginatedostree_ostree_remote_response_list.rb +237 -0
  81. data/lib/pulp_ostree_client/models/paginatedostree_ostree_repository_response_list.rb +237 -0
  82. data/lib/pulp_ostree_client/models/paginatedostree_ostree_summary_response_list.rb +237 -0
  83. data/lib/pulp_ostree_client/models/patchedostree_ostree_distribution.rb +260 -0
  84. data/lib/pulp_ostree_client/models/patchedostree_ostree_remote.rb +526 -0
  85. data/lib/pulp_ostree_client/models/patchedostree_ostree_repository.rb +265 -0
  86. data/lib/pulp_ostree_client/models/policy_enum.rb +36 -0
  87. data/lib/pulp_ostree_client/models/repository_add_remove_content.rb +232 -0
  88. data/lib/pulp_ostree_client/models/repository_sync_url.rb +220 -0
  89. data/lib/pulp_ostree_client/models/repository_version.rb +208 -0
  90. data/lib/pulp_ostree_client/models/repository_version_response.rb +255 -0
  91. data/lib/pulp_ostree_client/version.rb +15 -0
  92. data/lib/pulp_ostree_client.rb +80 -0
  93. data/pulp_ostree_client.gemspec +39 -0
  94. data/spec/api/content_commits_api_spec.rb +68 -0
  95. data/spec/api/content_configs_api_spec.rb +68 -0
  96. data/spec/api/content_objects_api_spec.rb +68 -0
  97. data/spec/api/content_refs_api_spec.rb +68 -0
  98. data/spec/api/content_summaries_api_spec.rb +68 -0
  99. data/spec/api/distributions_ostree_api_spec.rb +125 -0
  100. data/spec/api/remotes_ostree_api_spec.rb +127 -0
  101. data/spec/api/repositories_ostree_api_spec.rb +160 -0
  102. data/spec/api/repositories_ostree_versions_api_spec.rb +104 -0
  103. data/spec/api_client_spec.rb +188 -0
  104. data/spec/configuration_spec.rb +42 -0
  105. data/spec/models/async_operation_response_spec.rb +41 -0
  106. data/spec/models/content_summary_response_spec.rb +53 -0
  107. data/spec/models/content_summary_spec.rb +53 -0
  108. data/spec/models/ostree_ostree_commit_response_spec.rb +65 -0
  109. data/spec/models/ostree_ostree_config_response_spec.rb +53 -0
  110. data/spec/models/ostree_ostree_distribution_response_spec.rb +89 -0
  111. data/spec/models/ostree_ostree_distribution_spec.rb +71 -0
  112. data/spec/models/ostree_ostree_object_response_spec.rb +71 -0
  113. data/spec/models/ostree_ostree_ref_response_spec.rb +65 -0
  114. data/spec/models/ostree_ostree_remote_response_spec.rb +155 -0
  115. data/spec/models/ostree_ostree_remote_spec.rb +167 -0
  116. data/spec/models/ostree_ostree_repository_response_spec.rb +89 -0
  117. data/spec/models/ostree_ostree_repository_spec.rb +65 -0
  118. data/spec/models/ostree_ostree_summary_response_spec.rb +53 -0
  119. data/spec/models/ostree_repo_import_spec.rb +59 -0
  120. data/spec/models/paginated_repository_version_response_list_spec.rb +59 -0
  121. data/spec/models/paginatedostree_ostree_commit_response_list_spec.rb +59 -0
  122. data/spec/models/paginatedostree_ostree_config_response_list_spec.rb +59 -0
  123. data/spec/models/paginatedostree_ostree_distribution_response_list_spec.rb +59 -0
  124. data/spec/models/paginatedostree_ostree_object_response_list_spec.rb +59 -0
  125. data/spec/models/paginatedostree_ostree_ref_response_list_spec.rb +59 -0
  126. data/spec/models/paginatedostree_ostree_remote_response_list_spec.rb +59 -0
  127. data/spec/models/paginatedostree_ostree_repository_response_list_spec.rb +59 -0
  128. data/spec/models/paginatedostree_ostree_summary_response_list_spec.rb +59 -0
  129. data/spec/models/patchedostree_ostree_distribution_spec.rb +71 -0
  130. data/spec/models/patchedostree_ostree_remote_spec.rb +167 -0
  131. data/spec/models/patchedostree_ostree_repository_spec.rb +65 -0
  132. data/spec/models/policy_enum_spec.rb +35 -0
  133. data/spec/models/repository_add_remove_content_spec.rb +53 -0
  134. data/spec/models/repository_sync_url_spec.rb +47 -0
  135. data/spec/models/repository_version_response_spec.rb +71 -0
  136. data/spec/models/repository_version_spec.rb +41 -0
  137. data/spec/spec_helper.rb +111 -0
  138. metadata +277 -0
@@ -0,0 +1,23 @@
1
+ # PulpOstreeClient::PaginatedostreeOstreeRemoteResponseList
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **count** | **Integer** | | [optional]
8
+ **_next** | **String** | | [optional]
9
+ **previous** | **String** | | [optional]
10
+ **results** | [**Array<OstreeOstreeRemoteResponse>**](OstreeOstreeRemoteResponse.md) | | [optional]
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'PulpOstreeClient'
16
+
17
+ instance = PulpOstreeClient::PaginatedostreeOstreeRemoteResponseList.new(count: 123,
18
+ _next: http://api.example.org/accounts/?offset=400&limit=100,
19
+ previous: http://api.example.org/accounts/?offset=200&limit=100,
20
+ results: null)
21
+ ```
22
+
23
+
@@ -0,0 +1,23 @@
1
+ # PulpOstreeClient::PaginatedostreeOstreeRepositoryResponseList
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **count** | **Integer** | | [optional]
8
+ **_next** | **String** | | [optional]
9
+ **previous** | **String** | | [optional]
10
+ **results** | [**Array<OstreeOstreeRepositoryResponse>**](OstreeOstreeRepositoryResponse.md) | | [optional]
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'PulpOstreeClient'
16
+
17
+ instance = PulpOstreeClient::PaginatedostreeOstreeRepositoryResponseList.new(count: 123,
18
+ _next: http://api.example.org/accounts/?offset=400&limit=100,
19
+ previous: http://api.example.org/accounts/?offset=200&limit=100,
20
+ results: null)
21
+ ```
22
+
23
+
@@ -0,0 +1,23 @@
1
+ # PulpOstreeClient::PaginatedostreeOstreeSummaryResponseList
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **count** | **Integer** | | [optional]
8
+ **_next** | **String** | | [optional]
9
+ **previous** | **String** | | [optional]
10
+ **results** | [**Array<OstreeOstreeSummaryResponse>**](OstreeOstreeSummaryResponse.md) | | [optional]
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'PulpOstreeClient'
16
+
17
+ instance = PulpOstreeClient::PaginatedostreeOstreeSummaryResponseList.new(count: 123,
18
+ _next: http://api.example.org/accounts/?offset=400&limit=100,
19
+ previous: http://api.example.org/accounts/?offset=200&limit=100,
20
+ results: null)
21
+ ```
22
+
23
+
@@ -0,0 +1,27 @@
1
+ # PulpOstreeClient::PatchedostreeOstreeDistribution
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional]
8
+ **content_guard** | **String** | An optional content-guard. | [optional]
9
+ **pulp_labels** | [**Object**](.md) | | [optional]
10
+ **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
11
+ **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
12
+ **repository_version** | **String** | RepositoryVersion to be served | [optional]
13
+
14
+ ## Code Sample
15
+
16
+ ```ruby
17
+ require 'PulpOstreeClient'
18
+
19
+ instance = PulpOstreeClient::PatchedostreeOstreeDistribution.new(base_path: null,
20
+ content_guard: null,
21
+ pulp_labels: null,
22
+ name: null,
23
+ repository: null,
24
+ repository_version: null)
25
+ ```
26
+
27
+
@@ -0,0 +1,59 @@
1
+ # PulpOstreeClient::PatchedostreeOstreeRemote
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **name** | **String** | A unique name for this remote. | [optional]
8
+ **url** | **String** | The URL of an external content source. | [optional]
9
+ **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
10
+ **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
11
+ **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
12
+ **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
13
+ **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
14
+ **proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
15
+ **proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
16
+ **username** | **String** | The username to be used for authentication when syncing. | [optional]
17
+ **password** | **String** | The password to be used for authentication when syncing. | [optional]
18
+ **pulp_labels** | [**Object**](.md) | | [optional]
19
+ **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
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
+ **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]
22
+ **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
23
+ **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
24
+ **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
25
+ **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]
26
+ **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
27
+ **rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
28
+ **depth** | **Integer** | An option to specify how many commits to traverse. | [optional] [default to 0]
29
+
30
+ ## Code Sample
31
+
32
+ ```ruby
33
+ require 'PulpOstreeClient'
34
+
35
+ instance = PulpOstreeClient::PatchedostreeOstreeRemote.new(name: null,
36
+ url: null,
37
+ ca_cert: null,
38
+ client_cert: null,
39
+ client_key: null,
40
+ tls_validation: null,
41
+ proxy_url: null,
42
+ proxy_username: null,
43
+ proxy_password: null,
44
+ username: null,
45
+ password: null,
46
+ pulp_labels: null,
47
+ download_concurrency: null,
48
+ max_retries: null,
49
+ policy: null,
50
+ total_timeout: null,
51
+ connect_timeout: null,
52
+ sock_connect_timeout: null,
53
+ sock_read_timeout: null,
54
+ headers: null,
55
+ rate_limit: null,
56
+ depth: null)
57
+ ```
58
+
59
+
@@ -0,0 +1,25 @@
1
+ # PulpOstreeClient::PatchedostreeOstreeRepository
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **pulp_labels** | [**Object**](.md) | | [optional]
8
+ **name** | **String** | A unique name for this repository. | [optional]
9
+ **description** | **String** | An optional description. | [optional]
10
+ **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
11
+ **remote** | **String** | An optional remote to use by default when syncing. | [optional]
12
+
13
+ ## Code Sample
14
+
15
+ ```ruby
16
+ require 'PulpOstreeClient'
17
+
18
+ instance = PulpOstreeClient::PatchedostreeOstreeRepository.new(pulp_labels: null,
19
+ name: null,
20
+ description: null,
21
+ retain_repo_versions: null,
22
+ remote: null)
23
+ ```
24
+
25
+
@@ -0,0 +1,16 @@
1
+ # PulpOstreeClient::PolicyEnum
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+
8
+ ## Code Sample
9
+
10
+ ```ruby
11
+ require 'PulpOstreeClient'
12
+
13
+ instance = PulpOstreeClient::PolicyEnum.new()
14
+ ```
15
+
16
+
@@ -0,0 +1,376 @@
1
+ # PulpOstreeClient::RemotesOstreeApi
2
+
3
+ All URIs are relative to *https://pulp*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**create**](RemotesOstreeApi.md#create) | **POST** /pulp/api/v3/remotes/ostree/ostree/ | Create an ostree remote
8
+ [**delete**](RemotesOstreeApi.md#delete) | **DELETE** {ostree_ostree_remote_href} | Delete an ostree remote
9
+ [**list**](RemotesOstreeApi.md#list) | **GET** /pulp/api/v3/remotes/ostree/ostree/ | List ostree remotes
10
+ [**partial_update**](RemotesOstreeApi.md#partial_update) | **PATCH** {ostree_ostree_remote_href} | Update an ostree remote
11
+ [**read**](RemotesOstreeApi.md#read) | **GET** {ostree_ostree_remote_href} | Inspect an ostree remote
12
+ [**update**](RemotesOstreeApi.md#update) | **PUT** {ostree_ostree_remote_href} | Update an ostree remote
13
+
14
+
15
+
16
+ ## create
17
+
18
+ > OstreeOstreeRemoteResponse create(ostree_ostree_remote)
19
+
20
+ Create an ostree remote
21
+
22
+ A ViewSet class for OSTree remote repositories.
23
+
24
+ ### Example
25
+
26
+ ```ruby
27
+ # load the gem
28
+ require 'pulp_ostree_client'
29
+ # setup authorization
30
+ PulpOstreeClient.configure do |config|
31
+ # Configure HTTP basic authorization: basicAuth
32
+ config.username = 'YOUR USERNAME'
33
+ config.password = 'YOUR PASSWORD'
34
+ end
35
+
36
+ api_instance = PulpOstreeClient::RemotesOstreeApi.new
37
+ ostree_ostree_remote = PulpOstreeClient::OstreeOstreeRemote.new # OstreeOstreeRemote |
38
+
39
+ begin
40
+ #Create an ostree remote
41
+ result = api_instance.create(ostree_ostree_remote)
42
+ p result
43
+ rescue PulpOstreeClient::ApiError => e
44
+ puts "Exception when calling RemotesOstreeApi->create: #{e}"
45
+ end
46
+ ```
47
+
48
+ ### Parameters
49
+
50
+
51
+ Name | Type | Description | Notes
52
+ ------------- | ------------- | ------------- | -------------
53
+ **ostree_ostree_remote** | [**OstreeOstreeRemote**](OstreeOstreeRemote.md)| |
54
+
55
+ ### Return type
56
+
57
+ [**OstreeOstreeRemoteResponse**](OstreeOstreeRemoteResponse.md)
58
+
59
+ ### Authorization
60
+
61
+ [basicAuth](../README.md#basicAuth)
62
+
63
+ ### HTTP request headers
64
+
65
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
66
+ - **Accept**: application/json
67
+
68
+
69
+ ## delete
70
+
71
+ > AsyncOperationResponse delete(ostree_ostree_remote_href)
72
+
73
+ Delete an ostree remote
74
+
75
+ Trigger an asynchronous delete task
76
+
77
+ ### Example
78
+
79
+ ```ruby
80
+ # load the gem
81
+ require 'pulp_ostree_client'
82
+ # setup authorization
83
+ PulpOstreeClient.configure do |config|
84
+ # Configure HTTP basic authorization: basicAuth
85
+ config.username = 'YOUR USERNAME'
86
+ config.password = 'YOUR PASSWORD'
87
+ end
88
+
89
+ api_instance = PulpOstreeClient::RemotesOstreeApi.new
90
+ ostree_ostree_remote_href = 'ostree_ostree_remote_href_example' # String |
91
+
92
+ begin
93
+ #Delete an ostree remote
94
+ result = api_instance.delete(ostree_ostree_remote_href)
95
+ p result
96
+ rescue PulpOstreeClient::ApiError => e
97
+ puts "Exception when calling RemotesOstreeApi->delete: #{e}"
98
+ end
99
+ ```
100
+
101
+ ### Parameters
102
+
103
+
104
+ Name | Type | Description | Notes
105
+ ------------- | ------------- | ------------- | -------------
106
+ **ostree_ostree_remote_href** | **String**| |
107
+
108
+ ### Return type
109
+
110
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
111
+
112
+ ### Authorization
113
+
114
+ [basicAuth](../README.md#basicAuth)
115
+
116
+ ### HTTP request headers
117
+
118
+ - **Content-Type**: Not defined
119
+ - **Accept**: application/json
120
+
121
+
122
+ ## list
123
+
124
+ > PaginatedostreeOstreeRemoteResponseList list(opts)
125
+
126
+ List ostree remotes
127
+
128
+ A ViewSet class for OSTree remote repositories.
129
+
130
+ ### Example
131
+
132
+ ```ruby
133
+ # load the gem
134
+ require 'pulp_ostree_client'
135
+ # setup authorization
136
+ PulpOstreeClient.configure do |config|
137
+ # Configure HTTP basic authorization: basicAuth
138
+ config.username = 'YOUR USERNAME'
139
+ config.password = 'YOUR PASSWORD'
140
+ end
141
+
142
+ api_instance = PulpOstreeClient::RemotesOstreeApi.new
143
+ opts = {
144
+ limit: 56, # Integer | Number of results to return per page.
145
+ name: 'name_example', # String |
146
+ name__contains: 'name__contains_example', # String | Filter results where name contains value
147
+ name__icontains: 'name__icontains_example', # String | Filter results where name contains value
148
+ name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
149
+ name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
150
+ offset: 56, # Integer | The initial index from which to return the results.
151
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
152
+ pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
153
+ pulp_last_updated: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
154
+ pulp_last_updated__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is greater than value
155
+ pulp_last_updated__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is greater than or equal to value
156
+ pulp_last_updated__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than value
157
+ pulp_last_updated__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than or equal to value
158
+ pulp_last_updated__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_last_updated is between two comma separated values
159
+ fields: 'fields_example', # String | A list of fields to include in the response.
160
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
161
+ }
162
+
163
+ begin
164
+ #List ostree remotes
165
+ result = api_instance.list(opts)
166
+ p result
167
+ rescue PulpOstreeClient::ApiError => e
168
+ puts "Exception when calling RemotesOstreeApi->list: #{e}"
169
+ end
170
+ ```
171
+
172
+ ### Parameters
173
+
174
+
175
+ Name | Type | Description | Notes
176
+ ------------- | ------------- | ------------- | -------------
177
+ **limit** | **Integer**| Number of results to return per page. | [optional]
178
+ **name** | **String**| | [optional]
179
+ **name__contains** | **String**| Filter results where name contains value | [optional]
180
+ **name__icontains** | **String**| Filter results where name contains value | [optional]
181
+ **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
182
+ **name__startswith** | **String**| Filter results where name starts with value | [optional]
183
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
184
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
185
+ **pulp_label_select** | **String**| Filter labels by search string | [optional]
186
+ **pulp_last_updated** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
187
+ **pulp_last_updated__gt** | **DateTime**| Filter results where pulp_last_updated is greater than value | [optional]
188
+ **pulp_last_updated__gte** | **DateTime**| Filter results where pulp_last_updated is greater than or equal to value | [optional]
189
+ **pulp_last_updated__lt** | **DateTime**| Filter results where pulp_last_updated is less than value | [optional]
190
+ **pulp_last_updated__lte** | **DateTime**| Filter results where pulp_last_updated is less than or equal to value | [optional]
191
+ **pulp_last_updated__range** | [**Array&lt;DateTime&gt;**](DateTime.md)| Filter results where pulp_last_updated is between two comma separated values | [optional]
192
+ **fields** | **String**| A list of fields to include in the response. | [optional]
193
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
194
+
195
+ ### Return type
196
+
197
+ [**PaginatedostreeOstreeRemoteResponseList**](PaginatedostreeOstreeRemoteResponseList.md)
198
+
199
+ ### Authorization
200
+
201
+ [basicAuth](../README.md#basicAuth)
202
+
203
+ ### HTTP request headers
204
+
205
+ - **Content-Type**: Not defined
206
+ - **Accept**: application/json
207
+
208
+
209
+ ## partial_update
210
+
211
+ > AsyncOperationResponse partial_update(ostree_ostree_remote_href, patchedostree_ostree_remote)
212
+
213
+ Update an ostree remote
214
+
215
+ Trigger an asynchronous partial update task
216
+
217
+ ### Example
218
+
219
+ ```ruby
220
+ # load the gem
221
+ require 'pulp_ostree_client'
222
+ # setup authorization
223
+ PulpOstreeClient.configure do |config|
224
+ # Configure HTTP basic authorization: basicAuth
225
+ config.username = 'YOUR USERNAME'
226
+ config.password = 'YOUR PASSWORD'
227
+ end
228
+
229
+ api_instance = PulpOstreeClient::RemotesOstreeApi.new
230
+ ostree_ostree_remote_href = 'ostree_ostree_remote_href_example' # String |
231
+ patchedostree_ostree_remote = PulpOstreeClient::PatchedostreeOstreeRemote.new # PatchedostreeOstreeRemote |
232
+
233
+ begin
234
+ #Update an ostree remote
235
+ result = api_instance.partial_update(ostree_ostree_remote_href, patchedostree_ostree_remote)
236
+ p result
237
+ rescue PulpOstreeClient::ApiError => e
238
+ puts "Exception when calling RemotesOstreeApi->partial_update: #{e}"
239
+ end
240
+ ```
241
+
242
+ ### Parameters
243
+
244
+
245
+ Name | Type | Description | Notes
246
+ ------------- | ------------- | ------------- | -------------
247
+ **ostree_ostree_remote_href** | **String**| |
248
+ **patchedostree_ostree_remote** | [**PatchedostreeOstreeRemote**](PatchedostreeOstreeRemote.md)| |
249
+
250
+ ### Return type
251
+
252
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
253
+
254
+ ### Authorization
255
+
256
+ [basicAuth](../README.md#basicAuth)
257
+
258
+ ### HTTP request headers
259
+
260
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
261
+ - **Accept**: application/json
262
+
263
+
264
+ ## read
265
+
266
+ > OstreeOstreeRemoteResponse read(ostree_ostree_remote_href, opts)
267
+
268
+ Inspect an ostree remote
269
+
270
+ A ViewSet class for OSTree remote repositories.
271
+
272
+ ### Example
273
+
274
+ ```ruby
275
+ # load the gem
276
+ require 'pulp_ostree_client'
277
+ # setup authorization
278
+ PulpOstreeClient.configure do |config|
279
+ # Configure HTTP basic authorization: basicAuth
280
+ config.username = 'YOUR USERNAME'
281
+ config.password = 'YOUR PASSWORD'
282
+ end
283
+
284
+ api_instance = PulpOstreeClient::RemotesOstreeApi.new
285
+ ostree_ostree_remote_href = 'ostree_ostree_remote_href_example' # String |
286
+ opts = {
287
+ fields: 'fields_example', # String | A list of fields to include in the response.
288
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
289
+ }
290
+
291
+ begin
292
+ #Inspect an ostree remote
293
+ result = api_instance.read(ostree_ostree_remote_href, opts)
294
+ p result
295
+ rescue PulpOstreeClient::ApiError => e
296
+ puts "Exception when calling RemotesOstreeApi->read: #{e}"
297
+ end
298
+ ```
299
+
300
+ ### Parameters
301
+
302
+
303
+ Name | Type | Description | Notes
304
+ ------------- | ------------- | ------------- | -------------
305
+ **ostree_ostree_remote_href** | **String**| |
306
+ **fields** | **String**| A list of fields to include in the response. | [optional]
307
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
308
+
309
+ ### Return type
310
+
311
+ [**OstreeOstreeRemoteResponse**](OstreeOstreeRemoteResponse.md)
312
+
313
+ ### Authorization
314
+
315
+ [basicAuth](../README.md#basicAuth)
316
+
317
+ ### HTTP request headers
318
+
319
+ - **Content-Type**: Not defined
320
+ - **Accept**: application/json
321
+
322
+
323
+ ## update
324
+
325
+ > AsyncOperationResponse update(ostree_ostree_remote_href, ostree_ostree_remote)
326
+
327
+ Update an ostree remote
328
+
329
+ Trigger an asynchronous update task
330
+
331
+ ### Example
332
+
333
+ ```ruby
334
+ # load the gem
335
+ require 'pulp_ostree_client'
336
+ # setup authorization
337
+ PulpOstreeClient.configure do |config|
338
+ # Configure HTTP basic authorization: basicAuth
339
+ config.username = 'YOUR USERNAME'
340
+ config.password = 'YOUR PASSWORD'
341
+ end
342
+
343
+ api_instance = PulpOstreeClient::RemotesOstreeApi.new
344
+ ostree_ostree_remote_href = 'ostree_ostree_remote_href_example' # String |
345
+ ostree_ostree_remote = PulpOstreeClient::OstreeOstreeRemote.new # OstreeOstreeRemote |
346
+
347
+ begin
348
+ #Update an ostree remote
349
+ result = api_instance.update(ostree_ostree_remote_href, ostree_ostree_remote)
350
+ p result
351
+ rescue PulpOstreeClient::ApiError => e
352
+ puts "Exception when calling RemotesOstreeApi->update: #{e}"
353
+ end
354
+ ```
355
+
356
+ ### Parameters
357
+
358
+
359
+ Name | Type | Description | Notes
360
+ ------------- | ------------- | ------------- | -------------
361
+ **ostree_ostree_remote_href** | **String**| |
362
+ **ostree_ostree_remote** | [**OstreeOstreeRemote**](OstreeOstreeRemote.md)| |
363
+
364
+ ### Return type
365
+
366
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
367
+
368
+ ### Authorization
369
+
370
+ [basicAuth](../README.md#basicAuth)
371
+
372
+ ### HTTP request headers
373
+
374
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
375
+ - **Accept**: application/json
376
+