pulp_deb_client 3.0.0 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (110) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +35 -7
  3. data/docs/ContentGenericContentsApi.md +7 -5
  4. data/docs/ContentInstallerFileIndicesApi.md +3 -1
  5. data/docs/ContentInstallerPackagesApi.md +7 -5
  6. data/docs/ContentPackageIndicesApi.md +3 -1
  7. data/docs/ContentPackageReleaseComponentsApi.md +3 -1
  8. data/docs/ContentPackagesApi.md +23 -5
  9. data/docs/ContentReleaseArchitecturesApi.md +3 -1
  10. data/docs/ContentReleaseComponentsApi.md +3 -1
  11. data/docs/ContentReleaseFilesApi.md +3 -1
  12. data/docs/ContentReleasesApi.md +3 -1
  13. data/docs/ContentSourceIndicesApi.md +204 -0
  14. data/docs/ContentSourcePackagesApi.md +258 -0
  15. data/docs/ContentSourceReleaseComponentsApi.md +202 -0
  16. data/docs/DebCopyApi.md +1 -1
  17. data/docs/DebGenericContent.md +2 -2
  18. data/docs/DebInstallerPackage.md +2 -2
  19. data/docs/DebPackage.md +2 -2
  20. data/docs/DebSourceIndex.md +25 -0
  21. data/docs/DebSourceIndexResponse.md +27 -0
  22. data/docs/DebSourcePackage.md +21 -0
  23. data/docs/DebSourcePackageReleaseComponent.md +21 -0
  24. data/docs/DebSourcePackageReleaseComponentResponse.md +23 -0
  25. data/docs/DebSourcePackageResponse.md +77 -0
  26. data/docs/DistributionsAptApi.md +123 -1
  27. data/docs/PaginateddebSourceIndexResponseList.md +23 -0
  28. data/docs/PaginateddebSourcePackageReleaseComponentResponseList.md +23 -0
  29. data/docs/PaginateddebSourcePackageResponseList.md +23 -0
  30. data/docs/PublicationsAptApi.md +3 -1
  31. data/docs/PublicationsVerbatimApi.md +3 -1
  32. data/docs/RemotesAptApi.md +123 -1
  33. data/docs/RepositoriesAptApi.md +123 -1
  34. data/docs/RepositoriesAptVersionsApi.md +3 -1
  35. data/docs/SetLabel.md +19 -0
  36. data/docs/SetLabelResponse.md +19 -0
  37. data/docs/UnsetLabel.md +17 -0
  38. data/docs/UnsetLabelResponse.md +19 -0
  39. data/lib/pulp_deb_client/api/content_generic_contents_api.rb +7 -4
  40. data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +3 -0
  41. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +7 -4
  42. data/lib/pulp_deb_client/api/content_package_indices_api.rb +3 -0
  43. data/lib/pulp_deb_client/api/content_package_release_components_api.rb +3 -0
  44. data/lib/pulp_deb_client/api/content_packages_api.rb +31 -4
  45. data/lib/pulp_deb_client/api/content_release_architectures_api.rb +3 -0
  46. data/lib/pulp_deb_client/api/content_release_components_api.rb +3 -0
  47. data/lib/pulp_deb_client/api/content_release_files_api.rb +3 -0
  48. data/lib/pulp_deb_client/api/content_releases_api.rb +3 -0
  49. data/lib/pulp_deb_client/api/content_source_indices_api.rb +256 -0
  50. data/lib/pulp_deb_client/api/content_source_packages_api.rb +337 -0
  51. data/lib/pulp_deb_client/api/content_source_release_components_api.rb +253 -0
  52. data/lib/pulp_deb_client/api/distributions_apt_api.rb +155 -0
  53. data/lib/pulp_deb_client/api/publications_apt_api.rb +3 -0
  54. data/lib/pulp_deb_client/api/publications_verbatim_api.rb +3 -0
  55. data/lib/pulp_deb_client/api/remotes_apt_api.rb +155 -0
  56. data/lib/pulp_deb_client/api/repositories_apt_api.rb +155 -0
  57. data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +3 -0
  58. data/lib/pulp_deb_client/configuration.rb +2 -2
  59. data/lib/pulp_deb_client/models/deb_generic_content.rb +2 -2
  60. data/lib/pulp_deb_client/models/deb_installer_package.rb +2 -2
  61. data/lib/pulp_deb_client/models/deb_package.rb +2 -2
  62. data/lib/pulp_deb_client/models/deb_source_index.rb +297 -0
  63. data/lib/pulp_deb_client/models/deb_source_index_response.rb +272 -0
  64. data/lib/pulp_deb_client/models/deb_source_package.rb +248 -0
  65. data/lib/pulp_deb_client/models/deb_source_package_release_component.rb +238 -0
  66. data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +247 -0
  67. data/lib/pulp_deb_client/models/deb_source_package_response.rb +485 -0
  68. data/lib/pulp_deb_client/models/paginateddeb_source_index_response_list.rb +237 -0
  69. data/lib/pulp_deb_client/models/paginateddeb_source_package_release_component_response_list.rb +237 -0
  70. data/lib/pulp_deb_client/models/paginateddeb_source_package_response_list.rb +237 -0
  71. data/lib/pulp_deb_client/models/set_label.rb +252 -0
  72. data/lib/pulp_deb_client/models/set_label_response.rb +243 -0
  73. data/lib/pulp_deb_client/models/unset_label.rb +242 -0
  74. data/lib/pulp_deb_client/models/unset_label_response.rb +242 -0
  75. data/lib/pulp_deb_client/version.rb +1 -1
  76. data/lib/pulp_deb_client.rb +16 -0
  77. data/spec/api/content_generic_contents_api_spec.rb +3 -2
  78. data/spec/api/content_installer_file_indices_api_spec.rb +1 -0
  79. data/spec/api/content_installer_packages_api_spec.rb +3 -2
  80. data/spec/api/content_package_indices_api_spec.rb +1 -0
  81. data/spec/api/content_package_release_components_api_spec.rb +1 -0
  82. data/spec/api/content_packages_api_spec.rb +11 -2
  83. data/spec/api/content_release_architectures_api_spec.rb +1 -0
  84. data/spec/api/content_release_components_api_spec.rb +1 -0
  85. data/spec/api/content_release_files_api_spec.rb +1 -0
  86. data/spec/api/content_releases_api_spec.rb +1 -0
  87. data/spec/api/content_source_indices_api_spec.rb +86 -0
  88. data/spec/api/content_source_packages_api_spec.rb +113 -0
  89. data/spec/api/content_source_release_components_api_spec.rb +85 -0
  90. data/spec/api/distributions_apt_api_spec.rb +31 -0
  91. data/spec/api/publications_apt_api_spec.rb +1 -0
  92. data/spec/api/publications_verbatim_api_spec.rb +1 -0
  93. data/spec/api/remotes_apt_api_spec.rb +31 -0
  94. data/spec/api/repositories_apt_api_spec.rb +31 -0
  95. data/spec/api/repositories_apt_versions_api_spec.rb +1 -0
  96. data/spec/configuration_spec.rb +3 -3
  97. data/spec/models/deb_source_index_response_spec.rb +71 -0
  98. data/spec/models/deb_source_index_spec.rb +65 -0
  99. data/spec/models/deb_source_package_release_component_response_spec.rb +59 -0
  100. data/spec/models/deb_source_package_release_component_spec.rb +53 -0
  101. data/spec/models/deb_source_package_response_spec.rb +221 -0
  102. data/spec/models/deb_source_package_spec.rb +53 -0
  103. data/spec/models/paginateddeb_source_index_response_list_spec.rb +59 -0
  104. data/spec/models/paginateddeb_source_package_release_component_response_list_spec.rb +59 -0
  105. data/spec/models/paginateddeb_source_package_response_list_spec.rb +59 -0
  106. data/spec/models/set_label_response_spec.rb +47 -0
  107. data/spec/models/set_label_spec.rb +47 -0
  108. data/spec/models/unset_label_response_spec.rb +47 -0
  109. data/spec/models/unset_label_spec.rb +41 -0
  110. metadata +122 -58
