pulp_gem_client 0.6.1 → 0.6.2

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 (136) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -8
  3. data/docs/AsyncOperationResponse.md +8 -7
  4. data/docs/ContentGemApi.md +118 -66
  5. data/docs/ContentSummaryResponse.md +12 -11
  6. data/docs/DistributionsGemApi.md +388 -183
  7. data/docs/GemGemContentResponse.md +32 -29
  8. data/docs/GemGemDistribution.md +22 -21
  9. data/docs/GemGemDistributionResponse.md +34 -29
  10. data/docs/GemGemPublication.md +10 -9
  11. data/docs/GemGemPublicationResponse.md +18 -15
  12. data/docs/GemGemRemote.md +54 -53
  13. data/docs/GemGemRemoteResponse.md +54 -51
  14. data/docs/GemGemRemoteResponseHiddenFieldsInner.md +20 -0
  15. data/docs/GemGemRepository.md +16 -15
  16. data/docs/GemGemRepositoryResponse.md +28 -25
  17. data/docs/MyPermissionsResponse.md +8 -7
  18. data/docs/NestedRole.md +12 -11
  19. data/docs/NestedRoleResponse.md +12 -11
  20. data/docs/ObjectRolesResponse.md +8 -7
  21. data/docs/PaginatedRepositoryVersionResponseList.md +14 -13
  22. data/docs/PaginatedgemGemContentResponseList.md +14 -13
  23. data/docs/PaginatedgemGemDistributionResponseList.md +14 -13
  24. data/docs/PaginatedgemGemPublicationResponseList.md +14 -13
  25. data/docs/PaginatedgemGemRemoteResponseList.md +14 -13
  26. data/docs/PaginatedgemGemRepositoryResponseList.md +14 -13
  27. data/docs/PatchedgemGemDistribution.md +22 -21
  28. data/docs/PatchedgemGemRemote.md +54 -53
  29. data/docs/PatchedgemGemRepository.md +16 -15
  30. data/docs/PolicyEnum.md +4 -5
  31. data/docs/PublicationsGemApi.md +271 -132
  32. data/docs/RemotesGemApi.md +392 -185
  33. data/docs/Repair.md +8 -7
  34. data/docs/RepositoriesGemApi.md +449 -210
  35. data/docs/RepositoriesGemVersionsApi.md +155 -83
  36. data/docs/RepositoryAddRemoveContent.md +12 -11
  37. data/docs/RepositorySyncURL.md +10 -9
  38. data/docs/RepositoryVersionResponse.md +22 -19
  39. data/docs/SetLabel.md +10 -9
  40. data/docs/SetLabelResponse.md +10 -9
  41. data/docs/UnsetLabel.md +8 -7
  42. data/docs/UnsetLabelResponse.md +10 -9
  43. data/lib/pulp_gem_client/api/content_gem_api.rb +31 -22
  44. data/lib/pulp_gem_client/api/distributions_gem_api.rb +94 -58
  45. data/lib/pulp_gem_client/api/publications_gem_api.rb +81 -58
  46. data/lib/pulp_gem_client/api/remotes_gem_api.rb +109 -70
  47. data/lib/pulp_gem_client/api/repositories_gem_api.rb +116 -72
  48. data/lib/pulp_gem_client/api/repositories_gem_versions_api.rb +50 -37
  49. data/lib/pulp_gem_client/api_client.rb +137 -102
  50. data/lib/pulp_gem_client/api_error.rb +2 -1
  51. data/lib/pulp_gem_client/configuration.rb +162 -21
  52. data/lib/pulp_gem_client/models/async_operation_response.rb +32 -22
  53. data/lib/pulp_gem_client/models/content_summary_response.rb +36 -22
  54. data/lib/pulp_gem_client/models/gem_gem_content_response.rb +45 -25
  55. data/lib/pulp_gem_client/models/gem_gem_distribution.rb +34 -22
  56. data/lib/pulp_gem_client/models/gem_gem_distribution_response.rb +57 -25
  57. data/lib/pulp_gem_client/models/gem_gem_publication.rb +30 -22
  58. data/lib/pulp_gem_client/models/gem_gem_publication_response.rb +43 -25
  59. data/lib/pulp_gem_client/models/gem_gem_remote.rb +56 -22
  60. data/lib/pulp_gem_client/models/gem_gem_remote_response.rb +70 -26
  61. data/lib/pulp_gem_client/models/{gem_gem_remote_response_hidden_fields.rb → gem_gem_remote_response_hidden_fields_inner.rb} +37 -25
  62. data/lib/pulp_gem_client/models/gem_gem_repository.rb +32 -22
  63. data/lib/pulp_gem_client/models/gem_gem_repository_response.rb +45 -25
  64. data/lib/pulp_gem_client/models/my_permissions_response.rb +32 -22
  65. data/lib/pulp_gem_client/models/nested_role.rb +32 -22
  66. data/lib/pulp_gem_client/models/nested_role_response.rb +32 -22
  67. data/lib/pulp_gem_client/models/object_roles_response.rb +32 -22
  68. data/lib/pulp_gem_client/models/paginated_repository_version_response_list.rb +34 -22
  69. data/lib/pulp_gem_client/models/paginatedgem_gem_content_response_list.rb +34 -22
  70. data/lib/pulp_gem_client/models/paginatedgem_gem_distribution_response_list.rb +34 -22
  71. data/lib/pulp_gem_client/models/paginatedgem_gem_publication_response_list.rb +34 -22
  72. data/lib/pulp_gem_client/models/paginatedgem_gem_remote_response_list.rb +34 -22
  73. data/lib/pulp_gem_client/models/paginatedgem_gem_repository_response_list.rb +34 -22
  74. data/lib/pulp_gem_client/models/patchedgem_gem_distribution.rb +40 -24
  75. data/lib/pulp_gem_client/models/patchedgem_gem_remote.rb +62 -24
  76. data/lib/pulp_gem_client/models/patchedgem_gem_repository.rb +35 -23
  77. data/lib/pulp_gem_client/models/policy_enum.rb +8 -4
  78. data/lib/pulp_gem_client/models/repair.rb +30 -22
  79. data/lib/pulp_gem_client/models/repository_add_remove_content.rb +31 -23
  80. data/lib/pulp_gem_client/models/repository_sync_url.rb +30 -22
  81. data/lib/pulp_gem_client/models/repository_version_response.rb +44 -26
  82. data/lib/pulp_gem_client/models/set_label.rb +34 -22
  83. data/lib/pulp_gem_client/models/set_label_response.rb +34 -22
  84. data/lib/pulp_gem_client/models/unset_label.rb +32 -22
  85. data/lib/pulp_gem_client/models/unset_label_response.rb +32 -22
  86. data/lib/pulp_gem_client/version.rb +2 -2
  87. data/lib/pulp_gem_client.rb +2 -3
  88. data/pulp_gem_client.gemspec +9 -6
  89. data/spec/api/content_gem_api_spec.rb +9 -8
  90. data/spec/api/distributions_gem_api_spec.rb +15 -14
  91. data/spec/api/publications_gem_api_spec.rb +22 -20
  92. data/spec/api/remotes_gem_api_spec.rb +22 -20
  93. data/spec/api/repositories_gem_api_spec.rb +19 -18
  94. data/spec/api/repositories_gem_versions_api_spec.rb +16 -14
  95. data/spec/models/async_operation_response_spec.rb +7 -12
  96. data/spec/models/content_summary_response_spec.rb +9 -14
  97. data/spec/models/gem_gem_content_response_spec.rb +24 -23
  98. data/spec/models/gem_gem_distribution_response_spec.rb +30 -23
  99. data/spec/models/gem_gem_distribution_spec.rb +14 -19
  100. data/spec/models/gem_gem_publication_response_spec.rb +17 -16
  101. data/spec/models/gem_gem_publication_spec.rb +8 -13
  102. data/spec/models/{gem_gem_remote_response_hidden_fields_spec.rb → gem_gem_remote_response_hidden_fields_inner_spec.rb} +11 -16
  103. data/spec/models/gem_gem_remote_response_spec.rb +35 -34
  104. data/spec/models/gem_gem_remote_spec.rb +30 -35
  105. data/spec/models/gem_gem_repository_response_spec.rb +22 -21
  106. data/spec/models/gem_gem_repository_spec.rb +11 -16
  107. data/spec/models/my_permissions_response_spec.rb +7 -12
  108. data/spec/models/nested_role_response_spec.rb +9 -14
  109. data/spec/models/nested_role_spec.rb +9 -14
  110. data/spec/models/object_roles_response_spec.rb +7 -12
  111. data/spec/models/paginated_repository_version_response_list_spec.rb +10 -15
  112. data/spec/models/paginatedgem_gem_content_response_list_spec.rb +10 -15
  113. data/spec/models/paginatedgem_gem_distribution_response_list_spec.rb +10 -15
  114. data/spec/models/paginatedgem_gem_publication_response_list_spec.rb +10 -15
  115. data/spec/models/paginatedgem_gem_remote_response_list_spec.rb +10 -15
  116. data/spec/models/paginatedgem_gem_repository_response_list_spec.rb +10 -15
  117. data/spec/models/patchedgem_gem_distribution_spec.rb +14 -19
  118. data/spec/models/patchedgem_gem_remote_spec.rb +30 -35
  119. data/spec/models/patchedgem_gem_repository_spec.rb +11 -16
  120. data/spec/models/policy_enum_spec.rb +6 -11
  121. data/spec/models/repair_spec.rb +7 -12
  122. data/spec/models/repository_add_remove_content_spec.rb +9 -14
  123. data/spec/models/repository_sync_url_spec.rb +8 -13
  124. data/spec/models/repository_version_response_spec.rb +19 -18
  125. data/spec/models/set_label_response_spec.rb +8 -13
  126. data/spec/models/set_label_spec.rb +8 -13
  127. data/spec/models/unset_label_response_spec.rb +8 -13
  128. data/spec/models/unset_label_spec.rb +7 -12
  129. data/spec/spec_helper.rb +1 -1
  130. metadata +80 -60
  131. data/docs/GemGemContent.md +0 -21
  132. data/docs/GemGemRemoteResponseHiddenFields.md +0 -19
  133. data/lib/pulp_gem_client/models/gem_gem_content.rb +0 -228
  134. data/spec/api_client_spec.rb +0 -188
  135. data/spec/configuration_spec.rb +0 -42
  136. data/spec/models/gem_gem_content_spec.rb +0 -53
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9d407fc687d862d7570ee47cff29871e6094dbc6b0eb85cb7133f1b5b6170b35
4
- data.tar.gz: b25baca1e7aeae7b59f9bb693b1496acaba66577f9c235c3e0cecb4a95313e04
3
+ metadata.gz: 2b36192ce4d64a74b05190ff8a05c4eb2377426ab642850762b3b36391821265
4
+ data.tar.gz: 972a883542b71e86f5a35195073aa578fe0dcd2988082694656e2d16fbc821ca
5
5
  SHA512:
