pulp_deb_client 2.0.0b2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/README.md +163 -0
  4. data/Rakefile +10 -0
  5. data/docs/AsyncOperationResponse.md +17 -0
  6. data/docs/ContentGenericContentsApi.md +194 -0
  7. data/docs/ContentInstallerFileIndexApi.md +186 -0
  8. data/docs/ContentInstallerPackagesApi.md +194 -0
  9. data/docs/ContentPackageIndexApi.md +186 -0
  10. data/docs/ContentPackagesApi.md +194 -0
  11. data/docs/ContentReleasesApi.md +186 -0
  12. data/docs/DebDistribution.md +29 -0
  13. data/docs/DebPublication.md +31 -0
  14. data/docs/DebRemote.md +57 -0
  15. data/docs/DistributionsAptApi.md +358 -0
  16. data/docs/GenericContent.md +41 -0
  17. data/docs/InlineResponse200.md +23 -0
  18. data/docs/InlineResponse2001.md +23 -0
  19. data/docs/InlineResponse2002.md +23 -0
  20. data/docs/InlineResponse2003.md +23 -0
  21. data/docs/InlineResponse2004.md +23 -0
  22. data/docs/InlineResponse2005.md +23 -0
  23. data/docs/InlineResponse2006.md +23 -0
  24. data/docs/InlineResponse2007.md +23 -0
  25. data/docs/InlineResponse2008.md +23 -0
  26. data/docs/InlineResponse2009.md +23 -0
  27. data/docs/InstallerFileIndex.md +31 -0
  28. data/docs/InstallerPackage.md +99 -0
  29. data/docs/Package.md +99 -0
  30. data/docs/PackageIndex.md +31 -0
  31. data/docs/PublicationsAptApi.md +235 -0
  32. data/docs/PublicationsVerbatimApi.md +235 -0
  33. data/docs/Release.md +31 -0
  34. data/docs/RemotesAptApi.md +417 -0
  35. data/docs/RepositorySyncURL.md +19 -0
  36. data/docs/VerbatimPublication.md +27 -0
  37. data/git_push.sh +58 -0
  38. data/lib/pulp_deb_client/api/content_generic_contents_api.rb +239 -0
  39. data/lib/pulp_deb_client/api/content_installer_file_index_api.rb +225 -0
  40. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +235 -0
  41. data/lib/pulp_deb_client/api/content_package_index_api.rb +225 -0
  42. data/lib/pulp_deb_client/api/content_packages_api.rb +235 -0
  43. data/lib/pulp_deb_client/api/content_releases_api.rb +225 -0
  44. data/lib/pulp_deb_client/api/distributions_apt_api.rb +436 -0
  45. data/lib/pulp_deb_client/api/publications_apt_api.rb +279 -0
  46. data/lib/pulp_deb_client/api/publications_verbatim_api.rb +279 -0
  47. data/lib/pulp_deb_client/api/remotes_apt_api.rb +510 -0
  48. data/lib/pulp_deb_client/api_client.rb +402 -0
  49. data/lib/pulp_deb_client/api_error.rb +57 -0
  50. data/lib/pulp_deb_client/configuration.rb +243 -0
  51. data/lib/pulp_deb_client/models/async_operation_response.rb +202 -0
  52. data/lib/pulp_deb_client/models/deb_distribution.rb +337 -0
  53. data/lib/pulp_deb_client/models/deb_publication.rb +282 -0
  54. data/lib/pulp_deb_client/models/deb_remote.rb +653 -0
  55. data/lib/pulp_deb_client/models/generic_content.rb +444 -0
  56. data/lib/pulp_deb_client/models/inline_response200.rb +235 -0
  57. data/lib/pulp_deb_client/models/inline_response2001.rb +235 -0
  58. data/lib/pulp_deb_client/models/inline_response2002.rb +235 -0
  59. data/lib/pulp_deb_client/models/inline_response2003.rb +235 -0
  60. data/lib/pulp_deb_client/models/inline_response2004.rb +235 -0
  61. data/lib/pulp_deb_client/models/inline_response2005.rb +235 -0
  62. data/lib/pulp_deb_client/models/inline_response2006.rb +235 -0
  63. data/lib/pulp_deb_client/models/inline_response2007.rb +235 -0
  64. data/lib/pulp_deb_client/models/inline_response2008.rb +235 -0
  65. data/lib/pulp_deb_client/models/inline_response2009.rb +235 -0
  66. data/lib/pulp_deb_client/models/installer_file_index.rb +355 -0
  67. data/lib/pulp_deb_client/models/installer_package.rb +1101 -0
  68. data/lib/pulp_deb_client/models/package.rb +1101 -0
  69. data/lib/pulp_deb_client/models/package_index.rb +355 -0
  70. data/lib/pulp_deb_client/models/release.rb +356 -0
  71. data/lib/pulp_deb_client/models/repository_sync_url.rb +214 -0
  72. data/lib/pulp_deb_client/models/verbatim_publication.rb +258 -0
  73. data/lib/pulp_deb_client/version.rb +15 -0
  74. data/lib/pulp_deb_client.rb +71 -0
  75. data/pulp_deb_client.gemspec +39 -0
  76. data/spec/api/content_generic_contents_api_spec.rb +80 -0
  77. data/spec/api/content_installer_file_index_api_spec.rb +77 -0
  78. data/spec/api/content_installer_packages_api_spec.rb +80 -0
  79. data/spec/api/content_package_index_api_spec.rb +77 -0
  80. data/spec/api/content_packages_api_spec.rb +80 -0
  81. data/spec/api/content_releases_api_spec.rb +77 -0
  82. data/spec/api/distributions_apt_api_spec.rb +118 -0
  83. data/spec/api/publications_apt_api_spec.rb +87 -0
  84. data/spec/api/publications_verbatim_api_spec.rb +87 -0
  85. data/spec/api/remotes_apt_api_spec.rb +132 -0
  86. data/spec/api_client_spec.rb +188 -0
  87. data/spec/configuration_spec.rb +42 -0
  88. data/spec/models/async_operation_response_spec.rb +41 -0
  89. data/spec/models/deb_distribution_spec.rb +77 -0
  90. data/spec/models/deb_publication_spec.rb +83 -0
  91. data/spec/models/deb_remote_spec.rb +165 -0
  92. data/spec/models/generic_content_spec.rb +113 -0
  93. data/spec/models/inline_response2001_spec.rb +59 -0
  94. data/spec/models/inline_response2002_spec.rb +59 -0
  95. data/spec/models/inline_response2003_spec.rb +59 -0
  96. data/spec/models/inline_response2004_spec.rb +59 -0
  97. data/spec/models/inline_response2005_spec.rb +59 -0
  98. data/spec/models/inline_response2006_spec.rb +59 -0
  99. data/spec/models/inline_response2007_spec.rb +59 -0
  100. data/spec/models/inline_response2008_spec.rb +59 -0
  101. data/spec/models/inline_response2009_spec.rb +59 -0
  102. data/spec/models/inline_response200_spec.rb +59 -0
  103. data/spec/models/installer_file_index_spec.rb +83 -0
  104. data/spec/models/installer_package_spec.rb +287 -0
  105. data/spec/models/package_index_spec.rb +83 -0
  106. data/spec/models/package_spec.rb +287 -0
  107. data/spec/models/release_spec.rb +83 -0
  108. data/spec/models/repository_sync_url_spec.rb +47 -0
  109. data/spec/models/verbatim_publication_spec.rb +71 -0
  110. data/spec/spec_helper.rb +111 -0
  111. metadata +242 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 6b09d013154dcb40e0d50e7149a878da44ed5c5855b25dca4c0924de2c5df411
