larkbitable

package
v3.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: MIT Imports: 5 Imported by: 15

Documentation

Index

Constants

View Source
const (
	MemberIdTypeOpenID           = "open_id"            // 以open_id来识别协作者
	MemberIdTypeUnionID          = "union_id"           // 以union_id来识别协作者
	MemberIdTypeUserID           = "user_id"            // 以user_id来识别协作者
	MemberIdTypeChatID           = "chat_id"            // 以chat_id来识别协作者
	MemberIdTypeDepartmentID     = "department_id"      // 以department_id来识别协作者
	MemberIdTypeOpenDepartmentID = "open_department_id" // 以open_department_id来识别协作者
)
View Source
const (
	MemberIdTypeDeleteAppRoleMemberOpenID           = "open_id"            // 以open_id来识别协作者
	MemberIdTypeDeleteAppRoleMemberUnionID          = "union_id"           // 以union_id来识别协作者
	MemberIdTypeDeleteAppRoleMemberUserID           = "user_id"            // 以user_id来识别协作者
	MemberIdTypeDeleteAppRoleMemberChatID           = "chat_id"            // 以chat_id来识别协作者
	MemberIdTypeDeleteAppRoleMemberDepartmentID     = "department_id"      // 以department_id来识别协作者
	MemberIdTypeDeleteAppRoleMemberOpenDepartmentID = "open_department_id" // 以open_department_id来识别协作者
)
View Source
const (
	UserIdTypeUserId  = "user_id"  // 以user_id来识别用户
	UserIdTypeUnionId = "union_id" // 以union_id来识别用户
	UserIdTypeOpenId  = "open_id"  // 以open_id来识别用户
)
View Source
const (
	TypeText         = 1    // 多行文本(默认值)、条码
	TypeNumber       = 2    // 数字(默认值)、进度、货币、评分
	TypeSingleSelect = 3    // 单选
	TypeMultiSelect  = 4    // 多选
	TypeDateTime     = 5    // 日期
	TypeCheckbox     = 7    // 复选框
	TypeUser         = 11   // 人员
	TypePhoneNumber  = 13   // 电话号码
	TypeUrl          = 15   // 超链接
	TypeAttachment   = 17   // 附件
	TypeLink         = 18   // 单向关联
	TypeFormula      = 20   // 公式
	TypeDuplexLink   = 21   // 双向关联
	TypeLocation     = 22   // 地理位置
	TypeGroupChat    = 23   // 群组
	TypeCreatedTime  = 1001 // 创建时间
	TypeModifiedTime = 1002 // 最后更新时间
	TypeCreatedUser  = 1003 // 创建人
	TypeModifiedUser = 1004 // 修改人
	TypeAutoSerial   = 1005 // 自动编号

)
View Source
const (
	UiTypeText         = "Text"         // 多行文本
	UiTypeBarcode      = "Barcode"      // 条码
	UiTypeNumber       = "Number"       // 数字
	UiTypeProgress     = "Progress"     // 进度
	UiTypeCurrency     = "Currency"     // 货币
	UiTypeRating       = "Rating"       // 评分
	UiTypeSingleSelect = "SingleSelect" // 单选
	UiTypeMultiSelect  = "MultiSelect"  // 多选
	UiTypeDateTime     = "DateTime"     // 日期
	UiTypeCheckbox     = "Checkbox"     // 复选框
	UiTypeUser         = "User"         // 人员
	UiTypeGroupChat    = "GroupChat"    // 群组
	UiTypePhone        = "Phone"        // 电话号码
	UiTypeURL          = "Url"          // 超链接
	UiTypeAttachment   = "Attachment"   // 附件
	UiTypeSingleLink   = "SingleLink"   // 单向关联
	UiTypeFormula      = "Formula"      // 公式
	UiTypeDuplexLink   = "DuplexLink"   // 双向关联
	UiTypeLocation     = "Location"     // 地理位置
	UiTypeCreatedTime  = "CreatedTime"  // 创建时间
	UiTypeModifiedTime = "ModifiedTime" // 最后更新时间
	UiTypeCreatedUser  = "CreatedUser"  // 创建人
	UiTypeModifiedUser = "ModifiedUser" // 修改人
	UiTypeAutoNumber   = "AutoNumber"   // 自动编号
)
View Source
const (
	TypeUpdateAppTableFieldText         = 1    // 多行文本(默认值)、条码
	TypeUpdateAppTableFieldNumber       = 2    // 数字(默认值)、进度、货币、评分
	TypeUpdateAppTableFieldSingleSelect = 3    // 单选
	TypeUpdateAppTableFieldMultiSelect  = 4    // 多选
	TypeUpdateAppTableFieldDateTime     = 5    // 日期
	TypeUpdateAppTableFieldCheckbox     = 7    // 复选框
	TypeUpdateAppTableFieldUser         = 11   // 人员
	TypeUpdateAppTableFieldPhoneNumber  = 13   // 电话号码
	TypeUpdateAppTableFieldUrl          = 15   // 超链接
	TypeUpdateAppTableFieldAttachment   = 17   // 附件
	TypeUpdateAppTableFieldLink         = 18   // 单向关联
	TypeUpdateAppTableFieldFormula      = 20   // 公式
	TypeUpdateAppTableFieldDuplexLink   = 21   // 双向关联
	TypeUpdateAppTableFieldLocation     = 22   // 地理位置
	TypeUpdateAppTableFieldGroupChat    = 23   // 群组
	TypeUpdateAppTableFieldCreatedTime  = 1001 // 创建时间
	TypeUpdateAppTableFieldModifiedTime = 1002 // 最后更新时间
	TypeUpdateAppTableFieldCreatedUser  = 1003 // 创建人
	TypeUpdateAppTableFieldModifiedUser = 1004 // 修改人
	TypeUpdateAppTableFieldAutoSerial   = 1005 // 自动编号

)
View Source
const (
	UiTypeUpdateAppTableFieldText         = "Text"         // 多行文本
	UiTypeUpdateAppTableFieldBarcode      = "Barcode"      // 条码
	UiTypeUpdateAppTableFieldNumber       = "Number"       // 数字
	UiTypeUpdateAppTableFieldProgress     = "Progress"     // 进度
	UiTypeUpdateAppTableFieldCurrency     = "Currency"     // 货币
	UiTypeUpdateAppTableFieldRating       = "Rating"       // 评分
	UiTypeUpdateAppTableFieldSingleSelect = "SingleSelect" // 单选
	UiTypeUpdateAppTableFieldMultiSelect  = "MultiSelect"  // 多选
	UiTypeUpdateAppTableFieldDateTime     = "DateTime"     // 日期
	UiTypeUpdateAppTableFieldCheckbox     = "Checkbox"     // 复选框
	UiTypeUpdateAppTableFieldUser         = "User"         // 人员
	UiTypeUpdateAppTableFieldGroupChat    = "GroupChat"    // 群组
	UiTypeUpdateAppTableFieldPhone        = "Phone"        // 电话号码
	UiTypeUpdateAppTableFieldURL          = "Url"          // 超链接
	UiTypeUpdateAppTableFieldAttachment   = "Attachment"   // 附件
	UiTypeUpdateAppTableFieldSingleLink   = "SingleLink"   // 单向关联
	UiTypeUpdateAppTableFieldFormula      = "Formula"      // 公式
	UiTypeUpdateAppTableFieldDuplexLink   = "DuplexLink"   // 双向关联
	UiTypeUpdateAppTableFieldLocation     = "Location"     // 地理位置
	UiTypeUpdateAppTableFieldCreatedTime  = "CreatedTime"  // 创建时间
	UiTypeUpdateAppTableFieldModifiedTime = "ModifiedTime" // 最后更新时间
	UiTypeUpdateAppTableFieldCreatedUser  = "CreatedUser"  // 创建人
	UiTypeUpdateAppTableFieldModifiedUser = "ModifiedUser" // 修改人
	UiTypeUpdateAppTableFieldAutoNumber   = "AutoNumber"   // 自动编号
)
View Source
const (
	SharedLimitOff            = "off"             // 仅邀请的人可填写
	SharedLimitTenantEditable = "tenant_editable" // 组织内获得链接的人可填写
	SharedLimitAnyoneEditable = "anyone_editable" // 互联网上获得链接的人可填写
)
View Source
const (
	UserIdTypeBatchCreateAppTableRecordUserId  = "user_id"  // 以user_id来识别用户
	UserIdTypeBatchCreateAppTableRecordUnionId = "union_id" // 以union_id来识别用户
	UserIdTypeBatchCreateAppTableRecordOpenId  = "open_id"  // 以open_id来识别用户
)
View Source
const (
	UserIdTypeBatchUpdateAppTableRecordUserId  = "user_id"  // 以user_id来识别用户
	UserIdTypeBatchUpdateAppTableRecordUnionId = "union_id" // 以union_id来识别用户
	UserIdTypeBatchUpdateAppTableRecordOpenId  = "open_id"  // 以open_id来识别用户
)
View Source
const (
	UserIdTypeCreateAppTableRecordUserId  = "user_id"  // 以user_id来识别用户
	UserIdTypeCreateAppTableRecordUnionId = "union_id" // 以union_id来识别用户
	UserIdTypeCreateAppTableRecordOpenId  = "open_id"  // 以open_id来识别用户
)
View Source
const (
	UserIdTypeGetAppTableRecordUserId  = "user_id"  // 以user_id来识别用户
	UserIdTypeGetAppTableRecordUnionId = "union_id" // 以union_id来识别用户
	UserIdTypeGetAppTableRecordOpenId  = "open_id"  // 以open_id来识别用户
)
View Source
const (
	UserIdTypeListAppTableRecordUserId  = "user_id"  // 以user_id来识别用户
	UserIdTypeListAppTableRecordUnionId = "union_id" // 以union_id来识别用户
	UserIdTypeListAppTableRecordOpenId  = "open_id"  // 以open_id来识别用户
)
View Source
const (
	UserIdTypeSearchAppTableRecordUserId  = "user_id"  // 以user_id来识别用户
	UserIdTypeSearchAppTableRecordUnionId = "union_id" // 以union_id来识别用户
	UserIdTypeSearchAppTableRecordOpenId  = "open_id"  // 以open_id来识别用户
)
View Source
const (
	UserIdTypeUpdateAppTableRecordUserId  = "user_id"  // 以user_id来识别用户
	UserIdTypeUpdateAppTableRecordUnionId = "union_id" // 以union_id来识别用户
	UserIdTypeUpdateAppTableRecordOpenId  = "open_id"  // 以open_id来识别用户
)
View Source
const (
	ViewTypeGrid    = "grid"    // 表格视图
	ViewTypeKanban  = "kanban"  // 看板视图
	ViewTypeGallery = "gallery" // 画册视图
	ViewTypeGantt   = "gantt"   // 甘特视图
	ViewTypeForm    = "form"    // 表单视图
)
View Source
const (
	UserIdTypeListAppTableViewUserId  = "user_id"  // 以user_id来识别用户
	UserIdTypeListAppTableViewUnionId = "union_id" // 以union_id来识别用户
	UserIdTypeListAppTableViewOpenId  = "open_id"  // 以open_id来识别用户
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AllowedEditModes added in v3.0.24

type AllowedEditModes struct {
	Manual *bool `json:"manual,omitempty"` // 是否允许手动录入
	Scan   *bool `json:"scan,omitempty"`   // 是否允许移动端录入
}

type AllowedEditModesBuilder added in v3.0.24

type AllowedEditModesBuilder struct {
	// contains filtered or unexported fields
}

func NewAllowedEditModesBuilder added in v3.0.24

func NewAllowedEditModesBuilder() *AllowedEditModesBuilder

func (*AllowedEditModesBuilder) Build added in v3.0.24

func (builder *AllowedEditModesBuilder) Build() *AllowedEditModes

func (*AllowedEditModesBuilder) Manual added in v3.0.24

func (builder *AllowedEditModesBuilder) Manual(manual bool) *AllowedEditModesBuilder

是否允许手动录入

示例值:true

func (*AllowedEditModesBuilder) Scan added in v3.0.24

是否允许移动端录入

示例值:true

type App

type App struct {
	AppToken       *string `json:"app_token,omitempty"`        // 多维表格 app token
	Name           *string `json:"name,omitempty"`             // 多维表格 App 名字
	Revision       *int    `json:"revision,omitempty"`         // 多维表格 App 版本号
	FolderToken    *string `json:"folder_token,omitempty"`     // 多维表格 App 归属文件夹
	Url            *string `json:"url,omitempty"`              // 多维表格 App URL
	DefaultTableId *string `json:"default_table_id,omitempty"` // 默认的表格id
	TimeZone       *string `json:"time_zone,omitempty"`        // 文档时区,说明见:https://bytedance.feishu.cn/docx/YKRndTM7VoyDqpxqqeEcd67MnEf
}

type AppBuilder

type AppBuilder struct {
	// contains filtered or unexported fields
}

func NewAppBuilder

func NewAppBuilder() *AppBuilder

func (*AppBuilder) AppToken

func (builder *AppBuilder) AppToken(appToken string) *AppBuilder

多维表格 app token

示例值:

func (*AppBuilder) Build

func (builder *AppBuilder) Build() *App

func (*AppBuilder) DefaultTableId added in v3.0.30

func (builder *AppBuilder) DefaultTableId(defaultTableId string) *AppBuilder

默认的表格id

示例值:

func (*AppBuilder) FolderToken

func (builder *AppBuilder) FolderToken(folderToken string) *AppBuilder

多维表格 App 归属文件夹

示例值:

func (*AppBuilder) Name

func (builder *AppBuilder) Name(name string) *AppBuilder

多维表格 App 名字

示例值:

func (*AppBuilder) Revision

func (builder *AppBuilder) Revision(revision int) *AppBuilder

多维表格 App 版本号

示例值:

func (*AppBuilder) TimeZone added in v3.0.30

func (builder *AppBuilder) TimeZone(timeZone string) *AppBuilder

文档时区,说明见:https://bytedance.feishu.cn/docx/YKRndTM7VoyDqpxqqeEcd67MnEf

示例值:

func (*AppBuilder) Url

func (builder *AppBuilder) Url(url string) *AppBuilder

多维表格 App URL

示例值:

type AppDashboard added in v3.0.1

type AppDashboard struct {
	BlockId *string `json:"block_id,omitempty"` // 仪表盘 ID
	Name    *string `json:"name,omitempty"`     // 仪表盘名字
}

type AppDashboardBuilder added in v3.0.1

type AppDashboardBuilder struct {
	// contains filtered or unexported fields
}

func NewAppDashboardBuilder added in v3.0.1

func NewAppDashboardBuilder() *AppDashboardBuilder

func (*AppDashboardBuilder) BlockId added in v3.0.1

func (builder *AppDashboardBuilder) BlockId(blockId string) *AppDashboardBuilder

仪表盘 ID

示例值:blknkqrP3RqUkcAW

func (*AppDashboardBuilder) Build added in v3.0.1

func (builder *AppDashboardBuilder) Build() *AppDashboard

func (*AppDashboardBuilder) Name added in v3.0.1

func (builder *AppDashboardBuilder) Name(name string) *AppDashboardBuilder

仪表盘名字

示例值:仪表盘1

type AppFieldPropertyAutoSerial added in v3.0.1

type AppFieldPropertyAutoSerial struct {
	Type    *string                              `json:"type,omitempty"`    // 自动编号类型
	Options []*AppFieldPropertyAutoSerialOptions `json:"options,omitempty"` // 自动编号规则列表
}

type AppFieldPropertyAutoSerialBuilder added in v3.0.1

type AppFieldPropertyAutoSerialBuilder struct {
	// contains filtered or unexported fields
}

func NewAppFieldPropertyAutoSerialBuilder added in v3.0.1

func NewAppFieldPropertyAutoSerialBuilder() *AppFieldPropertyAutoSerialBuilder

func (*AppFieldPropertyAutoSerialBuilder) Build added in v3.0.1

func (*AppFieldPropertyAutoSerialBuilder) Options added in v3.0.1

自动编号规则列表

示例值:

func (*AppFieldPropertyAutoSerialBuilder) Type added in v3.0.1

自动编号类型

示例值:auto_increment_number

type AppFieldPropertyAutoSerialOptions added in v3.0.1

type AppFieldPropertyAutoSerialOptions struct {
	Type  *string `json:"type,omitempty"`  // 自动编号的可选规则项类型
	Value *string `json:"value,omitempty"` // 与自动编号的可选规则项类型相对应的取值
}

type AppFieldPropertyAutoSerialOptionsBuilder added in v3.0.1

type AppFieldPropertyAutoSerialOptionsBuilder struct {
	// contains filtered or unexported fields
}

func NewAppFieldPropertyAutoSerialOptionsBuilder added in v3.0.1

func NewAppFieldPropertyAutoSerialOptionsBuilder() *AppFieldPropertyAutoSerialOptionsBuilder

func (*AppFieldPropertyAutoSerialOptionsBuilder) Build added in v3.0.1

func (*AppFieldPropertyAutoSerialOptionsBuilder) Type added in v3.0.1

自动编号的可选规则项类型

示例值:created_time

func (*AppFieldPropertyAutoSerialOptionsBuilder) Value added in v3.0.1

与自动编号的可选规则项类型相对应的取值

示例值:yyyyMMdd

type AppFieldPropertyLocation added in v3.0.1

type AppFieldPropertyLocation struct {
	InputType *string `json:"input_type,omitempty"` // 地理位置输入限制
}

type AppFieldPropertyLocationBuilder added in v3.0.1

type AppFieldPropertyLocationBuilder struct {
	// contains filtered or unexported fields
}

func NewAppFieldPropertyLocationBuilder added in v3.0.1

func NewAppFieldPropertyLocationBuilder() *AppFieldPropertyLocationBuilder

func (*AppFieldPropertyLocationBuilder) Build added in v3.0.1

func (*AppFieldPropertyLocationBuilder) InputType added in v3.0.1

地理位置输入限制

示例值:not_limit

type AppRole

type AppRole struct {
	RoleName   *string             `json:"role_name,omitempty"`   // 自定义角色的名字
	RoleId     *string             `json:"role_id,omitempty"`     // 自定义角色的id
	TableRoles []*AppRoleTableRole `json:"table_roles,omitempty"` // 数据表角色
	BlockRoles []*AppRoleBlockRole `json:"block_roles,omitempty"` // block权限
}

type AppRoleBlockRole added in v3.0.1

type AppRoleBlockRole struct {
	BlockId   *string `json:"block_id,omitempty"`   // Block 的 ID,例如列出仪表盘接口中的仪表盘 block  id
	BlockType *string `json:"block_type,omitempty"` // Block类型
	BlockPerm *int    `json:"block_perm,omitempty"` // Block权限
}

type AppRoleBlockRoleBuilder added in v3.0.1

type AppRoleBlockRoleBuilder struct {
	// contains filtered or unexported fields
}

func NewAppRoleBlockRoleBuilder added in v3.0.1

func NewAppRoleBlockRoleBuilder() *AppRoleBlockRoleBuilder

func (*AppRoleBlockRoleBuilder) BlockId added in v3.0.1

func (builder *AppRoleBlockRoleBuilder) BlockId(blockId string) *AppRoleBlockRoleBuilder

Block 的 ID,例如列出仪表盘接口中的仪表盘 block id

示例值:blknkqrP3RqUkcAW

func (*AppRoleBlockRoleBuilder) BlockPerm added in v3.0.1

func (builder *AppRoleBlockRoleBuilder) BlockPerm(blockPerm int) *AppRoleBlockRoleBuilder

Block权限

示例值:0

func (*AppRoleBlockRoleBuilder) BlockType added in v3.0.1

func (builder *AppRoleBlockRoleBuilder) BlockType(blockType string) *AppRoleBlockRoleBuilder

Block类型

示例值:dashboard

func (*AppRoleBlockRoleBuilder) Build added in v3.0.1

func (builder *AppRoleBlockRoleBuilder) Build() *AppRoleBlockRole

type AppRoleBuilder

type AppRoleBuilder struct {
	// contains filtered or unexported fields
}

func NewAppRoleBuilder

func NewAppRoleBuilder() *AppRoleBuilder

func (*AppRoleBuilder) BlockRoles added in v3.0.1

func (builder *AppRoleBuilder) BlockRoles(blockRoles []*AppRoleBlockRole) *AppRoleBuilder

block权限

示例值:

func (*AppRoleBuilder) Build

func (builder *AppRoleBuilder) Build() *AppRole

func (*AppRoleBuilder) RoleId

func (builder *AppRoleBuilder) RoleId(roleId string) *AppRoleBuilder

自定义角色的id

示例值:roljRpwIUt

func (*AppRoleBuilder) RoleName

func (builder *AppRoleBuilder) RoleName(roleName string) *AppRoleBuilder

自定义角色的名字

示例值:自定义角色1

func (*AppRoleBuilder) TableRoles

func (builder *AppRoleBuilder) TableRoles(tableRoles []*AppRoleTableRole) *AppRoleBuilder

数据表角色

示例值:

type AppRoleMember

type AppRoleMember struct {
	MemberId         *string `json:"member_id,omitempty"`          // 协作者id
	OpenId           *string `json:"open_id,omitempty"`            // 用户的 open_id
	UnionId          *string `json:"union_id,omitempty"`           // 用户的 union_id
	UserId           *string `json:"user_id,omitempty"`            // 用户的 user_id
	ChatId           *string `json:"chat_id,omitempty"`            // 群聊的 chat_id
	DepartmentId     *string `json:"department_id,omitempty"`      // 部门的 department_id
	OpenDepartmentId *string `json:"open_department_id,omitempty"` // 部门的 open_department_id
	MemberName       *string `json:"member_name,omitempty"`        // 协作者名字
	MemberEnName     *string `json:"member_en_name,omitempty"`     // 协作者英文名
	MemberType       *string `json:"member_type,omitempty"`        // 协作者类型
}

type AppRoleMemberBuilder

type AppRoleMemberBuilder struct {
	// contains filtered or unexported fields
}

func NewAppRoleMemberBuilder

func NewAppRoleMemberBuilder() *AppRoleMemberBuilder

func (*AppRoleMemberBuilder) Build

func (builder *AppRoleMemberBuilder) Build() *AppRoleMember

func (*AppRoleMemberBuilder) ChatId

func (builder *AppRoleMemberBuilder) ChatId(chatId string) *AppRoleMemberBuilder

群聊的 chat_id

示例值:oc_xxxxxxxx

func (*AppRoleMemberBuilder) DepartmentId

func (builder *AppRoleMemberBuilder) DepartmentId(departmentId string) *AppRoleMemberBuilder

部门的 department_id

示例值:xxxxxxxx

func (*AppRoleMemberBuilder) MemberEnName

func (builder *AppRoleMemberBuilder) MemberEnName(memberEnName string) *AppRoleMemberBuilder

协作者英文名

示例值:San Zhang

func (*AppRoleMemberBuilder) MemberId

func (builder *AppRoleMemberBuilder) MemberId(memberId string) *AppRoleMemberBuilder

协作者id

示例值:ou_7dab8a3d3cdcc9da365777c7ad535d62

func (*AppRoleMemberBuilder) MemberName

func (builder *AppRoleMemberBuilder) MemberName(memberName string) *AppRoleMemberBuilder

协作者名字

示例值:张三

func (*AppRoleMemberBuilder) MemberType

func (builder *AppRoleMemberBuilder) MemberType(memberType string) *AppRoleMemberBuilder

协作者类型

示例值:user

func (*AppRoleMemberBuilder) OpenDepartmentId

func (builder *AppRoleMemberBuilder) OpenDepartmentId(openDepartmentId string) *AppRoleMemberBuilder

部门的 open_department_id

示例值:od-xxxxxxxx

func (*AppRoleMemberBuilder) OpenId

func (builder *AppRoleMemberBuilder) OpenId(openId string) *AppRoleMemberBuilder

用户的 open_id

示例值:ou_xxxxxxxx

func (*AppRoleMemberBuilder) UnionId

func (builder *AppRoleMemberBuilder) UnionId(unionId string) *AppRoleMemberBuilder

用户的 union_id

示例值:on_xxxxxxxx

func (*AppRoleMemberBuilder) UserId

func (builder *AppRoleMemberBuilder) UserId(userId string) *AppRoleMemberBuilder

用户的 user_id

示例值:xxxxxxxx

type AppRoleMemberId

type AppRoleMemberId struct {
	Type *string `json:"type,omitempty"` // 协作者 ID 类型
	Id   *string `json:"id,omitempty"`   // 协作者 ID
}

type AppRoleMemberIdBuilder

type AppRoleMemberIdBuilder struct {
	// contains filtered or unexported fields
}

func NewAppRoleMemberIdBuilder

func NewAppRoleMemberIdBuilder() *AppRoleMemberIdBuilder

func (*AppRoleMemberIdBuilder) Build

func (builder *AppRoleMemberIdBuilder) Build() *AppRoleMemberId

func (*AppRoleMemberIdBuilder) Id

协作者 ID

示例值:ou_35990a9d9052051a2fae9b2f1afabcef

func (*AppRoleMemberIdBuilder) Type

协作者 ID 类型

示例值:open_id

type AppRoleTableRole

type AppRoleTableRole struct {
	TablePerm         *int                     `json:"table_perm,omitempty"`          // 数据表权限,`协作者可编辑自己的记录`和`可编辑指定字段`是`可编辑记录`的特殊情况,可通过指定`rec_rule`或`field_perm`参数实现相同的效果
	TableName         *string                  `json:"table_name,omitempty"`          // 数据表名
	TableId           *string                  `json:"table_id,omitempty"`            // 数据表ID
	RecRule           *AppRoleTableRoleRecRule `json:"rec_rule,omitempty"`            // 记录筛选条件,在table_perm为1或2时有意义,用于指定可编辑或可阅读某些记录
	FieldPerm         map[string]int           `json:"field_perm,omitempty"`          // 字段权限,仅在table_perm为2时有意义,设置字段可编辑或可阅读。类型为 map,key 是字段名,value 是字段权限;;**value 枚举值有:**;- `1`:可阅读;- `2`:可编辑
	AllowAddRecord    *bool                    `json:"allow_add_record,omitempty"`    // 新增记录权限,仅在table_perm为2时有意义,用于设置记录是否可以新增。
	AllowDeleteRecord *bool                    `json:"allow_delete_record,omitempty"` // 删除记录权限,仅在table_perm为2时有意义,用于设置记录是否可以删除
}

type AppRoleTableRoleBuilder

type AppRoleTableRoleBuilder struct {
	// contains filtered or unexported fields
}

func NewAppRoleTableRoleBuilder

func NewAppRoleTableRoleBuilder() *AppRoleTableRoleBuilder

func (*AppRoleTableRoleBuilder) AllowAddRecord added in v3.0.1

func (builder *AppRoleTableRoleBuilder) AllowAddRecord(allowAddRecord bool) *AppRoleTableRoleBuilder

新增记录权限,仅在table_perm为2时有意义,用于设置记录是否可以新增。

示例值:true

func (*AppRoleTableRoleBuilder) AllowDeleteRecord added in v3.0.1

func (builder *AppRoleTableRoleBuilder) AllowDeleteRecord(allowDeleteRecord bool) *AppRoleTableRoleBuilder

删除记录权限,仅在table_perm为2时有意义,用于设置记录是否可以删除

示例值:true

func (*AppRoleTableRoleBuilder) Build

func (builder *AppRoleTableRoleBuilder) Build() *AppRoleTableRole

func (*AppRoleTableRoleBuilder) FieldPerm

func (builder *AppRoleTableRoleBuilder) FieldPerm(fieldPerm map[string]int) *AppRoleTableRoleBuilder

字段权限,仅在table_perm为2时有意义,设置字段可编辑或可阅读。类型为 map,key 是字段名,value 是字段权限;;**value 枚举值有:**;- `1`:可阅读;- `2`:可编辑

示例值:{"姓名": 1, "年龄": 2}

func (*AppRoleTableRoleBuilder) RecRule

记录筛选条件,在table_perm为1或2时有意义,用于指定可编辑或可阅读某些记录

示例值:

func (*AppRoleTableRoleBuilder) TableId added in v3.0.1

func (builder *AppRoleTableRoleBuilder) TableId(tableId string) *AppRoleTableRoleBuilder

数据表ID

示例值:tblKz5D60T4JlfcT

func (*AppRoleTableRoleBuilder) TableName

func (builder *AppRoleTableRoleBuilder) TableName(tableName string) *AppRoleTableRoleBuilder

数据表名

示例值:数据表1

func (*AppRoleTableRoleBuilder) TablePerm

func (builder *AppRoleTableRoleBuilder) TablePerm(tablePerm int) *AppRoleTableRoleBuilder

数据表权限,`协作者可编辑自己的记录`和`可编辑指定字段`是`可编辑记录`的特殊情况,可通过指定`rec_rule`或`field_perm`参数实现相同的效果

示例值:0

type AppRoleTableRoleFieldPerm

type AppRoleTableRoleFieldPerm struct {
}

type AppRoleTableRoleRecRule

type AppRoleTableRoleRecRule struct {
	Conditions  []*AppRoleTableRoleRecRuleCondition `json:"conditions,omitempty"`  // 记录筛选条件
	Conjunction *string                             `json:"conjunction,omitempty"` // 多个筛选条件的关系
	OtherPerm   *int                                `json:"other_perm,omitempty"`  // 其他记录权限,仅在table_perm为2时有意义
}

type AppRoleTableRoleRecRuleBuilder

type AppRoleTableRoleRecRuleBuilder struct {
	// contains filtered or unexported fields
}

func NewAppRoleTableRoleRecRuleBuilder

func NewAppRoleTableRoleRecRuleBuilder() *AppRoleTableRoleRecRuleBuilder

func (*AppRoleTableRoleRecRuleBuilder) Build

func (*AppRoleTableRoleRecRuleBuilder) Conditions

记录筛选条件

示例值:

func (*AppRoleTableRoleRecRuleBuilder) Conjunction

func (builder *AppRoleTableRoleRecRuleBuilder) Conjunction(conjunction string) *AppRoleTableRoleRecRuleBuilder

多个筛选条件的关系

示例值:and

func (*AppRoleTableRoleRecRuleBuilder) OtherPerm

func (builder *AppRoleTableRoleRecRuleBuilder) OtherPerm(otherPerm int) *AppRoleTableRoleRecRuleBuilder

其他记录权限,仅在table_perm为2时有意义

示例值:0

type AppRoleTableRoleRecRuleCondition

type AppRoleTableRoleRecRuleCondition struct {
	FieldName *string  `json:"field_name,omitempty"` // 字段名,记录筛选条件是`创建人包含访问者本人`时,此参数值为""
	Operator  *string  `json:"operator,omitempty"`   // 运算符
	Value     []string `json:"value,omitempty"`      // 单选或多选字段的选项id
	FieldType *int     `json:"field_type,omitempty"` // 字段类型
}

type AppRoleTableRoleRecRuleConditionBuilder

type AppRoleTableRoleRecRuleConditionBuilder struct {
	// contains filtered or unexported fields
}

func NewAppRoleTableRoleRecRuleConditionBuilder

func NewAppRoleTableRoleRecRuleConditionBuilder() *AppRoleTableRoleRecRuleConditionBuilder

func (*AppRoleTableRoleRecRuleConditionBuilder) Build

func (*AppRoleTableRoleRecRuleConditionBuilder) FieldName

字段名,记录筛选条件是`创建人包含访问者本人`时,此参数值为""

示例值:单选

func (*AppRoleTableRoleRecRuleConditionBuilder) FieldType

字段类型

示例值:3

func (*AppRoleTableRoleRecRuleConditionBuilder) Operator

运算符

示例值:is

func (*AppRoleTableRoleRecRuleConditionBuilder) Value

单选或多选字段的选项id

示例值:["optbdVHf4q", "optrpd3eIJ"]

type AppTable

type AppTable struct {
	TableId  *string `json:"table_id,omitempty"` // 数据表 id
	Revision *int    `json:"revision,omitempty"` // 数据表的版本号
	Name     *string `json:"name,omitempty"`     // 数据表名字
}

type AppTableBuilder

type AppTableBuilder struct {
	// contains filtered or unexported fields
}

func NewAppTableBuilder

func NewAppTableBuilder() *AppTableBuilder

func (*AppTableBuilder) Build

func (builder *AppTableBuilder) Build() *AppTable

func (*AppTableBuilder) Name

func (builder *AppTableBuilder) Name(name string) *AppTableBuilder

数据表名字

示例值:

func (*AppTableBuilder) Revision

func (builder *AppTableBuilder) Revision(revision int) *AppTableBuilder

数据表的版本号

示例值:

func (*AppTableBuilder) TableId

func (builder *AppTableBuilder) TableId(tableId string) *AppTableBuilder

数据表 id

示例值:

type AppTableCreateHeader added in v3.0.13

type AppTableCreateHeader struct {
	FieldName   *string                   `json:"field_name,omitempty"`  // 字段名
	Type        *int                      `json:"type,omitempty"`        // 字段类型
	UiType      *string                   `json:"ui_type,omitempty"`     // 字段在界面上的展示类型,例如进度字段是数字的一种展示形态
	FieldId     *string                   `json:"field_id,omitempty"`    // 字段Id
	Property    *AppTableFieldProperty    `json:"property,omitempty"`    // 字段属性
	Description *AppTableFieldDescription `json:"description,omitempty"` // 字段的描述
}

type AppTableCreateHeaderBuilder added in v3.0.13

type AppTableCreateHeaderBuilder struct {
	// contains filtered or unexported fields
}

func NewAppTableCreateHeaderBuilder added in v3.0.13

func NewAppTableCreateHeaderBuilder() *AppTableCreateHeaderBuilder

func (*AppTableCreateHeaderBuilder) Build added in v3.0.13

func (*AppTableCreateHeaderBuilder) Description added in v3.0.13

字段的描述

示例值:

func (*AppTableCreateHeaderBuilder) FieldId added in v3.0.13

字段Id

示例值:fldDOzItFG

func (*AppTableCreateHeaderBuilder) FieldName added in v3.0.13

func (builder *AppTableCreateHeaderBuilder) FieldName(fieldName string) *AppTableCreateHeaderBuilder

字段名

示例值:文本

func (*AppTableCreateHeaderBuilder) Property added in v3.0.13

字段属性

示例值:

func (*AppTableCreateHeaderBuilder) Type added in v3.0.13

字段类型

示例值:1

func (*AppTableCreateHeaderBuilder) UiType added in v3.0.27

字段在界面上的展示类型,例如进度字段是数字的一种展示形态

示例值:Progress

type AppTableField

type AppTableField struct {
	FieldName   *string                   `json:"field_name,omitempty"`  // 多维表格字段名
	Type        *int                      `json:"type,omitempty"`        // 多维表格字段类型
	Property    *AppTableFieldProperty    `json:"property,omitempty"`    // 字段属性,具体参考:[字段编辑指南](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/bitable-v1/app-table-field/guide)
	Description *AppTableFieldDescription `json:"description,omitempty"` // 字段的描述
	IsPrimary   *bool                     `json:"is_primary,omitempty"`  // 是否是索引列
	FieldId     *string                   `json:"field_id,omitempty"`    // 多维表格字段 id
	UiType      *string                   `json:"ui_type,omitempty"`     // 字段在界面上的展示类型,例如进度字段是数字的一种展示形态
	IsHidden    *bool                     `json:"is_hidden,omitempty"`   // 是否是隐藏字段
}

type AppTableFieldBuilder

type AppTableFieldBuilder struct {
	// contains filtered or unexported fields
}

func NewAppTableFieldBuilder

func NewAppTableFieldBuilder() *AppTableFieldBuilder

func (*AppTableFieldBuilder) Build

func (builder *AppTableFieldBuilder) Build() *AppTableField

func (*AppTableFieldBuilder) Description added in v3.0.2

func (builder *AppTableFieldBuilder) Description(description *AppTableFieldDescription) *AppTableFieldBuilder

字段的描述

示例值:

func (*AppTableFieldBuilder) FieldId

func (builder *AppTableFieldBuilder) FieldId(fieldId string) *AppTableFieldBuilder

多维表格字段 id

示例值:fldWJyCkFQ

func (*AppTableFieldBuilder) FieldName

func (builder *AppTableFieldBuilder) FieldName(fieldName string) *AppTableFieldBuilder

多维表格字段名

示例值:多行文本

func (*AppTableFieldBuilder) IsHidden added in v3.0.20

func (builder *AppTableFieldBuilder) IsHidden(isHidden bool) *AppTableFieldBuilder

是否是隐藏字段

示例值:false

func (*AppTableFieldBuilder) IsPrimary added in v3.0.19

func (builder *AppTableFieldBuilder) IsPrimary(isPrimary bool) *AppTableFieldBuilder

是否是索引列

示例值:true

func (*AppTableFieldBuilder) Property

func (builder *AppTableFieldBuilder) Property(property *AppTableFieldProperty) *AppTableFieldBuilder

字段属性,具体参考:[字段编辑指南](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/bitable-v1/app-table-field/guide)

示例值:

func (*AppTableFieldBuilder) Type

func (builder *AppTableFieldBuilder) Type(type_ int) *AppTableFieldBuilder

多维表格字段类型

示例值:1

func (*AppTableFieldBuilder) UiType added in v3.0.19

func (builder *AppTableFieldBuilder) UiType(uiType string) *AppTableFieldBuilder

字段在界面上的展示类型,例如进度字段是数字的一种展示形态

示例值:Progress

type AppTableFieldDescription added in v3.0.2

type AppTableFieldDescription struct {
	DisableSync *bool   `json:"disable_sync,omitempty"` // 是否禁止同步,如果为true,表示禁止同步该描述内容到表单的问题描述(只在新增、修改字段时生效)
	Text        *string `json:"text,omitempty"`         // 字段描述内容
}

type AppTableFieldDescriptionBuilder added in v3.0.2

type AppTableFieldDescriptionBuilder struct {
	// contains filtered or unexported fields
}

func NewAppTableFieldDescriptionBuilder added in v3.0.2

func NewAppTableFieldDescriptionBuilder() *AppTableFieldDescriptionBuilder

func (*AppTableFieldDescriptionBuilder) Build added in v3.0.2

func (*AppTableFieldDescriptionBuilder) DisableSync added in v3.0.2

func (builder *AppTableFieldDescriptionBuilder) DisableSync(disableSync bool) *AppTableFieldDescriptionBuilder

是否禁止同步,如果为true,表示禁止同步该描述内容到表单的问题描述(只在新增、修改字段时生效)

示例值:ture

func (*AppTableFieldDescriptionBuilder) Text added in v3.0.2

字段描述内容

示例值:这是一个字段描述

type AppTableFieldForList added in v3.0.28

type AppTableFieldForList struct {
	FieldName   *string                `json:"field_name,omitempty"`  // 字段名
	Type        *int                   `json:"type,omitempty"`        // 字段类型
	Property    *AppTableFieldProperty `json:"property,omitempty"`    // 字段属性
	Description interface{}            `json:"description,omitempty"` // 字段的描述, text_field_as_array为false时值为字符串,为true则是对象数组
	IsPrimary   *bool                  `json:"is_primary,omitempty"`  // 是否是索引列
	FieldId     *string                `json:"field_id,omitempty"`    // 字段Id
	UiType      *string                `json:"ui_type,omitempty"`     // 字段在界面上的展示类型,例如进度字段是数字的一种展示形态
	IsHidden    *bool                  `json:"is_hidden,omitempty"`   // 是否是隐藏字段
}

type AppTableFieldForListBuilder added in v3.0.28

type AppTableFieldForListBuilder struct {
	// contains filtered or unexported fields
}

func NewAppTableFieldForListBuilder added in v3.0.28

func NewAppTableFieldForListBuilder() *AppTableFieldForListBuilder

func (*AppTableFieldForListBuilder) Build added in v3.0.28

func (*AppTableFieldForListBuilder) Description added in v3.0.28

func (builder *AppTableFieldForListBuilder) Description(description interface{}) *AppTableFieldForListBuilder

字段的描述, text_field_as_array为false时值为字符串,为true则是对象数组

示例值:

func (*AppTableFieldForListBuilder) FieldId added in v3.0.28

字段Id

示例值:fldWJyCkFQ

func (*AppTableFieldForListBuilder) FieldName added in v3.0.28

func (builder *AppTableFieldForListBuilder) FieldName(fieldName string) *AppTableFieldForListBuilder

字段名

示例值:字段名称

func (*AppTableFieldForListBuilder) IsHidden added in v3.0.28

func (builder *AppTableFieldForListBuilder) IsHidden(isHidden bool) *AppTableFieldForListBuilder

是否是隐藏字段

示例值:false

func (*AppTableFieldForListBuilder) IsPrimary added in v3.0.28

func (builder *AppTableFieldForListBuilder) IsPrimary(isPrimary bool) *AppTableFieldForListBuilder

是否是索引列

示例值:true

func (*AppTableFieldForListBuilder) Property added in v3.0.28

字段属性

示例值:

func (*AppTableFieldForListBuilder) Type added in v3.0.28

字段类型

示例值:1

func (*AppTableFieldForListBuilder) UiType added in v3.0.28

字段在界面上的展示类型,例如进度字段是数字的一种展示形态

示例值:Progress

type AppTableFieldProperty

type AppTableFieldProperty struct {
	Options           []*AppTableFieldPropertyOption `json:"options,omitempty"`            // 单选、多选字段的选项信息
	Formatter         *string                        `json:"formatter,omitempty"`          // 数字、公式字段的显示格式
	DateFormatter     *string                        `json:"date_formatter,omitempty"`     // 日期、创建时间、最后更新时间字段的显示格式
	AutoFill          *bool                          `json:"auto_fill,omitempty"`          // 日期字段中新纪录自动填写创建时间
	Multiple          *bool                          `json:"multiple,omitempty"`           // 人员字段中允许添加多个成员,单向关联、双向关联中允许添加多个记录
	TableId           *string                        `json:"table_id,omitempty"`           // 单向关联、双向关联字段中关联的数据表的id
	TableName         *string                        `json:"table_name,omitempty"`         // 单向关联、双向关联字段中关联的数据表的名字
	BackFieldName     *string                        `json:"back_field_name,omitempty"`    // 双向关联字段中关联的数据表中对应的双向关联字段的名字
	AutoSerial        *AppFieldPropertyAutoSerial    `json:"auto_serial,omitempty"`        // 自动编号类型
	Location          *AppFieldPropertyLocation      `json:"location,omitempty"`           // 地理位置输入方式
	FormulaExpression *string                        `json:"formula_expression,omitempty"` // 公式字段的表达式
	AllowedEditModes  *AllowedEditModes              `json:"allowed_edit_modes,omitempty"` // 字段支持的编辑模式
	Min               *float64                       `json:"min,omitempty"`                // 进度、评分等字段的数据范围最小值
	Max               *float64                       `json:"max,omitempty"`                // 进度、评分等字段的数据范围最大值
	RangeCustomize    *bool                          `json:"range_customize,omitempty"`    // 进度等字段是否支持自定义范围
	CurrencyCode      *string                        `json:"currency_code,omitempty"`      // 货币币种
	Rating            *Rating                        `json:"rating,omitempty"`             // 评分字段的相关设置
}

type AppTableFieldPropertyBuilder

type AppTableFieldPropertyBuilder struct {
	// contains filtered or unexported fields
}

func NewAppTableFieldPropertyBuilder

func NewAppTableFieldPropertyBuilder() *AppTableFieldPropertyBuilder

func (*AppTableFieldPropertyBuilder) AllowedEditModes added in v3.0.24

func (builder *AppTableFieldPropertyBuilder) AllowedEditModes(allowedEditModes *AllowedEditModes) *AppTableFieldPropertyBuilder

字段支持的编辑模式

示例值:

func (*AppTableFieldPropertyBuilder) AutoFill

func (builder *AppTableFieldPropertyBuilder) AutoFill(autoFill bool) *AppTableFieldPropertyBuilder

日期字段中新纪录自动填写创建时间

示例值:false

func (*AppTableFieldPropertyBuilder) AutoSerial added in v3.0.1

自动编号类型

示例值:

func (*AppTableFieldPropertyBuilder) BackFieldName

func (builder *AppTableFieldPropertyBuilder) BackFieldName(backFieldName string) *AppTableFieldPropertyBuilder

双向关联字段中关联的数据表中对应的双向关联字段的名字

示例值:"table1-双向关联"

func (*AppTableFieldPropertyBuilder) Build

func (*AppTableFieldPropertyBuilder) CurrencyCode added in v3.0.24

func (builder *AppTableFieldPropertyBuilder) CurrencyCode(currencyCode string) *AppTableFieldPropertyBuilder

货币币种

示例值:CNY

func (*AppTableFieldPropertyBuilder) DateFormatter

func (builder *AppTableFieldPropertyBuilder) DateFormatter(dateFormatter string) *AppTableFieldPropertyBuilder

日期、创建时间、最后更新时间字段的显示格式

示例值:日期格式

func (*AppTableFieldPropertyBuilder) Formatter

func (builder *AppTableFieldPropertyBuilder) Formatter(formatter string) *AppTableFieldPropertyBuilder

数字、公式字段的显示格式

示例值:0

func (*AppTableFieldPropertyBuilder) FormulaExpression added in v3.0.3

func (builder *AppTableFieldPropertyBuilder) FormulaExpression(formulaExpression string) *AppTableFieldPropertyBuilder

公式字段的表达式

示例值:bitable::$table[tblNj92WQBAasdEf].$field[fldMV60rYs]*2

func (*AppTableFieldPropertyBuilder) Location added in v3.0.1

地理位置输入方式

示例值:

func (*AppTableFieldPropertyBuilder) Max added in v3.0.24

进度、评分等字段的数据范围最大值

示例值:10

func (*AppTableFieldPropertyBuilder) Min added in v3.0.24

进度、评分等字段的数据范围最小值

示例值:0

func (*AppTableFieldPropertyBuilder) Multiple

func (builder *AppTableFieldPropertyBuilder) Multiple(multiple bool) *AppTableFieldPropertyBuilder

人员字段中允许添加多个成员,单向关联、双向关联中允许添加多个记录

示例值:false

func (*AppTableFieldPropertyBuilder) Options

单选、多选字段的选项信息

示例值:

func (*AppTableFieldPropertyBuilder) RangeCustomize added in v3.0.24

func (builder *AppTableFieldPropertyBuilder) RangeCustomize(rangeCustomize bool) *AppTableFieldPropertyBuilder

进度等字段是否支持自定义范围

示例值:true

func (*AppTableFieldPropertyBuilder) Rating added in v3.0.24

评分字段的相关设置

示例值:

func (*AppTableFieldPropertyBuilder) TableId

单向关联、双向关联字段中关联的数据表的id

示例值:tblsRc9GRRXKqhvW

func (*AppTableFieldPropertyBuilder) TableName

func (builder *AppTableFieldPropertyBuilder) TableName(tableName string) *AppTableFieldPropertyBuilder

单向关联、双向关联字段中关联的数据表的名字

示例值:"table2"

type AppTableFieldPropertyOption

type AppTableFieldPropertyOption struct {
	Name  *string `json:"name,omitempty"`  // 选项名
	Id    *string `json:"id,omitempty"`    // 选项 ID,创建时不允许指定 ID
	Color *int    `json:"color,omitempty"` // 选项颜色
}

type AppTableFieldPropertyOptionBuilder

type AppTableFieldPropertyOptionBuilder struct {
	// contains filtered or unexported fields
}

func NewAppTableFieldPropertyOptionBuilder

func NewAppTableFieldPropertyOptionBuilder() *AppTableFieldPropertyOptionBuilder

func (*AppTableFieldPropertyOptionBuilder) Build

func (*AppTableFieldPropertyOptionBuilder) Color

选项颜色

示例值:0

func (*AppTableFieldPropertyOptionBuilder) Id

选项 ID,创建时不允许指定 ID

示例值:optKl35lnG

func (*AppTableFieldPropertyOptionBuilder) Name

选项名

示例值:红色

type AppTableForm

type AppTableForm struct {
	Name            *string `json:"name,omitempty"`              // 表单名称
	Description     *string `json:"description,omitempty"`       // 表单描述
	Shared          *bool   `json:"shared,omitempty"`            // 是否开启共享
	SharedUrl       *string `json:"shared_url,omitempty"`        // 分享 URL
	SharedLimit     *string `json:"shared_limit,omitempty"`      // 分享范围限制
	SubmitLimitOnce *bool   `json:"submit_limit_once,omitempty"` // 填写次数限制一次
}

type AppTableFormBuilder

type AppTableFormBuilder struct {
	// contains filtered or unexported fields
}

func NewAppTableFormBuilder

func NewAppTableFormBuilder() *AppTableFormBuilder

func (*AppTableFormBuilder) Build

func (builder *AppTableFormBuilder) Build() *AppTableForm

func (*AppTableFormBuilder) Description

func (builder *AppTableFormBuilder) Description(description string) *AppTableFormBuilder

表单描述

示例值:表单描述

func (*AppTableFormBuilder) Name

func (builder *AppTableFormBuilder) Name(name string) *AppTableFormBuilder

表单名称

示例值:表单

func (*AppTableFormBuilder) Shared

func (builder *AppTableFormBuilder) Shared(shared bool) *AppTableFormBuilder

是否开启共享

示例值:true

func (*AppTableFormBuilder) SharedLimit

func (builder *AppTableFormBuilder) SharedLimit(sharedLimit string) *AppTableFormBuilder

分享范围限制

示例值:tenant_editable

func (*AppTableFormBuilder) SharedUrl

func (builder *AppTableFormBuilder) SharedUrl(sharedUrl string) *AppTableFormBuilder

分享 URL

示例值:https://bytedance.feishu.cn/share/base/shrcnCy1KAlpahNotmhRn1abcde

func (*AppTableFormBuilder) SubmitLimitOnce

func (builder *AppTableFormBuilder) SubmitLimitOnce(submitLimitOnce bool) *AppTableFormBuilder

填写次数限制一次

示例值:true

type AppTableFormField

type AppTableFormField struct {
	FieldId     *string `json:"field_id,omitempty"`    // 表单问题 ID
	Title       *string `json:"title,omitempty"`       // 表单问题
	Description *string `json:"description,omitempty"` // 问题描述
	Required    *bool   `json:"required,omitempty"`    // 是否必填
	Visible     *bool   `json:"visible,omitempty"`     // 是否可见
}

type AppTableFormFieldBuilder

type AppTableFormFieldBuilder struct {
	// contains filtered or unexported fields
}

func NewAppTableFormFieldBuilder

func NewAppTableFormFieldBuilder() *AppTableFormFieldBuilder

func (*AppTableFormFieldBuilder) Build

func (builder *AppTableFormFieldBuilder) Build() *AppTableFormField

func (*AppTableFormFieldBuilder) Description

func (builder *AppTableFormFieldBuilder) Description(description string) *AppTableFormFieldBuilder

问题描述

示例值:多行文本描述

func (*AppTableFormFieldBuilder) FieldId

func (builder *AppTableFormFieldBuilder) FieldId(fieldId string) *AppTableFormFieldBuilder

表单问题 ID

示例值:fldjX7dUj5

func (*AppTableFormFieldBuilder) Required

func (builder *AppTableFormFieldBuilder) Required(required bool) *AppTableFormFieldBuilder

是否必填

示例值:true

func (*AppTableFormFieldBuilder) Title

表单问题

示例值:多行文本

func (*AppTableFormFieldBuilder) Visible

func (builder *AppTableFormFieldBuilder) Visible(visible bool) *AppTableFormFieldBuilder

是否可见

示例值:true

type AppTableFormPatchedField

type AppTableFormPatchedField struct {
	PreFieldId  *string `json:"pre_field_id,omitempty"` // 上一个表单问题 ID,用于支持调整表单问题的顺序,通过前一个表单问题的 field_id 来确定位置;如果 pre_field_id 为空字符串,则说明要排到首个表单问题
	Title       *string `json:"title,omitempty"`        // 表单问题
	Description *string `json:"description,omitempty"`  // 问题描述
	Required    *bool   `json:"required,omitempty"`     // 是否必填
	Visible     *bool   `json:"visible,omitempty"`      // 是否可见,当值为 false 时,不允许更新其他字段。
}

type AppTableFormPatchedFieldBuilder

type AppTableFormPatchedFieldBuilder struct {
	// contains filtered or unexported fields
}

func NewAppTableFormPatchedFieldBuilder

func NewAppTableFormPatchedFieldBuilder() *AppTableFormPatchedFieldBuilder

func (*AppTableFormPatchedFieldBuilder) Build

func (*AppTableFormPatchedFieldBuilder) Description

func (builder *AppTableFormPatchedFieldBuilder) Description(description string) *AppTableFormPatchedFieldBuilder

问题描述

示例值:多行文本描述

func (*AppTableFormPatchedFieldBuilder) PreFieldId

上一个表单问题 ID,用于支持调整表单问题的顺序,通过前一个表单问题的 field_id 来确定位置;如果 pre_field_id 为空字符串,则说明要排到首个表单问题

示例值:fldjX7dUj5

func (*AppTableFormPatchedFieldBuilder) Required

是否必填

示例值:true

func (*AppTableFormPatchedFieldBuilder) Title

表单问题

示例值:多行文本

func (*AppTableFormPatchedFieldBuilder) Visible

是否可见,当值为 false 时,不允许更新其他字段。

示例值:true

type AppTableRecord

type AppTableRecord struct {
	Fields           map[string]interface{} `json:"fields,omitempty"`             // 数据表的字段,即数据表的列;;当前接口支持的字段类型请参考[接入指南](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/bitable/notification#31f78a3c);;不同类型字段的数据结构请参考[数据结构概述](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/bitable/development-guide/bitable-structure)
	RecordId         *string                `json:"record_id,omitempty"`          // 一条记录的唯一标识 id [record_id 参数说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/bitable/notification#15d8db94)
	CreatedBy        *Person                `json:"created_by,omitempty"`         // 该记录的创建人
	CreatedTime      *int64                 `json:"created_time,omitempty"`       // 该记录的创建时间
	LastModifiedBy   *Person                `json:"last_modified_by,omitempty"`   // 该记录最新一次更新的修改人
	LastModifiedTime *int64                 `json:"last_modified_time,omitempty"` // 该记录最近一次的更新时间
}

func (*AppTableRecord) BoolField added in v3.0.1

func (a *AppTableRecord) BoolField(key string) *bool

func (*AppTableRecord) ListAttachmentField added in v3.0.1

func (a *AppTableRecord) ListAttachmentField(key string) []Attachment

func (*AppTableRecord) ListPersonField added in v3.0.1

func (a *AppTableRecord) ListPersonField(key string) []Person

func (*AppTableRecord) ListStringField added in v3.0.1

func (a *AppTableRecord) ListStringField(key string) []string

func (*AppTableRecord) ListUrlField added in v3.0.1

func (a *AppTableRecord) ListUrlField(key string) []Url

func (*AppTableRecord) StringField added in v3.0.1

func (a *AppTableRecord) StringField(key string) *string

type AppTableRecordBuilder

type AppTableRecordBuilder struct {
	// contains filtered or unexported fields
}

func NewAppTableRecordBuilder

func NewAppTableRecordBuilder() *AppTableRecordBuilder

func (*AppTableRecordBuilder) Build

func (builder *AppTableRecordBuilder) Build() *AppTableRecord

func (*AppTableRecordBuilder) CreatedBy

func (builder *AppTableRecordBuilder) CreatedBy(createdBy *Person) *AppTableRecordBuilder

该记录的创建人

示例值:

func (*AppTableRecordBuilder) CreatedTime

func (builder *AppTableRecordBuilder) CreatedTime(createdTime int64) *AppTableRecordBuilder

该记录的创建时间

示例值:1675244156000

func (*AppTableRecordBuilder) Fields

func (builder *AppTableRecordBuilder) Fields(fields map[string]interface{}) *AppTableRecordBuilder

数据表的字段,即数据表的列;;当前接口支持的字段类型请参考[接入指南](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/bitable/notification#31f78a3c);;不同类型字段的数据结构请参考[数据结构概述](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/bitable/development-guide/bitable-structure)

示例值:

func (*AppTableRecordBuilder) LastModifiedBy

func (builder *AppTableRecordBuilder) LastModifiedBy(lastModifiedBy *Person) *AppTableRecordBuilder

该记录最新一次更新的修改人

示例值:

func (*AppTableRecordBuilder) LastModifiedTime

func (builder *AppTableRecordBuilder) LastModifiedTime(lastModifiedTime int64) *AppTableRecordBuilder

该记录最近一次的更新时间

示例值:1677556020000

func (*AppTableRecordBuilder) RecordId

func (builder *AppTableRecordBuilder) RecordId(recordId string) *AppTableRecordBuilder

一条记录的唯一标识 id [record_id 参数说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/bitable/notification#15d8db94)

示例值:recqwIwhc6

type AppTableView

type AppTableView struct {
	ViewId             *string               `json:"view_id,omitempty"`               // 视图Id
	ViewName           *string               `json:"view_name,omitempty"`             // 视图名字
	ViewType           *string               `json:"view_type,omitempty"`             // 视图类型
	Property           *AppTableViewProperty `json:"property,omitempty"`              // 视图属性
	ViewPublicLevel    *string               `json:"view_public_level,omitempty"`     // 视图公共等级 Public、Locked、Private
	ViewPrivateOwnerId *string               `json:"view_private_owner_id,omitempty"` // 个人视图的owner_id,id类型和 user_id_type 参数保持一致
}

type AppTableViewBuilder

type AppTableViewBuilder struct {
	// contains filtered or unexported fields
}

func NewAppTableViewBuilder

func NewAppTableViewBuilder() *AppTableViewBuilder

func (*AppTableViewBuilder) Build

func (builder *AppTableViewBuilder) Build() *AppTableView

func (*AppTableViewBuilder) Property added in v3.0.10

func (builder *AppTableViewBuilder) Property(property *AppTableViewProperty) *AppTableViewBuilder

视图属性

示例值:

func (*AppTableViewBuilder) ViewId

func (builder *AppTableViewBuilder) ViewId(viewId string) *AppTableViewBuilder

视图Id

示例值:vewTpR1urY

func (*AppTableViewBuilder) ViewName

func (builder *AppTableViewBuilder) ViewName(viewName string) *AppTableViewBuilder

视图名字

示例值:甘特视图1

func (*AppTableViewBuilder) ViewPrivateOwnerId added in v3.0.17

func (builder *AppTableViewBuilder) ViewPrivateOwnerId(viewPrivateOwnerId string) *AppTableViewBuilder

个人视图的owner_id,id类型和 user_id_type 参数保持一致

示例值:ou_2910013f1e6456f16a0ce75ede950a0a

func (*AppTableViewBuilder) ViewPublicLevel added in v3.0.17

func (builder *AppTableViewBuilder) ViewPublicLevel(viewPublicLevel string) *AppTableViewBuilder

视图公共等级 Public、Locked、Private

示例值:Public

func (*AppTableViewBuilder) ViewType

func (builder *AppTableViewBuilder) ViewType(viewType string) *AppTableViewBuilder

视图类型

示例值:gantt

type AppTableViewProperty added in v3.0.10

type AppTableViewProperty struct {
	FilterInfo      *AppTableViewPropertyFilterInfo      `json:"filter_info,omitempty"`      // 过滤条件
	HiddenFields    []string                             `json:"hidden_fields,omitempty"`    // 隐藏字段ID列表
	HierarchyConfig *AppTableViewPropertyHierarchyConfig `json:"hierarchy_config,omitempty"` // 表格视图层级结构设置
}

type AppTableViewPropertyBuilder added in v3.0.10

type AppTableViewPropertyBuilder struct {
	// contains filtered or unexported fields
}

func NewAppTableViewPropertyBuilder added in v3.0.10

func NewAppTableViewPropertyBuilder() *AppTableViewPropertyBuilder

func (*AppTableViewPropertyBuilder) Build added in v3.0.10

func (*AppTableViewPropertyBuilder) FilterInfo added in v3.0.10

过滤条件

示例值:

func (*AppTableViewPropertyBuilder) HiddenFields added in v3.0.10

func (builder *AppTableViewPropertyBuilder) HiddenFields(hiddenFields []string) *AppTableViewPropertyBuilder

隐藏字段ID列表

示例值:["fldCGzANXx", "fldCGzANXx"]

func (*AppTableViewPropertyBuilder) HierarchyConfig added in v3.0.24

表格视图层级结构设置

示例值:

type AppTableViewPropertyFilterInfo added in v3.0.10

type AppTableViewPropertyFilterInfo struct {
	Conjunction      *string                                    `json:"conjunction,omitempty"`       // 多个筛选条件的关系
	Conditions       []*AppTableViewPropertyFilterInfoCondition `json:"conditions,omitempty"`        // 筛选条件
	ConditionOmitted *bool                                      `json:"condition_omitted,omitempty"` // 筛选条件是否缺省
}

type AppTableViewPropertyFilterInfoBuilder added in v3.0.10

type AppTableViewPropertyFilterInfoBuilder struct {
	// contains filtered or unexported fields
}

func NewAppTableViewPropertyFilterInfoBuilder added in v3.0.10

func NewAppTableViewPropertyFilterInfoBuilder() *AppTableViewPropertyFilterInfoBuilder

func (*AppTableViewPropertyFilterInfoBuilder) Build added in v3.0.10

func (*AppTableViewPropertyFilterInfoBuilder) ConditionOmitted added in v3.0.10

func (builder *AppTableViewPropertyFilterInfoBuilder) ConditionOmitted(conditionOmitted bool) *AppTableViewPropertyFilterInfoBuilder

筛选条件是否缺省

示例值:false

func (*AppTableViewPropertyFilterInfoBuilder) Conditions added in v3.0.10

筛选条件

示例值:

func (*AppTableViewPropertyFilterInfoBuilder) Conjunction added in v3.0.10

多个筛选条件的关系

示例值:and

type AppTableViewPropertyFilterInfoCondition added in v3.0.10

type AppTableViewPropertyFilterInfoCondition struct {
	FieldId     *string `json:"field_id,omitempty"`     // 用于过滤的字段唯一ID
	Operator    *string `json:"operator,omitempty"`     // 过滤操作的类型
	Value       *string `json:"value,omitempty"`        // 筛选值
	ConditionId *string `json:"condition_id,omitempty"` // 过滤条件的唯一ID
	FieldType   *int    `json:"field_type,omitempty"`   // 用于过滤的字段类型
}

type AppTableViewPropertyFilterInfoConditionBuilder added in v3.0.10

type AppTableViewPropertyFilterInfoConditionBuilder struct {
	// contains filtered or unexported fields
}

func NewAppTableViewPropertyFilterInfoConditionBuilder added in v3.0.10

func NewAppTableViewPropertyFilterInfoConditionBuilder() *AppTableViewPropertyFilterInfoConditionBuilder

func (*AppTableViewPropertyFilterInfoConditionBuilder) Build added in v3.0.10

func (*AppTableViewPropertyFilterInfoConditionBuilder) ConditionId added in v3.0.10

过滤条件的唯一ID

示例值:conNaOEK6O

func (*AppTableViewPropertyFilterInfoConditionBuilder) FieldId added in v3.0.10

用于过滤的字段唯一ID

示例值:单选

func (*AppTableViewPropertyFilterInfoConditionBuilder) FieldType added in v3.0.10

用于过滤的字段类型

示例值:3

func (*AppTableViewPropertyFilterInfoConditionBuilder) Operator added in v3.0.10

过滤操作的类型

示例值:is

func (*AppTableViewPropertyFilterInfoConditionBuilder) Value added in v3.0.10

筛选值

示例值:["optbdVHf4q", "optrpd3eIJ"]

type AppTableViewPropertyHierarchyConfig added in v3.0.24

type AppTableViewPropertyHierarchyConfig struct {
	FieldId *string `json:"field_id,omitempty"` // 层级结构的关联列id
}

type AppTableViewPropertyHierarchyConfigBuilder added in v3.0.24

type AppTableViewPropertyHierarchyConfigBuilder struct {
	// contains filtered or unexported fields
}

func NewAppTableViewPropertyHierarchyConfigBuilder added in v3.0.24

func NewAppTableViewPropertyHierarchyConfigBuilder() *AppTableViewPropertyHierarchyConfigBuilder

func (*AppTableViewPropertyHierarchyConfigBuilder) Build added in v3.0.24

func (*AppTableViewPropertyHierarchyConfigBuilder) FieldId added in v3.0.24

层级结构的关联列id

示例值:fldTca**hb

type AppWorkflow added in v3.1.0

type AppWorkflow struct {
	WorkflowId *string `json:"workflow_id,omitempty"` // 自动化工作流的id
	Status     *string `json:"status,omitempty"`      // 自动化工作流的状态
	Title      *string `json:"title,omitempty"`       // 自动化工作流的名称
}

type AppWorkflowBuilder added in v3.1.0

type AppWorkflowBuilder struct {
	// contains filtered or unexported fields
}

func NewAppWorkflowBuilder added in v3.1.0

func NewAppWorkflowBuilder() *AppWorkflowBuilder

func (*AppWorkflowBuilder) Build added in v3.1.0

func (builder *AppWorkflowBuilder) Build() *AppWorkflow

func (*AppWorkflowBuilder) Status added in v3.1.0

func (builder *AppWorkflowBuilder) Status(status string) *AppWorkflowBuilder

自动化工作流的状态

示例值:Enable

func (*AppWorkflowBuilder) Title added in v3.1.0

func (builder *AppWorkflowBuilder) Title(title string) *AppWorkflowBuilder

自动化工作流的名称

示例值:流程

func (*AppWorkflowBuilder) WorkflowId added in v3.1.0

func (builder *AppWorkflowBuilder) WorkflowId(workflowId string) *AppWorkflowBuilder

自动化工作流的id

示例值:72934597xxxx9998484

type Attachment

type Attachment struct {
	FileToken *string `json:"file_token,omitempty"` // attachment token
	Name      *string `json:"name,omitempty"`       // attachment name
	Type      *string `json:"type,omitempty"`       // attachment type
	Size      *int    `json:"size,omitempty"`       // attachment size
	Url       *string `json:"url,omitempty"`        // download url
	TmpUrl    *string `json:"tmp_url,omitempty"`    // temporary download url
}

type AttachmentBuilder

type AttachmentBuilder struct {
	// contains filtered or unexported fields
}

func NewAttachmentBuilder

func NewAttachmentBuilder() *AttachmentBuilder

func (*AttachmentBuilder) Build

func (builder *AttachmentBuilder) Build() *Attachment

func (*AttachmentBuilder) FileToken

func (builder *AttachmentBuilder) FileToken(fileToken string) *AttachmentBuilder

attachment token

示例值:

func (*AttachmentBuilder) Name

func (builder *AttachmentBuilder) Name(name string) *AttachmentBuilder

attachment name

示例值:

func (*AttachmentBuilder) Size

func (builder *AttachmentBuilder) Size(size int) *AttachmentBuilder

attachment size

示例值:

func (*AttachmentBuilder) TmpUrl

func (builder *AttachmentBuilder) TmpUrl(tmpUrl string) *AttachmentBuilder

temporary download url

示例值:

func (*AttachmentBuilder) Type

func (builder *AttachmentBuilder) Type(type_ string) *AttachmentBuilder

attachment type

示例值:

func (*AttachmentBuilder) Url

func (builder *AttachmentBuilder) Url(url string) *AttachmentBuilder

download url

示例值:

type BatchCreateAppRoleMemberPathReqBodyBuilder

type BatchCreateAppRoleMemberPathReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewBatchCreateAppRoleMemberPathReqBodyBuilder

func NewBatchCreateAppRoleMemberPathReqBodyBuilder() *BatchCreateAppRoleMemberPathReqBodyBuilder

func (*BatchCreateAppRoleMemberPathReqBodyBuilder) Build

func (*BatchCreateAppRoleMemberPathReqBodyBuilder) MemberList

协作者列表

示例值:

type BatchCreateAppRoleMemberReq

type BatchCreateAppRoleMemberReq struct {
	Body *BatchCreateAppRoleMemberReqBody `body:""`
	// contains filtered or unexported fields
}

type BatchCreateAppRoleMemberReqBody

type BatchCreateAppRoleMemberReqBody struct {
	MemberList []*AppRoleMemberId `json:"member_list,omitempty"` // 协作者列表
}

type BatchCreateAppRoleMemberReqBodyBuilder

type BatchCreateAppRoleMemberReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewBatchCreateAppRoleMemberReqBodyBuilder

func NewBatchCreateAppRoleMemberReqBodyBuilder() *BatchCreateAppRoleMemberReqBodyBuilder

func (*BatchCreateAppRoleMemberReqBodyBuilder) Build

func (*BatchCreateAppRoleMemberReqBodyBuilder) MemberList

协作者列表

示例值:

type BatchCreateAppRoleMemberReqBuilder

type BatchCreateAppRoleMemberReqBuilder struct {
	// contains filtered or unexported fields
}

func NewBatchCreateAppRoleMemberReqBuilder

func NewBatchCreateAppRoleMemberReqBuilder() *BatchCreateAppRoleMemberReqBuilder

func (*BatchCreateAppRoleMemberReqBuilder) AppToken

Bitable 文档 Token

示例值:bascnnKKvcoUblgmmhZkYqabcef

func (*BatchCreateAppRoleMemberReqBuilder) Body

批量新增自定义角色的协作者

func (*BatchCreateAppRoleMemberReqBuilder) Build

func (*BatchCreateAppRoleMemberReqBuilder) RoleId

自定义角色 ID

示例值:rolNGhPqks

type BatchCreateAppRoleMemberResp

type BatchCreateAppRoleMemberResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
}

func (*BatchCreateAppRoleMemberResp) Success

func (resp *BatchCreateAppRoleMemberResp) Success() bool

type BatchCreateAppTablePathReqBodyBuilder

type BatchCreateAppTablePathReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewBatchCreateAppTablePathReqBodyBuilder

func NewBatchCreateAppTablePathReqBodyBuilder() *BatchCreateAppTablePathReqBodyBuilder

func (*BatchCreateAppTablePathReqBodyBuilder) Build

func (*BatchCreateAppTablePathReqBodyBuilder) Tables

tables

示例值:

type BatchCreateAppTableRecordPathReqBodyBuilder

type BatchCreateAppTableRecordPathReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewBatchCreateAppTableRecordPathReqBodyBuilder

func NewBatchCreateAppTableRecordPathReqBodyBuilder() *BatchCreateAppTableRecordPathReqBodyBuilder

func (*BatchCreateAppTableRecordPathReqBodyBuilder) Build

func (*BatchCreateAppTableRecordPathReqBodyBuilder) Records

本次请求将要新增的记录列表

示例值:

type BatchCreateAppTableRecordReq

type BatchCreateAppTableRecordReq struct {
	Body *BatchCreateAppTableRecordReqBody `body:""`
	// contains filtered or unexported fields
}

type BatchCreateAppTableRecordReqBody

type BatchCreateAppTableRecordReqBody struct {
	Records []*AppTableRecord `json:"records,omitempty"` // 本次请求将要新增的记录列表
}

type BatchCreateAppTableRecordReqBodyBuilder

type BatchCreateAppTableRecordReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewBatchCreateAppTableRecordReqBodyBuilder

func NewBatchCreateAppTableRecordReqBodyBuilder() *BatchCreateAppTableRecordReqBodyBuilder

func (*BatchCreateAppTableRecordReqBodyBuilder) Build

func (*BatchCreateAppTableRecordReqBodyBuilder) Records

本次请求将要新增的记录列表

示例值:

type BatchCreateAppTableRecordReqBuilder

type BatchCreateAppTableRecordReqBuilder struct {
	// contains filtered or unexported fields
}

func NewBatchCreateAppTableRecordReqBuilder

func NewBatchCreateAppTableRecordReqBuilder() *BatchCreateAppTableRecordReqBuilder

func (*BatchCreateAppTableRecordReqBuilder) AppToken

多维表格的唯一标识符 [app_token 参数说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/bitable/notification#8121eebe)

示例值:appbcbWCzen6D8dezhoCH2RpMAh

func (*BatchCreateAppTableRecordReqBuilder) Body

该接口用于在数据表中新增多条记录,单次调用最多新增 500 条记录。

func (*BatchCreateAppTableRecordReqBuilder) Build

func (*BatchCreateAppTableRecordReqBuilder) ClientToken added in v3.0.14

格式为标准的 uuid,操作的唯一标识,用于幂等的进行更新操作。此值为空表示将发起一次新的请求,此值非空表示幂等的进行更新操作。

示例值:fe599b60-450f-46ff-b2ef-9f6675625b97

func (*BatchCreateAppTableRecordReqBuilder) TableId

多维表格数据表的唯一标识符 [table_id 参数说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/bitable/notification#735fe883)

示例值:tblsRc9GRRXKqhvW

func (*BatchCreateAppTableRecordReqBuilder) UserIdType

此次调用中使用的用户ID的类型

示例值:

type BatchCreateAppTableRecordResp

type BatchCreateAppTableRecordResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *BatchCreateAppTableRecordRespData `json:"data"` // 业务数据
}

func (*BatchCreateAppTableRecordResp) Success

func (resp *BatchCreateAppTableRecordResp) Success() bool

type BatchCreateAppTableRecordRespData

type BatchCreateAppTableRecordRespData struct {
	Records []*AppTableRecord `json:"records,omitempty"` // 本次请求新增的记录列表
}

type BatchCreateAppTableReq

type BatchCreateAppTableReq struct {
	Body *BatchCreateAppTableReqBody `body:""`
	// contains filtered or unexported fields
}

type BatchCreateAppTableReqBody

type BatchCreateAppTableReqBody struct {
	Tables []*ReqTable `json:"tables,omitempty"` // tables
}

type BatchCreateAppTableReqBodyBuilder

type BatchCreateAppTableReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewBatchCreateAppTableReqBodyBuilder

func NewBatchCreateAppTableReqBodyBuilder() *BatchCreateAppTableReqBodyBuilder

func (*BatchCreateAppTableReqBodyBuilder) Build

func (*BatchCreateAppTableReqBodyBuilder) Tables

tables

示例值:

type BatchCreateAppTableReqBuilder

type BatchCreateAppTableReqBuilder struct {
	// contains filtered or unexported fields
}

func NewBatchCreateAppTableReqBuilder

func NewBatchCreateAppTableReqBuilder() *BatchCreateAppTableReqBuilder

func (*BatchCreateAppTableReqBuilder) AppToken

bitable app token

示例值:appbcbWCzen6D8dezhoCH2RpMAh

func (*BatchCreateAppTableReqBuilder) Body

新增多个数据表

func (*BatchCreateAppTableReqBuilder) Build

func (*BatchCreateAppTableReqBuilder) UserIdType

func (builder *BatchCreateAppTableReqBuilder) UserIdType(userIdType string) *BatchCreateAppTableReqBuilder

此次调用中使用的用户ID的类型

示例值:

type BatchCreateAppTableResp

type BatchCreateAppTableResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *BatchCreateAppTableRespData `json:"data"` // 业务数据
}

func (*BatchCreateAppTableResp) Success

func (resp *BatchCreateAppTableResp) Success() bool

type BatchCreateAppTableRespData

type BatchCreateAppTableRespData struct {
	TableIds []string `json:"table_ids,omitempty"` // table ids
}

type BatchDeleteAppRoleMemberPathReqBodyBuilder

type BatchDeleteAppRoleMemberPathReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewBatchDeleteAppRoleMemberPathReqBodyBuilder

func NewBatchDeleteAppRoleMemberPathReqBodyBuilder() *BatchDeleteAppRoleMemberPathReqBodyBuilder

func (*BatchDeleteAppRoleMemberPathReqBodyBuilder) Build

func (*BatchDeleteAppRoleMemberPathReqBodyBuilder) MemberList

协作者列表

示例值:

type BatchDeleteAppRoleMemberReq

type BatchDeleteAppRoleMemberReq struct {
	Body *BatchDeleteAppRoleMemberReqBody `body:""`
	// contains filtered or unexported fields
}

type BatchDeleteAppRoleMemberReqBody

type BatchDeleteAppRoleMemberReqBody struct {
	MemberList []*AppRoleMemberId `json:"member_list,omitempty"` // 协作者列表
}

type BatchDeleteAppRoleMemberReqBodyBuilder

type BatchDeleteAppRoleMemberReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewBatchDeleteAppRoleMemberReqBodyBuilder

func NewBatchDeleteAppRoleMemberReqBodyBuilder() *BatchDeleteAppRoleMemberReqBodyBuilder

func (*BatchDeleteAppRoleMemberReqBodyBuilder) Build

func (*BatchDeleteAppRoleMemberReqBodyBuilder) MemberList

协作者列表

示例值:

type BatchDeleteAppRoleMemberReqBuilder

type BatchDeleteAppRoleMemberReqBuilder struct {
	// contains filtered or unexported fields
}

func NewBatchDeleteAppRoleMemberReqBuilder

func NewBatchDeleteAppRoleMemberReqBuilder() *BatchDeleteAppRoleMemberReqBuilder

func (*BatchDeleteAppRoleMemberReqBuilder) AppToken

多维表格文档 Token

示例值:bascnnKKvcoUblgmmhZkYqabcef

func (*BatchDeleteAppRoleMemberReqBuilder) Body

批量删除自定义角色的协作者

func (*BatchDeleteAppRoleMemberReqBuilder) Build

func (*BatchDeleteAppRoleMemberReqBuilder) RoleId

自定义角色 ID

示例值:rolNGhPqks

type BatchDeleteAppRoleMemberResp

type BatchDeleteAppRoleMemberResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
}

func (*BatchDeleteAppRoleMemberResp) Success

func (resp *BatchDeleteAppRoleMemberResp) Success() bool

type BatchDeleteAppTablePathReqBodyBuilder

type BatchDeleteAppTablePathReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewBatchDeleteAppTablePathReqBodyBuilder

func NewBatchDeleteAppTablePathReqBodyBuilder() *BatchDeleteAppTablePathReqBodyBuilder

func (*BatchDeleteAppTablePathReqBodyBuilder) Build

func (*BatchDeleteAppTablePathReqBodyBuilder) TableIds

删除的多条tableid列表

示例值:["tblsRc9GRRXKqhvW"]

type BatchDeleteAppTableRecordPathReqBodyBuilder

type BatchDeleteAppTableRecordPathReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewBatchDeleteAppTableRecordPathReqBodyBuilder

func NewBatchDeleteAppTableRecordPathReqBodyBuilder() *BatchDeleteAppTableRecordPathReqBodyBuilder

func (*BatchDeleteAppTableRecordPathReqBodyBuilder) Build

func (*BatchDeleteAppTableRecordPathReqBodyBuilder) Records

删除的多条记录id列表

示例值:[; "recIcJBbvC",; "recvmiCORa";]

type BatchDeleteAppTableRecordReq

type BatchDeleteAppTableRecordReq struct {
	Body *BatchDeleteAppTableRecordReqBody `body:""`
	// contains filtered or unexported fields
}

type BatchDeleteAppTableRecordReqBody

type BatchDeleteAppTableRecordReqBody struct {
	Records []string `json:"records,omitempty"` // 删除的多条记录id列表
}

type BatchDeleteAppTableRecordReqBodyBuilder

type BatchDeleteAppTableRecordReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewBatchDeleteAppTableRecordReqBodyBuilder

func NewBatchDeleteAppTableRecordReqBodyBuilder() *BatchDeleteAppTableRecordReqBodyBuilder

func (*BatchDeleteAppTableRecordReqBodyBuilder) Build

func (*BatchDeleteAppTableRecordReqBodyBuilder) Records

删除的多条记录id列表

示例值:[; "recIcJBbvC",; "recvmiCORa";]

type BatchDeleteAppTableRecordReqBuilder

type BatchDeleteAppTableRecordReqBuilder struct {
	// contains filtered or unexported fields
}

func NewBatchDeleteAppTableRecordReqBuilder

func NewBatchDeleteAppTableRecordReqBuilder() *BatchDeleteAppTableRecordReqBuilder

func (*BatchDeleteAppTableRecordReqBuilder) AppToken

bitable app token

示例值:appbcbWCzen6D8dezhoCH2RpMAh

func (*BatchDeleteAppTableRecordReqBuilder) Body

该接口用于删除数据表中现有的多条记录,单次调用中最多删除 500 条记录。

func (*BatchDeleteAppTableRecordReqBuilder) Build

func (*BatchDeleteAppTableRecordReqBuilder) TableId

table id

示例值:tblsRc9GRRXKqhvW

type BatchDeleteAppTableRecordResp

type BatchDeleteAppTableRecordResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *BatchDeleteAppTableRecordRespData `json:"data"` // 业务数据
}

