larkmdm

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Common

type Common struct {
	TenantId *string `json:"tenant_id,omitempty"` // 租户id

	Languages []string `json:"languages,omitempty"` // 语言集

	CustomExecutors map[string]string `json:"custom_executors,omitempty"` // 自定义执行器
}

type CommonBuilder

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

func NewCommonBuilder

func NewCommonBuilder() *CommonBuilder

func (*CommonBuilder) Build

func (builder *CommonBuilder) Build() *Common

func (*CommonBuilder) CustomExecutors

func (builder *CommonBuilder) CustomExecutors(customExecutors map[string]string) *CommonBuilder

自定义执行器

示例值:

func (*CommonBuilder) Languages

func (builder *CommonBuilder) Languages(languages []string) *CommonBuilder

语言集

示例值:

func (*CommonBuilder) TenantId

func (builder *CommonBuilder) TenantId(tenantId string) *CommonBuilder

租户id

示例值:1

type CountryRegion

type CountryRegion struct {
	Id *string `json:"id,omitempty"` // 自增id(业务无需关心)

	UpdateBy *string `json:"update_by,omitempty"` // 更新人

	CreateBy *string `json:"create_by,omitempty"` // 创建人

	UpdateTime *string `json:"update_time,omitempty"` // 更新时间

	CreateTime *string `json:"create_time,omitempty"` // 创建时间

	Alpha3Code *string `json:"alpha_3_code,omitempty"` // 三位字母代码

	Alpha2Code *string `json:"alpha_2_code,omitempty"` // 两位字母代码

	NumericCode *string `json:"numeric_code,omitempty"` // 数字代码

	Name *I18nString `json:"name,omitempty"` // 名称

	LocalScript *string `json:"local_script,omitempty"` // 本地文字通常为mdmCode

	WesternScript *string `json:"western_script,omitempty"` // 西方文字通常为mdmCode

	MdmCode *string `json:"mdm_code,omitempty"` // 主数据编码(系统生成的唯一永久代码,格式为“MDCT+8位数字”)

	FullName *I18nString `json:"full_name,omitempty"` // 国家/地区全称(国家/地区行政全称,对应EA的full_name,多语行级数据映射到多语map,wukong模型新增字段)

	GlobalCode *string `json:"global_code,omitempty"` // 国际电话区号(国际电话区号,对应EA模型中的globalCode,wukong模型新增字段)

	TimeZone []string `json:"time_zone,omitempty"` // 时区(lookup对象time_zone,行级数据映射关系须人工整理)通常为mdmCode

	Overseas *string `json:"overseas,omitempty"` // 是否海外(EA中特有字段,字节定制使用,为了区分中国大陆和其他所有国家/地区)

	Level *string `json:"level,omitempty"` // 层级

	Remark *string `json:"remark,omitempty"` // 备注

	UpdateReason *string `json:"update_reason,omitempty"` // 更新原因

	Status *string `json:"status,omitempty"` // 是否生效

	Continents *Enum `json:"continents,omitempty"` // 所属大洲(EA系统中用数字枚举,升级为常量集,常量的API Name对应以下数字:1-亚洲,2-欧洲,3-非洲,4-北美洲,5-南美洲,6-大洋洲,7-南极洲)

	MdLocalScript *Language `json:"md_local_script,omitempty"` // 语言

	MdWesternScript *Language `json:"md_western_script,omitempty"` // 语言

	MdTimeZone []*TimeZone `json:"md_time_zone,omitempty"` // 时区(lookup对象time_zone,行级数据映射关系须人工整理)
}

type CountryRegionBuilder

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

func NewCountryRegionBuilder

func NewCountryRegionBuilder() *CountryRegionBuilder

func (*CountryRegionBuilder) Alpha2Code

func (builder *CountryRegionBuilder) Alpha2Code(alpha2Code string) *CountryRegionBuilder

两位字母代码

示例值:-

func (*CountryRegionBuilder) Alpha3Code

func (builder *CountryRegionBuilder) Alpha3Code(alpha3Code string) *CountryRegionBuilder

三位字母代码

示例值:-

func (*CountryRegionBuilder) Build

func (builder *CountryRegionBuilder) Build() *CountryRegion

func (*CountryRegionBuilder) Continents

func (builder *CountryRegionBuilder) Continents(continents *Enum) *CountryRegionBuilder

所属大洲(EA系统中用数字枚举,升级为常量集,常量的API Name对应以下数字:1-亚洲,2-欧洲,3-非洲,4-北美洲,5-南美洲,6-大洋洲,7-南极洲)

