rainbow-submarine-test-3356 1.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (113) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +7 -0
  3. data/README.md +150 -0
  4. data/Rakefile +8 -0
  5. data/docs/AppUser.md +14 -0
  6. data/docs/AppUserApi.md +616 -0
  7. data/docs/AppUserLink.md +9 -0
  8. data/docs/AppUserPreCreate.md +14 -0
  9. data/docs/AppUserResponse.md +8 -0
  10. data/docs/AppUserUpdate.md +12 -0
  11. data/docs/Client.md +12 -0
  12. data/docs/ClientInfo.md +15 -0
  13. data/docs/ClientResponse.md +8 -0
  14. data/docs/Conversation.md +9 -0
  15. data/docs/ConversationApi.md +192 -0
  16. data/docs/DeviceUpdate.md +10 -0
  17. data/docs/Event.md +8 -0
  18. data/docs/GetMessagesResponse.md +10 -0
  19. data/docs/Menu.md +9 -0
  20. data/docs/MenuApi.md +163 -0
  21. data/docs/MenuItem.md +13 -0
  22. data/docs/MenuResponse.md +8 -0
  23. data/docs/Message.md +17 -0
  24. data/docs/MessageResponse.md +9 -0
  25. data/docs/Postback.md +11 -0
  26. data/docs/TrackEventResponse.md +8 -0
  27. data/docs/TypingActivityTrigger.md +11 -0
  28. data/git_push.sh +55 -0
  29. data/lib/rainbow-submarine-test-3356.rb +61 -0
  30. data/lib/rainbow-submarine-test-3356/api/app_user_api.rb +585 -0
  31. data/lib/rainbow-submarine-test-3356/api/conversation_api.rb +189 -0
  32. data/lib/rainbow-submarine-test-3356/api/menu_api.rb +173 -0
  33. data/lib/rainbow-submarine-test-3356/api_client.rb +376 -0
  34. data/lib/rainbow-submarine-test-3356/api_error.rb +37 -0
  35. data/lib/rainbow-submarine-test-3356/configuration.rb +209 -0
  36. data/lib/rainbow-submarine-test-3356/models/app_user.rb +258 -0
  37. data/lib/rainbow-submarine-test-3356/models/app_user_link.rb +201 -0
  38. data/lib/rainbow-submarine-test-3356/models/app_user_pre_create.rb +246 -0
  39. data/lib/rainbow-submarine-test-3356/models/app_user_response.rb +192 -0
  40. data/lib/rainbow-submarine-test-3356/models/app_user_update.rb +223 -0
  41. data/lib/rainbow-submarine-test-3356/models/client.rb +248 -0
  42. data/lib/rainbow-submarine-test-3356/models/client_info.rb +250 -0
  43. data/lib/rainbow-submarine-test-3356/models/client_response.rb +187 -0
  44. data/lib/rainbow-submarine-test-3356/models/conversation.rb +206 -0
  45. data/lib/rainbow-submarine-test-3356/models/device_update.rb +205 -0
  46. data/lib/rainbow-submarine-test-3356/models/event.rb +192 -0
  47. data/lib/rainbow-submarine-test-3356/models/get_messages_response.rb +207 -0
  48. data/lib/rainbow-submarine-test-3356/models/menu.rb +203 -0
  49. data/lib/rainbow-submarine-test-3356/models/menu_item.rb +242 -0
  50. data/lib/rainbow-submarine-test-3356/models/menu_response.rb +192 -0
  51. data/lib/rainbow-submarine-test-3356/models/message.rb +303 -0
  52. data/lib/rainbow-submarine-test-3356/models/message_response.rb +206 -0
  53. data/lib/rainbow-submarine-test-3356/models/postback.rb +229 -0
  54. data/lib/rainbow-submarine-test-3356/models/track_event_response.rb +187 -0
  55. data/lib/rainbow-submarine-test-3356/models/typing_activity_trigger.rb +224 -0
  56. data/lib/rainbow-submarine-test-3356/version.rb +14 -0
  57. data/lib/swagger_client.rb +61 -0
  58. data/lib/swagger_client/api/app_user_api.rb +585 -0
  59. data/lib/swagger_client/api/conversation_api.rb +189 -0
  60. data/lib/swagger_client/api/menu_api.rb +173 -0
  61. data/lib/swagger_client/api_client.rb +376 -0
  62. data/lib/swagger_client/api_error.rb +37 -0
  63. data/lib/swagger_client/configuration.rb +209 -0
  64. data/lib/swagger_client/models/app_user.rb +258 -0
  65. data/lib/swagger_client/models/app_user_link.rb +201 -0
  66. data/lib/swagger_client/models/app_user_pre_create.rb +246 -0
  67. data/lib/swagger_client/models/app_user_response.rb +192 -0
  68. data/lib/swagger_client/models/app_user_update.rb +223 -0
  69. data/lib/swagger_client/models/client.rb +248 -0
  70. data/lib/swagger_client/models/client_info.rb +250 -0
  71. data/lib/swagger_client/models/client_response.rb +187 -0
  72. data/lib/swagger_client/models/conversation.rb +206 -0
  73. data/lib/swagger_client/models/device_update.rb +205 -0
  74. data/lib/swagger_client/models/event.rb +192 -0
  75. data/lib/swagger_client/models/get_messages_response.rb +207 -0
  76. data/lib/swagger_client/models/menu.rb +203 -0
  77. data/lib/swagger_client/models/menu_item.rb +242 -0
  78. data/lib/swagger_client/models/menu_response.rb +192 -0
  79. data/lib/swagger_client/models/message.rb +303 -0
  80. data/lib/swagger_client/models/message_response.rb +206 -0
  81. data/lib/swagger_client/models/postback.rb +229 -0
  82. data/lib/swagger_client/models/track_event_response.rb +187 -0
  83. data/lib/swagger_client/models/typing_activity_trigger.rb +224 -0
  84. data/lib/swagger_client/version.rb +14 -0
  85. data/rainbow-submarine-test-3356.gemspec +44 -0
  86. data/spec/api/app_user_api_spec.rb +162 -0
  87. data/spec/api/conversation_api_spec.rb +73 -0
  88. data/spec/api/menu_api_spec.rb +68 -0
  89. data/spec/api_client_spec.rb +225 -0
  90. data/spec/configuration_spec.rb +41 -0
  91. data/spec/models/app_user_link_spec.rb +47 -0
  92. data/spec/models/app_user_pre_create_spec.rb +77 -0
  93. data/spec/models/app_user_response_spec.rb +41 -0
  94. data/spec/models/app_user_spec.rb +77 -0
  95. data/spec/models/app_user_update_spec.rb +65 -0
  96. data/spec/models/client_info_spec.rb +83 -0
  97. data/spec/models/client_response_spec.rb +41 -0
  98. data/spec/models/client_spec.rb +65 -0
  99. data/spec/models/conversation_spec.rb +47 -0
  100. data/spec/models/device_update_spec.rb +53 -0
  101. data/spec/models/event_spec.rb +41 -0
  102. data/spec/models/get_messages_response_spec.rb +53 -0
  103. data/spec/models/menu_item_spec.rb +71 -0
  104. data/spec/models/menu_response_spec.rb +41 -0
  105. data/spec/models/menu_spec.rb +47 -0
  106. data/spec/models/message_response_spec.rb +47 -0
  107. data/spec/models/message_spec.rb +95 -0
  108. data/spec/models/postback_spec.rb +59 -0
  109. data/spec/models/track_event_response_spec.rb +41 -0
  110. data/spec/models/typing_activity_trigger_spec.rb +59 -0
  111. data/spec/spec_helper.rb +110 -0
  112. data/swagger_client.gemspec +45 -0
  113. metadata +361 -0
