tools

package
v0.0.0-...-4a54426 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCalendar

func AddCalendar(params *ParamsCalendarAdd, result *ResultCalendarAdd) wx.Action

AddCalendar 创建日历

func AddSchedule

func AddSchedule(params *ParamsScheduleAdd, result *ResultScheduleAdd) wx.Action

AddSchedule 创建日程

func AddScheduleAttendee

func AddScheduleAttendee(scheduleID string, userIDs ...string) wx.Action

AddScheduleAttendee 新增日程参与者

func AddWedriveFileAcl

func AddWedriveFileAcl(userID, fileID string, acls ...*WedriveAuthInfo) wx.Action

AddWedriveFileAcl 新增文件指定人

func AddWedriveSpaceAcl

func AddWedriveSpaceAcl(userID, spaceID string, acls ...*WedriveAuthInfo) wx.Action

AddWedriveSpaceAcl 添加空间成员/部门

func CancelLiving

func CancelLiving(livingID string) wx.Action

CancelLiving 取消预约直播

func CreateLiving

func CreateLiving(params *ParamsLivingCreate, result *ResultLivingCreate) wx.Action

CreateLiving 创建预约直播

func CreateWedriveFile

func CreateWedriveFile(params *ParamsWedriveFileCreate, result *ResultWedriveFileCreate) wx.Action

CreateWedriveFile 新建文件/微文档

func CreateWedriveSpace

func CreateWedriveSpace(params *ParamsWedriveSpaceCreate, result *ResultWedriveSpaceCreate) wx.Action

CreateWedriveSpace 新建空间

func DeleteCalendar

func DeleteCalendar(calID string) wx.Action

DeleteCalendar 删除日历

func DeleteLivingReplayData

func DeleteLivingReplayData(livingID string) wx.Action

DeleteLivingReplayData 删除直播回放

func DeleteSchedule

func DeleteSchedule(scheduleID string) wx.Action

DeleteSchedule 取消日程

func DeleteScheduleAttendee

func DeleteScheduleAttendee(scheduleID string, userIDs ...string) wx.Action

DeleteScheduleAttendee 删除日程参与者

func DeleteWedriveFile

func DeleteWedriveFile(userID string, fileIDs ...string) wx.Action

DeleteWedriveFile 删除文件

func DeleteWedriveFileAcl

func DeleteWedriveFileAcl(userID, fileID string, acls ...*WedriveAuthInfo) wx.Action

DeleteWedriveFileAcl 删除文件指定人

func DeleteWedriveSpaceAcl

func DeleteWedriveSpaceAcl(userID, spaceID string, acls ...*WedriveAuthInfo) wx.Action

DeleteWedriveSpaceAcl 移除空间成员/部门

func DismissWedriveSpace

func DismissWedriveSpace(userID, spaceID string) wx.Action

DismissWedriveSpace 解散空间

func DownloadWedriveFile

func DownloadWedriveFile(userID, fileID string, result *ResultWedriveFileDownload) wx.Action

DownloadWedriveFile 下载文件

func GetCalendar

func GetCalendar(calIDs []string, result *ResultCalendarGet) wx.Action

GetCalendar 获取日历详情

func GetDialRecord

func GetDialRecord(starttime, endtime int64, offset, limit int, result *ResultDialRecord) wx.Action

GetDialRecord 获取公费电话拨打记录

func GetLivingCode

func GetLivingCode(livingID, openID string, result *ResultLivingCode) wx.Action

GetLivingCode 获取微信观看直播凭证

func GetLivingInfo

func GetLivingInfo(livingID string, result *ResultLivingInfo) wx.Action

GetLivingInfo 获取直播详情

func GetLivingShareInfo

func GetLivingShareInfo(wwshareCode string, result *ResultLivingShareInfo) wx.Action

GetLivingShareInfo 获取跳转小程序商城的直播观众信息

func GetLivingWatchStat

func GetLivingWatchStat(livingID, nextKey string, result *ResultLivingWatchStat) wx.Action

GetLivingWatchStat 获取直播观看明细

func GetSchedule