6
- metadata.gz: 405b3e4c42c1ba18ce254c5344728278a108182ed099abd272f88e22933a4a9af1e3dccf09615549d5c0fd1d12960cc3dc27137e675343d7a3a0e15a9425999b
7
- data.tar.gz: 8fb973497fa60fb7cad7782f3bad0991d4993f55d5dab95ea37bd11752543c4053ee20862e16965778a91f1a9cdcf58d5e400a601c506736e3d8c8eca6012a4b
6
+ metadata.gz: 7ddfef8cc263ad9abfdf1af49c5d3f5a8442abbd96adccdd403c329deff1acbffeb0bf5435abe2f72eb2986eac8a6b5ad2865472175b275883951b78284e3a4a
7
+ data.tar.gz: 8c51e3c12c509f7860bcde013b5aaa0ecdc8fc9fc10bb7f9ae04eab6f6632551281dc163ccef91756dce1f301447dde122f2f634f8f033665b402893d4550bbf
data/README.md CHANGED
@@ -7,7 +7,8 @@ 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.6.1
10
+ - Package version: 0.6.2
11
+ - Generator version: 7.10.0
11
12
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
13
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
13
14
 
@@ -24,16 +25,16 @@ gem build pulp_gem_client.gemspec
24
25
  Then either install the gem locally:
