We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/shibaleo/mcpist'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
// Code generated by ogen, DO NOT EDIT.
package gen
import (
"github.com/go-faster/jx"
)
type BearerAuth struct {
Token string
Roles []string
}
// GetToken returns the value of Token.
func (s *BearerAuth) GetToken() string {
return s.Token
}
// GetRoles returns the value of Roles.
func (s *BearerAuth) GetRoles() []string {
return s.Roles
}
// SetToken sets the value of Token.
func (s *BearerAuth) SetToken(val string) {
s.Token = val
}
// SetRoles sets the value of Roles.
func (s *BearerAuth) SetRoles(val []string) {
s.Roles = val
}
// CloseTaskNoContent is response for CloseTask operation.
type CloseTaskNoContent struct{}
// Ref: #/components/schemas/Comment
type Comment struct {
ID OptString `json:"id"`
TaskId OptNilString `json:"taskId"`
ProjectId OptNilString `json:"projectId"`
PostedAt OptString `json:"postedAt"`
Content OptString `json:"content"`
FileAttachment jx.Raw `json:"fileAttachment"`
}
// GetID returns the value of ID.
func (s *Comment) GetID() OptString {
return s.ID
}
// GetTaskId returns the value of TaskId.
func (s *Comment) GetTaskId() OptNilString {
return s.TaskId
}
// GetProjectId returns the value of ProjectId.
func (s *Comment) GetProjectId() OptNilString {
return s.ProjectId
}
// GetPostedAt returns the value of PostedAt.
func (s *Comment) GetPostedAt() OptString {
return s.PostedAt
}
// GetContent returns the value of Content.
func (s *Comment) GetContent() OptString {
return s.Content
}
// GetFileAttachment returns the value of FileAttachment.
func (s *Comment) GetFileAttachment() jx.Raw {
return s.FileAttachment
}
// SetID sets the value of ID.
func (s *Comment) SetID(val OptString) {
s.ID = val
}
// SetTaskId sets the value of TaskId.
func (s *Comment) SetTaskId(val OptNilString) {
s.TaskId = val
}
// SetProjectId sets the value of ProjectId.
func (s *Comment) SetProjectId(val OptNilString) {
s.ProjectId = val
}
// SetPostedAt sets the value of PostedAt.
func (s *Comment) SetPostedAt(val OptString) {
s.PostedAt = val
}
// SetContent sets the value of Content.
func (s *Comment) SetContent(val OptString) {
s.Content = val
}
// SetFileAttachment sets the value of FileAttachment.
func (s *Comment) SetFileAttachment(val jx.Raw) {
s.FileAttachment = val
}
// Ref: #/components/schemas/CommentListResponse
type CommentListResponse struct {
Results []Comment `json:"results"`
NextCursor OptNilString `json:"nextCursor"`
}
// GetResults returns the value of Results.
func (s *CommentListResponse) GetResults() []Comment {
return s.Results
}
// GetNextCursor returns the value of NextCursor.
func (s *CommentListResponse) GetNextCursor() OptNilString {
return s.NextCursor
}
// SetResults sets the value of Results.
func (s *CommentListResponse) SetResults(val []Comment) {
s.Results = val
}
// SetNextCursor sets the value of NextCursor.
func (s *CommentListResponse) SetNextCursor(val OptNilString) {
s.NextCursor = val
}
type CreateCommentReq struct {
TaskId OptString `json:"taskId"`
ProjectId OptString `json:"projectId"`
Content string `json:"content"`
}
// GetTaskId returns the value of TaskId.
func (s *CreateCommentReq) GetTaskId() OptString {
return s.TaskId
}
// GetProjectId returns the value of ProjectId.
func (s *CreateCommentReq) GetProjectId() OptString {
return s.ProjectId
}
// GetContent returns the value of Content.
func (s *CreateCommentReq) GetContent() string {
return s.Content
}
// SetTaskId sets the value of TaskId.
func (s *CreateCommentReq) SetTaskId(val OptString) {
s.TaskId = val
}
// SetProjectId sets the value of ProjectId.
func (s *CreateCommentReq) SetProjectId(val OptString) {
s.ProjectId = val
}
// SetContent sets the value of Content.
func (s *CreateCommentReq) SetContent(val string) {
s.Content = val
}
type CreateTaskReq struct {
Content string `json:"content"`
Description OptString `json:"description"`
ProjectId OptString `json:"projectId"`
SectionId OptString `json:"sectionId"`
ParentId OptString `json:"parentId"`
Priority OptInt `json:"priority"`
DueString OptString `json:"dueString"`
DueDate OptString `json:"dueDate"`
DueDatetime OptString `json:"dueDatetime"`
Labels []string `json:"labels"`
AssigneeId OptString `json:"assigneeId"`
}
// GetContent returns the value of Content.
func (s *CreateTaskReq) GetContent() string {
return s.Content
}
// GetDescription returns the value of Description.
func (s *CreateTaskReq) GetDescription() OptString {
return s.Description
}
// GetProjectId returns the value of ProjectId.
func (s *CreateTaskReq) GetProjectId() OptString {
return s.ProjectId
}
// GetSectionId returns the value of SectionId.
func (s *CreateTaskReq) GetSectionId() OptString {
return s.SectionId
}
// GetParentId returns the value of ParentId.
func (s *CreateTaskReq) GetParentId() OptString {
return s.ParentId
}
// GetPriority returns the value of Priority.
func (s *CreateTaskReq) GetPriority() OptInt {
return s.Priority
}
// GetDueString returns the value of DueString.
func (s *CreateTaskReq) GetDueString() OptString {
return s.DueString
}
// GetDueDate returns the value of DueDate.
func (s *CreateTaskReq) GetDueDate() OptString {
return s.DueDate
}
// GetDueDatetime returns the value of DueDatetime.
func (s *CreateTaskReq) GetDueDatetime() OptString {
return s.DueDatetime
}
// GetLabels returns the value of Labels.
func (s *CreateTaskReq) GetLabels() []string {
return s.Labels
}
// GetAssigneeId returns the value of AssigneeId.
func (s *CreateTaskReq) GetAssigneeId() OptString {
return s.AssigneeId
}
// SetContent sets the value of Content.
func (s *CreateTaskReq) SetContent(val string) {
s.Content = val
}
// SetDescription sets the value of Description.
func (s *CreateTaskReq) SetDescription(val OptString) {
s.Description = val
}
// SetProjectId sets the value of ProjectId.
func (s *CreateTaskReq) SetProjectId(val OptString) {
s.ProjectId = val
}
// SetSectionId sets the value of SectionId.
func (s *CreateTaskReq) SetSectionId(val OptString) {
s.SectionId = val
}
// SetParentId sets the value of ParentId.
func (s *CreateTaskReq) SetParentId(val OptString) {
s.ParentId = val
}
// SetPriority sets the value of Priority.
func (s *CreateTaskReq) SetPriority(val OptInt) {
s.Priority = val
}
// SetDueString sets the value of DueString.
func (s *CreateTaskReq) SetDueString(val OptString) {
s.DueString = val
}
// SetDueDate sets the value of DueDate.
func (s *CreateTaskReq) SetDueDate(val OptString) {
s.DueDate = val
}
// SetDueDatetime sets the value of DueDatetime.
func (s *CreateTaskReq) SetDueDatetime(val OptString) {
s.DueDatetime = val
}
// SetLabels sets the value of Labels.
func (s *CreateTaskReq) SetLabels(val []string) {
s.Labels = val
}
// SetAssigneeId sets the value of AssigneeId.
func (s *CreateTaskReq) SetAssigneeId(val OptString) {
s.AssigneeId = val
}
// DeleteCommentNoContent is response for DeleteComment operation.
type DeleteCommentNoContent struct{}
// DeleteTaskNoContent is response for DeleteTask operation.
type DeleteTaskNoContent struct{}
// Ref: #/components/schemas/Due
type Due struct {
String OptString `json:"string"`
Date OptString `json:"date"`
IsRecurring OptBool `json:"isRecurring"`
Datetime OptNilString `json:"datetime"`
Timezone OptNilString `json:"timezone"`
Lang OptNilString `json:"lang"`
}
// GetString returns the value of String.
func (s *Due) GetString() OptString {
return s.String
}
// GetDate returns the value of Date.
func (s *Due) GetDate() OptString {
return s.Date
}
// GetIsRecurring returns the value of IsRecurring.
func (s *Due) GetIsRecurring() OptBool {
return s.IsRecurring
}
// GetDatetime returns the value of Datetime.
func (s *Due) GetDatetime() OptNilString {
return s.Datetime
}
// GetTimezone returns the value of Timezone.
func (s *Due) GetTimezone() OptNilString {
return s.Timezone
}
// GetLang returns the value of Lang.
func (s *Due) GetLang() OptNilString {
return s.Lang
}
// SetString sets the value of String.
func (s *Due) SetString(val OptString) {
s.String = val
}
// SetDate sets the value of Date.
func (s *Due) SetDate(val OptString) {
s.Date = val
}
// SetIsRecurring sets the value of IsRecurring.
func (s *Due) SetIsRecurring(val OptBool) {
s.IsRecurring = val
}
// SetDatetime sets the value of Datetime.
func (s *Due) SetDatetime(val OptNilString) {
s.Datetime = val
}
// SetTimezone sets the value of Timezone.
func (s *Due) SetTimezone(val OptNilString) {
s.Timezone = val
}
// SetLang sets the value of Lang.
func (s *Due) SetLang(val OptNilString) {
s.Lang = val
}
// Ref: #/components/schemas/Duration
type Duration struct {
Amount OptInt `json:"amount"`
Unit OptString `json:"unit"`
}
// GetAmount returns the value of Amount.
func (s *Duration) GetAmount() OptInt {
return s.Amount
}
// GetUnit returns the value of Unit.
func (s *Duration) GetUnit() OptString {
return s.Unit
}
// SetAmount sets the value of Amount.
func (s *Duration) SetAmount(val OptInt) {
s.Amount = val
}
// SetUnit sets the value of Unit.
func (s *Duration) SetUnit(val OptString) {
s.Unit = val
}
// Ref: #/components/schemas/Label
type Label struct {
ID OptString `json:"id"`
Name OptString `json:"name"`
Color OptString `json:"color"`
Order OptNilInt `json:"order"`
IsFavorite OptBool `json:"isFavorite"`
}
// GetID returns the value of ID.
func (s *Label) GetID() OptString {
return s.ID
}
// GetName returns the value of Name.
func (s *Label) GetName() OptString {
return s.Name
}
// GetColor returns the value of Color.
func (s *Label) GetColor() OptString {
return s.Color
}
// GetOrder returns the value of Order.
func (s *Label) GetOrder() OptNilInt {
return s.Order
}
// GetIsFavorite returns the value of IsFavorite.
func (s *Label) GetIsFavorite() OptBool {
return s.IsFavorite
}
// SetID sets the value of ID.
func (s *Label) SetID(val OptString) {
s.ID = val
}
// SetName sets the value of Name.
func (s *Label) SetName(val OptString) {
s.Name = val
}
// SetColor sets the value of Color.
func (s *Label) SetColor(val OptString) {
s.Color = val
}
// SetOrder sets the value of Order.
func (s *Label) SetOrder(val OptNilInt) {
s.Order = val
}
// SetIsFavorite sets the value of IsFavorite.
func (s *Label) SetIsFavorite(val OptBool) {
s.IsFavorite = val
}
// Ref: #/components/schemas/LabelListResponse
type LabelListResponse struct {
Results []Label `json:"results"`
NextCursor OptNilString `json:"nextCursor"`
}
// GetResults returns the value of Results.
func (s *LabelListResponse) GetResults() []Label {
return s.Results
}
// GetNextCursor returns the value of NextCursor.
func (s *LabelListResponse) GetNextCursor() OptNilString {
return s.NextCursor
}
// SetResults sets the value of Results.
func (s *LabelListResponse) SetResults(val []Label) {
s.Results = val
}
// SetNextCursor sets the value of NextCursor.
func (s *LabelListResponse) SetNextCursor(val OptNilString) {
s.NextCursor = val
}
// 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
}
// 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
}
// NewOptNilDue returns new OptNilDue with value set to v.
func NewOptNilDue(v Due) OptNilDue {
return OptNilDue{
Value: v,
Set: true,
}
}
// OptNilDue is optional nullable Due.
type OptNilDue struct {
Value Due
Set bool
Null bool
}
// IsSet returns true if OptNilDue was set.
func (o OptNilDue) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptNilDue) Reset() {
var v Due
o.Value = v
o.Set = false
o.Null = false
}
// SetTo sets value to v.
func (o *OptNilDue) SetTo(v Due) {
o.Set = true
o.Null = false
o.Value = v
}
// IsNull returns true if value is Null.
func (o OptNilDue) IsNull() bool { return o.Null }
// SetToNull sets value to null.
func (o *OptNilDue) SetToNull() {
o.Set = true
o.Null = true
var v Due
o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptNilDue) Get() (v Due, ok bool) {
if o.Null {
return v, false
}
if !o.Set {
return v, false
}
return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptNilDue) Or(d Due) Due {
if v, ok := o.Get(); ok {
return v
}
return d
}
// NewOptNilDuration returns new OptNilDuration with value set to v.
func NewOptNilDuration(v Duration) OptNilDuration {
return OptNilDuration{
Value: v,
Set: true,
}
}
// OptNilDuration is optional nullable Duration.
type OptNilDuration struct {
Value Duration
Set bool
Null bool
}
// IsSet returns true if OptNilDuration was set.
func (o OptNilDuration) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptNilDuration) Reset() {
var v Duration
o.Value = v
o.Set = false
o.Null = false
}
// SetTo sets value to v.
func (o *OptNilDuration) SetTo(v Duration) {
o.Set = true
o.Null = false
o.Value = v
}
// IsNull returns true if value is Null.
func (o OptNilDuration) IsNull() bool { return o.Null }
// SetToNull sets value to null.
func (o *OptNilDuration) SetToNull() {
o.Set = true
o.Null = true
var v Duration
o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptNilDuration) Get() (v Duration, ok bool) {
if o.Null {
return v, false
}
if !o.Set {
return v, false
}
return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptNilDuration) Or(d Duration) Duration {
if v, ok := o.Get(); ok {
return v
}
return d
}
// NewOptNilInt returns new OptNilInt with value set to v.
func NewOptNilInt(v int) OptNilInt {
return OptNilInt{
Value: v,
Set: true,
}
}
// OptNilInt is optional nullable int.
type OptNilInt struct {
Value int
Set bool
Null bool
}
// IsSet returns true if OptNilInt was set.
func (o OptNilInt) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptNilInt) Reset() {
var v int
o.Value = v
o.Set = false
o.Null = false
}
// SetTo sets value to v.
func (o *OptNilInt) SetTo(v int) {
o.Set = true
o.Null = false
o.Value = v
}
// IsNull returns true if value is Null.
func (o OptNilInt) IsNull() bool { return o.Null }
// SetToNull sets value to null.
func (o *OptNilInt) SetToNull() {
o.Set = true
o.Null = true
var v int
o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptNilInt) Get() (v int, ok bool) {
if o.Null {
return v, false
}
if !o.Set {
return v, false
}
return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptNilInt) Or(d int) int {
if v, ok := o.Get(); ok {
return v
}
return d
}
// NewOptNilString returns new OptNilString with value set to v.
func NewOptNilString(v string) OptNilString {
return OptNilString{
Value: v,
Set: true,
}
}
// OptNilString is optional nullable string.
type OptNilString struct {
Value string
Set bool
Null bool
}
// IsSet returns true if OptNilString was set.
func (o OptNilString) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptNilString) Reset() {
var v string
o.Value = v
o.Set = false
o.Null = false
}
// SetTo sets value to v.
func (o *OptNilString) SetTo(v string) {
o.Set = true
o.Null = false
o.Value = v
}
// IsNull returns true if value is Null.
func (o OptNilString) IsNull() bool { return o.Null }
// SetToNull sets value to null.
func (o *OptNilString) SetToNull() {
o.Set = true
o.Null = true
var v string
o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptNilString) Get() (v string, ok bool) {
if o.Null {
return v, false
}
if !o.Set {
return v, false
}
return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptNilString) Or(d string) string {
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
}
// Ref: #/components/schemas/Project
type Project struct {
ID OptString `json:"id"`
Name OptString `json:"name"`
Color OptString `json:"color"`
ParentId OptNilString `json:"parentId"`
ChildOrder OptInt `json:"childOrder"`
IsArchived OptBool `json:"isArchived"`
IsDeleted OptBool `json:"isDeleted"`
IsFavorite OptBool `json:"isFavorite"`
IsShared OptBool `json:"isShared"`
InboxProject OptBool `json:"inboxProject"`
ViewStyle OptString `json:"viewStyle"`
Description OptString `json:"description"`
URL OptString `json:"url"`
}
// GetID returns the value of ID.
func (s *Project) GetID() OptString {
return s.ID
}
// GetName returns the value of Name.
func (s *Project) GetName() OptString {
return s.Name
}
// GetColor returns the value of Color.
func (s *Project) GetColor() OptString {
return s.Color
}
// GetParentId returns the value of ParentId.
func (s *Project) GetParentId() OptNilString {
return s.ParentId
}
// GetChildOrder returns the value of ChildOrder.
func (s *Project) GetChildOrder() OptInt {
return s.ChildOrder
}
// GetIsArchived returns the value of IsArchived.
func (s *Project) GetIsArchived() OptBool {
return s.IsArchived
}
// GetIsDeleted returns the value of IsDeleted.
func (s *Project) GetIsDeleted() OptBool {
return s.IsDeleted
}
// GetIsFavorite returns the value of IsFavorite.
func (s *Project) GetIsFavorite() OptBool {
return s.IsFavorite
}
// GetIsShared returns the value of IsShared.
func (s *Project) GetIsShared() OptBool {
return s.IsShared
}
// GetInboxProject returns the value of InboxProject.
func (s *Project) GetInboxProject() OptBool {
return s.InboxProject
}
// GetViewStyle returns the value of ViewStyle.
func (s *Project) GetViewStyle() OptString {
return s.ViewStyle
}
// GetDescription returns the value of Description.
func (s *Project) GetDescription() OptString {
return s.Description
}
// GetURL returns the value of URL.
func (s *Project) GetURL() OptString {
return s.URL
}
// SetID sets the value of ID.
func (s *Project) SetID(val OptString) {
s.ID = val
}
// SetName sets the value of Name.
func (s *Project) SetName(val OptString) {
s.Name = val
}
// SetColor sets the value of Color.
func (s *Project) SetColor(val OptString) {
s.Color = val
}
// SetParentId sets the value of ParentId.
func (s *Project) SetParentId(val OptNilString) {
s.ParentId = val
}
// SetChildOrder sets the value of ChildOrder.
func (s *Project) SetChildOrder(val OptInt) {
s.ChildOrder = val
}
// SetIsArchived sets the value of IsArchived.
func (s *Project) SetIsArchived(val OptBool) {
s.IsArchived = val
}
// SetIsDeleted sets the value of IsDeleted.
func (s *Project) SetIsDeleted(val OptBool) {
s.IsDeleted = val
}
// SetIsFavorite sets the value of IsFavorite.
func (s *Project) SetIsFavorite(val OptBool) {
s.IsFavorite = val
}
// SetIsShared sets the value of IsShared.
func (s *Project) SetIsShared(val OptBool) {
s.IsShared = val
}
// SetInboxProject sets the value of InboxProject.
func (s *Project) SetInboxProject(val OptBool) {
s.InboxProject = val
}
// SetViewStyle sets the value of ViewStyle.
func (s *Project) SetViewStyle(val OptString) {
s.ViewStyle = val
}
// SetDescription sets the value of Description.
func (s *Project) SetDescription(val OptString) {
s.Description = val
}
// SetURL sets the value of URL.
func (s *Project) SetURL(val OptString) {
s.URL = val
}
// Ref: #/components/schemas/ProjectListResponse
type ProjectListResponse struct {
Results []Project `json:"results"`
NextCursor OptNilString `json:"nextCursor"`
}
// GetResults returns the value of Results.
func (s *ProjectListResponse) GetResults() []Project {
return s.Results
}
// GetNextCursor returns the value of NextCursor.
func (s *ProjectListResponse) GetNextCursor() OptNilString {
return s.NextCursor
}
// SetResults sets the value of Results.
func (s *ProjectListResponse) SetResults(val []Project) {
s.Results = val
}
// SetNextCursor sets the value of NextCursor.
func (s *ProjectListResponse) SetNextCursor(val OptNilString) {
s.NextCursor = val
}
// ReopenTaskNoContent is response for ReopenTask operation.
type ReopenTaskNoContent struct{}
// Ref: #/components/schemas/Section
type Section struct {
ID OptString `json:"id"`
ProjectId OptString `json:"projectId"`
Name OptString `json:"name"`
SectionOrder OptInt `json:"sectionOrder"`
IsArchived OptBool `json:"isArchived"`
IsDeleted OptBool `json:"isDeleted"`
}
// GetID returns the value of ID.
func (s *Section) GetID() OptString {
return s.ID
}
// GetProjectId returns the value of ProjectId.
func (s *Section) GetProjectId() OptString {
return s.ProjectId
}
// GetName returns the value of Name.
func (s *Section) GetName() OptString {
return s.Name
}
// GetSectionOrder returns the value of SectionOrder.
func (s *Section) GetSectionOrder() OptInt {
return s.SectionOrder
}
// GetIsArchived returns the value of IsArchived.
func (s *Section) GetIsArchived() OptBool {
return s.IsArchived
}
// GetIsDeleted returns the value of IsDeleted.
func (s *Section) GetIsDeleted() OptBool {
return s.IsDeleted
}
// SetID sets the value of ID.
func (s *Section) SetID(val OptString) {
s.ID = val
}
// SetProjectId sets the value of ProjectId.
func (s *Section) SetProjectId(val OptString) {
s.ProjectId = val
}
// SetName sets the value of Name.
func (s *Section) SetName(val OptString) {
s.Name = val
}
// SetSectionOrder sets the value of SectionOrder.
func (s *Section) SetSectionOrder(val OptInt) {
s.SectionOrder = val
}
// SetIsArchived sets the value of IsArchived.
func (s *Section) SetIsArchived(val OptBool) {
s.IsArchived = val
}
// SetIsDeleted sets the value of IsDeleted.
func (s *Section) SetIsDeleted(val OptBool) {
s.IsDeleted = val
}
// Ref: #/components/schemas/SectionListResponse
type SectionListResponse struct {
Results []Section `json:"results"`
NextCursor OptNilString `json:"nextCursor"`
}
// GetResults returns the value of Results.
func (s *SectionListResponse) GetResults() []Section {
return s.Results
}
// GetNextCursor returns the value of NextCursor.
func (s *SectionListResponse) GetNextCursor() OptNilString {
return s.NextCursor
}
// SetResults sets the value of Results.
func (s *SectionListResponse) SetResults(val []Section) {
s.Results = val
}
// SetNextCursor sets the value of NextCursor.
func (s *SectionListResponse) SetNextCursor(val OptNilString) {
s.NextCursor = val
}
// Ref: #/components/schemas/Task
type Task struct {
ID OptString `json:"id"`
ProjectId OptString `json:"projectId"`
SectionId OptNilString `json:"sectionId"`
ParentId OptNilString `json:"parentId"`
Content OptString `json:"content"`
Description OptString `json:"description"`
Checked OptBool `json:"checked"`
Labels []string `json:"labels"`
Priority OptInt `json:"priority"`
ChildOrder OptInt `json:"childOrder"`
Due OptNilDue `json:"due"`
Duration OptNilDuration `json:"duration"`
NoteCount OptInt `json:"noteCount"`
URL OptString `json:"url"`
AddedAt OptNilString `json:"addedAt"`
CompletedAt OptNilString `json:"completedAt"`
ResponsibleUid OptNilString `json:"responsibleUid"`
}
// GetID returns the value of ID.
func (s *Task) GetID() OptString {
return s.ID
}
// GetProjectId returns the value of ProjectId.
func (s *Task) GetProjectId() OptString {
return s.ProjectId
}
// GetSectionId returns the value of SectionId.
func (s *Task) GetSectionId() OptNilString {
return s.SectionId
}
// GetParentId returns the value of ParentId.
func (s *Task) GetParentId() OptNilString {
return s.ParentId
}
// GetContent returns the value of Content.
func (s *Task) GetContent() OptString {
return s.Content
}
// GetDescription returns the value of Description.
func (s *Task) GetDescription() OptString {
return s.Description
}
// GetChecked returns the value of Checked.
func (s *Task) GetChecked() OptBool {
return s.Checked
}
// GetLabels returns the value of Labels.
func (s *Task) GetLabels() []string {
return s.Labels
}
// GetPriority returns the value of Priority.
func (s *Task) GetPriority() OptInt {
return s.Priority
}
// GetChildOrder returns the value of ChildOrder.
func (s *Task) GetChildOrder() OptInt {
return s.ChildOrder
}
// GetDue returns the value of Due.
func (s *Task) GetDue() OptNilDue {
return s.Due
}
// GetDuration returns the value of Duration.
func (s *Task) GetDuration() OptNilDuration {
return s.Duration
}
// GetNoteCount returns the value of NoteCount.
func (s *Task) GetNoteCount() OptInt {
return s.NoteCount
}
// GetURL returns the value of URL.
func (s *Task) GetURL() OptString {
return s.URL
}
// GetAddedAt returns the value of AddedAt.
func (s *Task) GetAddedAt() OptNilString {
return s.AddedAt
}
// GetCompletedAt returns the value of CompletedAt.
func (s *Task) GetCompletedAt() OptNilString {
return s.CompletedAt
}
// GetResponsibleUid returns the value of ResponsibleUid.
func (s *Task) GetResponsibleUid() OptNilString {
return s.ResponsibleUid
}
// SetID sets the value of ID.
func (s *Task) SetID(val OptString) {
s.ID = val
}
// SetProjectId sets the value of ProjectId.
func (s *Task) SetProjectId(val OptString) {
s.ProjectId = val
}
// SetSectionId sets the value of SectionId.
func (s *Task) SetSectionId(val OptNilString) {
s.SectionId = val
}
// SetParentId sets the value of ParentId.
func (s *Task) SetParentId(val OptNilString) {
s.ParentId = val
}
// SetContent sets the value of Content.
func (s *Task) SetContent(val OptString) {
s.Content = val
}
// SetDescription sets the value of Description.
func (s *Task) SetDescription(val OptString) {
s.Description = val
}
// SetChecked sets the value of Checked.
func (s *Task) SetChecked(val OptBool) {
s.Checked = val
}
// SetLabels sets the value of Labels.
func (s *Task) SetLabels(val []string) {
s.Labels = val
}
// SetPriority sets the value of Priority.
func (s *Task) SetPriority(val OptInt) {
s.Priority = val
}
// SetChildOrder sets the value of ChildOrder.
func (s *Task) SetChildOrder(val OptInt) {
s.ChildOrder = val
}
// SetDue sets the value of Due.
func (s *Task) SetDue(val OptNilDue) {
s.Due = val
}
// SetDuration sets the value of Duration.
func (s *Task) SetDuration(val OptNilDuration) {
s.Duration = val
}
// SetNoteCount sets the value of NoteCount.
func (s *Task) SetNoteCount(val OptInt) {
s.NoteCount = val
}
// SetURL sets the value of URL.
func (s *Task) SetURL(val OptString) {
s.URL = val
}
// SetAddedAt sets the value of AddedAt.
func (s *Task) SetAddedAt(val OptNilString) {
s.AddedAt = val
}
// SetCompletedAt sets the value of CompletedAt.
func (s *Task) SetCompletedAt(val OptNilString) {
s.CompletedAt = val
}
// SetResponsibleUid sets the value of ResponsibleUid.
func (s *Task) SetResponsibleUid(val OptNilString) {
s.ResponsibleUid = val
}
// Ref: #/components/schemas/TaskListResponse
type TaskListResponse struct {
Results []Task `json:"results"`
NextCursor OptNilString `json:"nextCursor"`
}
// GetResults returns the value of Results.
func (s *TaskListResponse) GetResults() []Task {
return s.Results
}
// GetNextCursor returns the value of NextCursor.
func (s *TaskListResponse) GetNextCursor() OptNilString {
return s.NextCursor
}
// SetResults sets the value of Results.
func (s *TaskListResponse) SetResults(val []Task) {
s.Results = val
}
// SetNextCursor sets the value of NextCursor.
func (s *TaskListResponse) SetNextCursor(val OptNilString) {
s.NextCursor = val
}
type UpdateCommentReq struct {
Content string `json:"content"`
}
// GetContent returns the value of Content.
func (s *UpdateCommentReq) GetContent() string {
return s.Content
}
// SetContent sets the value of Content.
func (s *UpdateCommentReq) SetContent(val string) {
s.Content = val
}
type UpdateTaskReq struct {
Content OptString `json:"content"`
Description OptString `json:"description"`
Priority OptInt `json:"priority"`
DueString OptString `json:"dueString"`
DueDate OptString `json:"dueDate"`
DueDatetime OptString `json:"dueDatetime"`
Labels []string `json:"labels"`
AssigneeId OptString `json:"assigneeId"`
}
// GetContent returns the value of Content.
func (s *UpdateTaskReq) GetContent() OptString {
return s.Content
}
// GetDescription returns the value of Description.
func (s *UpdateTaskReq) GetDescription() OptString {
return s.Description
}
// GetPriority returns the value of Priority.
func (s *UpdateTaskReq) GetPriority() OptInt {
return s.Priority
}
// GetDueString returns the value of DueString.
func (s *UpdateTaskReq) GetDueString() OptString {
return s.DueString
}
// GetDueDate returns the value of DueDate.
func (s *UpdateTaskReq) GetDueDate() OptString {
return s.DueDate
}
// GetDueDatetime returns the value of DueDatetime.
func (s *UpdateTaskReq) GetDueDatetime() OptString {
return s.DueDatetime
}
// GetLabels returns the value of Labels.
func (s *UpdateTaskReq) GetLabels() []string {
return s.Labels
}
// GetAssigneeId returns the value of AssigneeId.
func (s *UpdateTaskReq) GetAssigneeId() OptString {
return s.AssigneeId
}
// SetContent sets the value of Content.
func (s *UpdateTaskReq) SetContent(val OptString) {
s.Content = val
}
// SetDescription sets the value of Description.
func (s *UpdateTaskReq) SetDescription(val OptString) {
s.Description = val
}
// SetPriority sets the value of Priority.
func (s *UpdateTaskReq) SetPriority(val OptInt) {
s.Priority = val
}
// SetDueString sets the value of DueString.
func (s *UpdateTaskReq) SetDueString(val OptString) {
s.DueString = val
}
// SetDueDate sets the value of DueDate.
func (s *UpdateTaskReq) SetDueDate(val OptString) {
s.DueDate = val
}
// SetDueDatetime sets the value of DueDatetime.
func (s *UpdateTaskReq) SetDueDatetime(val OptString) {
s.DueDatetime = val
}
// SetLabels sets the value of Labels.
func (s *UpdateTaskReq) SetLabels(val []string) {
s.Labels = val
}
// SetAssigneeId sets the value of AssigneeId.
func (s *UpdateTaskReq) SetAssigneeId(val OptString) {
s.AssigneeId = val
}