fn_ruby 0.2.0 → 0.2.1

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 (57) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/VERSION +1 -1
  4. data/docs/App.md +1 -1
  5. data/docs/AppsApi.md +13 -4
  6. data/docs/AppsWrapper.md +1 -0
  7. data/docs/CallApi.md +11 -3
  8. data/docs/CallsWrapper.md +1 -0
  9. data/docs/RoutesApi.md +11 -3
  10. data/docs/RoutesWrapper.md +1 -0
  11. data/fn_ruby.gemspec +1 -1
  12. data/lib/fn_ruby.rb +1 -1
  13. data/lib/fn_ruby/api/apps_api.rb +9 -3
  14. data/lib/fn_ruby/api/call_api.rb +18 -6
  15. data/lib/fn_ruby/api/log_api.rb +1 -1
  16. data/lib/fn_ruby/api/routes_api.rb +12 -3
  17. data/lib/fn_ruby/api_client.rb +1 -1
  18. data/lib/fn_ruby/api_error.rb +1 -1
  19. data/lib/fn_ruby/configuration.rb +1 -1
  20. data/lib/fn_ruby/models/app.rb +2 -2
  21. data/lib/fn_ruby/models/app_wrapper.rb +1 -1
  22. data/lib/fn_ruby/models/apps_wrapper.rb +12 -2
  23. data/lib/fn_ruby/models/call.rb +1 -1
  24. data/lib/fn_ruby/models/call_wrapper.rb +1 -1
  25. data/lib/fn_ruby/models/calls_wrapper.rb +12 -2
  26. data/lib/fn_ruby/models/error.rb +1 -1
  27. data/lib/fn_ruby/models/error_body.rb +1 -1
  28. data/lib/fn_ruby/models/log.rb +1 -1
  29. data/lib/fn_ruby/models/log_wrapper.rb +1 -1
  30. data/lib/fn_ruby/models/route.rb +1 -1
  31. data/lib/fn_ruby/models/route_wrapper.rb +1 -1
  32. data/lib/fn_ruby/models/routes_wrapper.rb +12 -2
  33. data/lib/fn_ruby/models/version.rb +1 -1
  34. data/lib/fn_ruby/version.rb +2 -2
  35. data/spec/api/apps_api_spec.rb +4 -2
  36. data/spec/api/call_api_spec.rb +7 -3
  37. data/spec/api/log_api_spec.rb +1 -1
  38. data/spec/api/routes_api_spec.rb +5 -2
  39. data/spec/api_client_spec.rb +1 -1
  40. data/spec/configuration_spec.rb +1 -1
  41. data/spec/models/app_spec.rb +1 -1
  42. data/spec/models/app_wrapper_spec.rb +1 -1
  43. data/spec/models/apps_wrapper_spec.rb +7 -1
  44. data/spec/models/call_spec.rb +1 -1
  45. data/spec/models/call_wrapper_spec.rb +1 -1
  46. data/spec/models/calls_wrapper_spec.rb +7 -1
  47. data/spec/models/error_body_spec.rb +1 -1
  48. data/spec/models/error_spec.rb +1 -1
  49. data/spec/models/log_spec.rb +1 -1
  50. data/spec/models/log_wrapper_spec.rb +1 -1
  51. data/spec/models/route_spec.rb +1 -1
  52. data/spec/models/route_wrapper_spec.rb +1 -1
  53. data/spec/models/routes_wrapper_spec.rb +7 -1
  54. data/spec/models/version_spec.rb +1 -1
  55. data/spec/spec_helper.rb +1 -1
  56. metadata +3 -4
  57. data/fn_ruby-0.1.32.gem +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 341845231cdfded908d2a41cf8633fddb8d8dcc9
4
- data.tar.gz: 501dc9f2731a0ce243cbaa9cd2521c95799d0eb5
3
+ metadata.gz: 75732b262340ea0693363cd9c084747a9042c7da
4
+ data.tar.gz: ca4564a04977ac4d627f257599458e5c4ac1621b
5
5
  SHA512:
6
- metadata.gz: 361bb201dac9733a58d23f82997505cc3cde4536e3db586742517fc3e75494f737efe5c42db5f656d9b3fd046ef06d1cc4a0fd6fa6580858b13a8d109d018436
7
- data.tar.gz: 79058570cd983c33d41a03a1f0671a6e0ac69b6d9db49a9d83794bcde4524749fb11ae5eb4c3067fa6791d5337beaa61ecccb41f568f6c598899d200a3c78182
6
+ metadata.gz: 8ce2116457916c8a7a8b019f32d2f6203bd7a01f83b66bcab8068a17e3cf5f7d8dbf7d42c7c6765747efe20664721f2a2ed883161eefebcb43a3899ac0e3cb9e
7
+ data.tar.gz: c41114fc839f710cfc79eb38762c2b7a394fe95177c30a32f0aa37fbf2ca4d8111cc3be2582d8e2cb75c7fae270ec81e90d785357bd1d8788c53bd09edd1a7b9
data/README.md CHANGED
@@ -6,8 +6,8 @@ The open source serverless platform.
6
6
 
