Skip to content

Commit f085697

Browse files
github-actions[bot]github-actions
andauthored
Codes are generated by openapi generator (#631)
Co-authored-by: github-actions <github-actions@github.com>
1 parent 321f055 commit f085697

File tree

10 files changed

+148
-150
lines changed

10 files changed

+148
-150
lines changed

linebot/v3/liff/api/async_liff.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def add_liff_app(self, add_liff_app_request : AddLiffAppRequest, async_req: Opti
5959

6060
@validate_arguments
6161
def add_liff_app(self, add_liff_app_request : AddLiffAppRequest, async_req: Optional[bool]=None, **kwargs) -> Union[AddLiffAppResponse, Awaitable[AddLiffAppResponse]]: # noqa: E501
62-
"""add_liff_app # noqa: E501
62+
"""Create LIFF app # noqa: E501
6363
6464
Adding the LIFF app to a channel # noqa: E501
6565
This method makes a synchronous HTTP request by default. To make an
@@ -90,7 +90,7 @@ def add_liff_app(self, add_liff_app_request : AddLiffAppRequest, async_req: Opti
9090

9191
@validate_arguments
9292
def add_liff_app_with_http_info(self, add_liff_app_request : AddLiffAppRequest, **kwargs) -> ApiResponse: # noqa: E501
93-
"""add_liff_app # noqa: E501
93+
"""Create LIFF app # noqa: E501
9494
9595
Adding the LIFF app to a channel # noqa: E501
9696
This method makes a synchronous HTTP request by default. To make an
@@ -509,7 +509,7 @@ def update_liff_app(self, liff_id : Annotated[StrictStr, Field(..., description=
509509

510510
@validate_arguments
511511
def update_liff_app(self, liff_id : Annotated[StrictStr, Field(..., description="ID of the LIFF app to be updated")], update_liff_app_request : UpdateLiffAppRequest, async_req: Optional[bool]=None, **kwargs) -> Union[None, Awaitable[None]]: # noqa: E501
512-
"""update_liff_app # noqa: E501
512+
"""Update LIFF app from a channel # noqa: E501
513513
514514
Update LIFF app settings # noqa: E501
515515
This method makes a synchronous HTTP request by default. To make an
@@ -542,7 +542,7 @@ def update_liff_app(self, liff_id : Annotated[StrictStr, Field(..., description=
542542

543543
@validate_arguments
544544
def update_liff_app_with_http_info(self, liff_id : Annotated[StrictStr, Field(..., description="ID of the LIFF app to be updated")], update_liff_app_request : UpdateLiffAppRequest, **kwargs) -> ApiResponse: # noqa: E501
545-
"""update_liff_app # noqa: E501
545+
"""Update LIFF app from a channel # noqa: E501
546546
547547
Update LIFF app settings # noqa: E501
548548
This method makes a synchronous HTTP request by default. To make an

linebot/v3/liff/api/liff.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def __init__(self, api_client=None):
4949

5050
@validate_arguments
5151
def add_liff_app(self, add_liff_app_request : AddLiffAppRequest, **kwargs) -> AddLiffAppResponse: # noqa: E501
52-
"""add_liff_app # noqa: E501
52+
"""Create LIFF app # noqa: E501
5353
5454
Adding the LIFF app to a channel # noqa: E501
5555
This method makes a synchronous HTTP request by default. To make an
@@ -78,7 +78,7 @@ def add_liff_app(self, add_liff_app_request : AddLiffAppRequest, **kwargs) -> Ad
7878

7979
@validate_arguments
8080
def add_liff_app_with_http_info(self, add_liff_app_request : AddLiffAppRequest, **kwargs) -> ApiResponse: # noqa: E501
81-
"""add_liff_app # noqa: E501
81+
"""Create LIFF app # noqa: E501
8282
8383
Adding the LIFF app to a channel # noqa: E501
8484
This method makes a synchronous HTTP request by default. To make an
@@ -469,7 +469,7 @@ def get_all_liff_apps_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E5
469469

470470
@validate_arguments
471471
def update_liff_app(self, liff_id : Annotated[StrictStr, Field(..., description="ID of the LIFF app to be updated")], update_liff_app_request : UpdateLiffAppRequest, **kwargs) -> None: # noqa: E501
472-
"""update_liff_app # noqa: E501
472+
"""Update LIFF app from a channel # noqa: E501
473473
474474
Update LIFF app settings # noqa: E501
475475
This method makes a synchronous HTTP request by default. To make an
@@ -500,7 +500,7 @@ def update_liff_app(self, liff_id : Annotated[StrictStr, Field(..., description=
500500

501501
@validate_arguments
502502
def update_liff_app_with_http_info(self, liff_id : Annotated[StrictStr, Field(..., description="ID of the LIFF app to be updated")], update_liff_app_request : UpdateLiffAppRequest, **kwargs) -> ApiResponse: # noqa: E501
503-
"""update_liff_app # noqa: E501
503+
"""Update LIFF app from a channel # noqa: E501
504504
505505
Update LIFF app settings # noqa: E501
506506
This method makes a synchronous HTTP request by default. To make an

linebot/v3/liff/docs/Liff.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ All URIs are relative to *https://api.line.me*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7-
[**add_liff_app**](Liff.md#add_liff_app) | **POST** /liff/v1/apps |
7+
[**add_liff_app**](Liff.md#add_liff_app) | **POST** /liff/v1/apps | Create LIFF app
88
[**delete_liff_app**](Liff.md#delete_liff_app) | **DELETE** /liff/v1/apps/{liffId} | Delete LIFF app from a channel
99
[**get_all_liff_apps**](Liff.md#get_all_liff_apps) | **GET** /liff/v1/apps | Get all LIFF apps
10-
[**update_liff_app**](Liff.md#update_liff_app) | **PUT** /liff/v1/apps/{liffId} |
10+
[**update_liff_app**](Liff.md#update_liff_app) | **PUT** /liff/v1/apps/{liffId} | Update LIFF app from a channel
1111

1212

1313
# **add_liff_app**
1414
> AddLiffAppResponse add_liff_app(add_liff_app_request)
1515
16-
16+
Create LIFF app
1717

1818
Adding the LIFF app to a channel
1919

@@ -52,6 +52,7 @@ with linebot.v3.liff.ApiClient(configuration) as api_client:
5252
add_liff_app_request = linebot.v3.liff.AddLiffAppRequest() # AddLiffAppRequest |
5353

5454
try:
55+
# Create LIFF app
5556
api_response = api_instance.add_liff_app(add_liff_app_request)
5657
print("The response of Liff->add_liff_app:\n")
5758
pprint(api_response)
@@ -83,7 +84,7 @@ Name | Type | Description | Notes
8384
| Status code | Description | Response headers |
8485
|-------------|-------------|------------------|
8586
**200** | OK | - |
86-
**400** | This status code means one of the following: - The request contains an invalid value. - The maximum number of LIFF apps that can be added to the channel has been reached. | - |
87+
**400** | This status code means one of the following: - The request contains an invalid value. - The maximum number of LIFF apps that can be added to the channel has been reached. | - |
8788
**401** | Authentication failed. | - |
8889

8990
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -240,7 +241,7 @@ This endpoint does not need any parameter.
240241
# **update_liff_app**
241242
> update_liff_app(liff_id, update_liff_app_request)
242243
243-
244+
Update LIFF app from a channel
244245

245246
Update LIFF app settings
246247

@@ -279,6 +280,7 @@ with linebot.v3.liff.ApiClient(configuration) as api_client:
279280
update_liff_app_request = linebot.v3.liff.UpdateLiffAppRequest() # UpdateLiffAppRequest |
280281

281282
try:
283+
# Update LIFF app from a channel
282284
api_instance.update_liff_app(liff_id, update_liff_app_request)
283285
except Exception as e:
284286
print("Exception when calling Liff->update_liff_app: %s\n" % e)

0 commit comments

Comments
 (0)