Documentation ¶
Index ¶
- Constants
- type BatchCloseSystemStatusPathReqBodyBuilder
- type BatchCloseSystemStatusReq
- type BatchCloseSystemStatusReqBody
- type BatchCloseSystemStatusReqBodyBuilder
- type BatchCloseSystemStatusReqBuilder
- func (builder *BatchCloseSystemStatusReqBuilder) Body(body *BatchCloseSystemStatusReqBody) *BatchCloseSystemStatusReqBuilder
- func (builder *BatchCloseSystemStatusReqBuilder) Build() *BatchCloseSystemStatusReq
- func (builder *BatchCloseSystemStatusReqBuilder) SystemStatusId(systemStatusId string) *BatchCloseSystemStatusReqBuilder
- func (builder *BatchCloseSystemStatusReqBuilder) UserIdType(userIdType string) *BatchCloseSystemStatusReqBuilder
- type BatchCloseSystemStatusResp
- type BatchCloseSystemStatusRespData
- type BatchOpenSystemStatusPathReqBodyBuilder
- type BatchOpenSystemStatusReq
- type BatchOpenSystemStatusReqBody
- type BatchOpenSystemStatusReqBodyBuilder
- type BatchOpenSystemStatusReqBuilder
- func (builder *BatchOpenSystemStatusReqBuilder) Body(body *BatchOpenSystemStatusReqBody) *BatchOpenSystemStatusReqBuilder
- func (builder *BatchOpenSystemStatusReqBuilder) Build() *BatchOpenSystemStatusReq
- func (builder *BatchOpenSystemStatusReqBuilder) SystemStatusId(systemStatusId string) *BatchOpenSystemStatusReqBuilder
- func (builder *BatchOpenSystemStatusReqBuilder) UserIdType(userIdType string) *BatchOpenSystemStatusReqBuilder
- type BatchOpenSystemStatusResp
- type BatchOpenSystemStatusRespData
- type CreateSystemStatusReq
- type CreateSystemStatusReqBuilder
- type CreateSystemStatusResp
- type CreateSystemStatusRespData
- type DeleteSystemStatusReq
- type DeleteSystemStatusReqBuilder
- type DeleteSystemStatusResp
- type DepartmentId
- type DepartmentIdBuilder
- type ListSystemStatusIterator
- type ListSystemStatusReq
- type ListSystemStatusReqBuilder
- func (builder *ListSystemStatusReqBuilder) Build() *ListSystemStatusReq
- func (builder *ListSystemStatusReqBuilder) Limit(limit int) *ListSystemStatusReqBuilder
- func (builder *ListSystemStatusReqBuilder) PageSize(pageSize int) *ListSystemStatusReqBuilder
- func (builder *ListSystemStatusReqBuilder) PageToken(pageToken string) *ListSystemStatusReqBuilder
- type ListSystemStatusResp
- type ListSystemStatusRespData
- type PatchSystemStatusPathReqBodyBuilder
- func (builder *PatchSystemStatusPathReqBodyBuilder) Build() (*PatchSystemStatusReqBody, error)
- func (builder *PatchSystemStatusPathReqBodyBuilder) SystemStatus(systemStatus *SystemStatus) *PatchSystemStatusPathReqBodyBuilder
- func (builder *PatchSystemStatusPathReqBodyBuilder) UpdateFields(updateFields []string) *PatchSystemStatusPathReqBodyBuilder
- type PatchSystemStatusReq
- type PatchSystemStatusReqBody
- type PatchSystemStatusReqBodyBuilder
- func (builder *PatchSystemStatusReqBodyBuilder) Build() *PatchSystemStatusReqBody
- func (builder *PatchSystemStatusReqBodyBuilder) SystemStatus(systemStatus *SystemStatus) *PatchSystemStatusReqBodyBuilder
- func (builder *PatchSystemStatusReqBodyBuilder) UpdateFields(updateFields []string) *PatchSystemStatusReqBodyBuilder
- type PatchSystemStatusReqBuilder
- type PatchSystemStatusResp
- type PatchSystemStatusRespData
- type SystemStatus
- type SystemStatusBuilder
- func (builder *SystemStatusBuilder) Build() *SystemStatus
- func (builder *SystemStatusBuilder) Color(color string) *SystemStatusBuilder
- func (builder *SystemStatusBuilder) I18nTitle(i18nTitle *SystemStatusI18nName) *SystemStatusBuilder
- func (builder *SystemStatusBuilder) IconKey(iconKey string) *SystemStatusBuilder
- func (builder *SystemStatusBuilder) Priority(priority int) *SystemStatusBuilder
- func (builder *SystemStatusBuilder) SyncSetting(syncSetting *SystemStatusSyncSetting) *SystemStatusBuilder
- func (builder *SystemStatusBuilder) SystemStatusId(systemStatusId string) *SystemStatusBuilder
- func (builder *SystemStatusBuilder) Title(title string) *SystemStatusBuilder
- type SystemStatusI18nName
- type SystemStatusI18nNameBuilder
- func (builder *SystemStatusI18nNameBuilder) Build() *SystemStatusI18nName
- func (builder *SystemStatusI18nNameBuilder) EnUs(enUs string) *SystemStatusI18nNameBuilder
- func (builder *SystemStatusI18nNameBuilder) JaJp(jaJp string) *SystemStatusI18nNameBuilder
- func (builder *SystemStatusI18nNameBuilder) ZhCn(zhCn string) *SystemStatusI18nNameBuilder
- type SystemStatusSyncI18nExplain
- type SystemStatusSyncI18nExplainBuilder
- func (builder *SystemStatusSyncI18nExplainBuilder) Build() *SystemStatusSyncI18nExplain
- func (builder *SystemStatusSyncI18nExplainBuilder) EnUs(enUs string) *SystemStatusSyncI18nExplainBuilder
- func (builder *SystemStatusSyncI18nExplainBuilder) JaJp(jaJp string) *SystemStatusSyncI18nExplainBuilder
- func (builder *SystemStatusSyncI18nExplainBuilder) ZhCn(zhCn string) *SystemStatusSyncI18nExplainBuilder
- type SystemStatusSyncI18nName
- type SystemStatusSyncI18nNameBuilder
- func (builder *SystemStatusSyncI18nNameBuilder) Build() *SystemStatusSyncI18nName
- func (builder *SystemStatusSyncI18nNameBuilder) EnUs(enUs string) *SystemStatusSyncI18nNameBuilder
- func (builder *SystemStatusSyncI18nNameBuilder) JaJp(jaJp string) *SystemStatusSyncI18nNameBuilder
- func (builder *SystemStatusSyncI18nNameBuilder) ZhCn(zhCn string) *SystemStatusSyncI18nNameBuilder
- type SystemStatusSyncSetting
- type SystemStatusSyncSettingBuilder
- func (builder *SystemStatusSyncSettingBuilder) Build() *SystemStatusSyncSetting
- func (builder *SystemStatusSyncSettingBuilder) Explain(explain string) *SystemStatusSyncSettingBuilder
- func (builder *SystemStatusSyncSettingBuilder) I18nExplain(i18nExplain *SystemStatusSyncI18nExplain) *SystemStatusSyncSettingBuilder
- func (builder *SystemStatusSyncSettingBuilder) I18nTitle(i18nTitle *SystemStatusSyncI18nName) *SystemStatusSyncSettingBuilder
- func (builder *SystemStatusSyncSettingBuilder) IsOpenByDefault(isOpenByDefault bool) *SystemStatusSyncSettingBuilder
- func (builder *SystemStatusSyncSettingBuilder) Title(title string) *SystemStatusSyncSettingBuilder
- type SystemStatusUserCloseResultEntity
- type SystemStatusUserCloseResultEntityBuilder
- func (builder *SystemStatusUserCloseResultEntityBuilder) Build() *SystemStatusUserCloseResultEntity
- func (builder *SystemStatusUserCloseResultEntityBuilder) Result(result string) *SystemStatusUserCloseResultEntityBuilder
- func (builder *SystemStatusUserCloseResultEntityBuilder) UserId(userId string) *SystemStatusUserCloseResultEntityBuilder
- type SystemStatusUserOpenParam
- type SystemStatusUserOpenParamBuilder
- type SystemStatusUserOpenResultEntity
- type SystemStatusUserOpenResultEntityBuilder
- func (builder *SystemStatusUserOpenResultEntityBuilder) Build() *SystemStatusUserOpenResultEntity
- func (builder *SystemStatusUserOpenResultEntityBuilder) EndTime(endTime string) *SystemStatusUserOpenResultEntityBuilder
- func (builder *SystemStatusUserOpenResultEntityBuilder) Result(result string) *SystemStatusUserOpenResultEntityBuilder
- func (builder *SystemStatusUserOpenResultEntityBuilder) UserId(userId string) *SystemStatusUserOpenResultEntityBuilder
- type V1
Constants ¶
const ( UserIdTypeUserId = "user_id" // 以user_id来识别用户 UserIdTypeUnionId = "union_id" // 以union_id来识别用户 UserIdTypeOpenId = "open_id" // 以open_id来识别用户 )
const ( UserIdTypeBatchOpenSystemStatusUserId = "user_id" // 以user_id来识别用户 UserIdTypeBatchOpenSystemStatusUnionId = "union_id" // 以union_id来识别用户 UserIdTypeBatchOpenSystemStatusOpenId = "open_id" // 以open_id来识别用户 )
const ( SystemStatusIconKeyGeneralDoNotDisturb = "GeneralDoNotDisturb" // GeneralDoNotDisturb SystemStatusIconKeyGeneralInMeetingBusy = "GeneralInMeetingBusy" // GeneralInMeetingBusy SystemStatusIconKeyCoffee = "Coffee" // Coffee SystemStatusIconKeyGeneralBusinessTrip = "GeneralBusinessTrip" // GeneralBusinessTrip SystemStatusIconKeyGeneralWorkFromHome = "GeneralWorkFromHome" // GeneralWorkFromHome SystemStatusIconKeyStatusEnjoyLife = "StatusEnjoyLife" // StatusEnjoyLife SystemStatusIconKeyGeneralTravellingCar = "GeneralTravellingCar" // GeneralTravellingCar SystemStatusIconKeyStatusBus = "StatusBus" // StatusBus SystemStatusIconKeyStatusInFlight = "StatusInFlight" // StatusInFlight SystemStatusIconKeyTyping = "Typing" // Typing SystemStatusIconKeyEatingFood = "EatingFood" // EatingFood SystemStatusIconKeySICK = "SICK" // SICK SystemStatusIconKeyGeneralSun = "GeneralSun" // GeneralSun SystemStatusIconKeyGeneralMoonRest = "GeneralMoonRest" // GeneralMoonRest SystemStatusIconKeyStatusReading = "StatusReading" // StatusReading SystemStatusIconKeyStatusPrivateMessage = "Status_PrivateMessage" // Status_PrivateMessage SystemStatusIconKeyStatusFlashOfInspiration = "StatusFlashOfInspiration" // StatusFlashOfInspiration SystemStatusIconKeyGeneralVacation = "GeneralVacation" // GeneralVacation )
const ( SystemStatusColorBLUE = "BLUE" // 蓝色 SystemStatusColorGRAY = "GRAY" // 灰色 SystemStatusColorINDIGO = "INDIGO" // 靛青色 SystemStatusColorWATHET = "WATHET" // 浅蓝色 SystemStatusColorGREEN = "GREEN" // 绿色 SystemStatusColorTURQUOISE = "TURQUOISE" // 绿松石色 SystemStatusColorYELLOW = "YELLOW" // 黄色 SystemStatusColorLIME = "LIME" // 酸橙色 SystemStatusColorRED = "RED" // 红色 SystemStatusColorORANGE = "ORANGE" // 橙色 SystemStatusColorPURPLE = "PURPLE" // 紫色 SystemStatusColorVIOLET = "VIOLET" // 紫罗兰色 SystemStatusColorCARMINE = "CARMINE" // 胭脂红色 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchCloseSystemStatusPathReqBodyBuilder ¶
type BatchCloseSystemStatusPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewBatchCloseSystemStatusPathReqBodyBuilder ¶
func NewBatchCloseSystemStatusPathReqBodyBuilder() *BatchCloseSystemStatusPathReqBodyBuilder
func (*BatchCloseSystemStatusPathReqBodyBuilder) Build ¶
func (builder *BatchCloseSystemStatusPathReqBodyBuilder) Build() (*BatchCloseSystemStatusReqBody, error)
func (*BatchCloseSystemStatusPathReqBodyBuilder) UserList ¶
func (builder *BatchCloseSystemStatusPathReqBodyBuilder) UserList(userList []string) *BatchCloseSystemStatusPathReqBodyBuilder
成员列表
示例值:ou_53edd3282dbc2fdbe5c593cfa5ce82ab
type BatchCloseSystemStatusReq ¶
type BatchCloseSystemStatusReq struct { Body *BatchCloseSystemStatusReqBody `body:""` // contains filtered or unexported fields }
type BatchCloseSystemStatusReqBody ¶
type BatchCloseSystemStatusReqBody struct {
UserList []string `json:"user_list,omitempty"` // 成员列表
}
type BatchCloseSystemStatusReqBodyBuilder ¶
type BatchCloseSystemStatusReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewBatchCloseSystemStatusReqBodyBuilder ¶
func NewBatchCloseSystemStatusReqBodyBuilder() *BatchCloseSystemStatusReqBodyBuilder
func (*BatchCloseSystemStatusReqBodyBuilder) Build ¶
func (builder *BatchCloseSystemStatusReqBodyBuilder) Build() *BatchCloseSystemStatusReqBody
func (*BatchCloseSystemStatusReqBodyBuilder) UserList ¶
func (builder *BatchCloseSystemStatusReqBodyBuilder) UserList(userList []string) *BatchCloseSystemStatusReqBodyBuilder
成员列表
示例值:ou_53edd3282dbc2fdbe5c593cfa5ce82ab
type BatchCloseSystemStatusReqBuilder ¶
type BatchCloseSystemStatusReqBuilder struct {
// contains filtered or unexported fields
}
func NewBatchCloseSystemStatusReqBuilder ¶
func NewBatchCloseSystemStatusReqBuilder() *BatchCloseSystemStatusReqBuilder
func (*BatchCloseSystemStatusReqBuilder) Body ¶
func (builder *BatchCloseSystemStatusReqBuilder) Body(body *BatchCloseSystemStatusReqBody) *BatchCloseSystemStatusReqBuilder
批量关闭用户系统状态可用
func (*BatchCloseSystemStatusReqBuilder) Build ¶
func (builder *BatchCloseSystemStatusReqBuilder) Build() *BatchCloseSystemStatusReq
func (*BatchCloseSystemStatusReqBuilder) SystemStatusId ¶
func (builder *BatchCloseSystemStatusReqBuilder) SystemStatusId(systemStatusId string) *BatchCloseSystemStatusReqBuilder
系统状态ID;;[获取系统状态ID](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/personal_settings-v1/system_status/list)
示例值:7101214603622940671
func (*BatchCloseSystemStatusReqBuilder) UserIdType ¶
func (builder *BatchCloseSystemStatusReqBuilder) UserIdType(userIdType string) *BatchCloseSystemStatusReqBuilder
用户id类型 open_id/user_id/union_id
示例值:open_id
type BatchCloseSystemStatusResp ¶
type BatchCloseSystemStatusResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *BatchCloseSystemStatusRespData `json:"data"` // 业务数据 }
func (*BatchCloseSystemStatusResp) Success ¶
func (resp *BatchCloseSystemStatusResp) Success() bool
type BatchCloseSystemStatusRespData ¶
type BatchCloseSystemStatusRespData struct {
ResultList []*SystemStatusUserCloseResultEntity `json:"result_list,omitempty"` // 关闭结果
}
type BatchOpenSystemStatusPathReqBodyBuilder ¶
type BatchOpenSystemStatusPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewBatchOpenSystemStatusPathReqBodyBuilder ¶
func NewBatchOpenSystemStatusPathReqBodyBuilder() *BatchOpenSystemStatusPathReqBodyBuilder
func (*BatchOpenSystemStatusPathReqBodyBuilder) Build ¶
func (builder *BatchOpenSystemStatusPathReqBodyBuilder) Build() (*BatchOpenSystemStatusReqBody, error)
func (*BatchOpenSystemStatusPathReqBodyBuilder) UserList ¶
func (builder *BatchOpenSystemStatusPathReqBodyBuilder) UserList(userList []*SystemStatusUserOpenParam) *BatchOpenSystemStatusPathReqBodyBuilder
开启列表
示例值:
type BatchOpenSystemStatusReq ¶
type BatchOpenSystemStatusReq struct { Body *BatchOpenSystemStatusReqBody `body:""` // contains filtered or unexported fields }
type BatchOpenSystemStatusReqBody ¶
type BatchOpenSystemStatusReqBody struct {
UserList []*SystemStatusUserOpenParam `json:"user_list,omitempty"` // 开启列表
}
type BatchOpenSystemStatusReqBodyBuilder ¶
type BatchOpenSystemStatusReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewBatchOpenSystemStatusReqBodyBuilder ¶
func NewBatchOpenSystemStatusReqBodyBuilder() *BatchOpenSystemStatusReqBodyBuilder
func (*BatchOpenSystemStatusReqBodyBuilder) Build ¶
func (builder *BatchOpenSystemStatusReqBodyBuilder) Build() *BatchOpenSystemStatusReqBody
func (*BatchOpenSystemStatusReqBodyBuilder) UserList ¶
func (builder *BatchOpenSystemStatusReqBodyBuilder) UserList(userList []*SystemStatusUserOpenParam) *BatchOpenSystemStatusReqBodyBuilder
开启列表
示例值:
type BatchOpenSystemStatusReqBuilder ¶
type BatchOpenSystemStatusReqBuilder struct {
// contains filtered or unexported fields
}
func NewBatchOpenSystemStatusReqBuilder ¶
func NewBatchOpenSystemStatusReqBuilder() *BatchOpenSystemStatusReqBuilder
func (*BatchOpenSystemStatusReqBuilder) Body ¶
func (builder *BatchOpenSystemStatusReqBuilder) Body(body *BatchOpenSystemStatusReqBody) *BatchOpenSystemStatusReqBuilder
批量开启用户系统状态可用
func (*BatchOpenSystemStatusReqBuilder) Build ¶
func (builder *BatchOpenSystemStatusReqBuilder) Build() *BatchOpenSystemStatusReq
func (*BatchOpenSystemStatusReqBuilder) SystemStatusId ¶
func (builder *BatchOpenSystemStatusReqBuilder) SystemStatusId(systemStatusId string) *BatchOpenSystemStatusReqBuilder
系统状态ID;;[获取系统状态ID](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/personal_settings-v1/system_status/list)
示例值:7101214603622940672
func (*BatchOpenSystemStatusReqBuilder) UserIdType ¶
func (builder *BatchOpenSystemStatusReqBuilder) UserIdType(userIdType string) *BatchOpenSystemStatusReqBuilder
用户id类型 open_id/user_id/union_id
示例值:open_id
type BatchOpenSystemStatusResp ¶
type BatchOpenSystemStatusResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *BatchOpenSystemStatusRespData `json:"data"` // 业务数据 }
func (*BatchOpenSystemStatusResp) Success ¶
func (resp *BatchOpenSystemStatusResp) Success() bool
type BatchOpenSystemStatusRespData ¶
type BatchOpenSystemStatusRespData struct {
ResultList []*SystemStatusUserOpenResultEntity `json:"result_list,omitempty"` // 开启结果
}
type CreateSystemStatusReq ¶
type CreateSystemStatusReq struct { SystemStatus *SystemStatus `body:""` // contains filtered or unexported fields }
type CreateSystemStatusReqBuilder ¶
type CreateSystemStatusReqBuilder struct {
// contains filtered or unexported fields
}
func NewCreateSystemStatusReqBuilder ¶
func NewCreateSystemStatusReqBuilder() *CreateSystemStatusReqBuilder
func (*CreateSystemStatusReqBuilder) Build ¶
func (builder *CreateSystemStatusReqBuilder) Build() *CreateSystemStatusReq
func (*CreateSystemStatusReqBuilder) SystemStatus ¶
func (builder *CreateSystemStatusReqBuilder) SystemStatus(systemStatus *SystemStatus) *CreateSystemStatusReqBuilder
创建租户维度的系统状态。
type CreateSystemStatusResp ¶
type CreateSystemStatusResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *CreateSystemStatusRespData `json:"data"` // 业务数据 }
func (*CreateSystemStatusResp) Success ¶
func (resp *CreateSystemStatusResp) Success() bool
type CreateSystemStatusRespData ¶
type CreateSystemStatusRespData struct {
SystemStatus *SystemStatus `json:"system_status,omitempty"` // 系统状态
}
type DeleteSystemStatusReq ¶
type DeleteSystemStatusReq struct {
// contains filtered or unexported fields
}
type DeleteSystemStatusReqBuilder ¶
type DeleteSystemStatusReqBuilder struct {
// contains filtered or unexported fields
}
func NewDeleteSystemStatusReqBuilder ¶
func NewDeleteSystemStatusReqBuilder() *DeleteSystemStatusReqBuilder
func (*DeleteSystemStatusReqBuilder) Build ¶
func (builder *DeleteSystemStatusReqBuilder) Build() *DeleteSystemStatusReq
func (*DeleteSystemStatusReqBuilder) SystemStatusId ¶
func (builder *DeleteSystemStatusReqBuilder) SystemStatusId(systemStatusId string) *DeleteSystemStatusReqBuilder
系统状态ID;;[获取系统状态ID](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/personal_settings-v1/system_status/list)
示例值:7101214603622940633
type DeleteSystemStatusResp ¶
type DeleteSystemStatusResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*DeleteSystemStatusResp) Success ¶
func (resp *DeleteSystemStatusResp) Success() bool
type DepartmentId ¶
type DepartmentIdBuilder ¶
type DepartmentIdBuilder struct {
// contains filtered or unexported fields
}
func NewDepartmentIdBuilder ¶
func NewDepartmentIdBuilder() *DepartmentIdBuilder
func (*DepartmentIdBuilder) Build ¶
func (builder *DepartmentIdBuilder) Build() *DepartmentId
func (*DepartmentIdBuilder) DepartmentId ¶
func (builder *DepartmentIdBuilder) DepartmentId(departmentId string) *DepartmentIdBuilder
示例值:
func (*DepartmentIdBuilder) OpenDepartmentId ¶
func (builder *DepartmentIdBuilder) OpenDepartmentId(openDepartmentId string) *DepartmentIdBuilder
示例值:
type ListSystemStatusIterator ¶
type ListSystemStatusIterator struct {
// contains filtered or unexported fields
}
func (*ListSystemStatusIterator) Next ¶
func (iterator *ListSystemStatusIterator) Next() (bool, *SystemStatus, error)
func (*ListSystemStatusIterator) NextPageToken ¶
func (iterator *ListSystemStatusIterator) NextPageToken() *string
type ListSystemStatusReq ¶
type ListSystemStatusReq struct { Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效 // contains filtered or unexported fields }
type ListSystemStatusReqBuilder ¶
type ListSystemStatusReqBuilder struct {
// contains filtered or unexported fields
}
func NewListSystemStatusReqBuilder ¶
func NewListSystemStatusReqBuilder() *ListSystemStatusReqBuilder
func (*ListSystemStatusReqBuilder) Build ¶
func (builder *ListSystemStatusReqBuilder) Build() *ListSystemStatusReq
func (*ListSystemStatusReqBuilder) Limit ¶
func (builder *ListSystemStatusReqBuilder) Limit(limit int) *ListSystemStatusReqBuilder
最大返回多少记录,当使用迭代器访问时才有效
func (*ListSystemStatusReqBuilder) PageSize ¶
func (builder *ListSystemStatusReqBuilder) PageSize(pageSize int) *ListSystemStatusReqBuilder
分页大小
示例值:50
func (*ListSystemStatusReqBuilder) PageToken ¶
func (builder *ListSystemStatusReqBuilder) PageToken(pageToken string) *ListSystemStatusReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果
示例值:GxmvlNRvP0NdQZpa7yIqf_Lv_QuBwTQ8tXkX7w-irAghVD_TvuYd1aoJ1LQph86O-XImC4X9j9FhUPhXQDvtrQ==
type ListSystemStatusResp ¶
type ListSystemStatusResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *ListSystemStatusRespData `json:"data"` // 业务数据 }
func (*ListSystemStatusResp) Success ¶
func (resp *ListSystemStatusResp) Success() bool
type ListSystemStatusRespData ¶
type ListSystemStatusRespData struct { Items []*SystemStatus `json:"items,omitempty"` // 租户系统状态 PageToken *string `json:"page_token,omitempty"` // 分页token HasMore *bool `json:"has_more,omitempty"` // 是否存在更多 }
type PatchSystemStatusPathReqBodyBuilder ¶
type PatchSystemStatusPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewPatchSystemStatusPathReqBodyBuilder ¶
func NewPatchSystemStatusPathReqBodyBuilder() *PatchSystemStatusPathReqBodyBuilder
func (*PatchSystemStatusPathReqBodyBuilder) Build ¶
func (builder *PatchSystemStatusPathReqBodyBuilder) Build() (*PatchSystemStatusReqBody, error)
func (*PatchSystemStatusPathReqBodyBuilder) SystemStatus ¶
func (builder *PatchSystemStatusPathReqBodyBuilder) SystemStatus(systemStatus *SystemStatus) *PatchSystemStatusPathReqBodyBuilder
系统状态
示例值:
func (*PatchSystemStatusPathReqBodyBuilder) UpdateFields ¶
func (builder *PatchSystemStatusPathReqBodyBuilder) UpdateFields(updateFields []string) *PatchSystemStatusPathReqBodyBuilder
需要更新的字段
示例值:['TITLE']
type PatchSystemStatusReq ¶
type PatchSystemStatusReq struct { Body *PatchSystemStatusReqBody `body:""` // contains filtered or unexported fields }
type PatchSystemStatusReqBody ¶
type PatchSystemStatusReqBody struct { SystemStatus *SystemStatus `json:"system_status,omitempty"` // 系统状态 UpdateFields []string `json:"update_fields,omitempty"` // 需要更新的字段 }
type PatchSystemStatusReqBodyBuilder ¶
type PatchSystemStatusReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewPatchSystemStatusReqBodyBuilder ¶
func NewPatchSystemStatusReqBodyBuilder() *PatchSystemStatusReqBodyBuilder
func (*PatchSystemStatusReqBodyBuilder) Build ¶
func (builder *PatchSystemStatusReqBodyBuilder) Build() *PatchSystemStatusReqBody
func (*PatchSystemStatusReqBodyBuilder) SystemStatus ¶
func (builder *PatchSystemStatusReqBodyBuilder) SystemStatus(systemStatus *SystemStatus) *PatchSystemStatusReqBodyBuilder
系统状态
示例值:
func (*PatchSystemStatusReqBodyBuilder) UpdateFields ¶
func (builder *PatchSystemStatusReqBodyBuilder) UpdateFields(updateFields []string) *PatchSystemStatusReqBodyBuilder
需要更新的字段
示例值:['TITLE']
type PatchSystemStatusReqBuilder ¶
type PatchSystemStatusReqBuilder struct {
// contains filtered or unexported fields
}
func NewPatchSystemStatusReqBuilder ¶
func NewPatchSystemStatusReqBuilder() *PatchSystemStatusReqBuilder
func (*PatchSystemStatusReqBuilder) Body ¶
func (builder *PatchSystemStatusReqBuilder) Body(body *PatchSystemStatusReqBody) *PatchSystemStatusReqBuilder
修改租户维度系统状态。
func (*PatchSystemStatusReqBuilder) Build ¶
func (builder *PatchSystemStatusReqBuilder) Build() *PatchSystemStatusReq
func (*PatchSystemStatusReqBuilder) SystemStatusId ¶
func (builder *PatchSystemStatusReqBuilder) SystemStatusId(systemStatusId string) *PatchSystemStatusReqBuilder
系统状态ID;;[获取系统状态ID](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/personal_settings-v1/system_status/list)
示例值:7101214603622940633
type PatchSystemStatusResp ¶
type PatchSystemStatusResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *PatchSystemStatusRespData `json:"data"` // 业务数据 }
func (*PatchSystemStatusResp) Success ¶
func (resp *PatchSystemStatusResp) Success() bool
type PatchSystemStatusRespData ¶
type PatchSystemStatusRespData struct {
SystemStatus *SystemStatus `json:"system_status,omitempty"` // 系统状态
}
type SystemStatus ¶
type SystemStatus struct { SystemStatusId *string `json:"system_status_id,omitempty"` // 系统状态ID Title *string `json:"title,omitempty"` // 系统状态名称,名称字符数要在1到20范围内。不同系统状态的title不能重复。;; **注意:** ;- 1中文=2英文=2其他语言字符=2字符 I18nTitle *SystemStatusI18nName `json:"i18n_title,omitempty"` // 系统状态国际化名称,名称字符数要在1到20范围内。不同系统状态之间i18n_title中任何一种title都不能重复。;; **注意:** ;- 1中文=2英文=2其他语言字符=2字符 IconKey *string `json:"icon_key,omitempty"` // 图标;;[**了解icon_key可选值**](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/personal_settings-v1/system_status/overview) Color *string `json:"color,omitempty"` // 颜色 Priority *int `json:"priority,omitempty"` // 优先级,数值越小,客户端展示的优先级越高。不同系统状态的优先级不能一样。 SyncSetting *SystemStatusSyncSetting `json:"sync_setting,omitempty"` // 同步设置 }
type SystemStatusBuilder ¶
type SystemStatusBuilder struct {
// contains filtered or unexported fields
}
func NewSystemStatusBuilder ¶
func NewSystemStatusBuilder() *SystemStatusBuilder
func (*SystemStatusBuilder) Build ¶
func (builder *SystemStatusBuilder) Build() *SystemStatus
func (*SystemStatusBuilder) Color ¶
func (builder *SystemStatusBuilder) Color(color string) *SystemStatusBuilder
颜色
示例值:BLUE
func (*SystemStatusBuilder) I18nTitle ¶
func (builder *SystemStatusBuilder) I18nTitle(i18nTitle *SystemStatusI18nName) *SystemStatusBuilder
系统状态国际化名称,名称字符数要在1到20范围内。不同系统状态之间i18n_title中任何一种title都不能重复。;; **注意:** ;- 1中文=2英文=2其他语言字符=2字符
示例值:
func (*SystemStatusBuilder) IconKey ¶
func (builder *SystemStatusBuilder) IconKey(iconKey string) *SystemStatusBuilder
图标;;[**了解icon_key可选值**](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/personal_settings-v1/system_status/overview)
示例值:GeneralBusinessTrip
func (*SystemStatusBuilder) Priority ¶
func (builder *SystemStatusBuilder) Priority(priority int) *SystemStatusBuilder
优先级,数值越小,客户端展示的优先级越高。不同系统状态的优先级不能一样。
示例值:1
func (*SystemStatusBuilder) SyncSetting ¶
func (builder *SystemStatusBuilder) SyncSetting(syncSetting *SystemStatusSyncSetting) *SystemStatusBuilder
同步设置
示例值:
func (*SystemStatusBuilder) SystemStatusId ¶
func (builder *SystemStatusBuilder) SystemStatusId(systemStatusId string) *SystemStatusBuilder
系统状态ID
示例值:7101214603622940633
func (*SystemStatusBuilder) Title ¶
func (builder *SystemStatusBuilder) Title(title string) *SystemStatusBuilder
系统状态名称,名称字符数要在1到20范围内。不同系统状态的title不能重复。;; **注意:** ;- 1中文=2英文=2其他语言字符=2字符
示例值:出差
type SystemStatusI18nName ¶
type SystemStatusI18nNameBuilder ¶
type SystemStatusI18nNameBuilder struct {
// contains filtered or unexported fields
}
func NewSystemStatusI18nNameBuilder ¶
func NewSystemStatusI18nNameBuilder() *SystemStatusI18nNameBuilder
func (*SystemStatusI18nNameBuilder) Build ¶
func (builder *SystemStatusI18nNameBuilder) Build() *SystemStatusI18nName
func (*SystemStatusI18nNameBuilder) EnUs ¶
func (builder *SystemStatusI18nNameBuilder) EnUs(enUs string) *SystemStatusI18nNameBuilder
英文名
示例值:On business trip
func (*SystemStatusI18nNameBuilder) JaJp ¶
func (builder *SystemStatusI18nNameBuilder) JaJp(jaJp string) *SystemStatusI18nNameBuilder
日文名
示例值:出張中
func (*SystemStatusI18nNameBuilder) ZhCn ¶
func (builder *SystemStatusI18nNameBuilder) ZhCn(zhCn string) *SystemStatusI18nNameBuilder
中文名
示例值:出差
type SystemStatusSyncI18nExplainBuilder ¶
type SystemStatusSyncI18nExplainBuilder struct {
// contains filtered or unexported fields
}
func NewSystemStatusSyncI18nExplainBuilder ¶
func NewSystemStatusSyncI18nExplainBuilder() *SystemStatusSyncI18nExplainBuilder
func (*SystemStatusSyncI18nExplainBuilder) Build ¶
func (builder *SystemStatusSyncI18nExplainBuilder) Build() *SystemStatusSyncI18nExplain
func (*SystemStatusSyncI18nExplainBuilder) EnUs ¶
func (builder *SystemStatusSyncI18nExplainBuilder) EnUs(enUs string) *SystemStatusSyncI18nExplainBuilder
英文名
示例值:Auto-display after travel request is approved.
func (*SystemStatusSyncI18nExplainBuilder) JaJp ¶
func (builder *SystemStatusSyncI18nExplainBuilder) JaJp(jaJp string) *SystemStatusSyncI18nExplainBuilder
日文名
示例值:申請が承認されると、このステータスが優先的に表示されます
func (*SystemStatusSyncI18nExplainBuilder) ZhCn ¶
func (builder *SystemStatusSyncI18nExplainBuilder) ZhCn(zhCn string) *SystemStatusSyncI18nExplainBuilder
中文名
示例值:出差审批通过后,该状态将自动开启并优先展示
type SystemStatusSyncI18nNameBuilder ¶
type SystemStatusSyncI18nNameBuilder struct {
// contains filtered or unexported fields
}
func NewSystemStatusSyncI18nNameBuilder ¶
func NewSystemStatusSyncI18nNameBuilder() *SystemStatusSyncI18nNameBuilder
func (*SystemStatusSyncI18nNameBuilder) Build ¶
func (builder *SystemStatusSyncI18nNameBuilder) Build() *SystemStatusSyncI18nName
func (*SystemStatusSyncI18nNameBuilder) EnUs ¶
func (builder *SystemStatusSyncI18nNameBuilder) EnUs(enUs string) *SystemStatusSyncI18nNameBuilder
英文名
示例值:Auto display Business Trip
func (*SystemStatusSyncI18nNameBuilder) JaJp ¶
func (builder *SystemStatusSyncI18nNameBuilder) JaJp(jaJp string) *SystemStatusSyncI18nNameBuilder
日文名
示例值:出張中に自動的にオンにする
func (*SystemStatusSyncI18nNameBuilder) ZhCn ¶
func (builder *SystemStatusSyncI18nNameBuilder) ZhCn(zhCn string) *SystemStatusSyncI18nNameBuilder
中文名
示例值:出差期间自动开启
type SystemStatusSyncSetting ¶
type SystemStatusSyncSetting struct { IsOpenByDefault *bool `json:"is_open_by_default,omitempty"` // 是否默认开启 Title *string `json:"title,omitempty"` // 同步设置名称,名称字符数要在1到30范围内。;;**注意:** ;- 1中文=2英文=2其他语言字符=2字符 I18nTitle *SystemStatusSyncI18nName `json:"i18n_title,omitempty"` // 同步设置国际化名称,名称字符数要在1到30范围内。;;**注意:** ;- 1中文=2英文=2其他语言字符=2字符 Explain *string `json:"explain,omitempty"` // 同步设置解释文案,解释字符数要在1到60范围内。;;**注意:** ;- 1中文=2英文=2其他语言字符=2字符 I18nExplain *SystemStatusSyncI18nExplain `json:"i18n_explain,omitempty"` // 同步设置国际化解释文案,解释字符数要在1到60范围内。;;**注意:** ;- 1中文=2英文=2其他语言字符=2字符 }
type SystemStatusSyncSettingBuilder ¶
type SystemStatusSyncSettingBuilder struct {
// contains filtered or unexported fields
}
func NewSystemStatusSyncSettingBuilder ¶
func NewSystemStatusSyncSettingBuilder() *SystemStatusSyncSettingBuilder
func (*SystemStatusSyncSettingBuilder) Build ¶
func (builder *SystemStatusSyncSettingBuilder) Build() *SystemStatusSyncSetting
func (*SystemStatusSyncSettingBuilder) Explain ¶
func (builder *SystemStatusSyncSettingBuilder) Explain(explain string) *SystemStatusSyncSettingBuilder
同步设置解释文案,解释字符数要在1到60范围内。;;**注意:** ;- 1中文=2英文=2其他语言字符=2字符
示例值:出差审批通过后,将自动开启并优先展示该状态。
func (*SystemStatusSyncSettingBuilder) I18nExplain ¶
func (builder *SystemStatusSyncSettingBuilder) I18nExplain(i18nExplain *SystemStatusSyncI18nExplain) *SystemStatusSyncSettingBuilder
同步设置国际化解释文案,解释字符数要在1到60范围内。;;**注意:** ;- 1中文=2英文=2其他语言字符=2字符
示例值:
func (*SystemStatusSyncSettingBuilder) I18nTitle ¶
func (builder *SystemStatusSyncSettingBuilder) I18nTitle(i18nTitle *SystemStatusSyncI18nName) *SystemStatusSyncSettingBuilder
同步设置国际化名称,名称字符数要在1到30范围内。;;**注意:** ;- 1中文=2英文=2其他语言字符=2字符
示例值:
func (*SystemStatusSyncSettingBuilder) IsOpenByDefault ¶
func (builder *SystemStatusSyncSettingBuilder) IsOpenByDefault(isOpenByDefault bool) *SystemStatusSyncSettingBuilder
是否默认开启
示例值:true
func (*SystemStatusSyncSettingBuilder) Title ¶
func (builder *SystemStatusSyncSettingBuilder) Title(title string) *SystemStatusSyncSettingBuilder
同步设置名称,名称字符数要在1到30范围内。;;**注意:** ;- 1中文=2英文=2其他语言字符=2字符
示例值:出差期间自动开启
type SystemStatusUserCloseResultEntityBuilder ¶
type SystemStatusUserCloseResultEntityBuilder struct {
// contains filtered or unexported fields
}
func NewSystemStatusUserCloseResultEntityBuilder ¶
func NewSystemStatusUserCloseResultEntityBuilder() *SystemStatusUserCloseResultEntityBuilder
func (*SystemStatusUserCloseResultEntityBuilder) Build ¶
func (builder *SystemStatusUserCloseResultEntityBuilder) Build() *SystemStatusUserCloseResultEntity
func (*SystemStatusUserCloseResultEntityBuilder) Result ¶
func (builder *SystemStatusUserCloseResultEntityBuilder) Result(result string) *SystemStatusUserCloseResultEntityBuilder
关闭结果
示例值:success
func (*SystemStatusUserCloseResultEntityBuilder) UserId ¶
func (builder *SystemStatusUserCloseResultEntityBuilder) UserId(userId string) *SystemStatusUserCloseResultEntityBuilder
用户ID
示例值:ou_53edd3282dbc2fdbe5c593cfa5ce82ab
type SystemStatusUserOpenParamBuilder ¶
type SystemStatusUserOpenParamBuilder struct {
// contains filtered or unexported fields
}
func NewSystemStatusUserOpenParamBuilder ¶
func NewSystemStatusUserOpenParamBuilder() *SystemStatusUserOpenParamBuilder
func (*SystemStatusUserOpenParamBuilder) Build ¶
func (builder *SystemStatusUserOpenParamBuilder) Build() *SystemStatusUserOpenParam
func (*SystemStatusUserOpenParamBuilder) EndTime ¶
func (builder *SystemStatusUserOpenParamBuilder) EndTime(endTime string) *SystemStatusUserOpenParamBuilder
结束时间,传入的应为秒单位的时间戳,距当前的时间跨度不能超过365天。
示例值:1665990378
func (*SystemStatusUserOpenParamBuilder) UserId ¶
func (builder *SystemStatusUserOpenParamBuilder) UserId(userId string) *SystemStatusUserOpenParamBuilder
用户ID
示例值:ou_53edd3282dbc2fdbe5c593cfa5ce82ab
type SystemStatusUserOpenResultEntityBuilder ¶
type SystemStatusUserOpenResultEntityBuilder struct {
// contains filtered or unexported fields
}
func NewSystemStatusUserOpenResultEntityBuilder ¶
func NewSystemStatusUserOpenResultEntityBuilder() *SystemStatusUserOpenResultEntityBuilder
func (*SystemStatusUserOpenResultEntityBuilder) Build ¶
func (builder *SystemStatusUserOpenResultEntityBuilder) Build() *SystemStatusUserOpenResultEntity
func (*SystemStatusUserOpenResultEntityBuilder) EndTime ¶
func (builder *SystemStatusUserOpenResultEntityBuilder) EndTime(endTime string) *SystemStatusUserOpenResultEntityBuilder
结束时间,传入的应为秒单位的时间戳,距当前的时间跨度不能超过365天。
示例值:1665990378
func (*SystemStatusUserOpenResultEntityBuilder) Result ¶
func (builder *SystemStatusUserOpenResultEntityBuilder) Result(result string) *SystemStatusUserOpenResultEntityBuilder
开启结果
示例值:success_show
func (*SystemStatusUserOpenResultEntityBuilder) UserId ¶
func (builder *SystemStatusUserOpenResultEntityBuilder) UserId(userId string) *SystemStatusUserOpenResultEntityBuilder
用户ID
示例值:ou_53edd3282dbc2fdbe5c593cfa5ce82ab