func GetSchedule(scheduleIDs []string, result *ResultScheduleGet) wx.Action

GetSchedule 获取日程详情

func GetScheduleByCalendar

func GetScheduleByCalendar(calID string, offset, limit int, result *ResultScheduleGetByCalendar) wx.Action

GetScheduleByCalendar 获取日历下的日程列表

func GetUserAllLivingID

func GetUserAllLivingID(userID, cursor string, limit int, result *ResultUserAllLivingID) wx.Action

GetUserAllLivingID 获取成员直播ID列表

func GetWedriveFileInfo

func GetWedriveFileInfo(userID, fileID string, result *ResultWedriveFileInfo) wx.Action

GetWedriveFileInfo 获取文件信息

func GetWedriveSpaceInfo

func GetWedriveSpaceInfo(userID, spaceID string, result *ResultWedriveSpaceInfo) wx.Action

GetWedriveSpaceInfo 获取空间信息

func ListWedriveFile

func ListWedriveFile(params *ParamsWedriveFileList, result *ResultWedriveFileList) wx.Action

ListWedriveFile 获取文件列表

func ModifyLiving

func ModifyLiving(params *ParamsLivingModify) wx.Action

ModifyLiving 修改预约直播

func MoveWedriveFile

func MoveWedriveFile(params *ParamsWedriveFileMove, result *ResultWedriveFileMove) wx.Action

MoveWedriveFile 移动文件

func RenameWedriveFile

func RenameWedriveFile(userID, fileID, filename string, result *ResultWedriveFileRename) wx.Action

RenameWedriveFile 重命名文件

func RenameWedriveSpace

func RenameWedriveSpace(userID, spaceID, spaceName string) wx.Action

RenameWedriveSpace 重命名空间

func SetWedriveFile

func SetWedriveFile(params *ParamsWedriveFileSetting) wx.Action

SetWedriveFile 文件分享设置

func SetWedriveSpace

func SetWedriveSpace(params *ParamsWedriveSpaceSetting) wx.Action

SetWedriveSpace 空间权限管理(修改空间权限)

func ShareWedriveFile

func ShareWedriveFile(userID, fileID string, result *ResultWedriveFileShare) wx.Action

ShareWedriveFile 获取分享链接

func ShareWedriveSpace

func ShareWedriveSpace(userID, spaceID string, result *ResultWedriveSpaceShare) wx.Action

ShareWedriveSpace 获取空间邀请链接

func UpdateCalendar

func UpdateCalendar(params *ParamsCalendarUpdate) wx.Action

UpdateCalendar 更新日历

func UpdateSchedule

func UpdateSchedule(params *ParamsScheduleUpdate) wx.Action

UpdateSchedule 更新日程

func UploadWedriveFile

func UploadWedriveFile(params *ParamsWedriveFileUpload, result *ResultWedriveFileUpload) wx.Action

UploadWedriveFile 上传文件

Types

type Calendar

type Calendar struct {
	CalID       string           `json:"cal_id"`
	Organizer   string           `json:"organizer"`
	ReadOnly    *int             `json:"readonly"`
	Summary     string           `json:"summary"`
	Color       string           `json:"color"`
	Description string           `json:"description"`
	Shares      []*CalendarShare `json:"shares"`
}

type CalendarAddData

type CalendarAddData struct {
	Organizer    string           `json:"organizer"`
	ReadOnly     *int             `json:"readonly,omitempty"`
	SetAsDefault int              `json:"set_as_default,omitempty"`
	Summary      string           `json:"summary"`
	Color        string           `json:"color"`
	Description  string           `json:"description,omitempty"`
	Shares       []*CalendarShare `json:"shares,omitempty"`
}

type CalendarShare

type CalendarShare struct {
	UserID   string `json:"userid"`
	ReadOnly *int   `json:"readonly,omitempty"`
}

type CalendarUpdateData

type CalendarUpdateData struct {
	CalID       string           `json:"cal_id"`
	ReadOnly    *int             `json:"readonly,omitempty"`
	Summary     string           `json:"summary"`
	Color       string           `json:"color"`
	Description string           `json:"description,omitempty"`
	Shares      []*CalendarShare `json:"shares,omitempty"`
}