7
7
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
8
 
9
- - API version: 0.2.0
10
- - Package version: 0.2.0
9
+ - API version: 0.2.1
10
+ - Package version: 0.2.1
11
11
  - Build package: io.swagger.codegen.languages.RubyClientCodegen
12
12
 
13
13
  ## Installation
@@ -23,15 +23,15 @@ gem build fn_ruby.gemspec
23
23
  Then either install the gem locally:
24
24
 
25
25
  ```shell
26
- gem install ./fn_ruby-0.2.0.gem
26
+ gem install ./fn_ruby-0.2.1.gem
27
27
  ```
28
- (for development, run `gem install --dev ./fn_ruby-0.2.0.gem` to install the development dependencies)
28
+ (for development, run `gem install --dev ./fn_ruby-0.2.1.gem` to install the development dependencies)
29
29
 
30
30
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
31
31
 
32
32
  Finally add this to the Gemfile:
33
33
 
34
- gem 'fn_ruby', '~> 0.2.0'
34
+ gem 'fn_ruby', '~> 0.2.1'
35
35
 
36
36
  ### Install from Git
37
37
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -4,6 +4,6 @@
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **name** | **String** | Name of this app. Must be different than the image name. Can ony contain alphanumeric, -, and _. | [optional]
7
- **config** | **Hash<String, String>** | Application configuration | [optional]
7
+ **config** | **Hash<String, String>** | Application configuration, applied to all routes. | [optional]
8
8
 
9
9
 
@@ -155,11 +155,11 @@ No authorization required
155
155
 
156
156
 
157
157
  # **apps_get**
158
- > AppsWrapper apps_get
158
+ > AppsWrapper apps_get(opts)
159
159
 
160
160
  Get all app names.
161
161
 
162
- Get a list of all the apps in the system.
162
+ Get a list of all the apps in the system, returned in alphabetical order.
163
163
 
164
164
  ### Example
165
165
  ```ruby
@@ -168,9 +168,14 @@ require 'fn_ruby'
168
168
 
169
169
  api_instance = Fn::AppsApi.new
170
170
 
171
+ opts = {
172
+ cursor: "cursor_example", # String | Cursor from previous response.next_cursor to begin results after, if any.
173
+ per_page: 56 # Integer | Number of results to return, defaults to 30. Max of 100.
174
+ }
175
+
171
176
  begin
172
177
  #Get all app names.
173
- result = api_instance.apps_get
178
+ result = api_instance.apps_get(opts)
174
179
  p result
175
180
  rescue Fn::ApiError => e
176
181
  puts "Exception when calling AppsApi->apps_get: #{e}"
@@ -178,7 +183,11 @@ end
178
183
  ```
179
184
 
180
185
  ### Parameters
181
- This endpoint does not need any parameter.
186
+
187
+ Name | Type | Description | Notes
188
+ ------------- | ------------- | ------------- | -------------
189
+ **cursor** | **String**| Cursor from previous response.next_cursor to begin results after, if any. | [optional]
190
+ **per_page** | **Integer**| Number of results to return, defaults to 30. Max of 100. | [optional]
182
191
 
183
192
  ### Return type
184
193
 
@@ -3,6 +3,7 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
+ **next_cursor** | **String** | cursor to send with subsequent request to receive the next page, if non-empty | [optional]
6
7
  **apps** | [**Array<App>**](App.md) | |
7
8
  **error** | [**ErrorBody**](ErrorBody.md) | | [optional]
8
9
 
@@ -164,7 +164,7 @@ No authorization required
164
164
 
165
165
  Get app-bound calls.
166
166
 
167
- Get app-bound calls can filter to route-bound calls.
167
+ Get app-bound calls can filter to route-bound calls, results returned in created_at, descending order (newest first).
168
168
 
169
169
  ### Example
