Documentation
¶
Index ¶
- type Common
- type CommonBuilder
- type CountryRegion
- type CountryRegionBuilder
- func (builder *CountryRegionBuilder) Alpha2Code(alpha2Code string) *CountryRegionBuilder
- func (builder *CountryRegionBuilder) Alpha3Code(alpha3Code string) *CountryRegionBuilder
- func (builder *CountryRegionBuilder) Build() *CountryRegion
- func (builder *CountryRegionBuilder) Continents(continents *Enum) *CountryRegionBuilder
- func (builder *CountryRegionBuilder) CreateBy(createBy string) *CountryRegionBuilder
- func (builder *CountryRegionBuilder) CreateTime(createTime string) *CountryRegionBuilder
- func (builder *CountryRegionBuilder) FullName(fullName *I18nString) *CountryRegionBuilder
- func (builder *CountryRegionBuilder) GlobalCode(globalCode string) *CountryRegionBuilder
- func (builder *CountryRegionBuilder) Id(id string) *CountryRegionBuilder
- func (builder *CountryRegionBuilder) Level(level string) *CountryRegionBuilder
- func (builder *CountryRegionBuilder) LocalScript(localScript string) *CountryRegionBuilder
- func (builder *CountryRegionBuilder) MdLocalScript(mdLocalScript *Language) *CountryRegionBuilder
- func (builder *CountryRegionBuilder) MdTimeZone(mdTimeZone []*TimeZone) *CountryRegionBuilder
- func (builder *CountryRegionBuilder) MdWesternScript(mdWesternScript *Language) *CountryRegionBuilder
- func (builder *CountryRegionBuilder) MdmCode(mdmCode string) *CountryRegionBuilder
- func (builder *CountryRegionBuilder) Name(name *I18nString) *CountryRegionBuilder
- func (builder *CountryRegionBuilder) NumericCode(numericCode string) *CountryRegionBuilder
- func (builder *CountryRegionBuilder) Overseas(overseas string) *CountryRegionBuilder
- func (builder *CountryRegionBuilder) Remark(remark string) *CountryRegionBuilder
- func (builder *CountryRegionBuilder) Status(status string) *CountryRegionBuilder
- func (builder *CountryRegionBuilder) TimeZone(timeZone []string) *CountryRegionBuilder
- func (builder *CountryRegionBuilder) UpdateBy(updateBy string) *CountryRegionBuilder
- func (builder *CountryRegionBuilder) UpdateReason(updateReason string) *CountryRegionBuilder
- func (builder *CountryRegionBuilder) UpdateTime(updateTime string) *CountryRegionBuilder
- func (builder *CountryRegionBuilder) WesternScript(westernScript string) *CountryRegionBuilder
- type DepartmentId
- type DepartmentIdBuilder
- type Enum
- type EnumBuilder
- type Expression
- type ExpressionBuilder
- type Filter
- type FilterBuilder
- type GetBatchCountryRegionPathReqBodyBuilder
- type GetBatchCountryRegionReq
- type GetBatchCountryRegionReqBody
- type GetBatchCountryRegionReqBodyBuilder
- type GetBatchCountryRegionReqBuilder
- func (builder *GetBatchCountryRegionReqBuilder) Body(body *GetBatchCountryRegionReqBody) *GetBatchCountryRegionReqBuilder
- func (builder *GetBatchCountryRegionReqBuilder) Build() *GetBatchCountryRegionReq
- func (builder *GetBatchCountryRegionReqBuilder) Fields(fields []string) *GetBatchCountryRegionReqBuilder
- func (builder *GetBatchCountryRegionReqBuilder) Ids(ids []string) *GetBatchCountryRegionReqBuilder
- func (builder *GetBatchCountryRegionReqBuilder) Languages(languages []string) *GetBatchCountryRegionReqBuilder
- type GetBatchCountryRegionResp
- type GetBatchCountryRegionRespData
- type I18nString
- type I18nStringBuilder
- func (builder *I18nStringBuilder) Build() *I18nString
- func (builder *I18nStringBuilder) MultilingualValue(multilingualValue map[string]string) *I18nStringBuilder
- func (builder *I18nStringBuilder) ReturnLanguage(returnLanguage string) *I18nStringBuilder
- func (builder *I18nStringBuilder) Value(value string) *I18nStringBuilder
- type Language
- type LanguageBuilder
- func (builder *LanguageBuilder) Build() *Language
- func (builder *LanguageBuilder) CreateBy(createBy string) *LanguageBuilder
- func (builder *LanguageBuilder) CreateTime(createTime string) *LanguageBuilder
- func (builder *LanguageBuilder) Enable(enable bool) *LanguageBuilder
- func (builder *LanguageBuilder) Id(id string) *LanguageBuilder
- func (builder *LanguageBuilder) IetfLanguageTag(ietfLanguageTag string) *LanguageBuilder
- func (builder *LanguageBuilder) MdmCode(mdmCode string) *LanguageBuilder
- func (builder *LanguageBuilder) Name(name *I18nString) *LanguageBuilder
- func (builder *LanguageBuilder) Remark(remark string) *LanguageBuilder
- func (builder *LanguageBuilder) Status(status string) *LanguageBuilder
- func (builder *LanguageBuilder) SystemStatus(systemStatus string) *LanguageBuilder
- func (builder *LanguageBuilder) UpdateBy(updateBy string) *LanguageBuilder
- func (builder *LanguageBuilder) UpdateReason(updateReason string) *LanguageBuilder
- func (builder *LanguageBuilder) UpdateTime(updateTime string) *LanguageBuilder
- type ListCountryRegionPathReqBodyBuilder
- type ListCountryRegionReq
- type ListCountryRegionReqBody
- type ListCountryRegionReqBodyBuilder
- type ListCountryRegionReqBuilder
- func (builder *ListCountryRegionReqBuilder) Body(body *ListCountryRegionReqBody) *ListCountryRegionReqBuilder
- func (builder *ListCountryRegionReqBuilder) Build() *ListCountryRegionReq
- func (builder *ListCountryRegionReqBuilder) Fields(fields []string) *ListCountryRegionReqBuilder
- func (builder *ListCountryRegionReqBuilder) Languages(languages []string) *ListCountryRegionReqBuilder
- func (builder *ListCountryRegionReqBuilder) Limit(limit int) *ListCountryRegionReqBuilder
- func (builder *ListCountryRegionReqBuilder) Offset(offset int) *ListCountryRegionReqBuilder
- func (builder *ListCountryRegionReqBuilder) PageToken(pageToken string) *ListCountryRegionReqBuilder
- func (builder *ListCountryRegionReqBuilder) ReturnCount(returnCount bool) *ListCountryRegionReqBuilder
- type ListCountryRegionResp
- type ListCountryRegionRespData
- type Major
- type MajorBuilder
- func (builder *MajorBuilder) Build() *Major
- func (builder *MajorBuilder) Degree(degree string) *MajorBuilder
- func (builder *MajorBuilder) Level(level string) *MajorBuilder
- func (builder *MajorBuilder) MdmCode(mdmCode string) *MajorBuilder
- func (builder *MajorBuilder) Name(name *I18nString) *MajorBuilder
- func (builder *MajorBuilder) OrderCode(orderCode string) *MajorBuilder
- func (builder *MajorBuilder) Remark(remark string) *MajorBuilder
- func (builder *MajorBuilder) Status(status string) *MajorBuilder
- func (builder *MajorBuilder) SuperiorMajor(superiorMajor string) *MajorBuilder
- type Sort
- type SortBuilder
- type TimeZone
- type TimeZoneBuilder
- func (builder *TimeZoneBuilder) Build() *TimeZone
- func (builder *TimeZoneBuilder) CreateBy(createBy string) *TimeZoneBuilder
- func (builder *TimeZoneBuilder) CreateTime(createTime string) *TimeZoneBuilder
- func (builder *TimeZoneBuilder) MdmCode(mdmCode string) *TimeZoneBuilder
- func (builder *TimeZoneBuilder) Name(name *Common) *TimeZoneBuilder
- func (builder *TimeZoneBuilder) Remark(remark string) *TimeZoneBuilder
- func (builder *TimeZoneBuilder) Status(status string) *TimeZoneBuilder
- func (builder *TimeZoneBuilder) TimeZoneId(timeZoneId string) *TimeZoneBuilder
- func (builder *TimeZoneBuilder) UpdateBy(updateBy string) *TimeZoneBuilder
- func (builder *TimeZoneBuilder) UpdateReason(updateReason string) *TimeZoneBuilder
- func (builder *TimeZoneBuilder) UpdateTime(updateTime string) *TimeZoneBuilder
- func (builder *TimeZoneBuilder) UtcOffset(utcOffset string) *TimeZoneBuilder
- type V3
- type Value
- type ValueBuilder
- func (builder *ValueBuilder) BoolValue(boolValue bool) *ValueBuilder
- func (builder *ValueBuilder) Build() *Value
- func (builder *ValueBuilder) IntListValue(intListValue []string) *ValueBuilder
- func (builder *ValueBuilder) IntValue(intValue string) *ValueBuilder
- func (builder *ValueBuilder) StringListValue(stringListValue []string) *ValueBuilder
- func (builder *ValueBuilder) StringValue(stringValue string) *ValueBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Common ¶
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 ¶
func (builder *CountryRegionBuilder) Id(id string) *CountryRegionBuilder
自增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 (builder *CountryRegionBuilder) Name(name *I18nString) *CountryRegionBuilder
名称
示例值:
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 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 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"}
示例值:
type Expression ¶
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 ¶
func (builder *GetBatchCountryRegionPathReqBodyBuilder) Build() (*GetBatchCountryRegionReqBody, error)
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 ¶
func (builder *GetBatchCountryRegionReqBodyBuilder) Build() *GetBatchCountryRegionReqBody
type GetBatchCountryRegionReqBuilder ¶
type GetBatchCountryRegionReqBuilder struct {
// contains filtered or unexported fields
}
func NewGetBatchCountryRegionReqBuilder ¶
func NewGetBatchCountryRegionReqBuilder() *GetBatchCountryRegionReqBuilder
func (*GetBatchCountryRegionReqBuilder) Body ¶
func (builder *GetBatchCountryRegionReqBuilder) Body(body *GetBatchCountryRegionReqBody) *GetBatchCountryRegionReqBuilder
查询国家 / 地区
func (*GetBatchCountryRegionReqBuilder) Build ¶
func (builder *GetBatchCountryRegionReqBuilder) Build() *GetBatchCountryRegionReq
func (*GetBatchCountryRegionReqBuilder) Fields ¶
func (builder *GetBatchCountryRegionReqBuilder) Fields(fields []string) *GetBatchCountryRegionReqBuilder
需要的查询字段集
示例值:
func (*GetBatchCountryRegionReqBuilder) Ids ¶
func (builder *GetBatchCountryRegionReqBuilder) Ids(ids []string) *GetBatchCountryRegionReqBuilder
主数据编码集
示例值:
func (*GetBatchCountryRegionReqBuilder) Languages ¶
func (builder *GetBatchCountryRegionReqBuilder) Languages(languages []string) *GetBatchCountryRegionReqBuilder
语言集
示例值:
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 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 (builder *ListCountryRegionPathReqBodyBuilder) Build() (*ListCountryRegionReqBody, error)
func (*ListCountryRegionPathReqBodyBuilder) Filter ¶
func (builder *ListCountryRegionPathReqBodyBuilder) Filter(filter *Filter) *ListCountryRegionPathReqBodyBuilder
filter
示例值:
type ListCountryRegionReq ¶
type ListCountryRegionReq struct {
Body *ListCountryRegionReqBody `body:""`
// contains filtered or unexported fields
}
type ListCountryRegionReqBody ¶
type ListCountryRegionReqBodyBuilder ¶
type ListCountryRegionReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewListCountryRegionReqBodyBuilder ¶
func NewListCountryRegionReqBodyBuilder() *ListCountryRegionReqBodyBuilder
func (*ListCountryRegionReqBodyBuilder) Build ¶
func (builder *ListCountryRegionReqBodyBuilder) Build() *ListCountryRegionReqBody
func (*ListCountryRegionReqBodyBuilder) Filter ¶
func (builder *ListCountryRegionReqBodyBuilder) Filter(filter *Filter) *ListCountryRegionReqBodyBuilder
filter
示例值:
type ListCountryRegionReqBuilder ¶
type ListCountryRegionReqBuilder struct {
// contains filtered or unexported fields
}
func NewListCountryRegionReqBuilder ¶
func NewListCountryRegionReqBuilder() *ListCountryRegionReqBuilder
func (*ListCountryRegionReqBuilder) Body ¶
func (builder *ListCountryRegionReqBuilder) Body(body *ListCountryRegionReqBody) *ListCountryRegionReqBuilder
搜索国家 / 地区
func (*ListCountryRegionReqBuilder) Build ¶
func (builder *ListCountryRegionReqBuilder) Build() *ListCountryRegionReq
func (*ListCountryRegionReqBuilder) Fields ¶
func (builder *ListCountryRegionReqBuilder) Fields(fields []string) *ListCountryRegionReqBuilder
需要的查询字段集
示例值:
func (*ListCountryRegionReqBuilder) Languages ¶
func (builder *ListCountryRegionReqBuilder) Languages(languages []string) *ListCountryRegionReqBuilder
语言集
示例值:
func (*ListCountryRegionReqBuilder) Limit ¶
func (builder *ListCountryRegionReqBuilder) Limit(limit int) *ListCountryRegionReqBuilder
查询页大小
示例值:10
func (*ListCountryRegionReqBuilder) Offset ¶
func (builder *ListCountryRegionReqBuilder) Offset(offset int) *ListCountryRegionReqBuilder
查询起始位置
示例值: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 SortBuilder ¶
type SortBuilder struct {
// contains filtered or unexported fields
}
func NewSortBuilder ¶
func NewSortBuilder() *SortBuilder
func (*SortBuilder) Build ¶
func (builder *SortBuilder) Build() *Sort
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
}
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