go-lemmy/types/community_block.gen.go
2023-01-07 14:45:01 -08:00

15 lines
561 B
Go

// Code generated by go.arsenm.dev/go-lemmy/cmd/gen (struct generator). DO NOT EDIT.
package types
type CommunityBlock struct {
ID int `json:"id" url:"id,omitempty"`
PersonID int `json:"person_id" url:"person_id,omitempty"`
CommunityID int `json:"community_id" url:"community_id,omitempty"`
Published LemmyTime `json:"published" url:"published,omitempty"`
}
type CommunityBlockForm struct {
PersonID int `json:"person_id" url:"person_id,omitempty"`
CommunityID int `json:"community_id" url:"community_id,omitempty"`
}