@@ -52,8 +52,8 @@ def initialize(base_url: nil, channel_access_token:, http_options: {})
52
52
# @see https://developers.line.biz/en/reference/liff-server/#add-liff-app
53
53
# @return [response body, response status code, and response headers]
54
54
# @return [Array(Line::Bot::V2::Liff::AddLiffAppResponse, Integer, Hash{String => String})] when HTTP status code is 200
55
- # @return [Array( String(nilable) , Integer, Hash{String => String})] when HTTP status code is 400
56
- # @return [Array( String(nilable) , Integer, Hash{String => String})] when HTTP status code is 401
55
+ # @return [String|nil , Integer, Hash{String => String})] when HTTP status code is 400
56
+ # @return [String|nil , Integer, Hash{String => String})] when HTTP status code is 401
57
57
def add_liff_app_with_http_info (
58
58
add_liff_app_request :
59
59
)
@@ -89,8 +89,8 @@ def add_liff_app_with_http_info(
89
89
# @param add_liff_app_request [AddLiffAppRequest]
90
90
# @see https://developers.line.biz/en/reference/liff-server/#add-liff-app
91
91
# @return [Line::Bot::V2::Liff::AddLiffAppResponse] when HTTP status code is 200
92
- # @return [String, nil] when HTTP status code is 400
93
- # @return [String, nil] when HTTP status code is 401
92
+ # @return [String| nil] when HTTP status code is 400
93
+ # @return [String| nil] when HTTP status code is 401
94
94
def add_liff_app (
95
95
add_liff_app_request :
96
96
)
@@ -107,9 +107,9 @@ def add_liff_app(
107
107
# @param liff_id [String] ID of the LIFF app to be updated
108
108
# @see https://developers.line.biz/en/reference/liff-server/#delete-liff-app
109
109
# @return [response body, response status code, and response headers]
110
- # @return [Array( String(nilable) , Integer, Hash{String => String})] when HTTP status code is 200
111
- # @return [Array( String(nilable) , Integer, Hash{String => String})] when HTTP status code is 401
112
- # @return [Array( String(nilable) , Integer, Hash{String => String})] when HTTP status code is 404
110
+ # @return [String|nil , Integer, Hash{String => String})] when HTTP status code is 200
111
+ # @return [String|nil , Integer, Hash{String => String})] when HTTP status code is 401
112
+ # @return [String|nil , Integer, Hash{String => String})] when HTTP status code is 404
113
113
def delete_liff_app_with_http_info (
114
114
liff_id :
115
115
)
@@ -140,9 +140,9 @@ def delete_liff_app_with_http_info(
140
140
#
141
141
# @param liff_id [String] ID of the LIFF app to be updated
142
142
# @see https://developers.line.biz/en/reference/liff-server/#delete-liff-app
143
- # @return [String, nil] when HTTP status code is 200
144
- # @return [String, nil] when HTTP status code is 401
145
- # @return [String, nil] when HTTP status code is 404
143
+ # @return [String| nil] when HTTP status code is 200
144
+ # @return [String| nil] when HTTP status code is 401
145
+ # @return [String| nil] when HTTP status code is 404
146
146
def delete_liff_app (
147
147
liff_id :
148
148
)
@@ -159,8 +159,8 @@ def delete_liff_app(
159
159
# @see https://developers.line.biz/en/reference/liff-server/#get-all-liff-apps
160
160
# @return [response body, response status code, and response headers]
161
161
# @return [Array(Line::Bot::V2::Liff::GetAllLiffAppsResponse, Integer, Hash{String => String})] when HTTP status code is 200
162
- # @return [Array( String(nilable) , Integer, Hash{String => String})] when HTTP status code is 401
163
- # @return [Array( String(nilable) , Integer, Hash{String => String})] when HTTP status code is 404
162
+ # @return [String|nil , Integer, Hash{String => String})] when HTTP status code is 401
163
+ # @return [String|nil , Integer, Hash{String => String})] when HTTP status code is 404
164
164
def get_all_liff_apps_with_http_info (
165
165
)
166
166
path = "/liff/v1/apps"
@@ -193,8 +193,8 @@ def get_all_liff_apps_with_http_info(
193
193
#
194
194
# @see https://developers.line.biz/en/reference/liff-server/#get-all-liff-apps
195
195
# @return [Line::Bot::V2::Liff::GetAllLiffAppsResponse] when HTTP status code is 200
196
- # @return [String, nil] when HTTP status code is 401
197
- # @return [String, nil] when HTTP status code is 404
196
+ # @return [String| nil] when HTTP status code is 401
197
+ # @return [String| nil] when HTTP status code is 404
198
198
def get_all_liff_apps (
199
199
)
200
200
response_body , _status_code , _headers = get_all_liff_apps_with_http_info (
@@ -210,10 +210,10 @@ def get_all_liff_apps(
210
210
# @param update_liff_app_request [UpdateLiffAppRequest]
211
211
# @see https://developers.line.biz/en/reference/liff-server/#update-liff-app
212
212
# @return [response body, response status code, and response headers]
213
- # @return [Array( String(nilable) , Integer, Hash{String => String})] when HTTP status code is 200
214
- # @return [Array( String(nilable) , Integer, Hash{String => String})] when HTTP status code is 400
215
- # @return [Array( String(nilable) , Integer, Hash{String => String})] when HTTP status code is 401
216
- # @return [Array( String(nilable) , Integer, Hash{String => String})] when HTTP status code is 404
213
+ # @return [String|nil , Integer, Hash{String => String})] when HTTP status code is 200
214
+ # @return [String|nil , Integer, Hash{String => String})] when HTTP status code is 400
215
+ # @return [String|nil , Integer, Hash{String => String})] when HTTP status code is 401
216
+ # @return [String|nil , Integer, Hash{String => String})] when HTTP status code is 404
217
217
def update_liff_app_with_http_info (
218
218
liff_id :,
219
219
update_liff_app_request :
@@ -249,10 +249,10 @@ def update_liff_app_with_http_info(
249
249
# @param liff_id [String] ID of the LIFF app to be updated
250
250
# @param update_liff_app_request [UpdateLiffAppRequest]
251
251
# @see https://developers.line.biz/en/reference/liff-server/#update-liff-app
252
- # @return [String, nil] when HTTP status code is 200
253
- # @return [String, nil] when HTTP status code is 400
254
- # @return [String, nil] when HTTP status code is 401
255
- # @return [String, nil] when HTTP status code is 404
252
+ # @return [String| nil] when HTTP status code is 200
253
+ # @return [String| nil] when HTTP status code is 400
254
+ # @return [String| nil] when HTTP status code is 401
255
+ # @return [String| nil] when HTTP status code is 404
256
256
def update_liff_app (
257
257
liff_id :,
258
258
update_liff_app_request :
0 commit comments