25
26
 
26
27
  ```shell
27
- gem install ./pulp_gem_client-0.6.1.gem
28
+ gem install ./pulp_gem_client-0.6.2.gem
28
29
  ```
29
30
 
30
- (for development, run `gem install --dev ./pulp_gem_client-0.6.1.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulp_gem_client-0.6.2.gem` to install the development dependencies)
31
32
 
32
33
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
34
 
34
35
  Finally add this to the Gemfile:
35
36
 
36
- gem 'pulp_gem_client', '~> 0.6.1'
37
+ gem 'pulp_gem_client', '~> 0.6.2'
37
38
 
38
39
  ### Install from Git
39
40
 
@@ -62,13 +63,15 @@ PulpGemClient.configure do |config|
62
63
  # Configure HTTP basic authorization: basicAuth
63
64
  config.username = 'YOUR_USERNAME'
64
65
  config.password = 'YOUR_PASSWORD'
66
+ # Configure faraday connection
67
+ config.configure_faraday_connection { |connection| 'YOUR CONNECTION CONFIG PROC' }
65
68
  end
66
69
 
67
70
  api_instance = PulpGemClient::ContentGemApi.new
68
71
  opts = {
69
72
  repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
70
73
  artifact: 'artifact_example', # String | Artifact file representing the physical content
71
- file: File.new('/path/to/file') # File | An uploaded file that should be turned into the artifact of the content unit.
74
+ file: File.new('/path/to/some/file') # File | An uploaded file that should be turned into the artifact of the content unit.
72
75
  }
