Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions linebot/v3/messaging/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,11 @@
from linebot.v3.messaging.models.flex_block_style import FlexBlockStyle
from linebot.v3.messaging.models.flex_box import FlexBox
from linebot.v3.messaging.models.flex_box_background import FlexBoxBackground
from linebot.v3.messaging.models.flex_box_border_width import FlexBoxBorderWidth
from linebot.v3.messaging.models.flex_box_corner_radius import FlexBoxCornerRadius
from linebot.v3.messaging.models.flex_box_linear_gradient import FlexBoxLinearGradient
from linebot.v3.messaging.models.flex_box_padding import FlexBoxPadding
from linebot.v3.messaging.models.flex_box_spacing import FlexBoxSpacing
from linebot.v3.messaging.models.flex_bubble import FlexBubble
from linebot.v3.messaging.models.flex_bubble_styles import FlexBubbleStyles
from linebot.v3.messaging.models.flex_button import FlexButton
Expand All @@ -74,11 +78,17 @@
from linebot.v3.messaging.models.flex_container import FlexContainer
from linebot.v3.messaging.models.flex_filler import FlexFiller
from linebot.v3.messaging.models.flex_icon import FlexIcon
from linebot.v3.messaging.models.flex_icon_size import FlexIconSize
from linebot.v3.messaging.models.flex_image import FlexImage
from linebot.v3.messaging.models.flex_image_size import FlexImageSize
from linebot.v3.messaging.models.flex_margin import FlexMargin
from linebot.v3.messaging.models.flex_message import FlexMessage
from linebot.v3.messaging.models.flex_offset import FlexOffset
from linebot.v3.messaging.models.flex_separator import FlexSeparator
from linebot.v3.messaging.models.flex_span import FlexSpan
from linebot.v3.messaging.models.flex_span_size import FlexSpanSize
from linebot.v3.messaging.models.flex_text import FlexText
from linebot.v3.messaging.models.flex_text_font_size import FlexTextFontSize
from linebot.v3.messaging.models.flex_video import FlexVideo
from linebot.v3.messaging.models.gender_demographic import GenderDemographic
from linebot.v3.messaging.models.gender_demographic_filter import GenderDemographicFilter
Expand Down Expand Up @@ -155,6 +165,8 @@
from linebot.v3.messaging.models.subscription_period_demographic import SubscriptionPeriodDemographic
from linebot.v3.messaging.models.subscription_period_demographic_filter import SubscriptionPeriodDemographicFilter
from linebot.v3.messaging.models.template import Template
from linebot.v3.messaging.models.template_image_aspect_ratio import TemplateImageAspectRatio
from linebot.v3.messaging.models.template_image_size import TemplateImageSize
from linebot.v3.messaging.models.template_message import TemplateMessage
from linebot.v3.messaging.models.test_webhook_endpoint_request import TestWebhookEndpointRequest
from linebot.v3.messaging.models.test_webhook_endpoint_response import TestWebhookEndpointResponse
Expand Down
12 changes: 12 additions & 0 deletions linebot/v3/messaging/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@
from linebot.v3.messaging.models.flex_block_style import FlexBlockStyle
from linebot.v3.messaging.models.flex_box import FlexBox
from linebot.v3.messaging.models.flex_box_background import FlexBoxBackground
from linebot.v3.messaging.models.flex_box_border_width import FlexBoxBorderWidth
from linebot.v3.messaging.models.flex_box_corner_radius import FlexBoxCornerRadius
from linebot.v3.messaging.models.flex_box_linear_gradient import FlexBoxLinearGradient
from linebot.v3.messaging.models.flex_box_padding import FlexBoxPadding
from linebot.v3.messaging.models.flex_box_spacing import FlexBoxSpacing
from linebot.v3.messaging.models.flex_bubble import FlexBubble
from linebot.v3.messaging.models.flex_bubble_styles import FlexBubbleStyles
from linebot.v3.messaging.models.flex_button import FlexButton
Expand All @@ -53,11 +57,17 @@
from linebot.v3.messaging.models.flex_container import FlexContainer
from linebot.v3.messaging.models.flex_filler import FlexFiller
from linebot.v3.messaging.models.flex_icon import FlexIcon
from linebot.v3.messaging.models.flex_icon_size import FlexIconSize
from linebot.v3.messaging.models.flex_image import FlexImage
from linebot.v3.messaging.models.flex_image_size import FlexImageSize
from linebot.v3.messaging.models.flex_margin import FlexMargin
from linebot.v3.messaging.models.flex_message import FlexMessage
from linebot.v3.messaging.models.flex_offset import FlexOffset
from linebot.v3.messaging.models.flex_separator import FlexSeparator
from linebot.v3.messaging.models.flex_span import FlexSpan
from linebot.v3.messaging.models.flex_span_size import FlexSpanSize
from linebot.v3.messaging.models.flex_text import FlexText
from linebot.v3.messaging.models.flex_text_font_size import FlexTextFontSize
from linebot.v3.messaging.models.flex_video import FlexVideo
from linebot.v3.messaging.models.gender_demographic import GenderDemographic
from linebot.v3.messaging.models.gender_demographic_filter import GenderDemographicFilter
Expand Down Expand Up @@ -134,6 +144,8 @@
from linebot.v3.messaging.models.subscription_period_demographic import SubscriptionPeriodDemographic
from linebot.v3.messaging.models.subscription_period_demographic_filter import SubscriptionPeriodDemographicFilter
from linebot.v3.messaging.models.template import Template
from linebot.v3.messaging.models.template_image_aspect_ratio import TemplateImageAspectRatio
from linebot.v3.messaging.models.template_image_size import TemplateImageSize
from linebot.v3.messaging.models.template_message import TemplateMessage
from linebot.v3.messaging.models.test_webhook_endpoint_request import TestWebhookEndpointRequest
from linebot.v3.messaging.models.test_webhook_endpoint_response import TestWebhookEndpointResponse
Expand Down
44 changes: 44 additions & 0 deletions linebot/v3/messaging/models/flex_box_border_width.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# coding: utf-8