示例值:

func (*CountryRegionBuilder) CreateBy

func (builder *CountryRegionBuilder) CreateBy(createBy string) *CountryRegionBuilder

创建人

示例值:-

func (*CountryRegionBuilder) CreateTime

func (builder *CountryRegionBuilder) CreateTime(createTime string) *CountryRegionBuilder

创建时间

示例值:-

func (*CountryRegionBuilder) FullName

func (builder *CountryRegionBuilder) FullName(fullName *I18nString) *CountryRegionBuilder

国家/地区全称(国家/地区行政全称,对应EA的full_name,多语行级数据映射到多语map,wukong模型新增字段)

示例值:

func (*CountryRegionBuilder) GlobalCode

func (builder *CountryRegionBuilder) GlobalCode(globalCode string) *CountryRegionBuilder

国际电话区号(国际电话区号,对应EA模型中的globalCode,wukong模型新增字段)

示例值:-

func (*CountryRegionBuilder) Id

自增id(业务无需关心)

示例值:-

func (*CountryRegionBuilder) Level

func (builder *CountryRegionBuilder) Level(level string) *CountryRegionBuilder

层级

示例值:-

func (*CountryRegionBuilder) LocalScript

func (builder *CountryRegionBuilder) LocalScript(localScript string) *CountryRegionBuilder

本地文字通常为mdmCode

示例值:-

func (*CountryRegionBuilder) MdLocalScript

func (builder *CountryRegionBuilder) MdLocalScript(mdLocalScript *Language) *CountryRegionBuilder

语言

示例值:

func (*CountryRegionBuilder) MdTimeZone

func (builder *CountryRegionBuilder) MdTimeZone(mdTimeZone []*TimeZone) *CountryRegionBuilder

时区(lookup对象time_zone,行级数据映射关系须人工整理)

示例值:

func (*CountryRegionBuilder) MdWesternScript

func (builder *CountryRegionBuilder) MdWesternScript(mdWesternScript *Language) *CountryRegionBuilder

语言

示例值:

func (*CountryRegionBuilder) MdmCode

func (builder *CountryRegionBuilder) MdmCode(mdmCode string) *CountryRegionBuilder

主数据编码(系统生成的唯一永久代码,格式为“MDCT+8位数字”)

示例值:-

func (*CountryRegionBuilder) Name

名称

示例值:

func (*CountryRegionBuilder) NumericCode

func (builder *CountryRegionBuilder) NumericCode(numericCode string) *CountryRegionBuilder

数字代码

示例值:-

func (*CountryRegionBuilder) Overseas

func (builder *CountryRegionBuilder) Overseas(overseas string) *CountryRegionBuilder

是否海外(EA中特有字段,字节定制使用,为了区分中国大陆和其他所有国家/地区)

示例值:-

func (*CountryRegionBuilder) Remark

func (builder *CountryRegionBuilder) Remark(remark string) *CountryRegionBuilder

备注

示例值:-

func (*CountryRegionBuilder) Status

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

是否生效

示例值:-

func (*CountryRegionBuilder) TimeZone

func (builder *CountryRegionBuilder) TimeZone(timeZone []string) *CountryRegionBuilder

时区(lookup对象time_zone,行级数据映射关系须人工整理)通常为mdmCode

示例值:

func (*CountryRegionBuilder) UpdateBy

func (builder *CountryRegionBuilder) UpdateBy(updateBy string) *CountryRegionBuilder

更新人

示例值:-

func (*CountryRegionBuilder) UpdateReason

func (builder *CountryRegionBuilder) UpdateReason(updateReason string) *CountryRegionBuilder

更新原因

示例值:-

func (*CountryRegionBuilder) UpdateTime

func (builder *CountryRegionBuilder) UpdateTime(updateTime string) *CountryRegionBuilder

更新时间

示例值:-

func (*CountryRegionBuilder) WesternScript

func (builder *CountryRegionBuilder) WesternScript(westernScript string) *CountryRegionBuilder

西方文字通常为mdmCode

示例值:-

type DepartmentId

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

	OpenDepartmentId *string `json:"open_department_id,omitempty"` //
}

type DepartmentIdBuilder

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

func NewDepartmentIdBuilder

func NewDepartmentIdBuilder() *DepartmentIdBuilder

func (*DepartmentIdBuilder) Build

func (builder *DepartmentIdBuilder) Build() *DepartmentId

func (*DepartmentIdBuilder) DepartmentId

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

示例值:

func (*DepartmentIdBuilder) OpenDepartmentId

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

示例值:

type Enum

type Enum struct {
	Value *string `json:"value,omitempty"` // 枚举值

	MultilingualName map[string]string `json:"multilingual_name,omitempty"` // 多语言枚举名,结构:{"zh-CN":"中文", "en-US": "english"}
}

type EnumBuilder

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

func NewEnumBuilder

func NewEnumBuilder() *EnumBuilder

func (*EnumBuilder) Build

func (builder *EnumBuilder) Build() *Enum

func (*EnumBuilder) MultilingualName

func (builder *EnumBuilder) MultilingualName(multilingualName map[string]string) *EnumBuilder

多语言枚举名,结构:{"zh-CN":"中文", "en-US": "english"}

示例值:

func (*EnumBuilder) Value

func (builder *EnumBuilder) Value(value string) *EnumBuilder

枚举值

示例值:-

type Expression

type Expression struct {
	Field *string `json:"field,omitempty"` // 字段名

	Operator *string `json:"operator,omitempty"` // 运算符

	Value *Value `json:"value,omitempty"` // 字段值
}

type ExpressionBuilder

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

func NewExpressionBuilder

func NewExpressionBuilder() *ExpressionBuilder

func (*ExpressionBuilder) Build

func (builder *ExpressionBuilder) Build() *Expression

func (*ExpressionBuilder) Field

func (builder *ExpressionBuilder) Field(field string) *ExpressionBuilder

字段名

示例值:

func (*ExpressionBuilder) Operator

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

运算符

示例值:

func (*ExpressionBuilder) Value

func (builder *ExpressionBuilder) Value(value *Value) *ExpressionBuilder

字段值

示例值:

type Filter

type Filter struct {
	Logic *string `json:"logic,omitempty"` // 与、或条件

	Expressions []*Expression `json:"expressions,omitempty"` // 过滤条件
}

type FilterBuilder

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

func NewFilterBuilder

func NewFilterBuilder() *FilterBuilder

func (*FilterBuilder) Build

func (builder *FilterBuilder) Build() *Filter

func (*FilterBuilder) Expressions

func (builder *FilterBuilder) Expressions(expressions []*Expression) *FilterBuilder

过滤条件

示例值:

func (*FilterBuilder) Logic

func (builder *FilterBuilder) Logic(logic string) *FilterBuilder

与、或条件

示例值:

type GetBatchCountryRegionPathReqBodyBuilder

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

func NewGetBatchCountryRegionPathReqBodyBuilder

func NewGetBatchCountryRegionPathReqBodyBuilder() *GetBatchCountryRegionPathReqBodyBuilder

func (*GetBatchCountryRegionPathReqBodyBuilder) Build

type GetBatchCountryRegionReq

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

type GetBatchCountryRegionReqBody

type GetBatchCountryRegionReqBody struct {
	Common *Common `json:"common,omitempty"` // common
}

type GetBatchCountryRegionReqBodyBuilder

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

func NewGetBatchCountryRegionReqBodyBuilder

func NewGetBatchCountryRegionReqBodyBuilder() *GetBatchCountryRegionReqBodyBuilder

func (*GetBatchCountryRegionReqBodyBuilder) Build

type GetBatchCountryRegionReqBuilder

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

func NewGetBatchCountryRegionReqBuilder

func NewGetBatchCountryRegionReqBuilder() *GetBatchCountryRegionReqBuilder

func (*GetBatchCountryRegionReqBuilder) Body

查询国家 / 地区

func (*GetBatchCountryRegionReqBuilder) Build

func (*GetBatchCountryRegionReqBuilder) Fields

需要的查询字段集

示例值:

func (*GetBatchCountryRegionReqBuilder) Ids

主数据编码集

示例值:

func (*GetBatchCountryRegionReqBuilder) Languages

语言集

示例值:

type GetBatchCountryRegionResp

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

func (*GetBatchCountryRegionResp) Success

func (resp *GetBatchCountryRegionResp) Success() bool

type GetBatchCountryRegionRespData

type GetBatchCountryRegionRespData struct {
	Data []*CountryRegion `json:"data,omitempty"` // 国家/地区目录列表
}

type I18nString

type I18nString struct {
	Value *string `json:"value,omitempty"` // 字符串值

	MultilingualValue map[string]string `json:"multilingual_value,omitempty"` // 多语言字符串

	ReturnLanguage *string `json:"return_language,omitempty"` // 语言
}

type I18nStringBuilder

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

