pulp_gem_client 0.1.1 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +17 -7
  3. data/docs/ContentGemApi.md +8 -6
  4. data/docs/DistributionsGemApi.md +120 -2
  5. data/docs/GemGemContent.md +4 -4
  6. data/docs/GemGemContentResponse.md +2 -0
  7. data/docs/PublicationsGemApi.md +3 -1
  8. data/docs/RemotesGemApi.md +119 -1
  9. data/docs/RepositoriesGemApi.md +120 -2
  10. data/docs/RepositoriesGemVersionsApi.md +3 -1
  11. data/docs/SetLabel.md +19 -0
  12. data/docs/SetLabelResponse.md +19 -0
  13. data/docs/UnsetLabel.md +17 -0
  14. data/docs/UnsetLabelResponse.md +19 -0
  15. data/lib/pulp_gem_client/api/content_gem_api.rb +9 -6
  16. data/lib/pulp_gem_client/api/distributions_gem_api.rb +149 -0
  17. data/lib/pulp_gem_client/api/publications_gem_api.rb +3 -0
  18. data/lib/pulp_gem_client/api/remotes_gem_api.rb +149 -0
  19. data/lib/pulp_gem_client/api/repositories_gem_api.rb +149 -0
  20. data/lib/pulp_gem_client/api/repositories_gem_versions_api.rb +3 -0
  21. data/lib/pulp_gem_client/configuration.rb +2 -2
  22. data/lib/pulp_gem_client/models/gem_gem_content.rb +14 -14
  23. data/lib/pulp_gem_client/models/gem_gem_content_response.rb +11 -1
  24. data/lib/pulp_gem_client/models/set_label.rb +252 -0
  25. data/lib/pulp_gem_client/models/set_label_response.rb +243 -0
  26. data/lib/pulp_gem_client/models/unset_label.rb +242 -0
  27. data/lib/pulp_gem_client/models/unset_label_response.rb +242 -0
  28. data/lib/pulp_gem_client/version.rb +1 -1
  29. data/lib/pulp_gem_client.rb +4 -0
  30. data/spec/api/content_gem_api_spec.rb +3 -2
  31. data/spec/api/distributions_gem_api_spec.rb +29 -0
  32. data/spec/api/publications_gem_api_spec.rb +1 -0
  33. data/spec/api/remotes_gem_api_spec.rb +29 -0
  34. data/spec/api/repositories_gem_api_spec.rb +29 -0
  35. data/spec/api/repositories_gem_versions_api_spec.rb +1 -0
  36. data/spec/configuration_spec.rb +3 -3
  37. data/spec/models/gem_gem_content_response_spec.rb +6 -0
  38. data/spec/models/gem_gem_content_spec.rb +3 -3
  39. data/spec/models/set_label_response_spec.rb +47 -0
  40. data/spec/models/set_label_spec.rb +47 -0
  41. data/spec/models/unset_label_response_spec.rb +47 -0
  42. data/spec/models/unset_label_spec.rb +41 -0
  43. metadata +39 -23
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 28a98f634f83258f2341079731078eebd8f6ee9c86f68100319862efea18581c
4
- data.tar.gz: 055c77887a10c7d1efbe4a79c6b489b071decab232a3468d4231e16d35ef7c2d
3
+ metadata.gz: 2ae30e9322ed0093cbd9754fa1c74e13d9f7ef911c440ce486f340398812ee1e
4
+ data.tar.gz: f78f5d9d98623c3f7a76d65455599dbc2d1921fa1502e09a11c450cdcbfb1dba
5
5
  SHA512:
6
- metadata.gz: ae105e250f2fd2eaeff26182b76a01abe1ee845190d25631a52b3ff06f2b0235276bff0fe330b5e28ff71e3bc395cd923ad1149ecc0538077752f6fd4529757e
7
- data.tar.gz: b4647ac1b98ac6fde4b6a15cfc80fbc4345724f263134a2e7aab05ed88badf599b3b5b4778f6f967c0435153477a98886abd12ff53e2e2c4ed9cb78dde33399c
6
+ metadata.gz: 5f681c58c03dd069e8d6b1bf4d95fa90b4405f5ba47543ac85f844fbdc0d40507a8ce62afdccee1f80dc1066ec4e5beaddd387a5580270db7df9e5bb201c6ca2
7
+ data.tar.gz: eb96b55fc72807f68678702eb855453049556dc1fac722ac665e6aeb3193596d21beea1b1ca614f6234826146499a2ae50cf35680811e75da2ec7cd4a72999a7
data/README.md CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 0.1.1
10
+ - Package version: 0.3.0
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
13
13
 
