Documentation ¶
Index ¶
- Constants
- type Collaborator
- type CollaboratorBuilder
- type Comment
- type CommentBuilder
- type CompleteTaskReq
- type CompleteTaskReqBuilder
- type CompleteTaskResp
- type CreateTaskCollaboratorReq
- type CreateTaskCollaboratorReqBuilder
- func (builder *CreateTaskCollaboratorReqBuilder) Build() *CreateTaskCollaboratorReq
- func (builder *CreateTaskCollaboratorReqBuilder) Collaborator(collaborator *Collaborator) *CreateTaskCollaboratorReqBuilder
- func (builder *CreateTaskCollaboratorReqBuilder) TaskId(taskId string) *CreateTaskCollaboratorReqBuilder
- func (builder *CreateTaskCollaboratorReqBuilder) UserIdType(userIdType string) *CreateTaskCollaboratorReqBuilder
- type CreateTaskCollaboratorResp
- type CreateTaskCollaboratorRespData
- type CreateTaskCommentReq
- type CreateTaskCommentReqBuilder
- type CreateTaskCommentResp
- type CreateTaskCommentRespData
- type CreateTaskFollowerReq
- type CreateTaskFollowerReqBuilder
- func (builder *CreateTaskFollowerReqBuilder) Build() *CreateTaskFollowerReq
- func (builder *CreateTaskFollowerReqBuilder) Follower(follower *Follower) *CreateTaskFollowerReqBuilder
- func (builder *CreateTaskFollowerReqBuilder) TaskId(taskId string) *CreateTaskFollowerReqBuilder
- func (builder *CreateTaskFollowerReqBuilder) UserIdType(userIdType string) *CreateTaskFollowerReqBuilder
- type CreateTaskFollowerResp
- type CreateTaskFollowerRespData
- type CreateTaskReminderReq
- type CreateTaskReminderReqBuilder
- type CreateTaskReminderResp
- type CreateTaskReminderRespData
- type CreateTaskReq
- type CreateTaskReqBuilder
- type CreateTaskResp
- type CreateTaskRespData
- type DeleteTaskCollaboratorReq
- type DeleteTaskCollaboratorReqBuilder
- func (builder *DeleteTaskCollaboratorReqBuilder) Build() *DeleteTaskCollaboratorReq
- func (builder *DeleteTaskCollaboratorReqBuilder) CollaboratorId(collaboratorId string) *DeleteTaskCollaboratorReqBuilder
- func (builder *DeleteTaskCollaboratorReqBuilder) TaskId(taskId string) *DeleteTaskCollaboratorReqBuilder
- type DeleteTaskCollaboratorResp
- type DeleteTaskCommentReq
- type DeleteTaskCommentReqBuilder
- type DeleteTaskCommentResp
- type DeleteTaskFollowerReq
- type DeleteTaskFollowerReqBuilder
- type DeleteTaskFollowerResp
- type DeleteTaskReminderReq
- type DeleteTaskReminderReqBuilder
- type DeleteTaskReminderResp
- type DeleteTaskReq
- type DeleteTaskReqBuilder
- type DeleteTaskResp
- type Due
- type DueBuilder
- type Follower
- type FollowerBuilder
- type GetTaskCommentReq
- type GetTaskCommentReqBuilder
- type GetTaskCommentResp
- type GetTaskCommentRespData
- type GetTaskReq
- type GetTaskReqBuilder
- type GetTaskResp
- type GetTaskRespData
- type Href
- type HrefBuilder
- type ListTaskCollaboratorIterator
- type ListTaskCollaboratorReq
- type ListTaskCollaboratorReqBuilder
- func (builder *ListTaskCollaboratorReqBuilder) Build() *ListTaskCollaboratorReq
- func (builder *ListTaskCollaboratorReqBuilder) Limit(limit int) *ListTaskCollaboratorReqBuilder
- func (builder *ListTaskCollaboratorReqBuilder) PageSize(pageSize int) *ListTaskCollaboratorReqBuilder
- func (builder *ListTaskCollaboratorReqBuilder) PageToken(pageToken string) *ListTaskCollaboratorReqBuilder
- func (builder *ListTaskCollaboratorReqBuilder) TaskId(taskId string) *ListTaskCollaboratorReqBuilder
- func (builder *ListTaskCollaboratorReqBuilder) UserIdType(userIdType string) *ListTaskCollaboratorReqBuilder
- type ListTaskCollaboratorResp
- type ListTaskCollaboratorRespData
- type ListTaskCommentIterator
- type ListTaskCommentReq
- type ListTaskCommentReqBuilder
- func (builder *ListTaskCommentReqBuilder) Build() *ListTaskCommentReq
- func (builder *ListTaskCommentReqBuilder) Limit(limit int) *ListTaskCommentReqBuilder
- func (builder *ListTaskCommentReqBuilder) ListDirection(listDirection int) *ListTaskCommentReqBuilder
- func (builder *ListTaskCommentReqBuilder) PageSize(pageSize int) *ListTaskCommentReqBuilder
- func (builder *ListTaskCommentReqBuilder) PageToken(pageToken string) *ListTaskCommentReqBuilder
- func (builder *ListTaskCommentReqBuilder) TaskId(taskId string) *ListTaskCommentReqBuilder
- type ListTaskCommentResp
- type ListTaskCommentRespData
- type ListTaskFollowerIterator
- type ListTaskFollowerReq
- type ListTaskFollowerReqBuilder
- func (builder *ListTaskFollowerReqBuilder) Build() *ListTaskFollowerReq
- func (builder *ListTaskFollowerReqBuilder) Limit(limit int) *ListTaskFollowerReqBuilder
- func (builder *ListTaskFollowerReqBuilder) PageSize(pageSize int) *ListTaskFollowerReqBuilder
- func (builder *ListTaskFollowerReqBuilder) PageToken(pageToken string) *ListTaskFollowerReqBuilder
- func (builder *ListTaskFollowerReqBuilder) TaskId(taskId string) *ListTaskFollowerReqBuilder
- func (builder *ListTaskFollowerReqBuilder) UserIdType(userIdType string) *ListTaskFollowerReqBuilder
- type ListTaskFollowerResp
- type ListTaskFollowerRespData
- type ListTaskIterator
- type ListTaskReminderIterator
- type ListTaskReminderReq
- type ListTaskReminderReqBuilder
- func (builder *ListTaskReminderReqBuilder) Build() *ListTaskReminderReq
- func (builder *ListTaskReminderReqBuilder) Limit(limit int) *ListTaskReminderReqBuilder
- func (builder *ListTaskReminderReqBuilder) PageSize(pageSize int) *ListTaskReminderReqBuilder
- func (builder *ListTaskReminderReqBuilder) PageToken(pageToken string) *ListTaskReminderReqBuilder
- func (builder *ListTaskReminderReqBuilder) TaskId(taskId string) *ListTaskReminderReqBuilder
- type ListTaskReminderResp
- type ListTaskReminderRespData
- type ListTaskReq
- type ListTaskReqBuilder
- func (builder *ListTaskReqBuilder) Build() *ListTaskReq
- func (builder *ListTaskReqBuilder) EndCreateTime(endCreateTime string) *ListTaskReqBuilder
- func (builder *ListTaskReqBuilder) Limit(limit int) *ListTaskReqBuilder
- func (builder *ListTaskReqBuilder) PageSize(pageSize int) *ListTaskReqBuilder
- func (builder *ListTaskReqBuilder) PageToken(pageToken string) *ListTaskReqBuilder
- func (builder *ListTaskReqBuilder) StartCreateTime(startCreateTime string) *ListTaskReqBuilder
- func (builder *ListTaskReqBuilder) TaskCompleted(taskCompleted bool) *ListTaskReqBuilder
- func (builder *ListTaskReqBuilder) UserIdType(userIdType string) *ListTaskReqBuilder
- type ListTaskResp
- type ListTaskRespData
- type Origin
- type OriginBuilder
- type P2TaskCommentUpdatedV1
- type P2TaskCommentUpdatedV1Data
- type P2TaskCommentUpdatedV1Handler
- type P2TaskUpdateTenantV1
- type P2TaskUpdateTenantV1Data
- type P2TaskUpdateTenantV1Handler
- type P2TaskUpdatedV1
- type P2TaskUpdatedV1Data
- type P2TaskUpdatedV1Handler
- type PatchTaskPathReqBodyBuilder
- type PatchTaskReq
- type PatchTaskReqBody
- type PatchTaskReqBodyBuilder
- type PatchTaskReqBuilder
- func (builder *PatchTaskReqBuilder) Body(body *PatchTaskReqBody) *PatchTaskReqBuilder
- func (builder *PatchTaskReqBuilder) Build() *PatchTaskReq
- func (builder *PatchTaskReqBuilder) TaskId(taskId string) *PatchTaskReqBuilder
- func (builder *PatchTaskReqBuilder) UserIdType(userIdType string) *PatchTaskReqBuilder
- type PatchTaskResp
- type PatchTaskRespData
- type Reminder
- type ReminderBuilder
- type Task
- type TaskBuilder
- func (builder *TaskBuilder) Build() *Task
- func (builder *TaskBuilder) CanEdit(canEdit bool) *TaskBuilder
- func (builder *TaskBuilder) Collaborators(collaborators []*Collaborator) *TaskBuilder
- func (builder *TaskBuilder) CompleteTime(completeTime string) *TaskBuilder
- func (builder *TaskBuilder) CreateTime(createTime string) *TaskBuilder
- func (builder *TaskBuilder) CreatorId(creatorId string) *TaskBuilder
- func (builder *TaskBuilder) Custom(custom string) *TaskBuilder
- func (builder *TaskBuilder) Description(description string) *TaskBuilder
- func (builder *TaskBuilder) Due(due *Due) *TaskBuilder
- func (builder *TaskBuilder) Extra(extra string) *TaskBuilder
- func (builder *TaskBuilder) Followers(followers []*Follower) *TaskBuilder
- func (builder *TaskBuilder) Id(id string) *TaskBuilder
- func (builder *TaskBuilder) Origin(origin *Origin) *TaskBuilder
- func (builder *TaskBuilder) Source(source int) *TaskBuilder
- func (builder *TaskBuilder) Summary(summary string) *TaskBuilder
- func (builder *TaskBuilder) UpdateTime(updateTime string) *TaskBuilder
- type TaskService
- type UncompleteTaskReq
- type UncompleteTaskReqBuilder
- type UncompleteTaskResp
- type UpdateTaskCommentPathReqBodyBuilder
- type UpdateTaskCommentReq
- type UpdateTaskCommentReqBody
- type UpdateTaskCommentReqBodyBuilder
- type UpdateTaskCommentReqBuilder
- func (builder *UpdateTaskCommentReqBuilder) Body(body *UpdateTaskCommentReqBody) *UpdateTaskCommentReqBuilder
- func (builder *UpdateTaskCommentReqBuilder) Build() *UpdateTaskCommentReq
- func (builder *UpdateTaskCommentReqBuilder) CommentId(commentId string) *UpdateTaskCommentReqBuilder
- func (builder *UpdateTaskCommentReqBuilder) TaskId(taskId string) *UpdateTaskCommentReqBuilder
- type UpdateTaskCommentResp
- type UpdateTaskCommentRespData
- type UserId
- type UserIdBuilder
- type UserIdList
- type UserIdListBuilder
Constants ¶
const ( UserIdTypeUserId = "user_id" UserIdTypeUnionId = "union_id" UserIdTypeOpenId = "open_id" )
const ( ListDirectionDown = 0 ListDirectionUp = 1 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collaborator ¶
type Collaborator struct {
Id *string `json:"id,omitempty"`
}
type CollaboratorBuilder ¶
type CollaboratorBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewCollaboratorBuilder ¶
func NewCollaboratorBuilder() *CollaboratorBuilder
func (*CollaboratorBuilder) Build ¶
func (builder *CollaboratorBuilder) Build() *Collaborator
func (*CollaboratorBuilder) Id ¶
func (builder *CollaboratorBuilder) Id(id string) *CollaboratorBuilder
type CommentBuilder ¶
type CommentBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewCommentBuilder ¶
func NewCommentBuilder() *CommentBuilder
func (*CommentBuilder) Build ¶
func (builder *CommentBuilder) Build() *Comment
func (*CommentBuilder) Content ¶
func (builder *CommentBuilder) Content(content string) *CommentBuilder
func (*CommentBuilder) Id ¶
func (builder *CommentBuilder) Id(id string) *CommentBuilder
func (*CommentBuilder) ParentId ¶
func (builder *CommentBuilder) ParentId(parentId string) *CommentBuilder
type CompleteTaskReq ¶
type CompleteTaskReq struct {
// contains filtered or unexported fields
}
type CompleteTaskReqBuilder ¶
type CompleteTaskReqBuilder struct {
// contains filtered or unexported fields
}
1.4 生成请求的builder结构体
func NewCompleteTaskReqBuilder ¶
func NewCompleteTaskReqBuilder() *CompleteTaskReqBuilder
生成请求的New构造器
func (*CompleteTaskReqBuilder) Build ¶
func (builder *CompleteTaskReqBuilder) Build() *CompleteTaskReq
1.5 生成请求的builder的build方法
func (*CompleteTaskReqBuilder) TaskId ¶
func (builder *CompleteTaskReqBuilder) TaskId(taskId string) *CompleteTaskReqBuilder
1.5 生成请求的builder属性方法
type CompleteTaskResp ¶
type CompleteTaskResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*CompleteTaskResp) Success ¶
func (resp *CompleteTaskResp) Success() bool
type CreateTaskCollaboratorReq ¶
type CreateTaskCollaboratorReq struct { Collaborator *Collaborator `body:""` // contains filtered or unexported fields }
type CreateTaskCollaboratorReqBuilder ¶
type CreateTaskCollaboratorReqBuilder struct {
// contains filtered or unexported fields
}
1.4 生成请求的builder结构体
func NewCreateTaskCollaboratorReqBuilder ¶
func NewCreateTaskCollaboratorReqBuilder() *CreateTaskCollaboratorReqBuilder
生成请求的New构造器
func (*CreateTaskCollaboratorReqBuilder) Build ¶
func (builder *CreateTaskCollaboratorReqBuilder) Build() *CreateTaskCollaboratorReq
1.5 生成请求的builder的build方法
func (*CreateTaskCollaboratorReqBuilder) Collaborator ¶
func (builder *CreateTaskCollaboratorReqBuilder) Collaborator(collaborator *Collaborator) *CreateTaskCollaboratorReqBuilder
func (*CreateTaskCollaboratorReqBuilder) TaskId ¶
func (builder *CreateTaskCollaboratorReqBuilder) TaskId(taskId string) *CreateTaskCollaboratorReqBuilder
1.5 生成请求的builder属性方法
func (*CreateTaskCollaboratorReqBuilder) UserIdType ¶
func (builder *CreateTaskCollaboratorReqBuilder) UserIdType(userIdType string) *CreateTaskCollaboratorReqBuilder
type CreateTaskCollaboratorResp ¶
type CreateTaskCollaboratorResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *CreateTaskCollaboratorRespData `json:"data"` }
func (*CreateTaskCollaboratorResp) Success ¶
func (resp *CreateTaskCollaboratorResp) Success() bool
type CreateTaskCollaboratorRespData ¶
type CreateTaskCollaboratorRespData struct {
Collaborator *Collaborator `json:"collaborator,omitempty"`
}
type CreateTaskCommentReq ¶
type CreateTaskCommentReq struct { Comment *Comment `body:""` // contains filtered or unexported fields }
type CreateTaskCommentReqBuilder ¶
type CreateTaskCommentReqBuilder struct {
// contains filtered or unexported fields
}
1.4 生成请求的builder结构体
func NewCreateTaskCommentReqBuilder ¶
func NewCreateTaskCommentReqBuilder() *CreateTaskCommentReqBuilder
生成请求的New构造器
func (*CreateTaskCommentReqBuilder) Build ¶
func (builder *CreateTaskCommentReqBuilder) Build() *CreateTaskCommentReq
1.5 生成请求的builder的build方法
func (*CreateTaskCommentReqBuilder) Comment ¶
func (builder *CreateTaskCommentReqBuilder) Comment(comment *Comment) *CreateTaskCommentReqBuilder
func (*CreateTaskCommentReqBuilder) TaskId ¶
func (builder *CreateTaskCommentReqBuilder) TaskId(taskId string) *CreateTaskCommentReqBuilder
1.5 生成请求的builder属性方法
type CreateTaskCommentResp ¶
type CreateTaskCommentResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *CreateTaskCommentRespData `json:"data"` }
func (*CreateTaskCommentResp) Success ¶
func (resp *CreateTaskCommentResp) Success() bool
type CreateTaskCommentRespData ¶
type CreateTaskCommentRespData struct {
Comment *Comment `json:"comment,omitempty"`
}
type CreateTaskFollowerReq ¶
type CreateTaskFollowerReq struct { Follower *Follower `body:""` // contains filtered or unexported fields }
type CreateTaskFollowerReqBuilder ¶
type CreateTaskFollowerReqBuilder struct {
// contains filtered or unexported fields
}
1.4 生成请求的builder结构体
func NewCreateTaskFollowerReqBuilder ¶
func NewCreateTaskFollowerReqBuilder() *CreateTaskFollowerReqBuilder
生成请求的New构造器
func (*CreateTaskFollowerReqBuilder) Build ¶
func (builder *CreateTaskFollowerReqBuilder) Build() *CreateTaskFollowerReq
1.5 生成请求的builder的build方法
func (*CreateTaskFollowerReqBuilder) Follower ¶
func (builder *CreateTaskFollowerReqBuilder) Follower(follower *Follower) *CreateTaskFollowerReqBuilder
func (*CreateTaskFollowerReqBuilder) TaskId ¶
func (builder *CreateTaskFollowerReqBuilder) TaskId(taskId string) *CreateTaskFollowerReqBuilder
1.5 生成请求的builder属性方法
func (*CreateTaskFollowerReqBuilder) UserIdType ¶
func (builder *CreateTaskFollowerReqBuilder) UserIdType(userIdType string) *CreateTaskFollowerReqBuilder
type CreateTaskFollowerResp ¶
type CreateTaskFollowerResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *CreateTaskFollowerRespData `json:"data"` }
func (*CreateTaskFollowerResp) Success ¶
func (resp *CreateTaskFollowerResp) Success() bool
type CreateTaskFollowerRespData ¶
type CreateTaskFollowerRespData struct {
Follower *Follower `json:"follower,omitempty"`
}
type CreateTaskReminderReq ¶
type CreateTaskReminderReq struct { Reminder *Reminder `body:""` // contains filtered or unexported fields }
type CreateTaskReminderReqBuilder ¶
type CreateTaskReminderReqBuilder struct {
// contains filtered or unexported fields
}
1.4 生成请求的builder结构体
func NewCreateTaskReminderReqBuilder ¶
func NewCreateTaskReminderReqBuilder() *CreateTaskReminderReqBuilder
生成请求的New构造器
func (*CreateTaskReminderReqBuilder) Build ¶
func (builder *CreateTaskReminderReqBuilder) Build() *CreateTaskReminderReq
1.5 生成请求的builder的build方法
func (*CreateTaskReminderReqBuilder) Reminder ¶
func (builder *CreateTaskReminderReqBuilder) Reminder(reminder *Reminder) *CreateTaskReminderReqBuilder
func (*CreateTaskReminderReqBuilder) TaskId ¶
func (builder *CreateTaskReminderReqBuilder) TaskId(taskId string) *CreateTaskReminderReqBuilder
1.5 生成请求的builder属性方法
type CreateTaskReminderResp ¶
type CreateTaskReminderResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *CreateTaskReminderRespData `json:"data"` }
func (*CreateTaskReminderResp) Success ¶
func (resp *CreateTaskReminderResp) Success() bool
type CreateTaskReminderRespData ¶
type CreateTaskReminderRespData struct {
Reminder *Reminder `json:"reminder,omitempty"`
}
type CreateTaskReq ¶
type CreateTaskReq struct { Task *Task `body:""` // contains filtered or unexported fields }
type CreateTaskReqBuilder ¶
type CreateTaskReqBuilder struct {
// contains filtered or unexported fields
}
1.4 生成请求的builder结构体
func (*CreateTaskReqBuilder) Build ¶
func (builder *CreateTaskReqBuilder) Build() *CreateTaskReq
1.5 生成请求的builder的build方法
func (*CreateTaskReqBuilder) Task ¶
func (builder *CreateTaskReqBuilder) Task(task *Task) *CreateTaskReqBuilder
func (*CreateTaskReqBuilder) UserIdType ¶
func (builder *CreateTaskReqBuilder) UserIdType(userIdType string) *CreateTaskReqBuilder
1.5 生成请求的builder属性方法
type CreateTaskResp ¶
type CreateTaskResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *CreateTaskRespData `json:"data"` }
func (*CreateTaskResp) Success ¶
func (resp *CreateTaskResp) Success() bool
type CreateTaskRespData ¶
type CreateTaskRespData struct {
Task *Task `json:"task,omitempty"`
}
type DeleteTaskCollaboratorReq ¶
type DeleteTaskCollaboratorReq struct {
// contains filtered or unexported fields
}
type DeleteTaskCollaboratorReqBuilder ¶
type DeleteTaskCollaboratorReqBuilder struct {
// contains filtered or unexported fields
}
1.4 生成请求的builder结构体
func NewDeleteTaskCollaboratorReqBuilder ¶
func NewDeleteTaskCollaboratorReqBuilder() *DeleteTaskCollaboratorReqBuilder
生成请求的New构造器
func (*DeleteTaskCollaboratorReqBuilder) Build ¶
func (builder *DeleteTaskCollaboratorReqBuilder) Build() *DeleteTaskCollaboratorReq
1.5 生成请求的builder的build方法
func (*DeleteTaskCollaboratorReqBuilder) CollaboratorId ¶
func (builder *DeleteTaskCollaboratorReqBuilder) CollaboratorId(collaboratorId string) *DeleteTaskCollaboratorReqBuilder
func (*DeleteTaskCollaboratorReqBuilder) TaskId ¶
func (builder *DeleteTaskCollaboratorReqBuilder) TaskId(taskId string) *DeleteTaskCollaboratorReqBuilder
1.5 生成请求的builder属性方法
type DeleteTaskCollaboratorResp ¶
type DeleteTaskCollaboratorResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*DeleteTaskCollaboratorResp) Success ¶
func (resp *DeleteTaskCollaboratorResp) Success() bool
type DeleteTaskCommentReq ¶
type DeleteTaskCommentReq struct {
// contains filtered or unexported fields
}
type DeleteTaskCommentReqBuilder ¶
type DeleteTaskCommentReqBuilder struct {
// contains filtered or unexported fields
}
1.4 生成请求的builder结构体
func NewDeleteTaskCommentReqBuilder ¶
func NewDeleteTaskCommentReqBuilder() *DeleteTaskCommentReqBuilder
生成请求的New构造器
func (*DeleteTaskCommentReqBuilder) Build ¶
func (builder *DeleteTaskCommentReqBuilder) Build() *DeleteTaskCommentReq
1.5 生成请求的builder的build方法
func (*DeleteTaskCommentReqBuilder) CommentId ¶
func (builder *DeleteTaskCommentReqBuilder) CommentId(commentId string) *DeleteTaskCommentReqBuilder
func (*DeleteTaskCommentReqBuilder) TaskId ¶
func (builder *DeleteTaskCommentReqBuilder) TaskId(taskId string) *DeleteTaskCommentReqBuilder
1.5 生成请求的builder属性方法
type DeleteTaskCommentResp ¶
type DeleteTaskCommentResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*DeleteTaskCommentResp) Success ¶
func (resp *DeleteTaskCommentResp) Success() bool
type DeleteTaskFollowerReq ¶
type DeleteTaskFollowerReq struct {
// contains filtered or unexported fields
}
type DeleteTaskFollowerReqBuilder ¶
type DeleteTaskFollowerReqBuilder struct {
// contains filtered or unexported fields
}
1.4 生成请求的builder结构体
func NewDeleteTaskFollowerReqBuilder ¶
func NewDeleteTaskFollowerReqBuilder() *DeleteTaskFollowerReqBuilder
生成请求的New构造器
func (*DeleteTaskFollowerReqBuilder) Build ¶
func (builder *DeleteTaskFollowerReqBuilder) Build() *DeleteTaskFollowerReq
1.5 生成请求的builder的build方法
func (*DeleteTaskFollowerReqBuilder) FollowerId ¶
func (builder *DeleteTaskFollowerReqBuilder) FollowerId(followerId string) *DeleteTaskFollowerReqBuilder
func (*DeleteTaskFollowerReqBuilder) TaskId ¶
func (builder *DeleteTaskFollowerReqBuilder) TaskId(taskId string) *DeleteTaskFollowerReqBuilder
1.5 生成请求的builder属性方法
type DeleteTaskFollowerResp ¶
type DeleteTaskFollowerResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*DeleteTaskFollowerResp) Success ¶
func (resp *DeleteTaskFollowerResp) Success() bool
type DeleteTaskReminderReq ¶
type DeleteTaskReminderReq struct {
// contains filtered or unexported fields
}
type DeleteTaskReminderReqBuilder ¶
type DeleteTaskReminderReqBuilder struct {
// contains filtered or unexported fields
}
1.4 生成请求的builder结构体
func NewDeleteTaskReminderReqBuilder ¶
func NewDeleteTaskReminderReqBuilder() *DeleteTaskReminderReqBuilder
生成请求的New构造器
func (*DeleteTaskReminderReqBuilder) Build ¶
func (builder *DeleteTaskReminderReqBuilder) Build() *DeleteTaskReminderReq
1.5 生成请求的builder的build方法
func (*DeleteTaskReminderReqBuilder) ReminderId ¶
func (builder *DeleteTaskReminderReqBuilder) ReminderId(reminderId string) *DeleteTaskReminderReqBuilder
func (*DeleteTaskReminderReqBuilder) TaskId ¶
func (builder *DeleteTaskReminderReqBuilder) TaskId(taskId string) *DeleteTaskReminderReqBuilder
1.5 生成请求的builder属性方法
type DeleteTaskReminderResp ¶
type DeleteTaskReminderResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*DeleteTaskReminderResp) Success ¶
func (resp *DeleteTaskReminderResp) Success() bool
type DeleteTaskReq ¶
type DeleteTaskReq struct {
// contains filtered or unexported fields
}
type DeleteTaskReqBuilder ¶
type DeleteTaskReqBuilder struct {
// contains filtered or unexported fields
}
1.4 生成请求的builder结构体
func (*DeleteTaskReqBuilder) Build ¶
func (builder *DeleteTaskReqBuilder) Build() *DeleteTaskReq
1.5 生成请求的builder的build方法
func (*DeleteTaskReqBuilder) TaskId ¶
func (builder *DeleteTaskReqBuilder) TaskId(taskId string) *DeleteTaskReqBuilder
1.5 生成请求的builder属性方法
type DeleteTaskResp ¶
type DeleteTaskResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*DeleteTaskResp) Success ¶
func (resp *DeleteTaskResp) Success() bool
type DueBuilder ¶
type DueBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewDueBuilder ¶
func NewDueBuilder() *DueBuilder
func (*DueBuilder) Build ¶
func (builder *DueBuilder) Build() *Due
func (*DueBuilder) IsAllDay ¶
func (builder *DueBuilder) IsAllDay(isAllDay bool) *DueBuilder
func (*DueBuilder) Time ¶
func (builder *DueBuilder) Time(time string) *DueBuilder
func (*DueBuilder) Timezone ¶
func (builder *DueBuilder) Timezone(timezone string) *DueBuilder
type FollowerBuilder ¶
type FollowerBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewFollowerBuilder ¶
func NewFollowerBuilder() *FollowerBuilder
func (*FollowerBuilder) Build ¶
func (builder *FollowerBuilder) Build() *Follower
func (*FollowerBuilder) Id ¶
func (builder *FollowerBuilder) Id(id string) *FollowerBuilder
type GetTaskCommentReq ¶
type GetTaskCommentReq struct {
// contains filtered or unexported fields
}
type GetTaskCommentReqBuilder ¶
type GetTaskCommentReqBuilder struct {
// contains filtered or unexported fields
}
1.4 生成请求的builder结构体
func NewGetTaskCommentReqBuilder ¶
func NewGetTaskCommentReqBuilder() *GetTaskCommentReqBuilder
生成请求的New构造器
func (*GetTaskCommentReqBuilder) Build ¶
func (builder *GetTaskCommentReqBuilder) Build() *GetTaskCommentReq
1.5 生成请求的builder的build方法
func (*GetTaskCommentReqBuilder) CommentId ¶
func (builder *GetTaskCommentReqBuilder) CommentId(commentId string) *GetTaskCommentReqBuilder
func (*GetTaskCommentReqBuilder) TaskId ¶
func (builder *GetTaskCommentReqBuilder) TaskId(taskId string) *GetTaskCommentReqBuilder
1.5 生成请求的builder属性方法
type GetTaskCommentResp ¶
type GetTaskCommentResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *GetTaskCommentRespData `json:"data"` }
func (*GetTaskCommentResp) Success ¶
func (resp *GetTaskCommentResp) Success() bool
type GetTaskCommentRespData ¶
type GetTaskCommentRespData struct {
Comment *Comment `json:"comment,omitempty"`
}
type GetTaskReq ¶
type GetTaskReq struct {
// contains filtered or unexported fields
}
type GetTaskReqBuilder ¶
type GetTaskReqBuilder struct {
// contains filtered or unexported fields
}
1.4 生成请求的builder结构体
func (*GetTaskReqBuilder) Build ¶
func (builder *GetTaskReqBuilder) Build() *GetTaskReq
1.5 生成请求的builder的build方法
func (*GetTaskReqBuilder) TaskId ¶
func (builder *GetTaskReqBuilder) TaskId(taskId string) *GetTaskReqBuilder
1.5 生成请求的builder属性方法
func (*GetTaskReqBuilder) UserIdType ¶
func (builder *GetTaskReqBuilder) UserIdType(userIdType string) *GetTaskReqBuilder
type GetTaskResp ¶
type GetTaskResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *GetTaskRespData `json:"data"` }
func (*GetTaskResp) Success ¶
func (resp *GetTaskResp) Success() bool
type GetTaskRespData ¶
type GetTaskRespData struct {
Task *Task `json:"task,omitempty"`
}
type HrefBuilder ¶
type HrefBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewHrefBuilder ¶
func NewHrefBuilder() *HrefBuilder
func (*HrefBuilder) Build ¶
func (builder *HrefBuilder) Build() *Href
func (*HrefBuilder) Title ¶
func (builder *HrefBuilder) Title(title string) *HrefBuilder
func (*HrefBuilder) Url ¶
func (builder *HrefBuilder) Url(url string) *HrefBuilder
type ListTaskCollaboratorIterator ¶
type ListTaskCollaboratorIterator struct {
// contains filtered or unexported fields
}
func (*ListTaskCollaboratorIterator) Next ¶
func (iterator *ListTaskCollaboratorIterator) Next() (bool, *Collaborator, error)
func (*ListTaskCollaboratorIterator) NextPageToken ¶
func (iterator *ListTaskCollaboratorIterator) NextPageToken() *string
type ListTaskCollaboratorReq ¶
type ListTaskCollaboratorReq struct { Limit int // contains filtered or unexported fields }
type ListTaskCollaboratorReqBuilder ¶
type ListTaskCollaboratorReqBuilder struct {
// contains filtered or unexported fields
}
1.4 生成请求的builder结构体
func NewListTaskCollaboratorReqBuilder ¶
func NewListTaskCollaboratorReqBuilder() *ListTaskCollaboratorReqBuilder
生成请求的New构造器
func (*ListTaskCollaboratorReqBuilder) Build ¶
func (builder *ListTaskCollaboratorReqBuilder) Build() *ListTaskCollaboratorReq
1.5 生成请求的builder的build方法
func (*ListTaskCollaboratorReqBuilder) Limit ¶
func (builder *ListTaskCollaboratorReqBuilder) Limit(limit int) *ListTaskCollaboratorReqBuilder
1.5 生成请求的builder属性方法
func (*ListTaskCollaboratorReqBuilder) PageSize ¶
func (builder *ListTaskCollaboratorReqBuilder) PageSize(pageSize int) *ListTaskCollaboratorReqBuilder
func (*ListTaskCollaboratorReqBuilder) PageToken ¶
func (builder *ListTaskCollaboratorReqBuilder) PageToken(pageToken string) *ListTaskCollaboratorReqBuilder
func (*ListTaskCollaboratorReqBuilder) TaskId ¶
func (builder *ListTaskCollaboratorReqBuilder) TaskId(taskId string) *ListTaskCollaboratorReqBuilder
func (*ListTaskCollaboratorReqBuilder) UserIdType ¶
func (builder *ListTaskCollaboratorReqBuilder) UserIdType(userIdType string) *ListTaskCollaboratorReqBuilder
type ListTaskCollaboratorResp ¶
type ListTaskCollaboratorResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *ListTaskCollaboratorRespData `json:"data"` }
func (*ListTaskCollaboratorResp) Success ¶
func (resp *ListTaskCollaboratorResp) Success() bool
type ListTaskCollaboratorRespData ¶
type ListTaskCollaboratorRespData struct { Items []*Collaborator `json:"items,omitempty"` PageToken *string `json:"page_token,omitempty"` HasMore *bool `json:"has_more,omitempty"` }
type ListTaskCommentIterator ¶
type ListTaskCommentIterator struct {
// contains filtered or unexported fields
}
func (*ListTaskCommentIterator) Next ¶
func (iterator *ListTaskCommentIterator) Next() (bool, *Comment, error)
func (*ListTaskCommentIterator) NextPageToken ¶
func (iterator *ListTaskCommentIterator) NextPageToken() *string
type ListTaskCommentReq ¶
type ListTaskCommentReq struct { Limit int // contains filtered or unexported fields }
type ListTaskCommentReqBuilder ¶
type ListTaskCommentReqBuilder struct {
// contains filtered or unexported fields
}
1.4 生成请求的builder结构体
func NewListTaskCommentReqBuilder ¶
func NewListTaskCommentReqBuilder() *ListTaskCommentReqBuilder
生成请求的New构造器
func (*ListTaskCommentReqBuilder) Build ¶
func (builder *ListTaskCommentReqBuilder) Build() *ListTaskCommentReq
1.5 生成请求的builder的build方法
func (*ListTaskCommentReqBuilder) Limit ¶
func (builder *ListTaskCommentReqBuilder) Limit(limit int) *ListTaskCommentReqBuilder
1.5 生成请求的builder属性方法
func (*ListTaskCommentReqBuilder) ListDirection ¶
func (builder *ListTaskCommentReqBuilder) ListDirection(listDirection int) *ListTaskCommentReqBuilder
func (*ListTaskCommentReqBuilder) PageSize ¶
func (builder *ListTaskCommentReqBuilder) PageSize(pageSize int) *ListTaskCommentReqBuilder
func (*ListTaskCommentReqBuilder) PageToken ¶
func (builder *ListTaskCommentReqBuilder) PageToken(pageToken string) *ListTaskCommentReqBuilder
func (*ListTaskCommentReqBuilder) TaskId ¶
func (builder *ListTaskCommentReqBuilder) TaskId(taskId string) *ListTaskCommentReqBuilder
type ListTaskCommentResp ¶
type ListTaskCommentResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *ListTaskCommentRespData `json:"data"` }
func (*ListTaskCommentResp) Success ¶
func (resp *ListTaskCommentResp) Success() bool
type ListTaskCommentRespData ¶
type ListTaskFollowerIterator ¶
type ListTaskFollowerIterator struct {
// contains filtered or unexported fields
}
func (*ListTaskFollowerIterator) Next ¶
func (iterator *ListTaskFollowerIterator) Next() (bool, *Follower, error)
func (*ListTaskFollowerIterator) NextPageToken ¶
func (iterator *ListTaskFollowerIterator) NextPageToken() *string
type ListTaskFollowerReq ¶
type ListTaskFollowerReq struct { Limit int // contains filtered or unexported fields }
type ListTaskFollowerReqBuilder ¶
type ListTaskFollowerReqBuilder struct {
// contains filtered or unexported fields
}
1.4 生成请求的builder结构体
func NewListTaskFollowerReqBuilder ¶
func NewListTaskFollowerReqBuilder() *ListTaskFollowerReqBuilder
生成请求的New构造器
func (*ListTaskFollowerReqBuilder) Build ¶
func (builder *ListTaskFollowerReqBuilder) Build() *ListTaskFollowerReq
1.5 生成请求的builder的build方法
func (*ListTaskFollowerReqBuilder) Limit ¶
func (builder *ListTaskFollowerReqBuilder) Limit(limit int) *ListTaskFollowerReqBuilder
1.5 生成请求的builder属性方法
func (*ListTaskFollowerReqBuilder) PageSize ¶
func (builder *ListTaskFollowerReqBuilder) PageSize(pageSize int) *ListTaskFollowerReqBuilder
func (*ListTaskFollowerReqBuilder) PageToken ¶
func (builder *ListTaskFollowerReqBuilder) PageToken(pageToken string) *ListTaskFollowerReqBuilder
func (*ListTaskFollowerReqBuilder) TaskId ¶
func (builder *ListTaskFollowerReqBuilder) TaskId(taskId string) *ListTaskFollowerReqBuilder
func (*ListTaskFollowerReqBuilder) UserIdType ¶
func (builder *ListTaskFollowerReqBuilder) UserIdType(userIdType string) *ListTaskFollowerReqBuilder
type ListTaskFollowerResp ¶
type ListTaskFollowerResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *ListTaskFollowerRespData `json:"data"` }
func (*ListTaskFollowerResp) Success ¶
func (resp *ListTaskFollowerResp) Success() bool
type ListTaskIterator ¶
type ListTaskIterator struct {
// contains filtered or unexported fields
}
生成请求的builder构造器 1.1 生成body的builder结构体
func (*ListTaskIterator) NextPageToken ¶
func (iterator *ListTaskIterator) NextPageToken() *string
type ListTaskReminderIterator ¶
type ListTaskReminderIterator struct {
// contains filtered or unexported fields
}
func (*ListTaskReminderIterator) Next ¶
func (iterator *ListTaskReminderIterator) Next() (bool, *Reminder, error)
func (*ListTaskReminderIterator) NextPageToken ¶
func (iterator *ListTaskReminderIterator) NextPageToken() *string
type ListTaskReminderReq ¶
type ListTaskReminderReq struct { Limit int // contains filtered or unexported fields }
type ListTaskReminderReqBuilder ¶
type ListTaskReminderReqBuilder struct {
// contains filtered or unexported fields
}
1.4 生成请求的builder结构体
func NewListTaskReminderReqBuilder ¶
func NewListTaskReminderReqBuilder() *ListTaskReminderReqBuilder
生成请求的New构造器
func (*ListTaskReminderReqBuilder) Build ¶
func (builder *ListTaskReminderReqBuilder) Build() *ListTaskReminderReq
1.5 生成请求的builder的build方法
func (*ListTaskReminderReqBuilder) Limit ¶
func (builder *ListTaskReminderReqBuilder) Limit(limit int) *ListTaskReminderReqBuilder
1.5 生成请求的builder属性方法
func (*ListTaskReminderReqBuilder) PageSize ¶
func (builder *ListTaskReminderReqBuilder) PageSize(pageSize int) *ListTaskReminderReqBuilder
func (*ListTaskReminderReqBuilder) PageToken ¶
func (builder *ListTaskReminderReqBuilder) PageToken(pageToken string) *ListTaskReminderReqBuilder
func (*ListTaskReminderReqBuilder) TaskId ¶
func (builder *ListTaskReminderReqBuilder) TaskId(taskId string) *ListTaskReminderReqBuilder
type ListTaskReminderResp ¶
type ListTaskReminderResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *ListTaskReminderRespData `json:"data"` }
func (*ListTaskReminderResp) Success ¶
func (resp *ListTaskReminderResp) Success() bool
type ListTaskReq ¶
type ListTaskReq struct { Limit int // contains filtered or unexported fields }
type ListTaskReqBuilder ¶
type ListTaskReqBuilder struct {
// contains filtered or unexported fields
}
1.4 生成请求的builder结构体
func (*ListTaskReqBuilder) Build ¶
func (builder *ListTaskReqBuilder) Build() *ListTaskReq
1.5 生成请求的builder的build方法
func (*ListTaskReqBuilder) EndCreateTime ¶
func (builder *ListTaskReqBuilder) EndCreateTime(endCreateTime string) *ListTaskReqBuilder
func (*ListTaskReqBuilder) Limit ¶
func (builder *ListTaskReqBuilder) Limit(limit int) *ListTaskReqBuilder
1.5 生成请求的builder属性方法
func (*ListTaskReqBuilder) PageSize ¶
func (builder *ListTaskReqBuilder) PageSize(pageSize int) *ListTaskReqBuilder
func (*ListTaskReqBuilder) PageToken ¶
func (builder *ListTaskReqBuilder) PageToken(pageToken string) *ListTaskReqBuilder
func (*ListTaskReqBuilder) StartCreateTime ¶
func (builder *ListTaskReqBuilder) StartCreateTime(startCreateTime string) *ListTaskReqBuilder
func (*ListTaskReqBuilder) TaskCompleted ¶
func (builder *ListTaskReqBuilder) TaskCompleted(taskCompleted bool) *ListTaskReqBuilder
func (*ListTaskReqBuilder) UserIdType ¶
func (builder *ListTaskReqBuilder) UserIdType(userIdType string) *ListTaskReqBuilder
type ListTaskResp ¶
type ListTaskResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *ListTaskRespData `json:"data"` }
func (*ListTaskResp) Success ¶
func (resp *ListTaskResp) Success() bool
type ListTaskRespData ¶
type OriginBuilder ¶
type OriginBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewOriginBuilder ¶
func NewOriginBuilder() *OriginBuilder
func (*OriginBuilder) Build ¶
func (builder *OriginBuilder) Build() *Origin
func (*OriginBuilder) Href ¶
func (builder *OriginBuilder) Href(href *Href) *OriginBuilder
func (*OriginBuilder) PlatformI18nName ¶
func (builder *OriginBuilder) PlatformI18nName(platformI18nName string) *OriginBuilder
type P2TaskCommentUpdatedV1 ¶
type P2TaskCommentUpdatedV1 struct { *larkevent.EventV2Base *larkevent.EventReq Event *P2TaskCommentUpdatedV1Data `json:"event"` }
func (*P2TaskCommentUpdatedV1) RawReq ¶
func (m *P2TaskCommentUpdatedV1) RawReq(req *larkevent.EventReq)
type P2TaskCommentUpdatedV1Handler ¶
type P2TaskCommentUpdatedV1Handler struct {
// contains filtered or unexported fields
}
消息处理器定义
func NewP2TaskCommentUpdatedV1Handler ¶
func NewP2TaskCommentUpdatedV1Handler(handler func(context.Context, *P2TaskCommentUpdatedV1) error) *P2TaskCommentUpdatedV1Handler
func (*P2TaskCommentUpdatedV1Handler) Event ¶
func (h *P2TaskCommentUpdatedV1Handler) Event() interface{}
返回事件的消息体的实例,用于反序列化用
type P2TaskUpdateTenantV1 ¶
type P2TaskUpdateTenantV1 struct { *larkevent.EventV2Base *larkevent.EventReq Event *P2TaskUpdateTenantV1Data `json:"event"` }
func (*P2TaskUpdateTenantV1) RawReq ¶
func (m *P2TaskUpdateTenantV1) RawReq(req *larkevent.EventReq)
type P2TaskUpdateTenantV1Data ¶
type P2TaskUpdateTenantV1Data struct { UserIdList *UserIdList `json:"user_id_list,omitempty"` TaskId *string `json:"task_id,omitempty"` ObjectType *string `json:"object_type,omitempty"` EventType *string `json:"event_type,omitempty"` }
type P2TaskUpdateTenantV1Handler ¶
type P2TaskUpdateTenantV1Handler struct {
// contains filtered or unexported fields
}
消息处理器定义
func NewP2TaskUpdateTenantV1Handler ¶
func NewP2TaskUpdateTenantV1Handler(handler func(context.Context, *P2TaskUpdateTenantV1) error) *P2TaskUpdateTenantV1Handler
func (*P2TaskUpdateTenantV1Handler) Event ¶
func (h *P2TaskUpdateTenantV1Handler) Event() interface{}
返回事件的消息体的实例,用于反序列化用
type P2TaskUpdatedV1 ¶
type P2TaskUpdatedV1 struct { *larkevent.EventV2Base *larkevent.EventReq Event *P2TaskUpdatedV1Data `json:"event"` }
func (*P2TaskUpdatedV1) RawReq ¶
func (m *P2TaskUpdatedV1) RawReq(req *larkevent.EventReq)
type P2TaskUpdatedV1Data ¶
type P2TaskUpdatedV1Handler ¶
type P2TaskUpdatedV1Handler struct {
// contains filtered or unexported fields
}
消息处理器定义
func NewP2TaskUpdatedV1Handler ¶
func NewP2TaskUpdatedV1Handler(handler func(context.Context, *P2TaskUpdatedV1) error) *P2TaskUpdatedV1Handler
func (*P2TaskUpdatedV1Handler) Event ¶
func (h *P2TaskUpdatedV1Handler) Event() interface{}
返回事件的消息体的实例,用于反序列化用
type PatchTaskPathReqBodyBuilder ¶
type PatchTaskPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
上传文件path开始
func NewPatchTaskPathReqBodyBuilder ¶
func NewPatchTaskPathReqBodyBuilder() *PatchTaskPathReqBodyBuilder
func (*PatchTaskPathReqBodyBuilder) Build ¶
func (builder *PatchTaskPathReqBodyBuilder) Build() (*PatchTaskReqBody, error)
func (*PatchTaskPathReqBodyBuilder) Task ¶
func (builder *PatchTaskPathReqBodyBuilder) Task(task *Task) *PatchTaskPathReqBodyBuilder
func (*PatchTaskPathReqBodyBuilder) UpdateFields ¶
func (builder *PatchTaskPathReqBodyBuilder) UpdateFields(updateFields []string) *PatchTaskPathReqBodyBuilder
type PatchTaskReq ¶
type PatchTaskReq struct { Body *PatchTaskReqBody `body:""` // contains filtered or unexported fields }
type PatchTaskReqBody ¶
type PatchTaskReqBodyBuilder ¶
type PatchTaskReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewPatchTaskReqBodyBuilder ¶
func NewPatchTaskReqBodyBuilder() *PatchTaskReqBodyBuilder
生成body的New构造器
func (*PatchTaskReqBodyBuilder) Build ¶
func (builder *PatchTaskReqBodyBuilder) Build() *PatchTaskReqBody
1.3 生成body的build方法
func (*PatchTaskReqBodyBuilder) Task ¶
func (builder *PatchTaskReqBodyBuilder) Task(task *Task) *PatchTaskReqBodyBuilder
1.2 生成body的builder属性方法
func (*PatchTaskReqBodyBuilder) UpdateFields ¶
func (builder *PatchTaskReqBodyBuilder) UpdateFields(updateFields []string) *PatchTaskReqBodyBuilder
type PatchTaskReqBuilder ¶
type PatchTaskReqBuilder struct {
// contains filtered or unexported fields
}
1.4 生成请求的builder结构体
func (*PatchTaskReqBuilder) Body ¶
func (builder *PatchTaskReqBuilder) Body(body *PatchTaskReqBody) *PatchTaskReqBuilder
func (*PatchTaskReqBuilder) Build ¶
func (builder *PatchTaskReqBuilder) Build() *PatchTaskReq
1.5 生成请求的builder的build方法
func (*PatchTaskReqBuilder) TaskId ¶
func (builder *PatchTaskReqBuilder) TaskId(taskId string) *PatchTaskReqBuilder
1.5 生成请求的builder属性方法
func (*PatchTaskReqBuilder) UserIdType ¶
func (builder *PatchTaskReqBuilder) UserIdType(userIdType string) *PatchTaskReqBuilder
type PatchTaskResp ¶
type PatchTaskResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *PatchTaskRespData `json:"data"` }
func (*PatchTaskResp) Success ¶
func (resp *PatchTaskResp) Success() bool
type PatchTaskRespData ¶
type PatchTaskRespData struct {
Task *Task `json:"task,omitempty"`
}
type ReminderBuilder ¶
type ReminderBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewReminderBuilder ¶
func NewReminderBuilder() *ReminderBuilder
func (*ReminderBuilder) Build ¶
func (builder *ReminderBuilder) Build() *Reminder
func (*ReminderBuilder) Id ¶
func (builder *ReminderBuilder) Id(id string) *ReminderBuilder
func (*ReminderBuilder) RelativeFireMinute ¶
func (builder *ReminderBuilder) RelativeFireMinute(relativeFireMinute int) *ReminderBuilder
type Task ¶
type Task struct { Id *string `json:"id,omitempty"` Summary *string `json:"summary,omitempty"` Description *string `json:"description,omitempty"` CompleteTime *string `json:"complete_time,omitempty"` CreatorId *string `json:"creator_id,omitempty"` Extra *string `json:"extra,omitempty"` CreateTime *string `json:"create_time,omitempty"` UpdateTime *string `json:"update_time,omitempty"` Due *Due `json:"due,omitempty"` Origin *Origin `json:"origin,omitempty"` CanEdit *bool `json:"can_edit,omitempty"` Custom *string `json:"custom,omitempty"` Source *int `json:"source,omitempty"` Followers []*Follower `json:"followers,omitempty"` Collaborators []*Collaborator `json:"collaborators,omitempty"` }
type TaskBuilder ¶
type TaskBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewTaskBuilder ¶
func NewTaskBuilder() *TaskBuilder
func (*TaskBuilder) Build ¶
func (builder *TaskBuilder) Build() *Task
func (*TaskBuilder) CanEdit ¶
func (builder *TaskBuilder) CanEdit(canEdit bool) *TaskBuilder
func (*TaskBuilder) Collaborators ¶
func (builder *TaskBuilder) Collaborators(collaborators []*Collaborator) *TaskBuilder
func (*TaskBuilder) CompleteTime ¶
func (builder *TaskBuilder) CompleteTime(completeTime string) *TaskBuilder
func (*TaskBuilder) CreateTime ¶
func (builder *TaskBuilder) CreateTime(createTime string) *TaskBuilder
func (*TaskBuilder) CreatorId ¶
func (builder *TaskBuilder) CreatorId(creatorId string) *TaskBuilder
func (*TaskBuilder) Custom ¶
func (builder *TaskBuilder) Custom(custom string) *TaskBuilder
func (*TaskBuilder) Description ¶
func (builder *TaskBuilder) Description(description string) *TaskBuilder
func (*TaskBuilder) Due ¶
func (builder *TaskBuilder) Due(due *Due) *TaskBuilder
func (*TaskBuilder) Extra ¶
func (builder *TaskBuilder) Extra(extra string) *TaskBuilder
func (*TaskBuilder) Followers ¶
func (builder *TaskBuilder) Followers(followers []*Follower) *TaskBuilder
func (*TaskBuilder) Id ¶
func (builder *TaskBuilder) Id(id string) *TaskBuilder
func (*TaskBuilder) Origin ¶
func (builder *TaskBuilder) Origin(origin *Origin) *TaskBuilder
func (*TaskBuilder) Source ¶
func (builder *TaskBuilder) Source(source int) *TaskBuilder
func (*TaskBuilder) Summary ¶
func (builder *TaskBuilder) Summary(summary string) *TaskBuilder
func (*TaskBuilder) UpdateTime ¶
func (builder *TaskBuilder) UpdateTime(updateTime string) *TaskBuilder
type TaskService ¶
type TaskService struct { Task *task TaskCollaborator *taskCollaborator TaskComment *taskComment TaskFollower *taskFollower TaskReminder *taskReminder // contains filtered or unexported fields }
业务域服务定义
type UncompleteTaskReq ¶
type UncompleteTaskReq struct {
// contains filtered or unexported fields
}
type UncompleteTaskReqBuilder ¶
type UncompleteTaskReqBuilder struct {
// contains filtered or unexported fields
}
1.4 生成请求的builder结构体
func NewUncompleteTaskReqBuilder ¶
func NewUncompleteTaskReqBuilder() *UncompleteTaskReqBuilder
生成请求的New构造器
func (*UncompleteTaskReqBuilder) Build ¶
func (builder *UncompleteTaskReqBuilder) Build() *UncompleteTaskReq
1.5 生成请求的builder的build方法
func (*UncompleteTaskReqBuilder) TaskId ¶
func (builder *UncompleteTaskReqBuilder) TaskId(taskId string) *UncompleteTaskReqBuilder
1.5 生成请求的builder属性方法
type UncompleteTaskResp ¶
type UncompleteTaskResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*UncompleteTaskResp) Success ¶
func (resp *UncompleteTaskResp) Success() bool
type UpdateTaskCommentPathReqBodyBuilder ¶
type UpdateTaskCommentPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
上传文件path开始
func NewUpdateTaskCommentPathReqBodyBuilder ¶
func NewUpdateTaskCommentPathReqBodyBuilder() *UpdateTaskCommentPathReqBodyBuilder
func (*UpdateTaskCommentPathReqBodyBuilder) Build ¶
func (builder *UpdateTaskCommentPathReqBodyBuilder) Build() (*UpdateTaskCommentReqBody, error)
func (*UpdateTaskCommentPathReqBodyBuilder) Content ¶
func (builder *UpdateTaskCommentPathReqBodyBuilder) Content(content string) *UpdateTaskCommentPathReqBodyBuilder
type UpdateTaskCommentReq ¶
type UpdateTaskCommentReq struct { Body *UpdateTaskCommentReqBody `body:""` // contains filtered or unexported fields }
type UpdateTaskCommentReqBody ¶
type UpdateTaskCommentReqBody struct {
Content *string `json:"content,omitempty"`
}
type UpdateTaskCommentReqBodyBuilder ¶
type UpdateTaskCommentReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewUpdateTaskCommentReqBodyBuilder ¶
func NewUpdateTaskCommentReqBodyBuilder() *UpdateTaskCommentReqBodyBuilder
生成body的New构造器
func (*UpdateTaskCommentReqBodyBuilder) Build ¶
func (builder *UpdateTaskCommentReqBodyBuilder) Build() *UpdateTaskCommentReqBody
1.3 生成body的build方法
func (*UpdateTaskCommentReqBodyBuilder) Content ¶
func (builder *UpdateTaskCommentReqBodyBuilder) Content(content string) *UpdateTaskCommentReqBodyBuilder
1.2 生成body的builder属性方法
type UpdateTaskCommentReqBuilder ¶
type UpdateTaskCommentReqBuilder struct {
// contains filtered or unexported fields
}
1.4 生成请求的builder结构体
func NewUpdateTaskCommentReqBuilder ¶
func NewUpdateTaskCommentReqBuilder() *UpdateTaskCommentReqBuilder
生成请求的New构造器
func (*UpdateTaskCommentReqBuilder) Body ¶
func (builder *UpdateTaskCommentReqBuilder) Body(body *UpdateTaskCommentReqBody) *UpdateTaskCommentReqBuilder
func (*UpdateTaskCommentReqBuilder) Build ¶
func (builder *UpdateTaskCommentReqBuilder) Build() *UpdateTaskCommentReq
1.5 生成请求的builder的build方法
func (*UpdateTaskCommentReqBuilder) CommentId ¶
func (builder *UpdateTaskCommentReqBuilder) CommentId(commentId string) *UpdateTaskCommentReqBuilder
func (*UpdateTaskCommentReqBuilder) TaskId ¶
func (builder *UpdateTaskCommentReqBuilder) TaskId(taskId string) *UpdateTaskCommentReqBuilder
1.5 生成请求的builder属性方法
type UpdateTaskCommentResp ¶
type UpdateTaskCommentResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *UpdateTaskCommentRespData `json:"data"` }
func (*UpdateTaskCommentResp) Success ¶
func (resp *UpdateTaskCommentResp) Success() bool
type UpdateTaskCommentRespData ¶
type UpdateTaskCommentRespData struct {
Comment *Comment `json:"comment,omitempty"`
}
type UserIdBuilder ¶
type UserIdBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewUserIdBuilder ¶
func NewUserIdBuilder() *UserIdBuilder
func (*UserIdBuilder) Build ¶
func (builder *UserIdBuilder) Build() *UserId
func (*UserIdBuilder) OpenId ¶
func (builder *UserIdBuilder) OpenId(openId string) *UserIdBuilder
func (*UserIdBuilder) UnionId ¶
func (builder *UserIdBuilder) UnionId(unionId string) *UserIdBuilder
func (*UserIdBuilder) UserId ¶
func (builder *UserIdBuilder) UserId(userId string) *UserIdBuilder
type UserIdList ¶
type UserIdList struct {
UserIdList []*UserId `json:"user_id_list,omitempty"`
}
type UserIdListBuilder ¶
type UserIdListBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewUserIdListBuilder ¶
func NewUserIdListBuilder() *UserIdListBuilder
func (*UserIdListBuilder) Build ¶
func (builder *UserIdListBuilder) Build() *UserIdList
func (*UserIdListBuilder) UserIdList ¶
func (builder *UserIdListBuilder) UserIdList(userIdList []*UserId) *UserIdListBuilder