4
+ data.tar.gz: 37dde9ae4ef0276b2cb01c93b38ea7ab4c4f5928a82335f7782b1afc8a9fd296
5
+ SHA512:
6
+ metadata.gz: 4c912a2564b8ba42940e5389a259de433d7a11b3e31e1e86feb78236f7e1b5e4acd32c31c26d64c4e4f4168dc5db22f0d117f06ff5c6e07434492bafa5973fe2
7
+ data.tar.gz: 5d6003b64e700558ee7b1c4e902d67f04a986f2cd8d155ed54ccd81a209e837307fe5e14ea2ed89200cfdfdddc8dde12952229968c6bb79a1584bedfb7ac2ede
data/Gemfile ADDED
@@ -0,0 +1,9 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
4
+
5
+ group :development, :test do
6
+ gem 'rake', '~> 12.0.0'
7
+ gem 'pry-byebug'
8
+ gem 'rubocop', '~> 0.66.0'
9
+ end
data/README.md ADDED
@@ -0,0 +1,163 @@
1
+ # pulp_deb_client
2
+
3
+ PulpDebClient - the Ruby gem for the Pulp 3 API
4
+
5
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+
7
+ This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
+
9
+ - API version: v3
10
+ - Package version: 2.0.0b2
11
+ - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
+
13
+ ## Installation
14
+
15
+ ### Build a gem
16
+
17
+ To build the Ruby code into a gem:
18
+
19
+ ```shell
20
+ gem build pulp_deb_client.gemspec
21
+ ```
22
+
23
+ Then either install the gem locally:
24
+
25
+ ```shell
26
+ gem install ./pulp_deb_client-2.0.0b2.gem
27
+ ```
28
+
29
+ (for development, run `gem install --dev ./pulp_deb_client-2.0.0b2.gem` to install the development dependencies)
30
+
31
+ or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
32
+
33
+ Finally add this to the Gemfile:
34
+
35
+ gem 'pulp_deb_client', '~> 2.0.0b2'
36
+
37
+ ### Install from Git
38
+
39
+ If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:
40
+
41
+ gem 'pulp_deb_client', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'
42
+
43
+ ### Include the Ruby code directly
44
+
45
+ Include the Ruby code directly using `-I` as follows:
46
+
47
+ ```shell
48
+ ruby -Ilib script.rb
49
+ ```
50
+
51
+ ## Getting Started
52
+
53
+ Please follow the [installation](#installation) procedure and then run the following code:
54
+
55
+ ```ruby
56
+ # Load the gem
57
+ require 'pulp_deb_client'
58
+
59
+ # Setup authorization
60
+ PulpDebClient.configure do |config|
61
+ # Configure HTTP basic authorization: Basic
62
+ config.username = 'YOUR_USERNAME'
63
+ config.password = 'YOUR_PASSWORD'
64
+ end
65
+
66
+ api_instance = PulpDebClient::ContentGenericContentsApi.new
67
+ relative_path = 'relative_path_example' # String | Path where the artifact is located relative to distributions base_path
68
+ opts = {
69
+ artifact: 'artifact_example', # String | Artifact file representing the physical content
70
+ file: File.new('/path/to/file'), # File | An uploaded file that should be turned into the artifact of the content unit.
71
+ repository: 'repository_example' # String | A URI of a repository the new content unit should be associated with.
72
+ }
73
+
74
+ begin
75
+ #Create a generic content
76
+ result = api_instance.create(relative_path, opts)
77
+ p result
78
+ rescue PulpDebClient::ApiError => e
79
+ puts "Exception when calling ContentGenericContentsApi->create: #{e}"
80
+ end
81
+
82
+ ```
83
+
84
+ ## Documentation for API Endpoints
85
+
86
+ All URIs are relative to *http://localhost:24817*
87
+
88
+ Class | Method | HTTP request | Description
89
+ ------------ | ------------- | ------------- | -------------
90
+ *PulpDebClient::ContentGenericContentsApi* | [**create**](docs/ContentGenericContentsApi.md#create) | **POST** /pulp/api/v3/content/deb/generic_contents/ | Create a generic content
91
+ *PulpDebClient::ContentGenericContentsApi* | [**list**](docs/ContentGenericContentsApi.md#list) | **GET** /pulp/api/v3/content/deb/generic_contents/ | List generic contents
92
+ *PulpDebClient::ContentGenericContentsApi* | [**read**](docs/ContentGenericContentsApi.md#read) | **GET** {generic_content_href} | Inspect a generic content
93
+ *PulpDebClient::ContentInstallerFileIndexApi* | [**create**](docs/ContentInstallerFileIndexApi.md#create) | **POST** /pulp/api/v3/content/deb/installer_file_index/ | Create an installer file index
94
+ *PulpDebClient::ContentInstallerFileIndexApi* | [**list**](docs/ContentInstallerFileIndexApi.md#list) | **GET** /pulp/api/v3/content/deb/installer_file_index/ | List InstallerFileIndices
95
+ *PulpDebClient::ContentInstallerFileIndexApi* | [**read**](docs/ContentInstallerFileIndexApi.md#read) | **GET** {installer_file_index_href} | Inspect an installer file index
96
+ *PulpDebClient::ContentInstallerPackagesApi* | [**create**](docs/ContentInstallerPackagesApi.md#create) | **POST** /pulp/api/v3/content/deb/installer_packages/ | Create an installer package
97
+ *PulpDebClient::ContentInstallerPackagesApi* | [**list**](docs/ContentInstallerPackagesApi.md#list) | **GET** /pulp/api/v3/content/deb/installer_packages/ | List installer packages
98
+ *PulpDebClient::ContentInstallerPackagesApi* | [**read**](docs/ContentInstallerPackagesApi.md#read) | **GET** {installer_package_href} | Inspect an installer package
99
+ *PulpDebClient::ContentPackageIndexApi* | [**create**](docs/ContentPackageIndexApi.md#create) | **POST** /pulp/api/v3/content/deb/package_index/ | Create a package index
100
+ *PulpDebClient::ContentPackageIndexApi* | [**list**](docs/ContentPackageIndexApi.md#list) | **GET** /pulp/api/v3/content/deb/package_index/ | List PackageIndices
101
+ *PulpDebClient::ContentPackageIndexApi* | [**read**](docs/ContentPackageIndexApi.md#read) | **GET** {package_index_href} | Inspect a package index
102
+ *PulpDebClient::ContentPackagesApi* | [**create**](docs/ContentPackagesApi.md#create) | **POST** /pulp/api/v3/content/deb/packages/ | Create a package
103
+ *PulpDebClient::ContentPackagesApi* | [**list**](docs/ContentPackagesApi.md#list) | **GET** /pulp/api/v3/content/deb/packages/ | List packages
104
+ *PulpDebClient::ContentPackagesApi* | [**read**](docs/ContentPackagesApi.md#read) | **GET** {package_href} | Inspect a package
105
+ *PulpDebClient::ContentReleasesApi* | [**create**](docs/ContentReleasesApi.md#create) | **POST** /pulp/api/v3/content/deb/releases/ | Create a release
106
+ *PulpDebClient::ContentReleasesApi* | [**list**](docs/ContentReleasesApi.md#list) | **GET** /pulp/api/v3/content/deb/releases/ | List releases
107
+ *PulpDebClient::ContentReleasesApi* | [**read**](docs/ContentReleasesApi.md#read) | **GET** {release_href} | Inspect a release
108
+ *PulpDebClient::DistributionsAptApi* | [**create**](docs/DistributionsAptApi.md#create) | **POST** /pulp/api/v3/distributions/deb/apt/ | Create a deb distribution
109
+ *PulpDebClient::DistributionsAptApi* | [**delete**](docs/DistributionsAptApi.md#delete) | **DELETE** {deb_distribution_href} | Delete a deb distribution
110
+ *PulpDebClient::DistributionsAptApi* | [**list**](docs/DistributionsAptApi.md#list) | **GET** /pulp/api/v3/distributions/deb/apt/ | List deb distributions
111
+ *PulpDebClient::DistributionsAptApi* | [**partial_update**](docs/DistributionsAptApi.md#partial_update) | **PATCH** {deb_distribution_href} | Partially update a deb distribution
112
+ *PulpDebClient::DistributionsAptApi* | [**read**](docs/DistributionsAptApi.md#read) | **GET** {deb_distribution_href} | Inspect a deb distribution
113
+ *PulpDebClient::DistributionsAptApi* | [**update**](docs/DistributionsAptApi.md#update) | **PUT** {deb_distribution_href} | Update a deb distribution
114
+ *PulpDebClient::PublicationsAptApi* | [**create**](docs/PublicationsAptApi.md#create) | **POST** /pulp/api/v3/publications/deb/apt/ | Create a deb publication
115
+ *PulpDebClient::PublicationsAptApi* | [**delete**](docs/PublicationsAptApi.md#delete) | **DELETE** {deb_publication_href} | Delete a deb publication
116
+ *PulpDebClient::PublicationsAptApi* | [**list**](docs/PublicationsAptApi.md#list) | **GET** /pulp/api/v3/publications/deb/apt/ | List deb publications
117
+ *PulpDebClient::PublicationsAptApi* | [**read**](docs/PublicationsAptApi.md#read) | **GET** {deb_publication_href} | Inspect a deb publication
118
+ *PulpDebClient::PublicationsVerbatimApi* | [**create**](docs/PublicationsVerbatimApi.md#create) | **POST** /pulp/api/v3/publications/deb/verbatim/ | Create a verbatim publication
119
+ *PulpDebClient::PublicationsVerbatimApi* | [**delete**](docs/PublicationsVerbatimApi.md#delete) | **DELETE** {verbatim_publication_href} | Delete a verbatim publication
120
+ *PulpDebClient::PublicationsVerbatimApi* | [**list**](docs/PublicationsVerbatimApi.md#list) | **GET** /pulp/api/v3/publications/deb/verbatim/ | List verbatim publications
121
+ *PulpDebClient::PublicationsVerbatimApi* | [**read**](docs/PublicationsVerbatimApi.md#read) | **GET** {verbatim_publication_href} | Inspect a verbatim publication
122
+ *PulpDebClient::RemotesAptApi* | [**create**](docs/RemotesAptApi.md#create) | **POST** /pulp/api/v3/remotes/deb/apt/ | Create a deb remote
123
+ *PulpDebClient::RemotesAptApi* | [**delete**](docs/RemotesAptApi.md#delete) | **DELETE** {deb_remote_href} | Delete a deb remote
124
+ *PulpDebClient::RemotesAptApi* | [**list**](docs/RemotesAptApi.md#list) | **GET** /pulp/api/v3/remotes/deb/apt/ | List deb remotes
125
+ *PulpDebClient::RemotesAptApi* | [**partial_update**](docs/RemotesAptApi.md#partial_update) | **PATCH** {deb_remote_href} | Partially update a deb remote
126
+ *PulpDebClient::RemotesAptApi* | [**read**](docs/RemotesAptApi.md#read) | **GET** {deb_remote_href} | Inspect a deb remote
127
+ *PulpDebClient::RemotesAptApi* | [**sync**](docs/RemotesAptApi.md#sync) | **POST** {deb_remote_href}sync/ |
128
+ *PulpDebClient::RemotesAptApi* | [**update**](docs/RemotesAptApi.md#update) | **PUT** {deb_remote_href} | Update a deb remote
129
+
130
+
131
+ ## Documentation for Models
132
+
133
+ - [PulpDebClient::AsyncOperationResponse](docs/AsyncOperationResponse.md)
134
+ - [PulpDebClient::DebDistribution](docs/DebDistribution.md)
135
+ - [PulpDebClient::DebPublication](docs/DebPublication.md)
136
+ - [PulpDebClient::DebRemote](docs/DebRemote.md)
137
+ - [PulpDebClient::GenericContent](docs/GenericContent.md)
138
+ - [PulpDebClient::InlineResponse200](docs/InlineResponse200.md)
139
+ - [PulpDebClient::InlineResponse2001](docs/InlineResponse2001.md)
140
+ - [PulpDebClient::InlineResponse2002](docs/InlineResponse2002.md)
141
+ - [PulpDebClient::InlineResponse2003](docs/InlineResponse2003.md)
142
+ - [PulpDebClient::InlineResponse2004](docs/InlineResponse2004.md)
143
+ - [PulpDebClient::InlineResponse2005](docs/InlineResponse2005.md)
144
+ - [PulpDebClient::InlineResponse2006](docs/InlineResponse2006.md)
145
+ - [PulpDebClient::InlineResponse2007](docs/InlineResponse2007.md)
146
+ - [PulpDebClient::InlineResponse2008](docs/InlineResponse2008.md)
147
+ - [PulpDebClient::InlineResponse2009](docs/InlineResponse2009.md)
148
+ - [PulpDebClient::InstallerFileIndex](docs/InstallerFileIndex.md)
149
+ - [PulpDebClient::InstallerPackage](docs/InstallerPackage.md)
150
+ - [PulpDebClient::Package](docs/Package.md)
151
+ - [PulpDebClient::PackageIndex](docs/PackageIndex.md)
152
+ - [PulpDebClient::Release](docs/Release.md)
153
+ - [PulpDebClient::RepositorySyncURL](docs/RepositorySyncURL.md)
154
+ - [PulpDebClient::VerbatimPublication](docs/VerbatimPublication.md)
155
+
156
+
157
+ ## Documentation for Authorization
158
+
159
+
160
+ ### Basic
161
+
162
+ - **Type**: HTTP basic authentication
163
+
data/Rakefile ADDED
@@ -0,0 +1,10 @@
1
+ require "bundler/gem_tasks"
2
+
3
+ begin
4
+ require 'rspec/core/rake_task'
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+ task default: :spec
8
+ rescue LoadError
9
+ # no rspec available
10
+ end
@@ -0,0 +1,17 @@
1
+ # PulpDebClient::AsyncOperationResponse
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **task** | **String** | The href of the task. |
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'PulpDebClient'
13
+
14
+ instance = PulpDebClient::AsyncOperationResponse.new(task: null)
15
+ ```
16
+
17
+
@@ -0,0 +1,194 @@
1
+ # PulpDebClient::ContentGenericContentsApi
2
+
3
+ All URIs are relative to *http://localhost:24817*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**create**](ContentGenericContentsApi.md#create) | **POST** /pulp/api/v3/content/deb/generic_contents/ | Create a generic content
8
+ [**list**](ContentGenericContentsApi.md#list) | **GET** /pulp/api/v3/content/deb/generic_contents/ | List generic contents
9
+ [**read**](ContentGenericContentsApi.md#read) | **GET** {generic_content_href} | Inspect a generic content
10
+
11
+
12
+
13
+ ## create
14
+
15
+ > AsyncOperationResponse create(relative_path, opts)
16
+
17
+ Create a generic content
18
+
19
+ Trigger an asynchronous task to create content,optionally create new repository version.
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: Basic
29
+ config.username = 'YOUR USERNAME'
30
+ config.password = 'YOUR PASSWORD'
31
+ end
32
+
33
+ api_instance = PulpDebClient::ContentGenericContentsApi.new
34
+ relative_path = 'relative_path_example' # String | Path where the artifact is located relative to distributions base_path
35
+ opts = {
36
+ artifact: 'artifact_example', # String | Artifact file representing the physical content
37
+ file: File.new('/path/to/file'), # File | An uploaded file that should be turned into the artifact of the content unit.
38
+ repository: 'repository_example' # String | A URI of a repository the new content unit should be associated with.
39
+ }
40
+
41
+ begin
42
+ #Create a generic content
43
+ result = api_instance.create(relative_path, opts)
44
+ p result
45
+ rescue PulpDebClient::ApiError => e
46
+ puts "Exception when calling ContentGenericContentsApi->create: #{e}"
47
+ end
48
+ ```
49
+
50
+ ### Parameters
51
+
52
+
53
+ Name | Type | Description | Notes
54
+ ------------- | ------------- | ------------- | -------------
55
+ **relative_path** | **String**| Path where the artifact is located relative to distributions base_path |
56
+ **artifact** | **String**| Artifact file representing the physical content | [optional]
57
+ **file** | **File**| An uploaded file that should be turned into the artifact of the content unit. | [optional]
58
+ **repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
59
+
60
+ ### Return type
61
+
62
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
63
+
64
+ ### Authorization
65
+
66
+ [Basic](../README.md#Basic)
67
+
68
+ ### HTTP request headers
69
+
70
+ - **Content-Type**: multipart/form-data, application/x-www-form-urlencoded
71
+ - **Accept**: application/json
72
+
73
+
74
+ ## list
75
+
76
+ > InlineResponse200 list(opts)
77
+
78
+ List generic contents
79
+
80
+ A ViewSet for GenericContent.
81
+
82
+ ### Example
83
+
84
+ ```ruby
85
+ # load the gem
86
+ require 'pulp_deb_client'
87
+ # setup authorization
88
+ PulpDebClient.configure do |config|
89
+ # Configure HTTP basic authorization: Basic
90
+ config.username = 'YOUR USERNAME'
91
+ config.password = 'YOUR PASSWORD'
92
+ end
93
+
94
+ api_instance = PulpDebClient::ContentGenericContentsApi.new
95
+ opts = {
96
+ repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
97
+ repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
98
+ repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
99
+ limit: 56, # Integer | Number of results to return per page.
100
+ offset: 56, # Integer | The initial index from which to return the results.
101
+ fields: 'fields_example' # String | A list of fields to include in the response.
102
+ }
103
+
104
+ begin
105
+ #List generic contents
106
+ result = api_instance.list(opts)
107
+ p result
108
+ rescue PulpDebClient::ApiError => e
109
+ puts "Exception when calling ContentGenericContentsApi->list: #{e}"
110
+ end
111
+ ```
112
+
113
+ ### Parameters
114
+
115
+
116
+ Name | Type | Description | Notes
117
+ ------------- | ------------- | ------------- | -------------
118
+ **repository_version** | **String**| Repository Version referenced by HREF | [optional]
119
+ **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
120
+ **repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
121
+ **limit** | **Integer**| Number of results to return per page. | [optional]
122
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
123
+ **fields** | **String**| A list of fields to include in the response. | [optional]
124
+
125
+ ### Return type
126
+
127
+ [**InlineResponse200**](InlineResponse200.md)
128
+
129
+ ### Authorization
130
+
131
+ [Basic](../README.md#Basic)
132
+
133
+ ### HTTP request headers
134
+
135
+ - **Content-Type**: Not defined
136
+ - **Accept**: application/json
137
+
138
+
139
+ ## read
140
+
141
+ > GenericContent read(generic_content_href, opts)
142
+
143
+ Inspect a generic content
144
+
145
+ A ViewSet for GenericContent.
146
+
147
+ ### Example
148
+
149
+ ```ruby
150
+ # load the gem
151
+ require 'pulp_deb_client'
152
+ # setup authorization
153
+ PulpDebClient.configure do |config|
154
+ # Configure HTTP basic authorization: Basic
155
+ config.username = 'YOUR USERNAME'
156
+ config.password = 'YOUR PASSWORD'
157
+ end
158
+
159
+ api_instance = PulpDebClient::ContentGenericContentsApi.new
160
+ generic_content_href = 'generic_content_href_example' # String | URI of Generic Content. e.g.: /pulp/api/v3/content/deb/generic_contents/1/
161
+ opts = {
162
+ fields: 'fields_example' # String | A list of fields to include in the response.
163
+ }
164
+
165
+ begin
166
+ #Inspect a generic content
167
+ result = api_instance.read(generic_content_href, opts)
168
+ p result
169
+ rescue PulpDebClient::ApiError => e
170
+ puts "Exception when calling ContentGenericContentsApi->read: #{e}"
171
+ end
172
+ ```
173
+
174
+ ### Parameters
175
+
176
+
177
+ Name | Type | Description | Notes
178
+ ------------- | ------------- | ------------- | -------------
179
+ **generic_content_href** | **String**| URI of Generic Content. e.g.: /pulp/api/v3/content/deb/generic_contents/1/ |
180
+ **fields** | **String**| A list of fields to include in the response. | [optional]
181
+
182
+ ### Return type
183
+
184
+ [**GenericContent**](GenericContent.md)
185
+
186
+ ### Authorization
187
+
188
+ [Basic](../README.md#Basic)
189
+
190
+ ### HTTP request headers
191
+
192
+ - **Content-Type**: Not defined
193
+ - **Accept**: application/json
194
+
@@ -0,0 +1,186 @@
1
+ # PulpDebClient::ContentInstallerFileIndexApi
2
+
3
+ All URIs are relative to *http://localhost:24817*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**create**](ContentInstallerFileIndexApi.md#create) | **POST** /pulp/api/v3/content/deb/installer_file_index/ | Create an installer file index
8
+ [**list**](ContentInstallerFileIndexApi.md#list) | **GET** /pulp/api/v3/content/deb/installer_file_index/ | List InstallerFileIndices
9
+ [**read**](ContentInstallerFileIndexApi.md#read) | **GET** {installer_file_index_href} | Inspect an installer file index
10
+
11
+
12
+
13
+ ## create
14
+
15
+ > InstallerFileIndex create(data)
16
+
17
+ Create an installer file index
18
+
19
+ A ViewSet for InstallerFileIndex.
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: Basic
29
+ config.username = 'YOUR USERNAME'
30
+ config.password = 'YOUR PASSWORD'
31
+ end
32
+
33
+ api_instance = PulpDebClient::ContentInstallerFileIndexApi.new
34
+ data = PulpDebClient::InstallerFileIndex.new # InstallerFileIndex |
35
+
36
+ begin
37
+ #Create an installer file index
38
+ result = api_instance.create(data)
39
+ p result
40
+ rescue PulpDebClient::ApiError => e
41
+ puts "Exception when calling ContentInstallerFileIndexApi->create: #{e}"
42
+ end
43
+ ```
44
+
45
+ ### Parameters
46
+
47
+
48
+ Name | Type | Description | Notes
49
+ ------------- | ------------- | ------------- | -------------
50
+ **data** | [**InstallerFileIndex**](InstallerFileIndex.md)| |
51
+
52
+ ### Return type
53
+
54
+ [**InstallerFileIndex**](InstallerFileIndex.md)
55
+
56
+ ### Authorization
57
+
58
+ [Basic](../README.md#Basic)
59
+
60
+ ### HTTP request headers
61
+
62
+ - **Content-Type**: application/json
63
+ - **Accept**: application/json
64
+
65
+
66
+ ## list
67
+
68
+ > InlineResponse2001 list(opts)
69
+
70
+ List InstallerFileIndices
71
+
72
+ A ViewSet for InstallerFileIndex.
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: Basic
82
+ config.username = 'YOUR USERNAME'
83
+ config.password = 'YOUR PASSWORD'
84
+ end
85
+
86
+ api_instance = PulpDebClient::ContentInstallerFileIndexApi.new
87
+ opts = {
88
+ repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
89
+ repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
90
+ repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
91
+ limit: 56, # Integer | Number of results to return per page.
92
+ 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.
94
+ }
95
+
96
+ begin
97
+ #List InstallerFileIndices
98
+ result = api_instance.list(opts)
99
+ p result
100
+ rescue PulpDebClient::ApiError => e
101
+ puts "Exception when calling ContentInstallerFileIndexApi->list: #{e}"
102
+ end
103
+ ```
104
+
105
+ ### Parameters
106
+
107
+
108
+ Name | Type | Description | Notes
109
+ ------------- | ------------- | ------------- | -------------
110
+ **repository_version** | **String**| Repository Version referenced by HREF | [optional]
111
+ **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
112
+ **repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
113
+ **limit** | **Integer**| Number of results to return per page. | [optional]
114
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
115
+ **fields** | **String**| A list of fields to include in the response. | [optional]
116
+
117
+ ### Return type
118
+
119
+ [**InlineResponse2001**](InlineResponse2001.md)
120
+
121
+ ### Authorization
122
+
123
+ [Basic](../README.md#Basic)
124
+
125
+ ### HTTP request headers
126
+
127
+ - **Content-Type**: Not defined
128
+ - **Accept**: application/json
129
+
130
+
131
+ ## read
132
+
133
+ > InstallerFileIndex read(installer_file_index_href, opts)
134
+
135
+ Inspect an installer file index
136
+
137
+ A ViewSet for InstallerFileIndex.
138
+
139
+ ### Example
140
+
141
+ ```ruby
142
+ # load the gem
143
+ require 'pulp_deb_client'
144
+ # setup authorization
145
+ PulpDebClient.configure do |config|
146
+ # Configure HTTP basic authorization: Basic
147
+ config.username = 'YOUR USERNAME'
148
+ config.password = 'YOUR PASSWORD'
149
+ end
150
+
151
+ api_instance = PulpDebClient::ContentInstallerFileIndexApi.new
152
+ installer_file_index_href = 'installer_file_index_href_example' # String | URI of Installer File Index. e.g.: /pulp/api/v3/content/deb/installer_file_index/1/
153
+ opts = {
154
+ fields: 'fields_example' # String | A list of fields to include in the response.
155
+ }
156
+
157
+ begin
158
+ #Inspect an installer file index
159
+ result = api_instance.read(installer_file_index_href, opts)
160
+ p result
161
+ rescue PulpDebClient::ApiError => e
162
+ puts "Exception when calling ContentInstallerFileIndexApi->read: #{e}"
163
+ end
164
+ ```
165
+
166
+ ### Parameters
167
+
168
+
169
+ Name | Type | Description | Notes
170
+ ------------- | ------------- | ------------- | -------------
171
+ **installer_file_index_href** | **String**| URI of Installer File Index. e.g.: /pulp/api/v3/content/deb/installer_file_index/1/ |
172
+ **fields** | **String**| A list of fields to include in the response. | [optional]
173
+
174
+ ### Return type
175
+
176
+ [**InstallerFileIndex**](InstallerFileIndex.md)
177
+
178
+ ### Authorization
179
+
180
+ [Basic](../README.md#Basic)
181
+
182
+ ### HTTP request headers
183
+
184
+ - **Content-Type**: Not defined
185
+ - **Accept**: application/json
186
+