@@ -24,16 +24,16 @@ gem build pulp_gem_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulp_gem_client-0.1.1.gem
27
+ gem install ./pulp_gem_client-0.3.0.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_gem_client-0.1.1.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_gem_client-0.3.0.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'pulp_gem_client', '~> 0.1.1'
36
+ gem 'pulp_gem_client', '~> 0.3.0'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -66,9 +66,9 @@ end
66
66
 
67
67
  api_instance = PulpGemClient::ContentGemApi.new
68
68
  opts = {
69
+ repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
69
70
  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.
71
+ file: File.new('/path/to/file') # File | An uploaded file that should be turned into the artifact of the content unit.
72
72
  }
73
73
 
74
74
  begin
@@ -83,7 +83,7 @@ end
83
83
 
84
84
  ## Documentation for API Endpoints
85
85
 
86
- All URIs are relative to *https://pulp*
86
+ All URIs are relative to *http://pulp*
87
87
 
88
88
  Class | Method | HTTP request | Description
89
89
  ------------ | ------------- | ------------- | -------------
@@ -95,6 +95,8 @@ Class | Method | HTTP request | Description
95
95
  *PulpGemClient::DistributionsGemApi* | [**list**](docs/DistributionsGemApi.md#list) | **GET** /pulp/api/v3/distributions/gem/gem/ | List gem distributions
96
96
  *PulpGemClient::DistributionsGemApi* | [**partial_update**](docs/DistributionsGemApi.md#partial_update) | **PATCH** {gem_gem_distribution_href} | Update a gem distribution
97
97
  *PulpGemClient::DistributionsGemApi* | [**read**](docs/DistributionsGemApi.md#read) | **GET** {gem_gem_distribution_href} | Inspect a gem distribution
98
+ *PulpGemClient::DistributionsGemApi* | [**set_label**](docs/DistributionsGemApi.md#set_label) | **POST** {gem_gem_distribution_href}set_label/ | Set a label
99
+ *PulpGemClient::DistributionsGemApi* | [**unset_label**](docs/DistributionsGemApi.md#unset_label) | **POST** {gem_gem_distribution_href}unset_label/ | Unset a label
98
100
  *PulpGemClient::DistributionsGemApi* | [**update**](docs/DistributionsGemApi.md#update) | **PUT** {gem_gem_distribution_href} | Update a gem distribution
99
101
  *PulpGemClient::PublicationsGemApi* | [**create**](docs/PublicationsGemApi.md#create) | **POST** /pulp/api/v3/publications/gem/gem/ | Create a gem publication
100
102
  *PulpGemClient::PublicationsGemApi* | [**delete**](docs/PublicationsGemApi.md#delete) | **DELETE** {gem_gem_publication_href} | Delete a gem publication
@@ -105,6 +107,8 @@ Class | Method | HTTP request | Description
105
107
  *PulpGemClient::RemotesGemApi* | [**list**](docs/RemotesGemApi.md#list) | **GET** /pulp/api/v3/remotes/gem/gem/ | List gem remotes
106
108
  *PulpGemClient::RemotesGemApi* | [**partial_update**](docs/RemotesGemApi.md#partial_update) | **PATCH** {gem_gem_remote_href} | Update a gem remote
107
109
  *PulpGemClient::RemotesGemApi* | [**read**](docs/RemotesGemApi.md#read) | **GET** {gem_gem_remote_href} | Inspect a gem remote
110
+ *PulpGemClient::RemotesGemApi* | [**set_label**](docs/RemotesGemApi.md#set_label) | **POST** {gem_gem_remote_href}set_label/ | Set a label
111
+ *PulpGemClient::RemotesGemApi* | [**unset_label**](docs/RemotesGemApi.md#unset_label) | **POST** {gem_gem_remote_href}unset_label/ | Unset a label
108
112
  *PulpGemClient::RemotesGemApi* | [**update**](docs/RemotesGemApi.md#update) | **PUT** {gem_gem_remote_href} | Update a gem remote
109
113
  *PulpGemClient::RepositoriesGemApi* | [**create**](docs/RepositoriesGemApi.md#create) | **POST** /pulp/api/v3/repositories/gem/gem/ | Create a gem repository
110
114
  *PulpGemClient::RepositoriesGemApi* | [**delete**](docs/RepositoriesGemApi.md#delete) | **DELETE** {gem_gem_repository_href} | Delete a gem repository
@@ -112,7 +116,9 @@ Class | Method | HTTP request | Description
112
116
  *PulpGemClient::RepositoriesGemApi* | [**modify**](docs/RepositoriesGemApi.md#modify) | **POST** {gem_gem_repository_href}modify/ | Modify Repository Content
113
117
  *PulpGemClient::RepositoriesGemApi* | [**partial_update**](docs/RepositoriesGemApi.md#partial_update) | **PATCH** {gem_gem_repository_href} | Update a gem repository
114
118
  *PulpGemClient::RepositoriesGemApi* | [**read**](docs/RepositoriesGemApi.md#read) | **GET** {gem_gem_repository_href} | Inspect a gem repository
119
+ *PulpGemClient::RepositoriesGemApi* | [**set_label**](docs/RepositoriesGemApi.md#set_label) | **POST** {gem_gem_repository_href}set_label/ | Set a label
115
120
  *PulpGemClient::RepositoriesGemApi* | [**sync**](docs/RepositoriesGemApi.md#sync) | **POST** {gem_gem_repository_href}sync/ | Sync from a remote
121
+ *PulpGemClient::RepositoriesGemApi* | [**unset_label**](docs/RepositoriesGemApi.md#unset_label) | **POST** {gem_gem_repository_href}unset_label/ | Unset a label
116
122
  *PulpGemClient::RepositoriesGemApi* | [**update**](docs/RepositoriesGemApi.md#update) | **PUT** {gem_gem_repository_href} | Update a gem repository
117
123
  *PulpGemClient::RepositoriesGemVersionsApi* | [**delete**](docs/RepositoriesGemVersionsApi.md#delete) | **DELETE** {gem_gem_repository_version_href} | Delete a repository version
118
124
  *PulpGemClient::RepositoriesGemVersionsApi* | [**list**](docs/RepositoriesGemVersionsApi.md#list) | **GET** {gem_gem_repository_href}versions/ | List repository versions
@@ -149,6 +155,10 @@ Class | Method | HTTP request | Description
149
155
  - [PulpGemClient::RepositoryAddRemoveContent](docs/RepositoryAddRemoveContent.md)
150
156
  - [PulpGemClient::RepositorySyncURL](docs/RepositorySyncURL.md)
151
157
  - [PulpGemClient::RepositoryVersionResponse](docs/RepositoryVersionResponse.md)
158
+ - [PulpGemClient::SetLabel](docs/SetLabel.md)
159
+ - [PulpGemClient::SetLabelResponse](docs/SetLabelResponse.md)
160
+ - [PulpGemClient::UnsetLabel](docs/UnsetLabel.md)
161
+ - [PulpGemClient::UnsetLabelResponse](docs/UnsetLabelResponse.md)
152
162
 
153
163
 
154
164
  ## Documentation for Authorization
@@ -1,6 +1,6 @@
1
1
  # PulpGemClient::ContentGemApi
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
  ------------- | ------------- | -------------
@@ -32,9 +32,9 @@ end
32
32
 
33
33
  api_instance = PulpGemClient::ContentGemApi.new
34
34
  opts = {
35
+ repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
35
36
  artifact: 'artifact_example', # String | Artifact file representing the physical content
36
- file: File.new('/path/to/file'), # File | An uploaded file that should be turned into the artifact of the content unit.
37
- repository: 'repository_example' # String | A URI of a repository the new content unit should be associated with.
37
+ file: File.new('/path/to/file') # File | An uploaded file that should be turned into the artifact of the content unit.
38
38
  }
39
39
 
40
40
  begin
@@ -51,9 +51,9 @@ end
51
51
 
52
52
  Name | Type | Description | Notes
53
53
  ------------- | ------------- | ------------- | -------------
54
+ **repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
54
55
  **artifact** | **String**| Artifact file representing the physical content | [optional]
55
56
  **file** | **File**| An uploaded file that should be turned into the artifact of the content unit. | [optional]
56
- **repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
57
57
 
58
58
  ### Return type
59
59
 
@@ -95,10 +95,11 @@ opts = {
95
95
  limit: 56, # Integer | Number of results to return per page.
96
96
  name: 'name_example', # String | Filter results where name matches value
97
97
  offset: 56, # Integer | The initial index from which to return the results.
98
- 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) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `checksum` - Checksum * `-checksum` - Checksum (descending) * `prerelease` - Prerelease * `-prerelease` - Prerelease (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `required_ruby_version` - Required ruby version * `-required_ruby_version` - Required ruby version (descending) * `required_rubygems_version` - Required rubygems version * `-required_rubygems_version` - Required rubygems version (descending) * `pk` - Pk * `-pk` - Pk (descending)
98
+ 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) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `platform` - Platform * `-platform` - Platform (descending) * `checksum` - Checksum * `-checksum` - Checksum (descending) * `prerelease` - Prerelease * `-prerelease` - Prerelease (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `required_ruby_version` - Required ruby version * `-required_ruby_version` - Required ruby version (descending) * `required_rubygems_version` - Required rubygems version * `-required_rubygems_version` - Required rubygems version (descending) * `pk` - Pk * `-pk` - Pk (descending)
99
99
  prerelease: true, # Boolean | Filter results where prerelease matches value
100
100
  pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
101
101
  pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
102
+ q: 'q_example', # String |
102
103
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
103
104
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
104
105
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
@@ -125,10 +126,11 @@ Name | Type | Description | Notes
125
126
  **limit** | **Integer**| Number of results to return per page. | [optional]
126
127
  **name** | **String**| Filter results where name matches value | [optional]
127
128
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
128
- **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;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;checksum&#x60; - Checksum * &#x60;-checksum&#x60; - Checksum (descending) * &#x60;prerelease&#x60; - Prerelease * &#x60;-prerelease&#x60; - Prerelease (descending) * &#x60;dependencies&#x60; - Dependencies * &#x60;-dependencies&#x60; - Dependencies (descending) * &#x60;required_ruby_version&#x60; - Required ruby version * &#x60;-required_ruby_version&#x60; - Required ruby version (descending) * &#x60;required_rubygems_version&#x60; - Required rubygems version * &#x60;-required_rubygems_version&#x60; - Required rubygems version (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
129
+ **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;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;platform&#x60; - Platform * &#x60;-platform&#x60; - Platform (descending) * &#x60;checksum&#x60; - Checksum * &#x60;-checksum&#x60; - Checksum (descending) * &#x60;prerelease&#x60; - Prerelease * &#x60;-prerelease&#x60; - Prerelease (descending) * &#x60;dependencies&#x60; - Dependencies * &#x60;-dependencies&#x60; - Dependencies (descending) * &#x60;required_ruby_version&#x60; - Required ruby version * &#x60;-required_ruby_version&#x60; - Required ruby version (descending) * &#x60;required_rubygems_version&#x60; - Required rubygems version * &#x60;-required_rubygems_version&#x60; - Required rubygems version (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
129
130
  **prerelease** | **Boolean**| Filter results where prerelease matches value | [optional]
130
131
  **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
131
132
  **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
133
+ **q** | **String**| | [optional]
132
134
  **repository_version** | **String**| Repository Version referenced by HREF | [optional]
133
135
  **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
134
136
  **repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
@@ -1,6 +1,6 @@
1
1
  # PulpGemClient::DistributionsGemApi
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**](DistributionsGemApi.md#list) | **GET** /pulp/api/v3/distributions/gem/gem/ | List gem distributions
10
10
  [**partial_update**](DistributionsGemApi.md#partial_update) | **PATCH** {gem_gem_distribution_href} | Update a gem distribution
11
11
  [**read**](DistributionsGemApi.md#read) | **GET** {gem_gem_distribution_href} | Inspect a gem distribution
12
+ [**set_label**](DistributionsGemApi.md#set_label) | **POST** {gem_gem_distribution_href}set_label/ | Set a label
13
+ [**unset_label**](DistributionsGemApi.md#unset_label) | **POST** {gem_gem_distribution_href}unset_label/ | Unset a label
12
14
  [**update**](DistributionsGemApi.md#update) | **PUT** {gem_gem_distribution_href} | Update a gem distribution
13
15
 
14
16
 
@@ -149,13 +151,16 @@ 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__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
153
157
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
154
158
  offset: 56, # Integer | The initial index from which to return the results.
155
159
  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
160
  pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
157
161
  pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
158
162
  pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
163
+ q: 'q_example', # String |
159
164
  repository: 'repository_example', # String | Filter results where repository matches value
160
165
  repository__in: ['repository__in_example'], # Array<String> | Filter results where repository is in a comma-separated list of values
161
166
  with_content: 'with_content_example', # String | Filter distributions based on the content served by them
@@ -185,14 +190,17 @@ Name | Type | Description | Notes
185
190
  **name** | **String**| Filter results where name matches value | [optional]
186
191
  **name__contains** | **String**| Filter results where name contains value | [optional]
187
192
  **name__icontains** | **String**| Filter results where name contains value | [optional]
193
+ **name__iexact** | **String**| Filter results where name matches value | [optional]
188
194
  **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
195
+ **name__istartswith** | **String**| Filter results where name starts with value | [optional]
189
196
  **name__startswith** | **String**| Filter results where name starts with value | [optional]
190
197
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
191
198
  **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
199
  **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
193
200
  **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
194
201
  **pulp_label_select** | **String**| Filter labels by search string | [optional]
195
- **repository** | **String**| Filter results where repository matches value | [optional]
202
+ **q** | **String**| | [optional]
203
+ **repository** | [**String**](.md)| Filter results where repository matches value | [optional]
196
204
  **repository__in** | [**Array&lt;String&gt;**](String.md)| Filter results where repository is in a comma-separated list of values | [optional]
197
205
  **with_content** | **String**| Filter distributions based on the content served by them | [optional]
198
206
  **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
@@ -326,6 +334,116 @@ Name | Type | Description | Notes
326
334
  - **Accept**: application/json
327
335
 
328
336
 
337
+ ## set_label
338
+
339
+ > SetLabelResponse set_label(gem_gem_distribution_href, set_label)
340
+
341
+ Set a label
342
+
343
+ Set a single pulp_label on the object to a specific value or null.
344
+
345
+ ### Example
346
+
347
+ ```ruby
348
+ # load the gem
349
+ require 'pulp_gem_client'
350
+ # setup authorization
351
+ PulpGemClient.configure do |config|
352
+ # Configure HTTP basic authorization: basicAuth
353
+ config.username = 'YOUR USERNAME'
354
+ config.password = 'YOUR PASSWORD'
355
+ end
356
+
357
+ api_instance = PulpGemClient::DistributionsGemApi.new
358
+ gem_gem_distribution_href = 'gem_gem_distribution_href_example' # String |
359
+ set_label = PulpGemClient::SetLabel.new # SetLabel |
360
+
361
+ begin
362
+ #Set a label
363
+ result = api_instance.set_label(gem_gem_distribution_href, set_label)
364
+ p result
365
+ rescue PulpGemClient::ApiError => e
366
+ puts "Exception when calling DistributionsGemApi->set_label: #{e}"
367
+ end
368
+ ```
369
+
370
+ ### Parameters
371
+
372
+
373
+ Name | Type | Description | Notes
374
+ ------------- | ------------- | ------------- | -------------
375
+ **gem_gem_distribution_href** | **String**| |
376
+ **set_label** | [**SetLabel**](SetLabel.md)| |
377
+
378
+ ### Return type
379
+
380
+ [**SetLabelResponse**](SetLabelResponse.md)
381
+
382
+ ### Authorization
383
+
384
+ [basicAuth](../README.md#basicAuth)
385
+
386
+ ### HTTP request headers
387
+
388
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
389
+ - **Accept**: application/json
390
+
391
+
392
+ ## unset_label
393
+
394
+ > UnsetLabelResponse unset_label(gem_gem_distribution_href, unset_label)
395
+
396
+ Unset a label
397
+
398
+ Unset a single pulp_label on the object.
399
+
400
+ ### Example
401
+
402
+ ```ruby
403
+ # load the gem
404
+ require 'pulp_gem_client'
405
+ # setup authorization
406
+ PulpGemClient.configure do |config|
407
+ # Configure HTTP basic authorization: basicAuth
408
+ config.username = 'YOUR USERNAME'
409
+ config.password = 'YOUR PASSWORD'
410
+ end
411
+
412
+ api_instance = PulpGemClient::DistributionsGemApi.new
413
+ gem_gem_distribution_href = 'gem_gem_distribution_href_example' # String |
414
+ unset_label = PulpGemClient::UnsetLabel.new # UnsetLabel |
415
+
416
+ begin
417
+ #Unset a label
418
+ result = api_instance.unset_label(gem_gem_distribution_href, unset_label)
419
+ p result
420
+ rescue PulpGemClient::ApiError => e
421
+ puts "Exception when calling DistributionsGemApi->unset_label: #{e}"
422
+ end
423
+ ```
424
+
425
+ ### Parameters
426
+
427
+
428
+ Name | Type | Description | Notes
429
+ ------------- | ------------- | ------------- | -------------
430
+ **gem_gem_distribution_href** | **String**| |
431
+ **unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
432
+
433
+ ### Return type
434
+
435
+ [**UnsetLabelResponse**](UnsetLabelResponse.md)
436
+
437
+ ### Authorization
438
+
439
+ [basicAuth](../README.md#basicAuth)
440
+
441
+ ### HTTP request headers
442
+
443
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
444
+ - **Accept**: application/json
445
+
446
+
329
447
  ## update
330
448
 
331
449
  > AsyncOperationResponse update(gem_gem_distribution_href, gem_gem_distribution)
@@ -4,18 +4,18 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
+ **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
7
8
  **artifact** | **String** | Artifact file representing the physical content | [optional]
8
9
  **file** | **File** | An uploaded file that should be turned into the artifact of the content unit. | [optional]
9
- **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
10
10
 
11
11
  ## Code Sample
12
12
 
13
13
  ```ruby
14
14
  require 'PulpGemClient'
15
15
 
16
- instance = PulpGemClient::GemGemContent.new(artifact: null,
17
- file: null,
18
- repository: null)
16
+ instance = PulpGemClient::GemGemContent.new(repository: null,
17
+ artifact: null,
18
+ file: null)
19
19
  ```
20
20
 
21
21
 
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
10
10
  **checksum** | **String** | SHA256 checksum of the gem | [optional] [readonly]
11
11
  **name** | **String** | Name of the gem | [optional] [readonly]
12
12
  **version** | **String** | Version of the gem | [optional] [readonly]
13
+ **platform** | **String** | Platform of the gem | [optional] [readonly]
13
14
  **prerelease** | **Boolean** | Whether the gem is a prerelease | [optional] [readonly]
14
15
  **dependencies** | **Hash&lt;String, String&gt;** | | [optional] [readonly]
15
16
  **required_ruby_version** | **String** | Required ruby version of the gem | [optional] [readonly]
@@ -26,6 +27,7 @@ instance = PulpGemClient::GemGemContentResponse.new(pulp_href: null,
26
27
  checksum: null,
27
28
  name: null,
28
29
  version: null,
30
+ platform: null,
29
31
  prerelease: null,
30
32
  dependencies: null,
31
33
  required_ruby_version: null,
@@ -1,6 +1,6 @@
1
1
  # PulpGemClient::PublicationsGemApi
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
  ------------- | ------------- | -------------
@@ -151,6 +151,7 @@ opts = {
151
151
  pulp_created__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_created is between two comma separated values
152
152
  pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
153
153
  pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
154
+ q: 'q_example', # String |
154
155
  repository: 'repository_example', # String | Repository referenced by HREF
155
156
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
156
157
  fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
@@ -184,6 +185,7 @@ Name | Type | Description | Notes
184
185
  **pulp_created__range** | [**Array&lt;DateTime&gt;**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
185
186
  **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
186
187
  **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
188
+ **q** | **String**| | [optional]
187
189
  **repository** | **String**| Repository referenced by HREF | [optional]
188
190
  **repository_version** | [**String**](.md)| Repository Version referenced by HREF | [optional]
189
191
  **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
@@ -1,6 +1,6 @@
1
1
  # PulpGemClient::RemotesGemApi
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**](RemotesGemApi.md#list) | **GET** /pulp/api/v3/remotes/gem/gem/ | List gem remotes
10
10
  [**partial_update**](RemotesGemApi.md#partial_update) | **PATCH** {gem_gem_remote_href} | Update a gem remote
11
11
  [**read**](RemotesGemApi.md#read) | **GET** {gem_gem_remote_href} | Inspect a gem remote
12
+ [**set_label**](RemotesGemApi.md#set_label) | **POST** {gem_gem_remote_href}set_label/ | Set a label
13
+ [**unset_label**](RemotesGemApi.md#unset_label) | **POST** {gem_gem_remote_href}unset_label/ | Unset a label
12
14
  [**update**](RemotesGemApi.md#update) | **PUT** {gem_gem_remote_href} | Update a gem remote
13
15
 
14
16
 
@@ -145,7 +147,9 @@ opts = {
145
147
  name: 'name_example', # String | Filter results where name matches value
146
148
  name__contains: 'name__contains_example', # String | Filter results where name contains value
147
149
  name__icontains: 'name__icontains_example', # String | Filter results where name contains value
150
+ name__iexact: 'name__iexact_example', # String | Filter results where name matches value
148
151
  name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
152
+ name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
149
153
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
150
154
  offset: 56, # Integer | The initial index from which to return the results.
151
155
  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) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
@@ -158,6 +162,7 @@ opts = {
158
162
  pulp_last_updated__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than value
159
163
  pulp_last_updated__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than or equal to value
160
164
  pulp_last_updated__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_last_updated is between two comma separated values
165
+ q: 'q_example', # String |
161
166
  fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
162
167
  exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
163
168
  }
@@ -180,7 +185,9 @@ Name | Type | Description | Notes
180
185
  **name** | **String**| Filter results where name matches value | [optional]
181
186
  **name__contains** | **String**| Filter results where name contains value | [optional]
182
187
  **name__icontains** | **String**| Filter results where name contains value | [optional]
188
+ **name__iexact** | **String**| Filter results where name matches value | [optional]
183
189
  **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
190
+ **name__istartswith** | **String**| Filter results where name starts with value | [optional]
184
191
  **name__startswith** | **String**| Filter results where name starts with value | [optional]
185
192
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
186
193
  **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;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;ca_cert&#x60; - Ca cert * &#x60;-ca_cert&#x60; - Ca cert (descending) * &#x60;client_cert&#x60; - Client cert * &#x60;-client_cert&#x60; - Client cert (descending) * &#x60;client_key&#x60; - Client key * &#x60;-client_key&#x60; - Client key (descending) * &#x60;tls_validation&#x60; - Tls validation * &#x60;-tls_validation&#x60; - Tls validation (descending) * &#x60;username&#x60; - Username * &#x60;-username&#x60; - Username (descending) * &#x60;password&#x60; - Password * &#x60;-password&#x60; - Password (descending) * &#x60;proxy_url&#x60; - Proxy url * &#x60;-proxy_url&#x60; - Proxy url (descending) * &#x60;proxy_username&#x60; - Proxy username * &#x60;-proxy_username&#x60; - Proxy username (descending) * &#x60;proxy_password&#x60; - Proxy password * &#x60;-proxy_password&#x60; - Proxy password (descending) * &#x60;download_concurrency&#x60; - Download concurrency * &#x60;-download_concurrency&#x60; - Download concurrency (descending) * &#x60;max_retries&#x60; - Max retries * &#x60;-max_retries&#x60; - Max retries (descending) * &#x60;policy&#x60; - Policy * &#x60;-policy&#x60; - Policy (descending) * &#x60;total_timeout&#x60; - Total timeout * &#x60;-total_timeout&#x60; - Total timeout (descending) * &#x60;connect_timeout&#x60; - Connect timeout * &#x60;-connect_timeout&#x60; - Connect timeout (descending) * &#x60;sock_connect_timeout&#x60; - Sock connect timeout * &#x60;-sock_connect_timeout&#x60; - Sock connect timeout (descending) * &#x60;sock_read_timeout&#x60; - Sock read timeout * &#x60;-sock_read_timeout&#x60; - Sock read timeout (descending) * &#x60;headers&#x60; - Headers * &#x60;-headers&#x60; - Headers (descending) * &#x60;rate_limit&#x60; - Rate limit * &#x60;-rate_limit&#x60; - Rate limit (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
@@ -193,6 +200,7 @@ Name | Type | Description | Notes
193
200
  **pulp_last_updated__lt** | **DateTime**| Filter results where pulp_last_updated is less than value | [optional]
194
201
  **pulp_last_updated__lte** | **DateTime**| Filter results where pulp_last_updated is less than or equal to value | [optional]
195
202
  **pulp_last_updated__range** | [**Array&lt;DateTime&gt;**](DateTime.md)| Filter results where pulp_last_updated is between two comma separated values | [optional]
203
+ **q** | **String**| | [optional]
196
204
  **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
197
205
  **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
198
206
 
@@ -324,6 +332,116 @@ Name | Type | Description | Notes
324
332
  - **Accept**: application/json
325
333
 
326
334
 
335
+ ## set_label
336
+
337
+ > SetLabelResponse set_label(gem_gem_remote_href, set_label)
338
+
339
+ Set a label
340
+
341
+ Set a single pulp_label on the object to a specific value or null.
342
+
343
+ ### Example
344
+
345
+ ```ruby
346
+ # load the gem
347
+ require 'pulp_gem_client'
348
+ # setup authorization
349
+ PulpGemClient.configure do |config|
350
+ # Configure HTTP basic authorization: basicAuth
351
+ config.username = 'YOUR USERNAME'
352
+ config.password = 'YOUR PASSWORD'
353
+ end
354
+
355
+ api_instance = PulpGemClient::RemotesGemApi.new
356
+ gem_gem_remote_href = 'gem_gem_remote_href_example' # String |
357
+ set_label = PulpGemClient::SetLabel.new # SetLabel |
358
+
359
+ begin
360
+ #Set a label
361
+ result = api_instance.set_label(gem_gem_remote_href, set_label)
362
+ p result
363
+ rescue PulpGemClient::ApiError => e
364
+ puts "Exception when calling RemotesGemApi->set_label: #{e}"
365
+ end
366
+ ```
367
+
368
+ ### Parameters
369
+
370
+
371
+ Name | Type | Description | Notes
372
+ ------------- | ------------- | ------------- | -------------
373
+ **gem_gem_remote_href** | **String**| |
374
+ **set_label** | [**SetLabel**](SetLabel.md)| |
375
+
376
+ ### Return type
377
+
378
+ [**SetLabelResponse**](SetLabelResponse.md)
379
+
380
+ ### Authorization
381
+
382
+ [basicAuth](../README.md#basicAuth)
383
+
384
+ ### HTTP request headers
385
+
386
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
387
+ - **Accept**: application/json
388
+
389
+
390
+ ## unset_label
391
+
392
+ > UnsetLabelResponse unset_label(gem_gem_remote_href, unset_label)
393
+
394
+ Unset a label
395
+
396
+ Unset a single pulp_label on the object.
397
+
398
+ ### Example
399
+
400
+ ```ruby
401
+ # load the gem
402
+ require 'pulp_gem_client'
403
+ # setup authorization
404
+ PulpGemClient.configure do |config|
405
+ # Configure HTTP basic authorization: basicAuth
406
+ config.username = 'YOUR USERNAME'
407
+ config.password = 'YOUR PASSWORD'
408
+ end
409
+
410
+ api_instance = PulpGemClient::RemotesGemApi.new
411
+ gem_gem_remote_href = 'gem_gem_remote_href_example' # String |
412
+ unset_label = PulpGemClient::UnsetLabel.new # UnsetLabel |
413
+
414
+ begin
415
+ #Unset a label
416
+ result = api_instance.unset_label(gem_gem_remote_href, unset_label)
417
+ p result
418
+ rescue PulpGemClient::ApiError => e
419
+ puts "Exception when calling RemotesGemApi->unset_label: #{e}"
420
+ end
421
+ ```
422
+
423
+ ### Parameters
424
+
425
+
426
+ Name | Type | Description | Notes
427
+ ------------- | ------------- | ------------- | -------------
428
+ **gem_gem_remote_href** | **String**| |
429
+ **unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
430
+
431
+ ### Return type
432
+
433
+ [**UnsetLabelResponse**](UnsetLabelResponse.md)
434
+
435
+ ### Authorization
436
+
437
+ [basicAuth](../README.md#basicAuth)
438
+
439
+ ### HTTP request headers
440
+
441
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
442
+ - **Accept**: application/json
443
+
444
+
327
445
  ## update
328
446
 
329
447
  > AsyncOperationResponse update(gem_gem_remote_href, gem_gem_remote)