-
Notifications
You must be signed in to change notification settings - Fork 234
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 (#434)
Co-authored-by: github-actions <[email protected]>
- Loading branch information
1 parent
f116bf2
commit 4f71636
Showing
8 changed files
with
429 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
31 changes: 31 additions & 0 deletions
31
linebot/messaging_api/model_get_membership_subscription_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,31 @@ | ||
/** | ||
* 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 | ||
|
||
// GetMembershipSubscriptionResponse | ||
// A user's membership subscription status | ||
// https://developers.line.biz/en/reference/messaging-api/#get-a-users-membership-subscription-status | ||
type GetMembershipSubscriptionResponse struct { | ||
|
||
/** | ||
* List of subscription information (Required) | ||
*/ | ||
Subscriptions []Subscription `json:"subscriptions"` | ||
} |
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,89 @@ | ||
/** | ||
* 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 | ||
|
||
// Membership | ||
// Membership | ||
|
||
type Membership struct { | ||
|
||
/** | ||
* Membership plan ID. (Required) | ||
*/ | ||
MembershipId int32 `json:"membershipId"` | ||
|
||
/** | ||
* Membership plan name. (Required) | ||
*/ | ||
Title string `json:"title"` | ||
|
||
/** | ||
* Membership plan description. (Required) | ||
*/ | ||
Description string `json:"description"` | ||
|
||
/** | ||
* List of membership plan perks. (Required) | ||
*/ | ||
Benefits []string `json:"benefits"` | ||
|
||
/** | ||
* Monthly fee for membership plan. (e.g. 1500.00) (Required) | ||
*/ | ||
Price float64 `json:"price"` | ||
|
||
/** | ||
* The currency of membership.price. (Required) | ||
*/ | ||
Currency MembershipCURRENCY `json:"currency"` | ||
|
||
/** | ||
* Number of members subscribed to the membership plan. (Required) | ||
*/ | ||
MemberCount int32 `json:"memberCount"` | ||
|
||
/** | ||
* The upper limit of members who can subscribe. If no upper limit is set, it will be null. (Required) | ||
*/ | ||
MemberLimit int32 `json:"memberLimit"` | ||
|
||
/** | ||
* Payment method for users who subscribe to a membership plan. (Required) | ||
*/ | ||
IsInAppPurchase bool `json:"isInAppPurchase"` | ||
|
||
/** | ||
* Membership plan status. (Required) | ||
*/ | ||
IsPublished bool `json:"isPublished"` | ||
} | ||
|
||
// MembershipCURRENCY type | ||
/* The currency of membership.price. */ | ||
type MembershipCURRENCY string | ||
|
||
// MembershipCURRENCY constants | ||
const ( | ||
MembershipCURRENCY_JPY MembershipCURRENCY = "JPY" | ||
|
||
MembershipCURRENCY_TWD MembershipCURRENCY = "TWD" | ||
|
||
MembershipCURRENCY_THB MembershipCURRENCY = "THB" | ||
) |
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,31 @@ | ||
/** | ||
* 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 | ||
|
||
// MembershipListResponse | ||
// List of memberships | ||
|
||
type MembershipListResponse struct { | ||
|
||
/** | ||
* List of membership information (Required) | ||
*/ | ||
Memberships []Membership `json:"memberships"` | ||
} |
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,69 @@ | ||
/** | ||
* 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 | ||
|
||
// SubscribedMembershipPlan | ||
// Object containing information about the membership plan. | ||
|
||
type SubscribedMembershipPlan struct { | ||
|
||
/** | ||
* Membership plan ID. (Required) | ||
*/ | ||
MembershipId int32 `json:"membershipId"` | ||
|
||
/** | ||
* Membership plan name. (Required) | ||
*/ | ||
Title string `json:"title"` | ||
|
||
/** | ||
* Membership plan description. (Required) | ||
*/ | ||
Description string `json:"description"` | ||
|
||
/** | ||
* List of membership plan perks. (Required) | ||
*/ | ||
Benefits []string `json:"benefits"` | ||
|
||
/** | ||
* Monthly fee for membership plan. (e.g. 1500.00) (Required) | ||
*/ | ||
Price float64 `json:"price"` | ||
|
||
/** | ||
* The currency of membership.price. (Required) | ||
*/ | ||
Currency SubscribedMembershipPlanCURRENCY `json:"currency"` | ||
} | ||
|
||
// SubscribedMembershipPlanCURRENCY type | ||
/* The currency of membership.price. */ | ||
type SubscribedMembershipPlanCURRENCY string | ||
|
||
// SubscribedMembershipPlanCURRENCY constants | ||
const ( | ||
SubscribedMembershipPlanCURRENCY_JPY SubscribedMembershipPlanCURRENCY = "JPY" | ||
|
||
SubscribedMembershipPlanCURRENCY_TWD SubscribedMembershipPlanCURRENCY = "TWD" | ||
|
||
SubscribedMembershipPlanCURRENCY_THB SubscribedMembershipPlanCURRENCY = "THB" | ||
) |
Oops, something went wrong.