type DialCallee

type DialCallee struct {
	UserID   string `json:"userid"`
	Phone    string `json:"phone"`
	Duration int    `json:"duration"`
}

type DialCaller

type DialCaller struct {
	UserID   string `json:"userid"`
	Duration int    `json:"duration"`
}

type DialRecord

type DialRecord struct {
	CallTime      int64         `json:"call_time"`
	TotalDuration int           `json:"total_duration"`
	CallType      int           `json:"call_type"`
	Caller        *DialCaller   `json:"caller"`
	Callee        []*DialCallee `json:"callee"`
}

type LivingActivity

type LivingActivity struct {
	Description string   `json:"description,omitempty"`
	ImageList   []string `json:"image_list,omitempty"`
}

type LivingExternalUser

type LivingExternalUser struct {
	ExternalUserID string `json:"external_userid"`
	Type           int    `json:"type"`
	Name           string `json:"name"`
	WatchTime      int64  `json:"watch_time"`
	IsComment      int    `json:"is_comment"`
	IsMic          int    `json:"is_mic"`
}

type LivingInfo

type LivingInfo struct {
	Theme                 string `json:"theme"`
	LivingStart           int64  `json:"living_start"`
	LivingDuration        int    `json:"living_duration"`
	Status                int    `json:"status"`
	ReserveStart          int64  `json:"reserve_start"`
	ReserveLivingDuration int    `json:"reserve_living_duration"`
	Description           string `json:"description"`
	AnchorUserID          string `json:"anchor_userid"`
	MainDepartment        int64  `json:"main_department"`
	ViewerNum             int    `json:"viewer_num"`
	CommentNum            int    `json:"comment_num"`
	MicNum                int    `json:"mic_num"`
	OpenReplay            int    `json:"open_replay"`
	ReplayStatus          int    `json:"replay_status"`
	Type                  int    `json:"type"`
	PushStreamURL         string `json:"push_stream_url"`
	OnlineCount           int    `json:"online_count"`
	SubscribeCount        int    `json:"subscribe_count"`
}

type LivingStatInfo

type LivingStatInfo struct {
	Users         []*LivingUser         `json:"users"`
	ExternalUsers []*LivingExternalUser `json:"external_users"`
}

type LivingUser

type LivingUser struct {
	UserID    string `json:"userid"`
	WatchTime int64  `json:"watch_time"`
	IsComment int    `json:"is_comment"`
	IsMic     int    `json:"is_mic"`
}

type ParamsCalendarAdd

type ParamsCalendarAdd struct {
	Calendar *CalendarAddData `json:"calendar"`
	AgentID  int64            `json:"agentid"`
}

type ParamsCalendarDelete

type ParamsCalendarDelete struct {
	CalID string `json:"cal_id"`
}

type ParamsCalendarGet

type ParamsCalendarGet struct {
	CalIDList []string `json:"cal_id_list"`
}

type ParamsCalendarUpdate

type ParamsCalendarUpdate struct {
	Calendar *CalendarUpdateData `json:"calendar"`
}

type ParamsDialRecord

type ParamsDialRecord struct {
	StartTime int64 `json:"start_time,omitempty"`
	EndTime   int64 `json:"end_time,omitempty"`
	Offset    int   `json:"offset,omitempty"`
	Limit     int   `json:"limit,omitempty"`
}

type ParamsLivingCancel

type ParamsLivingCancel struct {
	LivingID string `json:"livingid"`
}

type ParamsLivingCode

type ParamsLivingCode struct {
	LivingID string `json:"livingid"`
	OpenID   string `json:"openid"`
}

type ParamsLivingCreate

