Skip to content

Commit c853c67

Browse files
github-actions[bot]github-actions
and
github-actions
authored
Codes are generated by openapi generator (#581)
Co-authored-by: github-actions <[email protected]>
1 parent 2090b7c commit c853c67

14 files changed

+566
-0
lines changed

linebot/v3/messaging/__init__.py

+12
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,11 @@
6565
from linebot.v3.messaging.models.flex_block_style import FlexBlockStyle
6666
from linebot.v3.messaging.models.flex_box import FlexBox
6767
from linebot.v3.messaging.models.flex_box_background import FlexBoxBackground
68+
from linebot.v3.messaging.models.flex_box_border_width import FlexBoxBorderWidth
69+
from linebot.v3.messaging.models.flex_box_corner_radius import FlexBoxCornerRadius
6870
from linebot.v3.messaging.models.flex_box_linear_gradient import FlexBoxLinearGradient
71+
from linebot.v3.messaging.models.flex_box_padding import FlexBoxPadding
72+
from linebot.v3.messaging.models.flex_box_spacing import FlexBoxSpacing
6973
from linebot.v3.messaging.models.flex_bubble import FlexBubble
7074
from linebot.v3.messaging.models.flex_bubble_styles import FlexBubbleStyles
7175
from linebot.v3.messaging.models.flex_button import FlexButton
@@ -74,11 +78,17 @@
7478
from linebot.v3.messaging.models.flex_container import FlexContainer
7579
from linebot.v3.messaging.models.flex_filler import FlexFiller
7680
from linebot.v3.messaging.models.flex_icon import FlexIcon
81+
from linebot.v3.messaging.models.flex_icon_size import FlexIconSize
7782
from linebot.v3.messaging.models.flex_image import FlexImage
83+
from linebot.v3.messaging.models.flex_image_size import FlexImageSize
84+
from linebot.v3.messaging.models.flex_margin import FlexMargin
7885
from linebot.v3.messaging.models.flex_message import FlexMessage
86+
from linebot.v3.messaging.models.flex_offset import FlexOffset
7987
from linebot.v3.messaging.models.flex_separator import FlexSeparator
8088
from linebot.v3.messaging.models.flex_span import FlexSpan
89+
from linebot.v3.messaging.models.flex_span_size import FlexSpanSize
8190
from linebot.v3.messaging.models.flex_text import FlexText
91+
from linebot.v3.messaging.models.flex_text_font_size import FlexTextFontSize
8292
from linebot.v3.messaging.models.flex_video import FlexVideo
8393
from linebot.v3.messaging.models.gender_demographic import GenderDemographic
8494
from linebot.v3.messaging.models.gender_demographic_filter import GenderDemographicFilter
@@ -155,6 +165,8 @@
155165
from linebot.v3.messaging.models.subscription_period_demographic import SubscriptionPeriodDemographic
156166
from linebot.v3.messaging.models.subscription_period_demographic_filter import SubscriptionPeriodDemographicFilter
157167
from linebot.v3.messaging.models.template import Template
168+
from linebot.v3.messaging.models.template_image_aspect_ratio import TemplateImageAspectRatio
169+
from linebot.v3.messaging.models.template_image_size import TemplateImageSize
158170
from linebot.v3.messaging.models.template_message import TemplateMessage
159171
from linebot.v3.messaging.models.test_webhook_endpoint_request import TestWebhookEndpointRequest
160172
from linebot.v3.messaging.models.test_webhook_endpoint_response import TestWebhookEndpointResponse

linebot/v3/messaging/models/__init__.py

+12
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,11 @@
4444
from linebot.v3.messaging.models.flex_block_style import FlexBlockStyle
4545
from linebot.v3.messaging.models.flex_box import FlexBox
4646
from linebot.v3.messaging.models.flex_box_background import FlexBoxBackground
47+
from linebot.v3.messaging.models.flex_box_border_width import FlexBoxBorderWidth
48+
from linebot.v3.messaging.models.flex_box_corner_radius import FlexBoxCornerRadius
4749
from linebot.v3.messaging.models.flex_box_linear_gradient import FlexBoxLinearGradient
50+
from linebot.v3.messaging.models.flex_box_padding import FlexBoxPadding
51+
from linebot.v3.messaging.models.flex_box_spacing import FlexBoxSpacing
4852
from linebot.v3.messaging.models.flex_bubble import FlexBubble
4953
from linebot.v3.messaging.models.flex_bubble_styles import FlexBubbleStyles
5054
from linebot.v3.messaging.models.flex_button import FlexButton
@@ -53,11 +57,17 @@
5357
from linebot.v3.messaging.models.flex_container import FlexContainer
5458
from linebot.v3.messaging.models.flex_filler import FlexFiller
5559
from linebot.v3.messaging.models.flex_icon import FlexIcon
60+
from linebot.v3.messaging.models.flex_icon_size import FlexIconSize
5661
from linebot.v3.messaging.models.flex_image import FlexImage
62+
from linebot.v3.messaging.models.flex_image_size import FlexImageSize
63+
from linebot.v3.messaging.models.flex_margin import FlexMargin
5764
from linebot.v3.messaging.models.flex_message import FlexMessage
65+
from linebot.v3.messaging.models.flex_offset import FlexOffset
5866
from linebot.v3.messaging.models.flex_separator import FlexSeparator
5967
from linebot.v3.messaging.models.flex_span import FlexSpan
68+
from linebot.v3.messaging.models.flex_span_size import FlexSpanSize
6069
from linebot.v3.messaging.models.flex_text import FlexText
70+
from linebot.v3.messaging.models.flex_text_font_size import FlexTextFontSize
6171
from linebot.v3.messaging.models.flex_video import FlexVideo
6272
from linebot.v3.messaging.models.gender_demographic import GenderDemographic
6373
from linebot.v3.messaging.models.gender_demographic_filter import GenderDemographicFilter
@@ -134,6 +144,8 @@
134144
from linebot.v3.messaging.models.subscription_period_demographic import SubscriptionPeriodDemographic
135145
from linebot.v3.messaging.models.subscription_period_demographic_filter import SubscriptionPeriodDemographicFilter
136146
from linebot.v3.messaging.models.template import Template
147+
from linebot.v3.messaging.models.template_image_aspect_ratio import TemplateImageAspectRatio
148+
from linebot.v3.messaging.models.template_image_size import TemplateImageSize
137149
from linebot.v3.messaging.models.template_message import TemplateMessage
138150
from linebot.v3.messaging.models.test_webhook_endpoint_request import TestWebhookEndpointRequest
139151
from linebot.v3.messaging.models.test_webhook_endpoint_response import TestWebhookEndpointResponse
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# coding: utf-8
2+
3+
"""
4+
LINE Messaging API
5+
6+
This document describes LINE Messaging API. # noqa: E501
7+
8+
The version of the OpenAPI document: 0.0.1
9+
Generated by OpenAPI Generator (https://openapi-generator.tech)
10+
11+
Do not edit the class manually.
12+
"""
13+
14+
15+
import json
16+
import pprint
17+
import re # noqa: F401
18+
from aenum import Enum, no_arg
19+
20+
21+
22+
23+
24+
class FlexBoxBorderWidth(str, Enum):
25+
"""
26+
Width of box border. This is only for `borderWidth` in FlexBox. A value of none means that borders are not rendered; the other values are listed in order of increasing width.
27+
"""
28+
29+
"""
30+
allowed enum values
31+
"""
32+
NONE = 'none'
33+
LIGHT = 'light'
34+
NORMAL = 'normal'
35+
MEDIUM = 'medium'
36+
SEMI_MINUS_BOLD = 'semi-bold'
37+
BOLD = 'bold'
38+
39+
@classmethod
40+
def from_json(cls, json_str: str) -> FlexBoxBorderWidth:
41+
"""Create an instance of FlexBoxBorderWidth from a JSON string"""
42+
return FlexBoxBorderWidth(json.loads(json_str))
43+
44+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# coding: utf-8
2+
3+
"""
4+
LINE Messaging API
5+
6+
This document describes LINE Messaging API. # noqa: E501
7+
8+
The version of the OpenAPI document: 0.0.1
9+
Generated by OpenAPI Generator (https://openapi-generator.tech)
10+
11+
Do not edit the class manually.
12+
"""
13+
14+
15+
import json
16+
import pprint
17+
import re # noqa: F401
18+
from aenum import Enum, no_arg
19+
20+
21+
22+
23+
24+
class FlexBoxCornerRadius(str, Enum):
25+
"""
26+
Radius at the time of rounding the corners of the box. This is only for `cornerRadius` in FlexBox. A value of none means that corners are not rounded; the other values are listed in order of increasing radius.
27+
"""
28+
29+
"""
30+
allowed enum values
31+
"""
32+
NONE = 'none'
33+
XS = 'xs'
34+
SM = 'sm'
35+
MD = 'md'
36+
LG = 'lg'
37+
XL = 'xl'
38+
XXL = 'xxl'
39+
40+
@classmethod
41+
def from_json(cls, json_str: str) -> FlexBoxCornerRadius:
42+
"""Create an instance of FlexBoxCornerRadius from a JSON string"""
43+
return FlexBoxCornerRadius(json.loads(json_str))
44+
45+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# coding: utf-8
2+
3+
"""
4+
LINE Messaging API
5+
6+
This document describes LINE Messaging API. # noqa: E501
7+
8+
The version of the OpenAPI document: 0.0.1
9+
Generated by OpenAPI Generator (https://openapi-generator.tech)
10+
11+
Do not edit the class manually.
12+
"""
13+
14+
15+
import json
16+
import pprint
17+
import re # noqa: F401
18+
from aenum import Enum, no_arg
19+
20+
21+
22+
23+
24+
class FlexBoxPadding(str, Enum):
25+
"""
26+
Padding can be specified in pixels, percentage (to the parent box width) or with a keyword. FlexBoxPadding just provides only keywords.
27+
"""
28+
29+
"""
30+
allowed enum values
31+
"""
32+
NONE = 'none'
33+
XS = 'xs'
34+
SM = 'sm'
35+
MD = 'md'
36+
LG = 'lg'
37+
XL = 'xl'
38+
XXL = 'xxl'
39+
40+
@classmethod
41+
def from_json(cls, json_str: str) -> FlexBoxPadding:
42+
"""Create an instance of FlexBoxPadding from a JSON string"""
43+
return FlexBoxPadding(json.loads(json_str))
44+
45+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# coding: utf-8
2+
3+
"""
4+
LINE Messaging API
5+
6+
This document describes LINE Messaging API. # noqa: E501
7+
8+
The version of the OpenAPI document: 0.0.1
9+
Generated by OpenAPI Generator (https://openapi-generator.tech)
10+
11+
Do not edit the class manually.
12+
"""
13+
14+
15+
import json
16+
import pprint
17+
import re # noqa: F401
18+
from aenum import Enum, no_arg
19+
20+
21+
22+
23+
24+
class FlexBoxSpacing(str, Enum):
25+
"""
26+
You can specify the minimum space between two components with the `spacing` property of the parent box component, in pixels or with a keyword. FlexBoxSpacing just provides only keywords.
27+
"""
28+
29+
"""
30+
allowed enum values
31+
"""
32+
NONE = 'none'
33+
XS = 'xs'
34+
SM = 'sm'
35+
MD = 'md'
36+
LG = 'lg'
37+
XL = 'xl'
38+
XXL = 'xxl'
39+
40+
@classmethod
41+
def from_json(cls, json_str: str) -> FlexBoxSpacing:
42+
"""Create an instance of FlexBoxSpacing from a JSON string"""
43+
return FlexBoxSpacing(json.loads(json_str))
44+
45+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# coding: utf-8
2+
3+
"""
4+
LINE Messaging API
5+
6+
This document describes LINE Messaging API. # noqa: E501
7+
8+
The version of the OpenAPI document: 0.0.1
9+
Generated by OpenAPI Generator (https://openapi-generator.tech)
10+
11+
Do not edit the class manually.
12+
"""
13+
14+
15+
import json
16+
import pprint
17+
import re # noqa: F401
18+
from aenum import Enum, no_arg
19+
20+
21+
22+
23+
24+
class FlexIconSize(str, Enum):
25+
"""
26+
You can set the width of an Flex icon component with the `size` property, in pixels, as a percentage, or with a keyword. FlexIconSize just provides only keywords.
27+
"""
28+
29+
"""
30+
allowed enum values
31+
"""
32+
XXS = 'xxs'
33+
XS = 'xs'
34+
SM = 'sm'
35+
MD = 'md'
36+
LG = 'lg'
37+
XL = 'xl'
38+
XXL = 'xxl'
39+
ENUM_3XL = '3xl'
40+
ENUM_4XL = '4xl'
41+
ENUM_5XL = '5xl'
42+
43+
@classmethod
44+
def from_json(cls, json_str: str) -> FlexIconSize:
45+
"""Create an instance of FlexIconSize from a JSON string"""
46+
return FlexIconSize(json.loads(json_str))
47+
48+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# coding: utf-8
2+
3+
"""
4+
LINE Messaging API
5+
6+
This document describes LINE Messaging API. # noqa: E501
7+
8+
The version of the OpenAPI document: 0.0.1
9+
Generated by OpenAPI Generator (https://openapi-generator.tech)
10+
11+
Do not edit the class manually.
12+
"""
13+
14+
15+
import json
16+
import pprint
17+
import re # noqa: F401
18+
from aenum import Enum, no_arg
19+
20+
21+
22+
23+
24+
class FlexImageSize(str, Enum):
25+
"""
26+
You can set the width of an Flex image component with the `size` property, in pixels, as a percentage, or with a keyword. FlexImageSize just provides only keywords.
27+
"""
28+
29+
"""
30+
allowed enum values
31+
"""
32+
XXS = 'xxs'
33+
XS = 'xs'
34+
SM = 'sm'
35+
MD = 'md'
36+
LG = 'lg'
37+
XL = 'xl'
38+
XXL = 'xxl'
39+
ENUM_3XL = '3xl'
40+
ENUM_4XL = '4xl'
41+
ENUM_5XL = '5xl'
42+
FULL = 'full'
43+
44+
@classmethod
45+
def from_json(cls, json_str: str) -> FlexImageSize:
46+
"""Create an instance of FlexImageSize from a JSON string"""
47+
return FlexImageSize(json.loads(json_str))
48+
49+

0 commit comments

Comments
 (0)