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 UserJoin struct {
|
2023-01-05 21:42:24 +00:00
|
|
|
Auth string `json:"auth" url:"auth,omitempty"`
|
2023-01-05 20:51:45 +00:00
|
|
|
}
|
|
|
|
type UserJoinResponse struct {
|
2023-01-05 21:42:24 +00:00
|
|
|
Joined bool `json:"joined" url:"joined,omitempty"`
|
2023-01-05 20:51:45 +00:00
|
|
|
LemmyResponse
|
|
|
|
}
|
|
|
|
type CommunityJoin struct {
|
2023-01-05 21:42:24 +00:00
|
|
|
CommunityID int `json:"community_id" url:"community_id,omitempty"`
|
2023-01-05 20:51:45 +00:00
|
|
|
}
|
|
|
|
type CommunityJoinResponse struct {
|
2023-01-05 21:42:24 +00:00
|
|
|
Joined bool `json:"joined" url:"joined,omitempty"`
|
2023-01-05 20:51:45 +00:00
|
|
|
LemmyResponse
|
|
|
|
}
|
|
|
|
type ModJoin struct {
|
2023-01-05 21:42:24 +00:00
|
|
|
CommunityID int `json:"community_id" url:"community_id,omitempty"`
|
2023-01-05 20:51:45 +00:00
|
|
|
}
|
|
|
|
type ModJoinResponse struct {
|
2023-01-05 21:42:24 +00:00
|
|
|
Joined bool `json:"joined" url:"joined,omitempty"`
|
2023-01-05 20:51:45 +00:00
|
|
|
LemmyResponse
|
|
|
|
}
|
|
|
|
type PostJoin struct {
|
2023-01-05 21:42:24 +00:00
|
|
|
PostID int `json:"post_id" url:"post_id,omitempty"`
|
2023-01-05 20:51:45 +00:00
|
|
|
}
|
|
|
|
type PostJoinResponse struct {
|
2023-01-05 21:42:24 +00:00
|
|
|
Joined bool `json:"joined" url:"joined,omitempty"`
|
2023-01-05 20:51:45 +00:00
|
|
|
LemmyResponse
|
|
|
|
}
|