tmic

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnswerBo

type AnswerBo struct {
	QuestionCode string `json:"question_code,omitempty" xml:"question_code,omitempty"`

	SubQuestionCode string `json:"sub_question_code,omitempty" xml:"sub_question_code,omitempty"`

	OptionCode string `json:"option_code,omitempty" xml:"option_code,omitempty"`

	OptionChecked string `json:"option_checked,omitempty" xml:"option_checked,omitempty"`

	AnswerValue string `json:"answer_value,omitempty" xml:"answer_value,omitempty"`
}

AnswerBo

type ItemBo

type ItemBo struct {
	Img string `json:"img,omitempty" xml:"img,omitempty"`

	Code string `json:"code,omitempty" xml:"code,omitempty"`

	Value string `json:"value,omitempty" xml:"value,omitempty"`
}

ItemBo

type OpenOptionResult

type OpenOptionResult struct {
	RecordId int64 `json:"record_id,omitempty" xml:"record_id,omitempty"`

	HasNextQuestion bool `json:"has_next_question,omitempty" xml:"has_next_question,omitempty"`

	BizErrInfo string `json:"biz_err_info,omitempty" xml:"biz_err_info,omitempty"`

	BizErrCode string `json:"biz_err_code,omitempty" xml:"biz_err_code,omitempty"`

	Question *QuestionBo `json:"question,omitempty" xml:"question,omitempty"`

	BizSuccess bool `json:"biz_success,omitempty" xml:"biz_success,omitempty"`

	Version int64 `json:"version,omitempty" xml:"version,omitempty"`
}

OpenOptionResult

type OptionBo

type OptionBo struct {
	HasOther bool `json:"has_other,omitempty" xml:"has_other,omitempty"`

	Items []ItemBo `json:"items,omitempty" xml:"items,omitempty"`

	OptionItemBoList []OptionItemBo `json:"option_item_bo_list,omitempty" xml:"option_item_bo_list,omitempty"`
}

OptionBo

type OptionItemBo

type OptionItemBo struct {
	Code string `json:"code,omitempty" xml:"code,omitempty"`

	Value string `json:"value,omitempty" xml:"value,omitempty"`

	Tip string `json:"tip,omitempty" xml:"tip,omitempty"`

	Supplement bool `json:"supplement,omitempty" xml:"supplement,omitempty"`

	Exclusion bool `json:"exclusion,omitempty" xml:"exclusion,omitempty"`

	RandomGroupNumber int64 `json:"random_group_number,omitempty" xml:"random_group_number,omitempty"`

	End bool `json:"end,omitempty" xml:"end,omitempty"`
}

OptionItemBo

type QuestionBo

type QuestionBo struct {
	Code string `json:"code,omitempty" xml:"code,omitempty"`

	Type string `json:"type,omitempty" xml:"type,omitempty"`

	Options *OptionBo `json:"options,omitempty" xml:"options,omitempty"`

	OrderNumber int64 `json:"order_number,omitempty" xml:"order_number,omitempty"`

	Description string `json:"description,omitempty" xml:"description,omitempty"`

	Tip string `json:"tip,omitempty" xml:"tip,omitempty"`

	ErrTip string `json:"err_tip,omitempty" xml:"err_tip,omitempty"`

	Required bool `json:"required,omitempty" xml:"required,omitempty"`

	OptionLimit int64 `json:"option_limit,omitempty" xml:"option_limit,omitempty"`

	Placeholder string `json:"placeholder,omitempty" xml:"placeholder,omitempty"`

	OptionBo *OptionBo `json:"option_bo,omitempty" xml:"option_bo,omitempty"`

	SubQuestionBO *SubQuestionBo `json:"sub_question_b_o,omitempty" xml:"sub_question_b_o,omitempty"`
}

QuestionBo

type SubQuestionBo

type SubQuestionBo struct {
	SubQuestionItemBOList []SubQuestionItemBo `json:"sub_question_item_b_o_list,omitempty" xml:"sub_question_item_b_o_list,omitempty"`
}

SubQuestionBo

type SubQuestionItemBo

type SubQuestionItemBo struct {
	Code string `json:"code,omitempty" xml:"code,omitempty"`

	Description string `json:"description,omitempty" xml:"description,omitempty"`

	RandomGroupNumber int64 `json:"random_group_number,omitempty" xml:"random_group_number,omitempty"`
}

SubQuestionItemBo

type TmallTmicQuestionnaireAnswerPushAPIResponse

