pulp_deb_client 2.0.0b2 → 2.0.0b3

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 (128) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +32 -18
  3. data/docs/ContentGenericContentsApi.md +12 -4
  4. data/docs/ContentInstallerFileIndexApi.md +20 -8
  5. data/docs/ContentInstallerPackagesApi.md +42 -4
  6. data/docs/ContentPackageIndexApi.md +20 -8
  7. data/docs/ContentPackagesApi.md +46 -6
  8. data/docs/{ContentReleasesApi.md → ContentReleaseFilesApi.md} +44 -32
  9. data/docs/ContentSummary.md +21 -0
  10. data/docs/{InstallerPackage.md → DebBasePackage.md} +40 -46
  11. data/docs/{DebDistribution.md → DebDebDistribution.md} +6 -6
  12. data/docs/{DebPublication.md → DebDebPublication.md} +5 -7
  13. data/docs/{DebRemote.md → DebDebRemote.md} +15 -21
  14. data/docs/DebDebRepository.md +27 -0
  15. data/docs/{GenericContent.md → DebGenericContent.md} +11 -17
  16. data/docs/{InstallerFileIndex.md → DebInstallerFileIndex.md} +5 -7
  17. data/docs/{PackageIndex.md → DebPackageIndex.md} +5 -7
  18. data/docs/{Release.md → DebReleaseFile.md} +5 -7
  19. data/docs/{VerbatimPublication.md → DebVerbatimPublication.md} +5 -7
  20. data/docs/DistributionsAptApi.md +16 -12
  21. data/docs/InlineResponse200.md +1 -1
  22. data/docs/InlineResponse2001.md +1 -1
  23. data/docs/InlineResponse20010.md +23 -0
  24. data/docs/InlineResponse2002.md +1 -1
  25. data/docs/InlineResponse2003.md +1 -1
  26. data/docs/InlineResponse2004.md +1 -1
  27. data/docs/InlineResponse2005.md +1 -1
  28. data/docs/InlineResponse2006.md +1 -1
  29. data/docs/InlineResponse2007.md +1 -1
  30. data/docs/InlineResponse2008.md +1 -1
  31. data/docs/InlineResponse2009.md +1 -1
  32. data/docs/PublicationsAptApi.md +12 -8
  33. data/docs/PublicationsVerbatimApi.md +12 -8
  34. data/docs/RemotesAptApi.md +30 -81
  35. data/docs/RepositoriesAptApi.md +465 -0
  36. data/docs/RepositoriesDebVersionsApi.md +214 -0
  37. data/docs/RepositoryAddRemoveContent.md +21 -0
  38. data/docs/RepositorySyncURL.md +2 -2
  39. data/docs/RepositoryVersion.md +25 -0
  40. data/lib/pulp_deb_client/api/content_generic_contents_api.rb +16 -4
  41. data/lib/pulp_deb_client/api/content_installer_file_index_api.rb +27 -9
  42. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +61 -4
  43. data/lib/pulp_deb_client/api/content_package_index_api.rb +27 -9
  44. data/lib/pulp_deb_client/api/content_packages_api.rb +67 -7
  45. data/lib/pulp_deb_client/api/{content_releases_api.rb → content_release_files_api.rb} +61 -43
  46. data/lib/pulp_deb_client/api/distributions_apt_api.rb +19 -13
  47. data/lib/pulp_deb_client/api/publications_apt_api.rb +15 -9
  48. data/lib/pulp_deb_client/api/publications_verbatim_api.rb +15 -9
  49. data/lib/pulp_deb_client/api/remotes_apt_api.rb +40 -102
  50. data/lib/pulp_deb_client/api/repositories_apt_api.rb +568 -0
  51. data/lib/pulp_deb_client/api/repositories_deb_versions_api.rb +268 -0
  52. data/lib/pulp_deb_client/api_client.rb +1 -1
  53. data/lib/pulp_deb_client/api_error.rb +1 -1
  54. data/lib/pulp_deb_client/configuration.rb +1 -1
  55. data/lib/pulp_deb_client/models/async_operation_response.rb +12 -2
  56. data/lib/pulp_deb_client/models/content_summary.rb +246 -0
  57. data/lib/pulp_deb_client/models/{package.rb → deb_base_package.rb} +28 -62
  58. data/lib/pulp_deb_client/models/{deb_distribution.rb → deb_deb_distribution.rb} +30 -36
  59. data/lib/pulp_deb_client/models/{deb_publication.rb → deb_deb_publication.rb} +29 -42
  60. data/lib/pulp_deb_client/models/{deb_remote.rb → deb_deb_remote.rb} +87 -147
  61. data/lib/pulp_deb_client/models/deb_deb_repository.rb +294 -0
  62. data/lib/pulp_deb_client/models/{generic_content.rb → deb_generic_content.rb} +28 -62
  63. data/lib/pulp_deb_client/models/{installer_file_index.rb → deb_installer_file_index.rb} +28 -42
  64. data/lib/pulp_deb_client/models/{package_index.rb → deb_package_index.rb} +28 -42
  65. data/lib/pulp_deb_client/models/{release.rb → deb_release_file.rb} +28 -42
  66. data/lib/pulp_deb_client/models/{verbatim_publication.rb → deb_verbatim_publication.rb} +29 -42
  67. data/lib/pulp_deb_client/models/inline_response200.rb +15 -3
  68. data/lib/pulp_deb_client/models/inline_response2001.rb +15 -3
  69. data/lib/pulp_deb_client/models/inline_response20010.rb +247 -0
  70. data/lib/pulp_deb_client/models/inline_response2002.rb +15 -3
  71. data/lib/pulp_deb_client/models/inline_response2003.rb +15 -3
  72. data/lib/pulp_deb_client/models/inline_response2004.rb +15 -3
  73. data/lib/pulp_deb_client/models/inline_response2005.rb +15 -3
  74. data/lib/pulp_deb_client/models/inline_response2006.rb +15 -3
  75. data/lib/pulp_deb_client/models/inline_response2007.rb +15 -3
  76. data/lib/pulp_deb_client/models/inline_response2008.rb +15 -3
  77. data/lib/pulp_deb_client/models/inline_response2009.rb +15 -3
  78. data/lib/pulp_deb_client/models/repository_add_remove_content.rb +231 -0
  79. data/lib/pulp_deb_client/models/repository_sync_url.rb +22 -12
  80. data/lib/pulp_deb_client/models/repository_version.rb +244 -0
  81. data/lib/pulp_deb_client/version.rb +2 -2
  82. data/lib/pulp_deb_client.rb +18 -12
  83. data/pulp_deb_client.gemspec +1 -1
  84. data/spec/api/content_generic_contents_api_spec.rb +6 -2
  85. data/spec/api/content_installer_file_index_api_spec.rb +9 -3
  86. data/spec/api/content_installer_packages_api_spec.rb +21 -2
  87. data/spec/api/content_package_index_api_spec.rb +9 -3
  88. data/spec/api/content_packages_api_spec.rb +23 -3
  89. data/spec/api/{content_releases_api_spec.rb → content_release_files_api_spec.rb} +23 -17
  90. data/spec/api/distributions_apt_api_spec.rb +5 -3
  91. data/spec/api/publications_apt_api_spec.rb +5 -3
  92. data/spec/api/publications_verbatim_api_spec.rb +5 -3
  93. data/spec/api/remotes_apt_api_spec.rb +12 -22
  94. data/spec/api/repositories_apt_api_spec.rb +141 -0
  95. data/spec/api/repositories_deb_versions_api_spec.rb +91 -0
  96. data/spec/api_client_spec.rb +2 -2
  97. data/spec/configuration_spec.rb +1 -1
  98. data/spec/models/async_operation_response_spec.rb +1 -1
  99. data/spec/models/content_summary_spec.rb +53 -0
  100. data/spec/models/{package_spec.rb → deb_base_package_spec.rb} +9 -27
  101. data/spec/models/{deb_distribution_spec.rb → deb_deb_distribution_spec.rb} +9 -9
  102. data/spec/models/{deb_publication_spec.rb → deb_deb_publication_spec.rb} +9 -15
  103. data/spec/models/{deb_remote_spec.rb → deb_deb_remote_spec.rb} +14 -32
  104. data/spec/models/{verbatim_publication_spec.rb → deb_deb_repository_spec.rb} +13 -13
  105. data/spec/models/{generic_content_spec.rb → deb_generic_content_spec.rb} +9 -27
  106. data/spec/models/{package_index_spec.rb → deb_installer_file_index_spec.rb} +9 -15
  107. data/spec/models/{installer_file_index_spec.rb → deb_package_index_spec.rb} +9 -15
  108. data/spec/models/{release_spec.rb → deb_release_file_spec.rb} +9 -15
  109. data/spec/models/deb_verbatim_publication_spec.rb +65 -0
  110. data/spec/models/inline_response20010_spec.rb +59 -0
  111. data/spec/models/inline_response2001_spec.rb +1 -1
  112. data/spec/models/inline_response2002_spec.rb +1 -1
  113. data/spec/models/inline_response2003_spec.rb +1 -1
  114. data/spec/models/inline_response2004_spec.rb +1 -1
  115. data/spec/models/inline_response2005_spec.rb +1 -1
  116. data/spec/models/inline_response2006_spec.rb +1 -1
  117. data/spec/models/inline_response2007_spec.rb +1 -1
  118. data/spec/models/inline_response2008_spec.rb +1 -1
  119. data/spec/models/inline_response2009_spec.rb +1 -1
  120. data/spec/models/inline_response200_spec.rb +1 -1
  121. data/spec/models/repository_add_remove_content_spec.rb +53 -0
  122. data/spec/models/repository_sync_url_spec.rb +2 -2
  123. data/spec/models/repository_version_spec.rb +65 -0
  124. data/spec/spec_helper.rb +1 -1
  125. metadata +70 -46
  126. data/docs/Package.md +0 -99
  127. data/lib/pulp_deb_client/models/installer_package.rb +0 -1101
  128. data/spec/models/installer_package_spec.rb +0 -287
