2023-01-07 22:45:01 +00:00
|
|
|
// Code generated by go.arsenm.dev/go-lemmy/cmd/gen (struct generator). DO NOT EDIT.
|
|
|
|
|
2023-01-05 20:51:45 +00:00
|
|
|
package types
|
|
|
|
|
|
|
|
type EmailVerification struct {
|
2023-01-05 21:42:24 +00:00
|
|
|
ID int32 `json:"id" url:"id,omitempty"`
|
|
|
|
LocalUserID int `json:"local_user_id" url:"local_user_id,omitempty"`
|
|
|
|
Email string `json:"email" url:"email,omitempty"`
|
|
|
|
VerificationCode string `json:"verification_code" url:"verification_code,omitempty"`
|
|
|
|
Published LemmyTime `json:"published" url:"published,omitempty"`
|
2023-01-05 20:51:45 +00:00
|
|
|
}
|
|
|
|
type EmailVerificationForm struct {
|
2023-01-05 21:42:24 +00:00
|
|
|
LocalUserID int `json:"local_user_id" url:"local_user_id,omitempty"`
|
|
|
|
Email string `json:"email" url:"email,omitempty"`
|
|
|
|
VerificationToken string `json:"verification_token" url:"verification_token,omitempty"`
|
2023-01-05 20:51:45 +00:00
|
|
|
}
|