170
170
  ```ruby
@@ -176,7 +176,11 @@ api_instance = Fn::CallApi.new
176
176
  app = "app_example" # String | App name.
177
177
 
178
178
  opts = {
179
- route: "route_example" # String | App route.
179
+ path: "path_example", # String | Route path to match, exact.
180
+ cursor: "cursor_example", # String | Cursor from previous response.next_cursor to begin results after, if any.
181
+ per_page: 56, # Integer | Number of results to return, defaults to 30. Max of 100.
182
+ from_time: 56, # Integer | Unix timestamp in seconds, of call.created_at to begin the results at, default 0.
183
+ to_time: 56 # Integer | Unix timestamp in seconds, of call.created_at to end the results at, defaults to latest.
180
184
  }
181
185
 
182
186
  begin
@@ -193,7 +197,11 @@ end
193
197
  Name | Type | Description | Notes
194
198
  ------------- | ------------- | ------------- | -------------
195
199
  **app** | **String**| App name. |
196
- **route** | **String**| App route. | [optional]
200
+ **path** | **String**| Route path to match, exact. | [optional]
201
+ **cursor** | **String**| Cursor from previous response.next_cursor to begin results after, if any. | [optional]
202
+ **per_page** | **Integer**| Number of results to return, defaults to 30. Max of 100. | [optional]
203
+ **from_time** | **Integer**| Unix timestamp in seconds, of call.created_at to begin the results at, default 0. | [optional]
204
+ **to_time** | **Integer**| Unix timestamp in seconds, of call.created_at to end the results at, defaults to latest. | [optional]
197
205
 
198
206
  ### Return type
199
207
 
@@ -3,6 +3,7 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
+ **next_cursor** | **String** | cursor to send with subsequent request to receive the next page, if non-empty | [optional]
6
7
  **calls** | [**Array<Call>**](Call.md) | |
7
8
  **error** | [**ErrorBody**](ErrorBody.md) | | [optional]
8
9
 
@@ -13,11 +13,11 @@ Method | HTTP request | Description
13
13
 
14
14
 
15
15
  # **apps_app_routes_get**
16
- > RoutesWrapper apps_app_routes_get(app)
16
+ > RoutesWrapper apps_app_routes_get(app, opts)
17
17
 
18
18
  Get route list by app name.
19
19
 
20
- This will list routes for a particular app.
20
+ This will list routes for a particular app, returned in alphabetical order.
21
21
 
22
22
  ### Example
23
23
  ```ruby
@@ -28,10 +28,15 @@ api_instance = Fn::RoutesApi.new
28
28
 
29
29
  app = "app_example" # String | Name of app for this set of routes.
30
30
 
31
+ opts = {
32
+ image: "image_example", # String | Route image to match, exact.
33
+ cursor: "cursor_example", # String | Cursor from previous response.next_cursor to begin results after, if any.
34
+ per_page: 56 # Integer | Number of results to return, defaults to 30. Max of 100.
35
+ }
31
36
 
32
37
  begin
33
38
  #Get route list by app name.
34
- result = api_instance.apps_app_routes_get(app)
39
+ result = api_instance.apps_app_routes_get(app, opts)
35
40
  p result
36
41
  rescue Fn::ApiError => e
37
42
  puts "Exception when calling RoutesApi->apps_app_routes_get: #{e}"
@@ -43,6 +48,9 @@ end
43
48
  Name | Type | Description | Notes
44
49
  ------------- | ------------- | ------------- | -------------
45
50
  **app** | **String**| Name of app for this set of routes. |
51
+ **image** | **String**| Route image to match, exact. | [optional]
52
+ **cursor** | **String**| Cursor from previous response.next_cursor to begin results after, if any. | [optional]
53
+ **per_page** | **Integer**| Number of results to return, defaults to 30. Max of 100. | [optional]
46
54
 
47
55
  ### Return type
48
56
 
@@ -3,6 +3,7 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
+ **next_cursor** | **String** | cursor to send with subsequent request to receive the next page, if non-empty | [optional]
6
7
  **routes** | [**Array<Route>**](Route.md) | |
7
8
  **error** | [**ErrorBody**](ErrorBody.md) | | [optional]
8
9
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  #The open source serverless platform.
7
7
 
8
- OpenAPI spec version: 0.2.0
8
+ OpenAPI spec version: 0.2.1
9
9
 
10
10
  Generated by: https://github.com/swagger-api/swagger-codegen.git
11
11
  Swagger Codegen version: 2.2.3
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The open source serverless platform.
5
5
 
6
- OpenAPI spec version: 0.2.0
6
+ OpenAPI spec version: 0.2.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The open source serverless platform.
5
5
 
6
- OpenAPI spec version: 0.2.0
6
+ OpenAPI spec version: 0.2.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3
@@ -191,8 +191,10 @@ module Fn
191
191
  end
192
192
 
193
193
  # Get all app names.
194
- # Get a list of all the apps in the system.
194
+ # Get a list of all the apps in the system, returned in alphabetical order.
195
195
  # @param [Hash] opts the optional parameters