type TmallTmicQuestionnaireAnswerPushAPIResponse struct {
	model.CommonResponse
	TmallTmicQuestionnaireAnswerPushResponse
}

提交单题答案 APIResponse tmall.tmic.questionnaire.answer.push

问卷单题回答的提交

type TmallTmicQuestionnaireAnswerPushRequest

type TmallTmicQuestionnaireAnswerPushRequest struct {
	model.Params
	// contains filtered or unexported fields
}

提交单题答案 APIRequest tmall.tmic.questionnaire.answer.push

问卷单题回答的提交

func NewTmallTmicQuestionnaireAnswerPushRequest

func NewTmallTmicQuestionnaireAnswerPushRequest() *TmallTmicQuestionnaireAnswerPushRequest

func (TmallTmicQuestionnaireAnswerPushRequest) GetApiMethodName

func (r TmallTmicQuestionnaireAnswerPushRequest) GetApiMethodName() string

func (TmallTmicQuestionnaireAnswerPushRequest) GetApiParams

func (TmallTmicQuestionnaireAnswerPushRequest) GetBiz

func (TmallTmicQuestionnaireAnswerPushRequest) GetHashCode

func (TmallTmicQuestionnaireAnswerPushRequest) GetOpenUserId

func (TmallTmicQuestionnaireAnswerPushRequest) GetRecordId

func (TmallTmicQuestionnaireAnswerPushRequest) GetUserAnswerList

func (r TmallTmicQuestionnaireAnswerPushRequest) GetUserAnswerList() []AnswerBo

func (TmallTmicQuestionnaireAnswerPushRequest) GetVersion

func (*TmallTmicQuestionnaireAnswerPushRequest) SetBiz

func (*TmallTmicQuestionnaireAnswerPushRequest) SetHashCode

func (r *TmallTmicQuestionnaireAnswerPushRequest) SetHashCode(hashCode string) error

func (*TmallTmicQuestionnaireAnswerPushRequest) SetOpenUserId

func (r *TmallTmicQuestionnaireAnswerPushRequest) SetOpenUserId(openUserId string) error

func (*TmallTmicQuestionnaireAnswerPushRequest) SetRecordId

func (r *TmallTmicQuestionnaireAnswerPushRequest) SetRecordId(recordId int64) error

func (*TmallTmicQuestionnaireAnswerPushRequest) SetUserAnswerList

func (r *TmallTmicQuestionnaireAnswerPushRequest) SetUserAnswerList(userAnswerList []AnswerBo) error

func (*TmallTmicQuestionnaireAnswerPushRequest) SetVersion

func (r *TmallTmicQuestionnaireAnswerPushRequest) SetVersion(version int64) error

type TmallTmicQuestionnaireAnswerPushResponse

type TmallTmicQuestionnaireAnswerPushResponse struct {
	XMLName xml.Name `xml:"tmall_tmic_questionnaire_answer_push_response"`

	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	BizErrorInfo string `json:"biz_error_info,omitempty" xml:"biz_error_info,omitempty"`

	BizErrorCode string `json:"biz_error_code,omitempty" xml:"biz_error_code,omitempty"`

	BizSuccess bool `json:"biz_success,omitempty" xml:"biz_success,omitempty"`
}

type TmallTmicQuestionnaireAnswerSubmitAPIResponse

type TmallTmicQuestionnaireAnswerSubmitAPIResponse struct {
	model.CommonResponse
	TmallTmicQuestionnaireAnswerSubmitResponse
}

提交问卷答案 APIResponse tmall.tmic.questionnaire.answer.submit

天猫新品创新中心对外开放问卷,提交问卷答案

type TmallTmicQuestionnaireAnswerSubmitRequest

type TmallTmicQuestionnaireAnswerSubmitRequest struct {
	model.Params
	// contains filtered or unexported fields
}

提交问卷答案 APIRequest tmall.tmic.questionnaire.answer.submit

天猫新品创新中心对外开放问卷,提交问卷答案

func NewTmallTmicQuestionnaireAnswerSubmitRequest

func NewTmallTmicQuestionnaireAnswerSubmitRequest() *TmallTmicQuestionnaireAnswerSubmitRequest

func (TmallTmicQuestionnaireAnswerSubmitRequest) GetApiMethodName

func (TmallTmicQuestionnaireAnswerSubmitRequest) GetApiParams

func (TmallTmicQuestionnaireAnswerSubmitRequest) GetBiz

