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 PersonMention struct {
|
2023-01-05 21:42:24 +00:00
|
|
|
ID int `json:"id" url:"id,omitempty"`
|
|
|
|
RecipientID int `json:"recipient_id" url:"recipient_id,omitempty"`
|
|
|
|
CommentID int `json:"comment_id" url:"comment_id,omitempty"`
|
|
|
|
Read bool `json:"read" url:"read,omitempty"`
|
|
|
|
Published LemmyTime `json:"published" url:"published,omitempty"`
|
2023-01-05 20:51:45 +00:00
|
|
|
}
|
|
|
|
type PersonMentionForm struct {
|
2023-01-05 21:42:24 +00:00
|
|
|
RecipientID int `json:"recipient_id" url:"recipient_id,omitempty"`
|
|
|
|
CommentID int `json:"comment_id" url:"comment_id,omitempty"`
|
|
|
|
Read Optional[bool] `json:"read" url:"read,omitempty"`
|
2023-01-05 20:51:45 +00:00
|
|
|
}
|