196
+ # @option opts [String] :cursor Cursor from previous response.next_cursor to begin results after, if any.
197
+ # @option opts [Integer] :per_page Number of results to return, defaults to 30. Max of 100.
196
198
  # @return [AppsWrapper]
197
199
  def apps_get(opts = {})
198
200
  data, _status_code, _headers = apps_get_with_http_info(opts)
@@ -200,8 +202,10 @@ module Fn
200
202
  end
201
203
 
202
204
  # Get all app names.
203
- # Get a list of all the apps in the system.
205
+ # Get a list of all the apps in the system, returned in alphabetical order.
204
206
  # @param [Hash] opts the optional parameters
207
+ # @option opts [String] :cursor Cursor from previous response.next_cursor to begin results after, if any.
208
+ # @option opts [Integer] :per_page Number of results to return, defaults to 30. Max of 100.
205
209
  # @return [Array<(AppsWrapper, Fixnum, Hash)>] AppsWrapper data, response status code and response headers
206
210
  def apps_get_with_http_info(opts = {})
207
211
  if @api_client.config.debugging
@@ -212,6 +216,8 @@ module Fn
212
216
 
213
217
  # query parameters
214
218
  query_params = {}
219
+ query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
220
+ query_params[:'per_page'] = opts[:'per_page'] if !opts[:'per_page'].nil?
215
221
 
216
222
  # header parameters
217
223
  header_params = {}
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The open source serverless platform.
5
5
 
6
- OpenAPI spec version: 0.2.0
6
+ OpenAPI spec version: 0.2.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3
@@ -203,10 +203,14 @@ module Fn
203
203
  end
204
204
 
205
205
  # Get app-bound calls.
206
- # Get app-bound calls can filter to route-bound calls.
206
+ # Get app-bound calls can filter to route-bound calls, results returned in created_at, descending order (newest first).
207
207
  # @param app App name.
208
208
  # @param [Hash] opts the optional parameters
209
- # @option opts [String] :route App route.
209
+ # @option opts [String] :path Route path to match, exact.
210
+ # @option opts [String] :cursor Cursor from previous response.next_cursor to begin results after, if any.
211
+ # @option opts [Integer] :per_page Number of results to return, defaults to 30. Max of 100.
212
+ # @option opts [Integer] :from_time Unix timestamp in seconds, of call.created_at to begin the results at, default 0.
213
+ # @option opts [Integer] :to_time Unix timestamp in seconds, of call.created_at to end the results at, defaults to latest.
210
214
  # @return [CallsWrapper]
211
215
  def apps_app_calls_get(app, opts = {})
212
216
  data, _status_code, _headers = apps_app_calls_get_with_http_info(app, opts)
@@ -214,10 +218,14 @@ module Fn
214
218
  end
215
219
 
216
220
  # Get app-bound calls.
217
- # Get app-bound calls can filter to route-bound calls.
221
+ # Get app-bound calls can filter to route-bound calls, results returned in created_at, descending order (newest first).
218
222
  # @param app App name.
219
223
  # @param [Hash] opts the optional parameters
220
- # @option opts [String] :route App route.
224
+ # @option opts [String] :path Route path to match, exact.
225
+ # @option opts [String] :cursor Cursor from previous response.next_cursor to begin results after, if any.
226
+ # @option opts [Integer] :per_page Number of results to return, defaults to 30. Max of 100.
227
+ # @option opts [Integer] :from_time Unix timestamp in seconds, of call.created_at to begin the results at, default 0.
228
+ # @option opts [Integer] :to_time Unix timestamp in seconds, of call.created_at to end the results at, defaults to latest.
221
229
  # @return [Array<(CallsWrapper, Fixnum, Hash)>] CallsWrapper data, response status code and response headers
222
230
  def apps_app_calls_get_with_http_info(app, opts = {})
223
231
  if @api_client.config.debugging
@@ -232,7 +240,11 @@ module Fn
232
240
 
233
241
  # query parameters
234
242
  query_params = {}
235
- query_params[:'route'] = opts[:'route'] if !opts[:'route'].nil?
243
+ query_params[:'path'] = opts[:'path'] if !opts[:'path'].nil?
244
+ query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
245
+ query_params[:'per_page'] = opts[:'per_page'] if !opts[:'per_page'].nil?
246
+ query_params[:'from_time'] = opts[:'from_time'] if !opts[:'from_time'].nil?
247
+ query_params[:'to_time'] = opts[:'to_time'] if !opts[:'to_time'].nil?
236
248
 
237
249
  # header parameters
238
250
  header_params = {}
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The open source serverless platform.
5
5
 
6
- OpenAPI spec version: 0.2.0
6
+ OpenAPI spec version: 0.2.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The open source serverless platform.
5
5
 