type ParamsLivingCreate struct {
	AnchorUserID         string          `json:"anchor_userid"`
	Theme                string          `json:"theme"`
	LivingStart          int64           `json:"living_start"`
	LivingDuration       int             `json:"living_duration"`
	Description          string          `json:"description,omitempty"`
	Type                 int             `json:"type,omitempty"`
	AgentID              int64           `json:"agentid,omitempty"`
	RemindTime           int             `json:"remind_time,omitempty"`
	ActivityCoverMediaID string          `json:"activity_cover_mediaid,omitempty"`
	ActivityShareMediaID string          `json:"activity_share_mediaid,omitempty"`
	ActivityDetail       *LivingActivity `json:"activity_detail,omitempty"`
}

type ParamsLivingModify

type ParamsLivingModify struct {
	LivingID       string `json:"livingid"`
	Theme          string `json:"theme,omitempty"`
	LivingStart    int64  `json:"living_start,omitempty"`
	LivingDuration int    `json:"living_duration,omitempty"`
	Description    string `json:"description,omitempty"`
	Type           int    `json:"type,omitempty"`
	RemindTime     int    `json:"remind_time,omitempty"`
}

type ParamsLivingReplayDataDelete

type ParamsLivingReplayDataDelete struct {
	LivingID string `json:"livingid"`
}

type ParamsLivingShareInfo

type ParamsLivingShareInfo struct {
	WWShareCode string `json:"ww_share_code"`
}

type ParamsLivingWatchStat

type ParamsLivingWatchStat struct {
	LivingID string `json:"livingid"`
	NextKey  string `json:"next_key"`
}

type ParamsScheduleAdd

type ParamsScheduleAdd struct {
	Schedule *ScheduleAddData `json:"schedule"`
	AgentID  int64            `json:"agentid,omitempty"`
}

type ParamsScheduleAttendee

type ParamsScheduleAttendee struct {
	UserID string `json:"userid"`
}

type ParamsScheduleAttendeeOpt

type ParamsScheduleAttendeeOpt struct {
	ScheduleID string                    `json:"schedule_id"`
	Attendees  []*ParamsScheduleAttendee `json:"attendees"`
}

type ParamsScheduleDelete

type ParamsScheduleDelete struct {
	ScheduleID string `json:"schedule_id"`
}

type ParamsScheduleGet

type ParamsScheduleGet struct {
	ScheduleIDList []string `json:"schedule_id_list"`
}

type ParamsScheduleGetByCalendar

type ParamsScheduleGetByCalendar struct {
	CalID  string `json:"cal_id"`
	Offset int    `json:"offset,omitempty"`
	Limit  int    `json:"limit,omitempty"`
}

type ParamsScheduleReminders

type ParamsScheduleReminders struct {
	IsRemind              int   `json:"is_remind,omitempty"`
	RemindBeforeEventSecs int   `json:"remind_before_event_secs,omitempty"`
	IsRepeat              int   `json:"is_repeat,omitempty"`
	RepeatType            int   `json:"repeat_type,omitempty"`
	RepeatUntil           int64 `json:"repeat_until,omitempty"`
	IsCustomRepeat        int   `json:"is_custom_repeat,omitempty"`
	RepeatInterval        int   `json:"repeat_interval,omitempty"`
	RepeatDayOfWeek       []int `json:"repeat_day_of_week,omitempty"`
	RepeatDayOfMonth      []int `json:"repeat_day_of_month,omitempty"`
	Timezone              int   `json:"timezone,omitempty"`
}

type ParamsScheduleUpdate

type ParamsScheduleUpdate struct {
	Schedule *ScheduleUpdateData `json:"schedule"`
}

type ParamsUserAllLivingID

type ParamsUserAllLivingID struct {
	UserID string `json:"userid"`
	Cursor string `json:"cursor,omitempty"`
	Limit  int    `json:"limit,omitempty"`
}

type ParamsWedriveFileAclOpt

type ParamsWedriveFileAclOpt struct {
	UserID   string             `json:"userid"`
	FileID   string             `json:"fileid"`
	AuthInfo []*WedriveAuthInfo `json:"auth_info"`
}

type ParamsWedriveFileCreate

type ParamsWedriveFileCreate struct {
	UserID   string `json:"userid"`
	SpaceID  string `json:"spaceid"`
	FatherID string `json:"fatherid"`
	FileType string `json:"file_type"`
	FileName string `json:"file_name"`
}

