1
0

fix comment system

This commit is contained in:
2024-04-12 01:54:12 +09:00
parent 336827433e
commit b3df3250bb
17 changed files with 4503 additions and 174 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1142,8 +1142,17 @@ type CreateMaReq struct {
Avatar OptString `json:"avatar"`
Cid OptString `json:"cid"`
URI OptString `json:"uri"`
CidRoot OptString `json:"cid_root"`
URIRoot OptString `json:"uri_root"`
Root OptString `json:"root"`
Rkey OptString `json:"rkey"`
BskyURL OptString `json:"bsky_url"`
Comment OptString `json:"comment"`
Blog OptString `json:"blog"`
BlogURL OptString `json:"blog_url"`
Domain OptString `json:"domain"`
Host OptString `json:"host"`
Feed OptString `json:"feed"`
UpdatedAt OptDateTime `json:"updated_at"`
CreatedAt OptDateTime `json:"created_at"`
Owner int `json:"owner"`
@ -1199,6 +1208,21 @@ func (s *CreateMaReq) GetURI() OptString {
return s.URI
}
// GetCidRoot returns the value of CidRoot.
func (s *CreateMaReq) GetCidRoot() OptString {
return s.CidRoot
}
// GetURIRoot returns the value of URIRoot.
func (s *CreateMaReq) GetURIRoot() OptString {
return s.URIRoot
}
// GetRoot returns the value of Root.
func (s *CreateMaReq) GetRoot() OptString {
return s.Root
}
// GetRkey returns the value of Rkey.
func (s *CreateMaReq) GetRkey() OptString {
return s.Rkey
@ -1209,6 +1233,36 @@ func (s *CreateMaReq) GetBskyURL() OptString {
return s.BskyURL
}
// GetComment returns the value of Comment.
func (s *CreateMaReq) GetComment() OptString {
return s.Comment
}
// GetBlog returns the value of Blog.
func (s *CreateMaReq) GetBlog() OptString {
return s.Blog
}
// GetBlogURL returns the value of BlogURL.
func (s *CreateMaReq) GetBlogURL() OptString {
return s.BlogURL
}
// GetDomain returns the value of Domain.
func (s *CreateMaReq) GetDomain() OptString {
return s.Domain
}
// GetHost returns the value of Host.
func (s *CreateMaReq) GetHost() OptString {
return s.Host
}
// GetFeed returns the value of Feed.
func (s *CreateMaReq) GetFeed() OptString {
return s.Feed
}
// GetUpdatedAt returns the value of UpdatedAt.
func (s *CreateMaReq) GetUpdatedAt() OptDateTime {
return s.UpdatedAt
@ -1274,6 +1328,21 @@ func (s *CreateMaReq) SetURI(val OptString) {
s.URI = val
}
// SetCidRoot sets the value of CidRoot.
func (s *CreateMaReq) SetCidRoot(val OptString) {
s.CidRoot = val
}
// SetURIRoot sets the value of URIRoot.
func (s *CreateMaReq) SetURIRoot(val OptString) {
s.URIRoot = val
}
// SetRoot sets the value of Root.
func (s *CreateMaReq) SetRoot(val OptString) {
s.Root = val
}
// SetRkey sets the value of Rkey.
func (s *CreateMaReq) SetRkey(val OptString) {
s.Rkey = val
@ -1284,6 +1353,36 @@ func (s *CreateMaReq) SetBskyURL(val OptString) {
s.BskyURL = val
}
// SetComment sets the value of Comment.
func (s *CreateMaReq) SetComment(val OptString) {
s.Comment = val
}
// SetBlog sets the value of Blog.
func (s *CreateMaReq) SetBlog(val OptString) {
s.Blog = val
}
// SetBlogURL sets the value of BlogURL.
func (s *CreateMaReq) SetBlogURL(val OptString) {
s.BlogURL = val
}
// SetDomain sets the value of Domain.
func (s *CreateMaReq) SetDomain(val OptString) {
s.Domain = val
}
// SetHost sets the value of Host.
func (s *CreateMaReq) SetHost(val OptString) {
s.Host = val
}
// SetFeed sets the value of Feed.
func (s *CreateMaReq) SetFeed(val OptString) {
s.Feed = val
}
// SetUpdatedAt sets the value of UpdatedAt.
func (s *CreateMaReq) SetUpdatedAt(val OptDateTime) {
s.UpdatedAt = val
@ -3009,8 +3108,17 @@ type MaCreate struct {
Avatar OptString `json:"avatar"`
Cid OptString `json:"cid"`
URI OptString `json:"uri"`
CidRoot OptString `json:"cid_root"`
URIRoot OptString `json:"uri_root"`
Root OptString `json:"root"`
Rkey OptString `json:"rkey"`
BskyURL OptString `json:"bsky_url"`
Comment OptString `json:"comment"`
Blog OptString `json:"blog"`
BlogURL OptString `json:"blog_url"`
Domain OptString `json:"domain"`
Host OptString `json:"host"`
Feed OptString `json:"feed"`
UpdatedAt OptDateTime `json:"updated_at"`
CreatedAt OptDateTime `json:"created_at"`
}
@ -3060,6 +3168,21 @@ func (s *MaCreate) GetURI() OptString {
return s.URI
}
// GetCidRoot returns the value of CidRoot.
func (s *MaCreate) GetCidRoot() OptString {
return s.CidRoot
}
// GetURIRoot returns the value of URIRoot.
func (s *MaCreate) GetURIRoot() OptString {
return s.URIRoot
}
// GetRoot returns the value of Root.
func (s *MaCreate) GetRoot() OptString {
return s.Root
}
// GetRkey returns the value of Rkey.
func (s *MaCreate) GetRkey() OptString {
return s.Rkey
@ -3070,6 +3193,36 @@ func (s *MaCreate) GetBskyURL() OptString {
return s.BskyURL
}
// GetComment returns the value of Comment.
func (s *MaCreate) GetComment() OptString {
return s.Comment
}
// GetBlog returns the value of Blog.
func (s *MaCreate) GetBlog() OptString {
return s.Blog
}
// GetBlogURL returns the value of BlogURL.
func (s *MaCreate) GetBlogURL() OptString {
return s.BlogURL
}
// GetDomain returns the value of Domain.
func (s *MaCreate) GetDomain() OptString {
return s.Domain
}
// GetHost returns the value of Host.
func (s *MaCreate) GetHost() OptString {
return s.Host
}
// GetFeed returns the value of Feed.
func (s *MaCreate) GetFeed() OptString {
return s.Feed
}
// GetUpdatedAt returns the value of UpdatedAt.
func (s *MaCreate) GetUpdatedAt() OptDateTime {
return s.UpdatedAt
@ -3125,6 +3278,21 @@ func (s *MaCreate) SetURI(val OptString) {
s.URI = val
}
// SetCidRoot sets the value of CidRoot.
func (s *MaCreate) SetCidRoot(val OptString) {
s.CidRoot = val
}
// SetURIRoot sets the value of URIRoot.
func (s *MaCreate) SetURIRoot(val OptString) {
s.URIRoot = val
}
// SetRoot sets the value of Root.
func (s *MaCreate) SetRoot(val OptString) {
s.Root = val
}
// SetRkey sets the value of Rkey.
func (s *MaCreate) SetRkey(val OptString) {
s.Rkey = val
@ -3135,6 +3303,36 @@ func (s *MaCreate) SetBskyURL(val OptString) {
s.BskyURL = val
}
// SetComment sets the value of Comment.
func (s *MaCreate) SetComment(val OptString) {
s.Comment = val
}
// SetBlog sets the value of Blog.
func (s *MaCreate) SetBlog(val OptString) {
s.Blog = val
}
// SetBlogURL sets the value of BlogURL.
func (s *MaCreate) SetBlogURL(val OptString) {
s.BlogURL = val
}
// SetDomain sets the value of Domain.
func (s *MaCreate) SetDomain(val OptString) {
s.Domain = val
}
// SetHost sets the value of Host.
func (s *MaCreate) SetHost(val OptString) {
s.Host = val
}
// SetFeed sets the value of Feed.
func (s *MaCreate) SetFeed(val OptString) {
s.Feed = val
}
// SetUpdatedAt sets the value of UpdatedAt.
func (s *MaCreate) SetUpdatedAt(val OptDateTime) {
s.UpdatedAt = val
@ -3158,8 +3356,17 @@ type MaList struct {
Avatar OptString `json:"avatar"`
Cid OptString `json:"cid"`
URI OptString `json:"uri"`
CidRoot OptString `json:"cid_root"`
URIRoot OptString `json:"uri_root"`
Root OptString `json:"root"`
Rkey OptString `json:"rkey"`
BskyURL OptString `json:"bsky_url"`
Comment OptString `json:"comment"`
Blog OptString `json:"blog"`
BlogURL OptString `json:"blog_url"`
Domain OptString `json:"domain"`
Host OptString `json:"host"`
Feed OptString `json:"feed"`
UpdatedAt OptDateTime `json:"updated_at"`
CreatedAt OptDateTime `json:"created_at"`
}
@ -3209,6 +3416,21 @@ func (s *MaList) GetURI() OptString {
return s.URI
}
// GetCidRoot returns the value of CidRoot.
func (s *MaList) GetCidRoot() OptString {
return s.CidRoot
}
// GetURIRoot returns the value of URIRoot.
func (s *MaList) GetURIRoot() OptString {
return s.URIRoot
}
// GetRoot returns the value of Root.
func (s *MaList) GetRoot() OptString {
return s.Root
}
// GetRkey returns the value of Rkey.
func (s *MaList) GetRkey() OptString {
return s.Rkey
@ -3219,6 +3441,36 @@ func (s *MaList) GetBskyURL() OptString {
return s.BskyURL
}
// GetComment returns the value of Comment.
func (s *MaList) GetComment() OptString {
return s.Comment
}
// GetBlog returns the value of Blog.
func (s *MaList) GetBlog() OptString {
return s.Blog
}
// GetBlogURL returns the value of BlogURL.
func (s *MaList) GetBlogURL() OptString {
return s.BlogURL
}
// GetDomain returns the value of Domain.
func (s *MaList) GetDomain() OptString {
return s.Domain
}
// GetHost returns the value of Host.
func (s *MaList) GetHost() OptString {
return s.Host
}
// GetFeed returns the value of Feed.
func (s *MaList) GetFeed() OptString {
return s.Feed
}
// GetUpdatedAt returns the value of UpdatedAt.
func (s *MaList) GetUpdatedAt() OptDateTime {
return s.UpdatedAt
@ -3274,6 +3526,21 @@ func (s *MaList) SetURI(val OptString) {
s.URI = val
}
// SetCidRoot sets the value of CidRoot.
func (s *MaList) SetCidRoot(val OptString) {
s.CidRoot = val
}
// SetURIRoot sets the value of URIRoot.
func (s *MaList) SetURIRoot(val OptString) {
s.URIRoot = val
}
// SetRoot sets the value of Root.
func (s *MaList) SetRoot(val OptString) {
s.Root = val
}
// SetRkey sets the value of Rkey.
func (s *MaList) SetRkey(val OptString) {
s.Rkey = val
@ -3284,6 +3551,36 @@ func (s *MaList) SetBskyURL(val OptString) {
s.BskyURL = val
}
// SetComment sets the value of Comment.
func (s *MaList) SetComment(val OptString) {
s.Comment = val
}
// SetBlog sets the value of Blog.
func (s *MaList) SetBlog(val OptString) {
s.Blog = val
}
// SetBlogURL sets the value of BlogURL.
func (s *MaList) SetBlogURL(val OptString) {
s.BlogURL = val
}
// SetDomain sets the value of Domain.
func (s *MaList) SetDomain(val OptString) {
s.Domain = val
}
// SetHost sets the value of Host.
func (s *MaList) SetHost(val OptString) {
s.Host = val
}
// SetFeed sets the value of Feed.
func (s *MaList) SetFeed(val OptString) {
s.Feed = val
}
// SetUpdatedAt sets the value of UpdatedAt.
func (s *MaList) SetUpdatedAt(val OptDateTime) {
s.UpdatedAt = val
@ -3850,8 +4147,17 @@ type MaRead struct {
Avatar OptString `json:"avatar"`
Cid OptString `json:"cid"`
URI OptString `json:"uri"`
CidRoot OptString `json:"cid_root"`
URIRoot OptString `json:"uri_root"`
Root OptString `json:"root"`
Rkey OptString `json:"rkey"`
BskyURL OptString `json:"bsky_url"`
Comment OptString `json:"comment"`
Blog OptString `json:"blog"`
BlogURL OptString `json:"blog_url"`
Domain OptString `json:"domain"`
Host OptString `json:"host"`
Feed OptString `json:"feed"`
UpdatedAt OptDateTime `json:"updated_at"`
CreatedAt OptDateTime `json:"created_at"`
}
@ -3901,6 +4207,21 @@ func (s *MaRead) GetURI() OptString {
return s.URI
}
// GetCidRoot returns the value of CidRoot.
func (s *MaRead) GetCidRoot() OptString {
return s.CidRoot
}
// GetURIRoot returns the value of URIRoot.
func (s *MaRead) GetURIRoot() OptString {
return s.URIRoot
}
// GetRoot returns the value of Root.
func (s *MaRead) GetRoot() OptString {
return s.Root
}
// GetRkey returns the value of Rkey.
func (s *MaRead) GetRkey() OptString {
return s.Rkey
@ -3911,6 +4232,36 @@ func (s *MaRead) GetBskyURL() OptString {
return s.BskyURL
}
// GetComment returns the value of Comment.
func (s *MaRead) GetComment() OptString {
return s.Comment
}
// GetBlog returns the value of Blog.
func (s *MaRead) GetBlog() OptString {
return s.Blog
}
// GetBlogURL returns the value of BlogURL.
func (s *MaRead) GetBlogURL() OptString {
return s.BlogURL
}
// GetDomain returns the value of Domain.
func (s *MaRead) GetDomain() OptString {
return s.Domain
}
// GetHost returns the value of Host.
func (s *MaRead) GetHost() OptString {
return s.Host
}
// GetFeed returns the value of Feed.
func (s *MaRead) GetFeed() OptString {
return s.Feed
}
// GetUpdatedAt returns the value of UpdatedAt.
func (s *MaRead) GetUpdatedAt() OptDateTime {
return s.UpdatedAt
@ -3966,6 +4317,21 @@ func (s *MaRead) SetURI(val OptString) {
s.URI = val
}
// SetCidRoot sets the value of CidRoot.
func (s *MaRead) SetCidRoot(val OptString) {
s.CidRoot = val
}
// SetURIRoot sets the value of URIRoot.
func (s *MaRead) SetURIRoot(val OptString) {
s.URIRoot = val
}
// SetRoot sets the value of Root.
func (s *MaRead) SetRoot(val OptString) {
s.Root = val
}
// SetRkey sets the value of Rkey.
func (s *MaRead) SetRkey(val OptString) {
s.Rkey = val
@ -3976,6 +4342,36 @@ func (s *MaRead) SetBskyURL(val OptString) {
s.BskyURL = val
}
// SetComment sets the value of Comment.
func (s *MaRead) SetComment(val OptString) {
s.Comment = val
}
// SetBlog sets the value of Blog.
func (s *MaRead) SetBlog(val OptString) {
s.Blog = val
}
// SetBlogURL sets the value of BlogURL.
func (s *MaRead) SetBlogURL(val OptString) {
s.BlogURL = val
}
// SetDomain sets the value of Domain.
func (s *MaRead) SetDomain(val OptString) {
s.Domain = val
}
// SetHost sets the value of Host.
func (s *MaRead) SetHost(val OptString) {
s.Host = val
}
// SetFeed sets the value of Feed.
func (s *MaRead) SetFeed(val OptString) {
s.Feed = val
}
// SetUpdatedAt sets the value of UpdatedAt.
func (s *MaRead) SetUpdatedAt(val OptDateTime) {
s.UpdatedAt = val
@ -3999,8 +4395,17 @@ type MaUpdate struct {
Avatar OptString `json:"avatar"`
Cid OptString `json:"cid"`
URI OptString `json:"uri"`
CidRoot OptString `json:"cid_root"`
URIRoot OptString `json:"uri_root"`
Root OptString `json:"root"`
Rkey OptString `json:"rkey"`
BskyURL OptString `json:"bsky_url"`
Comment OptString `json:"comment"`
Blog OptString `json:"blog"`
BlogURL OptString `json:"blog_url"`
Domain OptString `json:"domain"`
Host OptString `json:"host"`
Feed OptString `json:"feed"`
UpdatedAt OptDateTime `json:"updated_at"`
CreatedAt OptDateTime `json:"created_at"`
}
@ -4050,6 +4455,21 @@ func (s *MaUpdate) GetURI() OptString {
return s.URI
}
// GetCidRoot returns the value of CidRoot.
func (s *MaUpdate) GetCidRoot() OptString {
return s.CidRoot
}
// GetURIRoot returns the value of URIRoot.
func (s *MaUpdate) GetURIRoot() OptString {
return s.URIRoot
}
// GetRoot returns the value of Root.
func (s *MaUpdate) GetRoot() OptString {
return s.Root
}
// GetRkey returns the value of Rkey.
func (s *MaUpdate) GetRkey() OptString {
return s.Rkey
@ -4060,6 +4480,36 @@ func (s *MaUpdate) GetBskyURL() OptString {
return s.BskyURL
}
// GetComment returns the value of Comment.
func (s *MaUpdate) GetComment() OptString {
return s.Comment
}
// GetBlog returns the value of Blog.
func (s *MaUpdate) GetBlog() OptString {
return s.Blog
}
// GetBlogURL returns the value of BlogURL.
func (s *MaUpdate) GetBlogURL() OptString {
return s.BlogURL
}
// GetDomain returns the value of Domain.
func (s *MaUpdate) GetDomain() OptString {
return s.Domain
}
// GetHost returns the value of Host.
func (s *MaUpdate) GetHost() OptString {
return s.Host
}
// GetFeed returns the value of Feed.
func (s *MaUpdate) GetFeed() OptString {
return s.Feed
}
// GetUpdatedAt returns the value of UpdatedAt.
func (s *MaUpdate) GetUpdatedAt() OptDateTime {
return s.UpdatedAt
@ -4115,6 +4565,21 @@ func (s *MaUpdate) SetURI(val OptString) {
s.URI = val
}
// SetCidRoot sets the value of CidRoot.
func (s *MaUpdate) SetCidRoot(val OptString) {
s.CidRoot = val
}
// SetURIRoot sets the value of URIRoot.
func (s *MaUpdate) SetURIRoot(val OptString) {
s.URIRoot = val
}
// SetRoot sets the value of Root.
func (s *MaUpdate) SetRoot(val OptString) {
s.Root = val
}
// SetRkey sets the value of Rkey.
func (s *MaUpdate) SetRkey(val OptString) {
s.Rkey = val
@ -4125,6 +4590,36 @@ func (s *MaUpdate) SetBskyURL(val OptString) {
s.BskyURL = val
}
// SetComment sets the value of Comment.
func (s *MaUpdate) SetComment(val OptString) {
s.Comment = val
}
// SetBlog sets the value of Blog.
func (s *MaUpdate) SetBlog(val OptString) {
s.Blog = val
}
// SetBlogURL sets the value of BlogURL.
func (s *MaUpdate) SetBlogURL(val OptString) {
s.BlogURL = val
}
// SetDomain sets the value of Domain.
func (s *MaUpdate) SetDomain(val OptString) {
s.Domain = val
}
// SetHost sets the value of Host.
func (s *MaUpdate) SetHost(val OptString) {
s.Host = val
}
// SetFeed sets the value of Feed.
func (s *MaUpdate) SetFeed(val OptString) {
s.Feed = val
}
// SetUpdatedAt sets the value of UpdatedAt.
func (s *MaUpdate) SetUpdatedAt(val OptDateTime) {
s.UpdatedAt = val
@ -7166,8 +7661,17 @@ type UpdateMaReq struct {
Avatar OptString `json:"avatar"`
Cid OptString `json:"cid"`
URI OptString `json:"uri"`
CidRoot OptString `json:"cid_root"`
URIRoot OptString `json:"uri_root"`
Root OptString `json:"root"`
Rkey OptString `json:"rkey"`
BskyURL OptString `json:"bsky_url"`
Comment OptString `json:"comment"`
Blog OptString `json:"blog"`
BlogURL OptString `json:"blog_url"`
Domain OptString `json:"domain"`
Host OptString `json:"host"`
Feed OptString `json:"feed"`
UpdatedAt OptDateTime `json:"updated_at"`
Owner OptInt `json:"owner"`
}
@ -7217,6 +7721,21 @@ func (s *UpdateMaReq) GetURI() OptString {
return s.URI
}
// GetCidRoot returns the value of CidRoot.
func (s *UpdateMaReq) GetCidRoot() OptString {
return s.CidRoot
}
// GetURIRoot returns the value of URIRoot.
func (s *UpdateMaReq) GetURIRoot() OptString {
return s.URIRoot
}
// GetRoot returns the value of Root.
func (s *UpdateMaReq) GetRoot() OptString {
return s.Root
}
// GetRkey returns the value of Rkey.
func (s *UpdateMaReq) GetRkey() OptString {
return s.Rkey
@ -7227,6 +7746,36 @@ func (s *UpdateMaReq) GetBskyURL() OptString {
return s.BskyURL
}
// GetComment returns the value of Comment.
func (s *UpdateMaReq) GetComment() OptString {
return s.Comment
}
// GetBlog returns the value of Blog.
func (s *UpdateMaReq) GetBlog() OptString {
return s.Blog
}
// GetBlogURL returns the value of BlogURL.
func (s *UpdateMaReq) GetBlogURL() OptString {
return s.BlogURL
}
// GetDomain returns the value of Domain.
func (s *UpdateMaReq) GetDomain() OptString {
return s.Domain
}
// GetHost returns the value of Host.
func (s *UpdateMaReq) GetHost() OptString {
return s.Host
}
// GetFeed returns the value of Feed.
func (s *UpdateMaReq) GetFeed() OptString {
return s.Feed
}
// GetUpdatedAt returns the value of UpdatedAt.
func (s *UpdateMaReq) GetUpdatedAt() OptDateTime {
return s.UpdatedAt
@ -7282,6 +7831,21 @@ func (s *UpdateMaReq) SetURI(val OptString) {
s.URI = val
}
// SetCidRoot sets the value of CidRoot.
func (s *UpdateMaReq) SetCidRoot(val OptString) {
s.CidRoot = val
}
// SetURIRoot sets the value of URIRoot.
func (s *UpdateMaReq) SetURIRoot(val OptString) {
s.URIRoot = val
}
// SetRoot sets the value of Root.
func (s *UpdateMaReq) SetRoot(val OptString) {
s.Root = val
}
// SetRkey sets the value of Rkey.
func (s *UpdateMaReq) SetRkey(val OptString) {
s.Rkey = val
@ -7292,6 +7856,36 @@ func (s *UpdateMaReq) SetBskyURL(val OptString) {
s.BskyURL = val
}
// SetComment sets the value of Comment.
func (s *UpdateMaReq) SetComment(val OptString) {
s.Comment = val
}
// SetBlog sets the value of Blog.
func (s *UpdateMaReq) SetBlog(val OptString) {
s.Blog = val
}
// SetBlogURL sets the value of BlogURL.
func (s *UpdateMaReq) SetBlogURL(val OptString) {
s.BlogURL = val
}
// SetDomain sets the value of Domain.
func (s *UpdateMaReq) SetDomain(val OptString) {
s.Domain = val
}
// SetHost sets the value of Host.
func (s *UpdateMaReq) SetHost(val OptString) {
s.Host = val
}
// SetFeed sets the value of Feed.
func (s *UpdateMaReq) SetFeed(val OptString) {
s.Feed = val
}
// SetUpdatedAt sets the value of UpdatedAt.
func (s *UpdateMaReq) SetUpdatedAt(val OptDateTime) {
s.UpdatedAt = val
@ -9393,8 +9987,17 @@ type UserMaList struct {
Avatar OptString `json:"avatar"`
Cid OptString `json:"cid"`
URI OptString `json:"uri"`
CidRoot OptString `json:"cid_root"`
URIRoot OptString `json:"uri_root"`
Root OptString `json:"root"`
Rkey OptString `json:"rkey"`
BskyURL OptString `json:"bsky_url"`
Comment OptString `json:"comment"`
Blog OptString `json:"blog"`
BlogURL OptString `json:"blog_url"`
Domain OptString `json:"domain"`
Host OptString `json:"host"`
Feed OptString `json:"feed"`
UpdatedAt OptDateTime `json:"updated_at"`
CreatedAt OptDateTime `json:"created_at"`
}
@ -9444,6 +10047,21 @@ func (s *UserMaList) GetURI() OptString {
return s.URI
}
// GetCidRoot returns the value of CidRoot.
func (s *UserMaList) GetCidRoot() OptString {
return s.CidRoot
}
// GetURIRoot returns the value of URIRoot.
func (s *UserMaList) GetURIRoot() OptString {
return s.URIRoot
}
// GetRoot returns the value of Root.
func (s *UserMaList) GetRoot() OptString {
return s.Root
}
// GetRkey returns the value of Rkey.
func (s *UserMaList) GetRkey() OptString {
return s.Rkey
@ -9454,6 +10072,36 @@ func (s *UserMaList) GetBskyURL() OptString {
return s.BskyURL
}
// GetComment returns the value of Comment.
func (s *UserMaList) GetComment() OptString {
return s.Comment
}
// GetBlog returns the value of Blog.
func (s *UserMaList) GetBlog() OptString {
return s.Blog
}
// GetBlogURL returns the value of BlogURL.
func (s *UserMaList) GetBlogURL() OptString {
return s.BlogURL
}
// GetDomain returns the value of Domain.
func (s *UserMaList) GetDomain() OptString {
return s.Domain
}
// GetHost returns the value of Host.
func (s *UserMaList) GetHost() OptString {
return s.Host
}
// GetFeed returns the value of Feed.
func (s *UserMaList) GetFeed() OptString {
return s.Feed
}
// GetUpdatedAt returns the value of UpdatedAt.
func (s *UserMaList) GetUpdatedAt() OptDateTime {
return s.UpdatedAt
@ -9509,6 +10157,21 @@ func (s *UserMaList) SetURI(val OptString) {
s.URI = val
}
// SetCidRoot sets the value of CidRoot.
func (s *UserMaList) SetCidRoot(val OptString) {
s.CidRoot = val
}
// SetURIRoot sets the value of URIRoot.
func (s *UserMaList) SetURIRoot(val OptString) {
s.URIRoot = val
}
// SetRoot sets the value of Root.
func (s *UserMaList) SetRoot(val OptString) {
s.Root = val
}
// SetRkey sets the value of Rkey.
func (s *UserMaList) SetRkey(val OptString) {
s.Rkey = val
@ -9519,6 +10182,36 @@ func (s *UserMaList) SetBskyURL(val OptString) {
s.BskyURL = val
}
// SetComment sets the value of Comment.
func (s *UserMaList) SetComment(val OptString) {
s.Comment = val
}
// SetBlog sets the value of Blog.
func (s *UserMaList) SetBlog(val OptString) {
s.Blog = val
}
// SetBlogURL sets the value of BlogURL.
func (s *UserMaList) SetBlogURL(val OptString) {
s.BlogURL = val
}
// SetDomain sets the value of Domain.
func (s *UserMaList) SetDomain(val OptString) {
s.Domain = val
}
// SetHost sets the value of Host.
func (s *UserMaList) SetHost(val OptString) {
s.Host = val
}
// SetFeed sets the value of Feed.
func (s *UserMaList) SetFeed(val OptString) {
s.Feed = val
}
// SetUpdatedAt sets the value of UpdatedAt.
func (s *UserMaList) SetUpdatedAt(val OptDateTime) {
s.UpdatedAt = val

View File

@ -539,6 +539,33 @@ func (h *OgentHandler) CreateMa(ctx context.Context, req *CreateMaReq) (CreateMa
if v, ok := req.BskyURL.Get(); ok {
b.SetBskyURL(v)
}
if v, ok := req.CidRoot.Get(); ok {
b.SetCidRoot(v)
}
if v, ok := req.URIRoot.Get(); ok {
b.SetURIRoot(v)
}
if v, ok := req.Root.Get(); ok {
b.SetRoot(v)
}
if v, ok := req.Comment.Get(); ok {
b.SetComment(v)
}
if v, ok := req.Blog.Get(); ok {
b.SetBlog(v)
}
if v, ok := req.BlogURL.Get(); ok {
b.SetBlogURL(v)
}
if v, ok := req.Domain.Get(); ok {
b.SetDomain(v)
}
if v, ok := req.Host.Get(); ok {
b.SetHost(v)
}
if v, ok := req.Feed.Get(); ok {
b.SetFeed(v)
}
if v, ok := req.UpdatedAt.Get(); ok {
b.SetUpdatedAt(v)
}
@ -646,6 +673,33 @@ func (h *OgentHandler) UpdateMa(ctx context.Context, req *UpdateMaReq, params Up
if v, ok := req.BskyURL.Get(); ok {
b.SetBskyURL(v)
}
if v, ok := req.CidRoot.Get(); ok {
b.SetCidRoot(v)
}
if v, ok := req.URIRoot.Get(); ok {
b.SetURIRoot(v)
}
if v, ok := req.Root.Get(); ok {
b.SetRoot(v)
}
if v, ok := req.Comment.Get(); ok {
b.SetComment(v)
}
if v, ok := req.Blog.Get(); ok {
b.SetBlog(v)
}
if v, ok := req.BlogURL.Get(); ok {
b.SetBlogURL(v)
}
if v, ok := req.Domain.Get(); ok {
b.SetDomain(v)
}
if v, ok := req.Host.Get(); ok {
b.SetHost(v)
}
if v, ok := req.Feed.Get(); ok {
b.SetFeed(v)
}
if v, ok := req.UpdatedAt.Get(); ok {
b.SetUpdatedAt(v)
}

View File

@ -420,8 +420,17 @@ func NewMaCreate(e *ent.Ma) *MaCreate {
ret.Avatar = NewOptString(e.Avatar)
ret.Cid = NewOptString(e.Cid)
ret.URI = NewOptString(e.URI)
ret.CidRoot = NewOptString(e.CidRoot)
ret.URIRoot = NewOptString(e.URIRoot)
ret.Root = NewOptString(e.Root)
ret.Rkey = NewOptString(e.Rkey)
ret.BskyURL = NewOptString(e.BskyURL)
ret.Comment = NewOptString(e.Comment)
ret.Blog = NewOptString(e.Blog)
ret.BlogURL = NewOptString(e.BlogURL)
ret.Domain = NewOptString(e.Domain)
ret.Host = NewOptString(e.Host)
ret.Feed = NewOptString(e.Feed)
ret.UpdatedAt = NewOptDateTime(e.UpdatedAt)
ret.CreatedAt = NewOptDateTime(e.CreatedAt)
return &ret
@ -459,8 +468,17 @@ func NewMaList(e *ent.Ma) *MaList {
ret.Avatar = NewOptString(e.Avatar)
ret.Cid = NewOptString(e.Cid)
ret.URI = NewOptString(e.URI)
ret.CidRoot = NewOptString(e.CidRoot)
ret.URIRoot = NewOptString(e.URIRoot)
ret.Root = NewOptString(e.Root)
ret.Rkey = NewOptString(e.Rkey)
ret.BskyURL = NewOptString(e.BskyURL)
ret.Comment = NewOptString(e.Comment)
ret.Blog = NewOptString(e.Blog)
ret.BlogURL = NewOptString(e.BlogURL)
ret.Domain = NewOptString(e.Domain)
ret.Host = NewOptString(e.Host)
ret.Feed = NewOptString(e.Feed)
ret.UpdatedAt = NewOptDateTime(e.UpdatedAt)
ret.CreatedAt = NewOptDateTime(e.CreatedAt)
return &ret
@ -498,8 +516,17 @@ func NewMaRead(e *ent.Ma) *MaRead {
ret.Avatar = NewOptString(e.Avatar)
ret.Cid = NewOptString(e.Cid)
ret.URI = NewOptString(e.URI)
ret.CidRoot = NewOptString(e.CidRoot)
ret.URIRoot = NewOptString(e.URIRoot)
ret.Root = NewOptString(e.Root)
ret.Rkey = NewOptString(e.Rkey)
ret.BskyURL = NewOptString(e.BskyURL)
ret.Comment = NewOptString(e.Comment)
ret.Blog = NewOptString(e.Blog)
ret.BlogURL = NewOptString(e.BlogURL)
ret.Domain = NewOptString(e.Domain)
ret.Host = NewOptString(e.Host)
ret.Feed = NewOptString(e.Feed)
ret.UpdatedAt = NewOptDateTime(e.UpdatedAt)
ret.CreatedAt = NewOptDateTime(e.CreatedAt)
return &ret
@ -537,8 +564,17 @@ func NewMaUpdate(e *ent.Ma) *MaUpdate {
ret.Avatar = NewOptString(e.Avatar)
ret.Cid = NewOptString(e.Cid)
ret.URI = NewOptString(e.URI)
ret.CidRoot = NewOptString(e.CidRoot)
ret.URIRoot = NewOptString(e.URIRoot)
ret.Root = NewOptString(e.Root)
ret.Rkey = NewOptString(e.Rkey)
ret.BskyURL = NewOptString(e.BskyURL)
ret.Comment = NewOptString(e.Comment)
ret.Blog = NewOptString(e.Blog)
ret.BlogURL = NewOptString(e.BlogURL)
ret.Domain = NewOptString(e.Domain)
ret.Host = NewOptString(e.Host)
ret.Feed = NewOptString(e.Feed)
ret.UpdatedAt = NewOptDateTime(e.UpdatedAt)
ret.CreatedAt = NewOptDateTime(e.CreatedAt)
return &ret
@ -1460,8 +1496,17 @@ func NewUserMaList(e *ent.Ma) *UserMaList {
ret.Avatar = NewOptString(e.Avatar)
ret.Cid = NewOptString(e.Cid)
ret.URI = NewOptString(e.URI)
ret.CidRoot = NewOptString(e.CidRoot)
ret.URIRoot = NewOptString(e.URIRoot)
ret.Root = NewOptString(e.Root)
ret.Rkey = NewOptString(e.Rkey)
ret.BskyURL = NewOptString(e.BskyURL)
ret.Comment = NewOptString(e.Comment)
ret.Blog = NewOptString(e.Blog)
ret.BlogURL = NewOptString(e.BlogURL)
ret.Domain = NewOptString(e.Domain)
ret.Host = NewOptString(e.Host)
ret.Feed = NewOptString(e.Feed)
ret.UpdatedAt = NewOptDateTime(e.UpdatedAt)
ret.CreatedAt = NewOptDateTime(e.CreatedAt)
return &ret