func (TmallTmicQuestionnaireAnswerSubmitRequest) GetHashCode

func (TmallTmicQuestionnaireAnswerSubmitRequest) GetOpenUserId

func (TmallTmicQuestionnaireAnswerSubmitRequest) GetRecordId

func (TmallTmicQuestionnaireAnswerSubmitRequest) GetUserAnswerList

func (r TmallTmicQuestionnaireAnswerSubmitRequest) GetUserAnswerList() []AnswerBo

func (TmallTmicQuestionnaireAnswerSubmitRequest) GetVersion

func (*TmallTmicQuestionnaireAnswerSubmitRequest) SetBiz

func (*TmallTmicQuestionnaireAnswerSubmitRequest) SetHashCode

func (r *TmallTmicQuestionnaireAnswerSubmitRequest) SetHashCode(hashCode string) error

func (*TmallTmicQuestionnaireAnswerSubmitRequest) SetOpenUserId

func (r *TmallTmicQuestionnaireAnswerSubmitRequest) SetOpenUserId(openUserId string) error

func (*TmallTmicQuestionnaireAnswerSubmitRequest) SetRecordId

func (r *TmallTmicQuestionnaireAnswerSubmitRequest) SetRecordId(recordId int64) error

func (*TmallTmicQuestionnaireAnswerSubmitRequest) SetUserAnswerList

func (r *TmallTmicQuestionnaireAnswerSubmitRequest) SetUserAnswerList(userAnswerList []AnswerBo) error

func (*TmallTmicQuestionnaireAnswerSubmitRequest) SetVersion

func (r *TmallTmicQuestionnaireAnswerSubmitRequest) SetVersion(version int64) error

type TmallTmicQuestionnaireAnswerSubmitResponse

type TmallTmicQuestionnaireAnswerSubmitResponse struct {
	XMLName xml.Name `xml:"tmall_tmic_questionnaire_answer_submit_response"`

	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	BizErrorInfo string `json:"biz_error_info,omitempty" xml:"biz_error_info,omitempty"`

	BizErrorCode string `json:"biz_error_code,omitempty" xml:"biz_error_code,omitempty"`

	BizSuccess bool `json:"biz_success,omitempty" xml:"biz_success,omitempty"`
}

type TmallTmicQuestionnaireOptionGetAPIResponse

type TmallTmicQuestionnaireOptionGetAPIResponse struct {
	model.CommonResponse
	TmallTmicQuestionnaireOptionGetResponse
}

获取单题选项 APIResponse tmall.tmic.questionnaire.option.get

根据具体题号,获取当前题目的选项列表

type TmallTmicQuestionnaireOptionGetRequest

type TmallTmicQuestionnaireOptionGetRequest struct {
	model.Params
	// contains filtered or unexported fields
}

获取单题选项 APIRequest tmall.tmic.questionnaire.option.get

根据具体题号,获取当前题目的选项列表

func NewTmallTmicQuestionnaireOptionGetRequest

func NewTmallTmicQuestionnaireOptionGetRequest() *TmallTmicQuestionnaireOptionGetRequest

func (TmallTmicQuestionnaireOptionGetRequest) GetApiMethodName

func (r TmallTmicQuestionnaireOptionGetRequest) GetApiMethodName() string

func (TmallTmicQuestionnaireOptionGetRequest) GetApiParams

func (TmallTmicQuestionnaireOptionGetRequest) GetBiz

func (TmallTmicQuestionnaireOptionGetRequest) GetExtraParameters

func (r TmallTmicQuestionnaireOptionGetRequest) GetExtraParameters() string

func (TmallTmicQuestionnaireOptionGetRequest) GetHashCode

func (TmallTmicQuestionnaireOptionGetRequest) GetOpenUserId

func (TmallTmicQuestionnaireOptionGetRequest) GetQuestionCode

func (r TmallTmicQuestionnaireOptionGetRequest) GetQuestionCode() string

func (TmallTmicQuestionnaireOptionGetRequest) GetRecordId

func (TmallTmicQuestionnaireOptionGetRequest) GetVersion

func (*TmallTmicQuestionnaireOptionGetRequest) SetBiz

func (*TmallTmicQuestionnaireOptionGetRequest) SetExtraParameters

func (r *TmallTmicQuestionnaireOptionGetRequest) SetExtraParameters(extraParameters string) error

func (*TmallTmicQuestionnaireOptionGetRequest) SetHashCode