func (*BatchDeleteAppTableRecordResp) Success

func (resp *BatchDeleteAppTableRecordResp) Success() bool

type BatchDeleteAppTableRecordRespData

type BatchDeleteAppTableRecordRespData struct {
	Records []*DeleteRecord `json:"records,omitempty"` // 记录
}

type BatchDeleteAppTableReq

type BatchDeleteAppTableReq struct {
	Body *BatchDeleteAppTableReqBody `body:""`
	// contains filtered or unexported fields
}

type BatchDeleteAppTableReqBody

type BatchDeleteAppTableReqBody struct {
	TableIds []string `json:"table_ids,omitempty"` // 删除的多条tableid列表
}

type BatchDeleteAppTableReqBodyBuilder

type BatchDeleteAppTableReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewBatchDeleteAppTableReqBodyBuilder

func NewBatchDeleteAppTableReqBodyBuilder() *BatchDeleteAppTableReqBodyBuilder

func (*BatchDeleteAppTableReqBodyBuilder) Build

func (*BatchDeleteAppTableReqBodyBuilder) TableIds

删除的多条tableid列表

示例值:["tblsRc9GRRXKqhvW"]

type BatchDeleteAppTableReqBuilder

type BatchDeleteAppTableReqBuilder struct {
	// contains filtered or unexported fields
}

