diff --git a/linebot/messaging_api/.openapi-generator/FILES b/linebot/messaging_api/.openapi-generator/FILES index 08f39bf0..bc4223a0 100644 --- a/linebot/messaging_api/.openapi-generator/FILES +++ b/linebot/messaging_api/.openapi-generator/FILES @@ -30,7 +30,11 @@ model_filter.go model_flex_block_style.go model_flex_box.go model_flex_box_background.go +model_flex_box_border_width.go +model_flex_box_corner_radius.go model_flex_box_linear_gradient.go +model_flex_box_padding.go +model_flex_box_spacing.go model_flex_bubble.go model_flex_bubble_styles.go model_flex_button.go @@ -39,11 +43,17 @@ model_flex_component.go model_flex_container.go model_flex_filler.go model_flex_icon.go +model_flex_icon_size.go model_flex_image.go +model_flex_image_size.go +model_flex_margin.go model_flex_message.go +model_flex_offset.go model_flex_separator.go model_flex_span.go +model_flex_span_size.go model_flex_text.go +model_flex_text_font_size.go model_flex_video.go model_gender_demographic.go model_gender_demographic_filter.go @@ -120,6 +130,8 @@ model_sticker_message.go model_subscription_period_demographic.go model_subscription_period_demographic_filter.go model_template.go +model_template_image_aspect_ratio.go +model_template_image_size.go model_template_message.go model_test_webhook_endpoint_request.go model_test_webhook_endpoint_response.go diff --git a/linebot/messaging_api/model_flex_box_border_width.go b/linebot/messaging_api/model_flex_box_border_width.go new file mode 100644 index 00000000..e3f8834e --- /dev/null +++ b/linebot/messaging_api/model_flex_box_border_width.go @@ -0,0 +1,42 @@ +/** + * LINE Messaging API + * This document describes LINE Messaging API. + * + * The version of the OpenAPI document: 0.0.1 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +//go:generate python3 ../../generate-code.py +package messaging_api + +/* + * 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. + */ + +// FlexBoxBorderWidth type +type FlexBoxBorderWidth string + +// FlexBoxBorderWidth constants +const ( + FlexBoxBorderWidth_NONE FlexBoxBorderWidth = "none" + + FlexBoxBorderWidth_LIGHT FlexBoxBorderWidth = "light" + + FlexBoxBorderWidth_NORMAL FlexBoxBorderWidth = "normal" + + FlexBoxBorderWidth_MEDIUM FlexBoxBorderWidth = "medium" + + FlexBoxBorderWidth_SEMI_BOLD FlexBoxBorderWidth = "semi-bold" + + FlexBoxBorderWidth_BOLD FlexBoxBorderWidth = "bold" +) diff --git a/linebot/messaging_api/model_flex_box_corner_radius.go b/linebot/messaging_api/model_flex_box_corner_radius.go new file mode 100644 index 00000000..badbd628 --- /dev/null +++ b/linebot/messaging_api/model_flex_box_corner_radius.go @@ -0,0 +1,44 @@ +/** + * LINE Messaging API + * This document describes LINE Messaging API. + * + * The version of the OpenAPI document: 0.0.1 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +//go:generate python3 ../../generate-code.py +package messaging_api + +/* + * 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. + */ + +// FlexBoxCornerRadius type +type FlexBoxCornerRadius string + +// FlexBoxCornerRadius constants +const ( + FlexBoxCornerRadius_NONE FlexBoxCornerRadius = "none" + + FlexBoxCornerRadius_XS FlexBoxCornerRadius = "xs" + + FlexBoxCornerRadius_SM FlexBoxCornerRadius = "sm" + + FlexBoxCornerRadius_MD FlexBoxCornerRadius = "md" + + FlexBoxCornerRadius_LG FlexBoxCornerRadius = "lg" + + FlexBoxCornerRadius_XL FlexBoxCornerRadius = "xl" + + FlexBoxCornerRadius_XXL FlexBoxCornerRadius = "xxl" +) diff --git a/linebot/messaging_api/model_flex_box_padding.go b/linebot/messaging_api/model_flex_box_padding.go new file mode 100644 index 00000000..f4a53f62 --- /dev/null +++ b/linebot/messaging_api/model_flex_box_padding.go @@ -0,0 +1,44 @@ +/** + * LINE Messaging API + * This document describes LINE Messaging API. + * + * The version of the OpenAPI document: 0.0.1 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +//go:generate python3 ../../generate-code.py +package messaging_api + +/* + * Padding can be specified in pixels, percentage (to the parent box width) or with a keyword. FlexBoxPadding just provides only keywords. + */ + +// FlexBoxPadding type +type FlexBoxPadding string + +// FlexBoxPadding constants +const ( + FlexBoxPadding_NONE FlexBoxPadding = "none" + + FlexBoxPadding_XS FlexBoxPadding = "xs" + + FlexBoxPadding_SM FlexBoxPadding = "sm" + + FlexBoxPadding_MD FlexBoxPadding = "md" + + FlexBoxPadding_LG FlexBoxPadding = "lg" + + FlexBoxPadding_XL FlexBoxPadding = "xl" + + FlexBoxPadding_XXL FlexBoxPadding = "xxl" +) diff --git a/linebot/messaging_api/model_flex_box_spacing.go b/linebot/messaging_api/model_flex_box_spacing.go new file mode 100644 index 00000000..b36e31c1 --- /dev/null +++ b/linebot/messaging_api/model_flex_box_spacing.go @@ -0,0 +1,44 @@ +/** + * LINE Messaging API + * This document describes LINE Messaging API. + * + * The version of the OpenAPI document: 0.0.1 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +//go:generate python3 ../../generate-code.py +package messaging_api + +/* + * 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. + */ + +// FlexBoxSpacing type +type FlexBoxSpacing string + +// FlexBoxSpacing constants +const ( + FlexBoxSpacing_NONE FlexBoxSpacing = "none" + + FlexBoxSpacing_XS FlexBoxSpacing = "xs" + + FlexBoxSpacing_SM FlexBoxSpacing = "sm" + + FlexBoxSpacing_MD FlexBoxSpacing = "md" + + FlexBoxSpacing_LG FlexBoxSpacing = "lg" + + FlexBoxSpacing_XL FlexBoxSpacing = "xl" + + FlexBoxSpacing_XXL FlexBoxSpacing = "xxl" +) diff --git a/linebot/messaging_api/model_flex_icon_size.go b/linebot/messaging_api/model_flex_icon_size.go new file mode 100644 index 00000000..0ae03f77 --- /dev/null +++ b/linebot/messaging_api/model_flex_icon_size.go @@ -0,0 +1,50 @@ +/** + * LINE Messaging API + * This document describes LINE Messaging API. + * + * The version of the OpenAPI document: 0.0.1 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +//go:generate python3 ../../generate-code.py +package messaging_api + +/* + * 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. + */ + +// FlexIconSize type +type FlexIconSize string + +// FlexIconSize constants +const ( + FlexIconSize_XXS FlexIconSize = "xxs" + + FlexIconSize_XS FlexIconSize = "xs" + + FlexIconSize_SM FlexIconSize = "sm" + + FlexIconSize_MD FlexIconSize = "md" + + FlexIconSize_LG FlexIconSize = "lg" + + FlexIconSize_XL FlexIconSize = "xl" + + FlexIconSize_XXL FlexIconSize = "xxl" + + FlexIconSize__3XL FlexIconSize = "3xl" + + FlexIconSize__4XL FlexIconSize = "4xl" + + FlexIconSize__5XL FlexIconSize = "5xl" +) diff --git a/linebot/messaging_api/model_flex_image_size.go b/linebot/messaging_api/model_flex_image_size.go new file mode 100644 index 00000000..d598dbae --- /dev/null +++ b/linebot/messaging_api/model_flex_image_size.go @@ -0,0 +1,52 @@ +/** + * LINE Messaging API + * This document describes LINE Messaging API. + * + * The version of the OpenAPI document: 0.0.1 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +//go:generate python3 ../../generate-code.py +package messaging_api + +/* + * 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. + */ + +// FlexImageSize type +type FlexImageSize string + +// FlexImageSize constants +const ( + FlexImageSize_XXS FlexImageSize = "xxs" + + FlexImageSize_XS FlexImageSize = "xs" + + FlexImageSize_SM FlexImageSize = "sm" + + FlexImageSize_MD FlexImageSize = "md" + + FlexImageSize_LG FlexImageSize = "lg" + + FlexImageSize_XL FlexImageSize = "xl" + + FlexImageSize_XXL FlexImageSize = "xxl" + + FlexImageSize__3XL FlexImageSize = "3xl" + + FlexImageSize__4XL FlexImageSize = "4xl" + + FlexImageSize__5XL FlexImageSize = "5xl" + + FlexImageSize_FULL FlexImageSize = "full" +) diff --git a/linebot/messaging_api/model_flex_margin.go b/linebot/messaging_api/model_flex_margin.go new file mode 100644 index 00000000..9f9cccc2 --- /dev/null +++ b/linebot/messaging_api/model_flex_margin.go @@ -0,0 +1,44 @@ +/** + * LINE Messaging API + * This document describes LINE Messaging API. + * + * The version of the OpenAPI document: 0.0.1 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +//go:generate python3 ../../generate-code.py +package messaging_api + +/* + * You can specify the minimum space before a child component with the `margin` property of the child component, in pixels or with a keyword. FlexMargin just provides only keywords. + */ + +// FlexMargin type +type FlexMargin string + +// FlexMargin constants +const ( + FlexMargin_NONE FlexMargin = "none" + + FlexMargin_XS FlexMargin = "xs" + + FlexMargin_SM FlexMargin = "sm" + + FlexMargin_MD FlexMargin = "md" + + FlexMargin_LG FlexMargin = "lg" + + FlexMargin_XL FlexMargin = "xl" + + FlexMargin_XXL FlexMargin = "xxl" +) diff --git a/linebot/messaging_api/model_flex_offset.go b/linebot/messaging_api/model_flex_offset.go new file mode 100644 index 00000000..fd8b8ddb --- /dev/null +++ b/linebot/messaging_api/model_flex_offset.go @@ -0,0 +1,44 @@ +/** + * LINE Messaging API + * This document describes LINE Messaging API. + * + * The version of the OpenAPI document: 0.0.1 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +//go:generate python3 ../../generate-code.py +package messaging_api + +/* + * You can specify the offset of a component with the `offset*` property, in pixels or with a keyword. You can also specify the percentage to the box width for `offsetStart` and `offsetEnd` and to the box height for `offsetTop` and `offsetBottom`. FlexOffset just provides only keywords. + */ + +// FlexOffset type +type FlexOffset string + +// FlexOffset constants +const ( + FlexOffset_NONE FlexOffset = "none" + + FlexOffset_XS FlexOffset = "xs" + + FlexOffset_SM FlexOffset = "sm" + + FlexOffset_MD FlexOffset = "md" + + FlexOffset_LG FlexOffset = "lg" + + FlexOffset_XL FlexOffset = "xl" + + FlexOffset_XXL FlexOffset = "xxl" +) diff --git a/linebot/messaging_api/model_flex_span_size.go b/linebot/messaging_api/model_flex_span_size.go new file mode 100644 index 00000000..0564eca3 --- /dev/null +++ b/linebot/messaging_api/model_flex_span_size.go @@ -0,0 +1,50 @@ +/** + * LINE Messaging API + * This document describes LINE Messaging API. + * + * The version of the OpenAPI document: 0.0.1 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +//go:generate python3 ../../generate-code.py +package messaging_api + +/* + * Font size in the `size` property of the Flex span component. You can specify the size in pixels or with a keyword. FlexSpanSize just provides only keywords. + */ + +// FlexSpanSize type +type FlexSpanSize string + +// FlexSpanSize constants +const ( + FlexSpanSize_XXS FlexSpanSize = "xxs" + + FlexSpanSize_XS FlexSpanSize = "xs" + + FlexSpanSize_SM FlexSpanSize = "sm" + + FlexSpanSize_MD FlexSpanSize = "md" + + FlexSpanSize_LG FlexSpanSize = "lg" + + FlexSpanSize_XL FlexSpanSize = "xl" + + FlexSpanSize_XXL FlexSpanSize = "xxl" + + FlexSpanSize__3XL FlexSpanSize = "3xl" + + FlexSpanSize__4XL FlexSpanSize = "4xl" + + FlexSpanSize__5XL FlexSpanSize = "5xl" +) diff --git a/linebot/messaging_api/model_flex_text_font_size.go b/linebot/messaging_api/model_flex_text_font_size.go new file mode 100644 index 00000000..4091507e --- /dev/null +++ b/linebot/messaging_api/model_flex_text_font_size.go @@ -0,0 +1,50 @@ +/** + * LINE Messaging API + * This document describes LINE Messaging API. + * + * The version of the OpenAPI document: 0.0.1 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +//go:generate python3 ../../generate-code.py +package messaging_api + +/* + * Font size in the `size` property of the Flex text component. You can specify the size in pixels or with a keyword. FlexTextFontSize just provides only keywords. + */ + +// FlexTextFontSize type +type FlexTextFontSize string + +// FlexTextFontSize constants +const ( + FlexTextFontSize_XXS FlexTextFontSize = "xxs" + + FlexTextFontSize_XS FlexTextFontSize = "xs" + + FlexTextFontSize_SM FlexTextFontSize = "sm" + + FlexTextFontSize_MD FlexTextFontSize = "md" + + FlexTextFontSize_LG FlexTextFontSize = "lg" + + FlexTextFontSize_XL FlexTextFontSize = "xl" + + FlexTextFontSize_XXL FlexTextFontSize = "xxl" + + FlexTextFontSize__3XL FlexTextFontSize = "3xl" + + FlexTextFontSize__4XL FlexTextFontSize = "4xl" + + FlexTextFontSize__5XL FlexTextFontSize = "5xl" +) diff --git a/linebot/messaging_api/model_template_image_aspect_ratio.go b/linebot/messaging_api/model_template_image_aspect_ratio.go new file mode 100644 index 00000000..5a150b52 --- /dev/null +++ b/linebot/messaging_api/model_template_image_aspect_ratio.go @@ -0,0 +1,34 @@ +/** + * LINE Messaging API + * This document describes LINE Messaging API. + * + * The version of the OpenAPI document: 0.0.1 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +//go:generate python3 ../../generate-code.py +package messaging_api + +/* + * Aspect ratio of the image. This is only for the `imageAspectRatio` in ButtonsTemplate. Specify one of the following values: `rectangle`: 1.51:1 `square`: 1:1 + */ + +// TemplateImageAspectRatio type +type TemplateImageAspectRatio string + +// TemplateImageAspectRatio constants +const ( + TemplateImageAspectRatio_RECTANGLE TemplateImageAspectRatio = "rectangle" + + TemplateImageAspectRatio_SQUARE TemplateImageAspectRatio = "square" +) diff --git a/linebot/messaging_api/model_template_image_size.go b/linebot/messaging_api/model_template_image_size.go new file mode 100644 index 00000000..3bf18bf6 --- /dev/null +++ b/linebot/messaging_api/model_template_image_size.go @@ -0,0 +1,34 @@ +/** + * LINE Messaging API + * This document describes LINE Messaging API. + * + * The version of the OpenAPI document: 0.0.1 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +//go:generate python3 ../../generate-code.py +package messaging_api + +/* + * Size of the image. This is only for the `imageSize` in ButtonsTemplate. Specify one of the following values: `cover`: The image fills the entire image area. Parts of the image that do not fit in the area are not displayed. `contain`: The entire image is displayed in the image area. A background is displayed in the unused areas to the left and right of vertical images and in the areas above and below horizontal images. + */ + +// TemplateImageSize type +type TemplateImageSize string + +// TemplateImageSize constants +const ( + TemplateImageSize_COVER TemplateImageSize = "cover" + + TemplateImageSize_CONTAIN TemplateImageSize = "contain" +)