Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetCustomLabelsRequest ¶
type GetCustomLabelsRequest struct { /** * 版本号。1.0老数据,2.0新数据 */ Version string `json:"version"` }
func (*GetCustomLabelsRequest) DoInvoke ¶
func (req *GetCustomLabelsRequest) DoInvoke(client mtclient.MeituanClient, appAuthToken string) (*GetCustomLabelsResponse, error)
type GetCustomLabelsResponse ¶
type GetCustomLabelsResponse struct { Code string `json:"code"` Msg string `json:"msg"` /** * 自定义标签列表,每个列表元素是一个特征模版json,json里的属性对应不同的特征。示例如下: */ Data []LableResponse `json:"data"` TraceId string `json:"traceId"` }
func (*GetCustomLabelsResponse) IsSuccess ¶
func (response *GetCustomLabelsResponse) IsSuccess() bool
type LabelValue ¶
type LableResponse ¶
type LableResponse struct { /** * 特征中文名,显示用 */ Name string `json:"name"` /** * 特征英文名,提交时需要提交特征英文名 */ Field string `json:"field"` /** * 特征类型:1 单值,2 多值 ,3 文本。如果是1,则提交对应特征值时只能提交一个,如果是2,则可以提交多个值,如果是3,则可以自己填写值。 */ Type string `json:"type"` /** * 是否必填,true必填,false非必填 */ Required string `json:"required"` /** * 当特征类型为1和2的时候,提供的供选择的特征值json数组,具体说明如下 */ LabelValue LabelValue `json:"labelValue"` /** * 这个特征的描述说明,包括它的提填写规则说明。 */ Desc string `json:"desc"` }
Click to show internal directories.
Click to hide internal directories.