func NewBatchDeleteAppTableReqBuilder

func NewBatchDeleteAppTableReqBuilder() *BatchDeleteAppTableReqBuilder

func (*BatchDeleteAppTableReqBuilder) AppToken

bitable app token

示例值:appbcbWCzen6D8dezhoCH2RpMAh

func (*BatchDeleteAppTableReqBuilder) Body

删除多个数据表

func (*BatchDeleteAppTableReqBuilder) Build

type BatchDeleteAppTableResp

type BatchDeleteAppTableResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
}

func (*BatchDeleteAppTableResp) Success

func (resp *BatchDeleteAppTableResp) Success() bool

type BatchUpdateAppTableRecordPathReqBodyBuilder

type BatchUpdateAppTableRecordPathReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewBatchUpdateAppTableRecordPathReqBodyBuilder

func NewBatchUpdateAppTableRecordPathReqBodyBuilder() *BatchUpdateAppTableRecordPathReqBodyBuilder

func (*BatchUpdateAppTableRecordPathReqBodyBuilder) Build

func (*BatchUpdateAppTableRecordPathReqBodyBuilder) Records

记录

示例值:

type BatchUpdateAppTableRecordReq

type BatchUpdateAppTableRecordReq struct {
	Body *BatchUpdateAppTableRecordReqBody `body:""`
	// contains filtered or unexported fields
}