@@ -0,0 +1,202 @@
1
+ # PulpDebClient::ContentSourceReleaseComponentsApi
2
+
3
+ All URIs are relative to *http://pulp*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**create**](ContentSourceReleaseComponentsApi.md#create) | **POST** /pulp/api/v3/content/deb/source_release_components/ | Create a source package release component
8
+ [**list**](ContentSourceReleaseComponentsApi.md#list) | **GET** /pulp/api/v3/content/deb/source_release_components/ | List source package release components
9
+ [**read**](ContentSourceReleaseComponentsApi.md#read) | **GET** {deb_source_package_release_component_href} | Inspect a source package release component
10
+
11
+
12
+
13
+ ## create
14
+
15
+ > DebSourcePackageReleaseComponentResponse create(deb_source_package_release_component)
16
+
17
+ Create a source package release component
18
+
19
+ A SourcePackageReleaseComponent associates a SourcePackage with a ReleaseComponent. Associated artifacts: None; contains only metadata. This simply stores the information on which source packages are part of which components.
20
+
21
+ ### Example
22
+
23
+ ```ruby
24
+ # load the gem
25
+ require 'pulp_deb_client'
26
+ # setup authorization
27
+ PulpDebClient.configure do |config|
28
+ # Configure HTTP basic authorization: basicAuth
29
+ config.username = 'YOUR USERNAME'
30
+ config.password = 'YOUR PASSWORD'
31
+ end
32
+
33
+ api_instance = PulpDebClient::ContentSourceReleaseComponentsApi.new
34
+ deb_source_package_release_component = PulpDebClient::DebSourcePackageReleaseComponent.new # DebSourcePackageReleaseComponent |
35
+
36
+ begin
37
+ #Create a source package release component
38
+ result = api_instance.create(deb_source_package_release_component)
39
+ p result
40
+ rescue PulpDebClient::ApiError => e
41
+ puts "Exception when calling ContentSourceReleaseComponentsApi->create: #{e}"
42
+ end
43
+ ```
44
+
45
+ ### Parameters
46
+
47
+
48
+ Name | Type | Description | Notes
49
+ ------------- | ------------- | ------------- | -------------
50
+ **deb_source_package_release_component** | [**DebSourcePackageReleaseComponent**](DebSourcePackageReleaseComponent.md)| |
51
+
52
+ ### Return type
53
+
54
+ [**DebSourcePackageReleaseComponentResponse**](DebSourcePackageReleaseComponentResponse.md)
55
+
56
+ ### Authorization
57
+
58
+ [basicAuth](../README.md#basicAuth)
59
+
60
+ ### HTTP request headers
61
+
62
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
63
+ - **Accept**: application/json
64
+
65
+
66
+ ## list
67
+
68
+ > PaginateddebSourcePackageReleaseComponentResponseList list(opts)
69
+
70
+ List source package release components
71
+
72
+ A SourcePackageReleaseComponent associates a SourcePackage with a ReleaseComponent. Associated artifacts: None; contains only metadata. This simply stores the information on which source packages are part of which components.
73
+
74
+ ### Example
75
+
76
+ ```ruby
77
+ # load the gem
78
+ require 'pulp_deb_client'
79
+ # setup authorization
80
+ PulpDebClient.configure do |config|
81
+ # Configure HTTP basic authorization: basicAuth
82
+ config.username = 'YOUR USERNAME'
83
+ config.password = 'YOUR PASSWORD'
84
+ end
85
+
86
+ api_instance = PulpDebClient::ContentSourceReleaseComponentsApi.new
87
+ opts = {
88
+ limit: 56, # Integer | Number of results to return per page.
89
+ offset: 56, # Integer | The initial index from which to return the results.
90
+ 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) * `pk` - Pk * `-pk` - Pk (descending)
91
+ pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
92
+ pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
93
+ q: 'q_example', # String |
94
+ release_component: 'release_component_example', # String | Filter results where release_component matches value
95
+ repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
96
+ repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
97
+ repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
98
+ source_package: 'source_package_example', # String | Filter results where source_package matches value
99
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
100
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
101
+ }
102
+
103
+ begin
104
+ #List source package release components
105
+ result = api_instance.list(opts)
106
+ p result
107
+ rescue PulpDebClient::ApiError => e
108
+ puts "Exception when calling ContentSourceReleaseComponentsApi->list: #{e}"
109
+ end
110
+ ```
111
+
112
+ ### Parameters
113
+
114
+
115
+ Name | Type | Description | Notes
116
+ ------------- | ------------- | ------------- | -------------
117
+ **limit** | **Integer**| Number of results to return per page. | [optional]
118
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
119
+ **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering * &#x60;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;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
120
+ **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
121
+ **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
122
+ **q** | **String**| | [optional]
123
+ **release_component** | [**String**](.md)| Filter results where release_component matches value | [optional]
124
+ **repository_version** | **String**| Repository Version referenced by HREF | [optional]
125
+ **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
126
+ **repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
127
+ **source_package** | [**String**](.md)| Filter results where source_package matches value | [optional]
128
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
129
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
130
+
131
+ ### Return type
132
+
133
+ [**PaginateddebSourcePackageReleaseComponentResponseList**](PaginateddebSourcePackageReleaseComponentResponseList.md)
134
+
135
+ ### Authorization
136
+
137
+ [basicAuth](../README.md#basicAuth)
138
+
139
+ ### HTTP request headers
140
+
141
+ - **Content-Type**: Not defined
142
+ - **Accept**: application/json
143
+
144
+
145
+ ## read
146
+
147
+ > DebSourcePackageReleaseComponentResponse read(deb_source_package_release_component_href, opts)
148
+
149
+ Inspect a source package release component
150
+
151
+ A SourcePackageReleaseComponent associates a SourcePackage with a ReleaseComponent. Associated artifacts: None; contains only metadata. This simply stores the information on which source packages are part of which components.
152
+
153
+ ### Example
154
+
155
+ ```ruby
156
+ # load the gem
157
+ require 'pulp_deb_client'
158
+ # setup authorization
159
+ PulpDebClient.configure do |config|
160
+ # Configure HTTP basic authorization: basicAuth
161
+ config.username = 'YOUR USERNAME'
162
+ config.password = 'YOUR PASSWORD'
163
+ end
164
+
165
+ api_instance = PulpDebClient::ContentSourceReleaseComponentsApi.new
166
+ deb_source_package_release_component_href = 'deb_source_package_release_component_href_example' # String |
167
+ opts = {
168
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
169
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
170
+ }
171
+
172
+ begin
173
+ #Inspect a source package release component
174
+ result = api_instance.read(deb_source_package_release_component_href, opts)
175
+ p result
176
+ rescue PulpDebClient::ApiError => e
177
+ puts "Exception when calling ContentSourceReleaseComponentsApi->read: #{e}"
178
+ end
179
+ ```
180
+
181
+ ### Parameters
182
+
183
+
184
+ Name | Type | Description | Notes
185
+ ------------- | ------------- | ------------- | -------------
186
+ **deb_source_package_release_component_href** | **String**| |
187
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
188
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
189
+
190
+ ### Return type
191
+
192
+ [**DebSourcePackageReleaseComponentResponse**](DebSourcePackageReleaseComponentResponse.md)
193
+
194
+ ### Authorization
195
+
196
+ [basicAuth](../README.md#basicAuth)
197
+
198
+ ### HTTP request headers
199
+
200
+ - **Content-Type**: Not defined
201
+ - **Accept**: application/json
202
+
data/docs/DebCopyApi.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # PulpDebClient::DebCopyApi
2
2
 
3
- All URIs are relative to *https://pulp*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
7
7
  **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
8
8
  **artifact** | **String** | Artifact file representing the physical content | [optional]
9
9
  **relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
10
- **file** | **File** | An uploaded file that may be turned into the artifact of the content unit. | [optional]
11
- **upload** | **String** | An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
10
+ **file** | **File** | An uploaded file that may be turned into the content unit. | [optional]
11
+ **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional]
12
12
 
13
13
  ## Code Sample
14
14
 
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
7
7
  **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
8
8
  **artifact** | **String** | Artifact file representing the physical content | [optional]
9
9
  **relative_path** | **String** | Path where the artifact is located relative to distributions base_path | [optional]
10
- **file** | **File** | An uploaded file that may be turned into the artifact of the content unit. | [optional]
11
- **upload** | **String** | An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
10
+ **file** | **File** | An uploaded file that may be turned into the content unit. | [optional]
11
+ **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional]
12
12
 
13
13
  ## Code Sample
14
14
 
data/docs/DebPackage.md CHANGED
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
7
7
  **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
8
8
  **artifact** | **String** | Artifact file representing the physical content | [optional]
9
9
  **relative_path** | **String** | Path where the artifact is located relative to distributions base_path | [optional]
10
- **file** | **File** | An uploaded file that may be turned into the artifact of the content unit. | [optional]
11
- **upload** | **String** | An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
10
+ **file** | **File** | An uploaded file that may be turned into the content unit. | [optional]
11
+ **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional]
12
12
  **distribution** | **String** | Name of the distribution. | [optional]
13
13
  **component** | **String** | Name of the component. | [optional]
14
14
 
@@ -0,0 +1,25 @@
1
+ # PulpDebClient::DebSourceIndex
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
8
+ **artifacts** | [**Object**](.md) | A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {&#39;relative/path&#39;: &#39;/artifacts/1/&#39; |
9
+ **release** | **String** | Release this index file belongs to. |
10
+ **component** | **String** | Component this index file belongs to. |
11
+ **relative_path** | **String** | Path of file relative to url. | [optional]
12
+
13
+ ## Code Sample
14
+
15
+ ```ruby
16
+ require 'PulpDebClient'
17
+
18
+ instance = PulpDebClient::DebSourceIndex.new(repository: null,
19
+ artifacts: null,
20
+ release: null,
21
+ component: null,
22
+ relative_path: null)
23
+ ```
24
+
25
+
@@ -0,0 +1,27 @@
1
+ # PulpDebClient::DebSourceIndexResponse
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
+ **artifacts** | [**Object**](.md) | A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {&#39;relative/path&#39;: &#39;/artifacts/1/&#39; |
10
+ **release** | **String** | Release this index file belongs to. |
11
+ **component** | **String** | Component this index file belongs to. |
12
+ **relative_path** | **String** | Path of file relative to url. | [optional]
13
+
14
+ ## Code Sample
15
+
16
+ ```ruby
17
+ require 'PulpDebClient'
18
+
19
+ instance = PulpDebClient::DebSourceIndexResponse.new(pulp_href: null,
20
+ pulp_created: null,
21
+ artifacts: null,
22
+ release: null,
23
+ component: null,
24
+ relative_path: null)
25
+ ```
26
+
27
+
@@ -0,0 +1,21 @@
1
+ # PulpDebClient::DebSourcePackage
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
8
+ **artifact** | **String** | Artifact URL of the Debian Source Control (dsc) file. |
9
+ **relative_path** | **String** | Relative path of the Debian Source Control (dsc) file.It is normally advised to let Pulp generate this. | [optional]
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'PulpDebClient'
15
+
16
+ instance = PulpDebClient::DebSourcePackage.new(repository: null,
17
+ artifact: null,
18
+ relative_path: null)
19
+ ```
20
+
21
+
@@ -0,0 +1,21 @@
1
+ # PulpDebClient::DebSourcePackageReleaseComponent
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
8
+ **source_package** | **String** | Source package that is contained in release_component. |
9
+ **release_component** | **String** | ReleaseComponent this source package is contained in. |
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'PulpDebClient'
15
+
16
+ instance = PulpDebClient::DebSourcePackageReleaseComponent.new(repository: null,
17
+ source_package: null,
18
+ release_component: null)
19
+ ```
20
+
21
+
@@ -0,0 +1,23 @@
1
+ # PulpDebClient::DebSourcePackageReleaseComponentResponse
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
+ **source_package** | **String** | Source package that is contained in release_component. |
10
+ **release_component** | **String** | ReleaseComponent this source package is contained in. |
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'PulpDebClient'
16
+
17
+ instance = PulpDebClient::DebSourcePackageReleaseComponentResponse.new(pulp_href: null,
18
+ pulp_created: null,
19
+ source_package: null,
20
+ release_component: null)
21
+ ```
22
+
23
+
@@ -0,0 +1,77 @@
1
+ # PulpDebClient::DebSourcePackageResponse
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
+ **artifacts** | [**Object**](.md) | A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {&#39;relative/path&#39;: &#39;/artifacts/1/&#39; | [readonly]
10
+ **relative_path** | **String** | Relative path of the Debian Source Control (dsc) file.It is normally advised to let Pulp generate this. | [optional]
11
+ **format** | **String** | | [optional] [readonly]
12
+ **source** | **String** | | [optional] [readonly]
13
+ **binary** | **String** | | [optional] [readonly]
14
+ **architecture** | **String** | | [optional] [readonly]
15
+ **version** | **String** | | [optional] [readonly]
16
+ **maintainer** | **String** | | [optional] [readonly]
17
+ **uploaders** | **String** | | [optional] [readonly]
18
+ **homepage** | **String** | | [optional] [readonly]
19
+ **vcs_browser** | **String** | | [optional] [readonly]
20
+ **vcs_arch** | **String** | | [optional] [readonly]
21
+ **vcs_bzr** | **String** | | [optional] [readonly]
22
+ **vcs_cvs** | **String** | | [optional] [readonly]
23
+ **vcs_darcs** | **String** | | [optional] [readonly]
24
+ **vcs_git** | **String** | | [optional] [readonly]
25
+ **vcs_hg** | **String** | | [optional] [readonly]
26
+ **vcs_mtn** | **String** | | [optional] [readonly]
27
+ **vcs_snv** | **String** | | [optional] [readonly]
28
+ **testsuite** | **String** | | [optional] [readonly]
29
+ **dgit** | **String** | | [optional] [readonly]
30
+ **standards_version** | **String** | | [optional] [readonly]
31
+ **build_depends** | **String** | | [optional] [readonly]
32
+ **build_depends_indep** | **String** | | [optional] [readonly]
33
+ **build_depends_arch** | **String** | | [optional] [readonly]
34
+ **build_conflicts** | **String** | | [optional] [readonly]
35
+ **build_conflicts_indep** | **String** | | [optional] [readonly]
36
+ **build_conflicts_arch** | **String** | | [optional] [readonly]
37
+ **package_list** | **String** | | [optional] [readonly]
38
+
39
+ ## Code Sample
40
+
41
+ ```ruby
42
+ require 'PulpDebClient'
43
+
44
+ instance = PulpDebClient::DebSourcePackageResponse.new(pulp_href: null,
45
+ pulp_created: null,
46
+ artifacts: null,
47
+ relative_path: null,
48
+ format: null,
49
+ source: null,
50
+ binary: null,
51
+ architecture: null,
52
+ version: null,
53
+ maintainer: null,
54
+ uploaders: null,
55
+ homepage: null,
56
+ vcs_browser: null,
57
+ vcs_arch: null,
58
+ vcs_bzr: null,
59
+ vcs_cvs: null,
60
+ vcs_darcs: null,
61
+ vcs_git: null,
62
+ vcs_hg: null,
63
+ vcs_mtn: null,
64
+ vcs_snv: null,
65
+ testsuite: null,
66
+ dgit: null,
67
+ standards_version: null,
68
+ build_depends: null,
69
+ build_depends_indep: null,
70
+ build_depends_arch: null,
71
+ build_conflicts: null,
72
+ build_conflicts_indep: null,
73
+ build_conflicts_arch: null,
74
+ package_list: null)
75
+ ```
76
+
77
+
@@ -1,6 +1,6 @@
1
1
  # PulpDebClient::DistributionsAptApi
2
2
 
3
- All URIs are relative to *https://pulp*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -9,6 +9,8 @@ Method | HTTP request | Description
9
9
  [**list**](DistributionsAptApi.md#list) | **GET** /pulp/api/v3/distributions/deb/apt/ | List apt distributions
10
10
  [**partial_update**](DistributionsAptApi.md#partial_update) | **PATCH** {deb_apt_distribution_href} | Update an apt distribution
11
11
  [**read**](DistributionsAptApi.md#read) | **GET** {deb_apt_distribution_href} | Inspect an apt distribution
12
+ [**set_label**](DistributionsAptApi.md#set_label) | **POST** {deb_apt_distribution_href}set_label/ | Set a label
13
+ [**unset_label**](DistributionsAptApi.md#unset_label) | **POST** {deb_apt_distribution_href}unset_label/ | Unset a label
12
14
  [**update**](DistributionsAptApi.md#update) | **PUT** {deb_apt_distribution_href} | Update an apt distribution
13
15
 
14
16
 
@@ -149,13 +151,18 @@ opts = {
149
151
  name: 'name_example', # String | Filter results where name matches value
150
152
  name__contains: 'name__contains_example', # String | Filter results where name contains value
151
153
  name__icontains: 'name__icontains_example', # String | Filter results where name contains value
154
+ name__iexact: 'name__iexact_example', # String | Filter results where name matches value
152
155
  name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
156
+ name__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
157
+ name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
158
+ name__regex: 'name__regex_example', # String | Filter results where name matches regex value
153
159
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
154
160
  offset: 56, # Integer | The initial index from which to return the results.
155
161
  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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
156
162
  pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
157
163
  pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
158
164
  pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
165
+ q: 'q_example', # String |
159
166
  repository: 'repository_example', # String | Filter results where repository matches value
160
167
  repository__in: ['repository__in_example'], # Array<String> | Filter results where repository is in a comma-separated list of values
161
168
  with_content: 'with_content_example', # String | Filter distributions based on the content served by them
@@ -185,13 +192,18 @@ Name | Type | Description | Notes
185
192
  **name** | **String**| Filter results where name matches value | [optional]
186
193
  **name__contains** | **String**| Filter results where name contains value | [optional]
187
194
  **name__icontains** | **String**| Filter results where name contains value | [optional]
195
+ **name__iexact** | **String**| Filter results where name matches value | [optional]
188
196
  **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
197
+ **name__iregex** | **String**| Filter results where name matches regex value | [optional]
198
+ **name__istartswith** | **String**| Filter results where name starts with value | [optional]
199
+ **name__regex** | **String**| Filter results where name matches regex value | [optional]
189
200
  **name__startswith** | **String**| Filter results where name starts with value | [optional]
190
201
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
191
202
  **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;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
192
203
  **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
193
204
  **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
194
205
  **pulp_label_select** | **String**| Filter labels by search string | [optional]
206
+ **q** | **String**| | [optional]
195
207
  **repository** | [**String**](.md)| Filter results where repository matches value | [optional]
196
208
  **repository__in** | [**Array&lt;String&gt;**](String.md)| Filter results where repository is in a comma-separated list of values | [optional]
197
209
  **with_content** | **String**| Filter distributions based on the content served by them | [optional]
@@ -326,6 +338,116 @@ Name | Type | Description | Notes
326
338
  - **Accept**: application/json
327
339
 
328
340
 
341
+ ## set_label
342
+
343
+ > SetLabelResponse set_label(deb_apt_distribution_href, set_label)
344
+
345
+ Set a label
346
+
347
+ Set a single pulp_label on the object to a specific value or null.
348
+
349
+ ### Example
350
+
351
+ ```ruby
352
+ # load the gem
353
+ require 'pulp_deb_client'
354
+ # setup authorization
355
+ PulpDebClient.configure do |config|
356
+ # Configure HTTP basic authorization: basicAuth
357
+ config.username = 'YOUR USERNAME'
358
+ config.password = 'YOUR PASSWORD'
359
+ end
360
+
361
+ api_instance = PulpDebClient::DistributionsAptApi.new
362
+ deb_apt_distribution_href = 'deb_apt_distribution_href_example' # String |
363
+ set_label = PulpDebClient::SetLabel.new # SetLabel |
364
+
365
+ begin
366
+ #Set a label
367
+ result = api_instance.set_label(deb_apt_distribution_href, set_label)
368
+ p result
369
+ rescue PulpDebClient::ApiError => e
370
+ puts "Exception when calling DistributionsAptApi->set_label: #{e}"
371
+ end
372
+ ```
373
+
374
+ ### Parameters
375
+
376
+
377
+ Name | Type | Description | Notes
378
+ ------------- | ------------- | ------------- | -------------
379
+ **deb_apt_distribution_href** | **String**| |
380
+ **set_label** | [**SetLabel**](SetLabel.md)| |
381
+
382
+ ### Return type
383
+
384
+ [**SetLabelResponse**](SetLabelResponse.md)
385
+
386
+ ### Authorization
387
+
388
+ [basicAuth](../README.md#basicAuth)
389
+
390
+ ### HTTP request headers
391
+
392
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
393
+ - **Accept**: application/json
394
+
395
+
396
+ ## unset_label
397
+
398
+ > UnsetLabelResponse unset_label(deb_apt_distribution_href, unset_label)
399
+
400
+ Unset a label
401
+
402
+ Unset a single pulp_label on the object.
403
+
404
+ ### Example
405
+
406
+ ```ruby
407
+ # load the gem
408
+ require 'pulp_deb_client'
409
+ # setup authorization
410
+ PulpDebClient.configure do |config|
411
+ # Configure HTTP basic authorization: basicAuth
412
+ config.username = 'YOUR USERNAME'
413
+ config.password = 'YOUR PASSWORD'
414
+ end
415
+
416
+ api_instance = PulpDebClient::DistributionsAptApi.new
417
+ deb_apt_distribution_href = 'deb_apt_distribution_href_example' # String |
418
+ unset_label = PulpDebClient::UnsetLabel.new # UnsetLabel |
419
+
420
+ begin
421
+ #Unset a label
422
+ result = api_instance.unset_label(deb_apt_distribution_href, unset_label)
423
+ p result
424
+ rescue PulpDebClient::ApiError => e
425
+ puts "Exception when calling DistributionsAptApi->unset_label: #{e}"
426
+ end
427
+ ```
428
+
429
+ ### Parameters
430
+
431
+
432
+ Name | Type | Description | Notes
433
+ ------------- | ------------- | ------------- | -------------
434
+ **deb_apt_distribution_href** | **String**| |
435
+ **unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
436
+
437
+ ### Return type
438
+
439
+ [**UnsetLabelResponse**](UnsetLabelResponse.md)
440
+
441
+ ### Authorization
442
+
443
+ [basicAuth](../README.md#basicAuth)
444
+
445
+ ### HTTP request headers
446
+
447
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
448
+ - **Accept**: application/json
449
+
450
+
329
451
  ## update
330
452
 
331
453
  > AsyncOperationResponse update(deb_apt_distribution_href, deb_apt_distribution)
@@ -0,0 +1,23 @@
1
+ # PulpDebClient::PaginateddebSourceIndexResponseList
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&lt;DebSourceIndexResponse&gt;**](DebSourceIndexResponse.md) | | [optional]
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'PulpDebClient'
16
+
17
+ instance = PulpDebClient::PaginateddebSourceIndexResponseList.new(count: 123,
18
+ _next: http://api.example.org/accounts/?offset&#x3D;400&amp;limit&#x3D;100,
19
+ previous: http://api.example.org/accounts/?offset&#x3D;200&amp;limit&#x3D;100,
20
+ results: null)
21
+ ```
22
+
23
+
@@ -0,0 +1,23 @@
1
+ # PulpDebClient::PaginateddebSourcePackageReleaseComponentResponseList
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&lt;DebSourcePackageReleaseComponentResponse&gt;**](DebSourcePackageReleaseComponentResponse.md) | | [optional]
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'PulpDebClient'
16
+
17
+ instance = PulpDebClient::PaginateddebSourcePackageReleaseComponentResponseList.new(count: 123,
18
+ _next: http://api.example.org/accounts/?offset&#x3D;400&amp;limit&#x3D;100,
19
+ previous: http://api.example.org/accounts/?offset&#x3D;200&amp;limit&#x3D;100,
20
+ results: null)
21
+ ```
22
+
23
+