@@ -0,0 +1,9 @@
1
+ # RainbowSubmarineTest3356::AppUserLink
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **type** | **String** | |
7
+ **skip_confirmation** | **BOOLEAN** | | [optional]
8
+
9
+
@@ -0,0 +1,14 @@
1
+ # RainbowSubmarineTest3356::AppUserPreCreate
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **user_id** | **String** | |
7
+ **credential_required** | **BOOLEAN** | | [optional]
8
+ **given_name** | **String** | | [optional]
9
+ **surname** | **String** | | [optional]
10
+ **email** | **String** | | [optional]
11
+ **signed_up_at** | **String** | | [optional]
12
+ **properties** | **Object** | | [optional]
13
+
14
+
@@ -0,0 +1,8 @@
1
+ # RainbowSubmarineTest3356::AppUserResponse
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **app_user** | [**AppUser**](AppUser.md) | |
7
+
8
+
@@ -0,0 +1,12 @@
1
+ # RainbowSubmarineTest3356::AppUserUpdate
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **given_name** | **String** | | [optional]
7
+ **surname** | **String** | | [optional]
8
+ **email** | **String** | | [optional]
9
+ **signed_up_at** | **String** | | [optional]
10
+ **properties** | **Object** | | [optional]
11
+
12
+
@@ -0,0 +1,12 @@
1
+ # RainbowSubmarineTest3356::Client
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **String** | |
7
+ **active** | **BOOLEAN** | |
8
+ **last_seen** | **String** | |
9
+ **platform** | **String** | |
10
+ **info** | [**ClientInfo**](ClientInfo.md) | |
11
+
12
+
@@ -0,0 +1,15 @@
1
+ # RainbowSubmarineTest3356::ClientInfo
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **app_name** | **String** | | [optional]
7
+ **device_model** | **String** | | [optional]
8
+ **os** | **String** | | [optional]
9
+ **os_version** | **String** | | [optional]
10
+ **radio_access_technology** | **String** | | [optional]
11
+ **carrier** | **String** | | [optional]
12
+ **device_platform** | **String** | | [optional]
13
+ **wifi** | **String** | | [optional]
14
+
15
+
@@ -0,0 +1,8 @@
1
+ # RainbowSubmarineTest3356::ClientResponse
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **device** | [**Client**](Client.md) | | [optional]
7
+
8
+
@@ -0,0 +1,9 @@
1
+ # RainbowSubmarineTest3356::Conversation
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **_id** | **String** | |
7
+ **unread_count** | **Float** | |
8
+
9
+
@@ -0,0 +1,192 @@
1
+ # RainbowSubmarineTest3356::ConversationApi
2
+
3
+ All URIs are relative to *https://api.smooch.io/v1*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**get_messages**](ConversationApi.md#get_messages) | **GET** /appusers/{userId}/messages |
8
+ [**reset_unread_count**](ConversationApi.md#reset_unread_count) | **POST** /appusers/{userId}/conversation/read |
9
+ [**trigger_typing_activity**](ConversationApi.md#trigger_typing_activity) | **POST** /appusers/{userId}/conversation/activity |
10
+
11
+
12
+ # **get_messages**
13
+ > GetMessagesResponse get_messages(user_id, , opts)
14
+
15
+
16
+
17
+ Get the specified app users messages.
18
+
19
+ ### Example
20
+ ```ruby
21
+ # load the gem
22
+ require 'rainbow-submarine-test-3356'
23
+ # setup authorization
24
+ RainbowSubmarineTest3356.configure do |config|
25
+ # Configure API key authorization: appToken
26
+ config.api_key['app-token'] = 'YOUR API KEY'
27
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
28
+ #config.api_key_prefix['app-token'] = 'Bearer'
29
+
30
+ # Configure API key authorization: jwt
31
+ config.api_key['Authorization'] = 'YOUR API KEY'
32
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
33
+ #config.api_key_prefix['Authorization'] = 'Bearer'
34
+ end
35
+
36
+ api_instance = RainbowSubmarineTest3356::ConversationApi.new
37
+
38
+ user_id = "user_id_example" # String | Identifies the user. Can be either the smoochId or the userId.
39
+
40
+ opts = {
41
+ before: "before_example", # String | Timestamp of message. The API will return 100 messages before the specified timestamp (excluding any messages with the provided timestamp).
42
+ after: "after_example" # String | Timestamp of message. The API will return 100 messages after the specified timestamp (excluding any messages with the provided timestamp).
43
+ }
44
+
45
+ begin
46
+ result = api_instance.get_messages(user_id, , opts)
47
+ p result
48
+ rescue RainbowSubmarineTest3356::ApiError => e
49
+ puts "Exception when calling ConversationApi->get_messages: #{e}"
50
+ end
51
+ ```
52
+
53
+ ### Parameters
54
+
55
+ Name | Type | Description | Notes
56
+ ------------- | ------------- | ------------- | -------------
57
+ **user_id** | **String**| Identifies the user. Can be either the smoochId or the userId. |
58
+ **before** | **String**| Timestamp of message. The API will return 100 messages before the specified timestamp (excluding any messages with the provided timestamp). | [optional]
59
+ **after** | **String**| Timestamp of message. The API will return 100 messages after the specified timestamp (excluding any messages with the provided timestamp). | [optional]
60
+
61
+ ### Return type
62
+
63
+ [**GetMessagesResponse**](GetMessagesResponse.md)
64
+
65
+ ### Authorization
66
+
67
+ [appToken](../README.md#appToken), [jwt](../README.md#jwt)
68
+
69
+ ### HTTP request headers
70
+
71
+ - **Content-Type**: application/json
72
+ - **Accept**: application/json
73
+
74
+
75
+
76
+ # **reset_unread_count**
77
+ > reset_unread_count(user_id, )
78
+
79
+
80
+
81
+ Reset the unread count of the conversation to 0. If the conversation has not yet been created for the specified app user 404 will be returned.
82
+
83
+ ### Example
84
+ ```ruby
85
+ # load the gem
86
+ require 'rainbow-submarine-test-3356'
87
+ # setup authorization
88
+ RainbowSubmarineTest3356.configure do |config|
89
+ # Configure API key authorization: appToken
90
+ config.api_key['app-token'] = 'YOUR API KEY'
91
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
92
+ #config.api_key_prefix['app-token'] = 'Bearer'
93
+
94
+ # Configure API key authorization: jwt
95
+ config.api_key['Authorization'] = 'YOUR API KEY'
96
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
97
+ #config.api_key_prefix['Authorization'] = 'Bearer'
98
+ end
99
+
100
+ api_instance = RainbowSubmarineTest3356::ConversationApi.new
101
+
102
+ user_id = "user_id_example" # String | Identifies the user. Can be either the smoochId or the userId.
103
+
104
+
105
+ begin
106
+ api_instance.reset_unread_count(user_id, )
107
+ rescue RainbowSubmarineTest3356::ApiError => e
108
+ puts "Exception when calling ConversationApi->reset_unread_count: #{e}"
109
+ end
110
+ ```
111
+
112
+ ### Parameters
113
+
114
+ Name | Type | Description | Notes
115
+ ------------- | ------------- | ------------- | -------------
116
+ **user_id** | **String**| Identifies the user. Can be either the smoochId or the userId. |
117
+
118
+ ### Return type
119
+
120
+ nil (empty response body)
121
+
122
+ ### Authorization
123
+
124
+ [appToken](../README.md#appToken), [jwt](../README.md#jwt)
125
+
126
+ ### HTTP request headers
127
+
128
+ - **Content-Type**: application/json
129
+ - **Accept**: application/json
130
+
131
+
132
+
133
+ # **trigger_typing_activity**
134
+ > trigger_typing_activity(user_id, typing_activity_trigger)
135
+
136
+
137
+
138
+ Notify Smooch when an app maker starts or stops typing a response.
139
+
140
+ ### Example
141
+ ```ruby
142
+ # load the gem
143
+ require 'rainbow-submarine-test-3356'
144
+ # setup authorization
145
+ RainbowSubmarineTest3356.configure do |config|
146
+ # Configure API key authorization: appToken
147
+ config.api_key['app-token'] = 'YOUR API KEY'
148
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
149
+ #config.api_key_prefix['app-token'] = 'Bearer'
150
+
151
+ # Configure API key authorization: jwt
152
+ config.api_key['Authorization'] = 'YOUR API KEY'
153
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
154
+ #config.api_key_prefix['Authorization'] = 'Bearer'
155
+ end
156
+
157
+ api_instance = RainbowSubmarineTest3356::ConversationApi.new
158
+
159
+ user_id = "user_id_example" # String | Identifies the user. Can be either the smoochId or the userId.
160
+
161
+ typing_activity_trigger = RainbowSubmarineTest3356::TypingActivityTrigger.new # TypingActivityTrigger | Supported properties for a triggerTypingActivity request.
162
+
163
+
164
+ begin
165
+ api_instance.trigger_typing_activity(user_id, typing_activity_trigger)
166
+ rescue RainbowSubmarineTest3356::ApiError => e
167
+ puts "Exception when calling ConversationApi->trigger_typing_activity: #{e}"
168
+ end
169
+ ```
170
+
171
+ ### Parameters
172
+
173
+ Name | Type | Description | Notes
174
+ ------------- | ------------- | ------------- | -------------
175
+ **user_id** | **String**| Identifies the user. Can be either the smoochId or the userId. |
176
+ **typing_activity_trigger** | [**TypingActivityTrigger**](TypingActivityTrigger.md)| Supported properties for a triggerTypingActivity request. |
177
+
178
+ ### Return type
179
+
180
+ nil (empty response body)
181
+
182
+ ### Authorization
183
+
184
+ [appToken](../README.md#appToken), [jwt](../README.md#jwt)
185
+
186
+ ### HTTP request headers
187
+
188
+ - **Content-Type**: application/json
189
+ - **Accept**: application/json
190
+
191
+
192
+
@@ -0,0 +1,10 @@
1
+ # RainbowSubmarineTest3356::DeviceUpdate
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **push_notification_token** | **String** | | [optional]
7
+ **app_version** | **String** | | [optional]
8
+ **info** | [**ClientInfo**](ClientInfo.md) | | [optional]
9
+
10
+
@@ -0,0 +1,8 @@
1
+ # RainbowSubmarineTest3356::Event
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **name** | **String** | |
7
+
8
+
@@ -0,0 +1,10 @@
1
+ # RainbowSubmarineTest3356::GetMessagesResponse
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **conversation** | [**Conversation**](Conversation.md) | | [optional]
7
+ **messages** | [**Array<Message>**](Message.md) | | [optional]
8
+ **_next** | **String** | | [optional]
9
+
10
+
@@ -0,0 +1,9 @@
1
+ # RainbowSubmarineTest3356::Menu
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **name** | **String** | | [optional]
7
+ **items** | [**Array<MenuItem>**](MenuItem.md) | |
8
+
9
+
@@ -0,0 +1,163 @@
1
+ # RainbowSubmarineTest3356::MenuApi
2
+
3
+ All URIs are relative to *https://api.smooch.io/v1*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**delete_menu**](MenuApi.md#delete_menu) | **DELETE** /menu |
8
+ [**get_menu**](MenuApi.md#get_menu) | **GET** /menu |
9
+ [**update_menu**](MenuApi.md#update_menu) | **PUT** /menu |
10
+
11
+
12
+ # **delete_menu**
13
+ > MenuResponse delete_menu
14
+
15
+
16
+
17
+ Remove the specified app’s menu.
18
+
19
+ ### Example
20
+ ```ruby
21
+ # load the gem
22
+ require 'rainbow-submarine-test-3356'
23
+ # setup authorization
24
+ RainbowSubmarineTest3356.configure do |config|
25
+ # Configure API key authorization: appToken
26
+ config.api_key['app-token'] = 'YOUR API KEY'
27
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
28
+ #config.api_key_prefix['app-token'] = 'Bearer'
29
+
30
+ # Configure API key authorization: jwt
31
+ config.api_key['Authorization'] = 'YOUR API KEY'
32
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
33
+ #config.api_key_prefix['Authorization'] = 'Bearer'
34
+ end
35
+
36
+ api_instance = RainbowSubmarineTest3356::MenuApi.new
37
+
38
+ begin
39
+ result = api_instance.delete_menu
40
+ p result
41
+ rescue RainbowSubmarineTest3356::ApiError => e
42
+ puts "Exception when calling MenuApi->delete_menu: #{e}"
43
+ end
44
+ ```
45
+
46
+ ### Parameters
47
+ This endpoint does not need any parameter.
48
+
49
+ ### Return type
50
+
51
+ [**MenuResponse**](MenuResponse.md)
52
+
53
+ ### Authorization
54
+
55
+ [appToken](../README.md#appToken), [jwt](../README.md#jwt)
56
+
57
+ ### HTTP request headers
58
+
59
+ - **Content-Type**: application/json
60
+ - **Accept**: application/json
61
+
62
+
63
+
64
+ # **get_menu**
65
+ > MenuResponse get_menu
66
+
67
+
68
+
69
+ Get the specified app’s menu.
70
+
71
+ ### Example
72
+ ```ruby
73
+ # load the gem
74
+ require 'rainbow-submarine-test-3356'
75
+ # setup authorization
76
+ RainbowSubmarineTest3356.configure do |config|
77
+ # Configure API key authorization: jwt
78
+ config.api_key['Authorization'] = 'YOUR API KEY'
79
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
80
+ #config.api_key_prefix['Authorization'] = 'Bearer'
81
+ end
82
+
83
+ api_instance = RainbowSubmarineTest3356::MenuApi.new
84
+
85
+ begin
86
+ result = api_instance.get_menu
87
+ p result
88
+ rescue RainbowSubmarineTest3356::ApiError => e
89
+ puts "Exception when calling MenuApi->get_menu: #{e}"
90
+ end
91
+ ```
92
+
93
+ ### Parameters
94
+ This endpoint does not need any parameter.
95
+
96
+ ### Return type
97
+
98
+ [**MenuResponse**](MenuResponse.md)
99
+
100
+ ### Authorization
101
+
102
+ [jwt](../README.md#jwt)
103
+
104
+ ### HTTP request headers
105
+
106
+ - **Content-Type**: application/json
107
+ - **Accept**: application/json
108
+
109
+
110
+
111
+ # **update_menu**
112
+ > MenuResponse update_menu(menu_update)
113
+
114
+
115
+
116
+ Configure the specified app’s menu.
117
+
118
+ ### Example
119
+ ```ruby
120
+ # load the gem
121
+ require 'rainbow-submarine-test-3356'
122
+ # setup authorization
123
+ RainbowSubmarineTest3356.configure do |config|
124
+ # Configure API key authorization: jwt
125
+ config.api_key['Authorization'] = 'YOUR API KEY'
126
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
127
+ #config.api_key_prefix['Authorization'] = 'Bearer'
128
+ end
129
+
130
+ api_instance = RainbowSubmarineTest3356::MenuApi.new
131
+
132
+ menu_update = RainbowSubmarineTest3356::Menu.new # Menu | Supported properties for a updateMenu request.
133
+
134
+
135
+ begin
136
+ result = api_instance.update_menu(menu_update)
137
+ p result
138
+ rescue RainbowSubmarineTest3356::ApiError => e
139
+ puts "Exception when calling MenuApi->update_menu: #{e}"
140
+ end
141
+ ```
142
+
143
+ ### Parameters
144
+
145
+ Name | Type | Description | Notes
146
+ ------------- | ------------- | ------------- | -------------
147
+ **menu_update** | [**Menu**](Menu.md)| Supported properties for a updateMenu request. |
148
+
149
+ ### Return type
150
+
151
+ [**MenuResponse**](MenuResponse.md)
152
+
153
+ ### Authorization
154
+
155
+ [jwt](../README.md#jwt)
156
+
157
+ ### HTTP request headers
158
+
159
+ - **Content-Type**: application/json
160
+ - **Accept**: application/json
161
+
162
+
163
+