type BatchUpdateAppTableRecordReqBody

type BatchUpdateAppTableRecordReqBody struct {
	Records []*AppTableRecord `json:"records,omitempty"` // 记录
}

type BatchUpdateAppTableRecordReqBodyBuilder

type BatchUpdateAppTableRecordReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewBatchUpdateAppTableRecordReqBodyBuilder

func NewBatchUpdateAppTableRecordReqBodyBuilder() *BatchUpdateAppTableRecordReqBodyBuilder

func (*BatchUpdateAppTableRecordReqBodyBuilder) Build

func (*BatchUpdateAppTableRecordReqBodyBuilder) Records

记录

示例值:

type BatchUpdateAppTableRecordReqBuilder

type BatchUpdateAppTableRecordReqBuilder struct {
	// contains filtered or unexported fields
}

func NewBatchUpdateAppTableRecordReqBuilder

func NewBatchUpdateAppTableRecordReqBuilder() *BatchUpdateAppTableRecordReqBuilder

func (*BatchUpdateAppTableRecordReqBuilder) AppToken

bitable app token

示例值:appbcbWCzen6D8dezhoCH2RpMAh

func (*BatchUpdateAppTableRecordReqBuilder) Body

该接口用于更新数据表中的多条记录,单次调用最多更新 500 条记录。

func (*BatchUpdateAppTableRecordReqBuilder) Build

func (*BatchUpdateAppTableRecordReqBuilder) TableId

table id

示例值:tblsRc9GRRXKqhvW

func (*BatchUpdateAppTableRecordReqBuilder) UserIdType

此次调用中使用的用户ID的类型

示例值:

type BatchUpdateAppTableRecordResp

type BatchUpdateAppTableRecordResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *BatchUpdateAppTableRecordRespData `json:"data"` // 业务数据
}

func (*BatchUpdateAppTableRecordResp) Success

func (resp *BatchUpdateAppTableRecordResp) Success() bool

type BatchUpdateAppTableRecordRespData

type BatchUpdateAppTableRecordRespData struct {
	Records []*AppTableRecord `json:"records,omitempty"` // 记录
}

type ChildrenFilter added in v3.0.34

type ChildrenFilter struct {
	Conjunction *string      `json:"conjunction,omitempty"` // 条件逻辑连接词
	Conditions  []*Condition `json:"conditions,omitempty"`  // 筛选条件集合
}

type ChildrenFilterBuilder added in v3.0.34

type ChildrenFilterBuilder struct {
	// contains filtered or unexported fields
}

func NewChildrenFilterBuilder added in v3.0.34

func NewChildrenFilterBuilder() *ChildrenFilterBuilder

func (*ChildrenFilterBuilder) Build added in v3.0.34

func (builder *ChildrenFilterBuilder) Build() *ChildrenFilter

func (*ChildrenFilterBuilder) Conditions added in v3.0.34

func (builder *ChildrenFilterBuilder) Conditions(conditions []*Condition) *ChildrenFilterBuilder

筛选条件集合

示例值:

func (*ChildrenFilterBuilder) Conjunction added in v3.0.34

func (builder *ChildrenFilterBuilder) Conjunction(conjunction string) *ChildrenFilterBuilder

条件逻辑连接词

示例值:and

type Condition added in v3.0.34

type Condition struct {
	FieldName *string  `json:"field_name,omitempty"` // 筛选条件的左值,值为字段的名称
	Operator  *string  `json:"operator,omitempty"`   // 条件运算符
	Value     []string `json:"value,omitempty"`      // 目标值
}

type ConditionBuilder added in v3.0.34

type ConditionBuilder struct {
	// contains filtered or unexported fields
}

func NewConditionBuilder added in v3.0.34

func NewConditionBuilder() *ConditionBuilder

func (*ConditionBuilder) Build added in v3.0.34

func (builder *ConditionBuilder) Build() *Condition

func (*ConditionBuilder) FieldName added in v3.0.34

func (builder *ConditionBuilder) FieldName(fieldName string) *ConditionBuilder

筛选条件的左值,值为字段的名称

示例值:字段名称

func (*ConditionBuilder) Operator added in v3.0.34

func (builder *ConditionBuilder) Operator(operator string) *ConditionBuilder

条件运算符

示例值:is

func (*ConditionBuilder) Value added in v3.0.34

func (builder *ConditionBuilder) Value(value []string) *ConditionBuilder

目标值

示例值:

type CopyAppDashboardPathReqBodyBuilder added in v3.0.13

type CopyAppDashboardPathReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewCopyAppDashboardPathReqBodyBuilder added in v3.0.13

func NewCopyAppDashboardPathReqBodyBuilder() *CopyAppDashboardPathReqBodyBuilder

func (*CopyAppDashboardPathReqBodyBuilder) Build added in v3.0.13

func (*CopyAppDashboardPathReqBodyBuilder) Name added in v3.0.13

仪表盘名称

示例值:Dashboard

type CopyAppDashboardReq added in v3.0.13

type CopyAppDashboardReq struct {
	Body *CopyAppDashboardReqBody `body:""`
	// contains filtered or unexported fields
}

type CopyAppDashboardReqBody added in v3.0.13

type CopyAppDashboardReqBody struct {
	Name *string `json:"name,omitempty"` // 仪表盘名称
}

type CopyAppDashboardReqBodyBuilder added in v3.0.13

type CopyAppDashboardReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewCopyAppDashboardReqBodyBuilder added in v3.0.13

func NewCopyAppDashboardReqBodyBuilder() *CopyAppDashboardReqBodyBuilder

func (*CopyAppDashboardReqBodyBuilder) Build added in v3.0.13

func (*CopyAppDashboardReqBodyBuilder) Name added in v3.0.13

仪表盘名称

示例值:Dashboard

type CopyAppDashboardReqBuilder added in v3.0.13

type CopyAppDashboardReqBuilder struct {
	// contains filtered or unexported fields
}

func NewCopyAppDashboardReqBuilder added in v3.0.13

func NewCopyAppDashboardReqBuilder() *CopyAppDashboardReqBuilder

func (*CopyAppDashboardReqBuilder) AppToken added in v3.0.13

func (builder *CopyAppDashboardReqBuilder) AppToken(appToken string) *CopyAppDashboardReqBuilder

多维表格 token

示例值:basbcldP5xZeskcHDFZQfeToydb

func (*CopyAppDashboardReqBuilder) BlockId added in v3.0.13

多维表格 block_id

示例值:blkEsvEEaNllY2UV

func (*CopyAppDashboardReqBuilder) Body added in v3.0.13

该接口用于根据现有仪表盘复制出新的仪表盘

func (*CopyAppDashboardReqBuilder) Build added in v3.0.13

type CopyAppDashboardResp added in v3.0.13

type CopyAppDashboardResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *CopyAppDashboardRespData `json:"data"` // 业务数据
}

func (*CopyAppDashboardResp) Success added in v3.0.13

func (resp *CopyAppDashboardResp) Success() bool

type CopyAppDashboardRespData added in v3.0.13

type CopyAppDashboardRespData struct {
	BlockId *string `json:"block_id,omitempty"` // 多维表格 block_id
	Name    *string `json:"name,omitempty"`     // block 名称
}

type CopyAppPathReqBodyBuilder added in v3.0.20

type CopyAppPathReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewCopyAppPathReqBodyBuilder added in v3.0.20

func NewCopyAppPathReqBodyBuilder() *CopyAppPathReqBodyBuilder

func (*CopyAppPathReqBodyBuilder) Build added in v3.0.20

func (builder *CopyAppPathReqBodyBuilder) Build() (*CopyAppReqBody, error)

func (*CopyAppPathReqBodyBuilder) FolderToken added in v3.0.20

func (builder *CopyAppPathReqBodyBuilder) FolderToken(folderToken string) *CopyAppPathReqBodyBuilder

多维表格 App 归属文件夹

示例值:fldbco*****CIMltVc

func (*CopyAppPathReqBodyBuilder) Name added in v3.0.20

多维表格 App 名字

示例值:一篇新的多维表格

func (*CopyAppPathReqBodyBuilder) TimeZone added in v3.0.30

func (builder *CopyAppPathReqBodyBuilder) TimeZone(timeZone string) *CopyAppPathReqBodyBuilder

文档时区,说明见:https://bytedance.feishu.cn/docx/YKRndTM7VoyDqpxqqeEcd67MnEf

示例值:Asia/Shanghai

func (*CopyAppPathReqBodyBuilder) WithoutContent added in v3.0.20

func (builder *CopyAppPathReqBodyBuilder) WithoutContent(withoutContent bool) *CopyAppPathReqBodyBuilder

不复制文档内容,只复制文档结构

示例值:false

type CopyAppReq added in v3.0.20

type CopyAppReq struct {
	Body *CopyAppReqBody `body:""`
	// contains filtered or unexported fields
}

type CopyAppReqBody added in v3.0.20

