pulp_gem_client 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -1,36 +1,35 @@
1
1
  # PulpGemClient::RemotesGemApi
2
2
 
3
- All URIs are relative to *http://pulp*
4
-
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**add_role**](RemotesGemApi.md#add_role) | **POST** {gem_gem_remote_href}add_role/ | Add a role
8
- [**create**](RemotesGemApi.md#create) | **POST** /pulp/api/v3/remotes/gem/gem/ | Create a gem remote
9
- [**delete**](RemotesGemApi.md#delete) | **DELETE** {gem_gem_remote_href} | Delete a gem remote
10
- [**list**](RemotesGemApi.md#list) | **GET** /pulp/api/v3/remotes/gem/gem/ | List gem remotes
11
- [**list_roles**](RemotesGemApi.md#list_roles) | **GET** {gem_gem_remote_href}list_roles/ | List roles
12
- [**my_permissions**](RemotesGemApi.md#my_permissions) | **GET** {gem_gem_remote_href}my_permissions/ | List user permissions
13
- [**partial_update**](RemotesGemApi.md#partial_update) | **PATCH** {gem_gem_remote_href} | Update a gem remote
14
- [**read**](RemotesGemApi.md#read) | **GET** {gem_gem_remote_href} | Inspect a gem remote
15
- [**remove_role**](RemotesGemApi.md#remove_role) | **POST** {gem_gem_remote_href}remove_role/ | Remove a role
16
- [**set_label**](RemotesGemApi.md#set_label) | **POST** {gem_gem_remote_href}set_label/ | Set a label
17
- [**unset_label**](RemotesGemApi.md#unset_label) | **POST** {gem_gem_remote_href}unset_label/ | Unset a label
18
- [**update**](RemotesGemApi.md#update) | **PUT** {gem_gem_remote_href} | Update a gem remote
19
-
3
+ All URIs are relative to *http://localhost:24817*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**add_role**](RemotesGemApi.md#add_role) | **POST** {gem_gem_remote_href}add_role/ | Add a role |
8
+ | [**create**](RemotesGemApi.md#create) | **POST** /pulp/api/v3/remotes/gem/gem/ | Create a gem remote |
9
+ | [**delete**](RemotesGemApi.md#delete) | **DELETE** {gem_gem_remote_href} | Delete a gem remote |
10
+ | [**list**](RemotesGemApi.md#list) | **GET** /pulp/api/v3/remotes/gem/gem/ | List gem remotes |
11
+ | [**list_roles**](RemotesGemApi.md#list_roles) | **GET** {gem_gem_remote_href}list_roles/ | List roles |
12
+ | [**my_permissions**](RemotesGemApi.md#my_permissions) | **GET** {gem_gem_remote_href}my_permissions/ | List user permissions |
13
+ | [**partial_update**](RemotesGemApi.md#partial_update) | **PATCH** {gem_gem_remote_href} | Update a gem remote |
14
+ | [**read**](RemotesGemApi.md#read) | **GET** {gem_gem_remote_href} | Inspect a gem remote |
15
+ | [**remove_role**](RemotesGemApi.md#remove_role) | **POST** {gem_gem_remote_href}remove_role/ | Remove a role |
16
+ | [**set_label**](RemotesGemApi.md#set_label) | **POST** {gem_gem_remote_href}set_label/ | Set a label |
17
+ | [**unset_label**](RemotesGemApi.md#unset_label) | **POST** {gem_gem_remote_href}unset_label/ | Unset a label |
18
+ | [**update**](RemotesGemApi.md#update) | **PUT** {gem_gem_remote_href} | Update a gem remote |
20
19
 
21
20
 
22
21
  ## add_role
23
22
 
24
- > NestedRoleResponse add_role(gem_gem_remote_href, nested_role)
23
+ > <NestedRoleResponse> add_role(gem_gem_remote_href, nested_role)
25
24
 
26
25
  Add a role
27
26
 
28
27
  Add a role for this object to users/groups.
29
28
 
30
- ### Example
29
+ ### Examples
31
30
 
32
31
  ```ruby
33
- # load the gem
32
+ require 'time'
34
33
  require 'pulp_gem_client'
35
34
  # setup authorization
36
35
  PulpGemClient.configure do |config|
@@ -41,24 +40,41 @@ end
41
40
 
42
41
  api_instance = PulpGemClient::RemotesGemApi.new
43
42
  gem_gem_remote_href = 'gem_gem_remote_href_example' # String |
44
- nested_role = PulpGemClient::NestedRole.new # NestedRole |
43
+ nested_role = PulpGemClient::NestedRole.new({role: 'role_example'}) # NestedRole |
45
44
 
46
45
  begin
47
- #Add a role
46
+ # Add a role
48
47
  result = api_instance.add_role(gem_gem_remote_href, nested_role)
49
48
  p result
50
49
  rescue PulpGemClient::ApiError => e
51
- puts "Exception when calling RemotesGemApi->add_role: #{e}"
50
+ puts "Error when calling RemotesGemApi->add_role: #{e}"
52
51
  end
53
52
  ```
54
53
 
55
- ### Parameters
54
+ #### Using the add_role_with_http_info variant
55
+
56
+ This returns an Array which contains the response data, status code and headers.
57
+
58
+ > <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(gem_gem_remote_href, nested_role)
59
+
60
+ ```ruby
61
+ begin
62
+ # Add a role
63
+ data, status_code, headers = api_instance.add_role_with_http_info(gem_gem_remote_href, nested_role)
64
+ p status_code # => 2xx
65
+ p headers # => { ... }
66
+ p data # => <NestedRoleResponse>
67
+ rescue PulpGemClient::ApiError => e
68
+ puts "Error when calling RemotesGemApi->add_role_with_http_info: #{e}"
69
+ end
70
+ ```
56
71
 
72
+ ### Parameters
57
73
 
58
- Name | Type | Description | Notes
59
- ------------- | ------------- | ------------- | -------------
60
- **gem_gem_remote_href** | **String**| |
61
- **nested_role** | [**NestedRole**](NestedRole.md)| |
74
+ | Name | Type | Description | Notes |
75
+ | ---- | ---- | ----------- | ----- |
76
+ | **gem_gem_remote_href** | **String** | | |
77
+ | **nested_role** | [**NestedRole**](NestedRole.md) | | |
62
78
 
63
79
  ### Return type
64
80
 
@@ -76,16 +92,16 @@ Name | Type | Description | Notes
76
92
 
77
93
  ## create
78
94
 
79
- > GemGemRemoteResponse create(gem_gem_remote)
95
+ > <GemGemRemoteResponse> create(gem_gem_remote)
80
96
 
81
97
  Create a gem remote
82
98
 
83
99
  A ViewSet for GemRemote.
84
100
 
85
- ### Example
101
+ ### Examples
86
102
 
87
103
  ```ruby
88
- # load the gem
104
+ require 'time'
89
105
  require 'pulp_gem_client'
90
106
  # setup authorization
91
107
  PulpGemClient.configure do |config|
@@ -95,23 +111,40 @@ PulpGemClient.configure do |config|
95
111
  end
96
112
 
97
113
  api_instance = PulpGemClient::RemotesGemApi.new
98
- gem_gem_remote = PulpGemClient::GemGemRemote.new # GemGemRemote |
114
+ gem_gem_remote = PulpGemClient::GemGemRemote.new({name: 'name_example', url: 'url_example'}) # GemGemRemote |
99
115
 
100
116
  begin
101
- #Create a gem remote
117
+ # Create a gem remote
102
118
  result = api_instance.create(gem_gem_remote)
103
119
  p result
104
120
  rescue PulpGemClient::ApiError => e
105
- puts "Exception when calling RemotesGemApi->create: #{e}"
121
+ puts "Error when calling RemotesGemApi->create: #{e}"
106
122
  end
107
123
  ```
108
124
 
109
- ### Parameters
125
+ #### Using the create_with_http_info variant
110
126
 
127
+ This returns an Array which contains the response data, status code and headers.
111
128
 
112
- Name | Type | Description | Notes
113
- ------------- | ------------- | ------------- | -------------
114
- **gem_gem_remote** | [**GemGemRemote**](GemGemRemote.md)| |
129
+ > <Array(<GemGemRemoteResponse>, Integer, Hash)> create_with_http_info(gem_gem_remote)
130
+
131
+ ```ruby
132
+ begin
133
+ # Create a gem remote
134
+ data, status_code, headers = api_instance.create_with_http_info(gem_gem_remote)
135
+ p status_code # => 2xx
136
+ p headers # => { ... }
137
+ p data # => <GemGemRemoteResponse>
138
+ rescue PulpGemClient::ApiError => e
139
+ puts "Error when calling RemotesGemApi->create_with_http_info: #{e}"
140
+ end
141
+ ```
142
+
143
+ ### Parameters
144
+
145
+ | Name | Type | Description | Notes |
146
+ | ---- | ---- | ----------- | ----- |
147
+ | **gem_gem_remote** | [**GemGemRemote**](GemGemRemote.md) | | |
115
148
 
116
149
  ### Return type
117
150
 
@@ -129,16 +162,16 @@ Name | Type | Description | Notes
129
162
 
130
163
  ## delete
131
164
 
132
- > AsyncOperationResponse delete(gem_gem_remote_href)
165
+ > <AsyncOperationResponse> delete(gem_gem_remote_href)
133
166
 
134
167
  Delete a gem remote
135
168
 
136
169
  Trigger an asynchronous delete task
137
170
 
138
- ### Example
171
+ ### Examples
139
172
 
140
173
  ```ruby
141
- # load the gem
174
+ require 'time'
142
175
  require 'pulp_gem_client'
143
176
  # setup authorization
144
177
  PulpGemClient.configure do |config|
@@ -151,20 +184,37 @@ api_instance = PulpGemClient::RemotesGemApi.new
151
184
  gem_gem_remote_href = 'gem_gem_remote_href_example' # String |
152
185
 
153
186
  begin
154
- #Delete a gem remote
187
+ # Delete a gem remote
155
188
  result = api_instance.delete(gem_gem_remote_href)
156
189
  p result
157
190
  rescue PulpGemClient::ApiError => e
158
- puts "Exception when calling RemotesGemApi->delete: #{e}"
191
+ puts "Error when calling RemotesGemApi->delete: #{e}"
159
192
  end
160
193
  ```
161
194
 
162
- ### Parameters
195
+ #### Using the delete_with_http_info variant
196
+
197
+ This returns an Array which contains the response data, status code and headers.
163
198
 
199
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(gem_gem_remote_href)
164
200
 
165
- Name | Type | Description | Notes
166
- ------------- | ------------- | ------------- | -------------
167
- **gem_gem_remote_href** | **String**| |
201
+ ```ruby
202
+ begin
203
+ # Delete a gem remote
204
+ data, status_code, headers = api_instance.delete_with_http_info(gem_gem_remote_href)
205
+ p status_code # => 2xx
206
+ p headers # => { ... }
207
+ p data # => <AsyncOperationResponse>
208
+ rescue PulpGemClient::ApiError => e
209
+ puts "Error when calling RemotesGemApi->delete_with_http_info: #{e}"
210
+ end
211
+ ```
212
+
213
+ ### Parameters
214
+
215
+ | Name | Type | Description | Notes |
216
+ | ---- | ---- | ----------- | ----- |
217
+ | **gem_gem_remote_href** | **String** | | |
168
218
 
169
219
  ### Return type
170
220
 
@@ -182,16 +232,16 @@ Name | Type | Description | Notes
182
232
 
183
233
  ## list
184
234
 
185
- > PaginatedgemGemRemoteResponseList list(opts)
235
+ > <PaginatedgemGemRemoteResponseList> list(opts)
186
236
 
187
237
  List gem remotes
188
238
 
189
239
  A ViewSet for GemRemote.
190
240
 
191
- ### Example
241
+ ### Examples
192
242
 
193
243
  ```ruby
194
- # load the gem
244
+ require 'time'
195
245
  require 'pulp_gem_client'
196
246
  # setup authorization
197
247
  PulpGemClient.configure do |config|
@@ -207,65 +257,86 @@ opts = {
207
257
  name__contains: 'name__contains_example', # String | Filter results where name contains value
208
258
  name__icontains: 'name__icontains_example', # String | Filter results where name contains value
209
259
  name__iexact: 'name__iexact_example', # String | Filter results where name matches value
210
- name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
260
+ name__in: ['inner_example'], # Array<String> | Filter results where name is in a comma-separated list of values
211
261
  name__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
212
262
  name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
213
263
  name__regex: 'name__regex_example', # String | Filter results where name matches regex value
214
264
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
215
265
  offset: 56, # Integer | The initial index from which to return the results.
216
- 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)
217
- pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
218
- pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
266
+ ordering: ['-ca_cert'], # 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)
267
+ prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
268
+ pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
269
+ pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
219
270
  pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
220
- pulp_last_updated: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated matches value
221
- pulp_last_updated__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is greater than value
222
- pulp_last_updated__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is greater than or equal to value
223
- pulp_last_updated__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than value
224
- 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
225
- 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
226
- q: 'q_example', # String |
227
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
228
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
271
+ pulp_last_updated: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_last_updated matches value
272
+ pulp_last_updated__gt: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_last_updated is greater than value
273
+ pulp_last_updated__gte: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_last_updated is greater than or equal to value
274
+ pulp_last_updated__isnull: true, # Boolean | Filter results where pulp_last_updated has a null value
275
+ pulp_last_updated__lt: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_last_updated is less than value
276
+ pulp_last_updated__lte: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_last_updated is less than or equal to value
277
+ pulp_last_updated__range: [Time.now], # Array<Time> | Filter results where pulp_last_updated is between two comma separated values
278
+ q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
279
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
280
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
229
281
  }
230
282
 
231
283
  begin
232
- #List gem remotes
284
+ # List gem remotes
233
285
  result = api_instance.list(opts)
234
286
  p result
235
287
  rescue PulpGemClient::ApiError => e
236
- puts "Exception when calling RemotesGemApi->list: #{e}"
288
+ puts "Error when calling RemotesGemApi->list: #{e}"
237
289
  end
238
290
  ```
239
291
 
240
- ### Parameters
292
+ #### Using the list_with_http_info variant
241
293
 
294
+ This returns an Array which contains the response data, status code and headers.
242
295
 
243
- Name | Type | Description | Notes
244
- ------------- | ------------- | ------------- | -------------
245
- **limit** | **Integer**| Number of results to return per page. | [optional]
246
- **name** | **String**| Filter results where name matches value | [optional]
247
- **name__contains** | **String**| Filter results where name contains value | [optional]
248
- **name__icontains** | **String**| Filter results where name contains value | [optional]
249
- **name__iexact** | **String**| Filter results where name matches value | [optional]
250
- **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
251
- **name__iregex** | **String**| Filter results where name matches regex value | [optional]
252
- **name__istartswith** | **String**| Filter results where name starts with value | [optional]
253
- **name__regex** | **String**| Filter results where name matches regex value | [optional]
254
- **name__startswith** | **String**| Filter results where name starts with value | [optional]
255
- **offset** | **Integer**| The initial index from which to return the results. | [optional]
256
- **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]
257
- **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
258
- **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
259
- **pulp_label_select** | **String**| Filter labels by search string | [optional]
260
- **pulp_last_updated** | **DateTime**| Filter results where pulp_last_updated matches value | [optional]
261
- **pulp_last_updated__gt** | **DateTime**| Filter results where pulp_last_updated is greater than value | [optional]
262
- **pulp_last_updated__gte** | **DateTime**| Filter results where pulp_last_updated is greater than or equal to value | [optional]
263
- **pulp_last_updated__lt** | **DateTime**| Filter results where pulp_last_updated is less than value | [optional]
264
- **pulp_last_updated__lte** | **DateTime**| Filter results where pulp_last_updated is less than or equal to value | [optional]
265
- **pulp_last_updated__range** | [**Array&lt;DateTime&gt;**](DateTime.md)| Filter results where pulp_last_updated is between two comma separated values | [optional]
266
- **q** | **String**| | [optional]
267
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
268
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
296
+ > <Array(<PaginatedgemGemRemoteResponseList>, Integer, Hash)> list_with_http_info(opts)
297
+
298
+ ```ruby
299
+ begin
300
+ # List gem remotes
301
+ data, status_code, headers = api_instance.list_with_http_info(opts)
302
+ p status_code # => 2xx
303
+ p headers # => { ... }
304
+ p data # => <PaginatedgemGemRemoteResponseList>
305
+ rescue PulpGemClient::ApiError => e
306
+ puts "Error when calling RemotesGemApi->list_with_http_info: #{e}"
307
+ end
308
+ ```
309
+
310
+ ### Parameters
311
+
312
+ | Name | Type | Description | Notes |
313
+ | ---- | ---- | ----------- | ----- |
314
+ | **limit** | **Integer** | Number of results to return per page. | [optional] |
315
+ | **name** | **String** | Filter results where name matches value | [optional] |
316
+ | **name__contains** | **String** | Filter results where name contains value | [optional] |
317
+ | **name__icontains** | **String** | Filter results where name contains value | [optional] |
318
+ | **name__iexact** | **String** | Filter results where name matches value | [optional] |
319
+ | **name__in** | [**Array&lt;String&gt;**](String.md) | Filter results where name is in a comma-separated list of values | [optional] |
320
+ | **name__iregex** | **String** | Filter results where name matches regex value | [optional] |
321
+ | **name__istartswith** | **String** | Filter results where name starts with value | [optional] |
322
+ | **name__regex** | **String** | Filter results where name matches regex value | [optional] |
323
+ | **name__startswith** | **String** | Filter results where name starts with value | [optional] |
324
+ | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
325
+ | **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] |
326
+ | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
327
+ | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
328
+ | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
329
+ | **pulp_label_select** | **String** | Filter labels by search string | [optional] |
330
+ | **pulp_last_updated** | **Time** | Filter results where pulp_last_updated matches value | [optional] |
331
+ | **pulp_last_updated__gt** | **Time** | Filter results where pulp_last_updated is greater than value | [optional] |
332
+ | **pulp_last_updated__gte** | **Time** | Filter results where pulp_last_updated is greater than or equal to value | [optional] |
333
+ | **pulp_last_updated__isnull** | **Boolean** | Filter results where pulp_last_updated has a null value | [optional] |
334
+ | **pulp_last_updated__lt** | **Time** | Filter results where pulp_last_updated is less than value | [optional] |
335
+ | **pulp_last_updated__lte** | **Time** | Filter results where pulp_last_updated is less than or equal to value | [optional] |
336
+ | **pulp_last_updated__range** | [**Array&lt;Time&gt;**](Time.md) | Filter results where pulp_last_updated is between two comma separated values | [optional] |
337
+ | **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
338
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
339
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
269
340
 
270
341
  ### Return type
271
342
 
@@ -283,16 +354,16 @@ Name | Type | Description | Notes
283
354
 
284
355
  ## list_roles
285
356
 
286
- > ObjectRolesResponse list_roles(gem_gem_remote_href, opts)
357
+ > <ObjectRolesResponse> list_roles(gem_gem_remote_href, opts)
287
358
 
288
359
  List roles
289
360
 
290
361
  List roles assigned to this object.
291
362
 
292
- ### Example
363
+ ### Examples
293
364
 
294
365
  ```ruby
295
- # load the gem
366
+ require 'time'
296
367
  require 'pulp_gem_client'
297
368
  # setup authorization
298
369
  PulpGemClient.configure do |config|
@@ -304,27 +375,44 @@ end
304
375
  api_instance = PulpGemClient::RemotesGemApi.new
305
376
  gem_gem_remote_href = 'gem_gem_remote_href_example' # String |
306
377
  opts = {
307
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
308
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
378
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
379
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
309
380
  }
310
381
 
311
382
  begin
312
- #List roles
383
+ # List roles
313
384
  result = api_instance.list_roles(gem_gem_remote_href, opts)
314
385
  p result
315
386
  rescue PulpGemClient::ApiError => e
316
- puts "Exception when calling RemotesGemApi->list_roles: #{e}"
387
+ puts "Error when calling RemotesGemApi->list_roles: #{e}"
317
388
  end
318
389
  ```
319
390
 
320
- ### Parameters
391
+ #### Using the list_roles_with_http_info variant
392
+
393
+ This returns an Array which contains the response data, status code and headers.
394
+
395
+ > <Array(<ObjectRolesResponse>, Integer, Hash)> list_roles_with_http_info(gem_gem_remote_href, opts)
396
+
397
+ ```ruby
398
+ begin
399
+ # List roles
400
+ data, status_code, headers = api_instance.list_roles_with_http_info(gem_gem_remote_href, opts)
401
+ p status_code # => 2xx
402
+ p headers # => { ... }
403
+ p data # => <ObjectRolesResponse>
404
+ rescue PulpGemClient::ApiError => e
405
+ puts "Error when calling RemotesGemApi->list_roles_with_http_info: #{e}"
406
+ end
407
+ ```
321
408
 
409
+ ### Parameters
322
410
 
323
- Name | Type | Description | Notes
324
- ------------- | ------------- | ------------- | -------------
325
- **gem_gem_remote_href** | **String**| |
326
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
327
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
411
+ | Name | Type | Description | Notes |
412
+ | ---- | ---- | ----------- | ----- |
413
+ | **gem_gem_remote_href** | **String** | | |
414
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
415
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
328
416
 
329
417
  ### Return type
330
418
 
@@ -342,16 +430,16 @@ Name | Type | Description | Notes
342
430
 
343
431
  ## my_permissions
344
432
 
345
- > MyPermissionsResponse my_permissions(gem_gem_remote_href, opts)
433
+ > <MyPermissionsResponse> my_permissions(gem_gem_remote_href, opts)
346
434
 
347
435
  List user permissions
348
436
 
349
437
  List permissions available to the current user on this object.
350
438
 
351
- ### Example
439
+ ### Examples
352
440
 
353
441
  ```ruby
354
- # load the gem
442
+ require 'time'
355
443
  require 'pulp_gem_client'
356
444
  # setup authorization
357
445
  PulpGemClient.configure do |config|
@@ -363,27 +451,44 @@ end
363
451
  api_instance = PulpGemClient::RemotesGemApi.new
364
452
  gem_gem_remote_href = 'gem_gem_remote_href_example' # String |
365
453
  opts = {
366
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
367
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
454
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
455
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
368
456
  }
369
457
 
370
458
  begin
371
- #List user permissions
459
+ # List user permissions
372
460
  result = api_instance.my_permissions(gem_gem_remote_href, opts)
373
461
  p result
374
462
  rescue PulpGemClient::ApiError => e
375
- puts "Exception when calling RemotesGemApi->my_permissions: #{e}"
463
+ puts "Error when calling RemotesGemApi->my_permissions: #{e}"
376
464
  end
377
465
  ```
378
466
 
379
- ### Parameters
467
+ #### Using the my_permissions_with_http_info variant
468
+
469
+ This returns an Array which contains the response data, status code and headers.
470
+
471
+ > <Array(<MyPermissionsResponse>, Integer, Hash)> my_permissions_with_http_info(gem_gem_remote_href, opts)
472
+
473
+ ```ruby
474
+ begin
475
+ # List user permissions
476
+ data, status_code, headers = api_instance.my_permissions_with_http_info(gem_gem_remote_href, opts)
477
+ p status_code # => 2xx
478
+ p headers # => { ... }
479
+ p data # => <MyPermissionsResponse>
480
+ rescue PulpGemClient::ApiError => e
481
+ puts "Error when calling RemotesGemApi->my_permissions_with_http_info: #{e}"
482
+ end
483
+ ```
380
484
 
485
+ ### Parameters
381
486
 
382
- Name | Type | Description | Notes
383
- ------------- | ------------- | ------------- | -------------
384
- **gem_gem_remote_href** | **String**| |
385
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
386
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
487
+ | Name | Type | Description | Notes |
488
+ | ---- | ---- | ----------- | ----- |
489
+ | **gem_gem_remote_href** | **String** | | |
490
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
491
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
387
492
 
388
493
  ### Return type
389
494
 
@@ -401,16 +506,16 @@ Name | Type | Description | Notes
401
506
 
402
507
  ## partial_update
403
508
 
404
- > AsyncOperationResponse partial_update(gem_gem_remote_href, patchedgem_gem_remote)
509
+ > <AsyncOperationResponse> partial_update(gem_gem_remote_href, patchedgem_gem_remote)
405
510
 
406
511
  Update a gem remote
407
512
 
408
513
  Trigger an asynchronous partial update task
409
514
 
410
- ### Example
515
+ ### Examples
411
516
 
412
517
  ```ruby
413
- # load the gem
518
+ require 'time'
414
519
  require 'pulp_gem_client'
415
520
  # setup authorization
416
521
  PulpGemClient.configure do |config|
@@ -424,21 +529,38 @@ gem_gem_remote_href = 'gem_gem_remote_href_example' # String |
424
529
  patchedgem_gem_remote = PulpGemClient::PatchedgemGemRemote.new # PatchedgemGemRemote |
425
530
 
426
531
  begin
427
- #Update a gem remote
532
+ # Update a gem remote
428
533
  result = api_instance.partial_update(gem_gem_remote_href, patchedgem_gem_remote)
429
534
  p result
430
535
  rescue PulpGemClient::ApiError => e
431
- puts "Exception when calling RemotesGemApi->partial_update: #{e}"
536
+ puts "Error when calling RemotesGemApi->partial_update: #{e}"
432
537
  end
433
538
  ```
434
539
 
435
- ### Parameters
540
+ #### Using the partial_update_with_http_info variant
541
+
542
+ This returns an Array which contains the response data, status code and headers.
543
+
544
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(gem_gem_remote_href, patchedgem_gem_remote)
545
+
546
+ ```ruby
547
+ begin
548
+ # Update a gem remote
549
+ data, status_code, headers = api_instance.partial_update_with_http_info(gem_gem_remote_href, patchedgem_gem_remote)
550
+ p status_code # => 2xx
551
+ p headers # => { ... }
552
+ p data # => <AsyncOperationResponse>
553
+ rescue PulpGemClient::ApiError => e
554
+ puts "Error when calling RemotesGemApi->partial_update_with_http_info: #{e}"
555
+ end
556
+ ```
436
557
 
558
+ ### Parameters
437
559
 
438
- Name | Type | Description | Notes
439
- ------------- | ------------- | ------------- | -------------
440
- **gem_gem_remote_href** | **String**| |
441
- **patchedgem_gem_remote** | [**PatchedgemGemRemote**](PatchedgemGemRemote.md)| |
560
+ | Name | Type | Description | Notes |
561
+ | ---- | ---- | ----------- | ----- |
562
+ | **gem_gem_remote_href** | **String** | | |
563
+ | **patchedgem_gem_remote** | [**PatchedgemGemRemote**](PatchedgemGemRemote.md) | | |
442
564
 
443
565
  ### Return type
444
566
 
@@ -456,16 +578,16 @@ Name | Type | Description | Notes
456
578
 
457
579
  ## read
458
580
 
459
- > GemGemRemoteResponse read(gem_gem_remote_href, opts)
581
+ > <GemGemRemoteResponse> read(gem_gem_remote_href, opts)
460
582
 
461
583
  Inspect a gem remote
462
584
 
463
585
  A ViewSet for GemRemote.
464
586
 
465
- ### Example
587
+ ### Examples
466
588
 
467
589
  ```ruby
468
- # load the gem
590
+ require 'time'
469
591
  require 'pulp_gem_client'
470
592
  # setup authorization
471
593
  PulpGemClient.configure do |config|
@@ -477,27 +599,44 @@ end
477
599
  api_instance = PulpGemClient::RemotesGemApi.new
478
600
  gem_gem_remote_href = 'gem_gem_remote_href_example' # String |
479
601
  opts = {
480
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
481
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
602
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
603
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
482
604
  }
483
605
 
484
606
  begin
485
- #Inspect a gem remote
607
+ # Inspect a gem remote
486
608
  result = api_instance.read(gem_gem_remote_href, opts)
487
609
  p result
488
610
  rescue PulpGemClient::ApiError => e
489
- puts "Exception when calling RemotesGemApi->read: #{e}"
611
+ puts "Error when calling RemotesGemApi->read: #{e}"
490
612
  end
491
613
  ```
492
614
 
493
- ### Parameters
615
+ #### Using the read_with_http_info variant
494
616
 
617
+ This returns an Array which contains the response data, status code and headers.
495
618
 
496
- Name | Type | Description | Notes
497
- ------------- | ------------- | ------------- | -------------
498
- **gem_gem_remote_href** | **String**| |
499
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
500
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
619
+ > <Array(<GemGemRemoteResponse>, Integer, Hash)> read_with_http_info(gem_gem_remote_href, opts)
620
+
621
+ ```ruby
622
+ begin
623
+ # Inspect a gem remote
624
+ data, status_code, headers = api_instance.read_with_http_info(gem_gem_remote_href, opts)
625
+ p status_code # => 2xx
626
+ p headers # => { ... }
627
+ p data # => <GemGemRemoteResponse>
628
+ rescue PulpGemClient::ApiError => e
629
+ puts "Error when calling RemotesGemApi->read_with_http_info: #{e}"
630
+ end
631
+ ```
632
+
633
+ ### Parameters
634
+
635
+ | Name | Type | Description | Notes |
636
+ | ---- | ---- | ----------- | ----- |
637
+ | **gem_gem_remote_href** | **String** | | |
638
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
639
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
501
640
 
502
641
  ### Return type
503
642
 
@@ -515,16 +654,16 @@ Name | Type | Description | Notes
515
654
 
516
655
  ## remove_role
517
656
 
518
- > NestedRoleResponse remove_role(gem_gem_remote_href, nested_role)
657
+ > <NestedRoleResponse> remove_role(gem_gem_remote_href, nested_role)
519
658
 
520
659
  Remove a role
521
660
 
522
661
  Remove a role for this object from users/groups.
523
662
 
524
- ### Example
663
+ ### Examples
525
664
 
526
665
  ```ruby
527
- # load the gem
666
+ require 'time'
528
667
  require 'pulp_gem_client'
529
668
  # setup authorization
530
669
  PulpGemClient.configure do |config|
@@ -535,24 +674,41 @@ end
535
674
 
536
675
  api_instance = PulpGemClient::RemotesGemApi.new
537
676
  gem_gem_remote_href = 'gem_gem_remote_href_example' # String |
538
- nested_role = PulpGemClient::NestedRole.new # NestedRole |
677
+ nested_role = PulpGemClient::NestedRole.new({role: 'role_example'}) # NestedRole |
539
678
 
540
679
  begin
541
- #Remove a role
680
+ # Remove a role
542
681
  result = api_instance.remove_role(gem_gem_remote_href, nested_role)
543
682
  p result
544
683
  rescue PulpGemClient::ApiError => e
545
- puts "Exception when calling RemotesGemApi->remove_role: #{e}"
684
+ puts "Error when calling RemotesGemApi->remove_role: #{e}"
546
685
  end
547
686
  ```
548
687
 
549
- ### Parameters
688
+ #### Using the remove_role_with_http_info variant
689
+
690
+ This returns an Array which contains the response data, status code and headers.
691
+
692
+ > <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(gem_gem_remote_href, nested_role)
550
693
 
694
+ ```ruby
695
+ begin
696
+ # Remove a role
697
+ data, status_code, headers = api_instance.remove_role_with_http_info(gem_gem_remote_href, nested_role)
698
+ p status_code # => 2xx
699
+ p headers # => { ... }
700
+ p data # => <NestedRoleResponse>
701
+ rescue PulpGemClient::ApiError => e
702
+ puts "Error when calling RemotesGemApi->remove_role_with_http_info: #{e}"
703
+ end
704
+ ```
705
+
706
+ ### Parameters
551
707
 
552
- Name | Type | Description | Notes
553
- ------------- | ------------- | ------------- | -------------
554
- **gem_gem_remote_href** | **String**| |
555
- **nested_role** | [**NestedRole**](NestedRole.md)| |
708
+ | Name | Type | Description | Notes |
709
+ | ---- | ---- | ----------- | ----- |
710
+ | **gem_gem_remote_href** | **String** | | |
711
+ | **nested_role** | [**NestedRole**](NestedRole.md) | | |
556
712
 
557
713
  ### Return type
558
714
 
@@ -570,16 +726,16 @@ Name | Type | Description | Notes
570
726
 
571
727
  ## set_label
572
728
 
573
- > SetLabelResponse set_label(gem_gem_remote_href, set_label)
729
+ > <SetLabelResponse> set_label(gem_gem_remote_href, set_label)
574
730
 
575
731
  Set a label
576
732
 
577
733
  Set a single pulp_label on the object to a specific value or null.
578
734
 
579
- ### Example
735
+ ### Examples
580
736
 
581
737
  ```ruby
582
- # load the gem
738
+ require 'time'
583
739
  require 'pulp_gem_client'
584
740
  # setup authorization
585
741
  PulpGemClient.configure do |config|
@@ -590,24 +746,41 @@ end
590
746
 
591
747
  api_instance = PulpGemClient::RemotesGemApi.new
592
748
  gem_gem_remote_href = 'gem_gem_remote_href_example' # String |
593
- set_label = PulpGemClient::SetLabel.new # SetLabel |
749
+ set_label = PulpGemClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
594
750
 
595
751
  begin
596
- #Set a label
752
+ # Set a label
597
753
  result = api_instance.set_label(gem_gem_remote_href, set_label)
598
754
  p result
599
755
  rescue PulpGemClient::ApiError => e
600
- puts "Exception when calling RemotesGemApi->set_label: #{e}"
756
+ puts "Error when calling RemotesGemApi->set_label: #{e}"
601
757
  end
602
758
  ```
603
759
 
604
- ### Parameters
760
+ #### Using the set_label_with_http_info variant
761
+
762
+ This returns an Array which contains the response data, status code and headers.
605
763
 
764
+ > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(gem_gem_remote_href, set_label)
606
765
 
607
- Name | Type | Description | Notes
608
- ------------- | ------------- | ------------- | -------------
609
- **gem_gem_remote_href** | **String**| |
610
- **set_label** | [**SetLabel**](SetLabel.md)| |
766
+ ```ruby
767
+ begin
768
+ # Set a label
769
+ data, status_code, headers = api_instance.set_label_with_http_info(gem_gem_remote_href, set_label)
770
+ p status_code # => 2xx
771
+ p headers # => { ... }
772
+ p data # => <SetLabelResponse>
773
+ rescue PulpGemClient::ApiError => e
774
+ puts "Error when calling RemotesGemApi->set_label_with_http_info: #{e}"
775
+ end
776
+ ```
777
+
778
+ ### Parameters
779
+
780
+ | Name | Type | Description | Notes |
781
+ | ---- | ---- | ----------- | ----- |
782
+ | **gem_gem_remote_href** | **String** | | |
783
+ | **set_label** | [**SetLabel**](SetLabel.md) | | |
611
784
 
612
785
  ### Return type
613
786
 
@@ -625,16 +798,16 @@ Name | Type | Description | Notes
625
798
 
626
799
  ## unset_label
627
800
 
628
- > UnsetLabelResponse unset_label(gem_gem_remote_href, unset_label)
801
+ > <UnsetLabelResponse> unset_label(gem_gem_remote_href, unset_label)
629
802
 
630
803
  Unset a label
631
804
 
632
805
  Unset a single pulp_label on the object.
633
806
 
634
- ### Example
807
+ ### Examples
635
808
 
636
809
  ```ruby
637
- # load the gem
810
+ require 'time'
638
811
  require 'pulp_gem_client'
639
812
  # setup authorization
640
813
  PulpGemClient.configure do |config|
@@ -645,24 +818,41 @@ end
645
818
 
646
819
  api_instance = PulpGemClient::RemotesGemApi.new
647
820
  gem_gem_remote_href = 'gem_gem_remote_href_example' # String |
648
- unset_label = PulpGemClient::UnsetLabel.new # UnsetLabel |
821
+ unset_label = PulpGemClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
649
822
 
650
823
  begin
651
- #Unset a label
824
+ # Unset a label
652
825
  result = api_instance.unset_label(gem_gem_remote_href, unset_label)
653
826
  p result
654
827
  rescue PulpGemClient::ApiError => e
655
- puts "Exception when calling RemotesGemApi->unset_label: #{e}"
828
+ puts "Error when calling RemotesGemApi->unset_label: #{e}"
656
829
  end
657
830
  ```
658
831
 
659
- ### Parameters
832
+ #### Using the unset_label_with_http_info variant
833
+
834
+ This returns an Array which contains the response data, status code and headers.
835
+
836
+ > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(gem_gem_remote_href, unset_label)
837
+
838
+ ```ruby
839
+ begin
840
+ # Unset a label
841
+ data, status_code, headers = api_instance.unset_label_with_http_info(gem_gem_remote_href, unset_label)
842
+ p status_code # => 2xx
843
+ p headers # => { ... }
844
+ p data # => <UnsetLabelResponse>
845
+ rescue PulpGemClient::ApiError => e
846
+ puts "Error when calling RemotesGemApi->unset_label_with_http_info: #{e}"
847
+ end
848
+ ```
660
849
 
850
+ ### Parameters
661
851
 
662
- Name | Type | Description | Notes
663
- ------------- | ------------- | ------------- | -------------
664
- **gem_gem_remote_href** | **String**| |
665
- **unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
852
+ | Name | Type | Description | Notes |
853
+ | ---- | ---- | ----------- | ----- |
854
+ | **gem_gem_remote_href** | **String** | | |
855
+ | **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
666
856
 
667
857
  ### Return type
668
858
 
@@ -680,16 +870,16 @@ Name | Type | Description | Notes
680
870
 
681
871
  ## update
682
872
 
683
- > AsyncOperationResponse update(gem_gem_remote_href, gem_gem_remote)
873
+ > <AsyncOperationResponse> update(gem_gem_remote_href, gem_gem_remote)
684
874
 
685
875
  Update a gem remote
686
876
 
687
877
  Trigger an asynchronous update task
688
878
 
689
- ### Example
879
+ ### Examples
690
880
 
691
881
  ```ruby
692
- # load the gem
882
+ require 'time'
693
883
  require 'pulp_gem_client'
694
884
  # setup authorization
695
885
  PulpGemClient.configure do |config|
@@ -700,24 +890,41 @@ end
700
890
 
701
891
  api_instance = PulpGemClient::RemotesGemApi.new
702
892
  gem_gem_remote_href = 'gem_gem_remote_href_example' # String |
703
- gem_gem_remote = PulpGemClient::GemGemRemote.new # GemGemRemote |
893
+ gem_gem_remote = PulpGemClient::GemGemRemote.new({name: 'name_example', url: 'url_example'}) # GemGemRemote |
704
894
 
705
895
  begin
706
- #Update a gem remote
896
+ # Update a gem remote
707
897
  result = api_instance.update(gem_gem_remote_href, gem_gem_remote)
708
898
  p result
709
899
  rescue PulpGemClient::ApiError => e
710
- puts "Exception when calling RemotesGemApi->update: #{e}"
900
+ puts "Error when calling RemotesGemApi->update: #{e}"
711
901
  end
712
902
  ```
713
903
 
714
- ### Parameters
904
+ #### Using the update_with_http_info variant
905
+
906
+ This returns an Array which contains the response data, status code and headers.
907
+
908
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(gem_gem_remote_href, gem_gem_remote)
715
909
 
910
+ ```ruby
911
+ begin
912
+ # Update a gem remote
913
+ data, status_code, headers = api_instance.update_with_http_info(gem_gem_remote_href, gem_gem_remote)
914
+ p status_code # => 2xx
915
+ p headers # => { ... }
916
+ p data # => <AsyncOperationResponse>
917
+ rescue PulpGemClient::ApiError => e
918
+ puts "Error when calling RemotesGemApi->update_with_http_info: #{e}"
919
+ end
920
+ ```
921
+
922
+ ### Parameters
716
923
 
717
- Name | Type | Description | Notes
718
- ------------- | ------------- | ------------- | -------------
719
- **gem_gem_remote_href** | **String**| |
720
- **gem_gem_remote** | [**GemGemRemote**](GemGemRemote.md)| |
924
+ | Name | Type | Description | Notes |
925
+ | ---- | ---- | ----------- | ----- |
926
+ | **gem_gem_remote_href** | **String** | | |
927
+ | **gem_gem_remote** | [**GemGemRemote**](GemGemRemote.md) | | |
721
928
 
722
929
  ### Return type
723
930