1
0
api/ent/ogent/oas_schemas_gen.go
2024-02-23 00:43:50 +09:00

7778 lines
175 KiB
Go

// 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"`
Count OptInt `json:"count"`
Author OptString `json:"author"`
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
}
// GetCount returns the value of Count.
func (s *CardCreate) GetCount() OptInt {
return s.Count
}
// GetAuthor returns the value of Author.
func (s *CardCreate) GetAuthor() OptString {
return s.Author
}
// 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
}
// SetCount sets the value of Count.
func (s *CardCreate) SetCount(val OptInt) {
s.Count = val
}
// SetAuthor sets the value of Author.
func (s *CardCreate) SetAuthor(val OptString) {
s.Author = 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"`
Count OptInt `json:"count"`
Author OptString `json:"author"`
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
}
// GetCount returns the value of Count.
func (s *CardList) GetCount() OptInt {
return s.Count
}
// GetAuthor returns the value of Author.
func (s *CardList) GetAuthor() OptString {
return s.Author
}
// 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
}
// SetCount sets the value of Count.
func (s *CardList) SetCount(val OptInt) {
s.Count = val
}
// SetAuthor sets the value of Author.
func (s *CardList) SetAuthor(val OptString) {
s.Author = 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"`
ServerAt OptDateTime `json:"server_at"`
EggAt OptDateTime `json:"egg_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"`
Room OptInt `json:"room"`
Model OptBool `json:"model"`
ModelAt OptDateTime `json:"model_at"`
ModelAttack OptInt `json:"model_attack"`
ModelLimit OptInt `json:"model_limit"`
ModelSkill OptInt `json:"model_skill"`
ModelMode OptInt `json:"model_mode"`
ModelCritical OptInt `json:"model_critical"`
ModelCriticalD OptInt `json:"model_critical_d"`
Game OptBool `json:"game"`
GameTest OptBool `json:"game_test"`
GameEnd OptBool `json:"game_end"`
GameAccount OptBool `json:"game_account"`
GameLv OptInt `json:"game_lv"`
Coin OptInt `json:"coin"`
CoinOpen OptBool `json:"coin_open"`
CoinAt OptDateTime `json:"coin_at"`
}
// 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
}
// GetServerAt returns the value of ServerAt.
func (s *CardOwnerRead) GetServerAt() OptDateTime {
return s.ServerAt
}
// GetEggAt returns the value of EggAt.
func (s *CardOwnerRead) GetEggAt() OptDateTime {
return s.EggAt
}
// 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
}
// GetRoom returns the value of Room.
func (s *CardOwnerRead) GetRoom() OptInt {
return s.Room
}
// GetModel returns the value of Model.
func (s *CardOwnerRead) GetModel() OptBool {
return s.Model
}
// GetModelAt returns the value of ModelAt.
func (s *CardOwnerRead) GetModelAt() OptDateTime {
return s.ModelAt
}
// GetModelAttack returns the value of ModelAttack.
func (s *CardOwnerRead) GetModelAttack() OptInt {
return s.ModelAttack
}
// GetModelLimit returns the value of ModelLimit.
func (s *CardOwnerRead) GetModelLimit() OptInt {
return s.ModelLimit
}
// GetModelSkill returns the value of ModelSkill.
func (s *CardOwnerRead) GetModelSkill() OptInt {
return s.ModelSkill
}
// GetModelMode returns the value of ModelMode.
func (s *CardOwnerRead) GetModelMode() OptInt {
return s.ModelMode
}
// GetModelCritical returns the value of ModelCritical.
func (s *CardOwnerRead) GetModelCritical() OptInt {
return s.ModelCritical
}
// GetModelCriticalD returns the value of ModelCriticalD.
func (s *CardOwnerRead) GetModelCriticalD() OptInt {
return s.ModelCriticalD
}
// GetGame returns the value of Game.
func (s *CardOwnerRead) GetGame() OptBool {
return s.Game
}
// GetGameTest returns the value of GameTest.
func (s *CardOwnerRead) GetGameTest() OptBool {
return s.GameTest
}
// GetGameEnd returns the value of GameEnd.
func (s *CardOwnerRead) GetGameEnd() OptBool {
return s.GameEnd
}
// GetGameAccount returns the value of GameAccount.
func (s *CardOwnerRead) GetGameAccount() OptBool {
return s.GameAccount
}
// GetGameLv returns the value of GameLv.
func (s *CardOwnerRead) GetGameLv() OptInt {
return s.GameLv
}
// GetCoin returns the value of Coin.
func (s *CardOwnerRead) GetCoin() OptInt {
return s.Coin
}
// GetCoinOpen returns the value of CoinOpen.
func (s *CardOwnerRead) GetCoinOpen() OptBool {
return s.CoinOpen
}
// GetCoinAt returns the value of CoinAt.
func (s *CardOwnerRead) GetCoinAt() OptDateTime {
return s.CoinAt
}
// 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
}
// SetServerAt sets the value of ServerAt.
func (s *CardOwnerRead) SetServerAt(val OptDateTime) {
s.ServerAt = val
}
// SetEggAt sets the value of EggAt.
func (s *CardOwnerRead) SetEggAt(val OptDateTime) {
s.EggAt = 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
}
// SetRoom sets the value of Room.
func (s *CardOwnerRead) SetRoom(val OptInt) {
s.Room = val
}
// SetModel sets the value of Model.
func (s *CardOwnerRead) SetModel(val OptBool) {
s.Model = val
}
// SetModelAt sets the value of ModelAt.
func (s *CardOwnerRead) SetModelAt(val OptDateTime) {
s.ModelAt = val
}
// SetModelAttack sets the value of ModelAttack.
func (s *CardOwnerRead) SetModelAttack(val OptInt) {
s.ModelAttack = val
}
// SetModelLimit sets the value of ModelLimit.
func (s *CardOwnerRead) SetModelLimit(val OptInt) {
s.ModelLimit = val
}
// SetModelSkill sets the value of ModelSkill.
func (s *CardOwnerRead) SetModelSkill(val OptInt) {
s.ModelSkill = val
}
// SetModelMode sets the value of ModelMode.
func (s *CardOwnerRead) SetModelMode(val OptInt) {
s.ModelMode = val
}
// SetModelCritical sets the value of ModelCritical.
func (s *CardOwnerRead) SetModelCritical(val OptInt) {
s.ModelCritical = val
}
// SetModelCriticalD sets the value of ModelCriticalD.
func (s *CardOwnerRead) SetModelCriticalD(val OptInt) {
s.ModelCriticalD = val
}
// SetGame sets the value of Game.
func (s *CardOwnerRead) SetGame(val OptBool) {
s.Game = val
}
// SetGameTest sets the value of GameTest.
func (s *CardOwnerRead) SetGameTest(val OptBool) {
s.GameTest = val
}
// SetGameEnd sets the value of GameEnd.
func (s *CardOwnerRead) SetGameEnd(val OptBool) {
s.GameEnd = val
}
// SetGameAccount sets the value of GameAccount.
func (s *CardOwnerRead) SetGameAccount(val OptBool) {
s.GameAccount = val
}
// SetGameLv sets the value of GameLv.
func (s *CardOwnerRead) SetGameLv(val OptInt) {
s.GameLv = val
}
// SetCoin sets the value of Coin.
func (s *CardOwnerRead) SetCoin(val OptInt) {
s.Coin = val
}
// SetCoinOpen sets the value of CoinOpen.
func (s *CardOwnerRead) SetCoinOpen(val OptBool) {
s.CoinOpen = val
}
// SetCoinAt sets the value of CoinAt.
func (s *CardOwnerRead) SetCoinAt(val OptDateTime) {
s.CoinAt = 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"`
Count OptInt `json:"count"`
Author OptString `json:"author"`
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
}
// GetCount returns the value of Count.
func (s *CardRead) GetCount() OptInt {
return s.Count
}
// GetAuthor returns the value of Author.
func (s *CardRead) GetAuthor() OptString {
return s.Author
}
// 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
}
// SetCount sets the value of Count.
func (s *CardRead) SetCount(val OptInt) {
s.Count = val
}
// SetAuthor sets the value of Author.
func (s *CardRead) SetAuthor(val OptString) {
s.Author = 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"`
Count OptInt `json:"count"`
Author OptString `json:"author"`
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
}
// GetCount returns the value of Count.
func (s *CardUpdate) GetCount() OptInt {
return s.Count
}
// GetAuthor returns the value of Author.
func (s *CardUpdate) GetAuthor() OptString {
return s.Author
}
// 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
}
// SetCount sets the value of Count.
func (s *CardUpdate) SetCount(val OptInt) {
s.Count = val
}
// SetAuthor sets the value of Author.
func (s *CardUpdate) SetAuthor(val OptString) {
s.Author = 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"`
Count OptInt `json:"count"`
Author OptString `json:"author"`
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
}
// GetCount returns the value of Count.
func (s *CreateCardReq) GetCount() OptInt {
return s.Count
}
// GetAuthor returns the value of Author.
func (s *CreateCardReq) GetAuthor() OptString {
return s.Author
}
// 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
}
// SetCount sets the value of Count.
func (s *CreateCardReq) SetCount(val OptInt) {
s.Count = val
}
// SetAuthor sets the value of Author.
func (s *CreateCardReq) SetAuthor(val OptString) {
s.Author = 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 CreateUeReq struct {
Limit OptBool `json:"limit"`
LimitBoss OptBool `json:"limit_boss"`
LimitItem OptBool `json:"limit_item"`
Password string `json:"password"`
Lv OptInt `json:"lv"`
LvPoint OptInt `json:"lv_point"`
Model OptInt `json:"model"`
Sword OptInt `json:"sword"`
Card OptInt `json:"card"`
Mode OptString `json:"mode"`
Token OptString `json:"token"`
Cp OptInt `json:"cp"`
Count OptInt `json:"count"`
LocationX OptInt `json:"location_x"`
LocationY OptInt `json:"location_y"`
LocationZ OptInt `json:"location_z"`
LocationN OptInt `json:"location_n"`
Author OptString `json:"author"`
CreatedAt OptDateTime `json:"created_at"`
Owner int `json:"owner"`
}
// GetLimit returns the value of Limit.
func (s *CreateUeReq) GetLimit() OptBool {
return s.Limit
}
// GetLimitBoss returns the value of LimitBoss.
func (s *CreateUeReq) GetLimitBoss() OptBool {
return s.LimitBoss
}
// GetLimitItem returns the value of LimitItem.
func (s *CreateUeReq) GetLimitItem() OptBool {
return s.LimitItem
}
// GetPassword returns the value of Password.
func (s *CreateUeReq) GetPassword() string {
return s.Password
}
// GetLv returns the value of Lv.
func (s *CreateUeReq) GetLv() OptInt {
return s.Lv
}
// GetLvPoint returns the value of LvPoint.
func (s *CreateUeReq) GetLvPoint() OptInt {
return s.LvPoint
}
// GetModel returns the value of Model.
func (s *CreateUeReq) GetModel() OptInt {
return s.Model
}
// GetSword returns the value of Sword.
func (s *CreateUeReq) GetSword() OptInt {
return s.Sword
}
// GetCard returns the value of Card.
func (s *CreateUeReq) GetCard() OptInt {
return s.Card
}
// GetMode returns the value of Mode.
func (s *CreateUeReq) GetMode() OptString {
return s.Mode
}
// GetToken returns the value of Token.
func (s *CreateUeReq) GetToken() OptString {
return s.Token
}
// GetCp returns the value of Cp.
func (s *CreateUeReq) GetCp() OptInt {
return s.Cp
}
// GetCount returns the value of Count.
func (s *CreateUeReq) GetCount() OptInt {
return s.Count
}
// GetLocationX returns the value of LocationX.
func (s *CreateUeReq) GetLocationX() OptInt {
return s.LocationX
}
// GetLocationY returns the value of LocationY.
func (s *CreateUeReq) GetLocationY() OptInt {
return s.LocationY
}
// GetLocationZ returns the value of LocationZ.
func (s *CreateUeReq) GetLocationZ() OptInt {
return s.LocationZ
}
// GetLocationN returns the value of LocationN.
func (s *CreateUeReq) GetLocationN() OptInt {
return s.LocationN
}
// GetAuthor returns the value of Author.
func (s *CreateUeReq) GetAuthor() OptString {
return s.Author
}
// GetCreatedAt returns the value of CreatedAt.
func (s *CreateUeReq) GetCreatedAt() OptDateTime {
return s.CreatedAt
}
// GetOwner returns the value of Owner.
func (s *CreateUeReq) GetOwner() int {
return s.Owner
}
// SetLimit sets the value of Limit.
func (s *CreateUeReq) SetLimit(val OptBool) {
s.Limit = val
}
// SetLimitBoss sets the value of LimitBoss.
func (s *CreateUeReq) SetLimitBoss(val OptBool) {
s.LimitBoss = val
}
// SetLimitItem sets the value of LimitItem.
func (s *CreateUeReq) SetLimitItem(val OptBool) {
s.LimitItem = val
}
// SetPassword sets the value of Password.
func (s *CreateUeReq) SetPassword(val string) {
s.Password = val
}
// SetLv sets the value of Lv.
func (s *CreateUeReq) SetLv(val OptInt) {
s.Lv = val
}
// SetLvPoint sets the value of LvPoint.
func (s *CreateUeReq) SetLvPoint(val OptInt) {
s.LvPoint = val
}
// SetModel sets the value of Model.
func (s *CreateUeReq) SetModel(val OptInt) {
s.Model = val
}
// SetSword sets the value of Sword.
func (s *CreateUeReq) SetSword(val OptInt) {
s.Sword = val
}
// SetCard sets the value of Card.
func (s *CreateUeReq) SetCard(val OptInt) {
s.Card = val
}
// SetMode sets the value of Mode.
func (s *CreateUeReq) SetMode(val OptString) {
s.Mode = val
}
// SetToken sets the value of Token.
func (s *CreateUeReq) SetToken(val OptString) {
s.Token = val
}
// SetCp sets the value of Cp.
func (s *CreateUeReq) SetCp(val OptInt) {
s.Cp = val
}
// SetCount sets the value of Count.
func (s *CreateUeReq) SetCount(val OptInt) {
s.Count = val
}
// SetLocationX sets the value of LocationX.
func (s *CreateUeReq) SetLocationX(val OptInt) {
s.LocationX = val
}
// SetLocationY sets the value of LocationY.
func (s *CreateUeReq) SetLocationY(val OptInt) {
s.LocationY = val
}
// SetLocationZ sets the value of LocationZ.
func (s *CreateUeReq) SetLocationZ(val OptInt) {
s.LocationZ = val
}
// SetLocationN sets the value of LocationN.
func (s *CreateUeReq) SetLocationN(val OptInt) {
s.LocationN = val
}
// SetAuthor sets the value of Author.
func (s *CreateUeReq) SetAuthor(val OptString) {
s.Author = val
}
// SetCreatedAt sets the value of CreatedAt.
func (s *CreateUeReq) SetCreatedAt(val OptDateTime) {
s.CreatedAt = val
}
// SetOwner sets the value of Owner.
func (s *CreateUeReq) SetOwner(val int) {
s.Owner = 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"`
ServerAt OptDateTime `json:"server_at"`
EggAt OptDateTime `json:"egg_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"`
Room OptInt `json:"room"`
Model OptBool `json:"model"`
ModelAt OptDateTime `json:"model_at"`
ModelAttack OptInt `json:"model_attack"`
ModelLimit OptInt `json:"model_limit"`
ModelSkill OptInt `json:"model_skill"`
ModelMode OptInt `json:"model_mode"`
ModelCritical OptInt `json:"model_critical"`
ModelCriticalD OptInt `json:"model_critical_d"`
Game OptBool `json:"game"`
GameTest OptBool `json:"game_test"`
GameEnd OptBool `json:"game_end"`
GameAccount OptBool `json:"game_account"`
GameLv OptInt `json:"game_lv"`
Coin OptInt `json:"coin"`
CoinOpen OptBool `json:"coin_open"`
CoinAt OptDateTime `json:"coin_at"`
Card []int `json:"card"`
Ue []int `json:"ue"`
}
// 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
}
// GetServerAt returns the value of ServerAt.
func (s *CreateUserReq) GetServerAt() OptDateTime {
return s.ServerAt
}
// GetEggAt returns the value of EggAt.
func (s *CreateUserReq) GetEggAt() OptDateTime {
return s.EggAt
}
// 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
}
// GetRoom returns the value of Room.
func (s *CreateUserReq) GetRoom() OptInt {
return s.Room
}
// GetModel returns the value of Model.
func (s *CreateUserReq) GetModel() OptBool {
return s.Model
}
// GetModelAt returns the value of ModelAt.
func (s *CreateUserReq) GetModelAt() OptDateTime {
return s.ModelAt
}
// GetModelAttack returns the value of ModelAttack.
func (s *CreateUserReq) GetModelAttack() OptInt {
return s.ModelAttack
}
// GetModelLimit returns the value of ModelLimit.
func (s *CreateUserReq) GetModelLimit() OptInt {
return s.ModelLimit
}
// GetModelSkill returns the value of ModelSkill.
func (s *CreateUserReq) GetModelSkill() OptInt {
return s.ModelSkill
}
// GetModelMode returns the value of ModelMode.
func (s *CreateUserReq) GetModelMode() OptInt {
return s.ModelMode
}
// GetModelCritical returns the value of ModelCritical.
func (s *CreateUserReq) GetModelCritical() OptInt {
return s.ModelCritical
}
// GetModelCriticalD returns the value of ModelCriticalD.
func (s *CreateUserReq) GetModelCriticalD() OptInt {
return s.ModelCriticalD
}
// GetGame returns the value of Game.
func (s *CreateUserReq) GetGame() OptBool {
return s.Game
}
// GetGameTest returns the value of GameTest.
func (s *CreateUserReq) GetGameTest() OptBool {
return s.GameTest
}
// GetGameEnd returns the value of GameEnd.
func (s *CreateUserReq) GetGameEnd() OptBool {
return s.GameEnd
}
// GetGameAccount returns the value of GameAccount.
func (s *CreateUserReq) GetGameAccount() OptBool {
return s.GameAccount
}
// GetGameLv returns the value of GameLv.
func (s *CreateUserReq) GetGameLv() OptInt {
return s.GameLv
}
// GetCoin returns the value of Coin.
func (s *CreateUserReq) GetCoin() OptInt {
return s.Coin
}
// GetCoinOpen returns the value of CoinOpen.
func (s *CreateUserReq) GetCoinOpen() OptBool {
return s.CoinOpen
}
// GetCoinAt returns the value of CoinAt.
func (s *CreateUserReq) GetCoinAt() OptDateTime {
return s.CoinAt
}
// GetCard returns the value of Card.
func (s *CreateUserReq) GetCard() []int {
return s.Card
}
// GetUe returns the value of Ue.
func (s *CreateUserReq) GetUe() []int {
return s.Ue
}
// 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
}
// SetServerAt sets the value of ServerAt.
func (s *CreateUserReq) SetServerAt(val OptDateTime) {
s.ServerAt = val
}
// SetEggAt sets the value of EggAt.
func (s *CreateUserReq) SetEggAt(val OptDateTime) {
s.EggAt = 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
}
// SetRoom sets the value of Room.
func (s *CreateUserReq) SetRoom(val OptInt) {
s.Room = val
}
// SetModel sets the value of Model.
func (s *CreateUserReq) SetModel(val OptBool) {
s.Model = val
}
// SetModelAt sets the value of ModelAt.
func (s *CreateUserReq) SetModelAt(val OptDateTime) {
s.ModelAt = val
}
// SetModelAttack sets the value of ModelAttack.
func (s *CreateUserReq) SetModelAttack(val OptInt) {
s.ModelAttack = val
}
// SetModelLimit sets the value of ModelLimit.
func (s *CreateUserReq) SetModelLimit(val OptInt) {
s.ModelLimit = val
}
// SetModelSkill sets the value of ModelSkill.
func (s *CreateUserReq) SetModelSkill(val OptInt) {
s.ModelSkill = val
}
// SetModelMode sets the value of ModelMode.
func (s *CreateUserReq) SetModelMode(val OptInt) {
s.ModelMode = val
}
// SetModelCritical sets the value of ModelCritical.
func (s *CreateUserReq) SetModelCritical(val OptInt) {
s.ModelCritical = val
}
// SetModelCriticalD sets the value of ModelCriticalD.
func (s *CreateUserReq) SetModelCriticalD(val OptInt) {
s.ModelCriticalD = val
}
// SetGame sets the value of Game.
func (s *CreateUserReq) SetGame(val OptBool) {
s.Game = val
}
// SetGameTest sets the value of GameTest.
func (s *CreateUserReq) SetGameTest(val OptBool) {
s.GameTest = val
}
// SetGameEnd sets the value of GameEnd.
func (s *CreateUserReq) SetGameEnd(val OptBool) {
s.GameEnd = val
}
// SetGameAccount sets the value of GameAccount.
func (s *CreateUserReq) SetGameAccount(val OptBool) {
s.GameAccount = val
}
// SetGameLv sets the value of GameLv.
func (s *CreateUserReq) SetGameLv(val OptInt) {
s.GameLv = val
}
// SetCoin sets the value of Coin.
func (s *CreateUserReq) SetCoin(val OptInt) {
s.Coin = val
}
// SetCoinOpen sets the value of CoinOpen.
func (s *CreateUserReq) SetCoinOpen(val OptBool) {
s.CoinOpen = val
}
// SetCoinAt sets the value of CoinAt.
func (s *CreateUserReq) SetCoinAt(val OptDateTime) {
s.CoinAt = val
}
// SetCard sets the value of Card.
func (s *CreateUserReq) SetCard(val []int) {
s.Card = val
}
// SetUe sets the value of Ue.
func (s *CreateUserReq) SetUe(val []int) {
s.Ue = 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() {}
// DeleteUeNoContent is response for DeleteUe operation.
type DeleteUeNoContent struct{}
func (*DeleteUeNoContent) deleteUeRes() {}
// 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"`
ServerAt OptDateTime `json:"server_at"`
EggAt OptDateTime `json:"egg_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"`
Room OptInt `json:"room"`
Model OptBool `json:"model"`
ModelAt OptDateTime `json:"model_at"`
ModelAttack OptInt `json:"model_attack"`
ModelLimit OptInt `json:"model_limit"`
ModelSkill OptInt `json:"model_skill"`
ModelMode OptInt `json:"model_mode"`
ModelCritical OptInt `json:"model_critical"`
ModelCriticalD OptInt `json:"model_critical_d"`
Game OptBool `json:"game"`
GameTest OptBool `json:"game_test"`
GameEnd OptBool `json:"game_end"`
GameAccount OptBool `json:"game_account"`
GameLv OptInt `json:"game_lv"`
Coin OptInt `json:"coin"`
CoinOpen OptBool `json:"coin_open"`
CoinAt OptDateTime `json:"coin_at"`
}
// 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
}
// GetServerAt returns the value of ServerAt.
func (s *GroupUsersList) GetServerAt() OptDateTime {
return s.ServerAt
}
// GetEggAt returns the value of EggAt.
func (s *GroupUsersList) GetEggAt() OptDateTime {
return s.EggAt
}
// 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
}
// GetRoom returns the value of Room.
func (s *GroupUsersList) GetRoom() OptInt {
return s.Room
}
// GetModel returns the value of Model.
func (s *GroupUsersList) GetModel() OptBool {
return s.Model
}
// GetModelAt returns the value of ModelAt.
func (s *GroupUsersList) GetModelAt() OptDateTime {
return s.ModelAt
}
// GetModelAttack returns the value of ModelAttack.
func (s *GroupUsersList) GetModelAttack() OptInt {
return s.ModelAttack
}
// GetModelLimit returns the value of ModelLimit.
func (s *GroupUsersList) GetModelLimit() OptInt {
return s.ModelLimit
}
// GetModelSkill returns the value of ModelSkill.
func (s *GroupUsersList) GetModelSkill() OptInt {
return s.ModelSkill
}
// GetModelMode returns the value of ModelMode.
func (s *GroupUsersList) GetModelMode() OptInt {
return s.ModelMode
}
// GetModelCritical returns the value of ModelCritical.
func (s *GroupUsersList) GetModelCritical() OptInt {
return s.ModelCritical
}
// GetModelCriticalD returns the value of ModelCriticalD.
func (s *GroupUsersList) GetModelCriticalD() OptInt {
return s.ModelCriticalD
}
// GetGame returns the value of Game.
func (s *GroupUsersList) GetGame() OptBool {
return s.Game
}
// GetGameTest returns the value of GameTest.
func (s *GroupUsersList) GetGameTest() OptBool {
return s.GameTest
}
// GetGameEnd returns the value of GameEnd.
func (s *GroupUsersList) GetGameEnd() OptBool {
return s.GameEnd
}
// GetGameAccount returns the value of GameAccount.
func (s *GroupUsersList) GetGameAccount() OptBool {
return s.GameAccount
}
// GetGameLv returns the value of GameLv.
func (s *GroupUsersList) GetGameLv() OptInt {
return s.GameLv
}
// GetCoin returns the value of Coin.
func (s *GroupUsersList) GetCoin() OptInt {
return s.Coin
}
// GetCoinOpen returns the value of CoinOpen.
func (s *GroupUsersList) GetCoinOpen() OptBool {
return s.CoinOpen
}
// GetCoinAt returns the value of CoinAt.
func (s *GroupUsersList) GetCoinAt() OptDateTime {
return s.CoinAt
}
// 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
}
// SetServerAt sets the value of ServerAt.
func (s *GroupUsersList) SetServerAt(val OptDateTime) {
s.ServerAt = val
}
// SetEggAt sets the value of EggAt.
func (s *GroupUsersList) SetEggAt(val OptDateTime) {
s.EggAt = 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
}
// SetRoom sets the value of Room.
func (s *GroupUsersList) SetRoom(val OptInt) {
s.Room = val
}
// SetModel sets the value of Model.
func (s *GroupUsersList) SetModel(val OptBool) {
s.Model = val
}
// SetModelAt sets the value of ModelAt.
func (s *GroupUsersList) SetModelAt(val OptDateTime) {
s.ModelAt = val
}
// SetModelAttack sets the value of ModelAttack.
func (s *GroupUsersList) SetModelAttack(val OptInt) {
s.ModelAttack = val
}
// SetModelLimit sets the value of ModelLimit.
func (s *GroupUsersList) SetModelLimit(val OptInt) {
s.ModelLimit = val
}
// SetModelSkill sets the value of ModelSkill.
func (s *GroupUsersList) SetModelSkill(val OptInt) {
s.ModelSkill = val
}
// SetModelMode sets the value of ModelMode.
func (s *GroupUsersList) SetModelMode(val OptInt) {
s.ModelMode = val
}
// SetModelCritical sets the value of ModelCritical.
func (s *GroupUsersList) SetModelCritical(val OptInt) {
s.ModelCritical = val
}
// SetModelCriticalD sets the value of ModelCriticalD.
func (s *GroupUsersList) SetModelCriticalD(val OptInt) {
s.ModelCriticalD = val
}
// SetGame sets the value of Game.
func (s *GroupUsersList) SetGame(val OptBool) {
s.Game = val
}
// SetGameTest sets the value of GameTest.
func (s *GroupUsersList) SetGameTest(val OptBool) {
s.GameTest = val
}
// SetGameEnd sets the value of GameEnd.
func (s *GroupUsersList) SetGameEnd(val OptBool) {
s.GameEnd = val
}
// SetGameAccount sets the value of GameAccount.
func (s *GroupUsersList) SetGameAccount(val OptBool) {
s.GameAccount = val
}
// SetGameLv sets the value of GameLv.
func (s *GroupUsersList) SetGameLv(val OptInt) {
s.GameLv = val
}
// SetCoin sets the value of Coin.
func (s *GroupUsersList) SetCoin(val OptInt) {
s.Coin = val
}
// SetCoinOpen sets the value of CoinOpen.
func (s *GroupUsersList) SetCoinOpen(val OptBool) {
s.CoinOpen = val
}
// SetCoinAt sets the value of CoinAt.
func (s *GroupUsersList) SetCoinAt(val OptDateTime) {
s.CoinAt = val
}
type ListCardOKApplicationJSON []CardList
func (*ListCardOKApplicationJSON) listCardRes() {}
type ListGroupOKApplicationJSON []GroupList
func (*ListGroupOKApplicationJSON) listGroupRes() {}
type ListGroupUsersOKApplicationJSON []GroupUsersList
func (*ListGroupUsersOKApplicationJSON) listGroupUsersRes() {}
type ListUeOKApplicationJSON []UeList
func (*ListUeOKApplicationJSON) listUeRes() {}
type ListUserCardOKApplicationJSON []UserCardList
func (*ListUserCardOKApplicationJSON) listUserCardRes() {}
type ListUserOKApplicationJSON []UserList
func (*ListUserOKApplicationJSON) listUserRes() {}
type ListUserUeOKApplicationJSON []UserUeList
func (*ListUserUeOKApplicationJSON) listUserUeRes() {}
// 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) createUeRes() {}
func (*R400) createUserRes() {}
func (*R400) deleteCardRes() {}
func (*R400) deleteGroupRes() {}
func (*R400) deleteUeRes() {}
func (*R400) deleteUserRes() {}
func (*R400) listCardRes() {}
func (*R400) listGroupRes() {}
func (*R400) listGroupUsersRes() {}
func (*R400) listUeRes() {}
func (*R400) listUserCardRes() {}
func (*R400) listUserRes() {}
func (*R400) listUserUeRes() {}
func (*R400) readCardOwnerRes() {}
func (*R400) readCardRes() {}
func (*R400) readGroupRes() {}
func (*R400) readUeOwnerRes() {}
func (*R400) readUeRes() {}
func (*R400) readUserRes() {}
func (*R400) updateCardRes() {}
func (*R400) updateGroupRes() {}
func (*R400) updateUeRes() {}
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) deleteUeRes() {}
func (*R404) deleteUserRes() {}
func (*R404) listCardRes() {}
func (*R404) listGroupRes() {}
func (*R404) listGroupUsersRes() {}
func (*R404) listUeRes() {}
func (*R404) listUserCardRes() {}
func (*R404) listUserRes() {}
func (*R404) listUserUeRes() {}
func (*R404) readCardOwnerRes() {}
func (*R404) readCardRes() {}
func (*R404) readGroupRes() {}
func (*R404) readUeOwnerRes() {}
func (*R404) readUeRes() {}
func (*R404) readUserRes() {}
func (*R404) updateCardRes() {}
func (*R404) updateGroupRes() {}
func (*R404) updateUeRes() {}
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) createUeRes() {}
func (*R409) createUserRes() {}
func (*R409) deleteCardRes() {}
func (*R409) deleteGroupRes() {}
func (*R409) deleteUeRes() {}
func (*R409) deleteUserRes() {}
func (*R409) listCardRes() {}
func (*R409) listGroupRes() {}
func (*R409) listGroupUsersRes() {}
func (*R409) listUeRes() {}
func (*R409) listUserCardRes() {}
func (*R409) listUserRes() {}
func (*R409) listUserUeRes() {}
func (*R409) readCardOwnerRes() {}
func (*R409) readCardRes() {}
func (*R409) readGroupRes() {}
func (*R409) readUeOwnerRes() {}
func (*R409) readUeRes() {}
func (*R409) readUserRes() {}
func (*R409) updateCardRes() {}
func (*R409) updateGroupRes() {}
func (*R409) updateUeRes() {}
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) createUeRes() {}
func (*R500) createUserRes() {}
func (*R500) deleteCardRes() {}
func (*R500) deleteGroupRes() {}
func (*R500) deleteUeRes() {}
func (*R500) deleteUserRes() {}
func (*R500) listCardRes() {}
func (*R500) listGroupRes() {}
func (*R500) listGroupUsersRes() {}
func (*R500) listUeRes() {}
func (*R500) listUserCardRes() {}
func (*R500) listUserRes() {}
func (*R500) listUserUeRes() {}
func (*R500) readCardOwnerRes() {}
func (*R500) readCardRes() {}
func (*R500) readGroupRes() {}
func (*R500) readUeOwnerRes() {}
func (*R500) readUeRes() {}
func (*R500) readUserRes() {}
func (*R500) updateCardRes() {}
func (*R500) updateGroupRes() {}
func (*R500) updateUeRes() {}
func (*R500) updateUserRes() {}
// Ref: #/components/schemas/UeCreate
type UeCreate struct {
ID int `json:"id"`
Limit OptBool `json:"limit"`
LimitBoss OptBool `json:"limit_boss"`
LimitItem OptBool `json:"limit_item"`
Lv OptInt `json:"lv"`
LvPoint OptInt `json:"lv_point"`
Model OptInt `json:"model"`
Sword OptInt `json:"sword"`
Card OptInt `json:"card"`
Mode OptString `json:"mode"`
Cp OptInt `json:"cp"`
Count OptInt `json:"count"`
LocationX OptInt `json:"location_x"`
LocationY OptInt `json:"location_y"`
LocationZ OptInt `json:"location_z"`
LocationN OptInt `json:"location_n"`
Author OptString `json:"author"`
CreatedAt OptDateTime `json:"created_at"`
}
// GetID returns the value of ID.
func (s *UeCreate) GetID() int {
return s.ID
}
// GetLimit returns the value of Limit.
func (s *UeCreate) GetLimit() OptBool {
return s.Limit
}
// GetLimitBoss returns the value of LimitBoss.
func (s *UeCreate) GetLimitBoss() OptBool {
return s.LimitBoss
}
// GetLimitItem returns the value of LimitItem.
func (s *UeCreate) GetLimitItem() OptBool {
return s.LimitItem
}
// GetLv returns the value of Lv.
func (s *UeCreate) GetLv() OptInt {
return s.Lv
}
// GetLvPoint returns the value of LvPoint.
func (s *UeCreate) GetLvPoint() OptInt {
return s.LvPoint
}
// GetModel returns the value of Model.
func (s *UeCreate) GetModel() OptInt {
return s.Model
}
// GetSword returns the value of Sword.
func (s *UeCreate) GetSword() OptInt {
return s.Sword
}
// GetCard returns the value of Card.
func (s *UeCreate) GetCard() OptInt {
return s.Card
}
// GetMode returns the value of Mode.
func (s *UeCreate) GetMode() OptString {
return s.Mode
}
// GetCp returns the value of Cp.
func (s *UeCreate) GetCp() OptInt {
return s.Cp
}
// GetCount returns the value of Count.
func (s *UeCreate) GetCount() OptInt {
return s.Count
}
// GetLocationX returns the value of LocationX.
func (s *UeCreate) GetLocationX() OptInt {
return s.LocationX
}
// GetLocationY returns the value of LocationY.
func (s *UeCreate) GetLocationY() OptInt {
return s.LocationY
}
// GetLocationZ returns the value of LocationZ.
func (s *UeCreate) GetLocationZ() OptInt {
return s.LocationZ
}
// GetLocationN returns the value of LocationN.
func (s *UeCreate) GetLocationN() OptInt {
return s.LocationN
}
// GetAuthor returns the value of Author.
func (s *UeCreate) GetAuthor() OptString {
return s.Author
}
// GetCreatedAt returns the value of CreatedAt.
func (s *UeCreate) GetCreatedAt() OptDateTime {
return s.CreatedAt
}
// SetID sets the value of ID.
func (s *UeCreate) SetID(val int) {
s.ID = val
}
// SetLimit sets the value of Limit.
func (s *UeCreate) SetLimit(val OptBool) {
s.Limit = val
}
// SetLimitBoss sets the value of LimitBoss.
func (s *UeCreate) SetLimitBoss(val OptBool) {
s.LimitBoss = val
}
// SetLimitItem sets the value of LimitItem.
func (s *UeCreate) SetLimitItem(val OptBool) {
s.LimitItem = val
}
// SetLv sets the value of Lv.
func (s *UeCreate) SetLv(val OptInt) {
s.Lv = val
}
// SetLvPoint sets the value of LvPoint.
func (s *UeCreate) SetLvPoint(val OptInt) {
s.LvPoint = val
}
// SetModel sets the value of Model.
func (s *UeCreate) SetModel(val OptInt) {
s.Model = val
}
// SetSword sets the value of Sword.
func (s *UeCreate) SetSword(val OptInt) {
s.Sword = val
}
// SetCard sets the value of Card.
func (s *UeCreate) SetCard(val OptInt) {
s.Card = val
}
// SetMode sets the value of Mode.
func (s *UeCreate) SetMode(val OptString) {
s.Mode = val
}
// SetCp sets the value of Cp.
func (s *UeCreate) SetCp(val OptInt) {
s.Cp = val
}
// SetCount sets the value of Count.
func (s *UeCreate) SetCount(val OptInt) {
s.Count = val
}
// SetLocationX sets the value of LocationX.
func (s *UeCreate) SetLocationX(val OptInt) {
s.LocationX = val
}
// SetLocationY sets the value of LocationY.
func (s *UeCreate) SetLocationY(val OptInt) {
s.LocationY = val
}
// SetLocationZ sets the value of LocationZ.
func (s *UeCreate) SetLocationZ(val OptInt) {
s.LocationZ = val
}
// SetLocationN sets the value of LocationN.
func (s *UeCreate) SetLocationN(val OptInt) {
s.LocationN = val
}
// SetAuthor sets the value of Author.
func (s *UeCreate) SetAuthor(val OptString) {
s.Author = val
}
// SetCreatedAt sets the value of CreatedAt.
func (s *UeCreate) SetCreatedAt(val OptDateTime) {
s.CreatedAt = val
}
func (*UeCreate) createUeRes() {}
// Ref: #/components/schemas/UeList
type UeList struct {
ID int `json:"id"`
Limit OptBool `json:"limit"`
LimitBoss OptBool `json:"limit_boss"`
LimitItem OptBool `json:"limit_item"`
Lv OptInt `json:"lv"`
LvPoint OptInt `json:"lv_point"`
Model OptInt `json:"model"`
Sword OptInt `json:"sword"`
Card OptInt `json:"card"`
Mode OptString `json:"mode"`
Cp OptInt `json:"cp"`
Count OptInt `json:"count"`
LocationX OptInt `json:"location_x"`
LocationY OptInt `json:"location_y"`
LocationZ OptInt `json:"location_z"`
LocationN OptInt `json:"location_n"`
Author OptString `json:"author"`
CreatedAt OptDateTime `json:"created_at"`
}
// GetID returns the value of ID.
func (s *UeList) GetID() int {
return s.ID
}
// GetLimit returns the value of Limit.
func (s *UeList) GetLimit() OptBool {
return s.Limit
}
// GetLimitBoss returns the value of LimitBoss.
func (s *UeList) GetLimitBoss() OptBool {
return s.LimitBoss
}
// GetLimitItem returns the value of LimitItem.
func (s *UeList) GetLimitItem() OptBool {
return s.LimitItem
}
// GetLv returns the value of Lv.
func (s *UeList) GetLv() OptInt {
return s.Lv
}
// GetLvPoint returns the value of LvPoint.
func (s *UeList) GetLvPoint() OptInt {
return s.LvPoint
}
// GetModel returns the value of Model.
func (s *UeList) GetModel() OptInt {
return s.Model
}
// GetSword returns the value of Sword.
func (s *UeList) GetSword() OptInt {
return s.Sword
}
// GetCard returns the value of Card.
func (s *UeList) GetCard() OptInt {
return s.Card
}
// GetMode returns the value of Mode.
func (s *UeList) GetMode() OptString {
return s.Mode
}
// GetCp returns the value of Cp.
func (s *UeList) GetCp() OptInt {
return s.Cp
}
// GetCount returns the value of Count.
func (s *UeList) GetCount() OptInt {
return s.Count
}
// GetLocationX returns the value of LocationX.
func (s *UeList) GetLocationX() OptInt {
return s.LocationX
}
// GetLocationY returns the value of LocationY.
func (s *UeList) GetLocationY() OptInt {
return s.LocationY
}
// GetLocationZ returns the value of LocationZ.
func (s *UeList) GetLocationZ() OptInt {
return s.LocationZ
}
// GetLocationN returns the value of LocationN.
func (s *UeList) GetLocationN() OptInt {
return s.LocationN
}
// GetAuthor returns the value of Author.
func (s *UeList) GetAuthor() OptString {
return s.Author
}
// GetCreatedAt returns the value of CreatedAt.
func (s *UeList) GetCreatedAt() OptDateTime {
return s.CreatedAt
}
// SetID sets the value of ID.
func (s *UeList) SetID(val int) {
s.ID = val
}
// SetLimit sets the value of Limit.
func (s *UeList) SetLimit(val OptBool) {
s.Limit = val
}
// SetLimitBoss sets the value of LimitBoss.
func (s *UeList) SetLimitBoss(val OptBool) {
s.LimitBoss = val
}
// SetLimitItem sets the value of LimitItem.
func (s *UeList) SetLimitItem(val OptBool) {
s.LimitItem = val
}
// SetLv sets the value of Lv.
func (s *UeList) SetLv(val OptInt) {
s.Lv = val
}
// SetLvPoint sets the value of LvPoint.
func (s *UeList) SetLvPoint(val OptInt) {
s.LvPoint = val
}
// SetModel sets the value of Model.
func (s *UeList) SetModel(val OptInt) {
s.Model = val
}
// SetSword sets the value of Sword.
func (s *UeList) SetSword(val OptInt) {
s.Sword = val
}
// SetCard sets the value of Card.
func (s *UeList) SetCard(val OptInt) {
s.Card = val
}
// SetMode sets the value of Mode.
func (s *UeList) SetMode(val OptString) {
s.Mode = val
}
// SetCp sets the value of Cp.
func (s *UeList) SetCp(val OptInt) {
s.Cp = val
}
// SetCount sets the value of Count.
func (s *UeList) SetCount(val OptInt) {
s.Count = val
}
// SetLocationX sets the value of LocationX.
func (s *UeList) SetLocationX(val OptInt) {
s.LocationX = val
}
// SetLocationY sets the value of LocationY.
func (s *UeList) SetLocationY(val OptInt) {
s.LocationY = val
}
// SetLocationZ sets the value of LocationZ.
func (s *UeList) SetLocationZ(val OptInt) {
s.LocationZ = val
}
// SetLocationN sets the value of LocationN.
func (s *UeList) SetLocationN(val OptInt) {
s.LocationN = val
}
// SetAuthor sets the value of Author.
func (s *UeList) SetAuthor(val OptString) {
s.Author = val
}
// SetCreatedAt sets the value of CreatedAt.
func (s *UeList) SetCreatedAt(val OptDateTime) {
s.CreatedAt = val
}
// Ref: #/components/schemas/Ue_OwnerRead
type UeOwnerRead 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"`
ServerAt OptDateTime `json:"server_at"`
EggAt OptDateTime `json:"egg_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"`
Room OptInt `json:"room"`
Model OptBool `json:"model"`
ModelAt OptDateTime `json:"model_at"`
ModelAttack OptInt `json:"model_attack"`
ModelLimit OptInt `json:"model_limit"`
ModelSkill OptInt `json:"model_skill"`
ModelMode OptInt `json:"model_mode"`
ModelCritical OptInt `json:"model_critical"`
ModelCriticalD OptInt `json:"model_critical_d"`
Game OptBool `json:"game"`
GameTest OptBool `json:"game_test"`
GameEnd OptBool `json:"game_end"`
GameAccount OptBool `json:"game_account"`
GameLv OptInt `json:"game_lv"`
Coin OptInt `json:"coin"`
CoinOpen OptBool `json:"coin_open"`
CoinAt OptDateTime `json:"coin_at"`
}
// GetID returns the value of ID.
func (s *UeOwnerRead) GetID() int {
return s.ID
}
// GetUsername returns the value of Username.
func (s *UeOwnerRead) GetUsername() string {
return s.Username
}
// GetDid returns the value of Did.
func (s *UeOwnerRead) GetDid() OptString {
return s.Did
}
// GetMember returns the value of Member.
func (s *UeOwnerRead) GetMember() OptBool {
return s.Member
}
// GetBook returns the value of Book.
func (s *UeOwnerRead) GetBook() OptBool {
return s.Book
}
// GetManga returns the value of Manga.
func (s *UeOwnerRead) GetManga() OptBool {
return s.Manga
}
// GetBadge returns the value of Badge.
func (s *UeOwnerRead) GetBadge() OptBool {
return s.Badge
}
// GetBsky returns the value of Bsky.
func (s *UeOwnerRead) GetBsky() OptBool {
return s.Bsky
}
// GetMastodon returns the value of Mastodon.
func (s *UeOwnerRead) GetMastodon() OptBool {
return s.Mastodon
}
// GetDelete returns the value of Delete.
func (s *UeOwnerRead) GetDelete() OptBool {
return s.Delete
}
// GetHandle returns the value of Handle.
func (s *UeOwnerRead) GetHandle() OptBool {
return s.Handle
}
// GetCreatedAt returns the value of CreatedAt.
func (s *UeOwnerRead) GetCreatedAt() OptDateTime {
return s.CreatedAt
}
// GetUpdatedAt returns the value of UpdatedAt.
func (s *UeOwnerRead) GetUpdatedAt() OptDateTime {
return s.UpdatedAt
}
// GetRaidAt returns the value of RaidAt.
func (s *UeOwnerRead) GetRaidAt() OptDateTime {
return s.RaidAt
}
// GetServerAt returns the value of ServerAt.
func (s *UeOwnerRead) GetServerAt() OptDateTime {
return s.ServerAt
}
// GetEggAt returns the value of EggAt.
func (s *UeOwnerRead) GetEggAt() OptDateTime {
return s.EggAt
}
// GetLuck returns the value of Luck.
func (s *UeOwnerRead) GetLuck() OptInt {
return s.Luck
}
// GetLuckAt returns the value of LuckAt.
func (s *UeOwnerRead) GetLuckAt() OptDateTime {
return s.LuckAt
}
// GetLike returns the value of Like.
func (s *UeOwnerRead) GetLike() OptInt {
return s.Like
}
// GetLikeRank returns the value of LikeRank.
func (s *UeOwnerRead) GetLikeRank() OptInt {
return s.LikeRank
}
// GetLikeAt returns the value of LikeAt.
func (s *UeOwnerRead) GetLikeAt() OptDateTime {
return s.LikeAt
}
// GetFav returns the value of Fav.
func (s *UeOwnerRead) GetFav() OptInt {
return s.Fav
}
// GetTen returns the value of Ten.
func (s *UeOwnerRead) GetTen() OptBool {
return s.Ten
}
// GetTenSu returns the value of TenSu.
func (s *UeOwnerRead) GetTenSu() OptInt {
return s.TenSu
}
// GetTenKai returns the value of TenKai.
func (s *UeOwnerRead) GetTenKai() OptInt {
return s.TenKai
}
// GetAiten returns the value of Aiten.
func (s *UeOwnerRead) GetAiten() OptInt {
return s.Aiten
}
// GetTenCard returns the value of TenCard.
func (s *UeOwnerRead) GetTenCard() OptString {
return s.TenCard
}
// GetTenDelete returns the value of TenDelete.
func (s *UeOwnerRead) GetTenDelete() OptString {
return s.TenDelete
}
// GetTenPost returns the value of TenPost.
func (s *UeOwnerRead) GetTenPost() OptString {
return s.TenPost
}
// GetTenGet returns the value of TenGet.
func (s *UeOwnerRead) GetTenGet() OptString {
return s.TenGet
}
// GetTenAt returns the value of TenAt.
func (s *UeOwnerRead) GetTenAt() OptDateTime {
return s.TenAt
}
// GetNext returns the value of Next.
func (s *UeOwnerRead) GetNext() OptString {
return s.Next
}
// GetRoom returns the value of Room.
func (s *UeOwnerRead) GetRoom() OptInt {
return s.Room
}
// GetModel returns the value of Model.
func (s *UeOwnerRead) GetModel() OptBool {
return s.Model
}
// GetModelAt returns the value of ModelAt.
func (s *UeOwnerRead) GetModelAt() OptDateTime {
return s.ModelAt
}
// GetModelAttack returns the value of ModelAttack.
func (s *UeOwnerRead) GetModelAttack() OptInt {
return s.ModelAttack
}
// GetModelLimit returns the value of ModelLimit.
func (s *UeOwnerRead) GetModelLimit() OptInt {
return s.ModelLimit
}
// GetModelSkill returns the value of ModelSkill.
func (s *UeOwnerRead) GetModelSkill() OptInt {
return s.ModelSkill
}
// GetModelMode returns the value of ModelMode.
func (s *UeOwnerRead) GetModelMode() OptInt {
return s.ModelMode
}
// GetModelCritical returns the value of ModelCritical.
func (s *UeOwnerRead) GetModelCritical() OptInt {
return s.ModelCritical
}
// GetModelCriticalD returns the value of ModelCriticalD.
func (s *UeOwnerRead) GetModelCriticalD() OptInt {
return s.ModelCriticalD
}
// GetGame returns the value of Game.
func (s *UeOwnerRead) GetGame() OptBool {
return s.Game
}
// GetGameTest returns the value of GameTest.
func (s *UeOwnerRead) GetGameTest() OptBool {
return s.GameTest
}
// GetGameEnd returns the value of GameEnd.
func (s *UeOwnerRead) GetGameEnd() OptBool {
return s.GameEnd
}
// GetGameAccount returns the value of GameAccount.
func (s *UeOwnerRead) GetGameAccount() OptBool {
return s.GameAccount
}
// GetGameLv returns the value of GameLv.
func (s *UeOwnerRead) GetGameLv() OptInt {
return s.GameLv
}
// GetCoin returns the value of Coin.
func (s *UeOwnerRead) GetCoin() OptInt {
return s.Coin
}
// GetCoinOpen returns the value of CoinOpen.
func (s *UeOwnerRead) GetCoinOpen() OptBool {
return s.CoinOpen
}
// GetCoinAt returns the value of CoinAt.
func (s *UeOwnerRead) GetCoinAt() OptDateTime {
return s.CoinAt
}
// SetID sets the value of ID.
func (s *UeOwnerRead) SetID(val int) {
s.ID = val
}
// SetUsername sets the value of Username.
func (s *UeOwnerRead) SetUsername(val string) {
s.Username = val
}
// SetDid sets the value of Did.
func (s *UeOwnerRead) SetDid(val OptString) {
s.Did = val
}
// SetMember sets the value of Member.
func (s *UeOwnerRead) SetMember(val OptBool) {
s.Member = val
}
// SetBook sets the value of Book.
func (s *UeOwnerRead) SetBook(val OptBool) {
s.Book = val
}
// SetManga sets the value of Manga.
func (s *UeOwnerRead) SetManga(val OptBool) {
s.Manga = val
}
// SetBadge sets the value of Badge.
func (s *UeOwnerRead) SetBadge(val OptBool) {
s.Badge = val
}
// SetBsky sets the value of Bsky.
func (s *UeOwnerRead) SetBsky(val OptBool) {
s.Bsky = val
}
// SetMastodon sets the value of Mastodon.
func (s *UeOwnerRead) SetMastodon(val OptBool) {
s.Mastodon = val
}
// SetDelete sets the value of Delete.
func (s *UeOwnerRead) SetDelete(val OptBool) {
s.Delete = val
}
// SetHandle sets the value of Handle.
func (s *UeOwnerRead) SetHandle(val OptBool) {
s.Handle = val
}
// SetCreatedAt sets the value of CreatedAt.
func (s *UeOwnerRead) SetCreatedAt(val OptDateTime) {
s.CreatedAt = val
}
// SetUpdatedAt sets the value of UpdatedAt.
func (s *UeOwnerRead) SetUpdatedAt(val OptDateTime) {
s.UpdatedAt = val
}
// SetRaidAt sets the value of RaidAt.
func (s *UeOwnerRead) SetRaidAt(val OptDateTime) {
s.RaidAt = val
}
// SetServerAt sets the value of ServerAt.
func (s *UeOwnerRead) SetServerAt(val OptDateTime) {
s.ServerAt = val
}
// SetEggAt sets the value of EggAt.
func (s *UeOwnerRead) SetEggAt(val OptDateTime) {
s.EggAt = val
}
// SetLuck sets the value of Luck.
func (s *UeOwnerRead) SetLuck(val OptInt) {
s.Luck = val
}
// SetLuckAt sets the value of LuckAt.
func (s *UeOwnerRead) SetLuckAt(val OptDateTime) {
s.LuckAt = val
}
// SetLike sets the value of Like.
func (s *UeOwnerRead) SetLike(val OptInt) {
s.Like = val
}
// SetLikeRank sets the value of LikeRank.
func (s *UeOwnerRead) SetLikeRank(val OptInt) {
s.LikeRank = val
}
// SetLikeAt sets the value of LikeAt.
func (s *UeOwnerRead) SetLikeAt(val OptDateTime) {
s.LikeAt = val
}
// SetFav sets the value of Fav.
func (s *UeOwnerRead) SetFav(val OptInt) {
s.Fav = val
}
// SetTen sets the value of Ten.
func (s *UeOwnerRead) SetTen(val OptBool) {
s.Ten = val
}
// SetTenSu sets the value of TenSu.
func (s *UeOwnerRead) SetTenSu(val OptInt) {
s.TenSu = val
}
// SetTenKai sets the value of TenKai.
func (s *UeOwnerRead) SetTenKai(val OptInt) {
s.TenKai = val
}
// SetAiten sets the value of Aiten.
func (s *UeOwnerRead) SetAiten(val OptInt) {
s.Aiten = val
}
// SetTenCard sets the value of TenCard.
func (s *UeOwnerRead) SetTenCard(val OptString) {
s.TenCard = val
}
// SetTenDelete sets the value of TenDelete.
func (s *UeOwnerRead) SetTenDelete(val OptString) {
s.TenDelete = val
}
// SetTenPost sets the value of TenPost.
func (s *UeOwnerRead) SetTenPost(val OptString) {
s.TenPost = val
}
// SetTenGet sets the value of TenGet.
func (s *UeOwnerRead) SetTenGet(val OptString) {
s.TenGet = val
}
// SetTenAt sets the value of TenAt.
func (s *UeOwnerRead) SetTenAt(val OptDateTime) {
s.TenAt = val
}
// SetNext sets the value of Next.
func (s *UeOwnerRead) SetNext(val OptString) {
s.Next = val
}
// SetRoom sets the value of Room.
func (s *UeOwnerRead) SetRoom(val OptInt) {
s.Room = val
}
// SetModel sets the value of Model.
func (s *UeOwnerRead) SetModel(val OptBool) {
s.Model = val
}
// SetModelAt sets the value of ModelAt.
func (s *UeOwnerRead) SetModelAt(val OptDateTime) {
s.ModelAt = val
}
// SetModelAttack sets the value of ModelAttack.
func (s *UeOwnerRead) SetModelAttack(val OptInt) {
s.ModelAttack = val
}
// SetModelLimit sets the value of ModelLimit.
func (s *UeOwnerRead) SetModelLimit(val OptInt) {
s.ModelLimit = val
}
// SetModelSkill sets the value of ModelSkill.
func (s *UeOwnerRead) SetModelSkill(val OptInt) {
s.ModelSkill = val
}
// SetModelMode sets the value of ModelMode.
func (s *UeOwnerRead) SetModelMode(val OptInt) {
s.ModelMode = val
}
// SetModelCritical sets the value of ModelCritical.
func (s *UeOwnerRead) SetModelCritical(val OptInt) {
s.ModelCritical = val
}
// SetModelCriticalD sets the value of ModelCriticalD.
func (s *UeOwnerRead) SetModelCriticalD(val OptInt) {
s.ModelCriticalD = val
}
// SetGame sets the value of Game.
func (s *UeOwnerRead) SetGame(val OptBool) {
s.Game = val
}
// SetGameTest sets the value of GameTest.
func (s *UeOwnerRead) SetGameTest(val OptBool) {
s.GameTest = val
}
// SetGameEnd sets the value of GameEnd.
func (s *UeOwnerRead) SetGameEnd(val OptBool) {
s.GameEnd = val
}
// SetGameAccount sets the value of GameAccount.
func (s *UeOwnerRead) SetGameAccount(val OptBool) {
s.GameAccount = val
}
// SetGameLv sets the value of GameLv.
func (s *UeOwnerRead) SetGameLv(val OptInt) {
s.GameLv = val
}
// SetCoin sets the value of Coin.
func (s *UeOwnerRead) SetCoin(val OptInt) {
s.Coin = val
}
// SetCoinOpen sets the value of CoinOpen.
func (s *UeOwnerRead) SetCoinOpen(val OptBool) {
s.CoinOpen = val
}
// SetCoinAt sets the value of CoinAt.
func (s *UeOwnerRead) SetCoinAt(val OptDateTime) {
s.CoinAt = val
}
func (*UeOwnerRead) readUeOwnerRes() {}
// Ref: #/components/schemas/UeRead
type UeRead struct {
ID int `json:"id"`
Limit OptBool `json:"limit"`
LimitBoss OptBool `json:"limit_boss"`
LimitItem OptBool `json:"limit_item"`
Lv OptInt `json:"lv"`
LvPoint OptInt `json:"lv_point"`
Model OptInt `json:"model"`
Sword OptInt `json:"sword"`
Card OptInt `json:"card"`
Mode OptString `json:"mode"`
Cp OptInt `json:"cp"`
Count OptInt `json:"count"`
LocationX OptInt `json:"location_x"`
LocationY OptInt `json:"location_y"`
LocationZ OptInt `json:"location_z"`
LocationN OptInt `json:"location_n"`
Author OptString `json:"author"`
CreatedAt OptDateTime `json:"created_at"`
}
// GetID returns the value of ID.
func (s *UeRead) GetID() int {
return s.ID
}
// GetLimit returns the value of Limit.
func (s *UeRead) GetLimit() OptBool {
return s.Limit
}
// GetLimitBoss returns the value of LimitBoss.
func (s *UeRead) GetLimitBoss() OptBool {
return s.LimitBoss
}
// GetLimitItem returns the value of LimitItem.
func (s *UeRead) GetLimitItem() OptBool {
return s.LimitItem
}
// GetLv returns the value of Lv.
func (s *UeRead) GetLv() OptInt {
return s.Lv
}
// GetLvPoint returns the value of LvPoint.
func (s *UeRead) GetLvPoint() OptInt {
return s.LvPoint
}
// GetModel returns the value of Model.
func (s *UeRead) GetModel() OptInt {
return s.Model
}
// GetSword returns the value of Sword.
func (s *UeRead) GetSword() OptInt {
return s.Sword
}
// GetCard returns the value of Card.
func (s *UeRead) GetCard() OptInt {
return s.Card
}
// GetMode returns the value of Mode.
func (s *UeRead) GetMode() OptString {
return s.Mode
}
// GetCp returns the value of Cp.
func (s *UeRead) GetCp() OptInt {
return s.Cp
}
// GetCount returns the value of Count.
func (s *UeRead) GetCount() OptInt {
return s.Count
}
// GetLocationX returns the value of LocationX.
func (s *UeRead) GetLocationX() OptInt {
return s.LocationX
}
// GetLocationY returns the value of LocationY.
func (s *UeRead) GetLocationY() OptInt {
return s.LocationY
}
// GetLocationZ returns the value of LocationZ.
func (s *UeRead) GetLocationZ() OptInt {
return s.LocationZ
}
// GetLocationN returns the value of LocationN.
func (s *UeRead) GetLocationN() OptInt {
return s.LocationN
}
// GetAuthor returns the value of Author.
func (s *UeRead) GetAuthor() OptString {
return s.Author
}
// GetCreatedAt returns the value of CreatedAt.
func (s *UeRead) GetCreatedAt() OptDateTime {
return s.CreatedAt
}
// SetID sets the value of ID.
func (s *UeRead) SetID(val int) {
s.ID = val
}
// SetLimit sets the value of Limit.
func (s *UeRead) SetLimit(val OptBool) {
s.Limit = val
}
// SetLimitBoss sets the value of LimitBoss.
func (s *UeRead) SetLimitBoss(val OptBool) {
s.LimitBoss = val
}
// SetLimitItem sets the value of LimitItem.
func (s *UeRead) SetLimitItem(val OptBool) {
s.LimitItem = val
}
// SetLv sets the value of Lv.
func (s *UeRead) SetLv(val OptInt) {
s.Lv = val
}
// SetLvPoint sets the value of LvPoint.
func (s *UeRead) SetLvPoint(val OptInt) {
s.LvPoint = val
}
// SetModel sets the value of Model.
func (s *UeRead) SetModel(val OptInt) {
s.Model = val
}
// SetSword sets the value of Sword.
func (s *UeRead) SetSword(val OptInt) {
s.Sword = val
}
// SetCard sets the value of Card.
func (s *UeRead) SetCard(val OptInt) {
s.Card = val
}
// SetMode sets the value of Mode.
func (s *UeRead) SetMode(val OptString) {
s.Mode = val
}
// SetCp sets the value of Cp.
func (s *UeRead) SetCp(val OptInt) {
s.Cp = val
}
// SetCount sets the value of Count.
func (s *UeRead) SetCount(val OptInt) {
s.Count = val
}
// SetLocationX sets the value of LocationX.
func (s *UeRead) SetLocationX(val OptInt) {
s.LocationX = val
}
// SetLocationY sets the value of LocationY.
func (s *UeRead) SetLocationY(val OptInt) {
s.LocationY = val
}
// SetLocationZ sets the value of LocationZ.
func (s *UeRead) SetLocationZ(val OptInt) {
s.LocationZ = val
}
// SetLocationN sets the value of LocationN.
func (s *UeRead) SetLocationN(val OptInt) {
s.LocationN = val
}
// SetAuthor sets the value of Author.
func (s *UeRead) SetAuthor(val OptString) {
s.Author = val
}
// SetCreatedAt sets the value of CreatedAt.
func (s *UeRead) SetCreatedAt(val OptDateTime) {
s.CreatedAt = val
}
func (*UeRead) readUeRes() {}
// Ref: #/components/schemas/UeUpdate
type UeUpdate struct {
ID int `json:"id"`
Limit OptBool `json:"limit"`
LimitBoss OptBool `json:"limit_boss"`
LimitItem OptBool `json:"limit_item"`
Lv OptInt `json:"lv"`
LvPoint OptInt `json:"lv_point"`
Model OptInt `json:"model"`
Sword OptInt `json:"sword"`
Card OptInt `json:"card"`
Mode OptString `json:"mode"`
Cp OptInt `json:"cp"`
Count OptInt `json:"count"`
LocationX OptInt `json:"location_x"`
LocationY OptInt `json:"location_y"`
LocationZ OptInt `json:"location_z"`
LocationN OptInt `json:"location_n"`
Author OptString `json:"author"`
CreatedAt OptDateTime `json:"created_at"`
}
// GetID returns the value of ID.
func (s *UeUpdate) GetID() int {
return s.ID
}
// GetLimit returns the value of Limit.
func (s *UeUpdate) GetLimit() OptBool {
return s.Limit
}
// GetLimitBoss returns the value of LimitBoss.
func (s *UeUpdate) GetLimitBoss() OptBool {
return s.LimitBoss
}
// GetLimitItem returns the value of LimitItem.
func (s *UeUpdate) GetLimitItem() OptBool {
return s.LimitItem
}
// GetLv returns the value of Lv.
func (s *UeUpdate) GetLv() OptInt {
return s.Lv
}
// GetLvPoint returns the value of LvPoint.
func (s *UeUpdate) GetLvPoint() OptInt {
return s.LvPoint
}
// GetModel returns the value of Model.
func (s *UeUpdate) GetModel() OptInt {
return s.Model
}
// GetSword returns the value of Sword.
func (s *UeUpdate) GetSword() OptInt {
return s.Sword
}
// GetCard returns the value of Card.
func (s *UeUpdate) GetCard() OptInt {
return s.Card
}
// GetMode returns the value of Mode.
func (s *UeUpdate) GetMode() OptString {
return s.Mode
}
// GetCp returns the value of Cp.
func (s *UeUpdate) GetCp() OptInt {
return s.Cp
}
// GetCount returns the value of Count.
func (s *UeUpdate) GetCount() OptInt {
return s.Count
}
// GetLocationX returns the value of LocationX.
func (s *UeUpdate) GetLocationX() OptInt {
return s.LocationX
}
// GetLocationY returns the value of LocationY.
func (s *UeUpdate) GetLocationY() OptInt {
return s.LocationY
}
// GetLocationZ returns the value of LocationZ.
func (s *UeUpdate) GetLocationZ() OptInt {
return s.LocationZ
}
// GetLocationN returns the value of LocationN.
func (s *UeUpdate) GetLocationN() OptInt {
return s.LocationN
}
// GetAuthor returns the value of Author.
func (s *UeUpdate) GetAuthor() OptString {
return s.Author
}
// GetCreatedAt returns the value of CreatedAt.
func (s *UeUpdate) GetCreatedAt() OptDateTime {
return s.CreatedAt
}
// SetID sets the value of ID.
func (s *UeUpdate) SetID(val int) {
s.ID = val
}
// SetLimit sets the value of Limit.
func (s *UeUpdate) SetLimit(val OptBool) {
s.Limit = val
}
// SetLimitBoss sets the value of LimitBoss.
func (s *UeUpdate) SetLimitBoss(val OptBool) {
s.LimitBoss = val
}
// SetLimitItem sets the value of LimitItem.
func (s *UeUpdate) SetLimitItem(val OptBool) {
s.LimitItem = val
}
// SetLv sets the value of Lv.
func (s *UeUpdate) SetLv(val OptInt) {
s.Lv = val
}
// SetLvPoint sets the value of LvPoint.
func (s *UeUpdate) SetLvPoint(val OptInt) {
s.LvPoint = val
}
// SetModel sets the value of Model.
func (s *UeUpdate) SetModel(val OptInt) {
s.Model = val
}
// SetSword sets the value of Sword.
func (s *UeUpdate) SetSword(val OptInt) {
s.Sword = val
}
// SetCard sets the value of Card.
func (s *UeUpdate) SetCard(val OptInt) {
s.Card = val
}
// SetMode sets the value of Mode.
func (s *UeUpdate) SetMode(val OptString) {
s.Mode = val
}
// SetCp sets the value of Cp.
func (s *UeUpdate) SetCp(val OptInt) {
s.Cp = val
}
// SetCount sets the value of Count.
func (s *UeUpdate) SetCount(val OptInt) {
s.Count = val
}
// SetLocationX sets the value of LocationX.
func (s *UeUpdate) SetLocationX(val OptInt) {
s.LocationX = val
}
// SetLocationY sets the value of LocationY.
func (s *UeUpdate) SetLocationY(val OptInt) {
s.LocationY = val
}
// SetLocationZ sets the value of LocationZ.
func (s *UeUpdate) SetLocationZ(val OptInt) {
s.LocationZ = val
}
// SetLocationN sets the value of LocationN.
func (s *UeUpdate) SetLocationN(val OptInt) {
s.LocationN = val
}
// SetAuthor sets the value of Author.
func (s *UeUpdate) SetAuthor(val OptString) {
s.Author = val
}
// SetCreatedAt sets the value of CreatedAt.
func (s *UeUpdate) SetCreatedAt(val OptDateTime) {
s.CreatedAt = val
}
func (*UeUpdate) updateUeRes() {}
type UpdateCardReq struct {
Card OptInt `json:"card"`
Skill OptString `json:"skill"`
Status OptString `json:"status"`
Token OptString `json:"token"`
Cp OptInt `json:"cp"`
URL OptString `json:"url"`
Count OptInt `json:"count"`
Author OptString `json:"author"`
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
}
// GetURL returns the value of URL.
func (s *UpdateCardReq) GetURL() OptString {
return s.URL
}
// GetCount returns the value of Count.
func (s *UpdateCardReq) GetCount() OptInt {
return s.Count
}
// GetAuthor returns the value of Author.
func (s *UpdateCardReq) GetAuthor() OptString {
return s.Author
}
// 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
}
// SetURL sets the value of URL.
func (s *UpdateCardReq) SetURL(val OptString) {
s.URL = val
}
// SetCount sets the value of Count.
func (s *UpdateCardReq) SetCount(val OptInt) {
s.Count = val
}
// SetAuthor sets the value of Author.
func (s *UpdateCardReq) SetAuthor(val OptString) {
s.Author = 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 UpdateUeReq struct {
Limit OptBool `json:"limit"`
LimitBoss OptBool `json:"limit_boss"`
LimitItem OptBool `json:"limit_item"`
Lv OptInt `json:"lv"`
LvPoint OptInt `json:"lv_point"`
Model OptInt `json:"model"`
Sword OptInt `json:"sword"`
Card OptInt `json:"card"`
Mode OptString `json:"mode"`
Token OptString `json:"token"`
Cp OptInt `json:"cp"`
Count OptInt `json:"count"`
LocationX OptInt `json:"location_x"`
LocationY OptInt `json:"location_y"`
LocationZ OptInt `json:"location_z"`
LocationN OptInt `json:"location_n"`
Author OptString `json:"author"`
Owner OptInt `json:"owner"`
}
// GetLimit returns the value of Limit.
func (s *UpdateUeReq) GetLimit() OptBool {
return s.Limit
}
// GetLimitBoss returns the value of LimitBoss.
func (s *UpdateUeReq) GetLimitBoss() OptBool {
return s.LimitBoss
}
// GetLimitItem returns the value of LimitItem.
func (s *UpdateUeReq) GetLimitItem() OptBool {
return s.LimitItem
}
// GetLv returns the value of Lv.
func (s *UpdateUeReq) GetLv() OptInt {
return s.Lv
}
// GetLvPoint returns the value of LvPoint.
func (s *UpdateUeReq) GetLvPoint() OptInt {
return s.LvPoint
}
// GetModel returns the value of Model.
func (s *UpdateUeReq) GetModel() OptInt {
return s.Model
}
// GetSword returns the value of Sword.
func (s *UpdateUeReq) GetSword() OptInt {
return s.Sword
}
// GetCard returns the value of Card.
func (s *UpdateUeReq) GetCard() OptInt {
return s.Card
}
// GetMode returns the value of Mode.
func (s *UpdateUeReq) GetMode() OptString {
return s.Mode
}
// GetToken returns the value of Token.
func (s *UpdateUeReq) GetToken() OptString {
return s.Token
}
// GetCp returns the value of Cp.
func (s *UpdateUeReq) GetCp() OptInt {
return s.Cp
}
// GetCount returns the value of Count.
func (s *UpdateUeReq) GetCount() OptInt {
return s.Count
}
// GetLocationX returns the value of LocationX.
func (s *UpdateUeReq) GetLocationX() OptInt {
return s.LocationX
}
// GetLocationY returns the value of LocationY.
func (s *UpdateUeReq) GetLocationY() OptInt {
return s.LocationY
}
// GetLocationZ returns the value of LocationZ.
func (s *UpdateUeReq) GetLocationZ() OptInt {
return s.LocationZ
}
// GetLocationN returns the value of LocationN.
func (s *UpdateUeReq) GetLocationN() OptInt {
return s.LocationN
}
// GetAuthor returns the value of Author.
func (s *UpdateUeReq) GetAuthor() OptString {
return s.Author
}
// GetOwner returns the value of Owner.
func (s *UpdateUeReq) GetOwner() OptInt {
return s.Owner
}
// SetLimit sets the value of Limit.
func (s *UpdateUeReq) SetLimit(val OptBool) {
s.Limit = val
}
// SetLimitBoss sets the value of LimitBoss.
func (s *UpdateUeReq) SetLimitBoss(val OptBool) {
s.LimitBoss = val
}
// SetLimitItem sets the value of LimitItem.
func (s *UpdateUeReq) SetLimitItem(val OptBool) {
s.LimitItem = val
}
// SetLv sets the value of Lv.
func (s *UpdateUeReq) SetLv(val OptInt) {
s.Lv = val
}
// SetLvPoint sets the value of LvPoint.
func (s *UpdateUeReq) SetLvPoint(val OptInt) {
s.LvPoint = val
}
// SetModel sets the value of Model.
func (s *UpdateUeReq) SetModel(val OptInt) {
s.Model = val
}
// SetSword sets the value of Sword.
func (s *UpdateUeReq) SetSword(val OptInt) {
s.Sword = val
}
// SetCard sets the value of Card.
func (s *UpdateUeReq) SetCard(val OptInt) {
s.Card = val
}
// SetMode sets the value of Mode.
func (s *UpdateUeReq) SetMode(val OptString) {
s.Mode = val
}
// SetToken sets the value of Token.
func (s *UpdateUeReq) SetToken(val OptString) {
s.Token = val
}
// SetCp sets the value of Cp.
func (s *UpdateUeReq) SetCp(val OptInt) {
s.Cp = val
}
// SetCount sets the value of Count.
func (s *UpdateUeReq) SetCount(val OptInt) {
s.Count = val
}
// SetLocationX sets the value of LocationX.
func (s *UpdateUeReq) SetLocationX(val OptInt) {
s.LocationX = val
}
// SetLocationY sets the value of LocationY.
func (s *UpdateUeReq) SetLocationY(val OptInt) {
s.LocationY = val
}
// SetLocationZ sets the value of LocationZ.
func (s *UpdateUeReq) SetLocationZ(val OptInt) {
s.LocationZ = val
}
// SetLocationN sets the value of LocationN.
func (s *UpdateUeReq) SetLocationN(val OptInt) {
s.LocationN = val
}
// SetAuthor sets the value of Author.
func (s *UpdateUeReq) SetAuthor(val OptString) {
s.Author = val
}
// SetOwner sets the value of Owner.
func (s *UpdateUeReq) SetOwner(val OptInt) {
s.Owner = 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"`
ServerAt OptDateTime `json:"server_at"`
EggAt OptDateTime `json:"egg_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"`
Room OptInt `json:"room"`
Model OptBool `json:"model"`
ModelAt OptDateTime `json:"model_at"`
ModelAttack OptInt `json:"model_attack"`
ModelLimit OptInt `json:"model_limit"`
ModelSkill OptInt `json:"model_skill"`
ModelMode OptInt `json:"model_mode"`
ModelCritical OptInt `json:"model_critical"`
ModelCriticalD OptInt `json:"model_critical_d"`
Game OptBool `json:"game"`
GameTest OptBool `json:"game_test"`
GameEnd OptBool `json:"game_end"`
GameAccount OptBool `json:"game_account"`
GameLv OptInt `json:"game_lv"`
Coin OptInt `json:"coin"`
CoinOpen OptBool `json:"coin_open"`
CoinAt OptDateTime `json:"coin_at"`
Card []int `json:"card"`
Ue []int `json:"ue"`
}
// 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
}
// GetServerAt returns the value of ServerAt.
func (s *UpdateUserReq) GetServerAt() OptDateTime {
return s.ServerAt
}
// GetEggAt returns the value of EggAt.
func (s *UpdateUserReq) GetEggAt() OptDateTime {
return s.EggAt
}
// 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
}
// GetRoom returns the value of Room.
func (s *UpdateUserReq) GetRoom() OptInt {
return s.Room
}
// GetModel returns the value of Model.
func (s *UpdateUserReq) GetModel() OptBool {
return s.Model
}
// GetModelAt returns the value of ModelAt.
func (s *UpdateUserReq) GetModelAt() OptDateTime {
return s.ModelAt
}
// GetModelAttack returns the value of ModelAttack.
func (s *UpdateUserReq) GetModelAttack() OptInt {
return s.ModelAttack
}
// GetModelLimit returns the value of ModelLimit.
func (s *UpdateUserReq) GetModelLimit() OptInt {
return s.ModelLimit
}
// GetModelSkill returns the value of ModelSkill.
func (s *UpdateUserReq) GetModelSkill() OptInt {
return s.ModelSkill
}
// GetModelMode returns the value of ModelMode.
func (s *UpdateUserReq) GetModelMode() OptInt {
return s.ModelMode
}
// GetModelCritical returns the value of ModelCritical.
func (s *UpdateUserReq) GetModelCritical() OptInt {
return s.ModelCritical
}
// GetModelCriticalD returns the value of ModelCriticalD.
func (s *UpdateUserReq) GetModelCriticalD() OptInt {
return s.ModelCriticalD
}
// GetGame returns the value of Game.
func (s *UpdateUserReq) GetGame() OptBool {
return s.Game
}
// GetGameTest returns the value of GameTest.
func (s *UpdateUserReq) GetGameTest() OptBool {
return s.GameTest
}
// GetGameEnd returns the value of GameEnd.
func (s *UpdateUserReq) GetGameEnd() OptBool {
return s.GameEnd
}
// GetGameAccount returns the value of GameAccount.
func (s *UpdateUserReq) GetGameAccount() OptBool {
return s.GameAccount
}
// GetGameLv returns the value of GameLv.
func (s *UpdateUserReq) GetGameLv() OptInt {
return s.GameLv
}
// GetCoin returns the value of Coin.
func (s *UpdateUserReq) GetCoin() OptInt {
return s.Coin
}
// GetCoinOpen returns the value of CoinOpen.
func (s *UpdateUserReq) GetCoinOpen() OptBool {
return s.CoinOpen
}
// GetCoinAt returns the value of CoinAt.
func (s *UpdateUserReq) GetCoinAt() OptDateTime {
return s.CoinAt
}
// GetCard returns the value of Card.
func (s *UpdateUserReq) GetCard() []int {
return s.Card
}
// GetUe returns the value of Ue.
func (s *UpdateUserReq) GetUe() []int {
return s.Ue
}
// 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
}
// SetServerAt sets the value of ServerAt.
func (s *UpdateUserReq) SetServerAt(val OptDateTime) {
s.ServerAt = val
}
// SetEggAt sets the value of EggAt.
func (s *UpdateUserReq) SetEggAt(val OptDateTime) {
s.EggAt = 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
}
// SetRoom sets the value of Room.
func (s *UpdateUserReq) SetRoom(val OptInt) {
s.Room = val
}
// SetModel sets the value of Model.
func (s *UpdateUserReq) SetModel(val OptBool) {
s.Model = val
}
// SetModelAt sets the value of ModelAt.
func (s *UpdateUserReq) SetModelAt(val OptDateTime) {
s.ModelAt = val
}
// SetModelAttack sets the value of ModelAttack.
func (s *UpdateUserReq) SetModelAttack(val OptInt) {
s.ModelAttack = val
}
// SetModelLimit sets the value of ModelLimit.
func (s *UpdateUserReq) SetModelLimit(val OptInt) {
s.ModelLimit = val
}
// SetModelSkill sets the value of ModelSkill.
func (s *UpdateUserReq) SetModelSkill(val OptInt) {
s.ModelSkill = val
}
// SetModelMode sets the value of ModelMode.
func (s *UpdateUserReq) SetModelMode(val OptInt) {
s.ModelMode = val
}
// SetModelCritical sets the value of ModelCritical.
func (s *UpdateUserReq) SetModelCritical(val OptInt) {
s.ModelCritical = val
}
// SetModelCriticalD sets the value of ModelCriticalD.
func (s *UpdateUserReq) SetModelCriticalD(val OptInt) {
s.ModelCriticalD = val
}
// SetGame sets the value of Game.
func (s *UpdateUserReq) SetGame(val OptBool) {
s.Game = val
}
// SetGameTest sets the value of GameTest.
func (s *UpdateUserReq) SetGameTest(val OptBool) {
s.GameTest = val
}
// SetGameEnd sets the value of GameEnd.
func (s *UpdateUserReq) SetGameEnd(val OptBool) {
s.GameEnd = val
}
// SetGameAccount sets the value of GameAccount.
func (s *UpdateUserReq) SetGameAccount(val OptBool) {
s.GameAccount = val
}
// SetGameLv sets the value of GameLv.
func (s *UpdateUserReq) SetGameLv(val OptInt) {
s.GameLv = val
}
// SetCoin sets the value of Coin.
func (s *UpdateUserReq) SetCoin(val OptInt) {
s.Coin = val
}
// SetCoinOpen sets the value of CoinOpen.
func (s *UpdateUserReq) SetCoinOpen(val OptBool) {
s.CoinOpen = val
}
// SetCoinAt sets the value of CoinAt.
func (s *UpdateUserReq) SetCoinAt(val OptDateTime) {
s.CoinAt = val
}
// SetCard sets the value of Card.
func (s *UpdateUserReq) SetCard(val []int) {
s.Card = val
}
// SetUe sets the value of Ue.
func (s *UpdateUserReq) SetUe(val []int) {
s.Ue = 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"`
Count OptInt `json:"count"`
Author OptString `json:"author"`
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
}
// GetCount returns the value of Count.
func (s *UserCardList) GetCount() OptInt {
return s.Count
}
// GetAuthor returns the value of Author.
func (s *UserCardList) GetAuthor() OptString {
return s.Author
}
// 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
}
// SetCount sets the value of Count.
func (s *UserCardList) SetCount(val OptInt) {
s.Count = val
}
// SetAuthor sets the value of Author.
func (s *UserCardList) SetAuthor(val OptString) {
s.Author = 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"`
ServerAt OptDateTime `json:"server_at"`
EggAt OptDateTime `json:"egg_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"`
Room OptInt `json:"room"`
Model OptBool `json:"model"`
ModelAt OptDateTime `json:"model_at"`
ModelAttack OptInt `json:"model_attack"`
ModelLimit OptInt `json:"model_limit"`
ModelSkill OptInt `json:"model_skill"`
ModelMode OptInt `json:"model_mode"`
ModelCritical OptInt `json:"model_critical"`
ModelCriticalD OptInt `json:"model_critical_d"`
Game OptBool `json:"game"`
GameTest OptBool `json:"game_test"`
GameEnd OptBool `json:"game_end"`
GameAccount OptBool `json:"game_account"`
GameLv OptInt `json:"game_lv"`
Coin OptInt `json:"coin"`
CoinOpen OptBool `json:"coin_open"`
CoinAt OptDateTime `json:"coin_at"`
}
// 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
}
// GetServerAt returns the value of ServerAt.
func (s *UserCreate) GetServerAt() OptDateTime {
return s.ServerAt
}
// GetEggAt returns the value of EggAt.
func (s *UserCreate) GetEggAt() OptDateTime {
return s.EggAt
}
// 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
}
// GetRoom returns the value of Room.
func (s *UserCreate) GetRoom() OptInt {
return s.Room
}
// GetModel returns the value of Model.
func (s *UserCreate) GetModel() OptBool {
return s.Model
}
// GetModelAt returns the value of ModelAt.
func (s *UserCreate) GetModelAt() OptDateTime {
return s.ModelAt
}
// GetModelAttack returns the value of ModelAttack.
func (s *UserCreate) GetModelAttack() OptInt {
return s.ModelAttack
}
// GetModelLimit returns the value of ModelLimit.
func (s *UserCreate) GetModelLimit() OptInt {
return s.ModelLimit
}
// GetModelSkill returns the value of ModelSkill.
func (s *UserCreate) GetModelSkill() OptInt {
return s.ModelSkill
}
// GetModelMode returns the value of ModelMode.
func (s *UserCreate) GetModelMode() OptInt {
return s.ModelMode
}
// GetModelCritical returns the value of ModelCritical.
func (s *UserCreate) GetModelCritical() OptInt {
return s.ModelCritical
}
// GetModelCriticalD returns the value of ModelCriticalD.
func (s *UserCreate) GetModelCriticalD() OptInt {
return s.ModelCriticalD
}
// GetGame returns the value of Game.
func (s *UserCreate) GetGame() OptBool {
return s.Game
}
// GetGameTest returns the value of GameTest.
func (s *UserCreate) GetGameTest() OptBool {
return s.GameTest
}
// GetGameEnd returns the value of GameEnd.
func (s *UserCreate) GetGameEnd() OptBool {
return s.GameEnd
}
// GetGameAccount returns the value of GameAccount.
func (s *UserCreate) GetGameAccount() OptBool {
return s.GameAccount
}
// GetGameLv returns the value of GameLv.
func (s *UserCreate) GetGameLv() OptInt {
return s.GameLv
}
// GetCoin returns the value of Coin.
func (s *UserCreate) GetCoin() OptInt {
return s.Coin
}
// GetCoinOpen returns the value of CoinOpen.
func (s *UserCreate) GetCoinOpen() OptBool {
return s.CoinOpen
}
// GetCoinAt returns the value of CoinAt.
func (s *UserCreate) GetCoinAt() OptDateTime {
return s.CoinAt
}
// 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
}
// SetServerAt sets the value of ServerAt.
func (s *UserCreate) SetServerAt(val OptDateTime) {
s.ServerAt = val
}
// SetEggAt sets the value of EggAt.
func (s *UserCreate) SetEggAt(val OptDateTime) {
s.EggAt = 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
}
// SetRoom sets the value of Room.
func (s *UserCreate) SetRoom(val OptInt) {
s.Room = val
}
// SetModel sets the value of Model.
func (s *UserCreate) SetModel(val OptBool) {
s.Model = val
}
// SetModelAt sets the value of ModelAt.
func (s *UserCreate) SetModelAt(val OptDateTime) {
s.ModelAt = val
}
// SetModelAttack sets the value of ModelAttack.
func (s *UserCreate) SetModelAttack(val OptInt) {
s.ModelAttack = val
}
// SetModelLimit sets the value of ModelLimit.
func (s *UserCreate) SetModelLimit(val OptInt) {
s.ModelLimit = val
}
// SetModelSkill sets the value of ModelSkill.
func (s *UserCreate) SetModelSkill(val OptInt) {
s.ModelSkill = val
}
// SetModelMode sets the value of ModelMode.
func (s *UserCreate) SetModelMode(val OptInt) {
s.ModelMode = val
}
// SetModelCritical sets the value of ModelCritical.
func (s *UserCreate) SetModelCritical(val OptInt) {
s.ModelCritical = val
}
// SetModelCriticalD sets the value of ModelCriticalD.
func (s *UserCreate) SetModelCriticalD(val OptInt) {
s.ModelCriticalD = val
}
// SetGame sets the value of Game.
func (s *UserCreate) SetGame(val OptBool) {
s.Game = val
}
// SetGameTest sets the value of GameTest.
func (s *UserCreate) SetGameTest(val OptBool) {
s.GameTest = val
}
// SetGameEnd sets the value of GameEnd.
func (s *UserCreate) SetGameEnd(val OptBool) {
s.GameEnd = val
}
// SetGameAccount sets the value of GameAccount.
func (s *UserCreate) SetGameAccount(val OptBool) {
s.GameAccount = val
}
// SetGameLv sets the value of GameLv.
func (s *UserCreate) SetGameLv(val OptInt) {
s.GameLv = val
}
// SetCoin sets the value of Coin.
func (s *UserCreate) SetCoin(val OptInt) {
s.Coin = val
}
// SetCoinOpen sets the value of CoinOpen.
func (s *UserCreate) SetCoinOpen(val OptBool) {
s.CoinOpen = val
}
// SetCoinAt sets the value of CoinAt.
func (s *UserCreate) SetCoinAt(val OptDateTime) {
s.CoinAt = 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"`
ServerAt OptDateTime `json:"server_at"`
EggAt OptDateTime `json:"egg_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"`
Room OptInt `json:"room"`
Model OptBool `json:"model"`
ModelAt OptDateTime `json:"model_at"`
ModelAttack OptInt `json:"model_attack"`
ModelLimit OptInt `json:"model_limit"`
ModelSkill OptInt `json:"model_skill"`
ModelMode OptInt `json:"model_mode"`
ModelCritical OptInt `json:"model_critical"`
ModelCriticalD OptInt `json:"model_critical_d"`
Game OptBool `json:"game"`
GameTest OptBool `json:"game_test"`
GameEnd OptBool `json:"game_end"`
GameAccount OptBool `json:"game_account"`
GameLv OptInt `json:"game_lv"`
Coin OptInt `json:"coin"`
CoinOpen OptBool `json:"coin_open"`
CoinAt OptDateTime `json:"coin_at"`
}
// 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
}
// GetServerAt returns the value of ServerAt.
func (s *UserList) GetServerAt() OptDateTime {
return s.ServerAt
}
// GetEggAt returns the value of EggAt.
func (s *UserList) GetEggAt() OptDateTime {
return s.EggAt
}
// 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
}
// GetRoom returns the value of Room.
func (s *UserList) GetRoom() OptInt {
return s.Room
}
// GetModel returns the value of Model.
func (s *UserList) GetModel() OptBool {
return s.Model
}
// GetModelAt returns the value of ModelAt.
func (s *UserList) GetModelAt() OptDateTime {
return s.ModelAt
}
// GetModelAttack returns the value of ModelAttack.
func (s *UserList) GetModelAttack() OptInt {
return s.ModelAttack
}
// GetModelLimit returns the value of ModelLimit.
func (s *UserList) GetModelLimit() OptInt {
return s.ModelLimit
}
// GetModelSkill returns the value of ModelSkill.
func (s *UserList) GetModelSkill() OptInt {
return s.ModelSkill
}
// GetModelMode returns the value of ModelMode.
func (s *UserList) GetModelMode() OptInt {
return s.ModelMode
}
// GetModelCritical returns the value of ModelCritical.
func (s *UserList) GetModelCritical() OptInt {
return s.ModelCritical
}
// GetModelCriticalD returns the value of ModelCriticalD.
func (s *UserList) GetModelCriticalD() OptInt {
return s.ModelCriticalD
}
// GetGame returns the value of Game.
func (s *UserList) GetGame() OptBool {
return s.Game
}
// GetGameTest returns the value of GameTest.
func (s *UserList) GetGameTest() OptBool {
return s.GameTest
}
// GetGameEnd returns the value of GameEnd.
func (s *UserList) GetGameEnd() OptBool {
return s.GameEnd
}
// GetGameAccount returns the value of GameAccount.
func (s *UserList) GetGameAccount() OptBool {
return s.GameAccount
}
// GetGameLv returns the value of GameLv.
func (s *UserList) GetGameLv() OptInt {
return s.GameLv
}
// GetCoin returns the value of Coin.
func (s *UserList) GetCoin() OptInt {
return s.Coin
}
// GetCoinOpen returns the value of CoinOpen.
func (s *UserList) GetCoinOpen() OptBool {
return s.CoinOpen
}
// GetCoinAt returns the value of CoinAt.
func (s *UserList) GetCoinAt() OptDateTime {
return s.CoinAt
}
// 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
}
// SetServerAt sets the value of ServerAt.
func (s *UserList) SetServerAt(val OptDateTime) {
s.ServerAt = val
}
// SetEggAt sets the value of EggAt.
func (s *UserList) SetEggAt(val OptDateTime) {
s.EggAt = 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
}
// SetRoom sets the value of Room.
func (s *UserList) SetRoom(val OptInt) {
s.Room = val
}
// SetModel sets the value of Model.
func (s *UserList) SetModel(val OptBool) {
s.Model = val
}
// SetModelAt sets the value of ModelAt.
func (s *UserList) SetModelAt(val OptDateTime) {
s.ModelAt = val
}
// SetModelAttack sets the value of ModelAttack.
func (s *UserList) SetModelAttack(val OptInt) {
s.ModelAttack = val
}
// SetModelLimit sets the value of ModelLimit.
func (s *UserList) SetModelLimit(val OptInt) {
s.ModelLimit = val
}
// SetModelSkill sets the value of ModelSkill.
func (s *UserList) SetModelSkill(val OptInt) {
s.ModelSkill = val
}
// SetModelMode sets the value of ModelMode.
func (s *UserList) SetModelMode(val OptInt) {
s.ModelMode = val
}
// SetModelCritical sets the value of ModelCritical.
func (s *UserList) SetModelCritical(val OptInt) {
s.ModelCritical = val
}
// SetModelCriticalD sets the value of ModelCriticalD.
func (s *UserList) SetModelCriticalD(val OptInt) {
s.ModelCriticalD = val
}
// SetGame sets the value of Game.
func (s *UserList) SetGame(val OptBool) {
s.Game = val
}
// SetGameTest sets the value of GameTest.
func (s *UserList) SetGameTest(val OptBool) {
s.GameTest = val
}
// SetGameEnd sets the value of GameEnd.
func (s *UserList) SetGameEnd(val OptBool) {
s.GameEnd = val
}
// SetGameAccount sets the value of GameAccount.
func (s *UserList) SetGameAccount(val OptBool) {
s.GameAccount = val
}
// SetGameLv sets the value of GameLv.
func (s *UserList) SetGameLv(val OptInt) {
s.GameLv = val
}
// SetCoin sets the value of Coin.
func (s *UserList) SetCoin(val OptInt) {
s.Coin = val
}
// SetCoinOpen sets the value of CoinOpen.
func (s *UserList) SetCoinOpen(val OptBool) {
s.CoinOpen = val
}
// SetCoinAt sets the value of CoinAt.
func (s *UserList) SetCoinAt(val OptDateTime) {
s.CoinAt = 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"`
ServerAt OptDateTime `json:"server_at"`
EggAt OptDateTime `json:"egg_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"`
Room OptInt `json:"room"`
Model OptBool `json:"model"`
ModelAt OptDateTime `json:"model_at"`
ModelAttack OptInt `json:"model_attack"`
ModelLimit OptInt `json:"model_limit"`
ModelSkill OptInt `json:"model_skill"`
ModelMode OptInt `json:"model_mode"`
ModelCritical OptInt `json:"model_critical"`
ModelCriticalD OptInt `json:"model_critical_d"`
Game OptBool `json:"game"`
GameTest OptBool `json:"game_test"`
GameEnd OptBool `json:"game_end"`
GameAccount OptBool `json:"game_account"`
GameLv OptInt `json:"game_lv"`
Coin OptInt `json:"coin"`
CoinOpen OptBool `json:"coin_open"`
CoinAt OptDateTime `json:"coin_at"`
}
// 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
}
// GetServerAt returns the value of ServerAt.
func (s *UserRead) GetServerAt() OptDateTime {
return s.ServerAt
}
// GetEggAt returns the value of EggAt.
func (s *UserRead) GetEggAt() OptDateTime {
return s.EggAt
}
// 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
}
// GetRoom returns the value of Room.
func (s *UserRead) GetRoom() OptInt {
return s.Room
}
// GetModel returns the value of Model.
func (s *UserRead) GetModel() OptBool {
return s.Model
}
// GetModelAt returns the value of ModelAt.
func (s *UserRead) GetModelAt() OptDateTime {
return s.ModelAt
}
// GetModelAttack returns the value of ModelAttack.
func (s *UserRead) GetModelAttack() OptInt {
return s.ModelAttack
}
// GetModelLimit returns the value of ModelLimit.
func (s *UserRead) GetModelLimit() OptInt {
return s.ModelLimit
}
// GetModelSkill returns the value of ModelSkill.
func (s *UserRead) GetModelSkill() OptInt {
return s.ModelSkill
}
// GetModelMode returns the value of ModelMode.
func (s *UserRead) GetModelMode() OptInt {
return s.ModelMode
}
// GetModelCritical returns the value of ModelCritical.
func (s *UserRead) GetModelCritical() OptInt {
return s.ModelCritical
}
// GetModelCriticalD returns the value of ModelCriticalD.
func (s *UserRead) GetModelCriticalD() OptInt {
return s.ModelCriticalD
}
// GetGame returns the value of Game.
func (s *UserRead) GetGame() OptBool {
return s.Game
}
// GetGameTest returns the value of GameTest.
func (s *UserRead) GetGameTest() OptBool {
return s.GameTest
}
// GetGameEnd returns the value of GameEnd.
func (s *UserRead) GetGameEnd() OptBool {
return s.GameEnd
}
// GetGameAccount returns the value of GameAccount.
func (s *UserRead) GetGameAccount() OptBool {
return s.GameAccount
}
// GetGameLv returns the value of GameLv.
func (s *UserRead) GetGameLv() OptInt {
return s.GameLv
}
// GetCoin returns the value of Coin.
func (s *UserRead) GetCoin() OptInt {
return s.Coin
}
// GetCoinOpen returns the value of CoinOpen.
func (s *UserRead) GetCoinOpen() OptBool {
return s.CoinOpen
}
// GetCoinAt returns the value of CoinAt.
func (s *UserRead) GetCoinAt() OptDateTime {
return s.CoinAt
}
// 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
}
// SetServerAt sets the value of ServerAt.
func (s *UserRead) SetServerAt(val OptDateTime) {
s.ServerAt = val
}
// SetEggAt sets the value of EggAt.
func (s *UserRead) SetEggAt(val OptDateTime) {
s.EggAt = 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
}
// SetRoom sets the value of Room.
func (s *UserRead) SetRoom(val OptInt) {
s.Room = val
}
// SetModel sets the value of Model.
func (s *UserRead) SetModel(val OptBool) {
s.Model = val
}
// SetModelAt sets the value of ModelAt.
func (s *UserRead) SetModelAt(val OptDateTime) {
s.ModelAt = val
}
// SetModelAttack sets the value of ModelAttack.
func (s *UserRead) SetModelAttack(val OptInt) {
s.ModelAttack = val
}
// SetModelLimit sets the value of ModelLimit.
func (s *UserRead) SetModelLimit(val OptInt) {
s.ModelLimit = val
}
// SetModelSkill sets the value of ModelSkill.
func (s *UserRead) SetModelSkill(val OptInt) {
s.ModelSkill = val
}
// SetModelMode sets the value of ModelMode.
func (s *UserRead) SetModelMode(val OptInt) {
s.ModelMode = val
}
// SetModelCritical sets the value of ModelCritical.
func (s *UserRead) SetModelCritical(val OptInt) {
s.ModelCritical = val
}
// SetModelCriticalD sets the value of ModelCriticalD.
func (s *UserRead) SetModelCriticalD(val OptInt) {
s.ModelCriticalD = val
}
// SetGame sets the value of Game.
func (s *UserRead) SetGame(val OptBool) {
s.Game = val
}
// SetGameTest sets the value of GameTest.
func (s *UserRead) SetGameTest(val OptBool) {
s.GameTest = val
}
// SetGameEnd sets the value of GameEnd.
func (s *UserRead) SetGameEnd(val OptBool) {
s.GameEnd = val
}
// SetGameAccount sets the value of GameAccount.
func (s *UserRead) SetGameAccount(val OptBool) {
s.GameAccount = val
}
// SetGameLv sets the value of GameLv.
func (s *UserRead) SetGameLv(val OptInt) {
s.GameLv = val
}
// SetCoin sets the value of Coin.
func (s *UserRead) SetCoin(val OptInt) {
s.Coin = val
}
// SetCoinOpen sets the value of CoinOpen.
func (s *UserRead) SetCoinOpen(val OptBool) {
s.CoinOpen = val
}
// SetCoinAt sets the value of CoinAt.
func (s *UserRead) SetCoinAt(val OptDateTime) {
s.CoinAt = val
}
func (*UserRead) readUserRes() {}
// Ref: #/components/schemas/User_UeList
type UserUeList struct {
ID int `json:"id"`
Limit OptBool `json:"limit"`
LimitBoss OptBool `json:"limit_boss"`
LimitItem OptBool `json:"limit_item"`
Lv OptInt `json:"lv"`
LvPoint OptInt `json:"lv_point"`
Model OptInt `json:"model"`
Sword OptInt `json:"sword"`
Card OptInt `json:"card"`
Mode OptString `json:"mode"`
Cp OptInt `json:"cp"`
Count OptInt `json:"count"`
LocationX OptInt `json:"location_x"`
LocationY OptInt `json:"location_y"`
LocationZ OptInt `json:"location_z"`
LocationN OptInt `json:"location_n"`
Author OptString `json:"author"`
CreatedAt OptDateTime `json:"created_at"`
}
// GetID returns the value of ID.
func (s *UserUeList) GetID() int {
return s.ID
}
// GetLimit returns the value of Limit.
func (s *UserUeList) GetLimit() OptBool {
return s.Limit
}
// GetLimitBoss returns the value of LimitBoss.
func (s *UserUeList) GetLimitBoss() OptBool {
return s.LimitBoss
}
// GetLimitItem returns the value of LimitItem.
func (s *UserUeList) GetLimitItem() OptBool {
return s.LimitItem
}
// GetLv returns the value of Lv.
func (s *UserUeList) GetLv() OptInt {
return s.Lv
}
// GetLvPoint returns the value of LvPoint.
func (s *UserUeList) GetLvPoint() OptInt {
return s.LvPoint
}
// GetModel returns the value of Model.
func (s *UserUeList) GetModel() OptInt {
return s.Model
}
// GetSword returns the value of Sword.
func (s *UserUeList) GetSword() OptInt {
return s.Sword
}
// GetCard returns the value of Card.
func (s *UserUeList) GetCard() OptInt {
return s.Card
}
// GetMode returns the value of Mode.
func (s *UserUeList) GetMode() OptString {
return s.Mode
}
// GetCp returns the value of Cp.
func (s *UserUeList) GetCp() OptInt {
return s.Cp
}
// GetCount returns the value of Count.
func (s *UserUeList) GetCount() OptInt {
return s.Count
}
// GetLocationX returns the value of LocationX.
func (s *UserUeList) GetLocationX() OptInt {
return s.LocationX
}
// GetLocationY returns the value of LocationY.
func (s *UserUeList) GetLocationY() OptInt {
return s.LocationY
}
// GetLocationZ returns the value of LocationZ.
func (s *UserUeList) GetLocationZ() OptInt {
return s.LocationZ
}
// GetLocationN returns the value of LocationN.
func (s *UserUeList) GetLocationN() OptInt {
return s.LocationN
}
// GetAuthor returns the value of Author.
func (s *UserUeList) GetAuthor() OptString {
return s.Author
}
// GetCreatedAt returns the value of CreatedAt.
func (s *UserUeList) GetCreatedAt() OptDateTime {
return s.CreatedAt
}
// SetID sets the value of ID.
func (s *UserUeList) SetID(val int) {
s.ID = val
}
// SetLimit sets the value of Limit.
func (s *UserUeList) SetLimit(val OptBool) {
s.Limit = val
}
// SetLimitBoss sets the value of LimitBoss.
func (s *UserUeList) SetLimitBoss(val OptBool) {
s.LimitBoss = val
}
// SetLimitItem sets the value of LimitItem.
func (s *UserUeList) SetLimitItem(val OptBool) {
s.LimitItem = val
}
// SetLv sets the value of Lv.
func (s *UserUeList) SetLv(val OptInt) {
s.Lv = val
}
// SetLvPoint sets the value of LvPoint.
func (s *UserUeList) SetLvPoint(val OptInt) {
s.LvPoint = val
}
// SetModel sets the value of Model.
func (s *UserUeList) SetModel(val OptInt) {
s.Model = val
}
// SetSword sets the value of Sword.
func (s *UserUeList) SetSword(val OptInt) {
s.Sword = val
}
// SetCard sets the value of Card.
func (s *UserUeList) SetCard(val OptInt) {
s.Card = val
}
// SetMode sets the value of Mode.
func (s *UserUeList) SetMode(val OptString) {
s.Mode = val
}
// SetCp sets the value of Cp.
func (s *UserUeList) SetCp(val OptInt) {
s.Cp = val
}
// SetCount sets the value of Count.
func (s *UserUeList) SetCount(val OptInt) {
s.Count = val
}
// SetLocationX sets the value of LocationX.
func (s *UserUeList) SetLocationX(val OptInt) {
s.LocationX = val
}
// SetLocationY sets the value of LocationY.
func (s *UserUeList) SetLocationY(val OptInt) {
s.LocationY = val
}
// SetLocationZ sets the value of LocationZ.
func (s *UserUeList) SetLocationZ(val OptInt) {
s.LocationZ = val
}
// SetLocationN sets the value of LocationN.
func (s *UserUeList) SetLocationN(val OptInt) {
s.LocationN = val
}
// SetAuthor sets the value of Author.
func (s *UserUeList) SetAuthor(val OptString) {
s.Author = val
}
// SetCreatedAt sets the value of CreatedAt.
func (s *UserUeList) SetCreatedAt(val OptDateTime) {
s.CreatedAt = val
}
// 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"`
ServerAt OptDateTime `json:"server_at"`
EggAt OptDateTime `json:"egg_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"`
Room OptInt `json:"room"`
Model OptBool `json:"model"`
ModelAt OptDateTime `json:"model_at"`
ModelAttack OptInt `json:"model_attack"`
ModelLimit OptInt `json:"model_limit"`
ModelSkill OptInt `json:"model_skill"`
ModelMode OptInt `json:"model_mode"`
ModelCritical OptInt `json:"model_critical"`
ModelCriticalD OptInt `json:"model_critical_d"`
Game OptBool `json:"game"`
GameTest OptBool `json:"game_test"`
GameEnd OptBool `json:"game_end"`
GameAccount OptBool `json:"game_account"`
GameLv OptInt `json:"game_lv"`
Coin OptInt `json:"coin"`
CoinOpen OptBool `json:"coin_open"`
CoinAt OptDateTime `json:"coin_at"`
}
// 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
}
// GetServerAt returns the value of ServerAt.
func (s *UserUpdate) GetServerAt() OptDateTime {
return s.ServerAt
}
// GetEggAt returns the value of EggAt.
func (s *UserUpdate) GetEggAt() OptDateTime {
return s.EggAt
}
// 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
}
// GetRoom returns the value of Room.
func (s *UserUpdate) GetRoom() OptInt {
return s.Room
}
// GetModel returns the value of Model.
func (s *UserUpdate) GetModel() OptBool {
return s.Model
}
// GetModelAt returns the value of ModelAt.
func (s *UserUpdate) GetModelAt() OptDateTime {
return s.ModelAt
}
// GetModelAttack returns the value of ModelAttack.
func (s *UserUpdate) GetModelAttack() OptInt {
return s.ModelAttack
}
// GetModelLimit returns the value of ModelLimit.
func (s *UserUpdate) GetModelLimit() OptInt {
return s.ModelLimit
}
// GetModelSkill returns the value of ModelSkill.
func (s *UserUpdate) GetModelSkill() OptInt {
return s.ModelSkill
}
// GetModelMode returns the value of ModelMode.
func (s *UserUpdate) GetModelMode() OptInt {
return s.ModelMode
}
// GetModelCritical returns the value of ModelCritical.
func (s *UserUpdate) GetModelCritical() OptInt {
return s.ModelCritical
}
// GetModelCriticalD returns the value of ModelCriticalD.
func (s *UserUpdate) GetModelCriticalD() OptInt {
return s.ModelCriticalD
}
// GetGame returns the value of Game.
func (s *UserUpdate) GetGame() OptBool {
return s.Game
}
// GetGameTest returns the value of GameTest.
func (s *UserUpdate) GetGameTest() OptBool {
return s.GameTest
}
// GetGameEnd returns the value of GameEnd.
func (s *UserUpdate) GetGameEnd() OptBool {
return s.GameEnd
}
// GetGameAccount returns the value of GameAccount.
func (s *UserUpdate) GetGameAccount() OptBool {
return s.GameAccount
}
// GetGameLv returns the value of GameLv.
func (s *UserUpdate) GetGameLv() OptInt {
return s.GameLv
}
// GetCoin returns the value of Coin.
func (s *UserUpdate) GetCoin() OptInt {
return s.Coin
}
// GetCoinOpen returns the value of CoinOpen.
func (s *UserUpdate) GetCoinOpen() OptBool {
return s.CoinOpen
}
// GetCoinAt returns the value of CoinAt.
func (s *UserUpdate) GetCoinAt() OptDateTime {
return s.CoinAt
}
// 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
}
// SetServerAt sets the value of ServerAt.
func (s *UserUpdate) SetServerAt(val OptDateTime) {
s.ServerAt = val
}
// SetEggAt sets the value of EggAt.
func (s *UserUpdate) SetEggAt(val OptDateTime) {
s.EggAt = 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
}
// SetRoom sets the value of Room.
func (s *UserUpdate) SetRoom(val OptInt) {
s.Room = val
}
// SetModel sets the value of Model.
func (s *UserUpdate) SetModel(val OptBool) {
s.Model = val
}
// SetModelAt sets the value of ModelAt.
func (s *UserUpdate) SetModelAt(val OptDateTime) {
s.ModelAt = val
}
// SetModelAttack sets the value of ModelAttack.
func (s *UserUpdate) SetModelAttack(val OptInt) {
s.ModelAttack = val
}
// SetModelLimit sets the value of ModelLimit.
func (s *UserUpdate) SetModelLimit(val OptInt) {
s.ModelLimit = val
}
// SetModelSkill sets the value of ModelSkill.
func (s *UserUpdate) SetModelSkill(val OptInt) {
s.ModelSkill = val
}
// SetModelMode sets the value of ModelMode.
func (s *UserUpdate) SetModelMode(val OptInt) {
s.ModelMode = val
}
// SetModelCritical sets the value of ModelCritical.
func (s *UserUpdate) SetModelCritical(val OptInt) {
s.ModelCritical = val
}
// SetModelCriticalD sets the value of ModelCriticalD.
func (s *UserUpdate) SetModelCriticalD(val OptInt) {
s.ModelCriticalD = val
}
// SetGame sets the value of Game.
func (s *UserUpdate) SetGame(val OptBool) {
s.Game = val
}
// SetGameTest sets the value of GameTest.
func (s *UserUpdate) SetGameTest(val OptBool) {
s.GameTest = val
}
// SetGameEnd sets the value of GameEnd.
func (s *UserUpdate) SetGameEnd(val OptBool) {
s.GameEnd = val
}
// SetGameAccount sets the value of GameAccount.
func (s *UserUpdate) SetGameAccount(val OptBool) {
s.GameAccount = val
}
// SetGameLv sets the value of GameLv.
func (s *UserUpdate) SetGameLv(val OptInt) {
s.GameLv = val
}
// SetCoin sets the value of Coin.
func (s *UserUpdate) SetCoin(val OptInt) {
s.Coin = val
}
// SetCoinOpen sets the value of CoinOpen.
func (s *UserUpdate) SetCoinOpen(val OptBool) {
s.CoinOpen = val
}
// SetCoinAt sets the value of CoinAt.
func (s *UserUpdate) SetCoinAt(val OptDateTime) {
s.CoinAt = val
}
func (*UserUpdate) updateUserRes() {}