type CopyAppReqBody struct {
	Name           *string `json:"name,omitempty"`            // 多维表格 App 名字
	FolderToken    *string `json:"folder_token,omitempty"`    // 多维表格 App 归属文件夹
	WithoutContent *bool   `json:"without_content,omitempty"` // 不复制文档内容,只复制文档结构
	TimeZone       *string `json:"time_zone,omitempty"`       // 文档时区,说明见:https://bytedance.feishu.cn/docx/YKRndTM7VoyDqpxqqeEcd67MnEf
}

type CopyAppReqBodyBuilder added in v3.0.20

type CopyAppReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewCopyAppReqBodyBuilder added in v3.0.20

func NewCopyAppReqBodyBuilder() *CopyAppReqBodyBuilder

func (*CopyAppReqBodyBuilder) Build added in v3.0.20

func (builder *CopyAppReqBodyBuilder) Build() *CopyAppReqBody

func (*CopyAppReqBodyBuilder) FolderToken added in v3.0.20

func (builder *CopyAppReqBodyBuilder) FolderToken(folderToken string) *CopyAppReqBodyBuilder

多维表格 App 归属文件夹

示例值:fldbco*****CIMltVc

func (*CopyAppReqBodyBuilder) Name added in v3.0.20

func (builder *CopyAppReqBodyBuilder) Name(name string) *CopyAppReqBodyBuilder

多维表格 App 名字

示例值:一篇新的多维表格

func (*CopyAppReqBodyBuilder) TimeZone added in v3.0.30

func (builder *CopyAppReqBodyBuilder) TimeZone(timeZone string) *CopyAppReqBodyBuilder

文档时区,说明见:https://bytedance.feishu.cn/docx/YKRndTM7VoyDqpxqqeEcd67MnEf

示例值:Asia/Shanghai

func (*CopyAppReqBodyBuilder) WithoutContent added in v3.0.20

func (builder *CopyAppReqBodyBuilder) WithoutContent(withoutContent bool) *CopyAppReqBodyBuilder

不复制文档内容,只复制文档结构

示例值:false

type CopyAppReqBuilder added in v3.0.20

type CopyAppReqBuilder struct {
	// contains filtered or unexported fields
}

func NewCopyAppReqBuilder added in v3.0.20

func NewCopyAppReqBuilder() *CopyAppReqBuilder

func (*CopyAppReqBuilder) AppToken added in v3.0.20

func (builder *CopyAppReqBuilder) AppToken(appToken string) *CopyAppReqBuilder

多维表格 App token

示例值:S404b*****e9PQsYDWYcNryFn0g

func (*CopyAppReqBuilder) Body added in v3.0.20

func (builder *CopyAppReqBuilder) Body(body *CopyAppReqBody) *CopyAppReqBuilder

func (*CopyAppReqBuilder) Build added in v3.0.20

func (builder *CopyAppReqBuilder) Build() *CopyAppReq

type CopyAppResp added in v3.0.20

type CopyAppResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *CopyAppRespData `json:"data"` // 业务数据
}

func (*CopyAppResp) Success added in v3.0.20

func (resp *CopyAppResp) Success() bool

type CopyAppRespData added in v3.0.20

type CopyAppRespData struct {
	App *App `json:"app,omitempty"` //
}

type CreateAppReq added in v3.0.17

type CreateAppReq struct {
	ReqApp *ReqApp `body:""`
	// contains filtered or unexported fields
}

type CreateAppReqBuilder added in v3.0.17

type CreateAppReqBuilder struct {
	// contains filtered or unexported fields
}

func NewCreateAppReqBuilder added in v3.0.17

func NewCreateAppReqBuilder() *CreateAppReqBuilder

func (*CreateAppReqBuilder) ApiType added in v3.0.17

func (builder *CreateAppReqBuilder) ApiType(apiType string) *CreateAppReqBuilder

只有旧逻辑场景才会用到,为new时会在旧逻辑场景切换到新场景,方便旧逻辑的业务方进行切换

示例值:new

func (*CreateAppReqBuilder) Build added in v3.0.17

func (builder *CreateAppReqBuilder) Build() *CreateAppReq

func (*CreateAppReqBuilder) CopyTypes added in v3.0.17

func (builder *CreateAppReqBuilder) CopyTypes(copyTypes []string) *CreateAppReqBuilder

定制化权限配置类型列表,1为协作者列表,2为高级权限,类型是string

示例值:

func (*CreateAppReqBuilder) CustomizedConfig added in v3.0.17

func (builder *CreateAppReqBuilder) CustomizedConfig(customizedConfig bool) *CreateAppReqBuilder

是否使用自定义配置创建方式,默认不使用

示例值:false

func (*CreateAppReqBuilder) ReqApp added in v3.0.17

func (builder *CreateAppReqBuilder) ReqApp(reqApp *ReqApp) *CreateAppReqBuilder

func (*CreateAppReqBuilder) SourceAppToken added in v3.0.17

func (builder *CreateAppReqBuilder) SourceAppToken(sourceAppToken string) *CreateAppReqBuilder

源app,当使用自定义配置创建方式时有效

示例值:Xm5EbPVCInfoqRs0HKBbyIBjc1g

type CreateAppResp added in v3.0.17

type CreateAppResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *CreateAppRespData `json:"data"` // 业务数据
}

func (*CreateAppResp) Success added in v3.0.17

func (resp *CreateAppResp) Success() bool

type CreateAppRespData added in v3.0.17

type CreateAppRespData struct {
	App *App `json:"app,omitempty"` //
}

type CreateAppRoleMemberReq

type CreateAppRoleMemberReq struct {
	AppRoleMember *AppRoleMember `body:""`
	// contains filtered or unexported fields
}

type CreateAppRoleMemberReqBuilder

type CreateAppRoleMemberReqBuilder struct {
	// contains filtered or unexported fields
}

func NewCreateAppRoleMemberReqBuilder

func NewCreateAppRoleMemberReqBuilder() *CreateAppRoleMemberReqBuilder

func (*CreateAppRoleMemberReqBuilder) AppRoleMember

func (builder *CreateAppRoleMemberReqBuilder) AppRoleMember(appRoleMember *AppRoleMember) *CreateAppRoleMemberReqBuilder

新增自定义角色的协作者

func (*CreateAppRoleMemberReqBuilder) AppToken

bitable app token

示例值:appbcbWCzen6D8dezhoCH2RpMAh

func (*CreateAppRoleMemberReqBuilder) Build

func (*CreateAppRoleMemberReqBuilder) MemberIdType

func (builder *CreateAppRoleMemberReqBuilder) MemberIdType(memberIdType string) *CreateAppRoleMemberReqBuilder

协作者id类型,与请求体中的member_id要对应

示例值:open_id

func (*CreateAppRoleMemberReqBuilder) RoleId

自定义角色的id

示例值:roljRpwIUt

type CreateAppRoleMemberResp

type CreateAppRoleMemberResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
}

func (*CreateAppRoleMemberResp) Success

func (resp *CreateAppRoleMemberResp) Success() bool

type CreateAppRoleReq

type CreateAppRoleReq struct {
	AppRole *AppRole `body:""`
	// contains filtered or unexported fields
}

type CreateAppRoleReqBuilder

type CreateAppRoleReqBuilder struct {
	// contains filtered or unexported fields
}

func NewCreateAppRoleReqBuilder

func NewCreateAppRoleReqBuilder() *CreateAppRoleReqBuilder

func (*CreateAppRoleReqBuilder) AppRole

func (builder *CreateAppRoleReqBuilder) AppRole(appRole *AppRole) *CreateAppRoleReqBuilder

新增自定义角色

func (*CreateAppRoleReqBuilder) AppToken

func (builder *CreateAppRoleReqBuilder) AppToken(appToken string) *CreateAppRoleReqBuilder

bitable app token

示例值:appbcbWCzen6D8dezhoCH2RpMAh

func (*CreateAppRoleReqBuilder) Build

func (builder *CreateAppRoleReqBuilder) Build() *CreateAppRoleReq

type CreateAppRoleResp

type CreateAppRoleResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *CreateAppRoleRespData `json:"data"` // 业务数据
}

func (*CreateAppRoleResp) Success

func (resp *CreateAppRoleResp) Success() bool

type CreateAppRoleRespData

type CreateAppRoleRespData struct {
	Role *AppRole `json:"role,omitempty"` // 自定义权限
}

type CreateAppTableFieldReq

type CreateAppTableFieldReq struct {
	AppTableField *AppTableField `body:""`
	// contains filtered or unexported fields
}

type CreateAppTableFieldReqBuilder

type CreateAppTableFieldReqBuilder struct {
	// contains filtered or unexported fields
}

func NewCreateAppTableFieldReqBuilder

func NewCreateAppTableFieldReqBuilder() *CreateAppTableFieldReqBuilder

func (*CreateAppTableFieldReqBuilder) AppTableField

func (builder *CreateAppTableFieldReqBuilder) AppTableField(appTableField *AppTableField) *CreateAppTableFieldReqBuilder

该接口用于在数据表中新增一个字段

func (*CreateAppTableFieldReqBuilder) AppToken

bitable app token

示例值:appbcbWCzen6D8dezhoCH2RpMAh

func (*CreateAppTableFieldReqBuilder) Build

func (*CreateAppTableFieldReqBuilder) ClientToken added in v3.0.14

func (builder *CreateAppTableFieldReqBuilder) ClientToken(clientToken string) *CreateAppTableFieldReqBuilder

格式为标准的 uuid,操作的唯一标识,用于幂等的进行更新操作。此值为空表示将发起一次新的请求,此值非空表示幂等的进行更新操作。

示例值:fe599b60-450f-46ff-b2ef-9f6675625b97

func (*CreateAppTableFieldReqBuilder) TableId

table id

示例值:tblsRc9GRRXKqhvW

type CreateAppTableFieldResp

type CreateAppTableFieldResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *CreateAppTableFieldRespData `json:"data"` // 业务数据
}

func (*CreateAppTableFieldResp) Success

func (resp *CreateAppTableFieldResp) Success() bool

type CreateAppTableFieldRespData

type CreateAppTableFieldRespData struct {
	Field *AppTableField `json:"field,omitempty"` // 字段
}

type CreateAppTablePathReqBodyBuilder

type CreateAppTablePathReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewCreateAppTablePathReqBodyBuilder

func NewCreateAppTablePathReqBodyBuilder() *CreateAppTablePathReqBodyBuilder

func (*CreateAppTablePathReqBodyBuilder) Build

func (*CreateAppTablePathReqBodyBuilder) Table

数据表

示例值:

type CreateAppTableRecordReq

type CreateAppTableRecordReq struct {
	AppTableRecord *AppTableRecord `body:""`
	// contains filtered or unexported fields
}

type CreateAppTableRecordReqBuilder

type CreateAppTableRecordReqBuilder struct {
	// contains filtered or unexported fields
}

func NewCreateAppTableRecordReqBuilder

func NewCreateAppTableRecordReqBuilder() *CreateAppTableRecordReqBuilder

func (*CreateAppTableRecordReqBuilder) AppTableRecord

func (builder *CreateAppTableRecordReqBuilder) AppTableRecord(appTableRecord *AppTableRecord) *CreateAppTableRecordReqBuilder

该接口用于在数据表中新增一条记录

func (*CreateAppTableRecordReqBuilder) AppToken

多维表格的唯一标识符 [app_token 参数说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/bitable/notification#8121eebe)

示例值:bascng7vrxcxpig7geggXiCtadY

func (*CreateAppTableRecordReqBuilder) Build

func (*CreateAppTableRecordReqBuilder) ClientToken added in v3.0.14

func (builder *CreateAppTableRecordReqBuilder) ClientToken(clientToken string) *CreateAppTableRecordReqBuilder

格式为标准的 uuid,操作的唯一标识,用于幂等的进行更新操作。此值为空表示将发起一次新的请求,此值非空表示幂等的进行更新操作。

示例值:fe599b60-450f-46ff-b2ef-9f6675625b97

func (*CreateAppTableRecordReqBuilder) TableId

多维表格数据表的唯一标识符 [table_id 参数说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/bitable/notification#735fe883)

示例值:tblUa9vcYjWQYJCj

func (*CreateAppTableRecordReqBuilder) UserIdType

func (builder *CreateAppTableRecordReqBuilder) UserIdType(userIdType string) *CreateAppTableRecordReqBuilder

此次调用中使用的用户ID的类型

示例值:

type CreateAppTableRecordResp

type CreateAppTableRecordResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *CreateAppTableRecordRespData `json:"data"` // 业务数据
}

func (*CreateAppTableRecordResp) Success

func (resp *CreateAppTableRecordResp) Success() bool

type CreateAppTableRecordRespData

type CreateAppTableRecordRespData struct {
	Record *AppTableRecord `json:"record,omitempty"` // 新增的记录的内容
}

type CreateAppTableReq

type CreateAppTableReq struct {
	Body *CreateAppTableReqBody `body:""`
	// contains filtered or unexported fields
}

type CreateAppTableReqBody

type CreateAppTableReqBody struct {
	Table *ReqTable `json:"table,omitempty"` // 数据表
}

type CreateAppTableReqBodyBuilder

type CreateAppTableReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewCreateAppTableReqBodyBuilder

func NewCreateAppTableReqBodyBuilder() *CreateAppTableReqBodyBuilder

func (*CreateAppTableReqBodyBuilder) Build

func (*CreateAppTableReqBodyBuilder) Table

数据表

示例值:

type CreateAppTableReqBuilder

type CreateAppTableReqBuilder struct {
	// contains filtered or unexported fields
}

func NewCreateAppTableReqBuilder

func NewCreateAppTableReqBuilder() *CreateAppTableReqBuilder

func (*CreateAppTableReqBuilder) AppToken

func (builder *CreateAppTableReqBuilder) AppToken(appToken string) *CreateAppTableReqBuilder

bitable app token

示例值:appbcbWCzen6D8dezhoCH2RpMAh

func (*CreateAppTableReqBuilder) Body

新增一个数据表

func (*CreateAppTableReqBuilder) Build

func (builder *CreateAppTableReqBuilder) Build() *CreateAppTableReq

type CreateAppTableResp

type CreateAppTableResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *CreateAppTableRespData `json:"data"` // 业务数据
}

func (*CreateAppTableResp) Success

func (resp *CreateAppTableResp) Success() bool

type CreateAppTableRespData

type CreateAppTableRespData struct {
	TableId       *string  `json:"table_id,omitempty"`        // table id
	DefaultViewId *string  `json:"default_view_id,omitempty"` // 默认表格视图的id,该字段仅在请求参数中填写了default_view_name或fields才会返回
	FieldIdList   []string `json:"field_id_list,omitempty"`   // 数据表初始字段的id列表,该字段仅在请求参数中填写了fields才会返回
}

type CreateAppTableViewReq

type CreateAppTableViewReq struct {
	ReqView *ReqView `body:""`
	// contains filtered or unexported fields
}

type CreateAppTableViewReqBuilder

type CreateAppTableViewReqBuilder struct {
	// contains filtered or unexported fields
}

func NewCreateAppTableViewReqBuilder

func NewCreateAppTableViewReqBuilder() *CreateAppTableViewReqBuilder

func (*CreateAppTableViewReqBuilder) AppToken

bitable app token

示例值:appbcbWCzen6D8dezhoCH2RpMAh

func (*CreateAppTableViewReqBuilder) Build

func (*CreateAppTableViewReqBuilder) ReqView

在数据表中新增一个视图

func (*CreateAppTableViewReqBuilder) TableId

table id

示例值:tblsRc9GRRXKqhvW

type CreateAppTableViewResp

type CreateAppTableViewResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *CreateAppTableViewRespData `json:"data"` // 业务数据
}

func (*CreateAppTableViewResp) Success

func (resp *CreateAppTableViewResp) Success() bool

type CreateAppTableViewRespData

type CreateAppTableViewRespData struct {
	View *AppTableView `json:"view,omitempty"` // 视图
}

type DeleteAppRoleMemberReq

type DeleteAppRoleMemberReq struct {
	// contains filtered or unexported fields
}

type DeleteAppRoleMemberReqBuilder

type DeleteAppRoleMemberReqBuilder struct {
	// contains filtered or unexported fields
}

func NewDeleteAppRoleMemberReqBuilder

func NewDeleteAppRoleMemberReqBuilder() *DeleteAppRoleMemberReqBuilder

func (*DeleteAppRoleMemberReqBuilder) AppToken

bitable app token

示例值:appbcbWCzen6D8dezhoCH2RpMAh

func (*DeleteAppRoleMemberReqBuilder) Build

func (*DeleteAppRoleMemberReqBuilder) MemberId

协作者id

示例值:ou_7dab8a3d3cdcc9da365777c7ad53uew2

func (*DeleteAppRoleMemberReqBuilder) MemberIdType

func (builder *DeleteAppRoleMemberReqBuilder) MemberIdType(memberIdType string) *DeleteAppRoleMemberReqBuilder

协作者id类型,与请求体中的member_id要对应

示例值:open_id

func (*DeleteAppRoleMemberReqBuilder) RoleId

自定义角色的id

示例值:roljRpwIUt

type DeleteAppRoleMemberResp

type DeleteAppRoleMemberResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
}

func (*DeleteAppRoleMemberResp) Success

func (resp *DeleteAppRoleMemberResp) Success() bool

type DeleteAppRoleReq

type DeleteAppRoleReq struct {
	// contains filtered or unexported fields
}

type DeleteAppRoleReqBuilder

type DeleteAppRoleReqBuilder struct {
	// contains filtered or unexported fields
}

func NewDeleteAppRoleReqBuilder

func NewDeleteAppRoleReqBuilder() *DeleteAppRoleReqBuilder

func (*DeleteAppRoleReqBuilder) AppToken

func (builder *DeleteAppRoleReqBuilder) AppToken(appToken string) *DeleteAppRoleReqBuilder

bitable app token

示例值:appbcbWCzen6D8dezhoCH2RpMAh

func (*DeleteAppRoleReqBuilder) Build

func (builder *DeleteAppRoleReqBuilder) Build() *DeleteAppRoleReq

func (*DeleteAppRoleReqBuilder) RoleId

func (builder *DeleteAppRoleReqBuilder) RoleId(roleId string) *DeleteAppRoleReqBuilder

自定义角色的id

示例值:roljRpwIUt

type DeleteAppRoleResp

type DeleteAppRoleResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
}

func (*DeleteAppRoleResp) Success

func (resp *DeleteAppRoleResp) Success() bool

type DeleteAppTableFieldReq

type DeleteAppTableFieldReq struct {
	// contains filtered or unexported fields
}

type DeleteAppTableFieldReqBuilder

type DeleteAppTableFieldReqBuilder struct {
	// contains filtered or unexported fields
}

func NewDeleteAppTableFieldReqBuilder

func NewDeleteAppTableFieldReqBuilder() *DeleteAppTableFieldReqBuilder

func (*DeleteAppTableFieldReqBuilder) AppToken

bitable app token

示例值:appbcbWCzen6D8dezhoCH2RpMAh

func (*DeleteAppTableFieldReqBuilder) Build

func (*DeleteAppTableFieldReqBuilder) FieldId

field id

示例值:fldPTb0U2y

func (*DeleteAppTableFieldReqBuilder) TableId

table id

示例值:tblsRc9GRRXKqhvW

type DeleteAppTableFieldResp

type DeleteAppTableFieldResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *DeleteAppTableFieldRespData `json:"data"` // 业务数据
}

func (*DeleteAppTableFieldResp) Success

func (resp *DeleteAppTableFieldResp) Success() bool

type DeleteAppTableFieldRespData

type DeleteAppTableFieldRespData struct {
	FieldId *string `json:"field_id,omitempty"` // field id
	Deleted *bool   `json:"deleted,omitempty"`  // 删除标记
}

type DeleteAppTableRecordReq

type DeleteAppTableRecordReq struct {
	// contains filtered or unexported fields
}

type DeleteAppTableRecordReqBuilder

type DeleteAppTableRecordReqBuilder struct {
	// contains filtered or unexported fields
}

func NewDeleteAppTableRecordReqBuilder

func NewDeleteAppTableRecordReqBuilder() *DeleteAppTableRecordReqBuilder

func (*DeleteAppTableRecordReqBuilder) AppToken

bitable app token

示例值:appbcbWCzen6D8dezhoCH2RpMAh

func (*DeleteAppTableRecordReqBuilder) Build

func (*DeleteAppTableRecordReqBuilder) RecordId

单条记录的Id

示例值:recpCsf4ME

func (*DeleteAppTableRecordReqBuilder) TableId

table id

示例值:tblsRc9GRRXKqhvW

type DeleteAppTableRecordResp

type DeleteAppTableRecordResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *DeleteAppTableRecordRespData `json:"data"` // 业务数据
}

func (*DeleteAppTableRecordResp) Success

func (resp *DeleteAppTableRecordResp) Success() bool

type DeleteAppTableRecordRespData

type DeleteAppTableRecordRespData struct {
	Deleted  *bool   `json:"deleted,omitempty"`   // 是否成功删除
	RecordId *string `json:"record_id,omitempty"` // 删除的记录id
}

type DeleteAppTableReq

type DeleteAppTableReq struct {
	// contains filtered or unexported fields
}

type DeleteAppTableReqBuilder

type DeleteAppTableReqBuilder struct {
	// contains filtered or unexported fields
}

func NewDeleteAppTableReqBuilder

func NewDeleteAppTableReqBuilder() *DeleteAppTableReqBuilder

func (*DeleteAppTableReqBuilder) AppToken

func (builder *DeleteAppTableReqBuilder) AppToken(appToken string) *DeleteAppTableReqBuilder

bitable app token

示例值:appbcbWCzen6D8dezhoCH2RpMAh

func (*DeleteAppTableReqBuilder) Build

func (builder *DeleteAppTableReqBuilder) Build() *DeleteAppTableReq

func (*DeleteAppTableReqBuilder) TableId

func (builder *DeleteAppTableReqBuilder) TableId(tableId string) *DeleteAppTableReqBuilder

table id

示例值:tblsRc9GRRXKqhvW

type DeleteAppTableResp

type DeleteAppTableResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
}

func (*DeleteAppTableResp) Success

func (resp *DeleteAppTableResp) Success() bool

type DeleteAppTableViewReq

type DeleteAppTableViewReq struct {
	// contains filtered or unexported fields
}

type DeleteAppTableViewReqBuilder

type DeleteAppTableViewReqBuilder struct {
	// contains filtered or unexported fields
}

func NewDeleteAppTableViewReqBuilder

func NewDeleteAppTableViewReqBuilder() *DeleteAppTableViewReqBuilder

func (*DeleteAppTableViewReqBuilder) AppToken

bitable app token

示例值:appbcbWCzen6D8dezhoCH2RpMAh

func (*DeleteAppTableViewReqBuilder) Build

func (*DeleteAppTableViewReqBuilder) TableId

table id

示例值:tblsRc9GRRXKqhvW

func (*DeleteAppTableViewReqBuilder) ViewId

视图Id

示例值:vewTpR1urY

type DeleteAppTableViewResp

type DeleteAppTableViewResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
}

func (*DeleteAppTableViewResp) Success