6
- OpenAPI spec version: 0.2.0
6
+ OpenAPI spec version: 0.2.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3
@@ -21,9 +21,12 @@ module Fn
21
21
  end
22
22
 
23
23
  # Get route list by app name.
24
- # This will list routes for a particular app.
24
+ # This will list routes for a particular app, returned in alphabetical order.
25
25
  # @param app Name of app for this set of routes.
26
26
  # @param [Hash] opts the optional parameters
27
+ # @option opts [String] :image Route image to match, exact.
28
+ # @option opts [String] :cursor Cursor from previous response.next_cursor to begin results after, if any.
29
+ # @option opts [Integer] :per_page Number of results to return, defaults to 30. Max of 100.
27
30
  # @return [RoutesWrapper]
28
31
  def apps_app_routes_get(app, opts = {})
29
32
  data, _status_code, _headers = apps_app_routes_get_with_http_info(app, opts)
@@ -31,9 +34,12 @@ module Fn
31
34
  end
32
35
 
33
36
  # Get route list by app name.
34
- # This will list routes for a particular app.
37
+ # This will list routes for a particular app, returned in alphabetical order.
35
38
  # @param app Name of app for this set of routes.
36
39
  # @param [Hash] opts the optional parameters
40
+ # @option opts [String] :image Route image to match, exact.
41
+ # @option opts [String] :cursor Cursor from previous response.next_cursor to begin results after, if any.
42
+ # @option opts [Integer] :per_page Number of results to return, defaults to 30. Max of 100.
37
43
  # @return [Array<(RoutesWrapper, Fixnum, Hash)>] RoutesWrapper data, response status code and response headers
38
44
  def apps_app_routes_get_with_http_info(app, opts = {})
39
45
  if @api_client.config.debugging
@@ -48,6 +54,9 @@ module Fn
48
54
 
49
55
  # query parameters
50
56
  query_params = {}
57
+ query_params[:'image'] = opts[:'image'] if !opts[:'image'].nil?
58
+ query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
59
+ query_params[:'per_page'] = opts[:'per_page'] if !opts[:'per_page'].nil?
51
60
 
52
61
  # header parameters
53
62
  header_params = {}
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The open source serverless platform.
5
5
 
6
- OpenAPI spec version: 0.2.0
6
+ OpenAPI spec version: 0.2.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The open source serverless platform.
5
5
 
6
- OpenAPI spec version: 0.2.0
6
+ OpenAPI spec version: 0.2.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The open source serverless platform.
5
5
 
6
- OpenAPI spec version: 0.2.0
6
+ OpenAPI spec version: 0.2.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The open source serverless platform.
5
5
 
6
- OpenAPI spec version: 0.2.0
6
+ OpenAPI spec version: 0.2.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3
@@ -18,7 +18,7 @@ module Fn
18
18
  # Name of this app. Must be different than the image name. Can ony contain alphanumeric, -, and _.
19
19
  attr_accessor :name
20
20
 
21
- # Application configuration
21
+ # Application configuration, applied to all routes.
22
22
  attr_accessor :config
23
23
 
24
24
 
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The open source serverless platform.
5
5
 
6
- OpenAPI spec version: 0.2.0
6
+ OpenAPI spec version: 0.2.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The open source serverless platform.
5
5
 
6
- OpenAPI spec version: 0.2.0
6
+ OpenAPI spec version: 0.2.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3
@@ -15,6 +15,9 @@ require 'date'
15
15
  module Fn
16
16
 
17
17
  class AppsWrapper
18
+ # cursor to send with subsequent request to receive the next page, if non-empty
19
+ attr_accessor :next_cursor
20
+
18
21
  attr_accessor :apps
19
22
 
20
23
  attr_accessor :error
@@ -23,6 +26,7 @@ module Fn
23
26
  # Attribute mapping from ruby-style variable name to JSON key.
24
27
  def self.attribute_map
25
28
  {
29
+ :'next_cursor' => :'next_cursor',
26
30
  :'apps' => :'apps',
27
31
  :'error' => :'error'
28
32
  }
@@ -31,6 +35,7 @@ module Fn
31
35
  # Attribute type mapping.
32
36
  def self.swagger_types
33
37
  {
38
+ :'next_cursor' => :'String',
34
39
  :'apps' => :'Array<App>',
35
40
  :'error' => :'ErrorBody'
36
41
  }
@@ -44,6 +49,10 @@ module Fn
44
49
  # convert string to symbol for hash key
45
50
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
46
51
 
52
+ if attributes.has_key?(:'next_cursor')
53
+ self.next_cursor = attributes[:'next_cursor']
54
+ end
55
+
47
56
  if attributes.has_key?(:'apps')