type ParamsWedriveFileDelete

type ParamsWedriveFileDelete struct {
	UserID string   `json:"userid"`
	FileID []string `json:"fileid"`
}

type ParamsWedriveFileDownload

type ParamsWedriveFileDownload struct {
	UserID string `json:"userid"`
	FileID string `json:"fileid"`
}

type ParamsWedriveFileInfo

type ParamsWedriveFileInfo struct {
	UserID string `json:"userid"`
	FileID string `json:"fileid"`
}

type ParamsWedriveFileList

type ParamsWedriveFileList struct {
	UserID   string `json:"userid"`
	SpaceID  string `json:"spaceid"`
	FatherID string `json:"fatherid"`
	SortType int    `json:"sort_type"`
	Start    int    `json:"start"`
	Limit    int    `json:"limit"`
}

type ParamsWedriveFileMove

type ParamsWedriveFileMove struct {
	UserID   string   `json:"userid"`
	FatherID string   `json:"fatherid"`
	Replace  bool     `json:"replace"`
	FileID   []string `json:"fileid"`
}

type ParamsWedriveFileRename

type ParamsWedriveFileRename struct {
	UserID  string `json:"userid"`
	FileID  string `json:"fileid"`
	NewName string `json:"new_name"`
}

type ParamsWedriveFileSetting

type ParamsWedriveFileSetting struct {
	UserID    string `json:"userid"`
	FileID    string `json:"fileid"`
	AuthScope int    `json:"auth_scope"`
	Auth      int    `json:"auth"`
}

type ParamsWedriveFileShare

type ParamsWedriveFileShare struct {
	UserID string `json:"userid"`
	FileID string `json:"fileid"`
}

type ParamsWedriveFileUpload

type ParamsWedriveFileUpload struct {
	UserID            string `json:"userid"`
	SpaceID           string `json:"spaceid"`
	FatherID          string `json:"fatherid"`
	FileName          string `json:"file_name"`
	FileBase64Content string `json:"file_base64_content"`
}

type ParamsWedriveSpaceAclOpt

type ParamsWedriveSpaceAclOpt struct {
	UserID   string             `json:"userid"`
	SpaceID  string             `json:"spaceid"`
	AuthInfo []*WedriveAuthInfo `json:"auth_info"`
}

type ParamsWedriveSpaceCreate

type ParamsWedriveSpaceCreate struct {
	UserID    string             `json:"userid"`
	SpaceName string             `json:"space_name"`
	AuthInfo  []*WedriveAuthInfo `json:"auth_info,omitempty"`
}

type ParamsWedriveSpaceDismiss

type ParamsWedriveSpaceDismiss struct {
	UserID  string `json:"userid"`
	SpaceID string `json:"spaceid"`
}

type ParamsWedriveSpaceInfo

type ParamsWedriveSpaceInfo struct {
	UserID  string `json:"userid"`
	SpaceID string `json:"spaceid"`
}

type ParamsWedriveSpaceRename

type ParamsWedriveSpaceRename struct {
	UserID    string `json:"userid"`
	SpaceID   string `json:"spaceid"`
	SpaceName string `json:"space_name"`
}

type ParamsWedriveSpaceSetting

type ParamsWedriveSpaceSetting struct {
	UserID                       string `json:"userid"`
	SpaceID                      string `json:"spaceid"`
	EnableWatermark              *bool  `json:"enable_watermark,omitempty"`
	AddMemberOnlyAdmin           *bool  `json:"add_member_only_admin,omitempty"`
	EnableShareURL               *bool  `json:"enable_share_url,omitempty"`
	ShareURLNoApprove            *bool  `json:"share_url_no_approve,omitempty"`
	ShareURLNoApproveDefaultAuth int    `json:"share_url_no_approve_default_auth,omitempty"`
}

type ParamsWedriveSpaceShare

type ParamsWedriveSpaceShare struct {
	UserID  string `json:"userid"`
	SpaceID string `json:"spaceid"`
}

type ResultCalendarAdd

