-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Codes are generated by openapi generator (#581)
Co-authored-by: github-actions <[email protected]>
- Loading branch information
1 parent
2090b7c
commit c853c67
Showing
14 changed files
with
566 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)) | ||
|
||
|
Oops, something went wrong.