func (resp *DeleteAppTableViewResp) Success() bool

type DeleteRecord

type DeleteRecord struct {
	Deleted  *bool   `json:"deleted,omitempty"`   // 是否成功删除
	RecordId *string `json:"record_id,omitempty"` // 删除的记录 ID
}

type DeleteRecordBuilder

type DeleteRecordBuilder struct {
	// contains filtered or unexported fields
}

func NewDeleteRecordBuilder

func NewDeleteRecordBuilder() *DeleteRecordBuilder

func (*DeleteRecordBuilder) Build

func (builder *DeleteRecordBuilder) Build() *DeleteRecord

func (*DeleteRecordBuilder) Deleted

func (builder *DeleteRecordBuilder) Deleted(deleted bool) *DeleteRecordBuilder

是否成功删除

示例值:true

func (*DeleteRecordBuilder) RecordId

func (builder *DeleteRecordBuilder) RecordId(recordId string) *DeleteRecordBuilder

删除的记录 ID

示例值:recpCsf4ME

type DepartmentId added in v3.0.29

type DepartmentId struct {
	DepartmentId     *string `json:"department_id,omitempty"`      //
	OpenDepartmentId *string `json:"open_department_id,omitempty"` //
}

type DepartmentIdBuilder added in v3.0.29

type DepartmentIdBuilder struct {
	// contains filtered or unexported fields
}

func NewDepartmentIdBuilder added in v3.0.29

func NewDepartmentIdBuilder() *DepartmentIdBuilder

func (*DepartmentIdBuilder) Build added in v3.0.29

func (builder *DepartmentIdBuilder) Build() *DepartmentId

func (*DepartmentIdBuilder) DepartmentId added in v3.0.29

func (builder *DepartmentIdBuilder) DepartmentId(departmentId string) *DepartmentIdBuilder

示例值:

func (*DepartmentIdBuilder) OpenDepartmentId added in v3.0.29

func (builder *DepartmentIdBuilder) OpenDepartmentId(openDepartmentId string) *DepartmentIdBuilder

示例值:

type DisplayApp

type DisplayApp struct {
	AppToken   *string `json:"app_token,omitempty"`   // 多维表格的 app_token;[app_token 参数说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/bitable/notification#8121eebe)
	Name       *string `json:"name,omitempty"`        // 多维表格的名字
	Revision   *int    `json:"revision,omitempty"`    // 多维表格的版本号(对多维表格进行修改时更新,如新增、删除数据表,修改数据表名等,初始为1,每次更新+1)
	IsAdvanced *bool   `json:"is_advanced,omitempty"` // 多维表格是否开启了高级权限。取值包括:;- true:表示开启了高级权限;- false:表示关闭了高级权限;;[了解更多:使用多维表格高级权限](https://www.feishu.cn/hc/zh-CN/articles/588604550568)
	TimeZone   *string `json:"time_zone,omitempty"`   // 文档时区
}

type DisplayAppBuilder

type DisplayAppBuilder struct {
	// contains filtered or unexported fields
}

func NewDisplayAppBuilder

func NewDisplayAppBuilder() *DisplayAppBuilder

func (*DisplayAppBuilder) AppToken

func (builder *DisplayAppBuilder) AppToken(appToken string) *DisplayAppBuilder

多维表格的 app_token;[app_token 参数说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/bitable/notification#8121eebe)

示例值:

func (*DisplayAppBuilder) Build

func (builder *DisplayAppBuilder) Build() *DisplayApp

func (*DisplayAppBuilder) IsAdvanced

func (builder *DisplayAppBuilder) IsAdvanced(isAdvanced bool) *DisplayAppBuilder

多维表格是否开启了高级权限。取值包括:;- true:表示开启了高级权限;- false:表示关闭了高级权限;;[了解更多:使用多维表格高级权限](https://www.feishu.cn/hc/zh-CN/articles/588604550568)

示例值:

func (*DisplayAppBuilder) Name

func (builder *DisplayAppBuilder) Name(name string) *DisplayAppBuilder

多维表格的名字

示例值:

func (*DisplayAppBuilder) Revision

func (builder *DisplayAppBuilder) Revision(revision int) *DisplayAppBuilder

多维表格的版本号(对多维表格进行修改时更新,如新增、删除数据表,修改数据表名等,初始为1,每次更新+1)

示例值:

func (*DisplayAppBuilder) TimeZone added in v3.0.30

func (builder *DisplayAppBuilder) TimeZone(timeZone string) *DisplayAppBuilder

文档时区

示例值:

type DisplayAppV2

type DisplayAppV2 struct {
	AppToken   *string `json:"app_token,omitempty"`   // 多维表格的 app_token
	Name       *string `json:"name,omitempty"`        // 多维表格的名字
	IsAdvanced *bool   `json:"is_advanced,omitempty"` // 多维表格是否已开启高级权限
	TimeZone   *string `json:"time_zone,omitempty"`   // 文档时区
}

type DisplayAppV2Builder

type DisplayAppV2Builder struct {
	// contains filtered or unexported fields
}

func NewDisplayAppV2Builder

func NewDisplayAppV2Builder() *DisplayAppV2Builder

func (*DisplayAppV2Builder) AppToken

func (builder *DisplayAppV2Builder) AppToken(appToken string) *DisplayAppV2Builder

多维表格的 app_token

示例值:

func (*DisplayAppV2Builder) Build

func (builder *DisplayAppV2Builder) Build() *DisplayAppV2

func (*DisplayAppV2Builder) IsAdvanced

func (builder *DisplayAppV2Builder) IsAdvanced(isAdvanced bool) *DisplayAppV2Builder

多维表格是否已开启高级权限

示例值:

func (*DisplayAppV2Builder) Name

func (builder *DisplayAppV2Builder) Name(name string) *DisplayAppV2Builder

多维表格的名字

示例值:

func (*DisplayAppV2Builder) TimeZone added in v3.0.30

func (builder *DisplayAppV2Builder) TimeZone(timeZone string) *DisplayAppV2Builder

文档时区

示例值:

type FilterInfo added in v3.0.34

type FilterInfo struct {
	Conjunction *string      `json:"conjunction,omitempty"` // 条件逻辑连接词
	Conditions  []*Condition `json:"conditions,omitempty"`  // 筛选条件集合

}

type FilterInfoBuilder added in v3.0.34

type FilterInfoBuilder struct {
	// contains filtered or unexported fields
}

func NewFilterInfoBuilder added in v3.0.34

func NewFilterInfoBuilder() *FilterInfoBuilder

func (*FilterInfoBuilder) Build added in v3.0.34

func (builder *FilterInfoBuilder) Build() *FilterInfo

func (*FilterInfoBuilder) Conditions added in v3.0.34

func (builder *FilterInfoBuilder) Conditions(conditions []*Condition) *FilterInfoBuilder

筛选条件集合

示例值:

func (*FilterInfoBuilder) Conjunction added in v3.0.34

func (builder *FilterInfoBuilder) Conjunction(conjunction string) *FilterInfoBuilder

条件逻辑连接词

示例值:and

type GetAppReq

type GetAppReq struct {
	// contains filtered or unexported fields
}

type GetAppReqBuilder

type GetAppReqBuilder struct {
	// contains filtered or unexported fields
}

func NewGetAppReqBuilder

func NewGetAppReqBuilder() *GetAppReqBuilder

func (*GetAppReqBuilder) AppToken

func (builder *GetAppReqBuilder) AppToken(appToken string) *GetAppReqBuilder

多维表格的唯一标识符 [app_token 参数说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/bitable/notification#8121eebe)

示例值:appbcbWCzen6D8dezhoCH2RpMAh

func (*GetAppReqBuilder) Build

func (builder *GetAppReqBuilder) Build() *GetAppReq

type GetAppResp

type GetAppResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *GetAppRespData `json:"data"` // 业务数据
}

func (*GetAppResp) Success

func (resp *GetAppResp) Success() bool

type GetAppRespData

type GetAppRespData struct {
	App *DisplayApp `json:"app,omitempty"` // 多维表格元数据
}

type GetAppTableFormReq added in v3.0.1

type GetAppTableFormReq struct {
	// contains filtered or unexported fields
}

type GetAppTableFormReqBuilder added in v3.0.1

type GetAppTableFormReqBuilder struct {
	// contains filtered or unexported fields
}

func NewGetAppTableFormReqBuilder added in v3.0.1

func NewGetAppTableFormReqBuilder() *GetAppTableFormReqBuilder

func (*GetAppTableFormReqBuilder) AppToken added in v3.0.1

func (builder *GetAppTableFormReqBuilder) AppToken(appToken string) *GetAppTableFormReqBuilder

多维表格文档 Token

示例值:bascnv1jIEppJdTCn3jOosabcef

func (*GetAppTableFormReqBuilder) Build added in v3.0.1

func (*GetAppTableFormReqBuilder) FormId added in v3.0.1

表单 ID

示例值:vew6oMbAa4

func (*GetAppTableFormReqBuilder) TableId added in v3.0.1

func (builder *GetAppTableFormReqBuilder) TableId(tableId string) *GetAppTableFormReqBuilder

表格 ID

示例值:tblz8nadEUdxNMt5

type GetAppTableFormResp added in v3.0.1

type GetAppTableFormResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *GetAppTableFormRespData `json:"data"` // 业务数据
}

func (*GetAppTableFormResp) Success added in v3.0.1

func (resp *GetAppTableFormResp) Success() bool

type GetAppTableFormRespData added in v3.0.1

type GetAppTableFormRespData struct {
	Form *AppTableForm `json:"form,omitempty"` // 表单元数据信息
}

type GetAppTableRecordReq

type GetAppTableRecordReq struct {
	// contains filtered or unexported fields
}

type GetAppTableRecordReqBuilder

type GetAppTableRecordReqBuilder struct {
	// contains filtered or unexported fields
}

func NewGetAppTableRecordReqBuilder

func NewGetAppTableRecordReqBuilder() *GetAppTableRecordReqBuilder

func (*GetAppTableRecordReqBuilder) AppToken

func (builder *GetAppTableRecordReqBuilder) AppToken(appToken string) *GetAppTableRecordReqBuilder

bitable app token

示例值:bascnCMII2ORej2RItqpZZUNMIe

func (*GetAppTableRecordReqBuilder) AutomaticFields

func (builder *GetAppTableRecordReqBuilder) AutomaticFields(automaticFields bool) *GetAppTableRecordReqBuilder

控制是否返回自动计算的字段,例如 `created_by`/`created_time`/`last_modified_by`/`last_modified_time`,true 表示返回

示例值:true

func (*GetAppTableRecordReqBuilder) Build

func (*GetAppTableRecordReqBuilder) DisplayFormulaRef

func (builder *GetAppTableRecordReqBuilder) DisplayFormulaRef(displayFormulaRef bool) *GetAppTableRecordReqBuilder

控制公式、查找引用是否显示完整的原样返回结果

示例值:true

func (*GetAppTableRecordReqBuilder) RecordId

func (builder *GetAppTableRecordReqBuilder) RecordId(recordId string) *GetAppTableRecordReqBuilder

单条记录的 id

示例值:recn0hoyXL

func (*GetAppTableRecordReqBuilder) TableId

table id

示例值:tblxI2tWaxP5dG7p

func (*GetAppTableRecordReqBuilder) TextFieldAsArray

func (builder *GetAppTableRecordReqBuilder) TextFieldAsArray(textFieldAsArray bool) *GetAppTableRecordReqBuilder

控制多行文本字段数据的返回格式, true 表示以数组形式返回

示例值:true

func (*GetAppTableRecordReqBuilder) UserIdType

func (builder *GetAppTableRecordReqBuilder) UserIdType(userIdType string) *GetAppTableRecordReqBuilder

此次调用中使用的用户ID的类型

示例值:

func (*GetAppTableRecordReqBuilder) WithSharedUrl added in v3.0.30

func (builder *GetAppTableRecordReqBuilder) WithSharedUrl(withSharedUrl bool) *GetAppTableRecordReqBuilder

控制是否返回该记录的链接

示例值:

type GetAppTableRecordResp

type GetAppTableRecordResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *GetAppTableRecordRespData `json:"data"` // 业务数据
}

func (*GetAppTableRecordResp) Success

func (resp *GetAppTableRecordResp) Success() bool

type GetAppTableRecordRespData

type GetAppTableRecordRespData struct {
	Record *AppTableRecord `json:"record,omitempty"` // 记录
}

type GetAppTableViewReq added in v3.0.13

type GetAppTableViewReq struct {
	// contains filtered or unexported fields
}

type GetAppTableViewReqBuilder added in v3.0.13

type GetAppTableViewReqBuilder struct {
	// contains filtered or unexported fields
}

func NewGetAppTableViewReqBuilder added in v3.0.13

func NewGetAppTableViewReqBuilder() *GetAppTableViewReqBuilder

func (*GetAppTableViewReqBuilder) AppToken added in v3.0.13

func (builder *GetAppTableViewReqBuilder) AppToken(appToken string) *GetAppTableViewReqBuilder

bitable app token

示例值:bascnCMII2ORej2RItqpZZUNMIe

func (*GetAppTableViewReqBuilder) Build added in v3.0.13

func (*GetAppTableViewReqBuilder) TableId added in v3.0.13

func (builder *GetAppTableViewReqBuilder) TableId(tableId string) *GetAppTableViewReqBuilder

table id

示例值:tblsRc9GRRXKqhvW

func (*GetAppTableViewReqBuilder) ViewId added in v3.0.13

视图 ID

示例值:vewTpR1urY

type GetAppTableViewResp added in v3.0.13

type GetAppTableViewResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *GetAppTableViewRespData `json:"data"` // 业务数据
}

func (*GetAppTableViewResp) Success added in v3.0.13

func (resp *GetAppTableViewResp) Success() bool

type GetAppTableViewRespData added in v3.0.13

type GetAppTableViewRespData struct {
	View *AppTableView `json:"view,omitempty"` // 视图信息
}

type Group added in v3.0.24

type Group struct {
	Id        *string `json:"id,omitempty"`         // 群组的id
	Name      *string `json:"name,omitempty"`       // 群组名称
	AvatarUrl *string `json:"avatar_url,omitempty"` // 群组头像链接
}

type GroupBuilder added in v3.0.24

type GroupBuilder struct {
	// contains filtered or unexported fields
}

func NewGroupBuilder added in v3.0.24

func NewGroupBuilder() *GroupBuilder

func (*GroupBuilder) AvatarUrl added in v3.0.24

func (builder *GroupBuilder) AvatarUrl(avatarUrl string) *GroupBuilder

群组头像链接

示例值:https://***.feishu.cn/static-resource/avatar/v2_ba238e9f-8a81-407d-bffe-d***eaj_320.webp

func (*GroupBuilder) Build added in v3.0.24

func (builder *GroupBuilder) Build() *Group

func (*GroupBuilder) Id added in v3.0.24

func (builder *GroupBuilder) Id(id string) *GroupBuilder

群组的id

示例值:oc_a0553eda9014c201e***9b478895c230

func (*GroupBuilder) Name added in v3.0.24

func (builder *GroupBuilder) Name(name string) *GroupBuilder

群组名称

示例值:群名称

type ListAppDashboardIterator added in v3.0.1

type ListAppDashboardIterator struct {
	// contains filtered or unexported fields
}

func (*ListAppDashboardIterator) Next added in v3.0.1

func (iterator *ListAppDashboardIterator) Next() (bool, *AppDashboard, error)

func (*ListAppDashboardIterator) NextPageToken added in v3.0.1

func (iterator *ListAppDashboardIterator) NextPageToken() *string

type ListAppDashboardReq added in v3.0.1

type ListAppDashboardReq struct {
	Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效
	// contains filtered or unexported fields
}

type ListAppDashboardReqBuilder added in v3.0.1

type ListAppDashboardReqBuilder struct {
	// contains filtered or unexported fields
}

func NewListAppDashboardReqBuilder added in v3.0.1

func NewListAppDashboardReqBuilder() *ListAppDashboardReqBuilder

func (*ListAppDashboardReqBuilder) AppToken added in v3.0.1

func (builder *ListAppDashboardReqBuilder) AppToken(appToken string) *ListAppDashboardReqBuilder

多维表格文档 Token

示例值:bascng7vrxcxpig7geggXiCtadY

func (*ListAppDashboardReqBuilder) Build added in v3.0.1

func (*ListAppDashboardReqBuilder) Limit added in v3.0.1

最大返回多少记录,当使用迭代器访问时才有效

func (*ListAppDashboardReqBuilder) PageSize added in v3.0.1

func (builder *ListAppDashboardReqBuilder) PageSize(pageSize int) *ListAppDashboardReqBuilder

分页大小

示例值:10

func (*ListAppDashboardReqBuilder) PageToken added in v3.0.1

func (builder *ListAppDashboardReqBuilder) PageToken(pageToken string) *ListAppDashboardReqBuilder

分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果

示例值:blknkqrP3RqUkcAW

type ListAppDashboardResp added in v3.0.1

type ListAppDashboardResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *ListAppDashboardRespData `json:"data"` // 业务数据
}

func (*ListAppDashboardResp) Success added in v3.0.1

func (resp *ListAppDashboardResp) Success() bool

type ListAppDashboardRespData added in v3.0.1