func NewI18nStringBuilder

func NewI18nStringBuilder() *I18nStringBuilder

func (*I18nStringBuilder) Build

func (builder *I18nStringBuilder) Build() *I18nString

func (*I18nStringBuilder) MultilingualValue

func (builder *I18nStringBuilder) MultilingualValue(multilingualValue map[string]string) *I18nStringBuilder

多语言字符串

示例值:

func (*I18nStringBuilder) ReturnLanguage

func (builder *I18nStringBuilder) ReturnLanguage(returnLanguage string) *I18nStringBuilder

语言

示例值:zh-CN

func (*I18nStringBuilder) Value

func (builder *I18nStringBuilder) Value(value string) *I18nStringBuilder

字符串值

示例值:zh-name

type Language

type Language struct {
	Id *string `json:"id,omitempty"` // 自增id(业务无需关心)

	UpdateBy *string `json:"update_by,omitempty"` // 更新人

	CreateBy *string `json:"create_by,omitempty"` // 创建人

	UpdateTime *string `json:"update_time,omitempty"` // 更新时间

	CreateTime *string `json:"create_time,omitempty"` // 创建时间

	IetfLanguageTag *string `json:"ietf_language_tag,omitempty"` // IETF 编码

	Name *I18nString `json:"name,omitempty"` // 名称

	Enable *bool `json:"enable,omitempty"` // 启用

	MdmCode *string `json:"mdm_code,omitempty"` // 主数据编码

	Status *string `json:"status,omitempty"` // 是否生效

	SystemStatus *string `json:"system_status,omitempty"` // 展示状态

	Remark *string `json:"remark,omitempty"` // 备注

	UpdateReason *string `json:"update_reason,omitempty"` // 更新原因
}

type LanguageBuilder

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

func NewLanguageBuilder

func NewLanguageBuilder() *LanguageBuilder

func (*LanguageBuilder) Build

func (builder *LanguageBuilder) Build() *Language

func (*LanguageBuilder) CreateBy

func (builder *LanguageBuilder) CreateBy(createBy string) *LanguageBuilder

创建人

示例值:-

func (*LanguageBuilder) CreateTime

func (builder *LanguageBuilder) CreateTime(createTime string) *LanguageBuilder

创建时间

示例值:-

func (*LanguageBuilder) Enable

func (builder *LanguageBuilder) Enable(enable bool) *LanguageBuilder

启用

示例值:

func (*LanguageBuilder) Id

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

自增id(业务无需关心)

示例值:0

func (*LanguageBuilder) IetfLanguageTag

func (builder *LanguageBuilder) IetfLanguageTag(ietfLanguageTag string) *LanguageBuilder

IETF 编码

示例值:-

func (*LanguageBuilder) MdmCode

func (builder *LanguageBuilder) MdmCode(mdmCode string) *LanguageBuilder

主数据编码

示例值:-

func (*LanguageBuilder) Name

func (builder *LanguageBuilder) Name(name *I18nString) *LanguageBuilder

名称

示例值:

func (*LanguageBuilder) Remark

func (builder *LanguageBuilder) Remark(remark string) *LanguageBuilder

备注

示例值:-

func (*LanguageBuilder) Status

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

是否生效

示例值:-

func (*LanguageBuilder) SystemStatus

func (builder *LanguageBuilder) SystemStatus(systemStatus string) *LanguageBuilder

展示状态

示例值:-

func (*LanguageBuilder) UpdateBy

func (builder *LanguageBuilder) UpdateBy(updateBy string) *LanguageBuilder

更新人

示例值:-

func (*LanguageBuilder) UpdateReason

func (builder *LanguageBuilder) UpdateReason(updateReason string) *LanguageBuilder

更新原因

示例值:-

func (*LanguageBuilder) UpdateTime

func (builder *LanguageBuilder) UpdateTime(updateTime string) *LanguageBuilder

更新时间

示例值:-

type ListCountryRegionPathReqBodyBuilder

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

func NewListCountryRegionPathReqBodyBuilder

func NewListCountryRegionPathReqBodyBuilder() *ListCountryRegionPathReqBodyBuilder

func (*ListCountryRegionPathReqBodyBuilder) Build

func (*ListCountryRegionPathReqBodyBuilder) Filter

filter

示例值:

type ListCountryRegionReq

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

type ListCountryRegionReqBody

type ListCountryRegionReqBody struct {
	Filter *Filter `json:"filter,omitempty"` // filter

	Common *Common `json:"common,omitempty"` // common
}

