pulp_rpm_client 3.0.0b4

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 (73) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/Gemfile.lock +79 -0
  4. data/README.md +134 -0
  5. data/Rakefile +10 -0
  6. data/docs/AsyncOperationResponse.md +17 -0
  7. data/docs/ContentAdvisoriesApi.md +196 -0
  8. data/docs/ContentPackagesApi.md +208 -0
  9. data/docs/DistributionsRpmApi.md +352 -0
  10. data/docs/InlineResponse200.md +23 -0
  11. data/docs/InlineResponse2001.md +23 -0
  12. data/docs/InlineResponse2002.md +23 -0
  13. data/docs/InlineResponse2003.md +23 -0
  14. data/docs/InlineResponse2004.md +23 -0
  15. data/docs/Package.md +95 -0
  16. data/docs/PublicationsRpmApi.md +229 -0
  17. data/docs/RemotesRpmApi.md +412 -0
  18. data/docs/RepositorySyncURL.md +19 -0
  19. data/docs/RpmCopyApi.md +70 -0
  20. data/docs/RpmDistribution.md +29 -0
  21. data/docs/RpmPublication.md +27 -0
  22. data/docs/RpmRemote.md +45 -0
  23. data/docs/RpmUploadApi.md +66 -0
  24. data/docs/UpdateRecord.md +55 -0
  25. data/git_push.sh +55 -0
  26. data/lib/pulp_rpm_client/api/content_advisories_api.rb +243 -0
  27. data/lib/pulp_rpm_client/api/content_packages_api.rb +261 -0
  28. data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +430 -0
  29. data/lib/pulp_rpm_client/api/publications_rpm_api.rb +273 -0
  30. data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +506 -0
  31. data/lib/pulp_rpm_client/api/rpm_copy_api.rb +96 -0
  32. data/lib/pulp_rpm_client/api/rpm_upload_api.rb +90 -0
  33. data/lib/pulp_rpm_client/api_client.rb +387 -0
  34. data/lib/pulp_rpm_client/api_error.rb +57 -0
  35. data/lib/pulp_rpm_client/configuration.rb +251 -0
  36. data/lib/pulp_rpm_client/models/async_operation_response.rb +202 -0
  37. data/lib/pulp_rpm_client/models/inline_response200.rb +235 -0
  38. data/lib/pulp_rpm_client/models/inline_response2001.rb +235 -0
  39. data/lib/pulp_rpm_client/models/inline_response2002.rb +235 -0
  40. data/lib/pulp_rpm_client/models/inline_response2003.rb +235 -0
  41. data/lib/pulp_rpm_client/models/inline_response2004.rb +235 -0
  42. data/lib/pulp_rpm_client/models/package.rb +983 -0
  43. data/lib/pulp_rpm_client/models/repository_sync_url.rb +214 -0
  44. data/lib/pulp_rpm_client/models/rpm_distribution.rb +337 -0
  45. data/lib/pulp_rpm_client/models/rpm_publication.rb +258 -0
  46. data/lib/pulp_rpm_client/models/rpm_remote.rb +539 -0
  47. data/lib/pulp_rpm_client/models/update_record.rb +764 -0
  48. data/lib/pulp_rpm_client/version.rb +15 -0
  49. data/lib/pulp_rpm_client.rb +58 -0
  50. data/pulp_rpm_client.gemspec +45 -0
  51. data/spec/api/content_advisories_api_spec.rb +83 -0
  52. data/spec/api/content_packages_api_spec.rb +89 -0
  53. data/spec/api/distributions_rpm_api_spec.rb +116 -0
  54. data/spec/api/publications_rpm_api_spec.rb +85 -0
  55. data/spec/api/remotes_rpm_api_spec.rb +131 -0
  56. data/spec/api/rpm_copy_api_spec.rb +50 -0
  57. data/spec/api/rpm_upload_api_spec.rb +48 -0
  58. data/spec/api_client_spec.rb +226 -0
  59. data/spec/configuration_spec.rb +42 -0
  60. data/spec/models/async_operation_response_spec.rb +41 -0
  61. data/spec/models/inline_response2001_spec.rb +59 -0
  62. data/spec/models/inline_response2002_spec.rb +59 -0
  63. data/spec/models/inline_response2003_spec.rb +59 -0
  64. data/spec/models/inline_response2004_spec.rb +59 -0
  65. data/spec/models/inline_response200_spec.rb +59 -0
  66. data/spec/models/package_spec.rb +275 -0
  67. data/spec/models/repository_sync_url_spec.rb +47 -0
  68. data/spec/models/rpm_distribution_spec.rb +77 -0
  69. data/spec/models/rpm_publication_spec.rb +71 -0
  70. data/spec/models/rpm_remote_spec.rb +129 -0
  71. data/spec/models/update_record_spec.rb +155 -0
  72. data/spec/spec_helper.rb +111 -0
  73. metadata +317 -0