48
57
  if (value = attributes[:'apps']).is_a?(Array)
49
58
  self.apps = value
@@ -79,6 +88,7 @@ module Fn
79
88
  def ==(o)
80
89
  return true if self.equal?(o)
81
90
  self.class == o.class &&
91
+ next_cursor == o.next_cursor &&
82
92
  apps == o.apps &&
83
93
  error == o.error
84
94
  end
@@ -92,7 +102,7 @@ module Fn
92
102
  # Calculates hash code according to all attributes.
93
103
  # @return [Fixnum] Hash code
94
104
  def hash
95
- [apps, error].hash
105
+ [next_cursor, apps, error].hash
96
106
  end
97
107
 
98
108
  # Builds the object from hash
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The open source serverless platform.
5
5
 
6
- OpenAPI spec version: 0.2.0
6
+ OpenAPI spec version: 0.2.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The open source serverless platform.
5
5
 
6
- OpenAPI spec version: 0.2.0
6
+ OpenAPI spec version: 0.2.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The open source serverless platform.
5
5
 
6
- OpenAPI spec version: 0.2.0
6
+ OpenAPI spec version: 0.2.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3
@@ -15,6 +15,9 @@ require 'date'
15
15
  module Fn
16
16
 
17
17
  class CallsWrapper
18
+ # cursor to send with subsequent request to receive the next page, if non-empty
19
+ attr_accessor :next_cursor
20
+
18
21
  attr_accessor :calls
19
22
 
20
23
  attr_accessor :error
@@ -23,6 +26,7 @@ module Fn
23
26
  # Attribute mapping from ruby-style variable name to JSON key.
24
27
  def self.attribute_map
25
28
  {
29
+ :'next_cursor' => :'next_cursor',
26
30
  :'calls' => :'calls',
27
31
  :'error' => :'error'
28
32
  }
@@ -31,6 +35,7 @@ module Fn
31
35
  # Attribute type mapping.
32
36
  def self.swagger_types
33
37
  {
38
+ :'next_cursor' => :'String',
34
39
  :'calls' => :'Array<Call>',
35
40
  :'error' => :'ErrorBody'
36
41
  }
@@ -44,6 +49,10 @@ module Fn
44
49
  # convert string to symbol for hash key
45
50
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
46
51
 
52
+ if attributes.has_key?(:'next_cursor')
53
+ self.next_cursor = attributes[:'next_cursor']
54
+ end
55
+
47
56
  if attributes.has_key?(:'calls')
48
57
  if (value = attributes[:'calls']).is_a?(Array)
49
58
  self.calls = value
@@ -79,6 +88,7 @@ module Fn
79
88
  def ==(o)
80
89
  return true if self.equal?(o)
81
90
  self.class == o.class &&
91
+ next_cursor == o.next_cursor &&
82
92
  calls == o.calls &&
83
93
  error == o.error
84
94
  end
@@ -92,7 +102,7 @@ module Fn
92
102
  # Calculates hash code according to all attributes.
93
103
  # @return [Fixnum] Hash code
94
104
  def hash
95
- [calls, error].hash
105
+ [next_cursor, calls, error].hash
96
106
  end
97
107
 
98
108
  # Builds the object from hash
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The open source serverless platform.
5
5
 
6
- OpenAPI spec version: 0.2.0
6
+ OpenAPI spec version: 0.2.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The open source serverless platform.
5
5
 
6
- OpenAPI spec version: 0.2.0
6
+ OpenAPI spec version: 0.2.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The open source serverless platform.
5
5
 
6
- OpenAPI spec version: 0.2.0
6
+ OpenAPI spec version: 0.2.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The open source serverless platform.
5
5
 
6
- OpenAPI spec version: 0.2.0
6
+ OpenAPI spec version: 0.2.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The open source serverless platform.
5
5
 
6
- OpenAPI spec version: 0.2.0
6
+ OpenAPI spec version: 0.2.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The open source serverless platform.
5
5
 
6
- OpenAPI spec version: 0.2.0
6
+ OpenAPI spec version: 0.2.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The open source serverless platform.
5
5
 
6
- OpenAPI spec version: 0.2.0
6
+ OpenAPI spec version: 0.2.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3
@@ -15,6 +15,9 @@ require 'date'
15
15
  module Fn
16
16
 
17
17
  class RoutesWrapper
18
+ # cursor to send with subsequent request to receive the next page, if non-empty
19
+ attr_accessor :next_cursor
20
+
18
21
  attr_accessor :routes
19
22
 
20
23
  attr_accessor :error
@@ -23,6 +26,7 @@ module Fn
23
26
  # Attribute mapping from ruby-style variable name to JSON key.
