-
Notifications
You must be signed in to change notification settings - Fork 237
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Code are generated by openapi generator
- Loading branch information
github-actions
committed
Feb 13, 2025
1 parent
3c283b7
commit 3118a77
Showing
11 changed files
with
609 additions
and
1 deletion.
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
36 changes: 36 additions & 0 deletions
36
linebot/messaging_api/model_get_joined_membership_users_response.go
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,36 @@ | ||
/** | ||
* 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 | ||
|
||
// GetJoinedMembershipUsersResponse | ||
// List of users who have joined the membership | ||
// https://developers.line.biz/en/reference/messaging-api/#get-membership-user-ids | ||
type GetJoinedMembershipUsersResponse struct { | ||
|
||
/** | ||
* A list of user IDs who joined the membership. Users who have not agreed to the bot user agreement, are not following the bot, or are not active will be excluded. If there are no users in the membership, an empty list will be returned. (Required) | ||
*/ | ||
UserIds []string `json:"userIds"` | ||
|
||
/** | ||
* A continuation token to get next remaining membership user IDs. Returned only when there are remaining user IDs that weren't returned in the userIds property in the previous request. The continuation token expires in 24 hours (86,400 seconds). | ||
*/ | ||
Next string `json:"next,omitempty"` | ||
} |
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,51 @@ | ||
/** | ||
* Webhook Type Definition | ||
* Webhook event definition of the LINE Messaging API | ||
* | ||
* The version of the OpenAPI document: 1.0.0 | ||
* | ||
* | ||
* 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 webhook | ||
|
||
import ( | ||
"encoding/json" | ||
) | ||
|
||
// JoinedMembershipContent | ||
// JoinedMembershipContent | ||
|
||
type JoinedMembershipContent struct { | ||
MembershipContent | ||
|
||
/** | ||
* The ID of the membership that the user joined. This is defined for each membership. (Required) | ||
*/ | ||
MembershipId int32 `json:"membershipId"` | ||
} | ||
|
||
// MarshalJSON customizes the JSON serialization of the JoinedMembershipContent struct. | ||
func (r *JoinedMembershipContent) MarshalJSON() ([]byte, error) { | ||
|
||
type Alias JoinedMembershipContent | ||
return json.Marshal(&struct { | ||
*Alias | ||
|
||
Type string `json:"type"` | ||
}{ | ||
Alias: (*Alias)(r), | ||
|
||
Type: "joined", | ||
}) | ||
} |
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,51 @@ | ||
/** | ||
* Webhook Type Definition | ||
* Webhook event definition of the LINE Messaging API | ||
* | ||
* The version of the OpenAPI document: 1.0.0 | ||
* | ||
* | ||
* 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 webhook | ||
|
||
import ( | ||
"encoding/json" | ||
) | ||
|
||
// LeftMembershipContent | ||
// LeftMembershipContent | ||
|
||
type LeftMembershipContent struct { | ||
MembershipContent | ||
|
||
/** | ||
* The ID of the membership that the user left. This is defined for each membership. (Required) | ||
*/ | ||
MembershipId int32 `json:"membershipId"` | ||
} | ||
|
||
// MarshalJSON customizes the JSON serialization of the LeftMembershipContent struct. | ||
func (r *LeftMembershipContent) MarshalJSON() ([]byte, error) { | ||
|
||
type Alias LeftMembershipContent | ||
return json.Marshal(&struct { | ||
*Alias | ||
|
||
Type string `json:"type"` | ||
}{ | ||
Alias: (*Alias)(r), | ||
|
||
Type: "left", | ||
}) | ||
} |
Oops, something went wrong.