type ListCountryRegionReqBodyBuilder

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

func NewListCountryRegionReqBodyBuilder

func NewListCountryRegionReqBodyBuilder() *ListCountryRegionReqBodyBuilder

func (*ListCountryRegionReqBodyBuilder) Build

func (*ListCountryRegionReqBodyBuilder) Filter

filter

示例值:

type ListCountryRegionReqBuilder

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

func NewListCountryRegionReqBuilder

func NewListCountryRegionReqBuilder() *ListCountryRegionReqBuilder

func (*ListCountryRegionReqBuilder) Body

搜索国家 / 地区

func (*ListCountryRegionReqBuilder) Build

func (*ListCountryRegionReqBuilder) Fields

需要的查询字段集

示例值:

func (*ListCountryRegionReqBuilder) Languages

func (builder *ListCountryRegionReqBuilder) Languages(languages []string) *ListCountryRegionReqBuilder

语言集

示例值:

func (*ListCountryRegionReqBuilder) Limit

查询页大小

示例值:10

func (*ListCountryRegionReqBuilder) Offset

查询起始位置

示例值:0

func (*ListCountryRegionReqBuilder) PageToken

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

示例值:

func (*ListCountryRegionReqBuilder) ReturnCount

func (builder *ListCountryRegionReqBuilder) ReturnCount(returnCount bool) *ListCountryRegionReqBuilder

是否返回总数

示例值:

type ListCountryRegionResp

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

func (*ListCountryRegionResp) Success

func (resp *ListCountryRegionResp) Success() bool

type ListCountryRegionRespData

type ListCountryRegionRespData struct {
	Data []*CountryRegion `json:"data,omitempty"` // 国家/地区目录列表

	Total *string `json:"total,omitempty"` // 总数

	NextPageToken *string `json:"next_page_token,omitempty"` // 下一次分页参数
}

type Major

type Major struct {
	MdmCode *string `json:"mdm_code,omitempty"` // 主数据编码

	Name *I18nString `json:"name,omitempty"` // 名称

	SuperiorMajor *string `json:"superior_major,omitempty"` // 父级专业

	Degree *string `json:"degree,omitempty"` // 学历

	Level *string `json:"level,omitempty"` // 层级

	Status *string `json:"status,omitempty"` // 状态

	Remark *string `json:"remark,omitempty"` // 备注

	OrderCode *string `json:"order_code,omitempty"` // 排序码
}

type MajorBuilder

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

func NewMajorBuilder

func NewMajorBuilder() *MajorBuilder

func (*MajorBuilder) Build

func (builder *MajorBuilder) Build() *Major

func (*MajorBuilder) Degree

func (builder *MajorBuilder) Degree(degree string) *MajorBuilder

学历

示例值:1

func (*MajorBuilder) Level

func (builder *MajorBuilder) Level(level string) *MajorBuilder

层级

示例值:1

func (*MajorBuilder) MdmCode

func (builder *MajorBuilder) MdmCode(mdmCode string) *MajorBuilder

主数据编码

示例值:MDMJ00000001

func (*MajorBuilder) Name

func (builder *MajorBuilder) Name(name *I18nString) *MajorBuilder

名称

示例值:name

func (*MajorBuilder) OrderCode

func (builder *MajorBuilder) OrderCode(orderCode string) *MajorBuilder

排序码

示例值:1

func (*MajorBuilder) Remark

func (builder *MajorBuilder) Remark(remark string) *MajorBuilder

备注

示例值:remark

func (*MajorBuilder) Status

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

状态

示例值:1

func (*MajorBuilder) SuperiorMajor

func (builder *MajorBuilder) SuperiorMajor(superiorMajor string) *MajorBuilder

父级专业

示例值:superior_major

type Sort

type Sort struct {
	Field *string `json:"field,omitempty"` // 字段名

	Desc *bool `json:"desc,omitempty"` // 是否倒序
}

type SortBuilder

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

func NewSortBuilder

func NewSortBuilder() *SortBuilder

func (*SortBuilder) Build

func (builder *SortBuilder) Build() *Sort

func (*SortBuilder) Desc

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

是否倒序

示例值:

func (*SortBuilder) Field

func (builder *SortBuilder) Field(field string) *SortBuilder

字段名

示例值:

type TimeZone

