Skip to content

Commit 3695195

Browse files
github-actions[bot]github-actions
andauthored
Code are generated by openapi generator (#494)
Co-authored-by: github-actions <[email protected]>
1 parent 3316070 commit 3695195

File tree

4 files changed

+57
-2
lines changed

4 files changed

+57
-2
lines changed

line-openapi

linebot/liff/.openapi-generator/FILES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ model_liff_features.go
88
model_liff_scope.go
99
model_liff_view.go
1010
model_update_liff_app_request.go
11+
model_update_liff_view.go

linebot/liff/model_update_liff_app_request.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ type UpdateLiffAppRequest struct {
2727
/**
2828
* Get View
2929
*/
30-
View *LiffView `json:"view,omitempty"`
30+
View *UpdateLiffView `json:"view,omitempty"`
3131

3232
/**
3333
* Name of the LIFF app. The LIFF app name can&#39;t include \&quot;LINE\&quot; or similar strings, or inappropriate strings.
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
/**
2+
* LIFF server API
3+
* LIFF Server API.
4+
*
5+
* The version of the OpenAPI document: 1.0.0
6+
*
7+
*
8+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9+
* https://openapi-generator.tech
10+
* Do not edit the class manually.
11+
*/
12+
13+
/**
14+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
15+
* https://openapi-generator.tech
16+
* Do not edit the class manually.
17+
*/
18+
19+
//go:generate python3 ../../generate-code.py
20+
package liff
21+
22+
// UpdateLiffView
23+
// UpdateLiffView
24+
// https://developers.line.biz/en/reference/liff-server/#update-liff-app
25+
type UpdateLiffView struct {
26+
27+
/**
28+
* Size of the LIFF app view. Specify one of these values: - compact - tall - full
29+
*/
30+
Type UpdateLiffViewTYPE `json:"type,omitempty"`
31+
32+
/**
33+
* Endpoint URL. This is the URL of the web app that implements the LIFF app (e.g. https://example.com). Used when the LIFF app is launched using the LIFF URL. The URL scheme must be https. URL fragments (#URL-fragment) can&#39;t be specified.
34+
*/
35+
Url string `json:"url,omitempty"`
36+
37+
/**
38+
* `true` to use the LIFF app in modular mode. When in modular mode, the action button in the header is not displayed.
39+
*/
40+
ModuleMode bool `json:"moduleMode"`
41+
}
42+
43+
// UpdateLiffViewTYPE type
44+
/* Size of the LIFF app view. Specify one of these values: - compact - tall - full */
45+
type UpdateLiffViewTYPE string
46+
47+
// UpdateLiffViewTYPE constants
48+
const (
49+
UpdateLiffViewTYPE_COMPACT UpdateLiffViewTYPE = "compact"
50+
51+
UpdateLiffViewTYPE_TALL UpdateLiffViewTYPE = "tall"
52+
53+
UpdateLiffViewTYPE_FULL UpdateLiffViewTYPE = "full"
54+
)

0 commit comments

Comments
 (0)