@@ -1,22 +1,22 @@
1
- # PulpDebClient::ContentReleasesApi
1
+ # PulpDebClient::ContentReleaseFilesApi
2
2
 
3
3
  All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**create**](ContentReleasesApi.md#create) | **POST** /pulp/api/v3/content/deb/releases/ | Create a release
8
- [**list**](ContentReleasesApi.md#list) | **GET** /pulp/api/v3/content/deb/releases/ | List releases
9
- [**read**](ContentReleasesApi.md#read) | **GET** {release_href} | Inspect a release
7
+ [**create**](ContentReleaseFilesApi.md#create) | **POST** /pulp/api/v3/content/deb/release_files/ | Create a release file
8
+ [**list**](ContentReleaseFilesApi.md#list) | **GET** /pulp/api/v3/content/deb/release_files/ | List release files
9
+ [**read**](ContentReleaseFilesApi.md#read) | **GET** {release_file_href} | Inspect a release file
10
10
 
11
11
 
12
12
 
13
13
  ## create
14
14
 
15
- > Release create(data)
15
+ > DebReleaseFile create(data)
16
16
 
17
- Create a release
17
+ Create a release file
18
18
 
19
- A ViewSet for Release.
19
+ A ViewSet for ReleaseFile.
20
20
 
21
21
  ### Example
22
22
 
@@ -30,15 +30,15 @@ PulpDebClient.configure do |config|
30
30
  config.password = 'YOUR PASSWORD'
31
31
  end
32
32
 
33
- api_instance = PulpDebClient::ContentReleasesApi.new
34
- data = PulpDebClient::Release.new # Release |
33
+ api_instance = PulpDebClient::ContentReleaseFilesApi.new
34
+ data = PulpDebClient::DebReleaseFile.new # DebReleaseFile |
35
35
 
36
36
  begin
37
- #Create a release
37
+ #Create a release file
38
38
  result = api_instance.create(data)
39
39
  p result
40
40
  rescue PulpDebClient::ApiError => e
41
- puts "Exception when calling ContentReleasesApi->create: #{e}"
41
+ puts "Exception when calling ContentReleaseFilesApi->create: #{e}"
42
42
  end
43
43
  ```
44
44
 
@@ -47,11 +47,11 @@ end
47
47
 
48
48
  Name | Type | Description | Notes
49
49
  ------------- | ------------- | ------------- | -------------
50
- **data** | [**Release**](Release.md)| |
50
+ **data** | [**DebReleaseFile**](DebReleaseFile.md)| |
51
51
 
52
52
  ### Return type
53
53
 
54
- [**Release**](Release.md)
54
+ [**DebReleaseFile**](DebReleaseFile.md)
55
55
 
56
56
  ### Authorization
57
57
 
@@ -65,11 +65,11 @@ Name | Type | Description | Notes
65
65
 
66
66
  ## list
67
67
 
68
- > InlineResponse2005 list(opts)
68
+ > InlineResponse2004 list(opts)
69
69
 
70
- List releases
70
+ List release files
71
71
 
72
- A ViewSet for Release.
72
+ A ViewSet for ReleaseFile.
73
73
 
74
74
  ### Example
75
75
 
@@ -83,22 +83,27 @@ PulpDebClient.configure do |config|
83
83
  config.password = 'YOUR PASSWORD'
84
84
  end
85
85
 
86
- api_instance = PulpDebClient::ContentReleasesApi.new
86
+ api_instance = PulpDebClient::ContentReleaseFilesApi.new
87
87
  opts = {
88
+ codename: 'codename_example', # String | Filter results where codename matches value
89
+ suite: 'suite_example', # String | Filter results where suite matches value
90
+ relative_path: 'relative_path_example', # String | Filter results where relative_path matches value
91
+ sha256: 'sha256_example', # String | Filter results where sha256 matches value
88
92
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
89
93
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
90
94
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
91
95
  limit: 56, # Integer | Number of results to return per page.
92
96
  offset: 56, # Integer | The initial index from which to return the results.
93
- fields: 'fields_example' # String | A list of fields to include in the response.
97
+ fields: 'fields_example', # String | A list of fields to include in the response.
98
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
94
99
  }
95
100
 
96
101
  begin
97
- #List releases
102
+ #List release files
98
103
  result = api_instance.list(opts)
99
104
  p result
100
105
  rescue PulpDebClient::ApiError => e
101
- puts "Exception when calling ContentReleasesApi->list: #{e}"
106
+ puts "Exception when calling ContentReleaseFilesApi->list: #{e}"
102
107
  end
103
108
  ```
104
109
 
@@ -107,16 +112,21 @@ end
107
112
 
108
113
  Name | Type | Description | Notes
109
114
  ------------- | ------------- | ------------- | -------------
115
+ **codename** | **String**| Filter results where codename matches value | [optional]
116
+ **suite** | **String**| Filter results where suite matches value | [optional]
117
+ **relative_path** | **String**| Filter results where relative_path matches value | [optional]
118
+ **sha256** | **String**| Filter results where sha256 matches value | [optional]
110
119
  **repository_version** | **String**| Repository Version referenced by HREF | [optional]
111
120
  **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
112
121
  **repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
113
122
  **limit** | **Integer**| Number of results to return per page. | [optional]
114
123
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
115
124
  **fields** | **String**| A list of fields to include in the response. | [optional]
125
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
116
126
 
117
127
  ### Return type
118
128
 
119
- [**InlineResponse2005**](InlineResponse2005.md)
129
+ [**InlineResponse2004**](InlineResponse2004.md)
120
130
 
121
131
  ### Authorization
122
132
 
@@ -130,11 +140,11 @@ Name | Type | Description | Notes
130
140
 
131
141
  ## read
132
142
 
133
- > Release read(release_href, opts)
143
+ > DebReleaseFile read(release_file_href, opts)
134
144
 
135
- Inspect a release
145
+ Inspect a release file
136
146
 
137
- A ViewSet for Release.
147
+ A ViewSet for ReleaseFile.
138
148
 
139
149
  ### Example
140
150
 
@@ -148,18 +158,19 @@ PulpDebClient.configure do |config|
148
158
  config.password = 'YOUR PASSWORD'
149
159
  end
150
160
 
151
- api_instance = PulpDebClient::ContentReleasesApi.new
152
- release_href = 'release_href_example' # String | URI of Release. e.g.: /pulp/api/v3/content/deb/releases/1/
161
+ api_instance = PulpDebClient::ContentReleaseFilesApi.new
162
+ release_file_href = 'release_file_href_example' # String | URI of Release File. e.g.: /pulp/api/v3/content/deb/release_files/1/
153
163
  opts = {
154
- fields: 'fields_example' # String | A list of fields to include in the response.
164
+ fields: 'fields_example', # String | A list of fields to include in the response.
165
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
155
166
  }
156
167
 
157
168
  begin
158
- #Inspect a release
159
- result = api_instance.read(release_href, opts)
169
+ #Inspect a release file
170
+ result = api_instance.read(release_file_href, opts)
160
171
  p result
161
172
  rescue PulpDebClient::ApiError => e
162
- puts "Exception when calling ContentReleasesApi->read: #{e}"
173
+ puts "Exception when calling ContentReleaseFilesApi->read: #{e}"
163
174
  end
164
175
  ```
165
176
 
@@ -168,12 +179,13 @@ end
168
179
 
169
180
  Name | Type | Description | Notes
170
181
  ------------- | ------------- | ------------- | -------------
171
- **release_href** | **String**| URI of Release. e.g.: /pulp/api/v3/content/deb/releases/1/ |
182
+ **release_file_href** | **String**| URI of Release File. e.g.: /pulp/api/v3/content/deb/release_files/1/ |
172
183
  **fields** | **String**| A list of fields to include in the response. | [optional]
184
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
173
185
 
174
186
  ### Return type
175
187
 
176
- [**Release**](Release.md)
188
+ [**DebReleaseFile**](DebReleaseFile.md)
177
189
 
178
190
  ### Authorization
179
191
 
@@ -0,0 +1,21 @@
1
+ # PulpDebClient::ContentSummary
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **added** | **Hash<String, Hash<String, String>>** | |
8
+ **removed** | **Hash<String, Hash<String, String>>** | |
9
+ **present** | **Hash<String, Hash<String, String>>** | |
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'PulpDebClient'
15
+
16
+ instance = PulpDebClient::ContentSummary.new(added: null,
17
+ removed: null,
18
+ present: null)
19
+ ```
20
+
21
+
@@ -1,64 +1,58 @@
1
- # PulpDebClient::InstallerPackage
1
+ # PulpDebClient::DebBasePackage
2
2
 
3
3
  ## Properties
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **_href** | **String** | | [optional]
8
- **_created** | **DateTime** | Timestamp of creation. | [optional]
9
- **_type** | **String** | | [optional]
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
10
9
  **artifact** | **String** | Artifact file representing the physical content | [optional]
11
10
  **relative_path** | **String** | Path where the artifact is located relative to distributions base_path | [optional]
12
- **file** | **String** | An uploaded file that should be turned into the artifact of the content unit. | [optional]
13
- **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
14
- **md5** | **String** | The MD5 checksum if available. | [optional]
15
- **sha1** | **String** | The SHA-1 checksum if available. | [optional]
16
- **sha224** | **String** | The SHA-224 checksum if available. | [optional]
17
- **sha256** | **String** | The SHA-256 checksum if available. | [optional]
18
- **sha384** | **String** | The SHA-384 checksum if available. | [optional]
19
- **sha512** | **String** | The SHA-512 checksum if available. | [optional]
20
- **package** | **String** | | [optional]
21
- **source** | **String** | | [optional]
22
- **version** | **String** | | [optional]
23
- **architecture** | **String** | | [optional]
24
- **section** | **String** | | [optional]
25
- **priority** | **String** | | [optional]
26
- **origin** | **String** | | [optional]
27
- **tag** | **String** | | [optional]
28
- **bugs** | **String** | | [optional]
29
- **essential** | **String** | | [optional]
30
- **build_essential** | **String** | | [optional]
31
- **installed_size** | **String** | | [optional]
32
- **maintainer** | **String** | | [optional]
33
- **original_maintainer** | **String** | | [optional]
34
- **description** | **String** | | [optional]
35
- **description_md5** | **String** | | [optional]
36
- **homepage** | **String** | | [optional]
37
- **built_using** | **String** | | [optional]
38
- **auto_built_package** | **String** | | [optional]
39
- **multi_arch** | **String** | | [optional]
40
- **breaks** | **String** | | [optional]
41
- **conflicts** | **String** | | [optional]
42
- **depends** | **String** | | [optional]
43
- **recommends** | **String** | | [optional]
44
- **suggests** | **String** | | [optional]
45
- **enhances** | **String** | | [optional]
46
- **pre_depends** | **String** | | [optional]
47
- **provides** | **String** | | [optional]
48
- **replaces** | **String** | | [optional]
11
+ **md5** | **String** | The MD5 checksum if available. | [optional] [readonly]
12
+ **sha1** | **String** | The SHA-1 checksum if available. | [optional] [readonly]
13
+ **sha224** | **String** | The SHA-224 checksum if available. | [optional] [readonly]
14
+ **sha256** | **String** | The SHA-256 checksum if available. | [optional] [readonly]
15
+ **sha384** | **String** | The SHA-384 checksum if available. | [optional] [readonly]
16
+ **sha512** | **String** | The SHA-512 checksum if available. | [optional] [readonly]
17
+ **package** | **String** | | [optional] [readonly]
18
+ **source** | **String** | | [optional] [readonly]
19
+ **version** | **String** | | [optional] [readonly]
20
+ **architecture** | **String** | | [optional] [readonly]
21
+ **section** | **String** | | [optional] [readonly]
22
+ **priority** | **String** | | [optional] [readonly]
23
+ **origin** | **String** | | [optional] [readonly]
24
+ **tag** | **String** | | [optional] [readonly]
25
+ **bugs** | **String** | | [optional] [readonly]
26
+ **essential** | **String** | | [optional] [readonly]
27
+ **build_essential** | **String** | | [optional] [readonly]
28
+ **installed_size** | **String** | | [optional] [readonly]
29
+ **maintainer** | **String** | | [optional] [readonly]
30
+ **original_maintainer** | **String** | | [optional] [readonly]
31
+ **description** | **String** | | [optional] [readonly]
32
+ **description_md5** | **String** | | [optional] [readonly]
33
+ **homepage** | **String** | | [optional] [readonly]
34
+ **built_using** | **String** | | [optional] [readonly]
35
+ **auto_built_package** | **String** | | [optional] [readonly]
36
+ **multi_arch** | **String** | | [optional] [readonly]
37
+ **breaks** | **String** | | [optional] [readonly]
38
+ **conflicts** | **String** | | [optional] [readonly]
39
+ **depends** | **String** | | [optional] [readonly]
40
+ **recommends** | **String** | | [optional] [readonly]
41
+ **suggests** | **String** | | [optional] [readonly]
42
+ **enhances** | **String** | | [optional] [readonly]
43
+ **pre_depends** | **String** | | [optional] [readonly]
44
+ **provides** | **String** | | [optional] [readonly]
45
+ **replaces** | **String** | | [optional] [readonly]
49
46
 
50
47
  ## Code Sample
51
48
 
52
49
  ```ruby
53
50
  require 'PulpDebClient'
54
51
 
55
- instance = PulpDebClient::InstallerPackage.new(_href: null,
56
- _created: null,
57
- _type: null,
52
+ instance = PulpDebClient::DebBasePackage.new(pulp_href: null,
53
+ pulp_created: null,
58
54
  artifact: null,
59
55
  relative_path: null,
60
- file: null,
61
- repository: null,
62
56
  md5: null,
63
57
  sha1: null,
64
58
  sha224: null,
@@ -1,13 +1,13 @@
1
- # PulpDebClient::DebDistribution
1
+ # PulpDebClient::DebDebDistribution
2
2
 
3
3
  ## Properties
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **_href** | **String** | | [optional]
8
- **_created** | **DateTime** | Timestamp of creation. | [optional]
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
9
  **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
10
- **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional]
10
+ **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
11
11
  **content_guard** | **String** | An optional content-guard. | [optional]
12
12
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
13
13
  **publication** | **String** | Publication to be served | [optional]
@@ -17,8 +17,8 @@ Name | Type | Description | Notes
17
17
  ```ruby
18
18
  require 'PulpDebClient'
19
19
 
20
- instance = PulpDebClient::DebDistribution.new(_href: null,
21
- _created: null,
20
+ instance = PulpDebClient::DebDebDistribution.new(pulp_href: null,
21
+ pulp_created: null,
22
22
  base_path: null,
23
23
  base_url: null,
24
24
  content_guard: null,
@@ -1,12 +1,11 @@
1
- # PulpDebClient::DebPublication
1
+ # PulpDebClient::DebDebPublication
2
2
 
3
3
  ## Properties
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **_href** | **String** | | [optional]
8
- **_created** | **DateTime** | Timestamp of creation. | [optional]
9
- **_type** | **String** | | [optional]
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
10
9
  **publisher** | **String** | | [optional]
11
10
  **repository_version** | **String** | | [optional]
12
11
  **repository** | **String** | A URI of the repository to be published. | [optional]
@@ -18,9 +17,8 @@ Name | Type | Description | Notes
18
17
  ```ruby
19
18
  require 'PulpDebClient'
20
19
 
21
- instance = PulpDebClient::DebPublication.new(_href: null,
22
- _created: null,
23
- _type: null,
20
+ instance = PulpDebClient::DebDebPublication.new(pulp_href: null,
21
+ pulp_created: null,
24
22
  publisher: null,
25
23
  repository_version: null,
26
24
  repository: null,
@@ -1,22 +1,19 @@
1
- # PulpDebClient::DebRemote
1
+ # PulpDebClient::DebDebRemote
2
2
 
3
3
  ## Properties
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **_href** | **String** | | [optional]
8
- **_created** | **DateTime** | Timestamp of creation. | [optional]
9
- **_type** | **String** | | [optional]
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
10
9
  **name** | **String** | A unique name for this remote. |
11
10
  **url** | **String** | The URL of an external content source. |
12
- **ssl_ca_certificate** | **String** | A string containing the PEM encoded CA certificate used to validate the server certificate presented by the remote server. All new line characters must be escaped. Returns SHA256 sum on GET. | [optional]
13
- **ssl_client_certificate** | **String** | A string containing the PEM encoded client certificate used for authentication. All new line characters must be escaped. Returns SHA256 sum on GET. | [optional]
14
- **ssl_client_key** | **String** | A PEM encoded private key used for authentication. Returns SHA256 sum on GET. | [optional]
15
- **ssl_validation** | **Boolean** | If True, SSL peer validation must be performed. | [optional]
11
+ **ca_cert** | **String** | A string containing the PEM encoded CA certificate used to validate the server certificate presented by the remote server. All new line characters must be escaped. Returns SHA256 sum on GET. | [optional]
12
+ **client_cert** | **String** | A string containing the PEM encoded client certificate used for authentication. All new line characters must be escaped. Returns SHA256 sum on GET. | [optional]
13
+ **client_key** | **String** | A PEM encoded private key used for authentication. Returns SHA256 sum on GET. | [optional]
14
+ **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
16
15
  **proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
17
- **username** | **String** | The username to be used for authentication when syncing. | [optional]
18
- **password** | **String** | The password to be used for authentication when syncing. | [optional]
19
- **_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional]
16
+ **pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
20
17
  **download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
21
18
  **policy** | **String** | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. | [optional] [default to 'immediate']
22
19
  **distributions** | **String** | Whitespace separated list of distributions to sync |
@@ -31,19 +28,16 @@ Name | Type | Description | Notes
31
28
  ```ruby
32
29
  require 'PulpDebClient'
33
30
 
34
- instance = PulpDebClient::DebRemote.new(_href: null,
35
- _created: null,
36
- _type: null,
31
+ instance = PulpDebClient::DebDebRemote.new(pulp_href: null,
32
+ pulp_created: null,
37
33
  name: null,
38
34
  url: null,
39
- ssl_ca_certificate: null,
40
- ssl_client_certificate: null,
41
- ssl_client_key: null,
42
- ssl_validation: null,
35
+ ca_cert: null,
36
+ client_cert: null,
37
+ client_key: null,
38
+ tls_validation: null,
43
39
  proxy_url: null,
44
- username: null,
45
- password: null,
46
- _last_updated: null,
40
+ pulp_last_updated: null,
47
41
  download_concurrency: null,
48
42
  policy: null,
49
43
  distributions: null,
@@ -0,0 +1,27 @@
1
+ # PulpDebClient::DebDebRepository
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
+ **versions_href** | **String** | | [optional] [readonly]
10
+ **latest_version_href** | **String** | | [optional] [readonly]
11
+ **name** | **String** | A unique name for this repository. |
12
+ **description** | **String** | An optional description. | [optional]
13
+
14
+ ## Code Sample
15
+
16
+ ```ruby
17
+ require 'PulpDebClient'
18
+
19
+ instance = PulpDebClient::DebDebRepository.new(pulp_href: null,
20
+ pulp_created: null,
21
+ versions_href: null,
22
+ latest_version_href: null,
23
+ name: null,
24
+ description: null)
25
+ ```
26
+
27
+
@@ -1,35 +1,29 @@
1
- # PulpDebClient::GenericContent
1
+ # PulpDebClient::DebGenericContent
2
2
 
3
3
  ## Properties
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **_href** | **String** | | [optional]
8
- **_created** | **DateTime** | Timestamp of creation. | [optional]
9
- **_type** | **String** | | [optional]
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
10
9
  **artifact** | **String** | Artifact file representing the physical content | [optional]
11
10
  **relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
12
- **file** | **String** | An uploaded file that should be turned into the artifact of the content unit. | [optional]
13
- **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
14
- **md5** | **String** | The MD5 checksum if available. | [optional]
15
- **sha1** | **String** | The SHA-1 checksum if available. | [optional]
16
- **sha224** | **String** | The SHA-224 checksum if available. | [optional]
17
- **sha256** | **String** | The SHA-256 checksum if available. | [optional]
18
- **sha384** | **String** | The SHA-384 checksum if available. | [optional]
19
- **sha512** | **String** | The SHA-512 checksum if available. | [optional]
11
+ **md5** | **String** | The MD5 checksum if available. | [optional] [readonly]
12
+ **sha1** | **String** | The SHA-1 checksum if available. | [optional] [readonly]
13
+ **sha224** | **String** | The SHA-224 checksum if available. | [optional] [readonly]
14
+ **sha256** | **String** | The SHA-256 checksum if available. | [optional] [readonly]
15
+ **sha384** | **String** | The SHA-384 checksum if available. | [optional] [readonly]
16
+ **sha512** | **String** | The SHA-512 checksum if available. | [optional] [readonly]
20
17
 
21
18
  ## Code Sample
22
19
 
23
20
  ```ruby
24
21
  require 'PulpDebClient'
25
22
 
26
- instance = PulpDebClient::GenericContent.new(_href: null,
27
- _created: null,
28
- _type: null,
23
+ instance = PulpDebClient::DebGenericContent.new(pulp_href: null,
24
+ pulp_created: null,
29
25
  artifact: null,
30
26
  relative_path: null,
31
- file: null,
32
- repository: null,
33
27
  md5: null,
34
28
  sha1: null,
35
29
  sha224: null,
@@ -1,12 +1,11 @@
1
- # PulpDebClient::InstallerFileIndex
1
+ # PulpDebClient::DebInstallerFileIndex
2
2
 
3
3
  ## Properties
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **_href** | **String** | | [optional]
8
- **_created** | **DateTime** | Timestamp of creation. | [optional]
9
- **_type** | **String** | | [optional]
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
10
9
  **artifacts** | **Hash<String, String>** | A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/' |
11
10
  **release** | **String** | Release this index file belongs to. |
12
11
  **component** | **String** | Component of the component - architecture combination. |
@@ -18,9 +17,8 @@ Name | Type | Description | Notes
18
17
  ```ruby
19
18
  require 'PulpDebClient'
20
19
 
21
- instance = PulpDebClient::InstallerFileIndex.new(_href: null,
22
- _created: null,
23
- _type: null,
20
+ instance = PulpDebClient::DebInstallerFileIndex.new(pulp_href: null,
21
+ pulp_created: null,
24
22
  artifacts: null,
25
23
  release: null,
26
24
  component: null,
@@ -1,12 +1,11 @@
1
- # PulpDebClient::PackageIndex
1
+ # PulpDebClient::DebPackageIndex
2
2
 
3
3
  ## Properties
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **_href** | **String** | | [optional]
8
- **_created** | **DateTime** | Timestamp of creation. | [optional]
9
- **_type** | **String** | | [optional]
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
10
9
  **artifacts** | **Hash<String, String>** | A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/' |
11
10
  **release** | **String** | Release this index file belongs to. |
12
11
  **component** | **String** | Component of the component - architecture combination. |
@@ -18,9 +17,8 @@ Name | Type | Description | Notes
18
17
  ```ruby
19
18
  require 'PulpDebClient'
20
19
 
21
- instance = PulpDebClient::PackageIndex.new(_href: null,
22
- _created: null,
23
- _type: null,
20
+ instance = PulpDebClient::DebPackageIndex.new(pulp_href: null,
21
+ pulp_created: null,
24
22
  artifacts: null,
25
23
  release: null,
26
24
  component: null,
@@ -1,12 +1,11 @@
1
- # PulpDebClient::Release
1
+ # PulpDebClient::DebReleaseFile
2
2
 
3
3
  ## Properties
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **_href** | **String** | | [optional]
8
- **_created** | **DateTime** | Timestamp of creation. | [optional]
9
- **_type** | **String** | | [optional]
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
10
9
  **artifacts** | **Hash<String, String>** | A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/' |
11
10
  **codename** | **String** | Codename of the release, i.e. \"buster\". |
12
11
  **suite** | **String** | Suite of the release, i.e. \"stable\". | [optional]
@@ -18,9 +17,8 @@ Name | Type | Description | Notes
18
17
  ```ruby
19
18
  require 'PulpDebClient'
20
19
 
21
- instance = PulpDebClient::Release.new(_href: null,
22
- _created: null,
23
- _type: null,
20
+ instance = PulpDebClient::DebReleaseFile.new(pulp_href: null,
21
+ pulp_created: null,
24
22
  artifacts: null,
25
23
  codename: null,
26
24
  suite: null,
@@ -1,12 +1,11 @@
1
- # PulpDebClient::VerbatimPublication
1
+ # PulpDebClient::DebVerbatimPublication
2
2
 
3
3
  ## Properties
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **_href** | **String** | | [optional]
8
- **_created** | **DateTime** | Timestamp of creation. | [optional]
9
- **_type** | **String** | | [optional]
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
10
9
  **publisher** | **String** | | [optional]
11
10
  **repository_version** | **String** | | [optional]
12
11
  **repository** | **String** | A URI of the repository to be published. | [optional]
@@ -16,9 +15,8 @@ Name | Type | Description | Notes
16
15
  ```ruby
17
16
  require 'PulpDebClient'
18
17
 
19
- instance = PulpDebClient::VerbatimPublication.new(_href: null,
20
- _created: null,
21
- _type: null,
18
+ instance = PulpDebClient::DebVerbatimPublication.new(pulp_href: null,
19
+ pulp_created: null,
22
20
  publisher: null,
23
21
  repository_version: null,
24
22
  repository: null)