"""
LINE Messaging API

This document describes LINE Messaging API. # noqa: E501

The version of the OpenAPI document: 0.0.1
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
"""


import json
import pprint
import re # noqa: F401
from aenum import Enum, no_arg





class FlexBoxBorderWidth(str, Enum):
"""
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.
"""

"""
allowed enum values
"""
NONE = 'none'
LIGHT = 'light'
NORMAL = 'normal'
MEDIUM = 'medium'
SEMI_MINUS_BOLD = 'semi-bold'
BOLD = 'bold'

@classmethod
def from_json(cls, json_str: str) -> FlexBoxBorderWidth:
"""Create an instance of FlexBoxBorderWidth from a JSON string"""
return FlexBoxBorderWidth(json.loads(json_str))


45 changes: 45 additions & 0 deletions linebot/v3/messaging/models/flex_box_corner_radius.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# coding: utf-8

"""
LINE Messaging API

This document describes LINE Messaging API. # noqa: E501

The version of the OpenAPI document: 0.0.1
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
"""


import json
import pprint
import re # noqa: F401
from aenum import Enum, no_arg





class FlexBoxCornerRadius(str, Enum):
"""
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.
"""

"""
allowed enum values
"""
NONE = 'none'
XS = 'xs'
SM = 'sm'
MD = 'md'
LG = 'lg'
XL = 'xl'
XXL = 'xxl'

@classmethod
def from_json(cls, json_str: str) -> FlexBoxCornerRadius:
"""Create an instance of FlexBoxCornerRadius from a JSON string"""
return FlexBoxCornerRadius(json.loads(json_str))


45 changes: 45 additions & 0 deletions linebot/v3/messaging/models/flex_box_padding.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# coding: utf-8

"""
LINE Messaging API

This document describes LINE Messaging API. # noqa: E501

The version of the OpenAPI document: 0.0.1
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
"""


import json
import pprint
import re # noqa: F401
from aenum import Enum, no_arg





class FlexBoxPadding(str, Enum):
"""
Padding can be specified in pixels, percentage (to the parent box width) or with a keyword. FlexBoxPadding just provides only keywords.
"""

"""
allowed enum values
"""
NONE = 'none'
XS = 'xs'
SM = 'sm'
MD = 'md'
LG = 'lg'
XL = 'xl'
XXL = 'xxl'

@classmethod
def from_json(cls, json_str: str) -> FlexBoxPadding:
"""Create an instance of FlexBoxPadding from a JSON string"""
return FlexBoxPadding(json.loads(json_str))


45 changes: 45 additions & 0 deletions linebot/v3/messaging/models/flex_box_spacing.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# coding: utf-8

"""
LINE Messaging API

This document describes LINE Messaging API. # noqa: E501

The version of the OpenAPI document: 0.0.1
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
"""


import json
import pprint
import re # noqa: F401
from aenum import Enum, no_arg





class FlexBoxSpacing(str, Enum):
"""
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.
"""

"""
allowed enum values
"""
NONE = 'none'
XS = 'xs'
SM = 'sm'
MD = 'md'
LG = 'lg'
XL = 'xl'
XXL = 'xxl'

@classmethod
def from_json(cls, json_str: str) -> FlexBoxSpacing:
"""Create an instance of FlexBoxSpacing from a JSON string"""
return FlexBoxSpacing(json.loads(json_str))


48 changes: 48 additions & 0 deletions linebot/v3/messaging/models/flex_icon_size.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# coding: utf-8

"""
LINE Messaging API

This document describes LINE Messaging API. # noqa: E501

The version of the OpenAPI document: 0.0.1
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
"""


import json
import pprint
import re # noqa: F401
from aenum import Enum, no_arg





class FlexIconSize(str, Enum):
"""
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.
"""

"""
allowed enum values
"""
XXS = 'xxs'
XS = 'xs'
SM = 'sm'
MD = 'md'
LG = 'lg'
XL = 'xl'
XXL = 'xxl'
ENUM_3XL = '3xl'
ENUM_4XL = '4xl'
ENUM_5XL = '5xl'

@classmethod
def from_json(cls, json_str: str) -> FlexIconSize:
"""Create an instance of FlexIconSize from a JSON string"""
return FlexIconSize(json.loads(json_str))


49 changes: 49 additions & 0 deletions linebot/v3/messaging/models/flex_image_size.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# coding: utf-8

"""
LINE Messaging API

This document describes LINE Messaging API. # noqa: E501

The version of the OpenAPI document: 0.0.1
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
"""


import json
import pprint
import re # noqa: F401
from aenum import Enum, no_arg





class FlexImageSize(str, Enum):
"""
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.
"""

"""
allowed enum values
"""
XXS = 'xxs'
XS = 'xs'
SM = 'sm'
MD = 'md'
LG = 'lg'
XL = 'xl'
XXL = 'xxl'
ENUM_3XL = '3xl'
ENUM_4XL = '4xl'
ENUM_5XL = '5xl'
FULL = 'full'

@classmethod
def from_json(cls, json_str: str) -> FlexImageSize:
"""Create an instance of FlexImageSize from a JSON string"""
return FlexImageSize(json.loads(json_str))


Loading