type TimeZone struct {
	UpdateBy *string `json:"update_by,omitempty"` // 更新人

	CreateBy *string `json:"create_by,omitempty"` // 创建人

	UpdateTime *string `json:"update_time,omitempty"` // 更新时间

	CreateTime *string `json:"create_time,omitempty"` // 创建时间

	TimeZoneId *string `json:"time_zone_id,omitempty"` // 编码

	Name *Common `json:"name,omitempty"` // 名称

	UtcOffset *string `json:"utc_offset,omitempty"` // UTC 时区偏移量

	MdmCode *string `json:"mdm_code,omitempty"` // 主数据编码(系统生成的唯一永久代码,格式为“MDTZ+8位数字”)

	Remark *string `json:"remark,omitempty"` // 备注

	UpdateReason *string `json:"update_reason,omitempty"` // 更新原因

	Status *string `json:"status,omitempty"` // 是否生效
}

type TimeZoneBuilder

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

func NewTimeZoneBuilder

func NewTimeZoneBuilder() *TimeZoneBuilder

func (*TimeZoneBuilder) Build

func (builder *TimeZoneBuilder) Build() *TimeZone

func (*TimeZoneBuilder) CreateBy

func (builder *TimeZoneBuilder) CreateBy(createBy string) *TimeZoneBuilder

创建人

示例值:-

func (*TimeZoneBuilder) CreateTime

func (builder *TimeZoneBuilder) CreateTime(createTime string) *TimeZoneBuilder

创建时间

示例值:-

func (*TimeZoneBuilder) MdmCode

func (builder *TimeZoneBuilder) MdmCode(mdmCode string) *TimeZoneBuilder

主数据编码(系统生成的唯一永久代码,格式为“MDTZ+8位数字”)

示例值:-

func (*TimeZoneBuilder) Name

func (builder *TimeZoneBuilder) Name(name *Common) *TimeZoneBuilder

名称

示例值:

func (*TimeZoneBuilder) Remark

func (builder *TimeZoneBuilder) Remark(remark string) *TimeZoneBuilder

备注

示例值:-

func (*TimeZoneBuilder) Status

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

是否生效

示例值:-

func (*TimeZoneBuilder) TimeZoneId

func (builder *TimeZoneBuilder) TimeZoneId(timeZoneId string) *TimeZoneBuilder

编码

示例值:-

func (*TimeZoneBuilder) UpdateBy

func (builder *TimeZoneBuilder) UpdateBy(updateBy string) *TimeZoneBuilder

更新人

示例值:-

func (*TimeZoneBuilder) UpdateReason

func (builder *TimeZoneBuilder) UpdateReason(updateReason string) *TimeZoneBuilder

更新原因

示例值:-

func (*TimeZoneBuilder) UpdateTime

func (builder *TimeZoneBuilder) UpdateTime(updateTime string) *TimeZoneBuilder

更新时间

示例值:-

func (*TimeZoneBuilder) UtcOffset

func (builder *TimeZoneBuilder) UtcOffset(utcOffset string) *TimeZoneBuilder

UTC 时区偏移量

示例值:-

type V3

type V3 struct {
	BatchCountryRegion *batchCountryRegion // batch_country_region
	CountryRegion      *countryRegion      // country_region
}

func New

func New(config *larkcore.Config) *V3

type Value

type Value struct {
	StringValue *string `json:"string_value,omitempty"` // 字符串值

	BoolValue *bool `json:"bool_value,omitempty"` // 布尔值

	IntValue *string `json:"int_value,omitempty"` // 整形值

	StringListValue []string `json:"string_list_value,omitempty"` // 字符串列表值

	IntListValue []string `json:"int_list_value,omitempty"` // 整形列表值
}

type ValueBuilder

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

func NewValueBuilder

func NewValueBuilder() *ValueBuilder

func (*ValueBuilder) BoolValue

func (builder *ValueBuilder) BoolValue(boolValue bool) *ValueBuilder

布尔值

示例值:

func (*ValueBuilder) Build

func (builder *ValueBuilder) Build() *Value

func (*ValueBuilder) IntListValue

func (builder *ValueBuilder) IntListValue(intListValue []string) *ValueBuilder

整形列表值

示例值:

func (*ValueBuilder) IntValue

func (builder *ValueBuilder) IntValue(intValue string) *ValueBuilder

整形值

示例值:

func (*ValueBuilder) StringListValue

func (builder *ValueBuilder) StringListValue(stringListValue []string) *ValueBuilder

字符串列表值

示例值:

func (*ValueBuilder) StringValue

func (builder *ValueBuilder) StringValue(stringValue string) *ValueBuilder

字符串值

示例值:

Source Files

  • model.go
  • resource.go

Jump to

Keyboard shortcuts

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