73
76
 
74
77
  begin
@@ -83,7 +86,7 @@ end
83
86
 
84
87
  ## Documentation for API Endpoints
85
88
 
86
- All URIs are relative to *http://pulp*
89
+ All URIs are relative to *http://localhost:24817*
87
90
 
88
91
  Class | Method | HTTP request | Description
89
92
  ------------ | ------------- | ------------- | -------------
@@ -146,7 +149,6 @@ Class | Method | HTTP request | Description
146
149
 
147
150
  - [PulpGemClient::AsyncOperationResponse](docs/AsyncOperationResponse.md)
148
151
  - [PulpGemClient::ContentSummaryResponse](docs/ContentSummaryResponse.md)
149
- - [PulpGemClient::GemGemContent](docs/GemGemContent.md)
150
152
  - [PulpGemClient::GemGemContentResponse](docs/GemGemContentResponse.md)
151
153
  - [PulpGemClient::GemGemDistribution](docs/GemGemDistribution.md)
152
154
  - [PulpGemClient::GemGemDistributionResponse](docs/GemGemDistributionResponse.md)
@@ -154,7 +156,7 @@ Class | Method | HTTP request | Description
154
156
  - [PulpGemClient::GemGemPublicationResponse](docs/GemGemPublicationResponse.md)
155
157
  - [PulpGemClient::GemGemRemote](docs/GemGemRemote.md)
156
158
  - [PulpGemClient::GemGemRemoteResponse](docs/GemGemRemoteResponse.md)
157
- - [PulpGemClient::GemGemRemoteResponseHiddenFields](docs/GemGemRemoteResponseHiddenFields.md)
159
+ - [PulpGemClient::GemGemRemoteResponseHiddenFieldsInner](docs/GemGemRemoteResponseHiddenFieldsInner.md)
158
160
  - [PulpGemClient::GemGemRepository](docs/GemGemRepository.md)
159
161
  - [PulpGemClient::GemGemRepositoryResponse](docs/GemGemRepositoryResponse.md)
160
162
  - [PulpGemClient::MyPermissionsResponse](docs/MyPermissionsResponse.md)
@@ -184,6 +186,7 @@ Class | Method | HTTP request | Description
184
186
  ## Documentation for Authorization
185
187
 
186
188
 
189
+ Authentication schemes defined for the API:
187
190
  ### basicAuth