24
27
  def self.attribute_map
25
28
  {
29
+ :'next_cursor' => :'next_cursor',
26
30
  :'routes' => :'routes',
27
31
  :'error' => :'error'
28
32
  }
@@ -31,6 +35,7 @@ module Fn
31
35
  # Attribute type mapping.
32
36
  def self.swagger_types
33
37
  {
38
+ :'next_cursor' => :'String',
34
39
  :'routes' => :'Array<Route>',
35
40
  :'error' => :'ErrorBody'
36
41
  }
@@ -44,6 +49,10 @@ module Fn
44
49
  # convert string to symbol for hash key
45
50
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
46
51
 
52
+ if attributes.has_key?(:'next_cursor')
53
+ self.next_cursor = attributes[:'next_cursor']
54
+ end
55
+
47
56
  if attributes.has_key?(:'routes')
48
57
  if (value = attributes[:'routes']).is_a?(Array)
49
58
  self.routes = value
@@ -79,6 +88,7 @@ module Fn
79
88
  def ==(o)
80
89
  return true if self.equal?(o)
81
90
  self.class == o.class &&
91
+ next_cursor == o.next_cursor &&
82
92
  routes == o.routes &&
83
93
  error == o.error
84
94
  end
@@ -92,7 +102,7 @@ module Fn
92
102
  # Calculates hash code according to all attributes.
93
103
  # @return [Fixnum] Hash code
94
104
  def hash
95
- [routes, error].hash
105
+ [next_cursor, routes, error].hash
96
106
  end
97
107
 
98
108
  # Builds the object from hash
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The open source serverless platform.
5
5
 
6
- OpenAPI spec version: 0.2.0
6
+ OpenAPI spec version: 0.2.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The open source serverless platform.
5
5
 
6
- OpenAPI spec version: 0.2.0
6
+ OpenAPI spec version: 0.2.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.2.3
11
11
  =end
12
12
 
13
13
  module Fn
14
- VERSION = "0.2.0"
14
+ VERSION = "0.2.1"
15
15
  end
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The open source serverless platform.
5
5
 
6
- OpenAPI spec version: 0.2.0
6
+ OpenAPI spec version: 0.2.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3
@@ -71,8 +71,10 @@ describe 'AppsApi' do
71
71
 
72
72
  # unit tests for apps_get
73
73
  # Get all app names.
74
- # Get a list of all the apps in the system.
74
+ # Get a list of all the apps in the system, returned in alphabetical order.
75
75
  # @param [Hash] opts the optional parameters
76
+ # @option opts [String] :cursor Cursor from previous response.next_cursor to begin results after, if any.
77
+ # @option opts [Integer] :per_page Number of results to return, defaults to 30. Max of 100.
76
78
  # @return [AppsWrapper]
77
79
  describe 'apps_get test' do
78
80
  it "should work" do
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The open source serverless platform.
5
5
 
6
- OpenAPI spec version: 0.2.0
6
+ OpenAPI spec version: 0.2.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3
@@ -73,10 +73,14 @@ describe 'CallApi' do
73
73
 
74
74
  # unit tests for apps_app_calls_get
75
75
  # Get app-bound calls.
76
- # Get app-bound calls can filter to route-bound calls.
76
+ # Get app-bound calls can filter to route-bound calls, results returned in created_at, descending order (newest first).
77
77
  # @param app App name.
78
78
  # @param [Hash] opts the optional parameters
79
- # @option opts [String] :route App route.
79
+ # @option opts [String] :path Route path to match, exact.
80
+ # @option opts [String] :cursor Cursor from previous response.next_cursor to begin results after, if any.
81
+ # @option opts [Integer] :per_page Number of results to return, defaults to 30. Max of 100.
82
+ # @option opts [Integer] :from_time Unix timestamp in seconds, of call.created_at to begin the results at, default 0.
83
+ # @option opts [Integer] :to_time Unix timestamp in seconds, of call.created_at to end the results at, defaults to latest.
80
84
  # @return [CallsWrapper]
81
85
  describe 'apps_app_calls_get test' do
82
86
  it "should work" do
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The open source serverless platform.
5
5
 
6
- OpenAPI spec version: 0.2.0
6
+ OpenAPI spec version: 0.2.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The open source serverless platform.
5
5
 
6
- OpenAPI spec version: 0.2.0
6
+ OpenAPI spec version: 0.2.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3
@@ -34,9 +34,12 @@ describe 'RoutesApi' do
34
34
 
35
35
  # unit tests for apps_app_routes_get
36
36
  # Get route list by app name.
37
- # This will list routes for a particular app.
37
+ # This will list routes for a particular app, returned in alphabetical order.
38
38
  # @param app Name of app for this set of routes.