func (r *TmallTmicQuestionnaireOptionGetRequest) SetHashCode(hashCode string) error

func (*TmallTmicQuestionnaireOptionGetRequest) SetOpenUserId

func (r *TmallTmicQuestionnaireOptionGetRequest) SetOpenUserId(openUserId string) error

func (*TmallTmicQuestionnaireOptionGetRequest) SetQuestionCode

func (r *TmallTmicQuestionnaireOptionGetRequest) SetQuestionCode(questionCode string) error

func (*TmallTmicQuestionnaireOptionGetRequest) SetRecordId

func (r *TmallTmicQuestionnaireOptionGetRequest) SetRecordId(recordId int64) error

func (*TmallTmicQuestionnaireOptionGetRequest) SetVersion

func (r *TmallTmicQuestionnaireOptionGetRequest) SetVersion(version int64) error

type TmallTmicQuestionnaireOptionGetResponse

type TmallTmicQuestionnaireOptionGetResponse struct {
	XMLName xml.Name `xml:"tmall_tmic_questionnaire_option_get_response"`

	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	Result *OpenOptionResult `json:"result,omitempty" xml:"result,omitempty"`
}

type TmallTmicQuestionnaireSurveyGetAPIResponse

type TmallTmicQuestionnaireSurveyGetAPIResponse struct {
	model.CommonResponse
	TmallTmicQuestionnaireSurveyGetResponse
}

天猫新品创新中心问卷数据获取 APIResponse tmall.tmic.questionnaire.survey.get

天猫新品创新中心问卷数据获取

type TmallTmicQuestionnaireSurveyGetRequest

type TmallTmicQuestionnaireSurveyGetRequest struct {
	model.Params
	// contains filtered or unexported fields
}

天猫新品创新中心问卷数据获取 APIRequest tmall.tmic.questionnaire.survey.get

天猫新品创新中心问卷数据获取

func NewTmallTmicQuestionnaireSurveyGetRequest

func NewTmallTmicQuestionnaireSurveyGetRequest() *TmallTmicQuestionnaireSurveyGetRequest

func (TmallTmicQuestionnaireSurveyGetRequest) GetApiMethodName

func (r TmallTmicQuestionnaireSurveyGetRequest) GetApiMethodName() string

func (TmallTmicQuestionnaireSurveyGetRequest) GetApiParams

func (TmallTmicQuestionnaireSurveyGetRequest) GetBiz

func (TmallTmicQuestionnaireSurveyGetRequest) GetHashCode

func (TmallTmicQuestionnaireSurveyGetRequest) GetOpenUserId

func (*TmallTmicQuestionnaireSurveyGetRequest) SetBiz

func (*TmallTmicQuestionnaireSurveyGetRequest) SetHashCode

func (r *TmallTmicQuestionnaireSurveyGetRequest) SetHashCode(hashCode string) error

func (*TmallTmicQuestionnaireSurveyGetRequest) SetOpenUserId

func (r *TmallTmicQuestionnaireSurveyGetRequest) SetOpenUserId(openUserId string) error

type TmallTmicQuestionnaireSurveyGetResponse

type TmallTmicQuestionnaireSurveyGetResponse struct {
	XMLName xml.Name `xml:"tmall_tmic_questionnaire_survey_get_response"`

	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	Result *TmallTmicQuestionnaireSurveyGetResult `json:"result,omitempty" xml:"result,omitempty"`
}

type TmallTmicQuestionnaireSurveyGetResult

type TmallTmicQuestionnaireSurveyGetResult struct {
	BizSuccess bool `json:"biz_success,omitempty" xml:"biz_success,omitempty"`

	RecordId int64 `json:"record_id,omitempty" xml:"record_id,omitempty"`


	Title string `json:"title,omitempty" xml:"title,omitempty"`

	QuestionList []QuestionBo `json:"question_list,omitempty" xml:"question_list,omitempty"`

	BizErrorInfo string `json:"biz_error_info,omitempty" xml:"biz_error_info,omitempty"`

	Description string `json:"description,omitempty" xml:"description,omitempty"`

	QuestionCount int64 `json:"question_count,omitempty" xml:"question_count,omitempty"`

	BizErrorCode string `json:"biz_error_code,omitempty" xml:"biz_error_code,omitempty"`

	Version int64 `json:"version,omitempty" xml:"version,omitempty"`
}

TmallTmicQuestionnaireSurveyGetResult

Jump to

Keyboard shortcuts

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