@@ -0,0 +1,352 @@
1
+ # PulpRpmClient::DistributionsRpmApi
2
+
3
+ All URIs are relative to *http://localhost:24817*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**create**](DistributionsRpmApi.md#create) | **POST** /pulp/api/v3/distributions/rpm/rpm/ | Create a rpm distribution
8
+ [**delete**](DistributionsRpmApi.md#delete) | **DELETE** {rpm_distribution_href} | Delete a rpm distribution
9
+ [**list**](DistributionsRpmApi.md#list) | **GET** /pulp/api/v3/distributions/rpm/rpm/ | List rpm distributions
10
+ [**partial_update**](DistributionsRpmApi.md#partial_update) | **PATCH** {rpm_distribution_href} | Partially update a rpm distribution
11
+ [**read**](DistributionsRpmApi.md#read) | **GET** {rpm_distribution_href} | Inspect a rpm distribution
12
+ [**update**](DistributionsRpmApi.md#update) | **PUT** {rpm_distribution_href} | Update a rpm distribution
13
+
14
+
15
+
16
+ ## create
17
+
18
+ > AsyncOperationResponse create(data)
19
+
20
+ Create a rpm distribution
21
+
22
+ Trigger an asynchronous create task
23
+
24
+ ### Example
25
+
26
+ ```ruby
27
+ # load the gem
28
+ require 'pulp_rpm_client'
29
+ # setup authorization
30
+ PulpRpmClient.configure do |config|
31
+ # Configure HTTP basic authorization: Basic
32
+ config.username = 'YOUR USERNAME'
33
+ config.password = 'YOUR PASSWORD'
34
+ end
35
+
36
+ api_instance = PulpRpmClient::DistributionsRpmApi.new
37
+ data = PulpRpmClient::RpmDistribution.new # RpmDistribution |
38
+
39
+ begin
40
+ #Create a rpm distribution
41
+ result = api_instance.create(data)
42
+ p result
43
+ rescue PulpRpmClient::ApiError => e
44
+ puts "Exception when calling DistributionsRpmApi->create: #{e}"
45
+ end
46
+ ```
47
+
48
+ ### Parameters
49
+
50
+
51
+ Name | Type | Description | Notes
52
+ ------------- | ------------- | ------------- | -------------
53
+ **data** | [**RpmDistribution**](RpmDistribution.md)| |
54
+
55
+ ### Return type
56
+
57
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
58
+
59
+ ### Authorization
60
+
61
+ [Basic](../README.md#Basic)
62
+
63
+ ### HTTP request headers
64
+
65
+ - **Content-Type**: application/json
66
+ - **Accept**: application/json
67
+
68
+
69
+ ## delete
70
+
71
+ > AsyncOperationResponse delete(rpm_distribution_href)
72
+
73
+ Delete a rpm distribution
74
+
75
+ Trigger an asynchronous delete task
76
+
77
+ ### Example
78
+
79
+ ```ruby
80
+ # load the gem
81
+ require 'pulp_rpm_client'
82
+ # setup authorization
83
+ PulpRpmClient.configure do |config|
84
+ # Configure HTTP basic authorization: Basic
85
+ config.username = 'YOUR USERNAME'
86
+ config.password = 'YOUR PASSWORD'
87
+ end
88
+
89
+ api_instance = PulpRpmClient::DistributionsRpmApi.new
90
+ rpm_distribution_href = 'rpm_distribution_href_example' # String | URI of Rpm Distribution. e.g.: /pulp/api/v3/distributions/rpm/rpm/1/
91
+
92
+ begin
93
+ #Delete a rpm distribution
94
+ result = api_instance.delete(rpm_distribution_href)
95
+ p result
96
+ rescue PulpRpmClient::ApiError => e
97
+ puts "Exception when calling DistributionsRpmApi->delete: #{e}"
98
+ end
99
+ ```
100
+
101
+ ### Parameters
102
+
103
+
104
+ Name | Type | Description | Notes
105
+ ------------- | ------------- | ------------- | -------------
106
+ **rpm_distribution_href** | **String**| URI of Rpm Distribution. e.g.: /pulp/api/v3/distributions/rpm/rpm/1/ |
107
+
108
+ ### Return type
109
+
110
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
111
+
112
+ ### Authorization
113
+
114
+ [Basic](../README.md#Basic)
115
+
116
+ ### HTTP request headers
117
+
118
+ - **Content-Type**: Not defined
119
+ - **Accept**: application/json
120
+
121
+
122
+ ## list
123
+
124
+ > InlineResponse2002 list(opts)
125
+
126
+ List rpm distributions
127
+
128
+ ViewSet for RPM Distributions.
129
+
130
+ ### Example
131
+
132
+ ```ruby
133
+ # load the gem
134
+ require 'pulp_rpm_client'
135
+ # setup authorization
136
+ PulpRpmClient.configure do |config|
137
+ # Configure HTTP basic authorization: Basic
138
+ config.username = 'YOUR USERNAME'
139
+ config.password = 'YOUR PASSWORD'
140
+ end
141
+
142
+ api_instance = PulpRpmClient::DistributionsRpmApi.new
143
+ opts = {
144
+ name: 'name_example', # String |
145
+ name__in: 'name__in_example', # String | Filter results where name is in a comma-separated list of values
146
+ base_path: 'base_path_example', # String |
147
+ base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
148
+ base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
149
+ base_path__in: 'base_path__in_example', # String | Filter results where base_path is in a comma-separated list of values
150
+ page: 56, # Integer | A page number within the paginated result set.
151
+ page_size: 56 # Integer | Number of results to return per page.
152
+ }
153
+
154
+ begin
155
+ #List rpm distributions
156
+ result = api_instance.list(opts)
157
+ p result
158
+ rescue PulpRpmClient::ApiError => e
159
+ puts "Exception when calling DistributionsRpmApi->list: #{e}"
160
+ end
161
+ ```
162
+
163
+ ### Parameters
164
+
165
+
166
+ Name | Type | Description | Notes
167
+ ------------- | ------------- | ------------- | -------------
168
+ **name** | **String**| | [optional]
169
+ **name__in** | **String**| Filter results where name is in a comma-separated list of values | [optional]
170
+ **base_path** | **String**| | [optional]
171
+ **base_path__contains** | **String**| Filter results where base_path contains value | [optional]
172
+ **base_path__icontains** | **String**| Filter results where base_path contains value | [optional]
173
+ **base_path__in** | **String**| Filter results where base_path is in a comma-separated list of values | [optional]
174
+ **page** | **Integer**| A page number within the paginated result set. | [optional]
175
+ **page_size** | **Integer**| Number of results to return per page. | [optional]
176
+
177
+ ### Return type
178
+
179
+ [**InlineResponse2002**](InlineResponse2002.md)
180
+
181
+ ### Authorization
182
+
183
+ [Basic](../README.md#Basic)
184
+
185
+ ### HTTP request headers
186
+
187
+ - **Content-Type**: Not defined
188
+ - **Accept**: application/json
189
+
190
+
191
+ ## partial_update
192
+
193
+ > AsyncOperationResponse partial_update(rpm_distribution_href, data)
194
+
195
+ Partially update a rpm distribution
196
+
197
+ Trigger an asynchronous partial update task
198
+
199
+ ### Example
200
+
201
+ ```ruby
202
+ # load the gem
203
+ require 'pulp_rpm_client'
204
+ # setup authorization
205
+ PulpRpmClient.configure do |config|
206
+ # Configure HTTP basic authorization: Basic
207
+ config.username = 'YOUR USERNAME'
208
+ config.password = 'YOUR PASSWORD'
209
+ end
210
+
211
+ api_instance = PulpRpmClient::DistributionsRpmApi.new
212
+ rpm_distribution_href = 'rpm_distribution_href_example' # String | URI of Rpm Distribution. e.g.: /pulp/api/v3/distributions/rpm/rpm/1/
213
+ data = PulpRpmClient::RpmDistribution.new # RpmDistribution |
214
+
215
+ begin
216
+ #Partially update a rpm distribution
217
+ result = api_instance.partial_update(rpm_distribution_href, data)
218
+ p result
219
+ rescue PulpRpmClient::ApiError => e
220
+ puts "Exception when calling DistributionsRpmApi->partial_update: #{e}"
221
+ end
222
+ ```
223
+
224
+ ### Parameters
225
+
226
+
227
+ Name | Type | Description | Notes
228
+ ------------- | ------------- | ------------- | -------------
229
+ **rpm_distribution_href** | **String**| URI of Rpm Distribution. e.g.: /pulp/api/v3/distributions/rpm/rpm/1/ |
230
+ **data** | [**RpmDistribution**](RpmDistribution.md)| |
231
+
232
+ ### Return type
233
+
234
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
235
+
236
+ ### Authorization
237
+
238
+ [Basic](../README.md#Basic)
239
+
240
+ ### HTTP request headers
241
+
242
+ - **Content-Type**: application/json
243
+ - **Accept**: application/json
244
+
245
+
246
+ ## read
247
+
248
+ > RpmDistribution read(rpm_distribution_href)
249
+
250
+ Inspect a rpm distribution
251
+
252
+ ViewSet for RPM Distributions.
253
+
254
+ ### Example
255
+
256
+ ```ruby
257
+ # load the gem
258
+ require 'pulp_rpm_client'
259
+ # setup authorization
260
+ PulpRpmClient.configure do |config|
261
+ # Configure HTTP basic authorization: Basic
262
+ config.username = 'YOUR USERNAME'
263
+ config.password = 'YOUR PASSWORD'
264
+ end
265
+
266
+ api_instance = PulpRpmClient::DistributionsRpmApi.new
267
+ rpm_distribution_href = 'rpm_distribution_href_example' # String | URI of Rpm Distribution. e.g.: /pulp/api/v3/distributions/rpm/rpm/1/
268
+
269
+ begin
270
+ #Inspect a rpm distribution
271
+ result = api_instance.read(rpm_distribution_href)
272
+ p result
273
+ rescue PulpRpmClient::ApiError => e
274
+ puts "Exception when calling DistributionsRpmApi->read: #{e}"
275
+ end
276
+ ```
277
+
278
+ ### Parameters
279
+
280
+
281
+ Name | Type | Description | Notes
282
+ ------------- | ------------- | ------------- | -------------
283
+ **rpm_distribution_href** | **String**| URI of Rpm Distribution. e.g.: /pulp/api/v3/distributions/rpm/rpm/1/ |
284
+
285
+ ### Return type
286
+
287
+ [**RpmDistribution**](RpmDistribution.md)
288
+
289
+ ### Authorization
290
+
291
+ [Basic](../README.md#Basic)
292
+
293
+ ### HTTP request headers
294
+
295
+ - **Content-Type**: Not defined
296
+ - **Accept**: application/json
297
+
298
+
299
+ ## update
300
+
301
+ > AsyncOperationResponse update(rpm_distribution_href, data)
302
+
303
+ Update a rpm distribution
304
+
305
+ Trigger an asynchronous update task
306
+
307
+ ### Example
308
+
309
+ ```ruby
310
+ # load the gem
311
+ require 'pulp_rpm_client'
312
+ # setup authorization
313
+ PulpRpmClient.configure do |config|
314
+ # Configure HTTP basic authorization: Basic
315
+ config.username = 'YOUR USERNAME'
316
+ config.password = 'YOUR PASSWORD'
317
+ end
318
+
319
+ api_instance = PulpRpmClient::DistributionsRpmApi.new
320
+ rpm_distribution_href = 'rpm_distribution_href_example' # String | URI of Rpm Distribution. e.g.: /pulp/api/v3/distributions/rpm/rpm/1/
321
+ data = PulpRpmClient::RpmDistribution.new # RpmDistribution |
322
+
323
+ begin
324
+ #Update a rpm distribution
325
+ result = api_instance.update(rpm_distribution_href, data)
326
+ p result
327
+ rescue PulpRpmClient::ApiError => e
328
+ puts "Exception when calling DistributionsRpmApi->update: #{e}"
329
+ end
330
+ ```
331
+
332
+ ### Parameters
333
+
334
+
335
+ Name | Type | Description | Notes
336
+ ------------- | ------------- | ------------- | -------------
337
+ **rpm_distribution_href** | **String**| URI of Rpm Distribution. e.g.: /pulp/api/v3/distributions/rpm/rpm/1/ |
338
+ **data** | [**RpmDistribution**](RpmDistribution.md)| |
339
+
340
+ ### Return type
341
+
342
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
343
+
344
+ ### Authorization
345
+
346
+ [Basic](../README.md#Basic)
347
+
348
+ ### HTTP request headers
349
+
350
+ - **Content-Type**: application/json
351
+ - **Accept**: application/json
352
+
@@ -0,0 +1,23 @@
1
+ # PulpRpmClient::InlineResponse200
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **_next** | **String** | | [optional]
8
+ **previous** | **String** | | [optional]
9
+ **count** | **Integer** | |
10
+ **results** | [**Array<UpdateRecord>**](UpdateRecord.md) | |
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'PulpRpmClient'
16
+
17
+ instance = PulpRpmClient::InlineResponse200.new(_next: null,
18
+ previous: null,
19
+ count: null,
20
+ results: null)
21
+ ```
22
+
23
+
@@ -0,0 +1,23 @@
1
+ # PulpRpmClient::InlineResponse2001
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **_next** | **String** | | [optional]
8
+ **previous** | **String** | | [optional]
9
+ **count** | **Integer** | |
10
+ **results** | [**Array<Package>**](Package.md) | |
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'PulpRpmClient'
16
+
17
+ instance = PulpRpmClient::InlineResponse2001.new(_next: null,
18
+ previous: null,
19
+ count: null,
20
+ results: null)
21
+ ```
22
+
23
+
@@ -0,0 +1,23 @@
1
+ # PulpRpmClient::InlineResponse2002
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **_next** | **String** | | [optional]
8
+ **previous** | **String** | | [optional]
9
+ **count** | **Integer** | |
10
+ **results** | [**Array<RpmDistribution>**](RpmDistribution.md) | |
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'PulpRpmClient'
16
+
17
+ instance = PulpRpmClient::InlineResponse2002.new(_next: null,
18
+ previous: null,
19
+ count: null,
20
+ results: null)
21
+ ```
22
+
23
+
@@ -0,0 +1,23 @@
1
+ # PulpRpmClient::InlineResponse2003
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **_next** | **String** | | [optional]
8
+ **previous** | **String** | | [optional]
9
+ **count** | **Integer** | |
10
+ **results** | [**Array<RpmPublication>**](RpmPublication.md) | |
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'PulpRpmClient'
16
+
17
+ instance = PulpRpmClient::InlineResponse2003.new(_next: null,
18
+ previous: null,
19
+ count: null,
20
+ results: null)
21
+ ```
22
+
23
+
@@ -0,0 +1,23 @@
1
+ # PulpRpmClient::InlineResponse2004
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **_next** | **String** | | [optional]
8
+ **previous** | **String** | | [optional]
9
+ **count** | **Integer** | |
10
+ **results** | [**Array<RpmRemote>**](RpmRemote.md) | |
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'PulpRpmClient'
16
+
17
+ instance = PulpRpmClient::InlineResponse2004.new(_next: null,
18
+ previous: null,
19
+ count: null,
20
+ results: null)
21
+ ```
22
+
23
+
data/docs/Package.md ADDED
@@ -0,0 +1,95 @@
1
+ # PulpRpmClient::Package
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **_href** | **String** | | [optional]
8
+ **_type** | **String** | | [optional]
9
+ **_created** | **DateTime** | Timestamp of creation. | [optional]
10
+ **_artifact** | **String** | Artifact file representing the physical content |
11
+ **name** | **String** | Name of the package |
12
+ **epoch** | **String** | The package's epoch | [optional]
13
+ **version** | **String** | The version of the package. For example, '2.8.0' |
14
+ **release** | **String** | The release of a particular version of the package. e.g. '1.el7' or '3.f24' |
15
+ **arch** | **String** | The target architecture for a package.For example, 'x86_64', 'i686', or 'noarch' |
16
+ **pkg_id** | **String** | Checksum of the package file |
17
+ **checksum_type** | **String** | Type of checksum, e.g. 'sha256', 'md5' |
18
+ **summary** | **String** | Short description of the packaged software | [optional]
19
+ **description** | **String** | In-depth description of the packaged software | [optional]
20
+ **url** | **String** | URL with more information about the packaged software | [optional]
21
+ **changelogs** | **String** | Changelogs that package contains | [optional] [default to '[]']
22
+ **files** | **String** | Files that package contains | [optional] [default to '[]']
23
+ **requires** | **String** | Capabilities the package requires | [optional] [default to '[]']
24
+ **provides** | **String** | Capabilities the package provides | [optional] [default to '[]']
25
+ **conflicts** | **String** | Capabilities the package conflicts | [optional] [default to '[]']
26
+ **obsoletes** | **String** | Capabilities the package obsoletes | [optional] [default to '[]']
27
+ **suggests** | **String** | Capabilities the package suggests | [optional] [default to '[]']
28
+ **enhances** | **String** | Capabilities the package enhances | [optional] [default to '[]']
29
+ **recommends** | **String** | Capabilities the package recommends | [optional] [default to '[]']
30
+ **supplements** | **String** | Capabilities the package supplements | [optional] [default to '[]']
31
+ **location_base** | **String** | Base location of this package | [optional]
32
+ **location_href** | **String** | Relative location of package to the repodata |
33
+ **rpm_buildhost** | **String** | Hostname of the system that built the package | [optional]
34
+ **rpm_group** | **String** | RPM group (See: http://fedoraproject.org/wiki/RPMGroups) | [optional]
35
+ **rpm_license** | **String** | License term applicable to the package software (GPLv2, etc.) | [optional]
36
+ **rpm_packager** | **String** | Person or persons responsible for creating the package | [optional]
37
+ **rpm_sourcerpm** | **String** | Name of the source package (srpm) the package was built from | [optional]
38
+ **rpm_vendor** | **String** | Name of the organization that produced the package | [optional]
39
+ **rpm_header_start** | **Integer** | First byte of the header |
40
+ **rpm_header_end** | **Integer** | Last byte of the header |
41
+ **size_archive** | **Integer** | Size, in bytes, of the archive portion of the original package file |
42
+ **size_installed** | **Integer** | Total size, in bytes, of every file installed by this package |
43
+ **size_package** | **Integer** | Size, in bytes, of the package |
44
+ **time_build** | **Integer** | Time the package was built in seconds since the epoch |
45
+ **time_file** | **Integer** | The 'file' time attribute in the primary XML - file mtime in seconds since the epoch. |
46
+ **relative_path** | **String** | File name of the package |
47
+
48
+ ## Code Sample
49
+
50
+ ```ruby
51
+ require 'PulpRpmClient'
52
+
53
+ instance = PulpRpmClient::Package.new(_href: null,
54
+ _type: null,
55
+ _created: null,
56
+ _artifact: null,
57
+ name: null,
58
+ epoch: null,
59
+ version: null,
60
+ release: null,
61
+ arch: null,
62
+ pkg_id: null,
63
+ checksum_type: null,
64
+ summary: null,
65
+ description: null,
66
+ url: null,
67
+ changelogs: null,
68
+ files: null,
69
+ requires: null,
70
+ provides: null,
71
+ conflicts: null,
72
+ obsoletes: null,
73
+ suggests: null,
74
+ enhances: null,
75
+ recommends: null,
76
+ supplements: null,
77
+ location_base: null,
78
+ location_href: null,
79
+ rpm_buildhost: null,
80
+ rpm_group: null,
81
+ rpm_license: null,
82
+ rpm_packager: null,
83
+ rpm_sourcerpm: null,
84
+ rpm_vendor: null,
85
+ rpm_header_start: null,
86
+ rpm_header_end: null,
87
+ size_archive: null,
88
+ size_installed: null,
89
+ size_package: null,
90
+ time_build: null,
91
+ time_file: null,
92
+ relative_path: null)
93
+ ```
94
+
95
+