39
39
  # @param [Hash] opts the optional parameters
40
+ # @option opts [String] :image Route image to match, exact.
41
+ # @option opts [String] :cursor Cursor from previous response.next_cursor to begin results after, if any.
42
+ # @option opts [Integer] :per_page Number of results to return, defaults to 30. Max of 100.
40
43
  # @return [RoutesWrapper]
41
44
  describe 'apps_app_routes_get test' do
42
45
  it "should work" do
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The open source serverless platform.
5
5
 
6
- OpenAPI spec version: 0.2.0
6
+ OpenAPI spec version: 0.2.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The open source serverless platform.
5
5
 
6
- OpenAPI spec version: 0.2.0
6
+ OpenAPI spec version: 0.2.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The open source serverless platform.
5
5
 
6
- OpenAPI spec version: 0.2.0
6
+ OpenAPI spec version: 0.2.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The open source serverless platform.
5
5
 
6
- OpenAPI spec version: 0.2.0
6
+ OpenAPI spec version: 0.2.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The open source serverless platform.
5
5
 
6
- OpenAPI spec version: 0.2.0
6
+ OpenAPI spec version: 0.2.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3
@@ -32,6 +32,12 @@ describe 'AppsWrapper' do
32
32
  expect(@instance).to be_instance_of(Fn::AppsWrapper)
33
33
  end
34
34
  end
35
+ describe 'test attribute "next_cursor"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
35
41
  describe 'test attribute "apps"' do
36
42
  it 'should work' do
37
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The open source serverless platform.
5
5
 
6
- OpenAPI spec version: 0.2.0
6
+ OpenAPI spec version: 0.2.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The open source serverless platform.
5
5
 
6
- OpenAPI spec version: 0.2.0
6
+ OpenAPI spec version: 0.2.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The open source serverless platform.
5
5
 
6
- OpenAPI spec version: 0.2.0
6
+ OpenAPI spec version: 0.2.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3
@@ -32,6 +32,12 @@ describe 'CallsWrapper' do
32
32
  expect(@instance).to be_instance_of(Fn::CallsWrapper)
33
33
  end
34
34
  end
35
+ describe 'test attribute "next_cursor"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
35
41
  describe 'test attribute "calls"' do
36
42
  it 'should work' do
37
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The open source serverless platform.
5
5
 
6
- OpenAPI spec version: 0.2.0
6
+ OpenAPI spec version: 0.2.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The open source serverless platform.
5
5
 
6
- OpenAPI spec version: 0.2.0
6
+ OpenAPI spec version: 0.2.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The open source serverless platform.
5
5
 
6
- OpenAPI spec version: 0.2.0
6
+ OpenAPI spec version: 0.2.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The open source serverless platform.
5
5
 
6
- OpenAPI spec version: 0.2.0
6
+ OpenAPI spec version: 0.2.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The open source serverless platform.
5
5
 
6
- OpenAPI spec version: 0.2.0
6
+ OpenAPI spec version: 0.2.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The open source serverless platform.
5
5
 
6
- OpenAPI spec version: 0.2.0
6
+ OpenAPI spec version: 0.2.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The open source serverless platform.
5
5
 
6
- OpenAPI spec version: 0.2.0
6
+ OpenAPI spec version: 0.2.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3
@@ -32,6 +32,12 @@ describe 'RoutesWrapper' do
32
32
  expect(@instance).to be_instance_of(Fn::RoutesWrapper)
33
33
  end
34
34
  end
35
+ describe 'test attribute "next_cursor"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
35
41
  describe 'test attribute "routes"' do
36
42
  it 'should work' do
37
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The open source serverless platform.
5
5
 
6
- OpenAPI spec version: 0.2.0
6
+ OpenAPI spec version: 0.2.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The open source serverless platform.
5
5
 
6
- OpenAPI spec version: 0.2.0
6
+ OpenAPI spec version: 0.2.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fn_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Swagger-Codegen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-31 00:00:00.000000000 Z
11
+ date: 2017-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -225,7 +225,6 @@ files:
225
225
  - docs/TasksApi.md
226
226
  - docs/Version.md
227
227
  - docs/VersionApi.md
228
- - fn_ruby-0.1.32.gem
229
228
  - fn_ruby.gemspec
230
229
  - git_push.sh
231
230
  - lib/fn_ruby.rb
@@ -301,7 +300,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
301
300
  version: '0'
302
301
  requirements: []
303
302
  rubyforge_project:
304
- rubygems_version: 2.6.11
303
+ rubygems_version: 2.6.13
305
304
  signing_key:
306
305
  specification_version: 4
307
306
  summary: Ruby gem for Fn Project
Binary file