Documentation
¶
Overview ¶
Code generated by lark suite oapi sdk gen
Code generated by lark suite oapi sdk gen
Index ¶
- type Collaborator
- type Comment
- type Due
- type Follower
- type Href
- type Origin
- type Reminder
- type Service
- type Task
- type TaskCollaborator
- type TaskCollaboratorCreateReqCall
- type TaskCollaboratorCreateResult
- type TaskCollaboratorDeleteReqCall
- type TaskCollaboratorListReqCall
- func (rc *TaskCollaboratorListReqCall) Do() (*TaskCollaboratorListResult, error)
- func (rc *TaskCollaboratorListReqCall) SetPageSize(pageSize int)
- func (rc *TaskCollaboratorListReqCall) SetPageToken(pageToken string)
- func (rc *TaskCollaboratorListReqCall) SetTaskId(taskId string)
- func (rc *TaskCollaboratorListReqCall) SetUserIdType(userIdType string)
- type TaskCollaboratorListResult
- type TaskCollaboratorService
- func (taskCollaborators *TaskCollaboratorService) Create(ctx *core.Context, body *Collaborator, optFns ...request.OptFn) *TaskCollaboratorCreateReqCall
- func (taskCollaborators *TaskCollaboratorService) Delete(ctx *core.Context, optFns ...request.OptFn) *TaskCollaboratorDeleteReqCall
- func (taskCollaborators *TaskCollaboratorService) List(ctx *core.Context, optFns ...request.OptFn) *TaskCollaboratorListReqCall
- type TaskCompleteReqCall
- type TaskCreateReqCall
- type TaskCreateResult
- type TaskDeleteReqCall
- type TaskFollower
- type TaskFollowerCreateReqCall
- type TaskFollowerCreateResult
- type TaskFollowerDeleteReqCall
- type TaskFollowerListReqCall
- func (rc *TaskFollowerListReqCall) Do() (*TaskFollowerListResult, error)
- func (rc *TaskFollowerListReqCall) SetPageSize(pageSize int)
- func (rc *TaskFollowerListReqCall) SetPageToken(pageToken string)
- func (rc *TaskFollowerListReqCall) SetTaskId(taskId string)
- func (rc *TaskFollowerListReqCall) SetUserIdType(userIdType string)
- type TaskFollowerListResult
- type TaskFollowerService
- func (taskFollowers *TaskFollowerService) Create(ctx *core.Context, body *Follower, optFns ...request.OptFn) *TaskFollowerCreateReqCall
- func (taskFollowers *TaskFollowerService) Delete(ctx *core.Context, optFns ...request.OptFn) *TaskFollowerDeleteReqCall
- func (taskFollowers *TaskFollowerService) List(ctx *core.Context, optFns ...request.OptFn) *TaskFollowerListReqCall
- type TaskGetReqCall
- type TaskGetResult
- type TaskPatchReqBody
- type TaskPatchReqCall
- type TaskPatchResult
- type TaskReminder
- type TaskReminderCreateReqCall
- type TaskReminderCreateResult
- type TaskReminderDeleteReqCall
- type TaskReminderListReqCall
- type TaskReminderListResult
- type TaskReminderService
- func (taskReminders *TaskReminderService) Create(ctx *core.Context, body *Reminder, optFns ...request.OptFn) *TaskReminderCreateReqCall
- func (taskReminders *TaskReminderService) Delete(ctx *core.Context, optFns ...request.OptFn) *TaskReminderDeleteReqCall
- func (taskReminders *TaskReminderService) List(ctx *core.Context, optFns ...request.OptFn) *TaskReminderListReqCall
- type TaskService
- func (tasks *TaskService) Complete(ctx *core.Context, optFns ...request.OptFn) *TaskCompleteReqCall
- func (tasks *TaskService) Create(ctx *core.Context, body *Task, optFns ...request.OptFn) *TaskCreateReqCall
- func (tasks *TaskService) Delete(ctx *core.Context, optFns ...request.OptFn) *TaskDeleteReqCall
- func (tasks *TaskService) Get(ctx *core.Context, optFns ...request.OptFn) *TaskGetReqCall
- func (tasks *TaskService) Patch(ctx *core.Context, body *TaskPatchReqBody, optFns ...request.OptFn) *TaskPatchReqCall
- func (tasks *TaskService) Uncomplete(ctx *core.Context, optFns ...request.OptFn) *TaskUncompleteReqCall
- type TaskUncompleteReqCall
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collaborator ¶
func (*Collaborator) MarshalJSON ¶
func (s *Collaborator) MarshalJSON() ([]byte, error)
type Comment ¶
type Comment struct { Content string `json:"content,omitempty"` ParentId int64 `json:"parent_id,omitempty,string"` Id int64 `json:"id,omitempty,string"` ForceSendFields []string `json:"-"` }
func (*Comment) MarshalJSON ¶
type Due ¶
type Due struct { Time int64 `json:"time,omitempty,string"` Timezone string `json:"timezone,omitempty"` IsAllDay bool `json:"is_all_day,omitempty"` ForceSendFields []string `json:"-"` }
func (*Due) MarshalJSON ¶
type Follower ¶
func (*Follower) MarshalJSON ¶
type Href ¶
type Href struct { Url string `json:"url,omitempty"` Title string `json:"title,omitempty"` ForceSendFields []string `json:"-"` }
func (*Href) MarshalJSON ¶
type Origin ¶
type Origin struct { PlatformI18nName string `json:"platform_i18n_name,omitempty"` Href *Href `json:"href,omitempty"` ForceSendFields []string `json:"-"` }
func (*Origin) MarshalJSON ¶
type Reminder ¶
type Reminder struct { Id int64 `json:"id,omitempty,string"` RelativeFireMinute int `json:"relative_fire_minute,omitempty"` ForceSendFields []string `json:"-"` }
func (*Reminder) MarshalJSON ¶
type Service ¶
type Service struct { Tasks *TaskService TaskCollaborators *TaskCollaboratorService TaskFollowers *TaskFollowerService TaskReminders *TaskReminderService // contains filtered or unexported fields }
func NewService ¶
type Task ¶
type Task struct { Id string `json:"id,omitempty"` Summary string `json:"summary,omitempty"` Description string `json:"description,omitempty"` CompleteTime int64 `json:"complete_time,omitempty,string"` CreatorId string `json:"creator_id,omitempty"` Extra string `json:"extra,omitempty"` CreateTime int64 `json:"create_time,omitempty,string"` UpdateTime int64 `json:"update_time,omitempty,string"` Due *Due `json:"due,omitempty"` Origin *Origin `json:"origin,omitempty"` ForceSendFields []string `json:"-"` }
func (*Task) MarshalJSON ¶
type TaskCollaborator ¶
type TaskCollaborator struct { }
type TaskCollaboratorCreateReqCall ¶
type TaskCollaboratorCreateReqCall struct {
// contains filtered or unexported fields
}
func (*TaskCollaboratorCreateReqCall) Do ¶
func (rc *TaskCollaboratorCreateReqCall) Do() (*TaskCollaboratorCreateResult, error)
func (*TaskCollaboratorCreateReqCall) SetTaskId ¶
func (rc *TaskCollaboratorCreateReqCall) SetTaskId(taskId string)
func (*TaskCollaboratorCreateReqCall) SetUserIdType ¶
func (rc *TaskCollaboratorCreateReqCall) SetUserIdType(userIdType string)
type TaskCollaboratorCreateResult ¶
type TaskCollaboratorCreateResult struct {
Collaborator *Collaborator `json:"collaborator,omitempty"`
}
type TaskCollaboratorDeleteReqCall ¶
type TaskCollaboratorDeleteReqCall struct {
// contains filtered or unexported fields
}
func (*TaskCollaboratorDeleteReqCall) Do ¶
func (rc *TaskCollaboratorDeleteReqCall) Do() (*response.NoData, error)
func (*TaskCollaboratorDeleteReqCall) SetCollaboratorId ¶
func (rc *TaskCollaboratorDeleteReqCall) SetCollaboratorId(collaboratorId string)
func (*TaskCollaboratorDeleteReqCall) SetTaskId ¶
func (rc *TaskCollaboratorDeleteReqCall) SetTaskId(taskId string)
type TaskCollaboratorListReqCall ¶
type TaskCollaboratorListReqCall struct {
// contains filtered or unexported fields
}
func (*TaskCollaboratorListReqCall) Do ¶
func (rc *TaskCollaboratorListReqCall) Do() (*TaskCollaboratorListResult, error)
func (*TaskCollaboratorListReqCall) SetPageSize ¶
func (rc *TaskCollaboratorListReqCall) SetPageSize(pageSize int)
func (*TaskCollaboratorListReqCall) SetPageToken ¶
func (rc *TaskCollaboratorListReqCall) SetPageToken(pageToken string)
func (*TaskCollaboratorListReqCall) SetTaskId ¶
func (rc *TaskCollaboratorListReqCall) SetTaskId(taskId string)
func (*TaskCollaboratorListReqCall) SetUserIdType ¶
func (rc *TaskCollaboratorListReqCall) SetUserIdType(userIdType string)
type TaskCollaboratorListResult ¶
type TaskCollaboratorListResult struct { Items []*Collaborator `json:"items,omitempty"` PageToken string `json:"page_token,omitempty"` HasMore bool `json:"has_more,omitempty"` }
type TaskCollaboratorService ¶
type TaskCollaboratorService struct {
// contains filtered or unexported fields
}
func (*TaskCollaboratorService) Create ¶
func (taskCollaborators *TaskCollaboratorService) Create(ctx *core.Context, body *Collaborator, optFns ...request.OptFn) *TaskCollaboratorCreateReqCall
func (*TaskCollaboratorService) Delete ¶
func (taskCollaborators *TaskCollaboratorService) Delete(ctx *core.Context, optFns ...request.OptFn) *TaskCollaboratorDeleteReqCall
func (*TaskCollaboratorService) List ¶
func (taskCollaborators *TaskCollaboratorService) List(ctx *core.Context, optFns ...request.OptFn) *TaskCollaboratorListReqCall
type TaskCompleteReqCall ¶
type TaskCompleteReqCall struct {
// contains filtered or unexported fields
}
func (*TaskCompleteReqCall) SetTaskId ¶
func (rc *TaskCompleteReqCall) SetTaskId(taskId string)
type TaskCreateReqCall ¶
type TaskCreateReqCall struct {
// contains filtered or unexported fields
}
func (*TaskCreateReqCall) Do ¶
func (rc *TaskCreateReqCall) Do() (*TaskCreateResult, error)
func (*TaskCreateReqCall) SetUserIdType ¶
func (rc *TaskCreateReqCall) SetUserIdType(userIdType string)
type TaskCreateResult ¶
type TaskCreateResult struct {
Task *Task `json:"task,omitempty"`
}
type TaskDeleteReqCall ¶
type TaskDeleteReqCall struct {
// contains filtered or unexported fields
}
func (*TaskDeleteReqCall) SetTaskId ¶
func (rc *TaskDeleteReqCall) SetTaskId(taskId string)
type TaskFollower ¶
type TaskFollower struct { }
type TaskFollowerCreateReqCall ¶
type TaskFollowerCreateReqCall struct {
// contains filtered or unexported fields
}
func (*TaskFollowerCreateReqCall) Do ¶
func (rc *TaskFollowerCreateReqCall) Do() (*TaskFollowerCreateResult, error)
func (*TaskFollowerCreateReqCall) SetTaskId ¶
func (rc *TaskFollowerCreateReqCall) SetTaskId(taskId string)
func (*TaskFollowerCreateReqCall) SetUserIdType ¶
func (rc *TaskFollowerCreateReqCall) SetUserIdType(userIdType string)
type TaskFollowerCreateResult ¶
type TaskFollowerCreateResult struct {
Follower *Follower `json:"follower,omitempty"`
}
type TaskFollowerDeleteReqCall ¶
type TaskFollowerDeleteReqCall struct {
// contains filtered or unexported fields
}
func (*TaskFollowerDeleteReqCall) Do ¶
func (rc *TaskFollowerDeleteReqCall) Do() (*response.NoData, error)
func (*TaskFollowerDeleteReqCall) SetFollowerId ¶
func (rc *TaskFollowerDeleteReqCall) SetFollowerId(followerId string)
func (*TaskFollowerDeleteReqCall) SetTaskId ¶
func (rc *TaskFollowerDeleteReqCall) SetTaskId(taskId string)
type TaskFollowerListReqCall ¶
type TaskFollowerListReqCall struct {
// contains filtered or unexported fields
}
func (*TaskFollowerListReqCall) Do ¶
func (rc *TaskFollowerListReqCall) Do() (*TaskFollowerListResult, error)
func (*TaskFollowerListReqCall) SetPageSize ¶
func (rc *TaskFollowerListReqCall) SetPageSize(pageSize int)
func (*TaskFollowerListReqCall) SetPageToken ¶
func (rc *TaskFollowerListReqCall) SetPageToken(pageToken string)
func (*TaskFollowerListReqCall) SetTaskId ¶
func (rc *TaskFollowerListReqCall) SetTaskId(taskId string)
func (*TaskFollowerListReqCall) SetUserIdType ¶
func (rc *TaskFollowerListReqCall) SetUserIdType(userIdType string)
type TaskFollowerListResult ¶
type TaskFollowerService ¶
type TaskFollowerService struct {
// contains filtered or unexported fields
}
func (*TaskFollowerService) Create ¶
func (taskFollowers *TaskFollowerService) Create(ctx *core.Context, body *Follower, optFns ...request.OptFn) *TaskFollowerCreateReqCall
func (*TaskFollowerService) Delete ¶
func (taskFollowers *TaskFollowerService) Delete(ctx *core.Context, optFns ...request.OptFn) *TaskFollowerDeleteReqCall
func (*TaskFollowerService) List ¶
func (taskFollowers *TaskFollowerService) List(ctx *core.Context, optFns ...request.OptFn) *TaskFollowerListReqCall
type TaskGetReqCall ¶
type TaskGetReqCall struct {
// contains filtered or unexported fields
}
func (*TaskGetReqCall) Do ¶
func (rc *TaskGetReqCall) Do() (*TaskGetResult, error)
func (*TaskGetReqCall) SetTaskId ¶
func (rc *TaskGetReqCall) SetTaskId(taskId string)
func (*TaskGetReqCall) SetUserIdType ¶
func (rc *TaskGetReqCall) SetUserIdType(userIdType string)
type TaskGetResult ¶
type TaskGetResult struct {
Task *Task `json:"task,omitempty"`
}
type TaskPatchReqBody ¶
type TaskPatchReqBody struct { Task *Task `json:"task,omitempty"` UpdateFields []string `json:"update_fields,omitempty"` ForceSendFields []string `json:"-"` }
func (*TaskPatchReqBody) MarshalJSON ¶
func (s *TaskPatchReqBody) MarshalJSON() ([]byte, error)
type TaskPatchReqCall ¶
type TaskPatchReqCall struct {
// contains filtered or unexported fields
}
func (*TaskPatchReqCall) Do ¶
func (rc *TaskPatchReqCall) Do() (*TaskPatchResult, error)
func (*TaskPatchReqCall) SetTaskId ¶
func (rc *TaskPatchReqCall) SetTaskId(taskId string)
func (*TaskPatchReqCall) SetUserIdType ¶
func (rc *TaskPatchReqCall) SetUserIdType(userIdType string)
type TaskPatchResult ¶
type TaskPatchResult struct {
Task *Task `json:"task,omitempty"`
}
type TaskReminder ¶
type TaskReminder struct { }
type TaskReminderCreateReqCall ¶
type TaskReminderCreateReqCall struct {
// contains filtered or unexported fields
}
func (*TaskReminderCreateReqCall) Do ¶
func (rc *TaskReminderCreateReqCall) Do() (*TaskReminderCreateResult, error)
func (*TaskReminderCreateReqCall) SetTaskId ¶
func (rc *TaskReminderCreateReqCall) SetTaskId(taskId string)
type TaskReminderCreateResult ¶
type TaskReminderCreateResult struct {
Reminder *Reminder `json:"reminder,omitempty"`
}
type TaskReminderDeleteReqCall ¶
type TaskReminderDeleteReqCall struct {
// contains filtered or unexported fields
}
func (*TaskReminderDeleteReqCall) Do ¶
func (rc *TaskReminderDeleteReqCall) Do() (*response.NoData, error)
func (*TaskReminderDeleteReqCall) SetReminderId ¶
func (rc *TaskReminderDeleteReqCall) SetReminderId(reminderId string)
func (*TaskReminderDeleteReqCall) SetTaskId ¶
func (rc *TaskReminderDeleteReqCall) SetTaskId(taskId string)
type TaskReminderListReqCall ¶
type TaskReminderListReqCall struct {
// contains filtered or unexported fields
}
func (*TaskReminderListReqCall) Do ¶
func (rc *TaskReminderListReqCall) Do() (*TaskReminderListResult, error)
func (*TaskReminderListReqCall) SetPageSize ¶
func (rc *TaskReminderListReqCall) SetPageSize(pageSize int)
func (*TaskReminderListReqCall) SetPageToken ¶
func (rc *TaskReminderListReqCall) SetPageToken(pageToken string)
func (*TaskReminderListReqCall) SetTaskId ¶
func (rc *TaskReminderListReqCall) SetTaskId(taskId string)
type TaskReminderListResult ¶
type TaskReminderService ¶
type TaskReminderService struct {
// contains filtered or unexported fields
}
func (*TaskReminderService) Create ¶
func (taskReminders *TaskReminderService) Create(ctx *core.Context, body *Reminder, optFns ...request.OptFn) *TaskReminderCreateReqCall
func (*TaskReminderService) Delete ¶
func (taskReminders *TaskReminderService) Delete(ctx *core.Context, optFns ...request.OptFn) *TaskReminderDeleteReqCall
func (*TaskReminderService) List ¶
func (taskReminders *TaskReminderService) List(ctx *core.Context, optFns ...request.OptFn) *TaskReminderListReqCall
type TaskService ¶
type TaskService struct {
// contains filtered or unexported fields
}
func (*TaskService) Complete ¶
func (tasks *TaskService) Complete(ctx *core.Context, optFns ...request.OptFn) *TaskCompleteReqCall
func (*TaskService) Create ¶
func (tasks *TaskService) Create(ctx *core.Context, body *Task, optFns ...request.OptFn) *TaskCreateReqCall
func (*TaskService) Delete ¶
func (tasks *TaskService) Delete(ctx *core.Context, optFns ...request.OptFn) *TaskDeleteReqCall
func (*TaskService) Get ¶
func (tasks *TaskService) Get(ctx *core.Context, optFns ...request.OptFn) *TaskGetReqCall
func (*TaskService) Patch ¶
func (tasks *TaskService) Patch(ctx *core.Context, body *TaskPatchReqBody, optFns ...request.OptFn) *TaskPatchReqCall
func (*TaskService) Uncomplete ¶
func (tasks *TaskService) Uncomplete(ctx *core.Context, optFns ...request.OptFn) *TaskUncompleteReqCall
type TaskUncompleteReqCall ¶
type TaskUncompleteReqCall struct {
// contains filtered or unexported fields
}
func (*TaskUncompleteReqCall) SetTaskId ¶
func (rc *TaskUncompleteReqCall) SetTaskId(taskId string)
Click to show internal directories.
Click to hide internal directories.