type ListAppDashboardRespData struct {
	Dashboards []*AppDashboard `json:"dashboards,omitempty"` // 仪表盘信息
	PageToken  *string         `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token
	HasMore    *bool           `json:"has_more,omitempty"`   // 是否还有更多项
}

type ListAppRoleIterator

type ListAppRoleIterator struct {
	// contains filtered or unexported fields
}

func (*ListAppRoleIterator) Next

func (iterator *ListAppRoleIterator) Next() (bool, *AppRole, error)

func (*ListAppRoleIterator) NextPageToken

func (iterator *ListAppRoleIterator) NextPageToken() *string

type ListAppRoleMemberIterator

type ListAppRoleMemberIterator struct {
	// contains filtered or unexported fields
}

func (*ListAppRoleMemberIterator) Next

func (iterator *ListAppRoleMemberIterator) Next() (bool, *AppRoleMember, error)

func (*ListAppRoleMemberIterator) NextPageToken

func (iterator *ListAppRoleMemberIterator) NextPageToken() *string

type ListAppRoleMemberReq

type ListAppRoleMemberReq struct {
	Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效
	// contains filtered or unexported fields
}

type ListAppRoleMemberReqBuilder

type ListAppRoleMemberReqBuilder struct {
	// contains filtered or unexported fields
}

func NewListAppRoleMemberReqBuilder

func NewListAppRoleMemberReqBuilder() *ListAppRoleMemberReqBuilder

func (*ListAppRoleMemberReqBuilder) AppToken

func (builder *ListAppRoleMemberReqBuilder) AppToken(appToken string) *ListAppRoleMemberReqBuilder

bitable app token

示例值:appbcbWCzen6D8dezhoCH2RpMAh

func (*ListAppRoleMemberReqBuilder) Build

func (*ListAppRoleMemberReqBuilder) Limit

最大返回多少记录,当使用迭代器访问时才有效

func (*ListAppRoleMemberReqBuilder) PageSize

func (builder *ListAppRoleMemberReqBuilder) PageSize(pageSize int) *ListAppRoleMemberReqBuilder

分页大小

示例值:100

func (*ListAppRoleMemberReqBuilder) PageToken

func (builder *ListAppRoleMemberReqBuilder) PageToken(pageToken string) *ListAppRoleMemberReqBuilder

分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果

示例值:xxxxx

func (*ListAppRoleMemberReqBuilder) RoleId

自定义角色的id

示例值:roljRpwIUt

type ListAppRoleMemberResp

type ListAppRoleMemberResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *ListAppRoleMemberRespData `json:"data"` // 业务数据
}

func (*ListAppRoleMemberResp) Success

func (resp *ListAppRoleMemberResp) Success() bool

type ListAppRoleMemberRespData

type ListAppRoleMemberRespData struct {
	Items     []*AppRoleMember `json:"items,omitempty"`      // 协作者列表
	HasMore   *bool            `json:"has_more,omitempty"`   // 是否有下一页数据
	PageToken *string          `json:"page_token,omitempty"` // 下一页分页的token
	Total     *int             `json:"total,omitempty"`      // 总数
}

type ListAppRoleReq

type ListAppRoleReq struct {
	Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效
	// contains filtered or unexported fields
}

type ListAppRoleReqBuilder

type ListAppRoleReqBuilder struct {
	// contains filtered or unexported fields
}

func NewListAppRoleReqBuilder

func NewListAppRoleReqBuilder() *ListAppRoleReqBuilder

func (*ListAppRoleReqBuilder) AppToken

func (builder *ListAppRoleReqBuilder) AppToken(appToken string) *ListAppRoleReqBuilder

bitable app token

示例值:appbcbWCzen6D8dezhoCH2RpMAh

func (*ListAppRoleReqBuilder) Build

func (builder *ListAppRoleReqBuilder) Build() *ListAppRoleReq

func (*ListAppRoleReqBuilder) Limit

func (builder *ListAppRoleReqBuilder) Limit(limit int) *ListAppRoleReqBuilder

最大返回多少记录,当使用迭代器访问时才有效

func (*ListAppRoleReqBuilder) PageSize

func (builder *ListAppRoleReqBuilder) PageSize(pageSize int) *ListAppRoleReqBuilder

分页大小

示例值:10

func (*ListAppRoleReqBuilder) PageToken

func (builder *ListAppRoleReqBuilder) PageToken(pageToken string) *ListAppRoleReqBuilder

分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果

示例值:roljRpwIUt

type ListAppRoleResp

type ListAppRoleResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *ListAppRoleRespData `json:"data"` // 业务数据
}

func (*ListAppRoleResp) Success

func (resp *ListAppRoleResp) Success() bool

type ListAppRoleRespData

type ListAppRoleRespData struct {
	Items     []*AppRole `json:"items,omitempty"`      // 自定义角色列表
	PageToken *string    `json:"page_token,omitempty"` // 下一页分页的token
	HasMore   *bool      `json:"has_more,omitempty"`   // 是否有下一页数据
	Total     *int       `json:"total,omitempty"`      // 总数
}

type ListAppTableFieldIterator

type ListAppTableFieldIterator struct {
	// contains filtered or unexported fields
}

func (*ListAppTableFieldIterator) Next

func (*ListAppTableFieldIterator) NextPageToken

func (iterator *ListAppTableFieldIterator) NextPageToken() *string

type ListAppTableFieldReq

type ListAppTableFieldReq struct {
	Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效
	// contains filtered or unexported fields
}

type ListAppTableFieldReqBuilder

type ListAppTableFieldReqBuilder struct {
	// contains filtered or unexported fields
}

func NewListAppTableFieldReqBuilder

func NewListAppTableFieldReqBuilder() *ListAppTableFieldReqBuilder

func (*ListAppTableFieldReqBuilder) AppToken

func (builder *ListAppTableFieldReqBuilder) AppToken(appToken string) *ListAppTableFieldReqBuilder

bitable app token

示例值:appbcbWCzen6D8dezhoCH2RpMAh

func (*ListAppTableFieldReqBuilder) Build

func (*ListAppTableFieldReqBuilder) Limit

最大返回多少记录,当使用迭代器访问时才有效

func (*ListAppTableFieldReqBuilder) PageSize

func (builder *ListAppTableFieldReqBuilder) PageSize(pageSize int) *ListAppTableFieldReqBuilder

分页大小

示例值:10

func (*ListAppTableFieldReqBuilder) PageToken

func (builder *ListAppTableFieldReqBuilder) PageToken(pageToken string) *ListAppTableFieldReqBuilder

分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该page_token 获取查询结果

示例值:fldwJ4YrtB

func (*ListAppTableFieldReqBuilder) TableId

table id

示例值:tblsRc9GRRXKqhvW

func (*ListAppTableFieldReqBuilder) TextFieldAsArray added in v3.0.2

func (builder *ListAppTableFieldReqBuilder) TextFieldAsArray(textFieldAsArray bool) *ListAppTableFieldReqBuilder

控制字段描述(多行文本格式)数据的返回格式, true 表示以数组富文本形式返回

示例值:true

func (*ListAppTableFieldReqBuilder) ViewId

视图 ID

示例值:vewOVMEXPF

type ListAppTableFieldResp

type ListAppTableFieldResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *ListAppTableFieldRespData `json:"data"` // 业务数据
}

func (*ListAppTableFieldResp) Success

func (resp *ListAppTableFieldResp) Success() bool

type ListAppTableFieldRespData

type ListAppTableFieldRespData struct {
	HasMore   *bool                   `json:"has_more,omitempty"`   // 是否有下一页数据
	PageToken *string                 `json:"page_token,omitempty"` // 下一页分页的token
	Total     *int                    `json:"total,omitempty"`      // 总数
	Items     []*AppTableFieldForList `json:"items,omitempty"`      // 字段信息
}

type ListAppTableFormFieldIterator

type ListAppTableFormFieldIterator struct {
	// contains filtered or unexported fields
}

func (*ListAppTableFormFieldIterator) Next

func (*ListAppTableFormFieldIterator) NextPageToken

func (iterator *ListAppTableFormFieldIterator) NextPageToken() *string

type ListAppTableFormFieldReq

type ListAppTableFormFieldReq struct {
	Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效
	// contains filtered or unexported fields
}

type ListAppTableFormFieldReqBuilder

type ListAppTableFormFieldReqBuilder struct {
	// contains filtered or unexported fields
}

func NewListAppTableFormFieldReqBuilder

func NewListAppTableFormFieldReqBuilder() *ListAppTableFormFieldReqBuilder

func (*ListAppTableFormFieldReqBuilder) AppToken

多维表格文档 Token

示例值:bascnCMII2ORej2RItqpZZUNMIe

func (*ListAppTableFormFieldReqBuilder) Build

func (*ListAppTableFormFieldReqBuilder) FormId

表单 ID

示例值:vewTpR1urY

func (*ListAppTableFormFieldReqBuilder) Limit

最大返回多少记录,当使用迭代器访问时才有效

func (*ListAppTableFormFieldReqBuilder) PageSize

分页大小

示例值:10

func (*ListAppTableFormFieldReqBuilder) PageToken

分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果

示例值:vewTpR1urY

func (*ListAppTableFormFieldReqBuilder) TableId

表格 ID

示例值:tblxI2tWaxP5dG7p

type ListAppTableFormFieldResp

type ListAppTableFormFieldResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *ListAppTableFormFieldRespData `json:"data"` // 业务数据
}

func (*ListAppTableFormFieldResp) Success

func (resp *ListAppTableFormFieldResp) Success() bool

type ListAppTableFormFieldRespData

type ListAppTableFormFieldRespData struct {
	Items     []*AppTableFormField `json:"items,omitempty"`      // 表单问题信息
	PageToken *string              `json:"page_token,omitempty"` // 下一页分页的token
	HasMore   *bool                `json:"has_more,omitempty"`   // 是否有下一页
	Total     *int                 `json:"total,omitempty"`      // 总数
}

type ListAppTableIterator

type ListAppTableIterator struct {
	// contains filtered or unexported fields
}

func (*ListAppTableIterator) Next

func (iterator *ListAppTableIterator) Next() (bool, *AppTable, error)

func (*ListAppTableIterator) NextPageToken

func (iterator *ListAppTableIterator) NextPageToken() *string

type ListAppTableRecordIterator

type ListAppTableRecordIterator struct {
	// contains filtered or unexported fields
}

func (*ListAppTableRecordIterator) Next

func (iterator *ListAppTableRecordIterator) Next() (bool, *AppTableRecord, error)

func (*ListAppTableRecordIterator) NextPageToken

func (iterator *ListAppTableRecordIterator) NextPageToken() *string

type ListAppTableRecordReq

type ListAppTableRecordReq struct {
	Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效
	// contains filtered or unexported fields
}

type ListAppTableRecordReqBuilder

type ListAppTableRecordReqBuilder struct {
	// contains filtered or unexported fields
}

func NewListAppTableRecordReqBuilder

func NewListAppTableRecordReqBuilder() *ListAppTableRecordReqBuilder

func (*ListAppTableRecordReqBuilder) AppToken

多维表格的唯一标识符 [app_token 参数说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/bitable/notification#8121eebe)

示例值:bascnCMII2ORej2RItqpZZUNMIe

func (*ListAppTableRecordReqBuilder) AutomaticFields

func (builder *ListAppTableRecordReqBuilder) AutomaticFields(automaticFields bool) *ListAppTableRecordReqBuilder

控制是否返回自动计算的字段,例如 `created_by`/`created_time`/`last_modified_by`/`last_modified_time`,true 表示返回

示例值:true

func (*ListAppTableRecordReqBuilder) Build

func (*ListAppTableRecordReqBuilder) DisplayFormulaRef

func (builder *ListAppTableRecordReqBuilder) DisplayFormulaRef(displayFormulaRef bool) *ListAppTableRecordReqBuilder

默认值为false,返回当前字段的默认类型和结果;当该参数的值为true时,公式 和 查找引用 类型的字段,将会以 被引用字段 的格式返回

示例值:true

func (*ListAppTableRecordReqBuilder) FieldNames

func (builder *ListAppTableRecordReqBuilder) FieldNames(fieldNames string) *ListAppTableRecordReqBuilder

字段名称,用于指定本次查询返回记录中包含的字段

示例值:["字段1","字段2"]

func (*ListAppTableRecordReqBuilder) Filter

筛选参数,用于指定本次查询的筛选条件;;注意:;;1.不支持对“人员”以及“关联字段”的属性进行过滤筛选,如人员的 OpenID。;;2.指定筛选条件时,参数长度不超过2000个字符。;;;详细请参考[筛选条件支持的公式](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/bitable-v1/filter)

示例值:AND(CurrentValue.[身高]>180, CurrentValue.[体重]>150)

func (*ListAppTableRecordReqBuilder) Limit

最大返回多少记录,当使用迭代器访问时才有效

func (*ListAppTableRecordReqBuilder) PageSize

func (builder *ListAppTableRecordReqBuilder) PageSize(pageSize int) *ListAppTableRecordReqBuilder

分页大小

示例值:10

func (*ListAppTableRecordReqBuilder) PageToken

func (builder *ListAppTableRecordReqBuilder) PageToken(pageToken string) *ListAppTableRecordReqBuilder

分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该page_token 获取查询结果

示例值:recn0hoyXL

func (*ListAppTableRecordReqBuilder) Sort

排序参数,用于指定本次查询返回结果的顺序;;注意:;;1.不支持对带“公式”和“关联字段”的表的使用。;;2.指定排序条件时,参数长度不超过1000字符。;;3.当存在多个排序条件时,数据将根据条件顺序逐层排序

示例值:["字段1 DESC","字段2 ASC"]

func (*ListAppTableRecordReqBuilder) TableId

多维表格数据表的唯一标识符 [table_id 参数说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/bitable/notification#735fe883)

示例值:tblxI2tWaxP5dG7p

func (*ListAppTableRecordReqBuilder) TextFieldAsArray

func (builder *ListAppTableRecordReqBuilder) TextFieldAsArray(textFieldAsArray bool) *ListAppTableRecordReqBuilder

控制多行文本字段数据的返回格式,true 表示以数组形式返回。;;注意:;;1.多行文本中如果有超链接部分,则会返回链接的 URL。;;2.目前可以返回多行文本中 URL 类型为多维表格链接、飞书 doc、飞书 sheet的URL类型以及@人员的数据结构。

示例值:true

func (*ListAppTableRecordReqBuilder) UserIdType

func (builder *ListAppTableRecordReqBuilder) UserIdType(userIdType string) *ListAppTableRecordReqBuilder

此次调用中使用的用户ID的类型

示例值:

func (*ListAppTableRecordReqBuilder) ViewId

视图的唯一标识符,获取指定视图下的记录[view_id 参数说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/bitable/notification#8121eebe);;注意:;当 filter 参数 或 sort 参数不为空时,请求视为对数据表中的全部数据做条件过滤,指定的view_id 会被忽略。

示例值:vewqhz51lk

type ListAppTableRecordResp

type ListAppTableRecordResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *ListAppTableRecordRespData `json:"data"` // 业务数据
}

func (*ListAppTableRecordResp) Success

func (resp *ListAppTableRecordResp) Success() bool

type ListAppTableRecordRespData

type ListAppTableRecordRespData struct {
	HasMore   *bool             `json:"has_more,omitempty"`   // 是否有下一页数据
	PageToken *string           `json:"page_token,omitempty"` // 下一页分页的token
	Total     *int              `json:"total,omitempty"`      // 本次请求返回的总记录数
	Items     []*AppTableRecord `json:"items,omitempty"`      // 本次请求返回的全部记录列表
}

type ListAppTableReq

type ListAppTableReq struct {
	Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效
	// contains filtered or unexported fields
}

type ListAppTableReqBuilder

type ListAppTableReqBuilder struct {
	// contains filtered or unexported fields
}

func NewListAppTableReqBuilder

func NewListAppTableReqBuilder() *ListAppTableReqBuilder

func (*ListAppTableReqBuilder) AppToken

func (builder *ListAppTableReqBuilder) AppToken(appToken string) *ListAppTableReqBuilder

bitable app token

示例值:appbcbWCzen6D8dezhoCH2RpMAh

func (*ListAppTableReqBuilder) Build

func (builder *ListAppTableReqBuilder) Build() *ListAppTableReq

func (*ListAppTableReqBuilder) Limit

func (builder *ListAppTableReqBuilder) Limit(limit int) *ListAppTableReqBuilder

最大返回多少记录,当使用迭代器访问时才有效

func (*ListAppTableReqBuilder) PageSize

func (builder *ListAppTableReqBuilder) PageSize(pageSize int) *ListAppTableReqBuilder

分页大小

示例值:10

func (*ListAppTableReqBuilder) PageToken

func (builder *ListAppTableReqBuilder) PageToken(pageToken string) *ListAppTableReqBuilder

分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该page_token 获取查询结果

示例值:tblsRc9GRRXKqhvW

type ListAppTableResp

type ListAppTableResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *ListAppTableRespData `json:"data"` // 业务数据
}

func (*ListAppTableResp) Success

func (resp *ListAppTableResp) Success() bool

type ListAppTableRespData

type ListAppTableRespData struct {
	HasMore   *bool       `json:"has_more,omitempty"`   // 是否有下一页数据
	PageToken *string     `json:"page_token,omitempty"` // 下一页分页的token
	Total     *int        `json:"total,omitempty"`      // 总数
	Items     []*AppTable `json:"items,omitempty"`      // 数据表信息
}

type ListAppTableViewIterator

type ListAppTableViewIterator struct {
	// contains filtered or unexported fields
}

func (*ListAppTableViewIterator) Next

func (iterator *ListAppTableViewIterator) Next() (bool, *AppTableView, error)

func (*ListAppTableViewIterator) NextPageToken

func (iterator *ListAppTableViewIterator) NextPageToken() *string

type ListAppTableViewReq

type ListAppTableViewReq struct {
	Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效
	// contains filtered or unexported fields
}

type ListAppTableViewReqBuilder

type ListAppTableViewReqBuilder struct {
	// contains filtered or unexported fields
}

func NewListAppTableViewReqBuilder

func NewListAppTableViewReqBuilder() *ListAppTableViewReqBuilder

func (*ListAppTableViewReqBuilder) AppToken

func (builder *ListAppTableViewReqBuilder) AppToken(appToken string) *ListAppTableViewReqBuilder

bitable app token

示例值:appbcbWCzen6D8dezhoCH2RpMAh

func (*ListAppTableViewReqBuilder) Build

func (*ListAppTableViewReqBuilder) Limit

最大返回多少记录,当使用迭代器访问时才有效

func (*ListAppTableViewReqBuilder) PageSize

func (builder *ListAppTableViewReqBuilder) PageSize(pageSize int) *ListAppTableViewReqBuilder

分页大小

示例值:10

func (*ListAppTableViewReqBuilder) PageToken

func (builder *ListAppTableViewReqBuilder) PageToken(pageToken string) *ListAppTableViewReqBuilder

分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果

示例值:vewTpR1urY

func (*ListAppTableViewReqBuilder) TableId

table id

示例值:tblsRc9GRRXKqhvW

func (*ListAppTableViewReqBuilder) UserIdType added in v3.0.17

func (builder *ListAppTableViewReqBuilder) UserIdType(userIdType string) *ListAppTableViewReqBuilder

此次调用中使用的用户ID的类型

示例值:

type ListAppTableViewResp

type ListAppTableViewResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *ListAppTableViewRespData `json:"data"` // 业务数据
}

func (*ListAppTableViewResp) Success

func (resp *ListAppTableViewResp) Success() bool

type ListAppTableViewRespData

type ListAppTableViewRespData struct {
	Items     []*AppTableView `json:"items,omitempty"`      // 视图信息
	PageToken *string         `json:"page_token,omitempty"` // 下一页分页的token
	HasMore   *bool           `json:"has_more,omitempty"`   // 是否有下一页数据
	Total     *int            `json:"total,omitempty"`      // 总数
}

type Location added in v3.0.1

type Location struct {
	Location    *string `json:"location,omitempty"`     // 经纬度
	Pname       *string `json:"pname,omitempty"`        // 省
	Cityname    *string `json:"cityname,omitempty"`     // 市
	Adname      *string `json:"adname,omitempty"`       // 区
	Address     *string `json:"address,omitempty"`      // 详细地址
	Name        *string `json:"name,omitempty"`         // 地名
	FullAddress *string `json:"full_address,omitempty"` // 完整地址
}

type LocationBuilder added in v3.0.1

type LocationBuilder struct {
	// contains filtered or unexported fields
}

func NewLocationBuilder added in v3.0.1

func NewLocationBuilder() *LocationBuilder

func (*LocationBuilder) Address added in v3.0.1

func (builder *LocationBuilder) Address(address string) *LocationBuilder

详细地址

示例值:深圳湾创新科技中心(科苑地铁站C口步行340米)

func (*LocationBuilder) Adname added in v3.0.1

func (builder *LocationBuilder) Adname(adname string) *LocationBuilder

示例值:南山区

func (*LocationBuilder) Build added in v3.0.1

func (builder *LocationBuilder) Build() *Location

func (*LocationBuilder) Cityname added in v3.0.1

func (builder *LocationBuilder) Cityname(cityname string) *LocationBuilder

示例值:深圳市

func (*LocationBuilder) FullAddress added in v3.0.1

func (builder *LocationBuilder) FullAddress(fullAddress string) *LocationBuilder

完整地址

示例值:字节跳动,广东省深圳市南山区深圳湾创新科技中心(科苑地铁站C口步行340米)

func (*LocationBuilder) Location added in v3.0.1

func (builder *LocationBuilder) Location(location string) *LocationBuilder

经纬度

示例值:113.946927,22.529146

func (*LocationBuilder) Name added in v3.0.1

func (builder *LocationBuilder) Name(name string) *LocationBuilder

地名

示例值:字节跳动

func (*LocationBuilder) Pname added in v3.0.1

func (builder *LocationBuilder) Pname(pname string) *LocationBuilder

示例值:广东省

type PatchAppTableFormFieldReq

type PatchAppTableFormFieldReq struct {
	AppTableFormPatchedField *AppTableFormPatchedField `body:""`
	// contains filtered or unexported fields
}

type PatchAppTableFormFieldReqBuilder

type PatchAppTableFormFieldReqBuilder struct {
	// contains filtered or unexported fields
}

func NewPatchAppTableFormFieldReqBuilder

func NewPatchAppTableFormFieldReqBuilder() *PatchAppTableFormFieldReqBuilder

func (*PatchAppTableFormFieldReqBuilder) AppTableFormPatchedField

func (builder *PatchAppTableFormFieldReqBuilder) AppTableFormPatchedField(appTableFormPatchedField *AppTableFormPatchedField) *PatchAppTableFormFieldReqBuilder

该接口用于更新表单中的问题项

func (*PatchAppTableFormFieldReqBuilder) AppToken

多维表格文档 Token

示例值:bascnCMII2ORej2RItqpZZUNMIe

func (*PatchAppTableFormFieldReqBuilder) Build

func (*PatchAppTableFormFieldReqBuilder) FieldId

表单问题 ID

示例值:fldjX7dUj5

func (*PatchAppTableFormFieldReqBuilder) FormId

表单 ID

示例值:vewTpR1urY

func (*PatchAppTableFormFieldReqBuilder) TableId

表格 ID

示例值:tblsRc9GRRXKqhvW

type PatchAppTableFormFieldResp

type PatchAppTableFormFieldResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *PatchAppTableFormFieldRespData `json:"data"` // 业务数据
}

func (*PatchAppTableFormFieldResp) Success

func (resp *PatchAppTableFormFieldResp) Success() bool

type PatchAppTableFormFieldRespData

type PatchAppTableFormFieldRespData struct {
	Field *AppTableFormPatchedField `json:"field,omitempty"` // 更新后的表单问题项
}

type PatchAppTableFormReq added in v3.0.1

type PatchAppTableFormReq struct {
	AppTableForm *AppTableForm `body:""`
	// contains filtered or unexported fields
}

type PatchAppTableFormReqBuilder added in v3.0.1

type PatchAppTableFormReqBuilder struct {
	// contains filtered or unexported fields
}

func NewPatchAppTableFormReqBuilder added in v3.0.1

func NewPatchAppTableFormReqBuilder() *PatchAppTableFormReqBuilder

func (*PatchAppTableFormReqBuilder) AppTableForm added in v3.0.1

func (builder *PatchAppTableFormReqBuilder) AppTableForm(appTableForm *AppTableForm) *PatchAppTableFormReqBuilder

该接口用于更新表单中的元数据项

func (*PatchAppTableFormReqBuilder) AppToken added in v3.0.1

func (builder *PatchAppTableFormReqBuilder) AppToken(appToken string) *PatchAppTableFormReqBuilder

多维表格文档 Token

示例值:bascnv1jIEppJdTCn3jOosabcef

func (*PatchAppTableFormReqBuilder) Build added in v3.0.1

func (*PatchAppTableFormReqBuilder) FormId added in v3.0.1

表单 ID

示例值:vew6oMbAa4

func (*PatchAppTableFormReqBuilder) TableId added in v3.0.1

表格 ID

示例值:tblz8nadEUdxNMt5

type PatchAppTableFormResp added in v3.0.1

type PatchAppTableFormResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *PatchAppTableFormRespData `json:"data"` // 业务数据
}

func (*PatchAppTableFormResp) Success added in v3.0.1

func (resp *PatchAppTableFormResp) Success() bool

type PatchAppTableFormRespData added in v3.0.1

type PatchAppTableFormRespData struct {
	Form *AppTableForm `json:"form,omitempty"` // 表单元数据信息
}

type PatchAppTablePathReqBodyBuilder added in v3.0.13

type PatchAppTablePathReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewPatchAppTablePathReqBodyBuilder added in v3.0.13

func NewPatchAppTablePathReqBodyBuilder() *PatchAppTablePathReqBodyBuilder

func (*PatchAppTablePathReqBodyBuilder) Build added in v3.0.13

func (*PatchAppTablePathReqBodyBuilder) Name added in v3.0.13

数据表的新名称

示例值:

type PatchAppTableReq added in v3.0.13

type PatchAppTableReq struct {
	Body *PatchAppTableReqBody `body:""`
	// contains filtered or unexported fields
}

type PatchAppTableReqBody added in v3.0.13

type PatchAppTableReqBody struct {
	Name *string `json:"name,omitempty"` // 数据表的新名称
}

type PatchAppTableReqBodyBuilder added in v3.0.13

type PatchAppTableReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewPatchAppTableReqBodyBuilder added in v3.0.13

func NewPatchAppTableReqBodyBuilder() *PatchAppTableReqBodyBuilder

func (*PatchAppTableReqBodyBuilder) Build added in v3.0.13

func (*PatchAppTableReqBodyBuilder) Name added in v3.0.13

数据表的新名称

示例值:

type PatchAppTableReqBuilder added in v3.0.13

type PatchAppTableReqBuilder struct {
	// contains filtered or unexported fields
}

func NewPatchAppTableReqBuilder added in v3.0.13

func NewPatchAppTableReqBuilder() *PatchAppTableReqBuilder

func (*PatchAppTableReqBuilder) AppToken added in v3.0.13

func (builder *PatchAppTableReqBuilder) AppToken(appToken string) *PatchAppTableReqBuilder

多维表格 app_token,请参照接入指南获取

示例值:

func (*PatchAppTableReqBuilder) Body added in v3.0.13

func (*PatchAppTableReqBuilder) Build added in v3.0.13

func (builder *PatchAppTableReqBuilder) Build() *PatchAppTableReq

func (*PatchAppTableReqBuilder) TableId added in v3.0.13

func (builder *PatchAppTableReqBuilder) TableId(tableId string) *PatchAppTableReqBuilder

多维表格 table_id,请参照接入指南获取

示例值:

type PatchAppTableResp added in v3.0.13

type PatchAppTableResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *PatchAppTableRespData `json:"data"` // 业务数据
}

func (*PatchAppTableResp) Success added in v3.0.13

func (resp *PatchAppTableResp) Success() bool

type PatchAppTableRespData added in v3.0.13

type PatchAppTableRespData struct {
	Name *string `json:"name,omitempty"` // 数据表的名称
}

type PatchAppTableViewPathReqBodyBuilder added in v3.0.13

type PatchAppTableViewPathReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewPatchAppTableViewPathReqBodyBuilder added in v3.0.13

func NewPatchAppTableViewPathReqBodyBuilder() *PatchAppTableViewPathReqBodyBuilder

func (*PatchAppTableViewPathReqBodyBuilder) Build added in v3.0.13

func (*PatchAppTableViewPathReqBodyBuilder) Property added in v3.0.13

视图属性

示例值:

func (*PatchAppTableViewPathReqBodyBuilder) ViewName added in v3.0.13

视图名称

示例值:grid

type PatchAppTableViewReq added in v3.0.13

type PatchAppTableViewReq struct {
	Body *PatchAppTableViewReqBody `body:""`
	// contains filtered or unexported fields
}

type PatchAppTableViewReqBody added in v3.0.13

type PatchAppTableViewReqBody struct {
	ViewName *string               `json:"view_name,omitempty"` // 视图名称
	Property *AppTableViewProperty `json:"property,omitempty"`  // 视图属性
}

type PatchAppTableViewReqBodyBuilder added in v3.0.13

type PatchAppTableViewReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewPatchAppTableViewReqBodyBuilder added in v3.0.13

func NewPatchAppTableViewReqBodyBuilder() *PatchAppTableViewReqBodyBuilder

func (*PatchAppTableViewReqBodyBuilder) Build added in v3.0.13

func (*PatchAppTableViewReqBodyBuilder) Property added in v3.0.13

视图属性

示例值:

func (*PatchAppTableViewReqBodyBuilder) ViewName added in v3.0.13

视图名称

示例值:grid

type PatchAppTableViewReqBuilder added in v3.0.13

type PatchAppTableViewReqBuilder struct {
	// contains filtered or unexported fields
}

func NewPatchAppTableViewReqBuilder added in v3.0.13

func NewPatchAppTableViewReqBuilder() *PatchAppTableViewReqBuilder

func (*PatchAppTableViewReqBuilder) AppToken added in v3.0.13

func (builder *PatchAppTableViewReqBuilder) AppToken(appToken string) *PatchAppTableViewReqBuilder

bitable app token

示例值:bascng7vrxcxpig7geggXiCtadY

func (*PatchAppTableViewReqBuilder) Body added in v3.0.13

该接口用于增量修改视图信息

func (*PatchAppTableViewReqBuilder) Build added in v3.0.13

func (*PatchAppTableViewReqBuilder) TableId added in v3.0.13

table id

示例值:tblsRc9GRRXKqhvW

func (*PatchAppTableViewReqBuilder) ViewId added in v3.0.13

视图 ID

示例值:vewTpR1urY

type PatchAppTableViewResp added in v3.0.13

type PatchAppTableViewResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *PatchAppTableViewRespData `json:"data"` // 业务数据
}

func (*PatchAppTableViewResp) Success added in v3.0.13

func (resp *PatchAppTableViewResp) Success() bool

type PatchAppTableViewRespData added in v3.0.13

type PatchAppTableViewRespData struct {
	View *AppTableView `json:"view,omitempty"` // 视图信息
}

type Person

type Person struct {
	Id        *string `json:"id,omitempty"`         // 用户id,id类型等于user_id_type所指定的类型。
	Name      *string `json:"name,omitempty"`       // 用户的中文名称
	EnName    *string `json:"en_name,omitempty"`    // 用户的英文名称
	Email     *string `json:"email,omitempty"`      // 用户的邮箱
	AvatarUrl *string `json:"avatar_url,omitempty"` // 头像链接
}

type PersonBuilder

type PersonBuilder struct {
	// contains filtered or unexported fields
}

func NewPersonBuilder

func NewPersonBuilder() *PersonBuilder

func (*PersonBuilder) AvatarUrl added in v3.0.18

func (builder *PersonBuilder) AvatarUrl(avatarUrl string) *PersonBuilder

头像链接

示例值:https://example.com/avatar

func (*PersonBuilder) Build

func (builder *PersonBuilder) Build() *Person

func (*PersonBuilder) Email

func (builder *PersonBuilder) Email(email string) *PersonBuilder

用户的邮箱

示例值:huangpaopao@feishu.cn

func (*PersonBuilder) EnName

func (builder *PersonBuilder) EnName(enName string) *PersonBuilder

用户的英文名称

示例值:Paopao Huang

func (*PersonBuilder) Id

func (builder *PersonBuilder) Id(id string) *PersonBuilder

用户id,id类型等于user_id_type所指定的类型。

示例值:testesttest

func (*PersonBuilder) Name

func (builder *PersonBuilder) Name(name string) *PersonBuilder

用户的中文名称

示例值:黄泡泡

type Rating added in v3.0.24

type Rating struct {
	Symbol *string `json:"symbol,omitempty"` // 评分字段的符号展示
}

type RatingBuilder added in v3.0.24

type RatingBuilder struct {
	// contains filtered or unexported fields
}

func NewRatingBuilder added in v3.0.24

func NewRatingBuilder() *RatingBuilder

func (*RatingBuilder) Build added in v3.0.24

func (builder *RatingBuilder) Build() *Rating

func (*RatingBuilder) Symbol added in v3.0.24

func (builder *RatingBuilder) Symbol(symbol string) *RatingBuilder

评分字段的符号展示

示例值:star

type ReqApp

type ReqApp struct {
	Name        *string `json:"name,omitempty"`         // 多维表格App名字
	FolderToken *string `json:"folder_token,omitempty"` // 多维表格App归属文件夹
	TimeZone    *string `json:"time_zone,omitempty"`    // 文档时区,说明见:https://bytedance.feishu.cn/docx/YKRndTM7VoyDqpxqqeEcd67MnEf
}

type ReqAppBuilder

type ReqAppBuilder struct {
	// contains filtered or unexported fields
}

func NewReqAppBuilder

func NewReqAppBuilder() *ReqAppBuilder

func (*ReqAppBuilder) Build

func (builder *ReqAppBuilder) Build() *ReqApp

func (*ReqAppBuilder) FolderToken

func (builder *ReqAppBuilder) FolderToken(folderToken string) *ReqAppBuilder

多维表格App归属文件夹

示例值:fldbcoh8O99CIMltVc

func (*ReqAppBuilder) Name

func (builder *ReqAppBuilder) Name(name string) *ReqAppBuilder

多维表格App名字

示例值:一篇新的多维表格

func (*ReqAppBuilder) TimeZone added in v3.0.30

func (builder *ReqAppBuilder) TimeZone(timeZone string) *ReqAppBuilder

文档时区,说明见:https://bytedance.feishu.cn/docx/YKRndTM7VoyDqpxqqeEcd67MnEf

示例值:Asia/Macau

type ReqTable

type ReqTable struct {
	Name            *string                 `json:"name,omitempty"`              // 数据表名字,必填字段
	DefaultViewName *string                 `json:"default_view_name,omitempty"` // 默认表格视图的名称
	Fields          []*AppTableCreateHeader `json:"fields,omitempty"`            // 允许设置数据表的初始字段,默认第一个字段为索引列
}

type ReqTableBuilder

type ReqTableBuilder struct {
	// contains filtered or unexported fields
}

func NewReqTableBuilder

func NewReqTableBuilder() *ReqTableBuilder

func (*ReqTableBuilder) Build

func (builder *ReqTableBuilder) Build() *ReqTable

func (*ReqTableBuilder) DefaultViewName added in v3.0.13

func (builder *ReqTableBuilder) DefaultViewName(defaultViewName string) *ReqTableBuilder

默认表格视图的名称

示例值:表格

func (*ReqTableBuilder) Fields added in v3.0.13

func (builder *ReqTableBuilder) Fields(fields []*AppTableCreateHeader) *ReqTableBuilder

允许设置数据表的初始字段,默认第一个字段为索引列

示例值:

func (*ReqTableBuilder) Name

func (builder *ReqTableBuilder) Name(name string) *ReqTableBuilder

数据表名字,必填字段

示例值:table1

type ReqView

type ReqView struct {
	ViewName *string `json:"view_name,omitempty"` // 视图名字
	ViewType *string `json:"view_type,omitempty"` // 视图类型
}

type ReqViewBuilder

type ReqViewBuilder struct {
	// contains filtered or unexported fields
}

func NewReqViewBuilder

func NewReqViewBuilder() *ReqViewBuilder

func (*ReqViewBuilder) Build

func (builder *ReqViewBuilder) Build() *ReqView

func (*ReqViewBuilder) ViewName

func (builder *ReqViewBuilder) ViewName(viewName string) *ReqViewBuilder

视图名字

示例值:表格视图1

func (*ReqViewBuilder) ViewType

func (builder *ReqViewBuilder) ViewType(viewType string) *ReqViewBuilder

视图类型

示例值:grid

type SearchAppTableRecordPathReqBodyBuilder added in v3.1.3

type SearchAppTableRecordPathReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewSearchAppTableRecordPathReqBodyBuilder added in v3.1.3

func NewSearchAppTableRecordPathReqBodyBuilder() *SearchAppTableRecordPathReqBodyBuilder

func (*SearchAppTableRecordPathReqBodyBuilder) AutomaticFields added in v3.1.3

func (builder *SearchAppTableRecordPathReqBodyBuilder) AutomaticFields(automaticFields bool) *SearchAppTableRecordPathReqBodyBuilder

控制是否返回自动计算的字段, true 表示返回

示例值:

func (*SearchAppTableRecordPathReqBodyBuilder) Build added in v3.1.3

func (*SearchAppTableRecordPathReqBodyBuilder) FieldNames added in v3.1.3

指定要返回的字段

示例值:

func (*SearchAppTableRecordPathReqBodyBuilder) Filter added in v3.1.3

筛选条件

示例值:

func (*SearchAppTableRecordPathReqBodyBuilder) Sort added in v3.1.3

排序条件

示例值:

func (*SearchAppTableRecordPathReqBodyBuilder) ViewId added in v3.1.3

视图Id,指定视图id则按照视图的筛选排序结果返回数据

示例值:viex

type SearchAppTableRecordReq added in v3.1.3

type SearchAppTableRecordReq struct {
	Body *SearchAppTableRecordReqBody `body:""`
	// contains filtered or unexported fields
}

type SearchAppTableRecordReqBody added in v3.1.3

type SearchAppTableRecordReqBody struct {
	ViewId          *string     `json:"view_id,omitempty"`          // 视图Id,指定视图id则按照视图的筛选排序结果返回数据
	FieldNames      []string    `json:"field_names,omitempty"`      // 指定要返回的字段
	Sort            []*Sort     `json:"sort,omitempty"`             // 排序条件
	Filter          *FilterInfo `json:"filter,omitempty"`           // 筛选条件
	AutomaticFields *bool       `json:"automatic_fields,omitempty"` // 控制是否返回自动计算的字段, true 表示返回
}

type SearchAppTableRecordReqBodyBuilder added in v3.1.3

type SearchAppTableRecordReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewSearchAppTableRecordReqBodyBuilder added in v3.1.3

func NewSearchAppTableRecordReqBodyBuilder() *SearchAppTableRecordReqBodyBuilder

func (*SearchAppTableRecordReqBodyBuilder) AutomaticFields added in v3.1.3

func (builder *SearchAppTableRecordReqBodyBuilder) AutomaticFields(automaticFields bool) *SearchAppTableRecordReqBodyBuilder

控制是否返回自动计算的字段, true 表示返回

示例值:

func (*SearchAppTableRecordReqBodyBuilder) Build added in v3.1.3

func (*SearchAppTableRecordReqBodyBuilder) FieldNames added in v3.1.3

指定要返回的字段

示例值:

func (*SearchAppTableRecordReqBodyBuilder) Filter added in v3.1.3

筛选条件

示例值:

func (*SearchAppTableRecordReqBodyBuilder) Sort added in v3.1.3

排序条件

示例值:

func (*SearchAppTableRecordReqBodyBuilder) ViewId added in v3.1.3

视图Id,指定视图id则按照视图的筛选排序结果返回数据

示例值:viex

type SearchAppTableRecordReqBuilder added in v3.1.3

type SearchAppTableRecordReqBuilder struct {
	// contains filtered or unexported fields
}

func NewSearchAppTableRecordReqBuilder added in v3.1.3

func NewSearchAppTableRecordReqBuilder() *SearchAppTableRecordReqBuilder

func (*SearchAppTableRecordReqBuilder) AppToken added in v3.1.3

表格token

示例值:NQRxbRkBMa6OnZsjtERcxhNWnNh

func (*SearchAppTableRecordReqBuilder) Body added in v3.1.3

查找多维表格记录

func (*SearchAppTableRecordReqBuilder) Build added in v3.1.3

func (*SearchAppTableRecordReqBuilder) PageSize added in v3.1.3

分页大小

示例值:

func (*SearchAppTableRecordReqBuilder) PageToken added in v3.1.3

分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该page_token 获取查询结果

示例值:

func (*SearchAppTableRecordReqBuilder) TableId added in v3.1.3

表ID

示例值:tbl0xe5g8PP3U3cS

func (*SearchAppTableRecordReqBuilder) UserIdType added in v3.1.3

func (builder *SearchAppTableRecordReqBuilder) UserIdType(userIdType string) *SearchAppTableRecordReqBuilder

此次调用中使用的用户ID的类型

示例值:open_id

type SearchAppTableRecordResp added in v3.1.3

type SearchAppTableRecordResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *SearchAppTableRecordRespData `json:"data"` // 业务数据
}

func (*SearchAppTableRecordResp) Success added in v3.1.3

func (resp *SearchAppTableRecordResp) Success() bool

type SearchAppTableRecordRespData added in v3.1.3

type SearchAppTableRecordRespData struct {
	Items     *AppTableRecord `json:"items,omitempty"`      // record 结果
	HasMore   *bool           `json:"has_more,omitempty"`   // 是否有下一页数据
	PageToken *string         `json:"page_token,omitempty"` // 下一页分页的token
	Total     *int            `json:"total,omitempty"`      // 总数
}

type Sort added in v3.0.34

type Sort struct {
	FieldName *string `json:"field_name,omitempty"` // 字段名称
	Desc      *bool   `json:"desc,omitempty"`       // 是否倒序排序
}

type SortBuilder added in v3.0.34

type SortBuilder struct {
	// contains filtered or unexported fields
}

func NewSortBuilder added in v3.0.34

func NewSortBuilder() *SortBuilder

func (*SortBuilder) Build added in v3.0.34

func (builder *SortBuilder) Build() *Sort

func (*SortBuilder) Desc added in v3.0.34

func (builder *SortBuilder) Desc(desc bool) *SortBuilder

是否倒序排序

示例值:true

func (*SortBuilder) FieldName added in v3.0.34

func (builder *SortBuilder) FieldName(fieldName string) *SortBuilder

字段名称

示例值:多行文本

type UpdateAppPathReqBodyBuilder

type UpdateAppPathReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewUpdateAppPathReqBodyBuilder

func NewUpdateAppPathReqBodyBuilder() *UpdateAppPathReqBodyBuilder

func (*UpdateAppPathReqBodyBuilder) Build

func (builder *UpdateAppPathReqBodyBuilder) Build() (*UpdateAppReqBody, error)

func (*UpdateAppPathReqBodyBuilder) IsAdvanced

func (builder *UpdateAppPathReqBodyBuilder) IsAdvanced(isAdvanced bool) *UpdateAppPathReqBodyBuilder

多维表格是否开启高级权限

示例值:true

func (*UpdateAppPathReqBodyBuilder) Name

新的多维表格名字

示例值:新的多维表格名字

type UpdateAppReq

type UpdateAppReq struct {
	Body *UpdateAppReqBody `body:""`
	// contains filtered or unexported fields
}

type UpdateAppReqBody

type UpdateAppReqBody struct {
	Name       *string `json:"name,omitempty"`        // 新的多维表格名字
	IsAdvanced *bool   `json:"is_advanced,omitempty"` // 多维表格是否开启高级权限
}

type UpdateAppReqBodyBuilder

type UpdateAppReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewUpdateAppReqBodyBuilder

func NewUpdateAppReqBodyBuilder() *UpdateAppReqBodyBuilder

func (*UpdateAppReqBodyBuilder) Build

func (builder *UpdateAppReqBodyBuilder) Build() *UpdateAppReqBody

func (*UpdateAppReqBodyBuilder) IsAdvanced

func (builder *UpdateAppReqBodyBuilder) IsAdvanced(isAdvanced bool) *UpdateAppReqBodyBuilder

多维表格是否开启高级权限

示例值:true

func (*UpdateAppReqBodyBuilder) Name

新的多维表格名字

示例值:新的多维表格名字

type UpdateAppReqBuilder

type UpdateAppReqBuilder struct {
	// contains filtered or unexported fields
}

func NewUpdateAppReqBuilder

func NewUpdateAppReqBuilder() *UpdateAppReqBuilder

func (*UpdateAppReqBuilder) AppToken

func (builder *UpdateAppReqBuilder) AppToken(appToken string) *UpdateAppReqBuilder

bitable app token

示例值:appbcbWCzen6D8dezhoCH2RpMAh

func (*UpdateAppReqBuilder) Body

通过 app_token 更新多维表格元数据

func (*UpdateAppReqBuilder) Build

func (builder *UpdateAppReqBuilder) Build() *UpdateAppReq

type UpdateAppResp

type UpdateAppResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *UpdateAppRespData `json:"data"` // 业务数据
}

func (*UpdateAppResp) Success

func (resp *UpdateAppResp) Success() bool

type UpdateAppRespData

type UpdateAppRespData struct {
	App *DisplayAppV2 `json:"app,omitempty"` // 多维表格元数据
}

type UpdateAppRoleReq

type UpdateAppRoleReq struct {
	AppRole *AppRole `body:""`
	// contains filtered or unexported fields
}

type UpdateAppRoleReqBuilder

type UpdateAppRoleReqBuilder struct {
	// contains filtered or unexported fields
}

func NewUpdateAppRoleReqBuilder

func NewUpdateAppRoleReqBuilder() *UpdateAppRoleReqBuilder

func (*UpdateAppRoleReqBuilder) AppRole

func (builder *UpdateAppRoleReqBuilder) AppRole(appRole *AppRole) *UpdateAppRoleReqBuilder

更新自定义角色

func (*UpdateAppRoleReqBuilder) AppToken

func (builder *UpdateAppRoleReqBuilder) AppToken(appToken string) *UpdateAppRoleReqBuilder

bitable app token

示例值:appbcbWCzen6D8dezhoCH2RpMAh

func (*UpdateAppRoleReqBuilder) Build

func (builder *UpdateAppRoleReqBuilder) Build() *UpdateAppRoleReq

func (*UpdateAppRoleReqBuilder) RoleId

func (builder *UpdateAppRoleReqBuilder) RoleId(roleId string) *UpdateAppRoleReqBuilder

自定义角色的id

示例值:roljRpwIUt

type UpdateAppRoleResp

type UpdateAppRoleResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *UpdateAppRoleRespData `json:"data"` // 业务数据
}

func (*UpdateAppRoleResp) Success

func (resp *UpdateAppRoleResp) Success() bool

type UpdateAppRoleRespData

type UpdateAppRoleRespData struct {
	Role *AppRole `json:"role,omitempty"` // 自定义角色
}

type UpdateAppTableFieldReq

type UpdateAppTableFieldReq struct {
	AppTableField *AppTableField `body:""`
	// contains filtered or unexported fields
}

type UpdateAppTableFieldReqBuilder

type UpdateAppTableFieldReqBuilder struct {
	// contains filtered or unexported fields
}

func NewUpdateAppTableFieldReqBuilder

func NewUpdateAppTableFieldReqBuilder() *UpdateAppTableFieldReqBuilder

func (*UpdateAppTableFieldReqBuilder) AppTableField

func (builder *UpdateAppTableFieldReqBuilder) AppTableField(appTableField *AppTableField) *UpdateAppTableFieldReqBuilder

该接口用于在数据表中更新一个字段

func (*UpdateAppTableFieldReqBuilder) AppToken

bitable app token

示例值:appbcbWCzen6D8dezhoCH2RpMAh

func (*UpdateAppTableFieldReqBuilder) Build

func (*UpdateAppTableFieldReqBuilder) FieldId

field id

示例值:fldPTb0U2y

func (*UpdateAppTableFieldReqBuilder) TableId

table id

示例值:tblsRc9GRRXKqhvW

type UpdateAppTableFieldResp

type UpdateAppTableFieldResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *UpdateAppTableFieldRespData `json:"data"` // 业务数据
}

func (*UpdateAppTableFieldResp) Success

func (resp *UpdateAppTableFieldResp) Success() bool

type UpdateAppTableFieldRespData

type UpdateAppTableFieldRespData struct {
	Field *AppTableField `json:"field,omitempty"` // 字段
}

type UpdateAppTableRecordReq

type UpdateAppTableRecordReq struct {
	AppTableRecord *AppTableRecord `body:""`
	// contains filtered or unexported fields
}

type UpdateAppTableRecordReqBuilder

type UpdateAppTableRecordReqBuilder struct {
	// contains filtered or unexported fields
}

func NewUpdateAppTableRecordReqBuilder

func NewUpdateAppTableRecordReqBuilder() *UpdateAppTableRecordReqBuilder

func (*UpdateAppTableRecordReqBuilder) AppTableRecord

func (builder *UpdateAppTableRecordReqBuilder) AppTableRecord(appTableRecord *AppTableRecord) *UpdateAppTableRecordReqBuilder

该接口用于更新数据表中的一条记录

func (*UpdateAppTableRecordReqBuilder) AppToken

多维表格的唯一标识符 [app_token 参数说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/bitable/notification#8121eebe)

示例值:appbcbWCzen6D8dezhoCH2RpMAh

func (*UpdateAppTableRecordReqBuilder) Build

func (*UpdateAppTableRecordReqBuilder) RecordId

一条记录的唯一标识 id [record_id 参数说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/bitable/notification#15d8db94)

示例值:recqwIwhc6

func (*UpdateAppTableRecordReqBuilder) TableId

多维表格数据表的唯一标识符 [table_id 参数说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/bitable/notification#735fe883)

示例值:tblsRc9GRRXKqhvW

func (*UpdateAppTableRecordReqBuilder) UserIdType

func (builder *UpdateAppTableRecordReqBuilder) UserIdType(userIdType string) *UpdateAppTableRecordReqBuilder

此次调用中使用的用户ID的类型

示例值:

type UpdateAppTableRecordResp

type UpdateAppTableRecordResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *UpdateAppTableRecordRespData `json:"data"` // 业务数据
}

func (*UpdateAppTableRecordResp) Success

func (resp *UpdateAppTableRecordResp) Success() bool

type UpdateAppTableRecordRespData

type UpdateAppTableRecordRespData struct {
	Record *AppTableRecord `json:"record,omitempty"` // 记录更新后的内容
}

type Url

type Url struct {
	Text *string `json:"text,omitempty"` // url text
	Link *string `json:"link,omitempty"` // url link
}

type UrlBuilder

type UrlBuilder struct {
	// contains filtered or unexported fields
}

func NewUrlBuilder

func NewUrlBuilder() *UrlBuilder

func (*UrlBuilder) Build

func (builder *UrlBuilder) Build() *Url
func (builder *UrlBuilder) Link(link string) *UrlBuilder

url link

示例值:

func (*UrlBuilder) Text

func (builder *UrlBuilder) Text(text string) *UrlBuilder

url text

示例值:

type V1 added in v3.1.0

type V1 struct {
	App               *app               // 多维表格
	AppDashboard      *appDashboard      // 仪表盘
	AppRole           *appRole           // 自定义角色
	AppRoleMember     *appRoleMember     // 协作者
	AppTable          *appTable          // 数据表
	AppTableField     *appTableField     // 字段
	AppTableForm      *appTableForm      // 表单
	AppTableFormField *appTableFormField // 表单
	AppTableRecord    *appTableRecord    // 记录
	AppTableView      *appTableView      // 视图
}

func New added in v3.1.0

func New(config *larkcore.Config) *V1

Jump to

Keyboard shortcuts

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