type ResultCalendarAdd struct {
	CalID string `json:"cal_id"`
}

type ResultCalendarGet

type ResultCalendarGet struct {
	CalendarList []*Calendar `json:"calendar_list"`
}

type ResultDialRecord

type ResultDialRecord struct {
	Record []*DialRecord `json:"record"`
}

type ResultLivingCode

type ResultLivingCode struct {
	LivingCode string `json:"living_code"`
}

type ResultLivingCreate

type ResultLivingCreate struct {
	LivingID string `json:"livingid"`
}

type ResultLivingInfo

type ResultLivingInfo struct {
	LivingInfo *LivingInfo `json:"living_info"`
}

type ResultLivingShareInfo

type ResultLivingShareInfo struct {
	LivingID              string `json:"livingid"`
	ViewerUserID          string `json:"viewer_userid"`
	ViewerExternalUserID  string `json:"viewer_external_userid"`
	InvitorUserID         string `json:"Invitor_userid"`
	InvitorExternalUserID string `json:"Invitor_external_userid"`
}

type ResultLivingWatchStat

type ResultLivingWatchStat struct {
	Ending   int             `json:"ending"`
	NextKey  string          `json:"next_key"`
	StatInfo *LivingStatInfo `json:"stat_info"`
}

type ResultScheduleAdd

type ResultScheduleAdd struct {
	ScheduleID string `json:"schedule_id"`
}

type ResultScheduleGet

type ResultScheduleGet struct {
	ScheduleList []*Schedule `json:"schedule_list"`
}

type ResultScheduleGetByCalendar

type ResultScheduleGetByCalendar struct {
	ScheduleList []*Schedule `json:"schedule_list"`
}

type ResultUserAllLivingID

type ResultUserAllLivingID struct {
	NextCursor   string   `json:"next_cursor"`
	LivingIDList []string `json:"livingid_list"`
}

type ResultWedriveFileCreate

type ResultWedriveFileCreate struct {
	FileID string `json:"fileid"`
	URL    string `json:"url"`
}

type ResultWedriveFileDownload

type ResultWedriveFileDownload struct {
	DownloadURL string `json:"download_url"`
	CookieName  string `json:"cookie_name"`
	CookieValue string `json:"cookie_value"`
}

type ResultWedriveFileInfo

type ResultWedriveFileInfo struct {
	FileInfo *WedriveFileInfo `json:"file_info"`
}

type ResultWedriveFileList

type ResultWedriveFileList struct {
	HasMore   bool             `json:"has_more"`
	NextStart int64            `json:"next_start"`
	FileList  *WedriveFileList `json:"file_list"`
}

type ResultWedriveFileMove

type ResultWedriveFileMove struct {
	FileList *WedriveFileList `json:"file_list"`
}

type ResultWedriveFileRename

type ResultWedriveFileRename struct {
	File *WedriveFileInfo `json:"file"`
}

type ResultWedriveFileShare

type ResultWedriveFileShare struct {
	ShareURL string `json:"share_url"`
}

type ResultWedriveFileUpload

type ResultWedriveFileUpload struct {
	FileID string `json:"fileid"`
}

type ResultWedriveSpaceCreate

type ResultWedriveSpaceCreate struct {
	SpaceID string `json:"spaceid"`
}

type ResultWedriveSpaceInfo

type ResultWedriveSpaceInfo struct {
	SpaceInfo *WedriveSpaceInfo `json:"space_info"`
}

type ResultWedriveSpaceShare

type ResultWedriveSpaceShare struct {
	SpaceShareURL string `json:"space_share_url"`
}

type Schedule

type Schedule struct {
	ScheduleID  string              `json:"schedule_id"`
	Organizer   string              `json:"organizer"`
	Attendees   []*ScheduleAttendee `json:"attendees"`
	Summary     string              `json:"summary"`
	Description string              `json:"description"`
	Reminders   *ScheduleReminders  `json:"reminders"`
	Location    string              `json:"location"`
	CalID       string              `json:"cal_id"`
	StartTime   int64               `json:"start_time"`
	EndTime     int64               `json:"end_time"`
	Status      int                 `json:"status"`
}