188
191
 
189
192
  - **Type**: HTTP basic authentication
@@ -2,16 +2,17 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **task** | **String** | The href of the task. |
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **task** | **String** | The href of the task. | |
8
8
 
9
- ## Code Sample
9
+ ## Example
10
10
 
11
11
  ```ruby
12
- require 'PulpGemClient'
12
+ require 'pulp_gem_client'
13
13
 
14
- instance = PulpGemClient::AsyncOperationResponse.new(task: null)
14
+ instance = PulpGemClient::AsyncOperationResponse.new(
15
+ task: null
16
+ )
15
17
  ```
16
18
 
17
-
@@ -1,27 +1,26 @@
1
1
  # PulpGemClient::ContentGemApi
2
2
 
3
- All URIs are relative to *http://pulp*
4
-
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**create**](ContentGemApi.md#create) | **POST** /pulp/api/v3/content/gem/gem/ | Create a gem content
8
- [**list**](ContentGemApi.md#list) | **GET** /pulp/api/v3/content/gem/gem/ | List gem contents
9
- [**read**](ContentGemApi.md#read) | **GET** {gem_gem_content_href} | Inspect a gem content
3
+ All URIs are relative to *http://localhost:24817*
10
4
 
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**create**](ContentGemApi.md#create) | **POST** /pulp/api/v3/content/gem/gem/ | Create a gem content |
8
+ | [**list**](ContentGemApi.md#list) | **GET** /pulp/api/v3/content/gem/gem/ | List gem contents |
9
+ | [**read**](ContentGemApi.md#read) | **GET** {gem_gem_content_href} | Inspect a gem content |
11
10
 
12
11
 
13
12
  ## create
14
13
 
15
- > AsyncOperationResponse create(opts)
14
+ > <AsyncOperationResponse> create(opts)
16
15
 
17
16
  Create a gem content
18
17
 
19
18
  Trigger an asynchronous task to create content,optionally create new repository version.
20
19
 
21
- ### Example
20
+ ### Examples
22
21
 
23
22
  ```ruby
24
- # load the gem
23
+ require 'time'
25
24
  require 'pulp_gem_client'
26
25
  # setup authorization
27
26
  PulpGemClient.configure do |config|
@@ -34,26 +33,43 @@ api_instance = PulpGemClient::ContentGemApi.new
34
33
  opts = {
35
34
  repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
36
35
  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.
36
+ file: File.new('/path/to/some/file') # File | An uploaded file that should be turned into the artifact of the content unit.
38
37
  }
39
38
 
40
39
  begin
41
- #Create a gem content
40
+ # Create a gem content
42
41
  result = api_instance.create(opts)
43
42
  p result
44
43
  rescue PulpGemClient::ApiError => e
45
- puts "Exception when calling ContentGemApi->create: #{e}"
44
+ puts "Error when calling ContentGemApi->create: #{e}"
46
45
  end
47
46
  ```
48
47
 
49
- ### Parameters
48
+ #### Using the create_with_http_info variant
49
+
50
+ This returns an Array which contains the response data, status code and headers.
51
+
52
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(opts)
53
+
54
+ ```ruby
55
+ begin
56
+ # Create a gem content
57
+ data, status_code, headers = api_instance.create_with_http_info(opts)
58
+ p status_code # => 2xx
59
+ p headers # => { ... }
60
+ p data # => <AsyncOperationResponse>
61
+ rescue PulpGemClient::ApiError => e
62
+ puts "Error when calling ContentGemApi->create_with_http_info: #{e}"
63
+ end
64
+ ```
50
65
 
66
+ ### Parameters
51
67
 
52
- Name | Type | Description | Notes
53
- ------------- | ------------- | ------------- | -------------
54
- **repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
55
- **artifact** | **String**| Artifact file representing the physical content | [optional]
56
- **file** | **File**| An uploaded file that should be turned into the artifact of the content unit. | [optional]
68
+ | Name | Type | Description | Notes |
69
+ | ---- | ---- | ----------- | ----- |
70
+ | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
71
+ | **artifact** | **String** | Artifact file representing the physical content | [optional] |
72
+ | **file** | **File** | An uploaded file that should be turned into the artifact of the content unit. | [optional] |
57
73
 
58
74
  ### Return type
59
75
 
@@ -71,16 +87,16 @@ Name | Type | Description | Notes
71
87
 
72
88
  ## list
73
89
 
74
- > PaginatedgemGemContentResponseList list(opts)
90
+ > <PaginatedgemGemContentResponseList> list(opts)
75
91
 
76
92
  List gem contents
77
93
 
78
94
  A ViewSet for GemContent.
79
95
 
80
- ### Example
96
+ ### Examples
81
97
 
82
98
  ```ruby
83
- # load the gem
99
+ require 'time'
84
100
  require 'pulp_gem_client'
85
101
  # setup authorization
86
102
  PulpGemClient.configure do |config|
@@ -95,50 +111,69 @@ opts = {
95
111
  limit: 56, # Integer | Number of results to return per page.
96
112
  name: 'name_example', # String | Filter results where name matches value
97
113
  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) * `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
- orphaned_for: 3.4, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
114
+ ordering: ['-checksum'], # 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)
115
+ orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
100
116
  prerelease: true, # Boolean | Filter results where prerelease matches value
101
- pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
102
- pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
103
- q: 'q_example', # String |
104
- repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
105
- repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
106
- repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
117
+ prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
118
+ pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
119
+ pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
120
+ q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
121
+ repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
122
+ repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
123
+ repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF/PRN
107
124
  version: 'version_example', # String | Filter results where version matches value
108
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
109
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
125
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
126
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
110
127
  }
111
128
 
112
129
  begin
113
- #List gem contents
130
+ # List gem contents
114
131
  result = api_instance.list(opts)
115
132
  p result
116
133
  rescue PulpGemClient::ApiError => e
117
- puts "Exception when calling ContentGemApi->list: #{e}"
134
+ puts "Error when calling ContentGemApi->list: #{e}"
118
135
  end
119
136
  ```
120
137
 
121
- ### Parameters
138
+ #### Using the list_with_http_info variant
122
139
 
140
+ This returns an Array which contains the response data, status code and headers.
123
141
 
124
- Name | Type | Description | Notes
125
- ------------- | ------------- | ------------- | -------------
126
- **checksum** | **String**| Filter results where checksum matches value | [optional]
127
- **limit** | **Integer**| Number of results to return per page. | [optional]
128
- **name** | **String**| Filter results where name matches value | [optional]
129
- **offset** | **Integer**| The initial index from which to return the results. | [optional]
130
- **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]
131
- **orphaned_for** | **Float**| Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional]
132
- **prerelease** | **Boolean**| Filter results where prerelease matches value | [optional]
133
- **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
134
- **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
135
- **q** | **String**| | [optional]
136
- **repository_version** | **String**| Repository Version referenced by HREF | [optional]
137
- **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
138
- **repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
139
- **version** | **String**| Filter results where version matches value | [optional]
140
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
141
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
142
+ > <Array(<PaginatedgemGemContentResponseList>, Integer, Hash)> list_with_http_info(opts)
143
+
144
+ ```ruby
145
+ begin
146
+ # List gem contents
147
+ data, status_code, headers = api_instance.list_with_http_info(opts)
148
+ p status_code # => 2xx
149
+ p headers # => { ... }
150
+ p data # => <PaginatedgemGemContentResponseList>
151
+ rescue PulpGemClient::ApiError => e
152
+ puts "Error when calling ContentGemApi->list_with_http_info: #{e}"
153
+ end
154
+ ```
155
+
156
+ ### Parameters
157
+
158
+ | Name | Type | Description | Notes |
159
+ | ---- | ---- | ----------- | ----- |
160
+ | **checksum** | **String** | Filter results where checksum matches value | [optional] |
161
+ | **limit** | **Integer** | Number of results to return per page. | [optional] |
162
+ | **name** | **String** | Filter results where name matches value | [optional] |
163
+ | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
164
+ | **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] |
165
+ | **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
166
+ | **prerelease** | **Boolean** | Filter results where prerelease matches value | [optional] |
167
+ | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
168
+ | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
169
+ | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
170
+ | **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
171
+ | **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
172
+ | **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
173
+ | **repository_version_removed** | **String** | Repository Version referenced by HREF/PRN | [optional] |
174
+ | **version** | **String** | Filter results where version matches value | [optional] |
175
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
176
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
142
177
 
143
178
  ### Return type
144
179
 
@@ -156,16 +191,16 @@ Name | Type | Description | Notes
156
191
 
157
192
  ## read
158
193
 
159
- > GemGemContentResponse read(gem_gem_content_href, opts)
194
+ > <GemGemContentResponse> read(gem_gem_content_href, opts)
160
195
 
161
196
  Inspect a gem content
162
197
 
163
198
  A ViewSet for GemContent.
164
199
 
165
- ### Example
200
+ ### Examples
166
201
 
167
202
  ```ruby
168
- # load the gem
203
+ require 'time'
169
204
  require 'pulp_gem_client'
170
205
  # setup authorization
171
206
  PulpGemClient.configure do |config|
@@ -177,27 +212,44 @@ end
177
212
  api_instance = PulpGemClient::ContentGemApi.new
178
213
  gem_gem_content_href = 'gem_gem_content_href_example' # String |
179
214
  opts = {
180
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
181
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
215
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
216
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
182
217
  }
183
218
 
184
219
  begin
185
- #Inspect a gem content
220
+ # Inspect a gem content
186
221
  result = api_instance.read(gem_gem_content_href, opts)
187
222
  p result
188
223
  rescue PulpGemClient::ApiError => e
189
- puts "Exception when calling ContentGemApi->read: #{e}"
224
+ puts "Error when calling ContentGemApi->read: #{e}"
190
225
  end
191
226
  ```
192
227
 
193
- ### Parameters
228
+ #### Using the read_with_http_info variant
229
+
230
+ This returns an Array which contains the response data, status code and headers.
231
+
232
+ > <Array(<GemGemContentResponse>, Integer, Hash)> read_with_http_info(gem_gem_content_href, opts)
194
233
 
234
+ ```ruby
235
+ begin
236
+ # Inspect a gem content
237
+ data, status_code, headers = api_instance.read_with_http_info(gem_gem_content_href, opts)
238
+ p status_code # => 2xx
239
+ p headers # => { ... }
240
+ p data # => <GemGemContentResponse>
241
+ rescue PulpGemClient::ApiError => e
242
+ puts "Error when calling ContentGemApi->read_with_http_info: #{e}"
243
+ end
244
+ ```
245
+
246
+ ### Parameters
195
247
 
196
- Name | Type | Description | Notes
197
- ------------- | ------------- | ------------- | -------------
198
- **gem_gem_content_href** | **String**| |
199
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
200
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
248
+ | Name | Type | Description | Notes |
249
+ | ---- | ---- | ----------- | ----- |
250
+ | **gem_gem_content_href** | **String** | | |
251
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
252
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
201
253
 
202
254
  ### Return type
203
255
 
@@ -2,20 +2,21 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **added** | **Hash&lt;String, Object&gt;** | |
8
- **removed** | **Hash&lt;String, Object&gt;** | |
9
- **present** | **Hash&lt;String, Object&gt;** | |
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **added** | **Hash&lt;String, Object&gt;** | | |
8
+ | **removed** | **Hash&lt;String, Object&gt;** | | |
9
+ | **present** | **Hash&lt;String, Object&gt;** | | |
10
10
 
11
- ## Code Sample
11
+ ## Example
12
12
 
13
13
  ```ruby
14
- require 'PulpGemClient'
14
+ require 'pulp_gem_client'
15
15
 
16
- instance = PulpGemClient::ContentSummaryResponse.new(added: null,
17
- removed: null,
18
- present: null)
16
+ instance = PulpGemClient::ContentSummaryResponse.new(
17
+ added: null,
18
+ removed: null,
19
+ present: null
20
+ )
19
21
  ```
20
22
 
21
-