// Code generated by ogen, DO NOT EDIT. package ogent import ( "time" "github.com/go-faster/jx" ) // Ref: #/components/schemas/CardCreate type CardCreate struct { ID int `json:"id"` Card OptInt `json:"card"` Skill OptString `json:"skill"` Status OptString `json:"status"` Cp OptInt `json:"cp"` URL OptString `json:"url"` CreatedAt OptDateTime `json:"created_at"` } // GetID returns the value of ID. func (s *CardCreate) GetID() int { return s.ID } // GetCard returns the value of Card. func (s *CardCreate) GetCard() OptInt { return s.Card } // GetSkill returns the value of Skill. func (s *CardCreate) GetSkill() OptString { return s.Skill } // GetStatus returns the value of Status. func (s *CardCreate) GetStatus() OptString { return s.Status } // GetCp returns the value of Cp. func (s *CardCreate) GetCp() OptInt { return s.Cp } // GetURL returns the value of URL. func (s *CardCreate) GetURL() OptString { return s.URL } // GetCreatedAt returns the value of CreatedAt. func (s *CardCreate) GetCreatedAt() OptDateTime { return s.CreatedAt } // SetID sets the value of ID. func (s *CardCreate) SetID(val int) { s.ID = val } // SetCard sets the value of Card. func (s *CardCreate) SetCard(val OptInt) { s.Card = val } // SetSkill sets the value of Skill. func (s *CardCreate) SetSkill(val OptString) { s.Skill = val } // SetStatus sets the value of Status. func (s *CardCreate) SetStatus(val OptString) { s.Status = val } // SetCp sets the value of Cp. func (s *CardCreate) SetCp(val OptInt) { s.Cp = val } // SetURL sets the value of URL. func (s *CardCreate) SetURL(val OptString) { s.URL = val } // SetCreatedAt sets the value of CreatedAt. func (s *CardCreate) SetCreatedAt(val OptDateTime) { s.CreatedAt = val } func (*CardCreate) createCardRes() {} // Ref: #/components/schemas/CardList type CardList struct { ID int `json:"id"` Card OptInt `json:"card"` Skill OptString `json:"skill"` Status OptString `json:"status"` Cp OptInt `json:"cp"` URL OptString `json:"url"` CreatedAt OptDateTime `json:"created_at"` } // GetID returns the value of ID. func (s *CardList) GetID() int { return s.ID } // GetCard returns the value of Card. func (s *CardList) GetCard() OptInt { return s.Card } // GetSkill returns the value of Skill. func (s *CardList) GetSkill() OptString { return s.Skill } // GetStatus returns the value of Status. func (s *CardList) GetStatus() OptString { return s.Status } // GetCp returns the value of Cp. func (s *CardList) GetCp() OptInt { return s.Cp } // GetURL returns the value of URL. func (s *CardList) GetURL() OptString { return s.URL } // GetCreatedAt returns the value of CreatedAt. func (s *CardList) GetCreatedAt() OptDateTime { return s.CreatedAt } // SetID sets the value of ID. func (s *CardList) SetID(val int) { s.ID = val } // SetCard sets the value of Card. func (s *CardList) SetCard(val OptInt) { s.Card = val } // SetSkill sets the value of Skill. func (s *CardList) SetSkill(val OptString) { s.Skill = val } // SetStatus sets the value of Status. func (s *CardList) SetStatus(val OptString) { s.Status = val } // SetCp sets the value of Cp. func (s *CardList) SetCp(val OptInt) { s.Cp = val } // SetURL sets the value of URL. func (s *CardList) SetURL(val OptString) { s.URL = val } // SetCreatedAt sets the value of CreatedAt. func (s *CardList) SetCreatedAt(val OptDateTime) { s.CreatedAt = val } // Ref: #/components/schemas/Card_OwnerRead type CardOwnerRead struct { ID int `json:"id"` Username string `json:"username"` Did OptString `json:"did"` Member OptBool `json:"member"` Book OptBool `json:"book"` Manga OptBool `json:"manga"` Badge OptBool `json:"badge"` Bsky OptBool `json:"bsky"` Mastodon OptBool `json:"mastodon"` Delete OptBool `json:"delete"` Handle OptBool `json:"handle"` CreatedAt OptDateTime `json:"created_at"` UpdatedAt OptDateTime `json:"updated_at"` RaidAt OptDateTime `json:"raid_at"` Luck OptInt `json:"luck"` LuckAt OptDateTime `json:"luck_at"` Like OptInt `json:"like"` LikeRank OptInt `json:"like_rank"` LikeAt OptDateTime `json:"like_at"` Fav OptInt `json:"fav"` Ten OptBool `json:"ten"` TenSu OptInt `json:"ten_su"` TenKai OptInt `json:"ten_kai"` Aiten OptInt `json:"aiten"` TenCard OptString `json:"ten_card"` TenDelete OptString `json:"ten_delete"` TenPost OptString `json:"ten_post"` TenGet OptString `json:"ten_get"` TenAt OptDateTime `json:"ten_at"` Next OptString `json:"next"` } // GetID returns the value of ID. func (s *CardOwnerRead) GetID() int { return s.ID } // GetUsername returns the value of Username. func (s *CardOwnerRead) GetUsername() string { return s.Username } // GetDid returns the value of Did. func (s *CardOwnerRead) GetDid() OptString { return s.Did } // GetMember returns the value of Member. func (s *CardOwnerRead) GetMember() OptBool { return s.Member } // GetBook returns the value of Book. func (s *CardOwnerRead) GetBook() OptBool { return s.Book } // GetManga returns the value of Manga. func (s *CardOwnerRead) GetManga() OptBool { return s.Manga } // GetBadge returns the value of Badge. func (s *CardOwnerRead) GetBadge() OptBool { return s.Badge } // GetBsky returns the value of Bsky. func (s *CardOwnerRead) GetBsky() OptBool { return s.Bsky } // GetMastodon returns the value of Mastodon. func (s *CardOwnerRead) GetMastodon() OptBool { return s.Mastodon } // GetDelete returns the value of Delete. func (s *CardOwnerRead) GetDelete() OptBool { return s.Delete } // GetHandle returns the value of Handle. func (s *CardOwnerRead) GetHandle() OptBool { return s.Handle } // GetCreatedAt returns the value of CreatedAt. func (s *CardOwnerRead) GetCreatedAt() OptDateTime { return s.CreatedAt } // GetUpdatedAt returns the value of UpdatedAt. func (s *CardOwnerRead) GetUpdatedAt() OptDateTime { return s.UpdatedAt } // GetRaidAt returns the value of RaidAt. func (s *CardOwnerRead) GetRaidAt() OptDateTime { return s.RaidAt } // GetLuck returns the value of Luck. func (s *CardOwnerRead) GetLuck() OptInt { return s.Luck } // GetLuckAt returns the value of LuckAt. func (s *CardOwnerRead) GetLuckAt() OptDateTime { return s.LuckAt } // GetLike returns the value of Like. func (s *CardOwnerRead) GetLike() OptInt { return s.Like } // GetLikeRank returns the value of LikeRank. func (s *CardOwnerRead) GetLikeRank() OptInt { return s.LikeRank } // GetLikeAt returns the value of LikeAt. func (s *CardOwnerRead) GetLikeAt() OptDateTime { return s.LikeAt } // GetFav returns the value of Fav. func (s *CardOwnerRead) GetFav() OptInt { return s.Fav } // GetTen returns the value of Ten. func (s *CardOwnerRead) GetTen() OptBool { return s.Ten } // GetTenSu returns the value of TenSu. func (s *CardOwnerRead) GetTenSu() OptInt { return s.TenSu } // GetTenKai returns the value of TenKai. func (s *CardOwnerRead) GetTenKai() OptInt { return s.TenKai } // GetAiten returns the value of Aiten. func (s *CardOwnerRead) GetAiten() OptInt { return s.Aiten } // GetTenCard returns the value of TenCard. func (s *CardOwnerRead) GetTenCard() OptString { return s.TenCard } // GetTenDelete returns the value of TenDelete. func (s *CardOwnerRead) GetTenDelete() OptString { return s.TenDelete } // GetTenPost returns the value of TenPost. func (s *CardOwnerRead) GetTenPost() OptString { return s.TenPost } // GetTenGet returns the value of TenGet. func (s *CardOwnerRead) GetTenGet() OptString { return s.TenGet } // GetTenAt returns the value of TenAt. func (s *CardOwnerRead) GetTenAt() OptDateTime { return s.TenAt } // GetNext returns the value of Next. func (s *CardOwnerRead) GetNext() OptString { return s.Next } // SetID sets the value of ID. func (s *CardOwnerRead) SetID(val int) { s.ID = val } // SetUsername sets the value of Username. func (s *CardOwnerRead) SetUsername(val string) { s.Username = val } // SetDid sets the value of Did. func (s *CardOwnerRead) SetDid(val OptString) { s.Did = val } // SetMember sets the value of Member. func (s *CardOwnerRead) SetMember(val OptBool) { s.Member = val } // SetBook sets the value of Book. func (s *CardOwnerRead) SetBook(val OptBool) { s.Book = val } // SetManga sets the value of Manga. func (s *CardOwnerRead) SetManga(val OptBool) { s.Manga = val } // SetBadge sets the value of Badge. func (s *CardOwnerRead) SetBadge(val OptBool) { s.Badge = val } // SetBsky sets the value of Bsky. func (s *CardOwnerRead) SetBsky(val OptBool) { s.Bsky = val } // SetMastodon sets the value of Mastodon. func (s *CardOwnerRead) SetMastodon(val OptBool) { s.Mastodon = val } // SetDelete sets the value of Delete. func (s *CardOwnerRead) SetDelete(val OptBool) { s.Delete = val } // SetHandle sets the value of Handle. func (s *CardOwnerRead) SetHandle(val OptBool) { s.Handle = val } // SetCreatedAt sets the value of CreatedAt. func (s *CardOwnerRead) SetCreatedAt(val OptDateTime) { s.CreatedAt = val } // SetUpdatedAt sets the value of UpdatedAt. func (s *CardOwnerRead) SetUpdatedAt(val OptDateTime) { s.UpdatedAt = val } // SetRaidAt sets the value of RaidAt. func (s *CardOwnerRead) SetRaidAt(val OptDateTime) { s.RaidAt = val } // SetLuck sets the value of Luck. func (s *CardOwnerRead) SetLuck(val OptInt) { s.Luck = val } // SetLuckAt sets the value of LuckAt. func (s *CardOwnerRead) SetLuckAt(val OptDateTime) { s.LuckAt = val } // SetLike sets the value of Like. func (s *CardOwnerRead) SetLike(val OptInt) { s.Like = val } // SetLikeRank sets the value of LikeRank. func (s *CardOwnerRead) SetLikeRank(val OptInt) { s.LikeRank = val } // SetLikeAt sets the value of LikeAt. func (s *CardOwnerRead) SetLikeAt(val OptDateTime) { s.LikeAt = val } // SetFav sets the value of Fav. func (s *CardOwnerRead) SetFav(val OptInt) { s.Fav = val } // SetTen sets the value of Ten. func (s *CardOwnerRead) SetTen(val OptBool) { s.Ten = val } // SetTenSu sets the value of TenSu. func (s *CardOwnerRead) SetTenSu(val OptInt) { s.TenSu = val } // SetTenKai sets the value of TenKai. func (s *CardOwnerRead) SetTenKai(val OptInt) { s.TenKai = val } // SetAiten sets the value of Aiten. func (s *CardOwnerRead) SetAiten(val OptInt) { s.Aiten = val } // SetTenCard sets the value of TenCard. func (s *CardOwnerRead) SetTenCard(val OptString) { s.TenCard = val } // SetTenDelete sets the value of TenDelete. func (s *CardOwnerRead) SetTenDelete(val OptString) { s.TenDelete = val } // SetTenPost sets the value of TenPost. func (s *CardOwnerRead) SetTenPost(val OptString) { s.TenPost = val } // SetTenGet sets the value of TenGet. func (s *CardOwnerRead) SetTenGet(val OptString) { s.TenGet = val } // SetTenAt sets the value of TenAt. func (s *CardOwnerRead) SetTenAt(val OptDateTime) { s.TenAt = val } // SetNext sets the value of Next. func (s *CardOwnerRead) SetNext(val OptString) { s.Next = val } func (*CardOwnerRead) readCardOwnerRes() {} // Ref: #/components/schemas/CardRead type CardRead struct { ID int `json:"id"` Card OptInt `json:"card"` Skill OptString `json:"skill"` Status OptString `json:"status"` Cp OptInt `json:"cp"` URL OptString `json:"url"` CreatedAt OptDateTime `json:"created_at"` } // GetID returns the value of ID. func (s *CardRead) GetID() int { return s.ID } // GetCard returns the value of Card. func (s *CardRead) GetCard() OptInt { return s.Card } // GetSkill returns the value of Skill. func (s *CardRead) GetSkill() OptString { return s.Skill } // GetStatus returns the value of Status. func (s *CardRead) GetStatus() OptString { return s.Status } // GetCp returns the value of Cp. func (s *CardRead) GetCp() OptInt { return s.Cp } // GetURL returns the value of URL. func (s *CardRead) GetURL() OptString { return s.URL } // GetCreatedAt returns the value of CreatedAt. func (s *CardRead) GetCreatedAt() OptDateTime { return s.CreatedAt } // SetID sets the value of ID. func (s *CardRead) SetID(val int) { s.ID = val } // SetCard sets the value of Card. func (s *CardRead) SetCard(val OptInt) { s.Card = val } // SetSkill sets the value of Skill. func (s *CardRead) SetSkill(val OptString) { s.Skill = val } // SetStatus sets the value of Status. func (s *CardRead) SetStatus(val OptString) { s.Status = val } // SetCp sets the value of Cp. func (s *CardRead) SetCp(val OptInt) { s.Cp = val } // SetURL sets the value of URL. func (s *CardRead) SetURL(val OptString) { s.URL = val } // SetCreatedAt sets the value of CreatedAt. func (s *CardRead) SetCreatedAt(val OptDateTime) { s.CreatedAt = val } func (*CardRead) readCardRes() {} // Ref: #/components/schemas/CardUpdate type CardUpdate struct { ID int `json:"id"` Card OptInt `json:"card"` Skill OptString `json:"skill"` Status OptString `json:"status"` Cp OptInt `json:"cp"` URL OptString `json:"url"` CreatedAt OptDateTime `json:"created_at"` } // GetID returns the value of ID. func (s *CardUpdate) GetID() int { return s.ID } // GetCard returns the value of Card. func (s *CardUpdate) GetCard() OptInt { return s.Card } // GetSkill returns the value of Skill. func (s *CardUpdate) GetSkill() OptString { return s.Skill } // GetStatus returns the value of Status. func (s *CardUpdate) GetStatus() OptString { return s.Status } // GetCp returns the value of Cp. func (s *CardUpdate) GetCp() OptInt { return s.Cp } // GetURL returns the value of URL. func (s *CardUpdate) GetURL() OptString { return s.URL } // GetCreatedAt returns the value of CreatedAt. func (s *CardUpdate) GetCreatedAt() OptDateTime { return s.CreatedAt } // SetID sets the value of ID. func (s *CardUpdate) SetID(val int) { s.ID = val } // SetCard sets the value of Card. func (s *CardUpdate) SetCard(val OptInt) { s.Card = val } // SetSkill sets the value of Skill. func (s *CardUpdate) SetSkill(val OptString) { s.Skill = val } // SetStatus sets the value of Status. func (s *CardUpdate) SetStatus(val OptString) { s.Status = val } // SetCp sets the value of Cp. func (s *CardUpdate) SetCp(val OptInt) { s.Cp = val } // SetURL sets the value of URL. func (s *CardUpdate) SetURL(val OptString) { s.URL = val } // SetCreatedAt sets the value of CreatedAt. func (s *CardUpdate) SetCreatedAt(val OptDateTime) { s.CreatedAt = val } func (*CardUpdate) updateCardRes() {} type CreateCardReq struct { Password string `json:"password"` Card OptInt `json:"card"` Skill OptString `json:"skill"` Status OptString `json:"status"` Token OptString `json:"token"` Cp OptInt `json:"cp"` URL OptString `json:"url"` CreatedAt OptDateTime `json:"created_at"` Owner int `json:"owner"` } // GetPassword returns the value of Password. func (s *CreateCardReq) GetPassword() string { return s.Password } // GetCard returns the value of Card. func (s *CreateCardReq) GetCard() OptInt { return s.Card } // GetSkill returns the value of Skill. func (s *CreateCardReq) GetSkill() OptString { return s.Skill } // GetStatus returns the value of Status. func (s *CreateCardReq) GetStatus() OptString { return s.Status } // GetToken returns the value of Token. func (s *CreateCardReq) GetToken() OptString { return s.Token } // GetCp returns the value of Cp. func (s *CreateCardReq) GetCp() OptInt { return s.Cp } // GetURL returns the value of URL. func (s *CreateCardReq) GetURL() OptString { return s.URL } // GetCreatedAt returns the value of CreatedAt. func (s *CreateCardReq) GetCreatedAt() OptDateTime { return s.CreatedAt } // GetOwner returns the value of Owner. func (s *CreateCardReq) GetOwner() int { return s.Owner } // SetPassword sets the value of Password. func (s *CreateCardReq) SetPassword(val string) { s.Password = val } // SetCard sets the value of Card. func (s *CreateCardReq) SetCard(val OptInt) { s.Card = val } // SetSkill sets the value of Skill. func (s *CreateCardReq) SetSkill(val OptString) { s.Skill = val } // SetStatus sets the value of Status. func (s *CreateCardReq) SetStatus(val OptString) { s.Status = val } // SetToken sets the value of Token. func (s *CreateCardReq) SetToken(val OptString) { s.Token = val } // SetCp sets the value of Cp. func (s *CreateCardReq) SetCp(val OptInt) { s.Cp = val } // SetURL sets the value of URL. func (s *CreateCardReq) SetURL(val OptString) { s.URL = val } // SetCreatedAt sets the value of CreatedAt. func (s *CreateCardReq) SetCreatedAt(val OptDateTime) { s.CreatedAt = val } // SetOwner sets the value of Owner. func (s *CreateCardReq) SetOwner(val int) { s.Owner = val } type CreateGroupReq struct { Name string `json:"name"` Password string `json:"password"` Users []int `json:"users"` } // GetName returns the value of Name. func (s *CreateGroupReq) GetName() string { return s.Name } // GetPassword returns the value of Password. func (s *CreateGroupReq) GetPassword() string { return s.Password } // GetUsers returns the value of Users. func (s *CreateGroupReq) GetUsers() []int { return s.Users } // SetName sets the value of Name. func (s *CreateGroupReq) SetName(val string) { s.Name = val } // SetPassword sets the value of Password. func (s *CreateGroupReq) SetPassword(val string) { s.Password = val } // SetUsers sets the value of Users. func (s *CreateGroupReq) SetUsers(val []int) { s.Users = val } type CreateUserReq struct { Username string `json:"username"` Did OptString `json:"did"` Member OptBool `json:"member"` Book OptBool `json:"book"` Manga OptBool `json:"manga"` Badge OptBool `json:"badge"` Bsky OptBool `json:"bsky"` Mastodon OptBool `json:"mastodon"` Delete OptBool `json:"delete"` Handle OptBool `json:"handle"` Token OptString `json:"token"` Password string `json:"password"` CreatedAt OptDateTime `json:"created_at"` UpdatedAt OptDateTime `json:"updated_at"` RaidAt OptDateTime `json:"raid_at"` Luck OptInt `json:"luck"` LuckAt OptDateTime `json:"luck_at"` Like OptInt `json:"like"` LikeRank OptInt `json:"like_rank"` LikeAt OptDateTime `json:"like_at"` Fav OptInt `json:"fav"` Ten OptBool `json:"ten"` TenSu OptInt `json:"ten_su"` TenKai OptInt `json:"ten_kai"` Aiten OptInt `json:"aiten"` TenCard OptString `json:"ten_card"` TenDelete OptString `json:"ten_delete"` TenPost OptString `json:"ten_post"` TenGet OptString `json:"ten_get"` TenAt OptDateTime `json:"ten_at"` Next OptString `json:"next"` Card []int `json:"card"` } // GetUsername returns the value of Username. func (s *CreateUserReq) GetUsername() string { return s.Username } // GetDid returns the value of Did. func (s *CreateUserReq) GetDid() OptString { return s.Did } // GetMember returns the value of Member. func (s *CreateUserReq) GetMember() OptBool { return s.Member } // GetBook returns the value of Book. func (s *CreateUserReq) GetBook() OptBool { return s.Book } // GetManga returns the value of Manga. func (s *CreateUserReq) GetManga() OptBool { return s.Manga } // GetBadge returns the value of Badge. func (s *CreateUserReq) GetBadge() OptBool { return s.Badge } // GetBsky returns the value of Bsky. func (s *CreateUserReq) GetBsky() OptBool { return s.Bsky } // GetMastodon returns the value of Mastodon. func (s *CreateUserReq) GetMastodon() OptBool { return s.Mastodon } // GetDelete returns the value of Delete. func (s *CreateUserReq) GetDelete() OptBool { return s.Delete } // GetHandle returns the value of Handle. func (s *CreateUserReq) GetHandle() OptBool { return s.Handle } // GetToken returns the value of Token. func (s *CreateUserReq) GetToken() OptString { return s.Token } // GetPassword returns the value of Password. func (s *CreateUserReq) GetPassword() string { return s.Password } // GetCreatedAt returns the value of CreatedAt. func (s *CreateUserReq) GetCreatedAt() OptDateTime { return s.CreatedAt } // GetUpdatedAt returns the value of UpdatedAt. func (s *CreateUserReq) GetUpdatedAt() OptDateTime { return s.UpdatedAt } // GetRaidAt returns the value of RaidAt. func (s *CreateUserReq) GetRaidAt() OptDateTime { return s.RaidAt } // GetLuck returns the value of Luck. func (s *CreateUserReq) GetLuck() OptInt { return s.Luck } // GetLuckAt returns the value of LuckAt. func (s *CreateUserReq) GetLuckAt() OptDateTime { return s.LuckAt } // GetLike returns the value of Like. func (s *CreateUserReq) GetLike() OptInt { return s.Like } // GetLikeRank returns the value of LikeRank. func (s *CreateUserReq) GetLikeRank() OptInt { return s.LikeRank } // GetLikeAt returns the value of LikeAt. func (s *CreateUserReq) GetLikeAt() OptDateTime { return s.LikeAt } // GetFav returns the value of Fav. func (s *CreateUserReq) GetFav() OptInt { return s.Fav } // GetTen returns the value of Ten. func (s *CreateUserReq) GetTen() OptBool { return s.Ten } // GetTenSu returns the value of TenSu. func (s *CreateUserReq) GetTenSu() OptInt { return s.TenSu } // GetTenKai returns the value of TenKai. func (s *CreateUserReq) GetTenKai() OptInt { return s.TenKai } // GetAiten returns the value of Aiten. func (s *CreateUserReq) GetAiten() OptInt { return s.Aiten } // GetTenCard returns the value of TenCard. func (s *CreateUserReq) GetTenCard() OptString { return s.TenCard } // GetTenDelete returns the value of TenDelete. func (s *CreateUserReq) GetTenDelete() OptString { return s.TenDelete } // GetTenPost returns the value of TenPost. func (s *CreateUserReq) GetTenPost() OptString { return s.TenPost } // GetTenGet returns the value of TenGet. func (s *CreateUserReq) GetTenGet() OptString { return s.TenGet } // GetTenAt returns the value of TenAt. func (s *CreateUserReq) GetTenAt() OptDateTime { return s.TenAt } // GetNext returns the value of Next. func (s *CreateUserReq) GetNext() OptString { return s.Next } // GetCard returns the value of Card. func (s *CreateUserReq) GetCard() []int { return s.Card } // SetUsername sets the value of Username. func (s *CreateUserReq) SetUsername(val string) { s.Username = val } // SetDid sets the value of Did. func (s *CreateUserReq) SetDid(val OptString) { s.Did = val } // SetMember sets the value of Member. func (s *CreateUserReq) SetMember(val OptBool) { s.Member = val } // SetBook sets the value of Book. func (s *CreateUserReq) SetBook(val OptBool) { s.Book = val } // SetManga sets the value of Manga. func (s *CreateUserReq) SetManga(val OptBool) { s.Manga = val } // SetBadge sets the value of Badge. func (s *CreateUserReq) SetBadge(val OptBool) { s.Badge = val } // SetBsky sets the value of Bsky. func (s *CreateUserReq) SetBsky(val OptBool) { s.Bsky = val } // SetMastodon sets the value of Mastodon. func (s *CreateUserReq) SetMastodon(val OptBool) { s.Mastodon = val } // SetDelete sets the value of Delete. func (s *CreateUserReq) SetDelete(val OptBool) { s.Delete = val } // SetHandle sets the value of Handle. func (s *CreateUserReq) SetHandle(val OptBool) { s.Handle = val } // SetToken sets the value of Token. func (s *CreateUserReq) SetToken(val OptString) { s.Token = val } // SetPassword sets the value of Password. func (s *CreateUserReq) SetPassword(val string) { s.Password = val } // SetCreatedAt sets the value of CreatedAt. func (s *CreateUserReq) SetCreatedAt(val OptDateTime) { s.CreatedAt = val } // SetUpdatedAt sets the value of UpdatedAt. func (s *CreateUserReq) SetUpdatedAt(val OptDateTime) { s.UpdatedAt = val } // SetRaidAt sets the value of RaidAt. func (s *CreateUserReq) SetRaidAt(val OptDateTime) { s.RaidAt = val } // SetLuck sets the value of Luck. func (s *CreateUserReq) SetLuck(val OptInt) { s.Luck = val } // SetLuckAt sets the value of LuckAt. func (s *CreateUserReq) SetLuckAt(val OptDateTime) { s.LuckAt = val } // SetLike sets the value of Like. func (s *CreateUserReq) SetLike(val OptInt) { s.Like = val } // SetLikeRank sets the value of LikeRank. func (s *CreateUserReq) SetLikeRank(val OptInt) { s.LikeRank = val } // SetLikeAt sets the value of LikeAt. func (s *CreateUserReq) SetLikeAt(val OptDateTime) { s.LikeAt = val } // SetFav sets the value of Fav. func (s *CreateUserReq) SetFav(val OptInt) { s.Fav = val } // SetTen sets the value of Ten. func (s *CreateUserReq) SetTen(val OptBool) { s.Ten = val } // SetTenSu sets the value of TenSu. func (s *CreateUserReq) SetTenSu(val OptInt) { s.TenSu = val } // SetTenKai sets the value of TenKai. func (s *CreateUserReq) SetTenKai(val OptInt) { s.TenKai = val } // SetAiten sets the value of Aiten. func (s *CreateUserReq) SetAiten(val OptInt) { s.Aiten = val } // SetTenCard sets the value of TenCard. func (s *CreateUserReq) SetTenCard(val OptString) { s.TenCard = val } // SetTenDelete sets the value of TenDelete. func (s *CreateUserReq) SetTenDelete(val OptString) { s.TenDelete = val } // SetTenPost sets the value of TenPost. func (s *CreateUserReq) SetTenPost(val OptString) { s.TenPost = val } // SetTenGet sets the value of TenGet. func (s *CreateUserReq) SetTenGet(val OptString) { s.TenGet = val } // SetTenAt sets the value of TenAt. func (s *CreateUserReq) SetTenAt(val OptDateTime) { s.TenAt = val } // SetNext sets the value of Next. func (s *CreateUserReq) SetNext(val OptString) { s.Next = val } // SetCard sets the value of Card. func (s *CreateUserReq) SetCard(val []int) { s.Card = val } // DeleteCardNoContent is response for DeleteCard operation. type DeleteCardNoContent struct{} func (*DeleteCardNoContent) deleteCardRes() {} // DeleteGroupNoContent is response for DeleteGroup operation. type DeleteGroupNoContent struct{} func (*DeleteGroupNoContent) deleteGroupRes() {} // DeleteUserNoContent is response for DeleteUser operation. type DeleteUserNoContent struct{} func (*DeleteUserNoContent) deleteUserRes() {} // DrawDoneNoContent is response for DrawDone operation. type DrawDoneNoContent struct{} // DrawStartNoContent is response for DrawStart operation. type DrawStartNoContent struct{} // Ref: #/components/schemas/GroupCreate type GroupCreate struct { ID int `json:"id"` Name string `json:"name"` } // GetID returns the value of ID. func (s *GroupCreate) GetID() int { return s.ID } // GetName returns the value of Name. func (s *GroupCreate) GetName() string { return s.Name } // SetID sets the value of ID. func (s *GroupCreate) SetID(val int) { s.ID = val } // SetName sets the value of Name. func (s *GroupCreate) SetName(val string) { s.Name = val } func (*GroupCreate) createGroupRes() {} // Ref: #/components/schemas/GroupList type GroupList struct { ID int `json:"id"` Name string `json:"name"` } // GetID returns the value of ID. func (s *GroupList) GetID() int { return s.ID } // GetName returns the value of Name. func (s *GroupList) GetName() string { return s.Name } // SetID sets the value of ID. func (s *GroupList) SetID(val int) { s.ID = val } // SetName sets the value of Name. func (s *GroupList) SetName(val string) { s.Name = val } // Ref: #/components/schemas/GroupRead type GroupRead struct { ID int `json:"id"` Name string `json:"name"` } // GetID returns the value of ID. func (s *GroupRead) GetID() int { return s.ID } // GetName returns the value of Name. func (s *GroupRead) GetName() string { return s.Name } // SetID sets the value of ID. func (s *GroupRead) SetID(val int) { s.ID = val } // SetName sets the value of Name. func (s *GroupRead) SetName(val string) { s.Name = val } func (*GroupRead) readGroupRes() {} // Ref: #/components/schemas/GroupUpdate type GroupUpdate struct { ID int `json:"id"` Name string `json:"name"` } // GetID returns the value of ID. func (s *GroupUpdate) GetID() int { return s.ID } // GetName returns the value of Name. func (s *GroupUpdate) GetName() string { return s.Name } // SetID sets the value of ID. func (s *GroupUpdate) SetID(val int) { s.ID = val } // SetName sets the value of Name. func (s *GroupUpdate) SetName(val string) { s.Name = val } func (*GroupUpdate) updateGroupRes() {} // Ref: #/components/schemas/Group_UsersList type GroupUsersList struct { ID int `json:"id"` Username string `json:"username"` Did OptString `json:"did"` Member OptBool `json:"member"` Book OptBool `json:"book"` Manga OptBool `json:"manga"` Badge OptBool `json:"badge"` Bsky OptBool `json:"bsky"` Mastodon OptBool `json:"mastodon"` Delete OptBool `json:"delete"` Handle OptBool `json:"handle"` CreatedAt OptDateTime `json:"created_at"` UpdatedAt OptDateTime `json:"updated_at"` RaidAt OptDateTime `json:"raid_at"` Luck OptInt `json:"luck"` LuckAt OptDateTime `json:"luck_at"` Like OptInt `json:"like"` LikeRank OptInt `json:"like_rank"` LikeAt OptDateTime `json:"like_at"` Fav OptInt `json:"fav"` Ten OptBool `json:"ten"` TenSu OptInt `json:"ten_su"` TenKai OptInt `json:"ten_kai"` Aiten OptInt `json:"aiten"` TenCard OptString `json:"ten_card"` TenDelete OptString `json:"ten_delete"` TenPost OptString `json:"ten_post"` TenGet OptString `json:"ten_get"` TenAt OptDateTime `json:"ten_at"` Next OptString `json:"next"` } // GetID returns the value of ID. func (s *GroupUsersList) GetID() int { return s.ID } // GetUsername returns the value of Username. func (s *GroupUsersList) GetUsername() string { return s.Username } // GetDid returns the value of Did. func (s *GroupUsersList) GetDid() OptString { return s.Did } // GetMember returns the value of Member. func (s *GroupUsersList) GetMember() OptBool { return s.Member } // GetBook returns the value of Book. func (s *GroupUsersList) GetBook() OptBool { return s.Book } // GetManga returns the value of Manga. func (s *GroupUsersList) GetManga() OptBool { return s.Manga } // GetBadge returns the value of Badge. func (s *GroupUsersList) GetBadge() OptBool { return s.Badge } // GetBsky returns the value of Bsky. func (s *GroupUsersList) GetBsky() OptBool { return s.Bsky } // GetMastodon returns the value of Mastodon. func (s *GroupUsersList) GetMastodon() OptBool { return s.Mastodon } // GetDelete returns the value of Delete. func (s *GroupUsersList) GetDelete() OptBool { return s.Delete } // GetHandle returns the value of Handle. func (s *GroupUsersList) GetHandle() OptBool { return s.Handle } // GetCreatedAt returns the value of CreatedAt. func (s *GroupUsersList) GetCreatedAt() OptDateTime { return s.CreatedAt } // GetUpdatedAt returns the value of UpdatedAt. func (s *GroupUsersList) GetUpdatedAt() OptDateTime { return s.UpdatedAt } // GetRaidAt returns the value of RaidAt. func (s *GroupUsersList) GetRaidAt() OptDateTime { return s.RaidAt } // GetLuck returns the value of Luck. func (s *GroupUsersList) GetLuck() OptInt { return s.Luck } // GetLuckAt returns the value of LuckAt. func (s *GroupUsersList) GetLuckAt() OptDateTime { return s.LuckAt } // GetLike returns the value of Like. func (s *GroupUsersList) GetLike() OptInt { return s.Like } // GetLikeRank returns the value of LikeRank. func (s *GroupUsersList) GetLikeRank() OptInt { return s.LikeRank } // GetLikeAt returns the value of LikeAt. func (s *GroupUsersList) GetLikeAt() OptDateTime { return s.LikeAt } // GetFav returns the value of Fav. func (s *GroupUsersList) GetFav() OptInt { return s.Fav } // GetTen returns the value of Ten. func (s *GroupUsersList) GetTen() OptBool { return s.Ten } // GetTenSu returns the value of TenSu. func (s *GroupUsersList) GetTenSu() OptInt { return s.TenSu } // GetTenKai returns the value of TenKai. func (s *GroupUsersList) GetTenKai() OptInt { return s.TenKai } // GetAiten returns the value of Aiten. func (s *GroupUsersList) GetAiten() OptInt { return s.Aiten } // GetTenCard returns the value of TenCard. func (s *GroupUsersList) GetTenCard() OptString { return s.TenCard } // GetTenDelete returns the value of TenDelete. func (s *GroupUsersList) GetTenDelete() OptString { return s.TenDelete } // GetTenPost returns the value of TenPost. func (s *GroupUsersList) GetTenPost() OptString { return s.TenPost } // GetTenGet returns the value of TenGet. func (s *GroupUsersList) GetTenGet() OptString { return s.TenGet } // GetTenAt returns the value of TenAt. func (s *GroupUsersList) GetTenAt() OptDateTime { return s.TenAt } // GetNext returns the value of Next. func (s *GroupUsersList) GetNext() OptString { return s.Next } // SetID sets the value of ID. func (s *GroupUsersList) SetID(val int) { s.ID = val } // SetUsername sets the value of Username. func (s *GroupUsersList) SetUsername(val string) { s.Username = val } // SetDid sets the value of Did. func (s *GroupUsersList) SetDid(val OptString) { s.Did = val } // SetMember sets the value of Member. func (s *GroupUsersList) SetMember(val OptBool) { s.Member = val } // SetBook sets the value of Book. func (s *GroupUsersList) SetBook(val OptBool) { s.Book = val } // SetManga sets the value of Manga. func (s *GroupUsersList) SetManga(val OptBool) { s.Manga = val } // SetBadge sets the value of Badge. func (s *GroupUsersList) SetBadge(val OptBool) { s.Badge = val } // SetBsky sets the value of Bsky. func (s *GroupUsersList) SetBsky(val OptBool) { s.Bsky = val } // SetMastodon sets the value of Mastodon. func (s *GroupUsersList) SetMastodon(val OptBool) { s.Mastodon = val } // SetDelete sets the value of Delete. func (s *GroupUsersList) SetDelete(val OptBool) { s.Delete = val } // SetHandle sets the value of Handle. func (s *GroupUsersList) SetHandle(val OptBool) { s.Handle = val } // SetCreatedAt sets the value of CreatedAt. func (s *GroupUsersList) SetCreatedAt(val OptDateTime) { s.CreatedAt = val } // SetUpdatedAt sets the value of UpdatedAt. func (s *GroupUsersList) SetUpdatedAt(val OptDateTime) { s.UpdatedAt = val } // SetRaidAt sets the value of RaidAt. func (s *GroupUsersList) SetRaidAt(val OptDateTime) { s.RaidAt = val } // SetLuck sets the value of Luck. func (s *GroupUsersList) SetLuck(val OptInt) { s.Luck = val } // SetLuckAt sets the value of LuckAt. func (s *GroupUsersList) SetLuckAt(val OptDateTime) { s.LuckAt = val } // SetLike sets the value of Like. func (s *GroupUsersList) SetLike(val OptInt) { s.Like = val } // SetLikeRank sets the value of LikeRank. func (s *GroupUsersList) SetLikeRank(val OptInt) { s.LikeRank = val } // SetLikeAt sets the value of LikeAt. func (s *GroupUsersList) SetLikeAt(val OptDateTime) { s.LikeAt = val } // SetFav sets the value of Fav. func (s *GroupUsersList) SetFav(val OptInt) { s.Fav = val } // SetTen sets the value of Ten. func (s *GroupUsersList) SetTen(val OptBool) { s.Ten = val } // SetTenSu sets the value of TenSu. func (s *GroupUsersList) SetTenSu(val OptInt) { s.TenSu = val } // SetTenKai sets the value of TenKai. func (s *GroupUsersList) SetTenKai(val OptInt) { s.TenKai = val } // SetAiten sets the value of Aiten. func (s *GroupUsersList) SetAiten(val OptInt) { s.Aiten = val } // SetTenCard sets the value of TenCard. func (s *GroupUsersList) SetTenCard(val OptString) { s.TenCard = val } // SetTenDelete sets the value of TenDelete. func (s *GroupUsersList) SetTenDelete(val OptString) { s.TenDelete = val } // SetTenPost sets the value of TenPost. func (s *GroupUsersList) SetTenPost(val OptString) { s.TenPost = val } // SetTenGet sets the value of TenGet. func (s *GroupUsersList) SetTenGet(val OptString) { s.TenGet = val } // SetTenAt sets the value of TenAt. func (s *GroupUsersList) SetTenAt(val OptDateTime) { s.TenAt = val } // SetNext sets the value of Next. func (s *GroupUsersList) SetNext(val OptString) { s.Next = val } type ListCardOKApplicationJSON []CardList func (*ListCardOKApplicationJSON) listCardRes() {} type ListGroupOKApplicationJSON []GroupList func (*ListGroupOKApplicationJSON) listGroupRes() {} type ListGroupUsersOKApplicationJSON []GroupUsersList func (*ListGroupUsersOKApplicationJSON) listGroupUsersRes() {} type ListUserCardOKApplicationJSON []UserCardList func (*ListUserCardOKApplicationJSON) listUserCardRes() {} type ListUserOKApplicationJSON []UserList func (*ListUserOKApplicationJSON) listUserRes() {} // NewOptBool returns new OptBool with value set to v. func NewOptBool(v bool) OptBool { return OptBool{ Value: v, Set: true, } } // OptBool is optional bool. type OptBool struct { Value bool Set bool } // IsSet returns true if OptBool was set. func (o OptBool) IsSet() bool { return o.Set } // Reset unsets value. func (o *OptBool) Reset() { var v bool o.Value = v o.Set = false } // SetTo sets value to v. func (o *OptBool) SetTo(v bool) { o.Set = true o.Value = v } // Get returns value and boolean that denotes whether value was set. func (o OptBool) Get() (v bool, ok bool) { if !o.Set { return v, false } return o.Value, true } // Or returns value if set, or given parameter if does not. func (o OptBool) Or(d bool) bool { if v, ok := o.Get(); ok { return v } return d } // NewOptDateTime returns new OptDateTime with value set to v. func NewOptDateTime(v time.Time) OptDateTime { return OptDateTime{ Value: v, Set: true, } } // OptDateTime is optional time.Time. type OptDateTime struct { Value time.Time Set bool } // IsSet returns true if OptDateTime was set. func (o OptDateTime) IsSet() bool { return o.Set } // Reset unsets value. func (o *OptDateTime) Reset() { var v time.Time o.Value = v o.Set = false } // SetTo sets value to v. func (o *OptDateTime) SetTo(v time.Time) { o.Set = true o.Value = v } // Get returns value and boolean that denotes whether value was set. func (o OptDateTime) Get() (v time.Time, ok bool) { if !o.Set { return v, false } return o.Value, true } // Or returns value if set, or given parameter if does not. func (o OptDateTime) Or(d time.Time) time.Time { if v, ok := o.Get(); ok { return v } return d } // NewOptInt returns new OptInt with value set to v. func NewOptInt(v int) OptInt { return OptInt{ Value: v, Set: true, } } // OptInt is optional int. type OptInt struct { Value int Set bool } // IsSet returns true if OptInt was set. func (o OptInt) IsSet() bool { return o.Set } // Reset unsets value. func (o *OptInt) Reset() { var v int o.Value = v o.Set = false } // SetTo sets value to v. func (o *OptInt) SetTo(v int) { o.Set = true o.Value = v } // Get returns value and boolean that denotes whether value was set. func (o OptInt) Get() (v int, ok bool) { if !o.Set { return v, false } return o.Value, true } // Or returns value if set, or given parameter if does not. func (o OptInt) Or(d int) int { if v, ok := o.Get(); ok { return v } return d } // NewOptString returns new OptString with value set to v. func NewOptString(v string) OptString { return OptString{ Value: v, Set: true, } } // OptString is optional string. type OptString struct { Value string Set bool } // IsSet returns true if OptString was set. func (o OptString) IsSet() bool { return o.Set } // Reset unsets value. func (o *OptString) Reset() { var v string o.Value = v o.Set = false } // SetTo sets value to v. func (o *OptString) SetTo(v string) { o.Set = true o.Value = v } // Get returns value and boolean that denotes whether value was set. func (o OptString) Get() (v string, ok bool) { if !o.Set { return v, false } return o.Value, true } // Or returns value if set, or given parameter if does not. func (o OptString) Or(d string) string { if v, ok := o.Get(); ok { return v } return d } type R400 struct { Code int `json:"code"` Status string `json:"status"` Errors jx.Raw `json:"errors"` } // GetCode returns the value of Code. func (s *R400) GetCode() int { return s.Code } // GetStatus returns the value of Status. func (s *R400) GetStatus() string { return s.Status } // GetErrors returns the value of Errors. func (s *R400) GetErrors() jx.Raw { return s.Errors } // SetCode sets the value of Code. func (s *R400) SetCode(val int) { s.Code = val } // SetStatus sets the value of Status. func (s *R400) SetStatus(val string) { s.Status = val } // SetErrors sets the value of Errors. func (s *R400) SetErrors(val jx.Raw) { s.Errors = val } func (*R400) createCardRes() {} func (*R400) createGroupRes() {} func (*R400) createUserRes() {} func (*R400) deleteCardRes() {} func (*R400) deleteGroupRes() {} func (*R400) deleteUserRes() {} func (*R400) listCardRes() {} func (*R400) listGroupRes() {} func (*R400) listGroupUsersRes() {} func (*R400) listUserCardRes() {} func (*R400) listUserRes() {} func (*R400) readCardOwnerRes() {} func (*R400) readCardRes() {} func (*R400) readGroupRes() {} func (*R400) readUserRes() {} func (*R400) updateCardRes() {} func (*R400) updateGroupRes() {} func (*R400) updateUserRes() {} type R404 struct { Code int `json:"code"` Status string `json:"status"` Errors jx.Raw `json:"errors"` } // GetCode returns the value of Code. func (s *R404) GetCode() int { return s.Code } // GetStatus returns the value of Status. func (s *R404) GetStatus() string { return s.Status } // GetErrors returns the value of Errors. func (s *R404) GetErrors() jx.Raw { return s.Errors } // SetCode sets the value of Code. func (s *R404) SetCode(val int) { s.Code = val } // SetStatus sets the value of Status. func (s *R404) SetStatus(val string) { s.Status = val } // SetErrors sets the value of Errors. func (s *R404) SetErrors(val jx.Raw) { s.Errors = val } func (*R404) deleteCardRes() {} func (*R404) deleteGroupRes() {} func (*R404) deleteUserRes() {} func (*R404) listCardRes() {} func (*R404) listGroupRes() {} func (*R404) listGroupUsersRes() {} func (*R404) listUserCardRes() {} func (*R404) listUserRes() {} func (*R404) readCardOwnerRes() {} func (*R404) readCardRes() {} func (*R404) readGroupRes() {} func (*R404) readUserRes() {} func (*R404) updateCardRes() {} func (*R404) updateGroupRes() {} func (*R404) updateUserRes() {} type R409 struct { Code int `json:"code"` Status string `json:"status"` Errors jx.Raw `json:"errors"` } // GetCode returns the value of Code. func (s *R409) GetCode() int { return s.Code } // GetStatus returns the value of Status. func (s *R409) GetStatus() string { return s.Status } // GetErrors returns the value of Errors. func (s *R409) GetErrors() jx.Raw { return s.Errors } // SetCode sets the value of Code. func (s *R409) SetCode(val int) { s.Code = val } // SetStatus sets the value of Status. func (s *R409) SetStatus(val string) { s.Status = val } // SetErrors sets the value of Errors. func (s *R409) SetErrors(val jx.Raw) { s.Errors = val } func (*R409) createCardRes() {} func (*R409) createGroupRes() {} func (*R409) createUserRes() {} func (*R409) deleteCardRes() {} func (*R409) deleteGroupRes() {} func (*R409) deleteUserRes() {} func (*R409) listCardRes() {} func (*R409) listGroupRes() {} func (*R409) listGroupUsersRes() {} func (*R409) listUserCardRes() {} func (*R409) listUserRes() {} func (*R409) readCardOwnerRes() {} func (*R409) readCardRes() {} func (*R409) readGroupRes() {} func (*R409) readUserRes() {} func (*R409) updateCardRes() {} func (*R409) updateGroupRes() {} func (*R409) updateUserRes() {} type R500 struct { Code int `json:"code"` Status string `json:"status"` Errors jx.Raw `json:"errors"` } // GetCode returns the value of Code. func (s *R500) GetCode() int { return s.Code } // GetStatus returns the value of Status. func (s *R500) GetStatus() string { return s.Status } // GetErrors returns the value of Errors. func (s *R500) GetErrors() jx.Raw { return s.Errors } // SetCode sets the value of Code. func (s *R500) SetCode(val int) { s.Code = val } // SetStatus sets the value of Status. func (s *R500) SetStatus(val string) { s.Status = val } // SetErrors sets the value of Errors. func (s *R500) SetErrors(val jx.Raw) { s.Errors = val } func (*R500) createCardRes() {} func (*R500) createGroupRes() {} func (*R500) createUserRes() {} func (*R500) deleteCardRes() {} func (*R500) deleteGroupRes() {} func (*R500) deleteUserRes() {} func (*R500) listCardRes() {} func (*R500) listGroupRes() {} func (*R500) listGroupUsersRes() {} func (*R500) listUserCardRes() {} func (*R500) listUserRes() {} func (*R500) readCardOwnerRes() {} func (*R500) readCardRes() {} func (*R500) readGroupRes() {} func (*R500) readUserRes() {} func (*R500) updateCardRes() {} func (*R500) updateGroupRes() {} func (*R500) updateUserRes() {} type UpdateCardReq struct { Card OptInt `json:"card"` Skill OptString `json:"skill"` Status OptString `json:"status"` Token OptString `json:"token"` Cp OptInt `json:"cp"` Owner OptInt `json:"owner"` } // GetCard returns the value of Card. func (s *UpdateCardReq) GetCard() OptInt { return s.Card } // GetSkill returns the value of Skill. func (s *UpdateCardReq) GetSkill() OptString { return s.Skill } // GetStatus returns the value of Status. func (s *UpdateCardReq) GetStatus() OptString { return s.Status } // GetToken returns the value of Token. func (s *UpdateCardReq) GetToken() OptString { return s.Token } // GetCp returns the value of Cp. func (s *UpdateCardReq) GetCp() OptInt { return s.Cp } // GetOwner returns the value of Owner. func (s *UpdateCardReq) GetOwner() OptInt { return s.Owner } // SetCard sets the value of Card. func (s *UpdateCardReq) SetCard(val OptInt) { s.Card = val } // SetSkill sets the value of Skill. func (s *UpdateCardReq) SetSkill(val OptString) { s.Skill = val } // SetStatus sets the value of Status. func (s *UpdateCardReq) SetStatus(val OptString) { s.Status = val } // SetToken sets the value of Token. func (s *UpdateCardReq) SetToken(val OptString) { s.Token = val } // SetCp sets the value of Cp. func (s *UpdateCardReq) SetCp(val OptInt) { s.Cp = val } // SetOwner sets the value of Owner. func (s *UpdateCardReq) SetOwner(val OptInt) { s.Owner = val } type UpdateGroupReq struct { Name OptString `json:"name"` Users []int `json:"users"` } // GetName returns the value of Name. func (s *UpdateGroupReq) GetName() OptString { return s.Name } // GetUsers returns the value of Users. func (s *UpdateGroupReq) GetUsers() []int { return s.Users } // SetName sets the value of Name. func (s *UpdateGroupReq) SetName(val OptString) { s.Name = val } // SetUsers sets the value of Users. func (s *UpdateGroupReq) SetUsers(val []int) { s.Users = val } type UpdateUserReq struct { Did OptString `json:"did"` Member OptBool `json:"member"` Book OptBool `json:"book"` Manga OptBool `json:"manga"` Badge OptBool `json:"badge"` Bsky OptBool `json:"bsky"` Mastodon OptBool `json:"mastodon"` Delete OptBool `json:"delete"` Handle OptBool `json:"handle"` Token OptString `json:"token"` UpdatedAt OptDateTime `json:"updated_at"` RaidAt OptDateTime `json:"raid_at"` Luck OptInt `json:"luck"` LuckAt OptDateTime `json:"luck_at"` Like OptInt `json:"like"` LikeRank OptInt `json:"like_rank"` LikeAt OptDateTime `json:"like_at"` Fav OptInt `json:"fav"` Ten OptBool `json:"ten"` TenSu OptInt `json:"ten_su"` TenKai OptInt `json:"ten_kai"` Aiten OptInt `json:"aiten"` TenCard OptString `json:"ten_card"` TenDelete OptString `json:"ten_delete"` TenPost OptString `json:"ten_post"` TenGet OptString `json:"ten_get"` TenAt OptDateTime `json:"ten_at"` Next OptString `json:"next"` Card []int `json:"card"` } // GetDid returns the value of Did. func (s *UpdateUserReq) GetDid() OptString { return s.Did } // GetMember returns the value of Member. func (s *UpdateUserReq) GetMember() OptBool { return s.Member } // GetBook returns the value of Book. func (s *UpdateUserReq) GetBook() OptBool { return s.Book } // GetManga returns the value of Manga. func (s *UpdateUserReq) GetManga() OptBool { return s.Manga } // GetBadge returns the value of Badge. func (s *UpdateUserReq) GetBadge() OptBool { return s.Badge } // GetBsky returns the value of Bsky. func (s *UpdateUserReq) GetBsky() OptBool { return s.Bsky } // GetMastodon returns the value of Mastodon. func (s *UpdateUserReq) GetMastodon() OptBool { return s.Mastodon } // GetDelete returns the value of Delete. func (s *UpdateUserReq) GetDelete() OptBool { return s.Delete } // GetHandle returns the value of Handle. func (s *UpdateUserReq) GetHandle() OptBool { return s.Handle } // GetToken returns the value of Token. func (s *UpdateUserReq) GetToken() OptString { return s.Token } // GetUpdatedAt returns the value of UpdatedAt. func (s *UpdateUserReq) GetUpdatedAt() OptDateTime { return s.UpdatedAt } // GetRaidAt returns the value of RaidAt. func (s *UpdateUserReq) GetRaidAt() OptDateTime { return s.RaidAt } // GetLuck returns the value of Luck. func (s *UpdateUserReq) GetLuck() OptInt { return s.Luck } // GetLuckAt returns the value of LuckAt. func (s *UpdateUserReq) GetLuckAt() OptDateTime { return s.LuckAt } // GetLike returns the value of Like. func (s *UpdateUserReq) GetLike() OptInt { return s.Like } // GetLikeRank returns the value of LikeRank. func (s *UpdateUserReq) GetLikeRank() OptInt { return s.LikeRank } // GetLikeAt returns the value of LikeAt. func (s *UpdateUserReq) GetLikeAt() OptDateTime { return s.LikeAt } // GetFav returns the value of Fav. func (s *UpdateUserReq) GetFav() OptInt { return s.Fav } // GetTen returns the value of Ten. func (s *UpdateUserReq) GetTen() OptBool { return s.Ten } // GetTenSu returns the value of TenSu. func (s *UpdateUserReq) GetTenSu() OptInt { return s.TenSu } // GetTenKai returns the value of TenKai. func (s *UpdateUserReq) GetTenKai() OptInt { return s.TenKai } // GetAiten returns the value of Aiten. func (s *UpdateUserReq) GetAiten() OptInt { return s.Aiten } // GetTenCard returns the value of TenCard. func (s *UpdateUserReq) GetTenCard() OptString { return s.TenCard } // GetTenDelete returns the value of TenDelete. func (s *UpdateUserReq) GetTenDelete() OptString { return s.TenDelete } // GetTenPost returns the value of TenPost. func (s *UpdateUserReq) GetTenPost() OptString { return s.TenPost } // GetTenGet returns the value of TenGet. func (s *UpdateUserReq) GetTenGet() OptString { return s.TenGet } // GetTenAt returns the value of TenAt. func (s *UpdateUserReq) GetTenAt() OptDateTime { return s.TenAt } // GetNext returns the value of Next. func (s *UpdateUserReq) GetNext() OptString { return s.Next } // GetCard returns the value of Card. func (s *UpdateUserReq) GetCard() []int { return s.Card } // SetDid sets the value of Did. func (s *UpdateUserReq) SetDid(val OptString) { s.Did = val } // SetMember sets the value of Member. func (s *UpdateUserReq) SetMember(val OptBool) { s.Member = val } // SetBook sets the value of Book. func (s *UpdateUserReq) SetBook(val OptBool) { s.Book = val } // SetManga sets the value of Manga. func (s *UpdateUserReq) SetManga(val OptBool) { s.Manga = val } // SetBadge sets the value of Badge. func (s *UpdateUserReq) SetBadge(val OptBool) { s.Badge = val } // SetBsky sets the value of Bsky. func (s *UpdateUserReq) SetBsky(val OptBool) { s.Bsky = val } // SetMastodon sets the value of Mastodon. func (s *UpdateUserReq) SetMastodon(val OptBool) { s.Mastodon = val } // SetDelete sets the value of Delete. func (s *UpdateUserReq) SetDelete(val OptBool) { s.Delete = val } // SetHandle sets the value of Handle. func (s *UpdateUserReq) SetHandle(val OptBool) { s.Handle = val } // SetToken sets the value of Token. func (s *UpdateUserReq) SetToken(val OptString) { s.Token = val } // SetUpdatedAt sets the value of UpdatedAt. func (s *UpdateUserReq) SetUpdatedAt(val OptDateTime) { s.UpdatedAt = val } // SetRaidAt sets the value of RaidAt. func (s *UpdateUserReq) SetRaidAt(val OptDateTime) { s.RaidAt = val } // SetLuck sets the value of Luck. func (s *UpdateUserReq) SetLuck(val OptInt) { s.Luck = val } // SetLuckAt sets the value of LuckAt. func (s *UpdateUserReq) SetLuckAt(val OptDateTime) { s.LuckAt = val } // SetLike sets the value of Like. func (s *UpdateUserReq) SetLike(val OptInt) { s.Like = val } // SetLikeRank sets the value of LikeRank. func (s *UpdateUserReq) SetLikeRank(val OptInt) { s.LikeRank = val } // SetLikeAt sets the value of LikeAt. func (s *UpdateUserReq) SetLikeAt(val OptDateTime) { s.LikeAt = val } // SetFav sets the value of Fav. func (s *UpdateUserReq) SetFav(val OptInt) { s.Fav = val } // SetTen sets the value of Ten. func (s *UpdateUserReq) SetTen(val OptBool) { s.Ten = val } // SetTenSu sets the value of TenSu. func (s *UpdateUserReq) SetTenSu(val OptInt) { s.TenSu = val } // SetTenKai sets the value of TenKai. func (s *UpdateUserReq) SetTenKai(val OptInt) { s.TenKai = val } // SetAiten sets the value of Aiten. func (s *UpdateUserReq) SetAiten(val OptInt) { s.Aiten = val } // SetTenCard sets the value of TenCard. func (s *UpdateUserReq) SetTenCard(val OptString) { s.TenCard = val } // SetTenDelete sets the value of TenDelete. func (s *UpdateUserReq) SetTenDelete(val OptString) { s.TenDelete = val } // SetTenPost sets the value of TenPost. func (s *UpdateUserReq) SetTenPost(val OptString) { s.TenPost = val } // SetTenGet sets the value of TenGet. func (s *UpdateUserReq) SetTenGet(val OptString) { s.TenGet = val } // SetTenAt sets the value of TenAt. func (s *UpdateUserReq) SetTenAt(val OptDateTime) { s.TenAt = val } // SetNext sets the value of Next. func (s *UpdateUserReq) SetNext(val OptString) { s.Next = val } // SetCard sets the value of Card. func (s *UpdateUserReq) SetCard(val []int) { s.Card = val } // Ref: #/components/schemas/User_CardList type UserCardList struct { ID int `json:"id"` Card OptInt `json:"card"` Skill OptString `json:"skill"` Status OptString `json:"status"` Cp OptInt `json:"cp"` URL OptString `json:"url"` CreatedAt OptDateTime `json:"created_at"` } // GetID returns the value of ID. func (s *UserCardList) GetID() int { return s.ID } // GetCard returns the value of Card. func (s *UserCardList) GetCard() OptInt { return s.Card } // GetSkill returns the value of Skill. func (s *UserCardList) GetSkill() OptString { return s.Skill } // GetStatus returns the value of Status. func (s *UserCardList) GetStatus() OptString { return s.Status } // GetCp returns the value of Cp. func (s *UserCardList) GetCp() OptInt { return s.Cp } // GetURL returns the value of URL. func (s *UserCardList) GetURL() OptString { return s.URL } // GetCreatedAt returns the value of CreatedAt. func (s *UserCardList) GetCreatedAt() OptDateTime { return s.CreatedAt } // SetID sets the value of ID. func (s *UserCardList) SetID(val int) { s.ID = val } // SetCard sets the value of Card. func (s *UserCardList) SetCard(val OptInt) { s.Card = val } // SetSkill sets the value of Skill. func (s *UserCardList) SetSkill(val OptString) { s.Skill = val } // SetStatus sets the value of Status. func (s *UserCardList) SetStatus(val OptString) { s.Status = val } // SetCp sets the value of Cp. func (s *UserCardList) SetCp(val OptInt) { s.Cp = val } // SetURL sets the value of URL. func (s *UserCardList) SetURL(val OptString) { s.URL = val } // SetCreatedAt sets the value of CreatedAt. func (s *UserCardList) SetCreatedAt(val OptDateTime) { s.CreatedAt = val } // Ref: #/components/schemas/UserCreate type UserCreate struct { ID int `json:"id"` Username string `json:"username"` Did OptString `json:"did"` Member OptBool `json:"member"` Book OptBool `json:"book"` Manga OptBool `json:"manga"` Badge OptBool `json:"badge"` Bsky OptBool `json:"bsky"` Mastodon OptBool `json:"mastodon"` Delete OptBool `json:"delete"` Handle OptBool `json:"handle"` CreatedAt OptDateTime `json:"created_at"` UpdatedAt OptDateTime `json:"updated_at"` RaidAt OptDateTime `json:"raid_at"` Luck OptInt `json:"luck"` LuckAt OptDateTime `json:"luck_at"` Like OptInt `json:"like"` LikeRank OptInt `json:"like_rank"` LikeAt OptDateTime `json:"like_at"` Fav OptInt `json:"fav"` Ten OptBool `json:"ten"` TenSu OptInt `json:"ten_su"` TenKai OptInt `json:"ten_kai"` Aiten OptInt `json:"aiten"` TenCard OptString `json:"ten_card"` TenDelete OptString `json:"ten_delete"` TenPost OptString `json:"ten_post"` TenGet OptString `json:"ten_get"` TenAt OptDateTime `json:"ten_at"` Next OptString `json:"next"` } // GetID returns the value of ID. func (s *UserCreate) GetID() int { return s.ID } // GetUsername returns the value of Username. func (s *UserCreate) GetUsername() string { return s.Username } // GetDid returns the value of Did. func (s *UserCreate) GetDid() OptString { return s.Did } // GetMember returns the value of Member. func (s *UserCreate) GetMember() OptBool { return s.Member } // GetBook returns the value of Book. func (s *UserCreate) GetBook() OptBool { return s.Book } // GetManga returns the value of Manga. func (s *UserCreate) GetManga() OptBool { return s.Manga } // GetBadge returns the value of Badge. func (s *UserCreate) GetBadge() OptBool { return s.Badge } // GetBsky returns the value of Bsky. func (s *UserCreate) GetBsky() OptBool { return s.Bsky } // GetMastodon returns the value of Mastodon. func (s *UserCreate) GetMastodon() OptBool { return s.Mastodon } // GetDelete returns the value of Delete. func (s *UserCreate) GetDelete() OptBool { return s.Delete } // GetHandle returns the value of Handle. func (s *UserCreate) GetHandle() OptBool { return s.Handle } // GetCreatedAt returns the value of CreatedAt. func (s *UserCreate) GetCreatedAt() OptDateTime { return s.CreatedAt } // GetUpdatedAt returns the value of UpdatedAt. func (s *UserCreate) GetUpdatedAt() OptDateTime { return s.UpdatedAt } // GetRaidAt returns the value of RaidAt. func (s *UserCreate) GetRaidAt() OptDateTime { return s.RaidAt } // GetLuck returns the value of Luck. func (s *UserCreate) GetLuck() OptInt { return s.Luck } // GetLuckAt returns the value of LuckAt. func (s *UserCreate) GetLuckAt() OptDateTime { return s.LuckAt } // GetLike returns the value of Like. func (s *UserCreate) GetLike() OptInt { return s.Like } // GetLikeRank returns the value of LikeRank. func (s *UserCreate) GetLikeRank() OptInt { return s.LikeRank } // GetLikeAt returns the value of LikeAt. func (s *UserCreate) GetLikeAt() OptDateTime { return s.LikeAt } // GetFav returns the value of Fav. func (s *UserCreate) GetFav() OptInt { return s.Fav } // GetTen returns the value of Ten. func (s *UserCreate) GetTen() OptBool { return s.Ten } // GetTenSu returns the value of TenSu. func (s *UserCreate) GetTenSu() OptInt { return s.TenSu } // GetTenKai returns the value of TenKai. func (s *UserCreate) GetTenKai() OptInt { return s.TenKai } // GetAiten returns the value of Aiten. func (s *UserCreate) GetAiten() OptInt { return s.Aiten } // GetTenCard returns the value of TenCard. func (s *UserCreate) GetTenCard() OptString { return s.TenCard } // GetTenDelete returns the value of TenDelete. func (s *UserCreate) GetTenDelete() OptString { return s.TenDelete } // GetTenPost returns the value of TenPost. func (s *UserCreate) GetTenPost() OptString { return s.TenPost } // GetTenGet returns the value of TenGet. func (s *UserCreate) GetTenGet() OptString { return s.TenGet } // GetTenAt returns the value of TenAt. func (s *UserCreate) GetTenAt() OptDateTime { return s.TenAt } // GetNext returns the value of Next. func (s *UserCreate) GetNext() OptString { return s.Next } // SetID sets the value of ID. func (s *UserCreate) SetID(val int) { s.ID = val } // SetUsername sets the value of Username. func (s *UserCreate) SetUsername(val string) { s.Username = val } // SetDid sets the value of Did. func (s *UserCreate) SetDid(val OptString) { s.Did = val } // SetMember sets the value of Member. func (s *UserCreate) SetMember(val OptBool) { s.Member = val } // SetBook sets the value of Book. func (s *UserCreate) SetBook(val OptBool) { s.Book = val } // SetManga sets the value of Manga. func (s *UserCreate) SetManga(val OptBool) { s.Manga = val } // SetBadge sets the value of Badge. func (s *UserCreate) SetBadge(val OptBool) { s.Badge = val } // SetBsky sets the value of Bsky. func (s *UserCreate) SetBsky(val OptBool) { s.Bsky = val } // SetMastodon sets the value of Mastodon. func (s *UserCreate) SetMastodon(val OptBool) { s.Mastodon = val } // SetDelete sets the value of Delete. func (s *UserCreate) SetDelete(val OptBool) { s.Delete = val } // SetHandle sets the value of Handle. func (s *UserCreate) SetHandle(val OptBool) { s.Handle = val } // SetCreatedAt sets the value of CreatedAt. func (s *UserCreate) SetCreatedAt(val OptDateTime) { s.CreatedAt = val } // SetUpdatedAt sets the value of UpdatedAt. func (s *UserCreate) SetUpdatedAt(val OptDateTime) { s.UpdatedAt = val } // SetRaidAt sets the value of RaidAt. func (s *UserCreate) SetRaidAt(val OptDateTime) { s.RaidAt = val } // SetLuck sets the value of Luck. func (s *UserCreate) SetLuck(val OptInt) { s.Luck = val } // SetLuckAt sets the value of LuckAt. func (s *UserCreate) SetLuckAt(val OptDateTime) { s.LuckAt = val } // SetLike sets the value of Like. func (s *UserCreate) SetLike(val OptInt) { s.Like = val } // SetLikeRank sets the value of LikeRank. func (s *UserCreate) SetLikeRank(val OptInt) { s.LikeRank = val } // SetLikeAt sets the value of LikeAt. func (s *UserCreate) SetLikeAt(val OptDateTime) { s.LikeAt = val } // SetFav sets the value of Fav. func (s *UserCreate) SetFav(val OptInt) { s.Fav = val } // SetTen sets the value of Ten. func (s *UserCreate) SetTen(val OptBool) { s.Ten = val } // SetTenSu sets the value of TenSu. func (s *UserCreate) SetTenSu(val OptInt) { s.TenSu = val } // SetTenKai sets the value of TenKai. func (s *UserCreate) SetTenKai(val OptInt) { s.TenKai = val } // SetAiten sets the value of Aiten. func (s *UserCreate) SetAiten(val OptInt) { s.Aiten = val } // SetTenCard sets the value of TenCard. func (s *UserCreate) SetTenCard(val OptString) { s.TenCard = val } // SetTenDelete sets the value of TenDelete. func (s *UserCreate) SetTenDelete(val OptString) { s.TenDelete = val } // SetTenPost sets the value of TenPost. func (s *UserCreate) SetTenPost(val OptString) { s.TenPost = val } // SetTenGet sets the value of TenGet. func (s *UserCreate) SetTenGet(val OptString) { s.TenGet = val } // SetTenAt sets the value of TenAt. func (s *UserCreate) SetTenAt(val OptDateTime) { s.TenAt = val } // SetNext sets the value of Next. func (s *UserCreate) SetNext(val OptString) { s.Next = val } func (*UserCreate) createUserRes() {} // Ref: #/components/schemas/UserList type UserList struct { ID int `json:"id"` Username string `json:"username"` Did OptString `json:"did"` Member OptBool `json:"member"` Book OptBool `json:"book"` Manga OptBool `json:"manga"` Badge OptBool `json:"badge"` Bsky OptBool `json:"bsky"` Mastodon OptBool `json:"mastodon"` Delete OptBool `json:"delete"` Handle OptBool `json:"handle"` CreatedAt OptDateTime `json:"created_at"` UpdatedAt OptDateTime `json:"updated_at"` RaidAt OptDateTime `json:"raid_at"` Luck OptInt `json:"luck"` LuckAt OptDateTime `json:"luck_at"` Like OptInt `json:"like"` LikeRank OptInt `json:"like_rank"` LikeAt OptDateTime `json:"like_at"` Fav OptInt `json:"fav"` Ten OptBool `json:"ten"` TenSu OptInt `json:"ten_su"` TenKai OptInt `json:"ten_kai"` Aiten OptInt `json:"aiten"` TenCard OptString `json:"ten_card"` TenDelete OptString `json:"ten_delete"` TenPost OptString `json:"ten_post"` TenGet OptString `json:"ten_get"` TenAt OptDateTime `json:"ten_at"` Next OptString `json:"next"` } // GetID returns the value of ID. func (s *UserList) GetID() int { return s.ID } // GetUsername returns the value of Username. func (s *UserList) GetUsername() string { return s.Username } // GetDid returns the value of Did. func (s *UserList) GetDid() OptString { return s.Did } // GetMember returns the value of Member. func (s *UserList) GetMember() OptBool { return s.Member } // GetBook returns the value of Book. func (s *UserList) GetBook() OptBool { return s.Book } // GetManga returns the value of Manga. func (s *UserList) GetManga() OptBool { return s.Manga } // GetBadge returns the value of Badge. func (s *UserList) GetBadge() OptBool { return s.Badge } // GetBsky returns the value of Bsky. func (s *UserList) GetBsky() OptBool { return s.Bsky } // GetMastodon returns the value of Mastodon. func (s *UserList) GetMastodon() OptBool { return s.Mastodon } // GetDelete returns the value of Delete. func (s *UserList) GetDelete() OptBool { return s.Delete } // GetHandle returns the value of Handle. func (s *UserList) GetHandle() OptBool { return s.Handle } // GetCreatedAt returns the value of CreatedAt. func (s *UserList) GetCreatedAt() OptDateTime { return s.CreatedAt } // GetUpdatedAt returns the value of UpdatedAt. func (s *UserList) GetUpdatedAt() OptDateTime { return s.UpdatedAt } // GetRaidAt returns the value of RaidAt. func (s *UserList) GetRaidAt() OptDateTime { return s.RaidAt } // GetLuck returns the value of Luck. func (s *UserList) GetLuck() OptInt { return s.Luck } // GetLuckAt returns the value of LuckAt. func (s *UserList) GetLuckAt() OptDateTime { return s.LuckAt } // GetLike returns the value of Like. func (s *UserList) GetLike() OptInt { return s.Like } // GetLikeRank returns the value of LikeRank. func (s *UserList) GetLikeRank() OptInt { return s.LikeRank } // GetLikeAt returns the value of LikeAt. func (s *UserList) GetLikeAt() OptDateTime { return s.LikeAt } // GetFav returns the value of Fav. func (s *UserList) GetFav() OptInt { return s.Fav } // GetTen returns the value of Ten. func (s *UserList) GetTen() OptBool { return s.Ten } // GetTenSu returns the value of TenSu. func (s *UserList) GetTenSu() OptInt { return s.TenSu } // GetTenKai returns the value of TenKai. func (s *UserList) GetTenKai() OptInt { return s.TenKai } // GetAiten returns the value of Aiten. func (s *UserList) GetAiten() OptInt { return s.Aiten } // GetTenCard returns the value of TenCard. func (s *UserList) GetTenCard() OptString { return s.TenCard } // GetTenDelete returns the value of TenDelete. func (s *UserList) GetTenDelete() OptString { return s.TenDelete } // GetTenPost returns the value of TenPost. func (s *UserList) GetTenPost() OptString { return s.TenPost } // GetTenGet returns the value of TenGet. func (s *UserList) GetTenGet() OptString { return s.TenGet } // GetTenAt returns the value of TenAt. func (s *UserList) GetTenAt() OptDateTime { return s.TenAt } // GetNext returns the value of Next. func (s *UserList) GetNext() OptString { return s.Next } // SetID sets the value of ID. func (s *UserList) SetID(val int) { s.ID = val } // SetUsername sets the value of Username. func (s *UserList) SetUsername(val string) { s.Username = val } // SetDid sets the value of Did. func (s *UserList) SetDid(val OptString) { s.Did = val } // SetMember sets the value of Member. func (s *UserList) SetMember(val OptBool) { s.Member = val } // SetBook sets the value of Book. func (s *UserList) SetBook(val OptBool) { s.Book = val } // SetManga sets the value of Manga. func (s *UserList) SetManga(val OptBool) { s.Manga = val } // SetBadge sets the value of Badge. func (s *UserList) SetBadge(val OptBool) { s.Badge = val } // SetBsky sets the value of Bsky. func (s *UserList) SetBsky(val OptBool) { s.Bsky = val } // SetMastodon sets the value of Mastodon. func (s *UserList) SetMastodon(val OptBool) { s.Mastodon = val } // SetDelete sets the value of Delete. func (s *UserList) SetDelete(val OptBool) { s.Delete = val } // SetHandle sets the value of Handle. func (s *UserList) SetHandle(val OptBool) { s.Handle = val } // SetCreatedAt sets the value of CreatedAt. func (s *UserList) SetCreatedAt(val OptDateTime) { s.CreatedAt = val } // SetUpdatedAt sets the value of UpdatedAt. func (s *UserList) SetUpdatedAt(val OptDateTime) { s.UpdatedAt = val } // SetRaidAt sets the value of RaidAt. func (s *UserList) SetRaidAt(val OptDateTime) { s.RaidAt = val } // SetLuck sets the value of Luck. func (s *UserList) SetLuck(val OptInt) { s.Luck = val } // SetLuckAt sets the value of LuckAt. func (s *UserList) SetLuckAt(val OptDateTime) { s.LuckAt = val } // SetLike sets the value of Like. func (s *UserList) SetLike(val OptInt) { s.Like = val } // SetLikeRank sets the value of LikeRank. func (s *UserList) SetLikeRank(val OptInt) { s.LikeRank = val } // SetLikeAt sets the value of LikeAt. func (s *UserList) SetLikeAt(val OptDateTime) { s.LikeAt = val } // SetFav sets the value of Fav. func (s *UserList) SetFav(val OptInt) { s.Fav = val } // SetTen sets the value of Ten. func (s *UserList) SetTen(val OptBool) { s.Ten = val } // SetTenSu sets the value of TenSu. func (s *UserList) SetTenSu(val OptInt) { s.TenSu = val } // SetTenKai sets the value of TenKai. func (s *UserList) SetTenKai(val OptInt) { s.TenKai = val } // SetAiten sets the value of Aiten. func (s *UserList) SetAiten(val OptInt) { s.Aiten = val } // SetTenCard sets the value of TenCard. func (s *UserList) SetTenCard(val OptString) { s.TenCard = val } // SetTenDelete sets the value of TenDelete. func (s *UserList) SetTenDelete(val OptString) { s.TenDelete = val } // SetTenPost sets the value of TenPost. func (s *UserList) SetTenPost(val OptString) { s.TenPost = val } // SetTenGet sets the value of TenGet. func (s *UserList) SetTenGet(val OptString) { s.TenGet = val } // SetTenAt sets the value of TenAt. func (s *UserList) SetTenAt(val OptDateTime) { s.TenAt = val } // SetNext sets the value of Next. func (s *UserList) SetNext(val OptString) { s.Next = val } // Ref: #/components/schemas/UserRead type UserRead struct { ID int `json:"id"` Username string `json:"username"` Did OptString `json:"did"` Member OptBool `json:"member"` Book OptBool `json:"book"` Manga OptBool `json:"manga"` Badge OptBool `json:"badge"` Bsky OptBool `json:"bsky"` Mastodon OptBool `json:"mastodon"` Delete OptBool `json:"delete"` Handle OptBool `json:"handle"` CreatedAt OptDateTime `json:"created_at"` UpdatedAt OptDateTime `json:"updated_at"` RaidAt OptDateTime `json:"raid_at"` Luck OptInt `json:"luck"` LuckAt OptDateTime `json:"luck_at"` Like OptInt `json:"like"` LikeRank OptInt `json:"like_rank"` LikeAt OptDateTime `json:"like_at"` Fav OptInt `json:"fav"` Ten OptBool `json:"ten"` TenSu OptInt `json:"ten_su"` TenKai OptInt `json:"ten_kai"` Aiten OptInt `json:"aiten"` TenCard OptString `json:"ten_card"` TenDelete OptString `json:"ten_delete"` TenPost OptString `json:"ten_post"` TenGet OptString `json:"ten_get"` TenAt OptDateTime `json:"ten_at"` Next OptString `json:"next"` } // GetID returns the value of ID. func (s *UserRead) GetID() int { return s.ID } // GetUsername returns the value of Username. func (s *UserRead) GetUsername() string { return s.Username } // GetDid returns the value of Did. func (s *UserRead) GetDid() OptString { return s.Did } // GetMember returns the value of Member. func (s *UserRead) GetMember() OptBool { return s.Member } // GetBook returns the value of Book. func (s *UserRead) GetBook() OptBool { return s.Book } // GetManga returns the value of Manga. func (s *UserRead) GetManga() OptBool { return s.Manga } // GetBadge returns the value of Badge. func (s *UserRead) GetBadge() OptBool { return s.Badge } // GetBsky returns the value of Bsky. func (s *UserRead) GetBsky() OptBool { return s.Bsky } // GetMastodon returns the value of Mastodon. func (s *UserRead) GetMastodon() OptBool { return s.Mastodon } // GetDelete returns the value of Delete. func (s *UserRead) GetDelete() OptBool { return s.Delete } // GetHandle returns the value of Handle. func (s *UserRead) GetHandle() OptBool { return s.Handle } // GetCreatedAt returns the value of CreatedAt. func (s *UserRead) GetCreatedAt() OptDateTime { return s.CreatedAt } // GetUpdatedAt returns the value of UpdatedAt. func (s *UserRead) GetUpdatedAt() OptDateTime { return s.UpdatedAt } // GetRaidAt returns the value of RaidAt. func (s *UserRead) GetRaidAt() OptDateTime { return s.RaidAt } // GetLuck returns the value of Luck. func (s *UserRead) GetLuck() OptInt { return s.Luck } // GetLuckAt returns the value of LuckAt. func (s *UserRead) GetLuckAt() OptDateTime { return s.LuckAt } // GetLike returns the value of Like. func (s *UserRead) GetLike() OptInt { return s.Like } // GetLikeRank returns the value of LikeRank. func (s *UserRead) GetLikeRank() OptInt { return s.LikeRank } // GetLikeAt returns the value of LikeAt. func (s *UserRead) GetLikeAt() OptDateTime { return s.LikeAt } // GetFav returns the value of Fav. func (s *UserRead) GetFav() OptInt { return s.Fav } // GetTen returns the value of Ten. func (s *UserRead) GetTen() OptBool { return s.Ten } // GetTenSu returns the value of TenSu. func (s *UserRead) GetTenSu() OptInt { return s.TenSu } // GetTenKai returns the value of TenKai. func (s *UserRead) GetTenKai() OptInt { return s.TenKai } // GetAiten returns the value of Aiten. func (s *UserRead) GetAiten() OptInt { return s.Aiten } // GetTenCard returns the value of TenCard. func (s *UserRead) GetTenCard() OptString { return s.TenCard } // GetTenDelete returns the value of TenDelete. func (s *UserRead) GetTenDelete() OptString { return s.TenDelete } // GetTenPost returns the value of TenPost. func (s *UserRead) GetTenPost() OptString { return s.TenPost } // GetTenGet returns the value of TenGet. func (s *UserRead) GetTenGet() OptString { return s.TenGet } // GetTenAt returns the value of TenAt. func (s *UserRead) GetTenAt() OptDateTime { return s.TenAt } // GetNext returns the value of Next. func (s *UserRead) GetNext() OptString { return s.Next } // SetID sets the value of ID. func (s *UserRead) SetID(val int) { s.ID = val } // SetUsername sets the value of Username. func (s *UserRead) SetUsername(val string) { s.Username = val } // SetDid sets the value of Did. func (s *UserRead) SetDid(val OptString) { s.Did = val } // SetMember sets the value of Member. func (s *UserRead) SetMember(val OptBool) { s.Member = val } // SetBook sets the value of Book. func (s *UserRead) SetBook(val OptBool) { s.Book = val } // SetManga sets the value of Manga. func (s *UserRead) SetManga(val OptBool) { s.Manga = val } // SetBadge sets the value of Badge. func (s *UserRead) SetBadge(val OptBool) { s.Badge = val } // SetBsky sets the value of Bsky. func (s *UserRead) SetBsky(val OptBool) { s.Bsky = val } // SetMastodon sets the value of Mastodon. func (s *UserRead) SetMastodon(val OptBool) { s.Mastodon = val } // SetDelete sets the value of Delete. func (s *UserRead) SetDelete(val OptBool) { s.Delete = val } // SetHandle sets the value of Handle. func (s *UserRead) SetHandle(val OptBool) { s.Handle = val } // SetCreatedAt sets the value of CreatedAt. func (s *UserRead) SetCreatedAt(val OptDateTime) { s.CreatedAt = val } // SetUpdatedAt sets the value of UpdatedAt. func (s *UserRead) SetUpdatedAt(val OptDateTime) { s.UpdatedAt = val } // SetRaidAt sets the value of RaidAt. func (s *UserRead) SetRaidAt(val OptDateTime) { s.RaidAt = val } // SetLuck sets the value of Luck. func (s *UserRead) SetLuck(val OptInt) { s.Luck = val } // SetLuckAt sets the value of LuckAt. func (s *UserRead) SetLuckAt(val OptDateTime) { s.LuckAt = val } // SetLike sets the value of Like. func (s *UserRead) SetLike(val OptInt) { s.Like = val } // SetLikeRank sets the value of LikeRank. func (s *UserRead) SetLikeRank(val OptInt) { s.LikeRank = val } // SetLikeAt sets the value of LikeAt. func (s *UserRead) SetLikeAt(val OptDateTime) { s.LikeAt = val } // SetFav sets the value of Fav. func (s *UserRead) SetFav(val OptInt) { s.Fav = val } // SetTen sets the value of Ten. func (s *UserRead) SetTen(val OptBool) { s.Ten = val } // SetTenSu sets the value of TenSu. func (s *UserRead) SetTenSu(val OptInt) { s.TenSu = val } // SetTenKai sets the value of TenKai. func (s *UserRead) SetTenKai(val OptInt) { s.TenKai = val } // SetAiten sets the value of Aiten. func (s *UserRead) SetAiten(val OptInt) { s.Aiten = val } // SetTenCard sets the value of TenCard. func (s *UserRead) SetTenCard(val OptString) { s.TenCard = val } // SetTenDelete sets the value of TenDelete. func (s *UserRead) SetTenDelete(val OptString) { s.TenDelete = val } // SetTenPost sets the value of TenPost. func (s *UserRead) SetTenPost(val OptString) { s.TenPost = val } // SetTenGet sets the value of TenGet. func (s *UserRead) SetTenGet(val OptString) { s.TenGet = val } // SetTenAt sets the value of TenAt. func (s *UserRead) SetTenAt(val OptDateTime) { s.TenAt = val } // SetNext sets the value of Next. func (s *UserRead) SetNext(val OptString) { s.Next = val } func (*UserRead) readUserRes() {} // Ref: #/components/schemas/UserUpdate type UserUpdate struct { ID int `json:"id"` Username string `json:"username"` Did OptString `json:"did"` Member OptBool `json:"member"` Book OptBool `json:"book"` Manga OptBool `json:"manga"` Badge OptBool `json:"badge"` Bsky OptBool `json:"bsky"` Mastodon OptBool `json:"mastodon"` Delete OptBool `json:"delete"` Handle OptBool `json:"handle"` CreatedAt OptDateTime `json:"created_at"` UpdatedAt OptDateTime `json:"updated_at"` RaidAt OptDateTime `json:"raid_at"` Luck OptInt `json:"luck"` LuckAt OptDateTime `json:"luck_at"` Like OptInt `json:"like"` LikeRank OptInt `json:"like_rank"` LikeAt OptDateTime `json:"like_at"` Fav OptInt `json:"fav"` Ten OptBool `json:"ten"` TenSu OptInt `json:"ten_su"` TenKai OptInt `json:"ten_kai"` Aiten OptInt `json:"aiten"` TenCard OptString `json:"ten_card"` TenDelete OptString `json:"ten_delete"` TenPost OptString `json:"ten_post"` TenGet OptString `json:"ten_get"` TenAt OptDateTime `json:"ten_at"` Next OptString `json:"next"` } // GetID returns the value of ID. func (s *UserUpdate) GetID() int { return s.ID } // GetUsername returns the value of Username. func (s *UserUpdate) GetUsername() string { return s.Username } // GetDid returns the value of Did. func (s *UserUpdate) GetDid() OptString { return s.Did } // GetMember returns the value of Member. func (s *UserUpdate) GetMember() OptBool { return s.Member } // GetBook returns the value of Book. func (s *UserUpdate) GetBook() OptBool { return s.Book } // GetManga returns the value of Manga. func (s *UserUpdate) GetManga() OptBool { return s.Manga } // GetBadge returns the value of Badge. func (s *UserUpdate) GetBadge() OptBool { return s.Badge } // GetBsky returns the value of Bsky. func (s *UserUpdate) GetBsky() OptBool { return s.Bsky } // GetMastodon returns the value of Mastodon. func (s *UserUpdate) GetMastodon() OptBool { return s.Mastodon } // GetDelete returns the value of Delete. func (s *UserUpdate) GetDelete() OptBool { return s.Delete } // GetHandle returns the value of Handle. func (s *UserUpdate) GetHandle() OptBool { return s.Handle } // GetCreatedAt returns the value of CreatedAt. func (s *UserUpdate) GetCreatedAt() OptDateTime { return s.CreatedAt } // GetUpdatedAt returns the value of UpdatedAt. func (s *UserUpdate) GetUpdatedAt() OptDateTime { return s.UpdatedAt } // GetRaidAt returns the value of RaidAt. func (s *UserUpdate) GetRaidAt() OptDateTime { return s.RaidAt } // GetLuck returns the value of Luck. func (s *UserUpdate) GetLuck() OptInt { return s.Luck } // GetLuckAt returns the value of LuckAt. func (s *UserUpdate) GetLuckAt() OptDateTime { return s.LuckAt } // GetLike returns the value of Like. func (s *UserUpdate) GetLike() OptInt { return s.Like } // GetLikeRank returns the value of LikeRank. func (s *UserUpdate) GetLikeRank() OptInt { return s.LikeRank } // GetLikeAt returns the value of LikeAt. func (s *UserUpdate) GetLikeAt() OptDateTime { return s.LikeAt } // GetFav returns the value of Fav. func (s *UserUpdate) GetFav() OptInt { return s.Fav } // GetTen returns the value of Ten. func (s *UserUpdate) GetTen() OptBool { return s.Ten } // GetTenSu returns the value of TenSu. func (s *UserUpdate) GetTenSu() OptInt { return s.TenSu } // GetTenKai returns the value of TenKai. func (s *UserUpdate) GetTenKai() OptInt { return s.TenKai } // GetAiten returns the value of Aiten. func (s *UserUpdate) GetAiten() OptInt { return s.Aiten } // GetTenCard returns the value of TenCard. func (s *UserUpdate) GetTenCard() OptString { return s.TenCard } // GetTenDelete returns the value of TenDelete. func (s *UserUpdate) GetTenDelete() OptString { return s.TenDelete } // GetTenPost returns the value of TenPost. func (s *UserUpdate) GetTenPost() OptString { return s.TenPost } // GetTenGet returns the value of TenGet. func (s *UserUpdate) GetTenGet() OptString { return s.TenGet } // GetTenAt returns the value of TenAt. func (s *UserUpdate) GetTenAt() OptDateTime { return s.TenAt } // GetNext returns the value of Next. func (s *UserUpdate) GetNext() OptString { return s.Next } // SetID sets the value of ID. func (s *UserUpdate) SetID(val int) { s.ID = val } // SetUsername sets the value of Username. func (s *UserUpdate) SetUsername(val string) { s.Username = val } // SetDid sets the value of Did. func (s *UserUpdate) SetDid(val OptString) { s.Did = val } // SetMember sets the value of Member. func (s *UserUpdate) SetMember(val OptBool) { s.Member = val } // SetBook sets the value of Book. func (s *UserUpdate) SetBook(val OptBool) { s.Book = val } // SetManga sets the value of Manga. func (s *UserUpdate) SetManga(val OptBool) { s.Manga = val } // SetBadge sets the value of Badge. func (s *UserUpdate) SetBadge(val OptBool) { s.Badge = val } // SetBsky sets the value of Bsky. func (s *UserUpdate) SetBsky(val OptBool) { s.Bsky = val } // SetMastodon sets the value of Mastodon. func (s *UserUpdate) SetMastodon(val OptBool) { s.Mastodon = val } // SetDelete sets the value of Delete. func (s *UserUpdate) SetDelete(val OptBool) { s.Delete = val } // SetHandle sets the value of Handle. func (s *UserUpdate) SetHandle(val OptBool) { s.Handle = val } // SetCreatedAt sets the value of CreatedAt. func (s *UserUpdate) SetCreatedAt(val OptDateTime) { s.CreatedAt = val } // SetUpdatedAt sets the value of UpdatedAt. func (s *UserUpdate) SetUpdatedAt(val OptDateTime) { s.UpdatedAt = val } // SetRaidAt sets the value of RaidAt. func (s *UserUpdate) SetRaidAt(val OptDateTime) { s.RaidAt = val } // SetLuck sets the value of Luck. func (s *UserUpdate) SetLuck(val OptInt) { s.Luck = val } // SetLuckAt sets the value of LuckAt. func (s *UserUpdate) SetLuckAt(val OptDateTime) { s.LuckAt = val } // SetLike sets the value of Like. func (s *UserUpdate) SetLike(val OptInt) { s.Like = val } // SetLikeRank sets the value of LikeRank. func (s *UserUpdate) SetLikeRank(val OptInt) { s.LikeRank = val } // SetLikeAt sets the value of LikeAt. func (s *UserUpdate) SetLikeAt(val OptDateTime) { s.LikeAt = val } // SetFav sets the value of Fav. func (s *UserUpdate) SetFav(val OptInt) { s.Fav = val } // SetTen sets the value of Ten. func (s *UserUpdate) SetTen(val OptBool) { s.Ten = val } // SetTenSu sets the value of TenSu. func (s *UserUpdate) SetTenSu(val OptInt) { s.TenSu = val } // SetTenKai sets the value of TenKai. func (s *UserUpdate) SetTenKai(val OptInt) { s.TenKai = val } // SetAiten sets the value of Aiten. func (s *UserUpdate) SetAiten(val OptInt) { s.Aiten = val } // SetTenCard sets the value of TenCard. func (s *UserUpdate) SetTenCard(val OptString) { s.TenCard = val } // SetTenDelete sets the value of TenDelete. func (s *UserUpdate) SetTenDelete(val OptString) { s.TenDelete = val } // SetTenPost sets the value of TenPost. func (s *UserUpdate) SetTenPost(val OptString) { s.TenPost = val } // SetTenGet sets the value of TenGet. func (s *UserUpdate) SetTenGet(val OptString) { s.TenGet = val } // SetTenAt sets the value of TenAt. func (s *UserUpdate) SetTenAt(val OptDateTime) { s.TenAt = val } // SetNext sets the value of Next. func (s *UserUpdate) SetNext(val OptString) { s.Next = val } func (*UserUpdate) updateUserRes() {}