type ScheduleAddData

type ScheduleAddData struct {
	Organizer   string                    `json:"organizer"`
	StartTime   int64                     `json:"start_time"`
	EndTime     int64                     `json:"end_time"`
	Attendees   []*ParamsScheduleAttendee `json:"attendees,omitempty"`
	Summary     string                    `json:"summary,omitempty"`
	Description string                    `json:"description,omitempty"`
	Reminders   *ParamsScheduleReminders  `json:"reminders,omitempty"`
	Location    string                    `json:"location,omitempty"`
	CalID       string                    `json:"cal_id,omitempty"`
}

type ScheduleAttendee

type ScheduleAttendee struct {
	UserID         string `json:"userid"`
	ResponseStatus int    `json:"response_status,omitempty"`
}

type ScheduleExcludeTime

type ScheduleExcludeTime struct {
	StartTime int64 `json:"start_time"`
}

type ScheduleReminders

type ScheduleReminders struct {
	IsRemind              int                    `json:"is_remind"`
	IsRepeat              int                    `json:"is_repeat"`
	RemindBeforeEventSecs int                    `json:"remind_before_event_secs"`
	RemindTimeDiffs       []int                  `json:"remind_time_diffs"`
	RepeatType            int                    `json:"repeat_type"`
	RepeatUntil           int64                  `json:"repeat_until"`
	IsCustomRepeat        int                    `json:"is_custom_repeat"`
	RepeatInterval        int                    `json:"repeat_interval"`
	RepeatDayOfWeek       []int                  `json:"repeat_day_of_week"`
	RepeatDayOfMonth      []int                  `json:"repeat_day_of_month"`
	Timezone              int                    `json:"timezone,omitempty"`
	ExcludeTimeList       []*ScheduleExcludeTime `json:"exclude_time_list"`
}

type ScheduleUpdateData

type ScheduleUpdateData struct {
	Organizer     string                    `json:"organizer"`
	ScheduleID    string                    `json:"schedule_id"`
	StartTime     int64                     `json:"start_time"`
	EndTime       int64                     `json:"end_time"`
	Attendees     []*ParamsScheduleAttendee `json:"attendees,omitempty"`
	Summary       string                    `json:"summary,omitempty"`
	Description   string                    `json:"description,omitempty"`
	Reminders     *ParamsScheduleReminders  `json:"reminders,omitempty"`
	Location      string                    `json:"location,omitempty"`
	SkipAttendees bool                      `json:"skip_attendees"`
}

type WedriveAuthInfo

type WedriveAuthInfo struct {
	Type         int    `json:"type"`
	UserID       string `json:"userid,omitempty"`
	DepartmentID int64  `json:"departmentid,omitempty"`
	Auth         int    `json:"auth,omitempty"`
}

type WedriveFileInfo

type WedriveFileInfo struct {
	FileID       string `json:"fileid"`
	FileName     string `json:"file_name"`
	SpaceID      string `json:"spaceid"`
	FatherID     string `json:"fatherid"`
	FileSize     int64  `json:"file_size"`
	CTime        int64  `json:"ctime"`
	MTime        int64  `json:"mtime"`
	FileType     int    `json:"file_type"`
	FileStatus   int    `json:"file_status"`
	CreateUserID string `json:"create_userid"`
	UpdateUserID string `json:"update_userid"`
	SHA          string `json:"sha"`
	MD5          string `json:"md5"`
	URL          string `json:"url"`
}

type WedriveFileList

type WedriveFileList struct {
	Item []*WedriveFileInfo `json:"item"`
}

type WedriveSpaceAuthList

type WedriveSpaceAuthList struct {
	AuthInfo   []*WedriveAuthInfo `json:"auth_info"`
	QuitUserID []string           `json:"quit_userid"`
}

type WedriveSpaceInfo

type WedriveSpaceInfo struct {
	SpaceID   string                `json:"spaceid"`
	SpaceName string                `json:"space_name"`
	AuthList  *WedriveSpaceAuthList `json:"auth_list"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL