generated

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2026 License: MIT Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package generated provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.0 DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessTokenHeader

type AccessTokenHeader = string

AccessTokenHeader defines model for AccessTokenHeader.

type AuthRefresh200JSONResponseBodyCode0

type AuthRefresh200JSONResponseBodyCode0 = int

AuthRefresh200JSONResponseBodyCode0 defines parameters for AuthRefresh.

type AuthRefresh200JSONResponseBodyCode1

type AuthRefresh200JSONResponseBodyCode1 = string

AuthRefresh200JSONResponseBodyCode1 defines parameters for AuthRefresh.

type AuthRefresh200JSONResponseBody_Code

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

AuthRefresh200JSONResponseBody_Code defines parameters for AuthRefresh.

func (AuthRefresh200JSONResponseBody_Code) AsAuthRefresh200JSONResponseBodyCode0

func (t AuthRefresh200JSONResponseBody_Code) AsAuthRefresh200JSONResponseBodyCode0() (AuthRefresh200JSONResponseBodyCode0, error)

AsAuthRefresh200JSONResponseBodyCode0 returns the union data inside the AuthRefresh200JSONResponseBody_Code as a AuthRefresh200JSONResponseBodyCode0

func (AuthRefresh200JSONResponseBody_Code) AsAuthRefresh200JSONResponseBodyCode1

func (t AuthRefresh200JSONResponseBody_Code) AsAuthRefresh200JSONResponseBodyCode1() (AuthRefresh200JSONResponseBodyCode1, error)

AsAuthRefresh200JSONResponseBodyCode1 returns the union data inside the AuthRefresh200JSONResponseBody_Code as a AuthRefresh200JSONResponseBodyCode1

func (*AuthRefresh200JSONResponseBody_Code) FromAuthRefresh200JSONResponseBodyCode0

func (t *AuthRefresh200JSONResponseBody_Code) FromAuthRefresh200JSONResponseBodyCode0(v AuthRefresh200JSONResponseBodyCode0) error

FromAuthRefresh200JSONResponseBodyCode0 overwrites any union data inside the AuthRefresh200JSONResponseBody_Code as the provided AuthRefresh200JSONResponseBodyCode0

func (*AuthRefresh200JSONResponseBody_Code) FromAuthRefresh200JSONResponseBodyCode1

func (t *AuthRefresh200JSONResponseBody_Code) FromAuthRefresh200JSONResponseBodyCode1(v AuthRefresh200JSONResponseBodyCode1) error

FromAuthRefresh200JSONResponseBodyCode1 overwrites any union data inside the AuthRefresh200JSONResponseBody_Code as the provided AuthRefresh200JSONResponseBodyCode1

func (AuthRefresh200JSONResponseBody_Code) MarshalJSON

func (t AuthRefresh200JSONResponseBody_Code) MarshalJSON() ([]byte, error)

func (*AuthRefresh200JSONResponseBody_Code) MergeAuthRefresh200JSONResponseBodyCode0

func (t *AuthRefresh200JSONResponseBody_Code) MergeAuthRefresh200JSONResponseBodyCode0(v AuthRefresh200JSONResponseBodyCode0) error

MergeAuthRefresh200JSONResponseBodyCode0 performs a merge with any union data inside the AuthRefresh200JSONResponseBody_Code, using the provided AuthRefresh200JSONResponseBodyCode0

func (*AuthRefresh200JSONResponseBody_Code) MergeAuthRefresh200JSONResponseBodyCode1

func (t *AuthRefresh200JSONResponseBody_Code) MergeAuthRefresh200JSONResponseBodyCode1(v AuthRefresh200JSONResponseBodyCode1) error

MergeAuthRefresh200JSONResponseBodyCode1 performs a merge with any union data inside the AuthRefresh200JSONResponseBody_Code, using the provided AuthRefresh200JSONResponseBodyCode1

func (*AuthRefresh200JSONResponseBody_Code) UnmarshalJSON

func (t *AuthRefresh200JSONResponseBody_Code) UnmarshalJSON(b []byte) error

type AuthRefreshJSONBody

type AuthRefreshJSONBody struct {
	// RefreshToken 刷新令牌
	RefreshToken string `json:"refreshToken"`
}

AuthRefreshJSONBody defines parameters for AuthRefresh.

type AuthRefreshJSONRequestBody

type AuthRefreshJSONRequestBody AuthRefreshJSONBody

AuthRefreshJSONRequestBody defines body for AuthRefresh for application/json ContentType.

type AuthToken200JSONResponseBodyCode0

type AuthToken200JSONResponseBodyCode0 = int

AuthToken200JSONResponseBodyCode0 defines parameters for AuthToken.

type AuthToken200JSONResponseBodyCode1

type AuthToken200JSONResponseBodyCode1 = string

AuthToken200JSONResponseBodyCode1 defines parameters for AuthToken.

type AuthToken200JSONResponseBody_Code

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

AuthToken200JSONResponseBody_Code defines parameters for AuthToken.

func (AuthToken200JSONResponseBody_Code) AsAuthToken200JSONResponseBodyCode0

func (t AuthToken200JSONResponseBody_Code) AsAuthToken200JSONResponseBodyCode0() (AuthToken200JSONResponseBodyCode0, error)

AsAuthToken200JSONResponseBodyCode0 returns the union data inside the AuthToken200JSONResponseBody_Code as a AuthToken200JSONResponseBodyCode0

func (AuthToken200JSONResponseBody_Code) AsAuthToken200JSONResponseBodyCode1

func (t AuthToken200JSONResponseBody_Code) AsAuthToken200JSONResponseBodyCode1() (AuthToken200JSONResponseBodyCode1, error)

AsAuthToken200JSONResponseBodyCode1 returns the union data inside the AuthToken200JSONResponseBody_Code as a AuthToken200JSONResponseBodyCode1

func (*AuthToken200JSONResponseBody_Code) FromAuthToken200JSONResponseBodyCode0

func (t *AuthToken200JSONResponseBody_Code) FromAuthToken200JSONResponseBodyCode0(v AuthToken200JSONResponseBodyCode0) error

FromAuthToken200JSONResponseBodyCode0 overwrites any union data inside the AuthToken200JSONResponseBody_Code as the provided AuthToken200JSONResponseBodyCode0

func (*AuthToken200JSONResponseBody_Code) FromAuthToken200JSONResponseBodyCode1

func (t *AuthToken200JSONResponseBody_Code) FromAuthToken200JSONResponseBodyCode1(v AuthToken200JSONResponseBodyCode1) error

FromAuthToken200JSONResponseBodyCode1 overwrites any union data inside the AuthToken200JSONResponseBody_Code as the provided AuthToken200JSONResponseBodyCode1

func (AuthToken200JSONResponseBody_Code) MarshalJSON

func (t AuthToken200JSONResponseBody_Code) MarshalJSON() ([]byte, error)

func (*AuthToken200JSONResponseBody_Code) MergeAuthToken200JSONResponseBodyCode0

func (t *AuthToken200JSONResponseBody_Code) MergeAuthToken200JSONResponseBodyCode0(v AuthToken200JSONResponseBodyCode0) error

MergeAuthToken200JSONResponseBodyCode0 performs a merge with any union data inside the AuthToken200JSONResponseBody_Code, using the provided AuthToken200JSONResponseBodyCode0

func (*AuthToken200JSONResponseBody_Code) MergeAuthToken200JSONResponseBodyCode1

func (t *AuthToken200JSONResponseBody_Code) MergeAuthToken200JSONResponseBodyCode1(v AuthToken200JSONResponseBodyCode1) error

MergeAuthToken200JSONResponseBodyCode1 performs a merge with any union data inside the AuthToken200JSONResponseBody_Code, using the provided AuthToken200JSONResponseBodyCode1

func (*AuthToken200JSONResponseBody_Code) UnmarshalJSON

func (t *AuthToken200JSONResponseBody_Code) UnmarshalJSON(b []byte) error

type AuthTokenJSONBody

type AuthTokenJSONBody struct {
	// AppId 应用 ID
	AppId string `json:"appId"`

	// AppSecret 应用密钥
	AppSecret string `json:"appSecret"`

	// Code 一次性授权码,小程序前端调宿主的 qd.login() 获取,需用户已在 App 内登录;其对应的原生接口是 POST https://api.qiandao.com/signin/openapi/auth/generate-code(body {appId, scene:"openapi"},取响应的 data.code),非小程序环境可直接调用。被 Auth 服务消费后立即失效,且 5 分钟内有效(实测超时返回 code=10003「授权码错误或超过 5 分钟」)。仅 grantType=AUTHORIZATION_CODE 时必填;该约束在运行时校验,不在 schema 层强制声明为 required(源文档标注 required 但描述又说明“仅授权码模式必填”,语义矛盾,此处以放宽为可选处理)。
	Code *string `json:"code,omitempty"`

	// GrantType 凭证类型:CLIENT_CREDENTIALS(应用凭证)或 AUTHORIZATION_CODE(用户授权凭证)
	GrantType AuthTokenJSONBodyGrantType `json:"grantType"`
}

AuthTokenJSONBody defines parameters for AuthToken.

type AuthTokenJSONBodyGrantType

type AuthTokenJSONBodyGrantType string

AuthTokenJSONBodyGrantType defines parameters for AuthToken.

const (
	AUTHORIZATIONCODE AuthTokenJSONBodyGrantType = "AUTHORIZATION_CODE"
	CLIENTCREDENTIALS AuthTokenJSONBodyGrantType = "CLIENT_CREDENTIALS"
)

Defines values for AuthTokenJSONBodyGrantType.

func (AuthTokenJSONBodyGrantType) Valid

func (e AuthTokenJSONBodyGrantType) Valid() bool

Valid indicates whether the value is a known member of the AuthTokenJSONBodyGrantType enum.

type AuthTokenJSONRequestBody

type AuthTokenJSONRequestBody AuthTokenJSONBody

AuthTokenJSONRequestBody defines body for AuthToken for application/json ContentType.

type BusinessEnvelopeBase added in v0.4.0

type BusinessEnvelopeBase struct {
	// Code 业务状态码,0/"0" 通常表示成功,非零/非"0"表示业务错误。取值不是封闭枚举,已知码见顶层 x-error-codes。
	Code BusinessEnvelopeBase_Code `json:"code"`

	// Message 人类可读的提示信息
	Message string `json:"message"`

	// RequestId 请求追踪 ID
	RequestId *string `json:"requestId,omitempty"`
}

BusinessEnvelopeBase 业务信封基础结构 {code, message, requestId, data}(data 由各 operation 的响应单独描述)。实测确认:code 字段类型不统一,见过数字(0/10008/20000等)也见过字符串("0");且不保证 HTTP 200 即代表业务成功——例如 refreshToken 过期时是 HTTP 200 + code=10008,而 access-token 缺失/非法则是真实 HTTP 401 + code=10005。调用方必须显式检查 code 字段,不能只信任 HTTP 状态码。

type BusinessEnvelopeBaseCode0 added in v0.4.0

type BusinessEnvelopeBaseCode0 = int

BusinessEnvelopeBaseCode0 defines model for BusinessEnvelopeBase.Code.0.

type BusinessEnvelopeBaseCode1 added in v0.4.0

type BusinessEnvelopeBaseCode1 = string

BusinessEnvelopeBaseCode1 defines model for BusinessEnvelopeBase.Code.1.

type BusinessEnvelopeBase_Code added in v0.4.0

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

BusinessEnvelopeBase_Code 业务状态码,0/"0" 通常表示成功,非零/非"0"表示业务错误。取值不是封闭枚举,已知码见顶层 x-error-codes。

func (BusinessEnvelopeBase_Code) AsBusinessEnvelopeBaseCode0 added in v0.4.0

func (t BusinessEnvelopeBase_Code) AsBusinessEnvelopeBaseCode0() (BusinessEnvelopeBaseCode0, error)

AsBusinessEnvelopeBaseCode0 returns the union data inside the BusinessEnvelopeBase_Code as a BusinessEnvelopeBaseCode0

func (BusinessEnvelopeBase_Code) AsBusinessEnvelopeBaseCode1 added in v0.4.0

func (t BusinessEnvelopeBase_Code) AsBusinessEnvelopeBaseCode1() (BusinessEnvelopeBaseCode1, error)

AsBusinessEnvelopeBaseCode1 returns the union data inside the BusinessEnvelopeBase_Code as a BusinessEnvelopeBaseCode1

func (*BusinessEnvelopeBase_Code) FromBusinessEnvelopeBaseCode0 added in v0.4.0

func (t *BusinessEnvelopeBase_Code) FromBusinessEnvelopeBaseCode0(v BusinessEnvelopeBaseCode0) error

FromBusinessEnvelopeBaseCode0 overwrites any union data inside the BusinessEnvelopeBase_Code as the provided BusinessEnvelopeBaseCode0

func (*BusinessEnvelopeBase_Code) FromBusinessEnvelopeBaseCode1 added in v0.4.0

func (t *BusinessEnvelopeBase_Code) FromBusinessEnvelopeBaseCode1(v BusinessEnvelopeBaseCode1) error

FromBusinessEnvelopeBaseCode1 overwrites any union data inside the BusinessEnvelopeBase_Code as the provided BusinessEnvelopeBaseCode1

func (BusinessEnvelopeBase_Code) MarshalJSON added in v0.4.0

func (t BusinessEnvelopeBase_Code) MarshalJSON() ([]byte, error)

func (*BusinessEnvelopeBase_Code) MergeBusinessEnvelopeBaseCode0 added in v0.4.0

func (t *BusinessEnvelopeBase_Code) MergeBusinessEnvelopeBaseCode0(v BusinessEnvelopeBaseCode0) error

MergeBusinessEnvelopeBaseCode0 performs a merge with any union data inside the BusinessEnvelopeBase_Code, using the provided BusinessEnvelopeBaseCode0

func (*BusinessEnvelopeBase_Code) MergeBusinessEnvelopeBaseCode1 added in v0.4.0

func (t *BusinessEnvelopeBase_Code) MergeBusinessEnvelopeBaseCode1(v BusinessEnvelopeBaseCode1) error

MergeBusinessEnvelopeBaseCode1 performs a merge with any union data inside the BusinessEnvelopeBase_Code, using the provided BusinessEnvelopeBaseCode1

func (*BusinessEnvelopeBase_Code) UnmarshalJSON added in v0.4.0

func (t *BusinessEnvelopeBase_Code) UnmarshalJSON(b []byte) error

type CommentCreateJSONRequestBody added in v0.4.0

type CommentCreateJSONRequestBody = CommentCreateRequest

CommentCreateJSONRequestBody defines body for CommentCreate for application/json ContentType.

type CommentCreateParams added in v0.4.0

type CommentCreateParams struct {
	// AccessToken 用户授权凭证或应用凭证的访问令牌,通过 /auth/v1/token 获取。standard 鉴权方案下必须携带;SDK 层面只要求“传了某个凭证”,不区分是 CLIENT_CREDENTIALS 换的应用凭证还是 AUTHORIZATION_CODE 换的用户授权凭证——见该 operation 上的 x-qdmp-token-required。
	AccessToken AccessTokenHeader `json:"access-token"`

	// XEchoQdmpVersion qdmp 协议版本标识,可由 SDK 配置项覆盖,默认值 "1.0"。仅 standard 鉴权方案需要。
	XEchoQdmpVersion QdmpVersionHeader `json:"x-echo-qdmp-version"`
}

CommentCreateParams defines parameters for CommentCreate.

type CommentCreateRequest added in v0.4.0

type CommentCreateRequest struct {
	Content string `json:"content"`

	// PostId 帖子 ID;源接口为 int64,在线格式为 string,值必须大于 0。
	PostId string `json:"postId"`
}

CommentCreateRequest 创建帖子评论。

type CommentCreateResponse added in v0.4.0

type CommentCreateResponse struct {
	// Code 业务状态码,0/"0" 通常表示成功,非零/非"0"表示业务错误。取值不是封闭枚举,已知码见顶层 x-error-codes。
	Code CommentCreateResponse_Code `json:"code"`
	Data *struct {
		Id *string `json:"id,omitempty"`
	} `json:"data,omitempty"`

	// Message 人类可读的提示信息
	Message string `json:"message"`

	// RequestId 请求追踪 ID
	RequestId *string `json:"requestId,omitempty"`
}

CommentCreateResponse defines model for CommentCreateResponse.

type CommentCreateResponseCode0 added in v0.4.0

type CommentCreateResponseCode0 = int

CommentCreateResponseCode0 defines model for CommentCreateResponse.Code.0.

type CommentCreateResponseCode1 added in v0.4.0

type CommentCreateResponseCode1 = string

CommentCreateResponseCode1 defines model for CommentCreateResponse.Code.1.

type CommentCreateResponse_Code added in v0.4.0

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

CommentCreateResponse_Code 业务状态码,0/"0" 通常表示成功,非零/非"0"表示业务错误。取值不是封闭枚举,已知码见顶层 x-error-codes。

func (CommentCreateResponse_Code) AsCommentCreateResponseCode0 added in v0.4.0

func (t CommentCreateResponse_Code) AsCommentCreateResponseCode0() (CommentCreateResponseCode0, error)

AsCommentCreateResponseCode0 returns the union data inside the CommentCreateResponse_Code as a CommentCreateResponseCode0

func (CommentCreateResponse_Code) AsCommentCreateResponseCode1 added in v0.4.0

func (t CommentCreateResponse_Code) AsCommentCreateResponseCode1() (CommentCreateResponseCode1, error)

AsCommentCreateResponseCode1 returns the union data inside the CommentCreateResponse_Code as a CommentCreateResponseCode1

func (*CommentCreateResponse_Code) FromCommentCreateResponseCode0 added in v0.4.0

func (t *CommentCreateResponse_Code) FromCommentCreateResponseCode0(v CommentCreateResponseCode0) error

FromCommentCreateResponseCode0 overwrites any union data inside the CommentCreateResponse_Code as the provided CommentCreateResponseCode0

func (*CommentCreateResponse_Code) FromCommentCreateResponseCode1 added in v0.4.0

func (t *CommentCreateResponse_Code) FromCommentCreateResponseCode1(v CommentCreateResponseCode1) error

FromCommentCreateResponseCode1 overwrites any union data inside the CommentCreateResponse_Code as the provided CommentCreateResponseCode1

func (CommentCreateResponse_Code) MarshalJSON added in v0.4.0

func (t CommentCreateResponse_Code) MarshalJSON() ([]byte, error)

func (*CommentCreateResponse_Code) MergeCommentCreateResponseCode0 added in v0.4.0

func (t *CommentCreateResponse_Code) MergeCommentCreateResponseCode0(v CommentCreateResponseCode0) error

MergeCommentCreateResponseCode0 performs a merge with any union data inside the CommentCreateResponse_Code, using the provided CommentCreateResponseCode0

func (*CommentCreateResponse_Code) MergeCommentCreateResponseCode1 added in v0.4.0

func (t *CommentCreateResponse_Code) MergeCommentCreateResponseCode1(v CommentCreateResponseCode1) error

MergeCommentCreateResponseCode1 performs a merge with any union data inside the CommentCreateResponse_Code, using the provided CommentCreateResponseCode1

func (*CommentCreateResponse_Code) UnmarshalJSON added in v0.4.0

func (t *CommentCreateResponse_Code) UnmarshalJSON(b []byte) error

type CommentIdPath added in v0.4.0

type CommentIdPath = string

CommentIdPath defines model for CommentIdPath.

type CommentItem added in v0.4.0

type CommentItem struct {
	Content        *string                 `json:"content,omitempty"`
	CreatedAt      *string                 `json:"createdAt,omitempty"`
	Creator        *map[string]interface{} `json:"creator,omitempty"`
	Id             *string                 `json:"id,omitempty"`
	LikeCount      *int32                  `json:"likeCount,omitempty"`
	Liked          *bool                   `json:"liked,omitempty"`
	ReplyCommentId *string                 `json:"replyCommentId,omitempty"`
	ReplyToUser    *map[string]interface{} `json:"replyToUser,omitempty"`
	RootCommentId  *string                 `json:"rootCommentId,omitempty"`
}

CommentItem defines model for CommentItem.

type CommentLikeJSONRequestBody added in v0.4.0

type CommentLikeJSONRequestBody = CommentLikeRequest

CommentLikeJSONRequestBody defines body for CommentLike for application/json ContentType.

type CommentLikeParams added in v0.4.0

type CommentLikeParams struct {
	// AccessToken 用户授权凭证或应用凭证的访问令牌,通过 /auth/v1/token 获取。standard 鉴权方案下必须携带;SDK 层面只要求“传了某个凭证”,不区分是 CLIENT_CREDENTIALS 换的应用凭证还是 AUTHORIZATION_CODE 换的用户授权凭证——见该 operation 上的 x-qdmp-token-required。
	AccessToken AccessTokenHeader `json:"access-token"`

	// XEchoQdmpVersion qdmp 协议版本标识,可由 SDK 配置项覆盖,默认值 "1.0"。仅 standard 鉴权方案需要。
	XEchoQdmpVersion QdmpVersionHeader `json:"x-echo-qdmp-version"`
}

CommentLikeParams defines parameters for CommentLike.

type CommentLikeRequest added in v0.4.0

type CommentLikeRequest struct {
	Liked bool `json:"liked"`
}

CommentLikeRequest defines model for CommentLikeRequest.

type CommentRepliesParams added in v0.4.0

type CommentRepliesParams struct {
	// Limit 评论或回复列表每页数量,默认 10,最大 20。
	Limit *Limit20Query `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor 回复列表游标;首次请求省略,后续请求使用上一页响应返回的 cursor。
	Cursor *CursorQuery `form:"cursor,omitempty" json:"cursor,omitempty"`

	// AccessToken 用户授权凭证或应用凭证的访问令牌,通过 /auth/v1/token 获取。standard 鉴权方案下必须携带;SDK 层面只要求“传了某个凭证”,不区分是 CLIENT_CREDENTIALS 换的应用凭证还是 AUTHORIZATION_CODE 换的用户授权凭证——见该 operation 上的 x-qdmp-token-required。
	AccessToken AccessTokenHeader `json:"access-token"`

	// XEchoQdmpVersion qdmp 协议版本标识,可由 SDK 配置项覆盖,默认值 "1.0"。仅 standard 鉴权方案需要。
	XEchoQdmpVersion QdmpVersionHeader `json:"x-echo-qdmp-version"`
}

CommentRepliesParams defines parameters for CommentReplies.

type CommentRepliesResponse added in v0.4.0

type CommentRepliesResponse struct {
	// Code 业务状态码,0/"0" 通常表示成功,非零/非"0"表示业务错误。取值不是封闭枚举,已知码见顶层 x-error-codes。
	Code CommentRepliesResponse_Code `json:"code"`
	Data *struct {
		Count   *int32         `json:"count,omitempty"`
		Cursor  *string        `json:"cursor,omitempty"`
		HasMore *bool          `json:"hasMore,omitempty"`
		Items   *[]CommentItem `json:"items,omitempty"`
	} `json:"data,omitempty"`

	// Message 人类可读的提示信息
	Message string `json:"message"`

	// RequestId 请求追踪 ID
	RequestId *string `json:"requestId,omitempty"`
}

CommentRepliesResponse defines model for CommentRepliesResponse.

type CommentRepliesResponseCode0 added in v0.4.0

type CommentRepliesResponseCode0 = int

CommentRepliesResponseCode0 defines model for CommentRepliesResponse.Code.0.

type CommentRepliesResponseCode1 added in v0.4.0

type CommentRepliesResponseCode1 = string

CommentRepliesResponseCode1 defines model for CommentRepliesResponse.Code.1.

type CommentRepliesResponse_Code added in v0.4.0

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

CommentRepliesResponse_Code 业务状态码,0/"0" 通常表示成功,非零/非"0"表示业务错误。取值不是封闭枚举,已知码见顶层 x-error-codes。

func (CommentRepliesResponse_Code) AsCommentRepliesResponseCode0 added in v0.4.0

func (t CommentRepliesResponse_Code) AsCommentRepliesResponseCode0() (CommentRepliesResponseCode0, error)

AsCommentRepliesResponseCode0 returns the union data inside the CommentRepliesResponse_Code as a CommentRepliesResponseCode0

func (CommentRepliesResponse_Code) AsCommentRepliesResponseCode1 added in v0.4.0

func (t CommentRepliesResponse_Code) AsCommentRepliesResponseCode1() (CommentRepliesResponseCode1, error)

AsCommentRepliesResponseCode1 returns the union data inside the CommentRepliesResponse_Code as a CommentRepliesResponseCode1

func (*CommentRepliesResponse_Code) FromCommentRepliesResponseCode0 added in v0.4.0

func (t *CommentRepliesResponse_Code) FromCommentRepliesResponseCode0(v CommentRepliesResponseCode0) error

FromCommentRepliesResponseCode0 overwrites any union data inside the CommentRepliesResponse_Code as the provided CommentRepliesResponseCode0

func (*CommentRepliesResponse_Code) FromCommentRepliesResponseCode1 added in v0.4.0

func (t *CommentRepliesResponse_Code) FromCommentRepliesResponseCode1(v CommentRepliesResponseCode1) error

FromCommentRepliesResponseCode1 overwrites any union data inside the CommentRepliesResponse_Code as the provided CommentRepliesResponseCode1

func (CommentRepliesResponse_Code) MarshalJSON added in v0.4.0

func (t CommentRepliesResponse_Code) MarshalJSON() ([]byte, error)

func (*CommentRepliesResponse_Code) MergeCommentRepliesResponseCode0 added in v0.4.0

func (t *CommentRepliesResponse_Code) MergeCommentRepliesResponseCode0(v CommentRepliesResponseCode0) error

MergeCommentRepliesResponseCode0 performs a merge with any union data inside the CommentRepliesResponse_Code, using the provided CommentRepliesResponseCode0

func (*CommentRepliesResponse_Code) MergeCommentRepliesResponseCode1 added in v0.4.0

func (t *CommentRepliesResponse_Code) MergeCommentRepliesResponseCode1(v CommentRepliesResponseCode1) error

MergeCommentRepliesResponseCode1 performs a merge with any union data inside the CommentRepliesResponse_Code, using the provided CommentRepliesResponseCode1

func (*CommentRepliesResponse_Code) UnmarshalJSON added in v0.4.0

func (t *CommentRepliesResponse_Code) UnmarshalJSON(b []byte) error

type CommentReplyJSONRequestBody added in v0.4.0

type CommentReplyJSONRequestBody = CommentReplyRequest

CommentReplyJSONRequestBody defines body for CommentReply for application/json ContentType.

type CommentReplyParams added in v0.4.0

type CommentReplyParams struct {
	// AccessToken 用户授权凭证或应用凭证的访问令牌,通过 /auth/v1/token 获取。standard 鉴权方案下必须携带;SDK 层面只要求“传了某个凭证”,不区分是 CLIENT_CREDENTIALS 换的应用凭证还是 AUTHORIZATION_CODE 换的用户授权凭证——见该 operation 上的 x-qdmp-token-required。
	AccessToken AccessTokenHeader `json:"access-token"`

	// XEchoQdmpVersion qdmp 协议版本标识,可由 SDK 配置项覆盖,默认值 "1.0"。仅 standard 鉴权方案需要。
	XEchoQdmpVersion QdmpVersionHeader `json:"x-echo-qdmp-version"`
}

CommentReplyParams defines parameters for CommentReply.

type CommentReplyRequest added in v0.4.0

type CommentReplyRequest struct {
	Content string `json:"content"`
}

CommentReplyRequest 回复评论。

type CommentThread added in v0.4.0

type CommentThread struct {
	Comment    *CommentItem   `json:"comment,omitempty"`
	Replies    *[]CommentItem `json:"replies,omitempty"`
	ReplyCount *int32         `json:"replyCount,omitempty"`
}

CommentThread defines model for CommentThread.

type CursorQuery added in v0.4.0

type CursorQuery = string

CursorQuery defines model for CursorQuery.

type EmptyDataResponse added in v0.4.0

type EmptyDataResponse struct {
	// Code 业务状态码,0/"0" 通常表示成功,非零/非"0"表示业务错误。取值不是封闭枚举,已知码见顶层 x-error-codes。
	Code EmptyDataResponse_Code  `json:"code"`
	Data *map[string]interface{} `json:"data,omitempty"`

	// Message 人类可读的提示信息
	Message string `json:"message"`

	// RequestId 请求追踪 ID
	RequestId *string `json:"requestId,omitempty"`
}

EmptyDataResponse defines model for EmptyDataResponse.

type EmptyDataResponseCode0 added in v0.4.0

type EmptyDataResponseCode0 = int

EmptyDataResponseCode0 defines model for EmptyDataResponse.Code.0.

type EmptyDataResponseCode1 added in v0.4.0

type EmptyDataResponseCode1 = string

EmptyDataResponseCode1 defines model for EmptyDataResponse.Code.1.

type EmptyDataResponse_Code added in v0.4.0

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

EmptyDataResponse_Code 业务状态码,0/"0" 通常表示成功,非零/非"0"表示业务错误。取值不是封闭枚举,已知码见顶层 x-error-codes。

func (EmptyDataResponse_Code) AsEmptyDataResponseCode0 added in v0.4.0

func (t EmptyDataResponse_Code) AsEmptyDataResponseCode0() (EmptyDataResponseCode0, error)

AsEmptyDataResponseCode0 returns the union data inside the EmptyDataResponse_Code as a EmptyDataResponseCode0

func (EmptyDataResponse_Code) AsEmptyDataResponseCode1 added in v0.4.0

func (t EmptyDataResponse_Code) AsEmptyDataResponseCode1() (EmptyDataResponseCode1, error)

AsEmptyDataResponseCode1 returns the union data inside the EmptyDataResponse_Code as a EmptyDataResponseCode1

func (*EmptyDataResponse_Code) FromEmptyDataResponseCode0 added in v0.4.0

func (t *EmptyDataResponse_Code) FromEmptyDataResponseCode0(v EmptyDataResponseCode0) error

FromEmptyDataResponseCode0 overwrites any union data inside the EmptyDataResponse_Code as the provided EmptyDataResponseCode0

func (*EmptyDataResponse_Code) FromEmptyDataResponseCode1 added in v0.4.0

func (t *EmptyDataResponse_Code) FromEmptyDataResponseCode1(v EmptyDataResponseCode1) error

FromEmptyDataResponseCode1 overwrites any union data inside the EmptyDataResponse_Code as the provided EmptyDataResponseCode1

func (EmptyDataResponse_Code) MarshalJSON added in v0.4.0

func (t EmptyDataResponse_Code) MarshalJSON() ([]byte, error)

func (*EmptyDataResponse_Code) MergeEmptyDataResponseCode0 added in v0.4.0

func (t *EmptyDataResponse_Code) MergeEmptyDataResponseCode0(v EmptyDataResponseCode0) error

MergeEmptyDataResponseCode0 performs a merge with any union data inside the EmptyDataResponse_Code, using the provided EmptyDataResponseCode0

func (*EmptyDataResponse_Code) MergeEmptyDataResponseCode1 added in v0.4.0

func (t *EmptyDataResponse_Code) MergeEmptyDataResponseCode1(v EmptyDataResponseCode1) error

MergeEmptyDataResponseCode1 performs a merge with any union data inside the EmptyDataResponse_Code, using the provided EmptyDataResponseCode1

func (*EmptyDataResponse_Code) UnmarshalJSON added in v0.4.0

func (t *EmptyDataResponse_Code) UnmarshalJSON(b []byte) error

type GatewayErrorEnvelope added in v0.4.0

type GatewayErrorEnvelope struct {
	// Code 类 gRPC 状态码,实测见过 2、13
	Code int `json:"code"`

	// Details 错误详情,具体结构未完全验证
	Details interface{} `json:"details,omitempty"`
	Message string      `json:"message"`
}

GatewayErrorEnvelope 第二种错误信封:网关层错误,不含 data / requestId 字段,与业务信封结构不同。code 是类 gRPC 状态码的小整数,实测见过 13("query parse error")、2("openid is required")。这两个具体码是网关层示例,不属于顶层 x-error-codes 清单(那份清单专指业务信封的已知错误码)。HTTP 状态码未逐条验证。

type GatewayErrorResponse added in v0.4.0

type GatewayErrorResponse = GatewayErrorEnvelope

GatewayErrorResponse 第二种错误信封:网关层错误,不含 data / requestId 字段,与业务信封结构不同。code 是类 gRPC 状态码的小整数,实测见过 13("query parse error")、2("openid is required")。这两个具体码是网关层示例,不属于顶层 x-error-codes 清单(那份清单专指业务信封的已知错误码)。HTTP 状态码未逐条验证。

type GenaiAccessTokenHeader

type GenaiAccessTokenHeader = string

GenaiAccessTokenHeader defines model for GenaiAccessTokenHeader.

type GenaiAppIdHeader

type GenaiAppIdHeader = string

GenaiAppIdHeader defines model for GenaiAppIdHeader.

type GenaiDetail200JSONResponseBodyCode0

type GenaiDetail200JSONResponseBodyCode0 = int

GenaiDetail200JSONResponseBodyCode0 defines parameters for GenaiDetail.

type GenaiDetail200JSONResponseBodyCode1

type GenaiDetail200JSONResponseBodyCode1 = string

GenaiDetail200JSONResponseBodyCode1 defines parameters for GenaiDetail.

type GenaiDetail200JSONResponseBodyDataStatus

type GenaiDetail200JSONResponseBodyDataStatus string

GenaiDetail200JSONResponseBodyDataStatus defines parameters for GenaiDetail.

Defines values for GenaiDetail200JSONResponseBodyDataStatus.

func (GenaiDetail200JSONResponseBodyDataStatus) Valid

Valid indicates whether the value is a known member of the GenaiDetail200JSONResponseBodyDataStatus enum.

type GenaiDetail200JSONResponseBody_Code

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

GenaiDetail200JSONResponseBody_Code defines parameters for GenaiDetail.

func (GenaiDetail200JSONResponseBody_Code) AsGenaiDetail200JSONResponseBodyCode0

func (t GenaiDetail200JSONResponseBody_Code) AsGenaiDetail200JSONResponseBodyCode0() (GenaiDetail200JSONResponseBodyCode0, error)

AsGenaiDetail200JSONResponseBodyCode0 returns the union data inside the GenaiDetail200JSONResponseBody_Code as a GenaiDetail200JSONResponseBodyCode0

func (GenaiDetail200JSONResponseBody_Code) AsGenaiDetail200JSONResponseBodyCode1

func (t GenaiDetail200JSONResponseBody_Code) AsGenaiDetail200JSONResponseBodyCode1() (GenaiDetail200JSONResponseBodyCode1, error)

AsGenaiDetail200JSONResponseBodyCode1 returns the union data inside the GenaiDetail200JSONResponseBody_Code as a GenaiDetail200JSONResponseBodyCode1

func (*GenaiDetail200JSONResponseBody_Code) FromGenaiDetail200JSONResponseBodyCode0

func (t *GenaiDetail200JSONResponseBody_Code) FromGenaiDetail200JSONResponseBodyCode0(v GenaiDetail200JSONResponseBodyCode0) error

FromGenaiDetail200JSONResponseBodyCode0 overwrites any union data inside the GenaiDetail200JSONResponseBody_Code as the provided GenaiDetail200JSONResponseBodyCode0

func (*GenaiDetail200JSONResponseBody_Code) FromGenaiDetail200JSONResponseBodyCode1

func (t *GenaiDetail200JSONResponseBody_Code) FromGenaiDetail200JSONResponseBodyCode1(v GenaiDetail200JSONResponseBodyCode1) error

FromGenaiDetail200JSONResponseBodyCode1 overwrites any union data inside the GenaiDetail200JSONResponseBody_Code as the provided GenaiDetail200JSONResponseBodyCode1

func (GenaiDetail200JSONResponseBody_Code) MarshalJSON

func (t GenaiDetail200JSONResponseBody_Code) MarshalJSON() ([]byte, error)

func (*GenaiDetail200JSONResponseBody_Code) MergeGenaiDetail200JSONResponseBodyCode0

func (t *GenaiDetail200JSONResponseBody_Code) MergeGenaiDetail200JSONResponseBodyCode0(v GenaiDetail200JSONResponseBodyCode0) error

MergeGenaiDetail200JSONResponseBodyCode0 performs a merge with any union data inside the GenaiDetail200JSONResponseBody_Code, using the provided GenaiDetail200JSONResponseBodyCode0

func (*GenaiDetail200JSONResponseBody_Code) MergeGenaiDetail200JSONResponseBodyCode1

func (t *GenaiDetail200JSONResponseBody_Code) MergeGenaiDetail200JSONResponseBodyCode1(v GenaiDetail200JSONResponseBodyCode1) error

MergeGenaiDetail200JSONResponseBodyCode1 performs a merge with any union data inside the GenaiDetail200JSONResponseBody_Code, using the provided GenaiDetail200JSONResponseBodyCode1

func (*GenaiDetail200JSONResponseBody_Code) UnmarshalJSON

func (t *GenaiDetail200JSONResponseBody_Code) UnmarshalJSON(b []byte) error

type GenaiDetail401JSONResponseBodyCode0

type GenaiDetail401JSONResponseBodyCode0 = int

GenaiDetail401JSONResponseBodyCode0 defines parameters for GenaiDetail.

type GenaiDetail401JSONResponseBodyCode1

type GenaiDetail401JSONResponseBodyCode1 = string

GenaiDetail401JSONResponseBodyCode1 defines parameters for GenaiDetail.

type GenaiDetail401JSONResponseBody_Code

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

GenaiDetail401JSONResponseBody_Code defines parameters for GenaiDetail.

func (GenaiDetail401JSONResponseBody_Code) AsGenaiDetail401JSONResponseBodyCode0

func (t GenaiDetail401JSONResponseBody_Code) AsGenaiDetail401JSONResponseBodyCode0() (GenaiDetail401JSONResponseBodyCode0, error)

AsGenaiDetail401JSONResponseBodyCode0 returns the union data inside the GenaiDetail401JSONResponseBody_Code as a GenaiDetail401JSONResponseBodyCode0

func (GenaiDetail401JSONResponseBody_Code) AsGenaiDetail401JSONResponseBodyCode1

func (t GenaiDetail401JSONResponseBody_Code) AsGenaiDetail401JSONResponseBodyCode1() (GenaiDetail401JSONResponseBodyCode1, error)

AsGenaiDetail401JSONResponseBodyCode1 returns the union data inside the GenaiDetail401JSONResponseBody_Code as a GenaiDetail401JSONResponseBodyCode1

func (*GenaiDetail401JSONResponseBody_Code) FromGenaiDetail401JSONResponseBodyCode0

func (t *GenaiDetail401JSONResponseBody_Code) FromGenaiDetail401JSONResponseBodyCode0(v GenaiDetail401JSONResponseBodyCode0) error

FromGenaiDetail401JSONResponseBodyCode0 overwrites any union data inside the GenaiDetail401JSONResponseBody_Code as the provided GenaiDetail401JSONResponseBodyCode0

func (*GenaiDetail401JSONResponseBody_Code) FromGenaiDetail401JSONResponseBodyCode1

func (t *GenaiDetail401JSONResponseBody_Code) FromGenaiDetail401JSONResponseBodyCode1(v GenaiDetail401JSONResponseBodyCode1) error

FromGenaiDetail401JSONResponseBodyCode1 overwrites any union data inside the GenaiDetail401JSONResponseBody_Code as the provided GenaiDetail401JSONResponseBodyCode1

func (GenaiDetail401JSONResponseBody_Code) MarshalJSON

func (t GenaiDetail401JSONResponseBody_Code) MarshalJSON() ([]byte, error)

func (*GenaiDetail401JSONResponseBody_Code) MergeGenaiDetail401JSONResponseBodyCode0

func (t *GenaiDetail401JSONResponseBody_Code) MergeGenaiDetail401JSONResponseBodyCode0(v GenaiDetail401JSONResponseBodyCode0) error

MergeGenaiDetail401JSONResponseBodyCode0 performs a merge with any union data inside the GenaiDetail401JSONResponseBody_Code, using the provided GenaiDetail401JSONResponseBodyCode0

func (*GenaiDetail401JSONResponseBody_Code) MergeGenaiDetail401JSONResponseBodyCode1

func (t *GenaiDetail401JSONResponseBody_Code) MergeGenaiDetail401JSONResponseBodyCode1(v GenaiDetail401JSONResponseBodyCode1) error

MergeGenaiDetail401JSONResponseBodyCode1 performs a merge with any union data inside the GenaiDetail401JSONResponseBody_Code, using the provided GenaiDetail401JSONResponseBodyCode1

func (*GenaiDetail401JSONResponseBody_Code) UnmarshalJSON

func (t *GenaiDetail401JSONResponseBody_Code) UnmarshalJSON(b []byte) error

type GenaiDetailParams

type GenaiDetailParams struct {
	// Id 异步任务 ID
	Id string `form:"id" json:"id"`

	// XOpenapiAccessToken GenAI 接口专用访问令牌。genai 鉴权方案不使用 access-token / x-echo-qdmp-version 这两个 standard 方案的头。
	XOpenapiAccessToken GenaiAccessTokenHeader `json:"x-openapi-access-token"`

	// XOpenapiAppId GenAI 接口专用应用 ID。
	XOpenapiAppId GenaiAppIdHeader `json:"x-openapi-app-id"`
}

GenaiDetailParams defines parameters for GenaiDetail.

type GenaiGenerate200JSONResponseBodyCode0

type GenaiGenerate200JSONResponseBodyCode0 = int

GenaiGenerate200JSONResponseBodyCode0 defines parameters for GenaiGenerate.

type GenaiGenerate200JSONResponseBodyCode1

type GenaiGenerate200JSONResponseBodyCode1 = string

GenaiGenerate200JSONResponseBodyCode1 defines parameters for GenaiGenerate.

type GenaiGenerate200JSONResponseBody_Code

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

GenaiGenerate200JSONResponseBody_Code defines parameters for GenaiGenerate.

func (GenaiGenerate200JSONResponseBody_Code) AsGenaiGenerate200JSONResponseBodyCode0

func (t GenaiGenerate200JSONResponseBody_Code) AsGenaiGenerate200JSONResponseBodyCode0() (GenaiGenerate200JSONResponseBodyCode0, error)

AsGenaiGenerate200JSONResponseBodyCode0 returns the union data inside the GenaiGenerate200JSONResponseBody_Code as a GenaiGenerate200JSONResponseBodyCode0

func (GenaiGenerate200JSONResponseBody_Code) AsGenaiGenerate200JSONResponseBodyCode1

func (t GenaiGenerate200JSONResponseBody_Code) AsGenaiGenerate200JSONResponseBodyCode1() (GenaiGenerate200JSONResponseBodyCode1, error)

AsGenaiGenerate200JSONResponseBodyCode1 returns the union data inside the GenaiGenerate200JSONResponseBody_Code as a GenaiGenerate200JSONResponseBodyCode1

func (*GenaiGenerate200JSONResponseBody_Code) FromGenaiGenerate200JSONResponseBodyCode0

func (t *GenaiGenerate200JSONResponseBody_Code) FromGenaiGenerate200JSONResponseBodyCode0(v GenaiGenerate200JSONResponseBodyCode0) error

FromGenaiGenerate200JSONResponseBodyCode0 overwrites any union data inside the GenaiGenerate200JSONResponseBody_Code as the provided GenaiGenerate200JSONResponseBodyCode0

func (*GenaiGenerate200JSONResponseBody_Code) FromGenaiGenerate200JSONResponseBodyCode1

func (t *GenaiGenerate200JSONResponseBody_Code) FromGenaiGenerate200JSONResponseBodyCode1(v GenaiGenerate200JSONResponseBodyCode1) error

FromGenaiGenerate200JSONResponseBodyCode1 overwrites any union data inside the GenaiGenerate200JSONResponseBody_Code as the provided GenaiGenerate200JSONResponseBodyCode1

func (GenaiGenerate200JSONResponseBody_Code) MarshalJSON

func (t GenaiGenerate200JSONResponseBody_Code) MarshalJSON() ([]byte, error)

func (*GenaiGenerate200JSONResponseBody_Code) MergeGenaiGenerate200JSONResponseBodyCode0

func (t *GenaiGenerate200JSONResponseBody_Code) MergeGenaiGenerate200JSONResponseBodyCode0(v GenaiGenerate200JSONResponseBodyCode0) error

MergeGenaiGenerate200JSONResponseBodyCode0 performs a merge with any union data inside the GenaiGenerate200JSONResponseBody_Code, using the provided GenaiGenerate200JSONResponseBodyCode0

func (*GenaiGenerate200JSONResponseBody_Code) MergeGenaiGenerate200JSONResponseBodyCode1

func (t *GenaiGenerate200JSONResponseBody_Code) MergeGenaiGenerate200JSONResponseBodyCode1(v GenaiGenerate200JSONResponseBodyCode1) error

MergeGenaiGenerate200JSONResponseBodyCode1 performs a merge with any union data inside the GenaiGenerate200JSONResponseBody_Code, using the provided GenaiGenerate200JSONResponseBodyCode1

func (*GenaiGenerate200JSONResponseBody_Code) UnmarshalJSON

func (t *GenaiGenerate200JSONResponseBody_Code) UnmarshalJSON(b []byte) error

type GenaiGenerate401JSONResponseBodyCode0

type GenaiGenerate401JSONResponseBodyCode0 = int

GenaiGenerate401JSONResponseBodyCode0 defines parameters for GenaiGenerate.

type GenaiGenerate401JSONResponseBodyCode1

type GenaiGenerate401JSONResponseBodyCode1 = string

GenaiGenerate401JSONResponseBodyCode1 defines parameters for GenaiGenerate.

type GenaiGenerate401JSONResponseBody_Code

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

GenaiGenerate401JSONResponseBody_Code defines parameters for GenaiGenerate.

func (GenaiGenerate401JSONResponseBody_Code) AsGenaiGenerate401JSONResponseBodyCode0

func (t GenaiGenerate401JSONResponseBody_Code) AsGenaiGenerate401JSONResponseBodyCode0() (GenaiGenerate401JSONResponseBodyCode0, error)

AsGenaiGenerate401JSONResponseBodyCode0 returns the union data inside the GenaiGenerate401JSONResponseBody_Code as a GenaiGenerate401JSONResponseBodyCode0

func (GenaiGenerate401JSONResponseBody_Code) AsGenaiGenerate401JSONResponseBodyCode1

func (t GenaiGenerate401JSONResponseBody_Code) AsGenaiGenerate401JSONResponseBodyCode1() (GenaiGenerate401JSONResponseBodyCode1, error)

AsGenaiGenerate401JSONResponseBodyCode1 returns the union data inside the GenaiGenerate401JSONResponseBody_Code as a GenaiGenerate401JSONResponseBodyCode1

func (*GenaiGenerate401JSONResponseBody_Code) FromGenaiGenerate401JSONResponseBodyCode0

func (t *GenaiGenerate401JSONResponseBody_Code) FromGenaiGenerate401JSONResponseBodyCode0(v GenaiGenerate401JSONResponseBodyCode0) error

FromGenaiGenerate401JSONResponseBodyCode0 overwrites any union data inside the GenaiGenerate401JSONResponseBody_Code as the provided GenaiGenerate401JSONResponseBodyCode0

func (*GenaiGenerate401JSONResponseBody_Code) FromGenaiGenerate401JSONResponseBodyCode1

func (t *GenaiGenerate401JSONResponseBody_Code) FromGenaiGenerate401JSONResponseBodyCode1(v GenaiGenerate401JSONResponseBodyCode1) error

FromGenaiGenerate401JSONResponseBodyCode1 overwrites any union data inside the GenaiGenerate401JSONResponseBody_Code as the provided GenaiGenerate401JSONResponseBodyCode1

func (GenaiGenerate401JSONResponseBody_Code) MarshalJSON

func (t GenaiGenerate401JSONResponseBody_Code) MarshalJSON() ([]byte, error)

func (*GenaiGenerate401JSONResponseBody_Code) MergeGenaiGenerate401JSONResponseBodyCode0

func (t *GenaiGenerate401JSONResponseBody_Code) MergeGenaiGenerate401JSONResponseBodyCode0(v GenaiGenerate401JSONResponseBodyCode0) error

MergeGenaiGenerate401JSONResponseBodyCode0 performs a merge with any union data inside the GenaiGenerate401JSONResponseBody_Code, using the provided GenaiGenerate401JSONResponseBodyCode0

func (*GenaiGenerate401JSONResponseBody_Code) MergeGenaiGenerate401JSONResponseBodyCode1

func (t *GenaiGenerate401JSONResponseBody_Code) MergeGenaiGenerate401JSONResponseBodyCode1(v GenaiGenerate401JSONResponseBodyCode1) error

MergeGenaiGenerate401JSONResponseBodyCode1 performs a merge with any union data inside the GenaiGenerate401JSONResponseBody_Code, using the provided GenaiGenerate401JSONResponseBodyCode1

func (*GenaiGenerate401JSONResponseBody_Code) UnmarshalJSON

func (t *GenaiGenerate401JSONResponseBody_Code) UnmarshalJSON(b []byte) error

type GenaiGenerateJSONBody

type GenaiGenerateJSONBody struct {
	// Contents 对话内容数组,每项含 role 和 parts
	Contents []struct {
		Parts *[]GenaiGenerateJSONBody_Contents_Parts_Item `json:"parts,omitempty"`

		// Role 角色,如 'user'
		Role *string `json:"role,omitempty"`
	} `json:"contents"`

	// GenerationConfig 生成配置(透传至上游,无固定结构)
	GenerationConfig *map[string]interface{} `json:"generationConfig,omitempty"`

	// Model 模型名称,如 google/gemini-3.1-flash-image-preview
	Model string `json:"model"`

	// SafetySettings 安全设置(透传至上游)
	SafetySettings *[]map[string]interface{} `json:"safetySettings,omitempty"`

	// Tools 工具配置(透传至上游)
	Tools *[]map[string]interface{} `json:"tools,omitempty"`
}

GenaiGenerateJSONBody defines parameters for GenaiGenerate.

type GenaiGenerateJSONBody_Contents_Parts_Item

type GenaiGenerateJSONBody_Contents_Parts_Item struct {
	// FileData 文件内容
	FileData *struct {
		FileUri  *string `json:"fileUri,omitempty"`
		MimeType *string `json:"mimeType,omitempty"`
	} `json:"fileData,omitempty"`

	// Text 文本内容
	Text                 *string                `json:"text,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

GenaiGenerateJSONBody_Contents_Parts_Item defines parameters for GenaiGenerate.

func (GenaiGenerateJSONBody_Contents_Parts_Item) Get

func (a GenaiGenerateJSONBody_Contents_Parts_Item) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for GenaiGenerateJSONBody_Contents_Parts_Item. Returns the specified element and whether it was found

func (GenaiGenerateJSONBody_Contents_Parts_Item) MarshalJSON

Override default JSON handling for GenaiGenerateJSONBody_Contents_Parts_Item to handle AdditionalProperties

func (*GenaiGenerateJSONBody_Contents_Parts_Item) Set

func (a *GenaiGenerateJSONBody_Contents_Parts_Item) Set(fieldName string, value interface{})

Setter for additional properties for GenaiGenerateJSONBody_Contents_Parts_Item

func (*GenaiGenerateJSONBody_Contents_Parts_Item) UnmarshalJSON

Override default JSON handling for GenaiGenerateJSONBody_Contents_Parts_Item to handle AdditionalProperties

type GenaiGenerateJSONRequestBody

type GenaiGenerateJSONRequestBody GenaiGenerateJSONBody

GenaiGenerateJSONRequestBody defines body for GenaiGenerate for application/json ContentType.

type GenaiGenerateParams

type GenaiGenerateParams struct {
	// XOpenapiAccessToken GenAI 接口专用访问令牌。genai 鉴权方案不使用 access-token / x-echo-qdmp-version 这两个 standard 方案的头。
	XOpenapiAccessToken GenaiAccessTokenHeader `json:"x-openapi-access-token"`

	// XOpenapiAppId GenAI 接口专用应用 ID。
	XOpenapiAppId GenaiAppIdHeader `json:"x-openapi-app-id"`
}

GenaiGenerateParams defines parameters for GenaiGenerate.

type IslandDetail200JSONResponseBodyCode0

type IslandDetail200JSONResponseBodyCode0 = int

IslandDetail200JSONResponseBodyCode0 defines parameters for IslandDetail.

type IslandDetail200JSONResponseBodyCode1

type IslandDetail200JSONResponseBodyCode1 = string

IslandDetail200JSONResponseBodyCode1 defines parameters for IslandDetail.

type IslandDetail200JSONResponseBody_Code

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

IslandDetail200JSONResponseBody_Code defines parameters for IslandDetail.

func (IslandDetail200JSONResponseBody_Code) AsIslandDetail200JSONResponseBodyCode0

func (t IslandDetail200JSONResponseBody_Code) AsIslandDetail200JSONResponseBodyCode0() (IslandDetail200JSONResponseBodyCode0, error)

AsIslandDetail200JSONResponseBodyCode0 returns the union data inside the IslandDetail200JSONResponseBody_Code as a IslandDetail200JSONResponseBodyCode0

func (IslandDetail200JSONResponseBody_Code) AsIslandDetail200JSONResponseBodyCode1

func (t IslandDetail200JSONResponseBody_Code) AsIslandDetail200JSONResponseBodyCode1() (IslandDetail200JSONResponseBodyCode1, error)

AsIslandDetail200JSONResponseBodyCode1 returns the union data inside the IslandDetail200JSONResponseBody_Code as a IslandDetail200JSONResponseBodyCode1

func (*IslandDetail200JSONResponseBody_Code) FromIslandDetail200JSONResponseBodyCode0

func (t *IslandDetail200JSONResponseBody_Code) FromIslandDetail200JSONResponseBodyCode0(v IslandDetail200JSONResponseBodyCode0) error

FromIslandDetail200JSONResponseBodyCode0 overwrites any union data inside the IslandDetail200JSONResponseBody_Code as the provided IslandDetail200JSONResponseBodyCode0

func (*IslandDetail200JSONResponseBody_Code) FromIslandDetail200JSONResponseBodyCode1

func (t *IslandDetail200JSONResponseBody_Code) FromIslandDetail200JSONResponseBodyCode1(v IslandDetail200JSONResponseBodyCode1) error

FromIslandDetail200JSONResponseBodyCode1 overwrites any union data inside the IslandDetail200JSONResponseBody_Code as the provided IslandDetail200JSONResponseBodyCode1

func (IslandDetail200JSONResponseBody_Code) MarshalJSON

func (t IslandDetail200JSONResponseBody_Code) MarshalJSON() ([]byte, error)

func (*IslandDetail200JSONResponseBody_Code) MergeIslandDetail200JSONResponseBodyCode0

func (t *IslandDetail200JSONResponseBody_Code) MergeIslandDetail200JSONResponseBodyCode0(v IslandDetail200JSONResponseBodyCode0) error

MergeIslandDetail200JSONResponseBodyCode0 performs a merge with any union data inside the IslandDetail200JSONResponseBody_Code, using the provided IslandDetail200JSONResponseBodyCode0

func (*IslandDetail200JSONResponseBody_Code) MergeIslandDetail200JSONResponseBodyCode1

func (t *IslandDetail200JSONResponseBody_Code) MergeIslandDetail200JSONResponseBodyCode1(v IslandDetail200JSONResponseBodyCode1) error

MergeIslandDetail200JSONResponseBodyCode1 performs a merge with any union data inside the IslandDetail200JSONResponseBody_Code, using the provided IslandDetail200JSONResponseBodyCode1

func (*IslandDetail200JSONResponseBody_Code) UnmarshalJSON

func (t *IslandDetail200JSONResponseBody_Code) UnmarshalJSON(b []byte) error

type IslandDetail401JSONResponseBodyCode0

type IslandDetail401JSONResponseBodyCode0 = int

IslandDetail401JSONResponseBodyCode0 defines parameters for IslandDetail.

type IslandDetail401JSONResponseBodyCode1

type IslandDetail401JSONResponseBodyCode1 = string

IslandDetail401JSONResponseBodyCode1 defines parameters for IslandDetail.

type IslandDetail401JSONResponseBody_Code

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

IslandDetail401JSONResponseBody_Code defines parameters for IslandDetail.

func (IslandDetail401JSONResponseBody_Code) AsIslandDetail401JSONResponseBodyCode0

func (t IslandDetail401JSONResponseBody_Code) AsIslandDetail401JSONResponseBodyCode0() (IslandDetail401JSONResponseBodyCode0, error)

AsIslandDetail401JSONResponseBodyCode0 returns the union data inside the IslandDetail401JSONResponseBody_Code as a IslandDetail401JSONResponseBodyCode0

func (IslandDetail401JSONResponseBody_Code) AsIslandDetail401JSONResponseBodyCode1

func (t IslandDetail401JSONResponseBody_Code) AsIslandDetail401JSONResponseBodyCode1() (IslandDetail401JSONResponseBodyCode1, error)

AsIslandDetail401JSONResponseBodyCode1 returns the union data inside the IslandDetail401JSONResponseBody_Code as a IslandDetail401JSONResponseBodyCode1

func (*IslandDetail401JSONResponseBody_Code) FromIslandDetail401JSONResponseBodyCode0

func (t *IslandDetail401JSONResponseBody_Code) FromIslandDetail401JSONResponseBodyCode0(v IslandDetail401JSONResponseBodyCode0) error

FromIslandDetail401JSONResponseBodyCode0 overwrites any union data inside the IslandDetail401JSONResponseBody_Code as the provided IslandDetail401JSONResponseBodyCode0

func (*IslandDetail401JSONResponseBody_Code) FromIslandDetail401JSONResponseBodyCode1

func (t *IslandDetail401JSONResponseBody_Code) FromIslandDetail401JSONResponseBodyCode1(v IslandDetail401JSONResponseBodyCode1) error

FromIslandDetail401JSONResponseBodyCode1 overwrites any union data inside the IslandDetail401JSONResponseBody_Code as the provided IslandDetail401JSONResponseBodyCode1

func (IslandDetail401JSONResponseBody_Code) MarshalJSON

func (t IslandDetail401JSONResponseBody_Code) MarshalJSON() ([]byte, error)

func (*IslandDetail401JSONResponseBody_Code) MergeIslandDetail401JSONResponseBodyCode0

func (t *IslandDetail401JSONResponseBody_Code) MergeIslandDetail401JSONResponseBodyCode0(v IslandDetail401JSONResponseBodyCode0) error

MergeIslandDetail401JSONResponseBodyCode0 performs a merge with any union data inside the IslandDetail401JSONResponseBody_Code, using the provided IslandDetail401JSONResponseBodyCode0

func (*IslandDetail401JSONResponseBody_Code) MergeIslandDetail401JSONResponseBodyCode1

func (t *IslandDetail401JSONResponseBody_Code) MergeIslandDetail401JSONResponseBodyCode1(v IslandDetail401JSONResponseBodyCode1) error

MergeIslandDetail401JSONResponseBodyCode1 performs a merge with any union data inside the IslandDetail401JSONResponseBody_Code, using the provided IslandDetail401JSONResponseBodyCode1

func (*IslandDetail401JSONResponseBody_Code) UnmarshalJSON

func (t *IslandDetail401JSONResponseBody_Code) UnmarshalJSON(b []byte) error

type IslandDetailParams

type IslandDetailParams struct {
	// Id Island ID(源类型 int64,线格式为字符串)
	Id string `form:"id" json:"id"`

	// AccessToken 用户授权凭证或应用凭证的访问令牌,通过 /auth/v1/token 获取。standard 鉴权方案下必须携带;SDK 层面只要求“传了某个凭证”,不区分是 CLIENT_CREDENTIALS 换的应用凭证还是 AUTHORIZATION_CODE 换的用户授权凭证——见该 operation 上的 x-qdmp-token-required。
	AccessToken AccessTokenHeader `json:"access-token"`

	// XEchoQdmpVersion qdmp 协议版本标识,可由 SDK 配置项覆盖,默认值 "1.0"。仅 standard 鉴权方案需要。
	XEchoQdmpVersion QdmpVersionHeader `json:"x-echo-qdmp-version"`
}

IslandDetailParams defines parameters for IslandDetail.

type Limit20Query added in v0.4.0

type Limit20Query = string

Limit20Query defines model for Limit20Query.

type Limit100Query added in v0.4.0

type Limit100Query = string

Limit100Query defines model for Limit100Query.

type MarkAdd200JSONResponseBodyCode0

type MarkAdd200JSONResponseBodyCode0 = int

MarkAdd200JSONResponseBodyCode0 defines parameters for MarkAdd.

type MarkAdd200JSONResponseBodyCode1

type MarkAdd200JSONResponseBodyCode1 = string

MarkAdd200JSONResponseBodyCode1 defines parameters for MarkAdd.

type MarkAdd200JSONResponseBody_Code

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

MarkAdd200JSONResponseBody_Code defines parameters for MarkAdd.

func (MarkAdd200JSONResponseBody_Code) AsMarkAdd200JSONResponseBodyCode0

func (t MarkAdd200JSONResponseBody_Code) AsMarkAdd200JSONResponseBodyCode0() (MarkAdd200JSONResponseBodyCode0, error)

AsMarkAdd200JSONResponseBodyCode0 returns the union data inside the MarkAdd200JSONResponseBody_Code as a MarkAdd200JSONResponseBodyCode0

func (MarkAdd200JSONResponseBody_Code) AsMarkAdd200JSONResponseBodyCode1

func (t MarkAdd200JSONResponseBody_Code) AsMarkAdd200JSONResponseBodyCode1() (MarkAdd200JSONResponseBodyCode1, error)

AsMarkAdd200JSONResponseBodyCode1 returns the union data inside the MarkAdd200JSONResponseBody_Code as a MarkAdd200JSONResponseBodyCode1

func (*MarkAdd200JSONResponseBody_Code) FromMarkAdd200JSONResponseBodyCode0

func (t *MarkAdd200JSONResponseBody_Code) FromMarkAdd200JSONResponseBodyCode0(v MarkAdd200JSONResponseBodyCode0) error

FromMarkAdd200JSONResponseBodyCode0 overwrites any union data inside the MarkAdd200JSONResponseBody_Code as the provided MarkAdd200JSONResponseBodyCode0

func (*MarkAdd200JSONResponseBody_Code) FromMarkAdd200JSONResponseBodyCode1

func (t *MarkAdd200JSONResponseBody_Code) FromMarkAdd200JSONResponseBodyCode1(v MarkAdd200JSONResponseBodyCode1) error

FromMarkAdd200JSONResponseBodyCode1 overwrites any union data inside the MarkAdd200JSONResponseBody_Code as the provided MarkAdd200JSONResponseBodyCode1

func (MarkAdd200JSONResponseBody_Code) MarshalJSON

func (t MarkAdd200JSONResponseBody_Code) MarshalJSON() ([]byte, error)

func (*MarkAdd200JSONResponseBody_Code) MergeMarkAdd200JSONResponseBodyCode0

func (t *MarkAdd200JSONResponseBody_Code) MergeMarkAdd200JSONResponseBodyCode0(v MarkAdd200JSONResponseBodyCode0) error

MergeMarkAdd200JSONResponseBodyCode0 performs a merge with any union data inside the MarkAdd200JSONResponseBody_Code, using the provided MarkAdd200JSONResponseBodyCode0

func (*MarkAdd200JSONResponseBody_Code) MergeMarkAdd200JSONResponseBodyCode1

func (t *MarkAdd200JSONResponseBody_Code) MergeMarkAdd200JSONResponseBodyCode1(v MarkAdd200JSONResponseBodyCode1) error

MergeMarkAdd200JSONResponseBodyCode1 performs a merge with any union data inside the MarkAdd200JSONResponseBody_Code, using the provided MarkAdd200JSONResponseBodyCode1

func (*MarkAdd200JSONResponseBody_Code) UnmarshalJSON

func (t *MarkAdd200JSONResponseBody_Code) UnmarshalJSON(b []byte) error

type MarkAdd401JSONResponseBodyCode0

type MarkAdd401JSONResponseBodyCode0 = int

MarkAdd401JSONResponseBodyCode0 defines parameters for MarkAdd.

type MarkAdd401JSONResponseBodyCode1

type MarkAdd401JSONResponseBodyCode1 = string

MarkAdd401JSONResponseBodyCode1 defines parameters for MarkAdd.

type MarkAdd401JSONResponseBody_Code

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

MarkAdd401JSONResponseBody_Code defines parameters for MarkAdd.

func (MarkAdd401JSONResponseBody_Code) AsMarkAdd401JSONResponseBodyCode0

func (t MarkAdd401JSONResponseBody_Code) AsMarkAdd401JSONResponseBodyCode0() (MarkAdd401JSONResponseBodyCode0, error)

AsMarkAdd401JSONResponseBodyCode0 returns the union data inside the MarkAdd401JSONResponseBody_Code as a MarkAdd401JSONResponseBodyCode0

func (MarkAdd401JSONResponseBody_Code) AsMarkAdd401JSONResponseBodyCode1

func (t MarkAdd401JSONResponseBody_Code) AsMarkAdd401JSONResponseBodyCode1() (MarkAdd401JSONResponseBodyCode1, error)

AsMarkAdd401JSONResponseBodyCode1 returns the union data inside the MarkAdd401JSONResponseBody_Code as a MarkAdd401JSONResponseBodyCode1

func (*MarkAdd401JSONResponseBody_Code) FromMarkAdd401JSONResponseBodyCode0

func (t *MarkAdd401JSONResponseBody_Code) FromMarkAdd401JSONResponseBodyCode0(v MarkAdd401JSONResponseBodyCode0) error

FromMarkAdd401JSONResponseBodyCode0 overwrites any union data inside the MarkAdd401JSONResponseBody_Code as the provided MarkAdd401JSONResponseBodyCode0

func (*MarkAdd401JSONResponseBody_Code) FromMarkAdd401JSONResponseBodyCode1

func (t *MarkAdd401JSONResponseBody_Code) FromMarkAdd401JSONResponseBodyCode1(v MarkAdd401JSONResponseBodyCode1) error

FromMarkAdd401JSONResponseBodyCode1 overwrites any union data inside the MarkAdd401JSONResponseBody_Code as the provided MarkAdd401JSONResponseBodyCode1

func (MarkAdd401JSONResponseBody_Code) MarshalJSON

func (t MarkAdd401JSONResponseBody_Code) MarshalJSON() ([]byte, error)

func (*MarkAdd401JSONResponseBody_Code) MergeMarkAdd401JSONResponseBodyCode0

func (t *MarkAdd401JSONResponseBody_Code) MergeMarkAdd401JSONResponseBodyCode0(v MarkAdd401JSONResponseBodyCode0) error

MergeMarkAdd401JSONResponseBodyCode0 performs a merge with any union data inside the MarkAdd401JSONResponseBody_Code, using the provided MarkAdd401JSONResponseBodyCode0

func (*MarkAdd401JSONResponseBody_Code) MergeMarkAdd401JSONResponseBodyCode1

func (t *MarkAdd401JSONResponseBody_Code) MergeMarkAdd401JSONResponseBodyCode1(v MarkAdd401JSONResponseBodyCode1) error

MergeMarkAdd401JSONResponseBodyCode1 performs a merge with any union data inside the MarkAdd401JSONResponseBody_Code, using the provided MarkAdd401JSONResponseBodyCode1

func (*MarkAdd401JSONResponseBody_Code) UnmarshalJSON

func (t *MarkAdd401JSONResponseBody_Code) UnmarshalJSON(b []byte) error

type MarkAddJSONBody

type MarkAddJSONBody struct {
	// Rating 评分对象 { value: 1-5 }(可选)
	Rating *struct {
		// Value 评分值 1-5
		Value *int `json:"value,omitempty"`
	} `json:"rating,omitempty"`

	// SpuId SPU ID(源类型 int64,线格式为字符串)
	SpuId string `json:"spuId"`
}

MarkAddJSONBody defines parameters for MarkAdd.

type MarkAddJSONRequestBody

type MarkAddJSONRequestBody MarkAddJSONBody

MarkAddJSONRequestBody defines body for MarkAdd for application/json ContentType.

type MarkAddParams

type MarkAddParams struct {
	// AccessToken 用户授权凭证或应用凭证的访问令牌,通过 /auth/v1/token 获取。standard 鉴权方案下必须携带;SDK 层面只要求“传了某个凭证”,不区分是 CLIENT_CREDENTIALS 换的应用凭证还是 AUTHORIZATION_CODE 换的用户授权凭证——见该 operation 上的 x-qdmp-token-required。
	AccessToken AccessTokenHeader `json:"access-token"`

	// XEchoQdmpVersion qdmp 协议版本标识,可由 SDK 配置项覆盖,默认值 "1.0"。仅 standard 鉴权方案需要。
	XEchoQdmpVersion QdmpVersionHeader `json:"x-echo-qdmp-version"`
}

MarkAddParams defines parameters for MarkAdd.

type MarkBatchAddJSONRequestBody added in v0.4.0

type MarkBatchAddJSONRequestBody = MarkBatchAddRequest

MarkBatchAddJSONRequestBody defines body for MarkBatchAdd for application/json ContentType.

type MarkBatchAddParams added in v0.4.0

type MarkBatchAddParams struct {
	// AccessToken 用户授权凭证或应用凭证的访问令牌,通过 /auth/v1/token 获取。standard 鉴权方案下必须携带;SDK 层面只要求“传了某个凭证”,不区分是 CLIENT_CREDENTIALS 换的应用凭证还是 AUTHORIZATION_CODE 换的用户授权凭证——见该 operation 上的 x-qdmp-token-required。
	AccessToken AccessTokenHeader `json:"access-token"`

	// XEchoQdmpVersion qdmp 协议版本标识,可由 SDK 配置项覆盖,默认值 "1.0"。仅 standard 鉴权方案需要。
	XEchoQdmpVersion QdmpVersionHeader `json:"x-echo-qdmp-version"`
}

MarkBatchAddParams defines parameters for MarkBatchAdd.

type MarkBatchAddRequest added in v0.4.0

type MarkBatchAddRequest struct {
	// SpuIds SPU ID 列表;源接口为 int64[],在线格式为 string[]。
	SpuIds []string `json:"spuIds"`
}

MarkBatchAddRequest 批量添加标记。

type MarkBatchAddResponse added in v0.4.0

type MarkBatchAddResponse struct {
	// Code 业务状态码,0/"0" 通常表示成功,非零/非"0"表示业务错误。取值不是封闭枚举,已知码见顶层 x-error-codes。
	Code MarkBatchAddResponse_Code `json:"code"`
	Data *struct {
		Result *map[string]string `json:"result,omitempty"`
	} `json:"data,omitempty"`

	// Message 人类可读的提示信息
	Message string `json:"message"`

	// RequestId 请求追踪 ID
	RequestId *string `json:"requestId,omitempty"`
}

MarkBatchAddResponse defines model for MarkBatchAddResponse.

type MarkBatchAddResponseCode0 added in v0.4.0

type MarkBatchAddResponseCode0 = int

MarkBatchAddResponseCode0 defines model for MarkBatchAddResponse.Code.0.

type MarkBatchAddResponseCode1 added in v0.4.0

type MarkBatchAddResponseCode1 = string

MarkBatchAddResponseCode1 defines model for MarkBatchAddResponse.Code.1.

type MarkBatchAddResponse_Code added in v0.4.0

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

MarkBatchAddResponse_Code 业务状态码,0/"0" 通常表示成功,非零/非"0"表示业务错误。取值不是封闭枚举,已知码见顶层 x-error-codes。

func (MarkBatchAddResponse_Code) AsMarkBatchAddResponseCode0 added in v0.4.0

func (t MarkBatchAddResponse_Code) AsMarkBatchAddResponseCode0() (MarkBatchAddResponseCode0, error)

AsMarkBatchAddResponseCode0 returns the union data inside the MarkBatchAddResponse_Code as a MarkBatchAddResponseCode0

func (MarkBatchAddResponse_Code) AsMarkBatchAddResponseCode1 added in v0.4.0

func (t MarkBatchAddResponse_Code) AsMarkBatchAddResponseCode1() (MarkBatchAddResponseCode1, error)

AsMarkBatchAddResponseCode1 returns the union data inside the MarkBatchAddResponse_Code as a MarkBatchAddResponseCode1

func (*MarkBatchAddResponse_Code) FromMarkBatchAddResponseCode0 added in v0.4.0

func (t *MarkBatchAddResponse_Code) FromMarkBatchAddResponseCode0(v MarkBatchAddResponseCode0) error

FromMarkBatchAddResponseCode0 overwrites any union data inside the MarkBatchAddResponse_Code as the provided MarkBatchAddResponseCode0

func (*MarkBatchAddResponse_Code) FromMarkBatchAddResponseCode1 added in v0.4.0

func (t *MarkBatchAddResponse_Code) FromMarkBatchAddResponseCode1(v MarkBatchAddResponseCode1) error

FromMarkBatchAddResponseCode1 overwrites any union data inside the MarkBatchAddResponse_Code as the provided MarkBatchAddResponseCode1

func (MarkBatchAddResponse_Code) MarshalJSON added in v0.4.0

func (t MarkBatchAddResponse_Code) MarshalJSON() ([]byte, error)

func (*MarkBatchAddResponse_Code) MergeMarkBatchAddResponseCode0 added in v0.4.0

func (t *MarkBatchAddResponse_Code) MergeMarkBatchAddResponseCode0(v MarkBatchAddResponseCode0) error

MergeMarkBatchAddResponseCode0 performs a merge with any union data inside the MarkBatchAddResponse_Code, using the provided MarkBatchAddResponseCode0

func (*MarkBatchAddResponse_Code) MergeMarkBatchAddResponseCode1 added in v0.4.0

func (t *MarkBatchAddResponse_Code) MergeMarkBatchAddResponseCode1(v MarkBatchAddResponseCode1) error

MergeMarkBatchAddResponseCode1 performs a merge with any union data inside the MarkBatchAddResponse_Code, using the provided MarkBatchAddResponseCode1

func (*MarkBatchAddResponse_Code) UnmarshalJSON added in v0.4.0

func (t *MarkBatchAddResponse_Code) UnmarshalJSON(b []byte) error

type MarkDetail200JSONResponseBodyCode0

type MarkDetail200JSONResponseBodyCode0 = int

MarkDetail200JSONResponseBodyCode0 defines parameters for MarkDetail.

type MarkDetail200JSONResponseBodyCode1

type MarkDetail200JSONResponseBodyCode1 = string

MarkDetail200JSONResponseBodyCode1 defines parameters for MarkDetail.

type MarkDetail200JSONResponseBody_Code

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

MarkDetail200JSONResponseBody_Code defines parameters for MarkDetail.

func (MarkDetail200JSONResponseBody_Code) AsMarkDetail200JSONResponseBodyCode0

func (t MarkDetail200JSONResponseBody_Code) AsMarkDetail200JSONResponseBodyCode0() (MarkDetail200JSONResponseBodyCode0, error)

AsMarkDetail200JSONResponseBodyCode0 returns the union data inside the MarkDetail200JSONResponseBody_Code as a MarkDetail200JSONResponseBodyCode0

func (MarkDetail200JSONResponseBody_Code) AsMarkDetail200JSONResponseBodyCode1

func (t MarkDetail200JSONResponseBody_Code) AsMarkDetail200JSONResponseBodyCode1() (MarkDetail200JSONResponseBodyCode1, error)

AsMarkDetail200JSONResponseBodyCode1 returns the union data inside the MarkDetail200JSONResponseBody_Code as a MarkDetail200JSONResponseBodyCode1

func (*MarkDetail200JSONResponseBody_Code) FromMarkDetail200JSONResponseBodyCode0

func (t *MarkDetail200JSONResponseBody_Code) FromMarkDetail200JSONResponseBodyCode0(v MarkDetail200JSONResponseBodyCode0) error

FromMarkDetail200JSONResponseBodyCode0 overwrites any union data inside the MarkDetail200JSONResponseBody_Code as the provided MarkDetail200JSONResponseBodyCode0

func (*MarkDetail200JSONResponseBody_Code) FromMarkDetail200JSONResponseBodyCode1

func (t *MarkDetail200JSONResponseBody_Code) FromMarkDetail200JSONResponseBodyCode1(v MarkDetail200JSONResponseBodyCode1) error

FromMarkDetail200JSONResponseBodyCode1 overwrites any union data inside the MarkDetail200JSONResponseBody_Code as the provided MarkDetail200JSONResponseBodyCode1

func (MarkDetail200JSONResponseBody_Code) MarshalJSON

func (t MarkDetail200JSONResponseBody_Code) MarshalJSON() ([]byte, error)

func (*MarkDetail200JSONResponseBody_Code) MergeMarkDetail200JSONResponseBodyCode0

func (t *MarkDetail200JSONResponseBody_Code) MergeMarkDetail200JSONResponseBodyCode0(v MarkDetail200JSONResponseBodyCode0) error

MergeMarkDetail200JSONResponseBodyCode0 performs a merge with any union data inside the MarkDetail200JSONResponseBody_Code, using the provided MarkDetail200JSONResponseBodyCode0

func (*MarkDetail200JSONResponseBody_Code) MergeMarkDetail200JSONResponseBodyCode1

func (t *MarkDetail200JSONResponseBody_Code) MergeMarkDetail200JSONResponseBodyCode1(v MarkDetail200JSONResponseBodyCode1) error

MergeMarkDetail200JSONResponseBodyCode1 performs a merge with any union data inside the MarkDetail200JSONResponseBody_Code, using the provided MarkDetail200JSONResponseBodyCode1

func (*MarkDetail200JSONResponseBody_Code) UnmarshalJSON

func (t *MarkDetail200JSONResponseBody_Code) UnmarshalJSON(b []byte) error

type MarkDetail401JSONResponseBodyCode0

type MarkDetail401JSONResponseBodyCode0 = int

MarkDetail401JSONResponseBodyCode0 defines parameters for MarkDetail.

type MarkDetail401JSONResponseBodyCode1

type MarkDetail401JSONResponseBodyCode1 = string

MarkDetail401JSONResponseBodyCode1 defines parameters for MarkDetail.

type MarkDetail401JSONResponseBody_Code

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

MarkDetail401JSONResponseBody_Code defines parameters for MarkDetail.

func (MarkDetail401JSONResponseBody_Code) AsMarkDetail401JSONResponseBodyCode0

func (t MarkDetail401JSONResponseBody_Code) AsMarkDetail401JSONResponseBodyCode0() (MarkDetail401JSONResponseBodyCode0, error)

AsMarkDetail401JSONResponseBodyCode0 returns the union data inside the MarkDetail401JSONResponseBody_Code as a MarkDetail401JSONResponseBodyCode0

func (MarkDetail401JSONResponseBody_Code) AsMarkDetail401JSONResponseBodyCode1

func (t MarkDetail401JSONResponseBody_Code) AsMarkDetail401JSONResponseBodyCode1() (MarkDetail401JSONResponseBodyCode1, error)

AsMarkDetail401JSONResponseBodyCode1 returns the union data inside the MarkDetail401JSONResponseBody_Code as a MarkDetail401JSONResponseBodyCode1

func (*MarkDetail401JSONResponseBody_Code) FromMarkDetail401JSONResponseBodyCode0

func (t *MarkDetail401JSONResponseBody_Code) FromMarkDetail401JSONResponseBodyCode0(v MarkDetail401JSONResponseBodyCode0) error

FromMarkDetail401JSONResponseBodyCode0 overwrites any union data inside the MarkDetail401JSONResponseBody_Code as the provided MarkDetail401JSONResponseBodyCode0

func (*MarkDetail401JSONResponseBody_Code) FromMarkDetail401JSONResponseBodyCode1

func (t *MarkDetail401JSONResponseBody_Code) FromMarkDetail401JSONResponseBodyCode1(v MarkDetail401JSONResponseBodyCode1) error

FromMarkDetail401JSONResponseBodyCode1 overwrites any union data inside the MarkDetail401JSONResponseBody_Code as the provided MarkDetail401JSONResponseBodyCode1

func (MarkDetail401JSONResponseBody_Code) MarshalJSON

func (t MarkDetail401JSONResponseBody_Code) MarshalJSON() ([]byte, error)

func (*MarkDetail401JSONResponseBody_Code) MergeMarkDetail401JSONResponseBodyCode0

func (t *MarkDetail401JSONResponseBody_Code) MergeMarkDetail401JSONResponseBodyCode0(v MarkDetail401JSONResponseBodyCode0) error

MergeMarkDetail401JSONResponseBodyCode0 performs a merge with any union data inside the MarkDetail401JSONResponseBody_Code, using the provided MarkDetail401JSONResponseBodyCode0

func (*MarkDetail401JSONResponseBody_Code) MergeMarkDetail401JSONResponseBodyCode1

func (t *MarkDetail401JSONResponseBody_Code) MergeMarkDetail401JSONResponseBodyCode1(v MarkDetail401JSONResponseBodyCode1) error

MergeMarkDetail401JSONResponseBodyCode1 performs a merge with any union data inside the MarkDetail401JSONResponseBody_Code, using the provided MarkDetail401JSONResponseBodyCode1

func (*MarkDetail401JSONResponseBody_Code) UnmarshalJSON

func (t *MarkDetail401JSONResponseBody_Code) UnmarshalJSON(b []byte) error

type MarkDetailParams

type MarkDetailParams struct {
	// Id mark spu info ID(int64 线格式为字符串)
	Id string `form:"id" json:"id"`

	// Limit 历史记录每页数量(最多 100,int64 线格式为字符串)
	Limit string `form:"limit" json:"limit"`

	// Offset 历史记录分页偏移量(最多 100,int64 线格式为字符串)
	Offset string `form:"offset" json:"offset"`

	// AccessToken 用户授权凭证或应用凭证的访问令牌,通过 /auth/v1/token 获取。standard 鉴权方案下必须携带;SDK 层面只要求“传了某个凭证”,不区分是 CLIENT_CREDENTIALS 换的应用凭证还是 AUTHORIZATION_CODE 换的用户授权凭证——见该 operation 上的 x-qdmp-token-required。
	AccessToken AccessTokenHeader `json:"access-token"`

	// XEchoQdmpVersion qdmp 协议版本标识,可由 SDK 配置项覆盖,默认值 "1.0"。仅 standard 鉴权方案需要。
	XEchoQdmpVersion QdmpVersionHeader `json:"x-echo-qdmp-version"`
}

MarkDetailParams defines parameters for MarkDetail.

type MarkList200JSONResponseBodyCode0

type MarkList200JSONResponseBodyCode0 = int

MarkList200JSONResponseBodyCode0 defines parameters for MarkList.

type MarkList200JSONResponseBodyCode1

type MarkList200JSONResponseBodyCode1 = string

MarkList200JSONResponseBodyCode1 defines parameters for MarkList.

type MarkList200JSONResponseBody_Code

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

MarkList200JSONResponseBody_Code defines parameters for MarkList.

func (MarkList200JSONResponseBody_Code) AsMarkList200JSONResponseBodyCode0

func (t MarkList200JSONResponseBody_Code) AsMarkList200JSONResponseBodyCode0() (MarkList200JSONResponseBodyCode0, error)

AsMarkList200JSONResponseBodyCode0 returns the union data inside the MarkList200JSONResponseBody_Code as a MarkList200JSONResponseBodyCode0

func (MarkList200JSONResponseBody_Code) AsMarkList200JSONResponseBodyCode1

func (t MarkList200JSONResponseBody_Code) AsMarkList200JSONResponseBodyCode1() (MarkList200JSONResponseBodyCode1, error)

AsMarkList200JSONResponseBodyCode1 returns the union data inside the MarkList200JSONResponseBody_Code as a MarkList200JSONResponseBodyCode1

func (*MarkList200JSONResponseBody_Code) FromMarkList200JSONResponseBodyCode0

func (t *MarkList200JSONResponseBody_Code) FromMarkList200JSONResponseBodyCode0(v MarkList200JSONResponseBodyCode0) error

FromMarkList200JSONResponseBodyCode0 overwrites any union data inside the MarkList200JSONResponseBody_Code as the provided MarkList200JSONResponseBodyCode0

func (*MarkList200JSONResponseBody_Code) FromMarkList200JSONResponseBodyCode1

func (t *MarkList200JSONResponseBody_Code) FromMarkList200JSONResponseBodyCode1(v MarkList200JSONResponseBodyCode1) error

FromMarkList200JSONResponseBodyCode1 overwrites any union data inside the MarkList200JSONResponseBody_Code as the provided MarkList200JSONResponseBodyCode1

func (MarkList200JSONResponseBody_Code) MarshalJSON

func (t MarkList200JSONResponseBody_Code) MarshalJSON() ([]byte, error)

func (*MarkList200JSONResponseBody_Code) MergeMarkList200JSONResponseBodyCode0

func (t *MarkList200JSONResponseBody_Code) MergeMarkList200JSONResponseBodyCode0(v MarkList200JSONResponseBodyCode0) error

MergeMarkList200JSONResponseBodyCode0 performs a merge with any union data inside the MarkList200JSONResponseBody_Code, using the provided MarkList200JSONResponseBodyCode0

func (*MarkList200JSONResponseBody_Code) MergeMarkList200JSONResponseBodyCode1

func (t *MarkList200JSONResponseBody_Code) MergeMarkList200JSONResponseBodyCode1(v MarkList200JSONResponseBodyCode1) error

MergeMarkList200JSONResponseBodyCode1 performs a merge with any union data inside the MarkList200JSONResponseBody_Code, using the provided MarkList200JSONResponseBodyCode1

func (*MarkList200JSONResponseBody_Code) UnmarshalJSON

func (t *MarkList200JSONResponseBody_Code) UnmarshalJSON(b []byte) error

type MarkList401JSONResponseBodyCode0

type MarkList401JSONResponseBodyCode0 = int

MarkList401JSONResponseBodyCode0 defines parameters for MarkList.

type MarkList401JSONResponseBodyCode1

type MarkList401JSONResponseBodyCode1 = string

MarkList401JSONResponseBodyCode1 defines parameters for MarkList.

type MarkList401JSONResponseBody_Code

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

MarkList401JSONResponseBody_Code defines parameters for MarkList.

func (MarkList401JSONResponseBody_Code) AsMarkList401JSONResponseBodyCode0

func (t MarkList401JSONResponseBody_Code) AsMarkList401JSONResponseBodyCode0() (MarkList401JSONResponseBodyCode0, error)

AsMarkList401JSONResponseBodyCode0 returns the union data inside the MarkList401JSONResponseBody_Code as a MarkList401JSONResponseBodyCode0

func (MarkList401JSONResponseBody_Code) AsMarkList401JSONResponseBodyCode1

func (t MarkList401JSONResponseBody_Code) AsMarkList401JSONResponseBodyCode1() (MarkList401JSONResponseBodyCode1, error)

AsMarkList401JSONResponseBodyCode1 returns the union data inside the MarkList401JSONResponseBody_Code as a MarkList401JSONResponseBodyCode1

func (*MarkList401JSONResponseBody_Code) FromMarkList401JSONResponseBodyCode0

func (t *MarkList401JSONResponseBody_Code) FromMarkList401JSONResponseBodyCode0(v MarkList401JSONResponseBodyCode0) error

FromMarkList401JSONResponseBodyCode0 overwrites any union data inside the MarkList401JSONResponseBody_Code as the provided MarkList401JSONResponseBodyCode0

func (*MarkList401JSONResponseBody_Code) FromMarkList401JSONResponseBodyCode1

func (t *MarkList401JSONResponseBody_Code) FromMarkList401JSONResponseBodyCode1(v MarkList401JSONResponseBodyCode1) error

FromMarkList401JSONResponseBodyCode1 overwrites any union data inside the MarkList401JSONResponseBody_Code as the provided MarkList401JSONResponseBodyCode1

func (MarkList401JSONResponseBody_Code) MarshalJSON

func (t MarkList401JSONResponseBody_Code) MarshalJSON() ([]byte, error)

func (*MarkList401JSONResponseBody_Code) MergeMarkList401JSONResponseBodyCode0

func (t *MarkList401JSONResponseBody_Code) MergeMarkList401JSONResponseBodyCode0(v MarkList401JSONResponseBodyCode0) error

MergeMarkList401JSONResponseBodyCode0 performs a merge with any union data inside the MarkList401JSONResponseBody_Code, using the provided MarkList401JSONResponseBodyCode0

func (*MarkList401JSONResponseBody_Code) MergeMarkList401JSONResponseBodyCode1

func (t *MarkList401JSONResponseBody_Code) MergeMarkList401JSONResponseBodyCode1(v MarkList401JSONResponseBodyCode1) error

MergeMarkList401JSONResponseBodyCode1 performs a merge with any union data inside the MarkList401JSONResponseBody_Code, using the provided MarkList401JSONResponseBodyCode1

func (*MarkList401JSONResponseBody_Code) UnmarshalJSON

func (t *MarkList401JSONResponseBody_Code) UnmarshalJSON(b []byte) error

type MarkListParams

type MarkListParams struct {
	// Limit 每页数量(最多 100,int64 线格式为字符串)
	Limit string `form:"limit" json:"limit"`

	// Offset 分页偏移量(最多 100,int64 线格式为字符串)
	Offset string `form:"offset" json:"offset"`

	// AccessToken 用户授权凭证或应用凭证的访问令牌,通过 /auth/v1/token 获取。standard 鉴权方案下必须携带;SDK 层面只要求“传了某个凭证”,不区分是 CLIENT_CREDENTIALS 换的应用凭证还是 AUTHORIZATION_CODE 换的用户授权凭证——见该 operation 上的 x-qdmp-token-required。
	AccessToken AccessTokenHeader `json:"access-token"`

	// XEchoQdmpVersion qdmp 协议版本标识,可由 SDK 配置项覆盖,默认值 "1.0"。仅 standard 鉴权方案需要。
	XEchoQdmpVersion QdmpVersionHeader `json:"x-echo-qdmp-version"`
}

MarkListParams defines parameters for MarkList.

type MarkSearch200JSONResponseBodyCode0

type MarkSearch200JSONResponseBodyCode0 = int

MarkSearch200JSONResponseBodyCode0 defines parameters for MarkSearch.

type MarkSearch200JSONResponseBodyCode1

type MarkSearch200JSONResponseBodyCode1 = string

MarkSearch200JSONResponseBodyCode1 defines parameters for MarkSearch.

type MarkSearch200JSONResponseBody_Code

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

MarkSearch200JSONResponseBody_Code defines parameters for MarkSearch.

func (MarkSearch200JSONResponseBody_Code) AsMarkSearch200JSONResponseBodyCode0

func (t MarkSearch200JSONResponseBody_Code) AsMarkSearch200JSONResponseBodyCode0() (MarkSearch200JSONResponseBodyCode0, error)

AsMarkSearch200JSONResponseBodyCode0 returns the union data inside the MarkSearch200JSONResponseBody_Code as a MarkSearch200JSONResponseBodyCode0

func (MarkSearch200JSONResponseBody_Code) AsMarkSearch200JSONResponseBodyCode1

func (t MarkSearch200JSONResponseBody_Code) AsMarkSearch200JSONResponseBodyCode1() (MarkSearch200JSONResponseBodyCode1, error)

AsMarkSearch200JSONResponseBodyCode1 returns the union data inside the MarkSearch200JSONResponseBody_Code as a MarkSearch200JSONResponseBodyCode1

func (*MarkSearch200JSONResponseBody_Code) FromMarkSearch200JSONResponseBodyCode0

func (t *MarkSearch200JSONResponseBody_Code) FromMarkSearch200JSONResponseBodyCode0(v MarkSearch200JSONResponseBodyCode0) error

FromMarkSearch200JSONResponseBodyCode0 overwrites any union data inside the MarkSearch200JSONResponseBody_Code as the provided MarkSearch200JSONResponseBodyCode0

func (*MarkSearch200JSONResponseBody_Code) FromMarkSearch200JSONResponseBodyCode1

func (t *MarkSearch200JSONResponseBody_Code) FromMarkSearch200JSONResponseBodyCode1(v MarkSearch200JSONResponseBodyCode1) error

FromMarkSearch200JSONResponseBodyCode1 overwrites any union data inside the MarkSearch200JSONResponseBody_Code as the provided MarkSearch200JSONResponseBodyCode1

func (MarkSearch200JSONResponseBody_Code) MarshalJSON

func (t MarkSearch200JSONResponseBody_Code) MarshalJSON() ([]byte, error)

func (*MarkSearch200JSONResponseBody_Code) MergeMarkSearch200JSONResponseBodyCode0

func (t *MarkSearch200JSONResponseBody_Code) MergeMarkSearch200JSONResponseBodyCode0(v MarkSearch200JSONResponseBodyCode0) error

MergeMarkSearch200JSONResponseBodyCode0 performs a merge with any union data inside the MarkSearch200JSONResponseBody_Code, using the provided MarkSearch200JSONResponseBodyCode0

func (*MarkSearch200JSONResponseBody_Code) MergeMarkSearch200JSONResponseBodyCode1

func (t *MarkSearch200JSONResponseBody_Code) MergeMarkSearch200JSONResponseBodyCode1(v MarkSearch200JSONResponseBodyCode1) error

MergeMarkSearch200JSONResponseBodyCode1 performs a merge with any union data inside the MarkSearch200JSONResponseBody_Code, using the provided MarkSearch200JSONResponseBodyCode1

func (*MarkSearch200JSONResponseBody_Code) UnmarshalJSON

func (t *MarkSearch200JSONResponseBody_Code) UnmarshalJSON(b []byte) error

type MarkSearch401JSONResponseBodyCode0

type MarkSearch401JSONResponseBodyCode0 = int

MarkSearch401JSONResponseBodyCode0 defines parameters for MarkSearch.

type MarkSearch401JSONResponseBodyCode1

type MarkSearch401JSONResponseBodyCode1 = string

MarkSearch401JSONResponseBodyCode1 defines parameters for MarkSearch.

type MarkSearch401JSONResponseBody_Code

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

MarkSearch401JSONResponseBody_Code defines parameters for MarkSearch.

func (MarkSearch401JSONResponseBody_Code) AsMarkSearch401JSONResponseBodyCode0

func (t MarkSearch401JSONResponseBody_Code) AsMarkSearch401JSONResponseBodyCode0() (MarkSearch401JSONResponseBodyCode0, error)

AsMarkSearch401JSONResponseBodyCode0 returns the union data inside the MarkSearch401JSONResponseBody_Code as a MarkSearch401JSONResponseBodyCode0

func (MarkSearch401JSONResponseBody_Code) AsMarkSearch401JSONResponseBodyCode1

func (t MarkSearch401JSONResponseBody_Code) AsMarkSearch401JSONResponseBodyCode1() (MarkSearch401JSONResponseBodyCode1, error)

AsMarkSearch401JSONResponseBodyCode1 returns the union data inside the MarkSearch401JSONResponseBody_Code as a MarkSearch401JSONResponseBodyCode1

func (*MarkSearch401JSONResponseBody_Code) FromMarkSearch401JSONResponseBodyCode0

func (t *MarkSearch401JSONResponseBody_Code) FromMarkSearch401JSONResponseBodyCode0(v MarkSearch401JSONResponseBodyCode0) error

FromMarkSearch401JSONResponseBodyCode0 overwrites any union data inside the MarkSearch401JSONResponseBody_Code as the provided MarkSearch401JSONResponseBodyCode0

func (*MarkSearch401JSONResponseBody_Code) FromMarkSearch401JSONResponseBodyCode1

func (t *MarkSearch401JSONResponseBody_Code) FromMarkSearch401JSONResponseBodyCode1(v MarkSearch401JSONResponseBodyCode1) error

FromMarkSearch401JSONResponseBodyCode1 overwrites any union data inside the MarkSearch401JSONResponseBody_Code as the provided MarkSearch401JSONResponseBodyCode1

func (MarkSearch401JSONResponseBody_Code) MarshalJSON

func (t MarkSearch401JSONResponseBody_Code) MarshalJSON() ([]byte, error)

func (*MarkSearch401JSONResponseBody_Code) MergeMarkSearch401JSONResponseBodyCode0

func (t *MarkSearch401JSONResponseBody_Code) MergeMarkSearch401JSONResponseBodyCode0(v MarkSearch401JSONResponseBodyCode0) error

MergeMarkSearch401JSONResponseBodyCode0 performs a merge with any union data inside the MarkSearch401JSONResponseBody_Code, using the provided MarkSearch401JSONResponseBodyCode0

func (*MarkSearch401JSONResponseBody_Code) MergeMarkSearch401JSONResponseBodyCode1

func (t *MarkSearch401JSONResponseBody_Code) MergeMarkSearch401JSONResponseBodyCode1(v MarkSearch401JSONResponseBodyCode1) error

MergeMarkSearch401JSONResponseBodyCode1 performs a merge with any union data inside the MarkSearch401JSONResponseBody_Code, using the provided MarkSearch401JSONResponseBodyCode1

func (*MarkSearch401JSONResponseBody_Code) UnmarshalJSON

func (t *MarkSearch401JSONResponseBody_Code) UnmarshalJSON(b []byte) error

type MarkSearchParams

type MarkSearchParams struct {
	// TypeId 类目 ID,用于过滤(int64 线格式为字符串)
	TypeId *string `form:"typeId,omitempty" json:"typeId,omitempty"`

	// Limit 每页数量(最多 100,int64 线格式为字符串)
	Limit string `form:"limit" json:"limit"`

	// Offset 分页偏移量(最多 100,int64 线格式为字符串)
	Offset string `form:"offset" json:"offset"`

	// AccessToken 用户授权凭证或应用凭证的访问令牌,通过 /auth/v1/token 获取。standard 鉴权方案下必须携带;SDK 层面只要求“传了某个凭证”,不区分是 CLIENT_CREDENTIALS 换的应用凭证还是 AUTHORIZATION_CODE 换的用户授权凭证——见该 operation 上的 x-qdmp-token-required。
	AccessToken AccessTokenHeader `json:"access-token"`

	// XEchoQdmpVersion qdmp 协议版本标识,可由 SDK 配置项覆盖,默认值 "1.0"。仅 standard 鉴权方案需要。
	XEchoQdmpVersion QdmpVersionHeader `json:"x-echo-qdmp-version"`
}

MarkSearchParams defines parameters for MarkSearch.

type NotFoundResponse added in v0.4.0

type NotFoundResponse = BusinessEnvelopeBase

NotFoundResponse 业务信封基础结构 {code, message, requestId, data}(data 由各 operation 的响应单独描述)。实测确认:code 字段类型不统一,见过数字(0/10008/20000等)也见过字符串("0");且不保证 HTTP 200 即代表业务成功——例如 refreshToken 过期时是 HTTP 200 + code=10008,而 access-token 缺失/非法则是真实 HTTP 401 + code=10005。调用方必须显式检查 code 字段,不能只信任 HTTP 状态码。

type OffsetQuery added in v0.4.0

type OffsetQuery = string

OffsetQuery defines model for OffsetQuery.

type PostCommentsParams added in v0.4.0

type PostCommentsParams struct {
	// Limit 评论或回复列表每页数量,默认 10,最大 20。
	Limit *Limit20Query `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset 从 0 开始的分页偏移量。
	Offset *OffsetQuery `form:"offset,omitempty" json:"offset,omitempty"`

	// AccessToken 用户授权凭证或应用凭证的访问令牌,通过 /auth/v1/token 获取。standard 鉴权方案下必须携带;SDK 层面只要求“传了某个凭证”,不区分是 CLIENT_CREDENTIALS 换的应用凭证还是 AUTHORIZATION_CODE 换的用户授权凭证——见该 operation 上的 x-qdmp-token-required。
	AccessToken AccessTokenHeader `json:"access-token"`

	// XEchoQdmpVersion qdmp 协议版本标识,可由 SDK 配置项覆盖,默认值 "1.0"。仅 standard 鉴权方案需要。
	XEchoQdmpVersion QdmpVersionHeader `json:"x-echo-qdmp-version"`
}

PostCommentsParams defines parameters for PostComments.

type PostCommentsResponse added in v0.4.0

type PostCommentsResponse struct {
	// Code 业务状态码,0/"0" 通常表示成功,非零/非"0"表示业务错误。取值不是封闭枚举,已知码见顶层 x-error-codes。
	Code PostCommentsResponse_Code `json:"code"`
	Data *struct {
		Count *int32           `json:"count,omitempty"`
		Items *[]CommentThread `json:"items,omitempty"`
	} `json:"data,omitempty"`

	// Message 人类可读的提示信息
	Message string `json:"message"`

	// RequestId 请求追踪 ID
	RequestId *string `json:"requestId,omitempty"`
}

PostCommentsResponse defines model for PostCommentsResponse.

type PostCommentsResponseCode0 added in v0.4.0

type PostCommentsResponseCode0 = int

PostCommentsResponseCode0 defines model for PostCommentsResponse.Code.0.

type PostCommentsResponseCode1 added in v0.4.0

type PostCommentsResponseCode1 = string

PostCommentsResponseCode1 defines model for PostCommentsResponse.Code.1.

type PostCommentsResponse_Code added in v0.4.0

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

PostCommentsResponse_Code 业务状态码,0/"0" 通常表示成功,非零/非"0"表示业务错误。取值不是封闭枚举,已知码见顶层 x-error-codes。

func (PostCommentsResponse_Code) AsPostCommentsResponseCode0 added in v0.4.0

func (t PostCommentsResponse_Code) AsPostCommentsResponseCode0() (PostCommentsResponseCode0, error)

AsPostCommentsResponseCode0 returns the union data inside the PostCommentsResponse_Code as a PostCommentsResponseCode0

func (PostCommentsResponse_Code) AsPostCommentsResponseCode1 added in v0.4.0

func (t PostCommentsResponse_Code) AsPostCommentsResponseCode1() (PostCommentsResponseCode1, error)

AsPostCommentsResponseCode1 returns the union data inside the PostCommentsResponse_Code as a PostCommentsResponseCode1

func (*PostCommentsResponse_Code) FromPostCommentsResponseCode0 added in v0.4.0

func (t *PostCommentsResponse_Code) FromPostCommentsResponseCode0(v PostCommentsResponseCode0) error

FromPostCommentsResponseCode0 overwrites any union data inside the PostCommentsResponse_Code as the provided PostCommentsResponseCode0

func (*PostCommentsResponse_Code) FromPostCommentsResponseCode1 added in v0.4.0

func (t *PostCommentsResponse_Code) FromPostCommentsResponseCode1(v PostCommentsResponseCode1) error

FromPostCommentsResponseCode1 overwrites any union data inside the PostCommentsResponse_Code as the provided PostCommentsResponseCode1

func (PostCommentsResponse_Code) MarshalJSON added in v0.4.0

func (t PostCommentsResponse_Code) MarshalJSON() ([]byte, error)

func (*PostCommentsResponse_Code) MergePostCommentsResponseCode0 added in v0.4.0

func (t *PostCommentsResponse_Code) MergePostCommentsResponseCode0(v PostCommentsResponseCode0) error

MergePostCommentsResponseCode0 performs a merge with any union data inside the PostCommentsResponse_Code, using the provided PostCommentsResponseCode0

func (*PostCommentsResponse_Code) MergePostCommentsResponseCode1 added in v0.4.0

func (t *PostCommentsResponse_Code) MergePostCommentsResponseCode1(v PostCommentsResponseCode1) error

MergePostCommentsResponseCode1 performs a merge with any union data inside the PostCommentsResponse_Code, using the provided PostCommentsResponseCode1

func (*PostCommentsResponse_Code) UnmarshalJSON added in v0.4.0

func (t *PostCommentsResponse_Code) UnmarshalJSON(b []byte) error

type PostDetailParams added in v0.4.0

type PostDetailParams struct {
	// PostId 帖子 ID;源接口为 int64,在线格式为 string,值必须大于 0。
	PostId PostIdQuery `form:"postId" json:"postId"`

	// AccessToken 用户授权凭证或应用凭证的访问令牌,通过 /auth/v1/token 获取。standard 鉴权方案下必须携带;SDK 层面只要求“传了某个凭证”,不区分是 CLIENT_CREDENTIALS 换的应用凭证还是 AUTHORIZATION_CODE 换的用户授权凭证——见该 operation 上的 x-qdmp-token-required。
	AccessToken AccessTokenHeader `json:"access-token"`

	// XEchoQdmpVersion qdmp 协议版本标识,可由 SDK 配置项覆盖,默认值 "1.0"。仅 standard 鉴权方案需要。
	XEchoQdmpVersion QdmpVersionHeader `json:"x-echo-qdmp-version"`
}

PostDetailParams defines parameters for PostDetail.

type PostIdPath added in v0.4.0

type PostIdPath = string

PostIdPath defines model for PostIdPath.

type PostIdQuery added in v0.4.0

type PostIdQuery = string

PostIdQuery defines model for PostIdQuery.

type PostListParams added in v0.4.0

type PostListParams struct {
	// Offset 从 0 开始的分页偏移量。
	Offset *OffsetQuery `form:"offset,omitempty" json:"offset,omitempty"`

	// Limit 帖子列表每页数量,默认 20,最大 100。
	Limit *Limit100Query `form:"limit,omitempty" json:"limit,omitempty"`

	// AccessToken 用户授权凭证或应用凭证的访问令牌,通过 /auth/v1/token 获取。standard 鉴权方案下必须携带;SDK 层面只要求“传了某个凭证”,不区分是 CLIENT_CREDENTIALS 换的应用凭证还是 AUTHORIZATION_CODE 换的用户授权凭证——见该 operation 上的 x-qdmp-token-required。
	AccessToken AccessTokenHeader `json:"access-token"`

	// XEchoQdmpVersion qdmp 协议版本标识,可由 SDK 配置项覆盖,默认值 "1.0"。仅 standard 鉴权方案需要。
	XEchoQdmpVersion QdmpVersionHeader `json:"x-echo-qdmp-version"`
}

PostListParams defines parameters for PostList.

type PostMyListParams added in v0.4.0

type PostMyListParams struct {
	// Offset 从 0 开始的分页偏移量。
	Offset *OffsetQuery `form:"offset,omitempty" json:"offset,omitempty"`

	// Limit 帖子列表每页数量,默认 20,最大 100。
	Limit *Limit100Query `form:"limit,omitempty" json:"limit,omitempty"`

	// AccessToken 用户授权凭证或应用凭证的访问令牌,通过 /auth/v1/token 获取。standard 鉴权方案下必须携带;SDK 层面只要求“传了某个凭证”,不区分是 CLIENT_CREDENTIALS 换的应用凭证还是 AUTHORIZATION_CODE 换的用户授权凭证——见该 operation 上的 x-qdmp-token-required。
	AccessToken AccessTokenHeader `json:"access-token"`

	// XEchoQdmpVersion qdmp 协议版本标识,可由 SDK 配置项覆盖,默认值 "1.0"。仅 standard 鉴权方案需要。
	XEchoQdmpVersion QdmpVersionHeader `json:"x-echo-qdmp-version"`
}

PostMyListParams defines parameters for PostMyList.

type PostObjectResponse added in v0.4.0

type PostObjectResponse struct {
	// Code 业务状态码,0/"0" 通常表示成功,非零/非"0"表示业务错误。取值不是封闭枚举,已知码见顶层 x-error-codes。
	Code PostObjectResponse_Code `json:"code"`
	Data *map[string]interface{} `json:"data,omitempty"`

	// Message 人类可读的提示信息
	Message string `json:"message"`

	// RequestId 请求追踪 ID
	RequestId *string `json:"requestId,omitempty"`
}

PostObjectResponse defines model for PostObjectResponse.

type PostObjectResponseCode0 added in v0.4.0

type PostObjectResponseCode0 = int

PostObjectResponseCode0 defines model for PostObjectResponse.Code.0.

type PostObjectResponseCode1 added in v0.4.0

type PostObjectResponseCode1 = string

PostObjectResponseCode1 defines model for PostObjectResponse.Code.1.

type PostObjectResponse_Code added in v0.4.0

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

PostObjectResponse_Code 业务状态码,0/"0" 通常表示成功,非零/非"0"表示业务错误。取值不是封闭枚举,已知码见顶层 x-error-codes。

func (PostObjectResponse_Code) AsPostObjectResponseCode0 added in v0.4.0

func (t PostObjectResponse_Code) AsPostObjectResponseCode0() (PostObjectResponseCode0, error)

AsPostObjectResponseCode0 returns the union data inside the PostObjectResponse_Code as a PostObjectResponseCode0

func (PostObjectResponse_Code) AsPostObjectResponseCode1 added in v0.4.0

func (t PostObjectResponse_Code) AsPostObjectResponseCode1() (PostObjectResponseCode1, error)

AsPostObjectResponseCode1 returns the union data inside the PostObjectResponse_Code as a PostObjectResponseCode1

func (*PostObjectResponse_Code) FromPostObjectResponseCode0 added in v0.4.0

func (t *PostObjectResponse_Code) FromPostObjectResponseCode0(v PostObjectResponseCode0) error

FromPostObjectResponseCode0 overwrites any union data inside the PostObjectResponse_Code as the provided PostObjectResponseCode0

func (*PostObjectResponse_Code) FromPostObjectResponseCode1 added in v0.4.0

func (t *PostObjectResponse_Code) FromPostObjectResponseCode1(v PostObjectResponseCode1) error

FromPostObjectResponseCode1 overwrites any union data inside the PostObjectResponse_Code as the provided PostObjectResponseCode1

func (PostObjectResponse_Code) MarshalJSON added in v0.4.0

func (t PostObjectResponse_Code) MarshalJSON() ([]byte, error)

func (*PostObjectResponse_Code) MergePostObjectResponseCode0 added in v0.4.0

func (t *PostObjectResponse_Code) MergePostObjectResponseCode0(v PostObjectResponseCode0) error

MergePostObjectResponseCode0 performs a merge with any union data inside the PostObjectResponse_Code, using the provided PostObjectResponseCode0

func (*PostObjectResponse_Code) MergePostObjectResponseCode1 added in v0.4.0

func (t *PostObjectResponse_Code) MergePostObjectResponseCode1(v PostObjectResponseCode1) error

MergePostObjectResponseCode1 performs a merge with any union data inside the PostObjectResponse_Code, using the provided PostObjectResponseCode1

func (*PostObjectResponse_Code) UnmarshalJSON added in v0.4.0

func (t *PostObjectResponse_Code) UnmarshalJSON(b []byte) error

type QdmpVersionHeader

type QdmpVersionHeader = string

QdmpVersionHeader defines model for QdmpVersionHeader.

type SpuDetail200JSONResponseBodyCode0

type SpuDetail200JSONResponseBodyCode0 = int

SpuDetail200JSONResponseBodyCode0 defines parameters for SpuDetail.

type SpuDetail200JSONResponseBodyCode1

type SpuDetail200JSONResponseBodyCode1 = string

SpuDetail200JSONResponseBodyCode1 defines parameters for SpuDetail.

type SpuDetail200JSONResponseBody_Code

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

SpuDetail200JSONResponseBody_Code defines parameters for SpuDetail.

func (SpuDetail200JSONResponseBody_Code) AsSpuDetail200JSONResponseBodyCode0

func (t SpuDetail200JSONResponseBody_Code) AsSpuDetail200JSONResponseBodyCode0() (SpuDetail200JSONResponseBodyCode0, error)

AsSpuDetail200JSONResponseBodyCode0 returns the union data inside the SpuDetail200JSONResponseBody_Code as a SpuDetail200JSONResponseBodyCode0

func (SpuDetail200JSONResponseBody_Code) AsSpuDetail200JSONResponseBodyCode1

func (t SpuDetail200JSONResponseBody_Code) AsSpuDetail200JSONResponseBodyCode1() (SpuDetail200JSONResponseBodyCode1, error)

AsSpuDetail200JSONResponseBodyCode1 returns the union data inside the SpuDetail200JSONResponseBody_Code as a SpuDetail200JSONResponseBodyCode1

func (*SpuDetail200JSONResponseBody_Code) FromSpuDetail200JSONResponseBodyCode0

func (t *SpuDetail200JSONResponseBody_Code) FromSpuDetail200JSONResponseBodyCode0(v SpuDetail200JSONResponseBodyCode0) error

FromSpuDetail200JSONResponseBodyCode0 overwrites any union data inside the SpuDetail200JSONResponseBody_Code as the provided SpuDetail200JSONResponseBodyCode0

func (*SpuDetail200JSONResponseBody_Code) FromSpuDetail200JSONResponseBodyCode1

func (t *SpuDetail200JSONResponseBody_Code) FromSpuDetail200JSONResponseBodyCode1(v SpuDetail200JSONResponseBodyCode1) error

FromSpuDetail200JSONResponseBodyCode1 overwrites any union data inside the SpuDetail200JSONResponseBody_Code as the provided SpuDetail200JSONResponseBodyCode1

func (SpuDetail200JSONResponseBody_Code) MarshalJSON

func (t SpuDetail200JSONResponseBody_Code) MarshalJSON() ([]byte, error)

func (*SpuDetail200JSONResponseBody_Code) MergeSpuDetail200JSONResponseBodyCode0

func (t *SpuDetail200JSONResponseBody_Code) MergeSpuDetail200JSONResponseBodyCode0(v SpuDetail200JSONResponseBodyCode0) error

MergeSpuDetail200JSONResponseBodyCode0 performs a merge with any union data inside the SpuDetail200JSONResponseBody_Code, using the provided SpuDetail200JSONResponseBodyCode0

func (*SpuDetail200JSONResponseBody_Code) MergeSpuDetail200JSONResponseBodyCode1

func (t *SpuDetail200JSONResponseBody_Code) MergeSpuDetail200JSONResponseBodyCode1(v SpuDetail200JSONResponseBodyCode1) error

MergeSpuDetail200JSONResponseBodyCode1 performs a merge with any union data inside the SpuDetail200JSONResponseBody_Code, using the provided SpuDetail200JSONResponseBodyCode1

func (*SpuDetail200JSONResponseBody_Code) UnmarshalJSON

func (t *SpuDetail200JSONResponseBody_Code) UnmarshalJSON(b []byte) error

type SpuDetail401JSONResponseBodyCode0

type SpuDetail401JSONResponseBodyCode0 = int

SpuDetail401JSONResponseBodyCode0 defines parameters for SpuDetail.

type SpuDetail401JSONResponseBodyCode1

type SpuDetail401JSONResponseBodyCode1 = string

SpuDetail401JSONResponseBodyCode1 defines parameters for SpuDetail.

type SpuDetail401JSONResponseBody_Code

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

SpuDetail401JSONResponseBody_Code defines parameters for SpuDetail.

func (SpuDetail401JSONResponseBody_Code) AsSpuDetail401JSONResponseBodyCode0

func (t SpuDetail401JSONResponseBody_Code) AsSpuDetail401JSONResponseBodyCode0() (SpuDetail401JSONResponseBodyCode0, error)

AsSpuDetail401JSONResponseBodyCode0 returns the union data inside the SpuDetail401JSONResponseBody_Code as a SpuDetail401JSONResponseBodyCode0

func (SpuDetail401JSONResponseBody_Code) AsSpuDetail401JSONResponseBodyCode1

func (t SpuDetail401JSONResponseBody_Code) AsSpuDetail401JSONResponseBodyCode1() (SpuDetail401JSONResponseBodyCode1, error)

AsSpuDetail401JSONResponseBodyCode1 returns the union data inside the SpuDetail401JSONResponseBody_Code as a SpuDetail401JSONResponseBodyCode1

func (*SpuDetail401JSONResponseBody_Code) FromSpuDetail401JSONResponseBodyCode0

func (t *SpuDetail401JSONResponseBody_Code) FromSpuDetail401JSONResponseBodyCode0(v SpuDetail401JSONResponseBodyCode0) error

FromSpuDetail401JSONResponseBodyCode0 overwrites any union data inside the SpuDetail401JSONResponseBody_Code as the provided SpuDetail401JSONResponseBodyCode0

func (*SpuDetail401JSONResponseBody_Code) FromSpuDetail401JSONResponseBodyCode1

func (t *SpuDetail401JSONResponseBody_Code) FromSpuDetail401JSONResponseBodyCode1(v SpuDetail401JSONResponseBodyCode1) error

FromSpuDetail401JSONResponseBodyCode1 overwrites any union data inside the SpuDetail401JSONResponseBody_Code as the provided SpuDetail401JSONResponseBodyCode1

func (SpuDetail401JSONResponseBody_Code) MarshalJSON

func (t SpuDetail401JSONResponseBody_Code) MarshalJSON() ([]byte, error)

func (*SpuDetail401JSONResponseBody_Code) MergeSpuDetail401JSONResponseBodyCode0

func (t *SpuDetail401JSONResponseBody_Code) MergeSpuDetail401JSONResponseBodyCode0(v SpuDetail401JSONResponseBodyCode0) error

MergeSpuDetail401JSONResponseBodyCode0 performs a merge with any union data inside the SpuDetail401JSONResponseBody_Code, using the provided SpuDetail401JSONResponseBodyCode0

func (*SpuDetail401JSONResponseBody_Code) MergeSpuDetail401JSONResponseBodyCode1

func (t *SpuDetail401JSONResponseBody_Code) MergeSpuDetail401JSONResponseBodyCode1(v SpuDetail401JSONResponseBodyCode1) error

MergeSpuDetail401JSONResponseBodyCode1 performs a merge with any union data inside the SpuDetail401JSONResponseBody_Code, using the provided SpuDetail401JSONResponseBodyCode1

func (*SpuDetail401JSONResponseBody_Code) UnmarshalJSON

func (t *SpuDetail401JSONResponseBody_Code) UnmarshalJSON(b []byte) error

type SpuDetailParams

type SpuDetailParams struct {
	// Id SPU ID(源类型 uint64,线格式为字符串)
	Id string `form:"id" json:"id"`

	// AccessToken 用户授权凭证或应用凭证的访问令牌,通过 /auth/v1/token 获取。standard 鉴权方案下必须携带;SDK 层面只要求“传了某个凭证”,不区分是 CLIENT_CREDENTIALS 换的应用凭证还是 AUTHORIZATION_CODE 换的用户授权凭证——见该 operation 上的 x-qdmp-token-required。
	AccessToken AccessTokenHeader `json:"access-token"`

	// XEchoQdmpVersion qdmp 协议版本标识,可由 SDK 配置项覆盖,默认值 "1.0"。仅 standard 鉴权方案需要。
	XEchoQdmpVersion QdmpVersionHeader `json:"x-echo-qdmp-version"`
}

SpuDetailParams defines parameters for SpuDetail.

type SpuSearch200JSONResponseBodyCode0

type SpuSearch200JSONResponseBodyCode0 = int

SpuSearch200JSONResponseBodyCode0 defines parameters for SpuSearch.

type SpuSearch200JSONResponseBodyCode1

type SpuSearch200JSONResponseBodyCode1 = string

SpuSearch200JSONResponseBodyCode1 defines parameters for SpuSearch.

type SpuSearch200JSONResponseBody_Code

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

SpuSearch200JSONResponseBody_Code defines parameters for SpuSearch.

func (SpuSearch200JSONResponseBody_Code) AsSpuSearch200JSONResponseBodyCode0

func (t SpuSearch200JSONResponseBody_Code) AsSpuSearch200JSONResponseBodyCode0() (SpuSearch200JSONResponseBodyCode0, error)

AsSpuSearch200JSONResponseBodyCode0 returns the union data inside the SpuSearch200JSONResponseBody_Code as a SpuSearch200JSONResponseBodyCode0

func (SpuSearch200JSONResponseBody_Code) AsSpuSearch200JSONResponseBodyCode1

func (t SpuSearch200JSONResponseBody_Code) AsSpuSearch200JSONResponseBodyCode1() (SpuSearch200JSONResponseBodyCode1, error)

AsSpuSearch200JSONResponseBodyCode1 returns the union data inside the SpuSearch200JSONResponseBody_Code as a SpuSearch200JSONResponseBodyCode1

func (*SpuSearch200JSONResponseBody_Code) FromSpuSearch200JSONResponseBodyCode0

func (t *SpuSearch200JSONResponseBody_Code) FromSpuSearch200JSONResponseBodyCode0(v SpuSearch200JSONResponseBodyCode0) error

FromSpuSearch200JSONResponseBodyCode0 overwrites any union data inside the SpuSearch200JSONResponseBody_Code as the provided SpuSearch200JSONResponseBodyCode0

func (*SpuSearch200JSONResponseBody_Code) FromSpuSearch200JSONResponseBodyCode1

func (t *SpuSearch200JSONResponseBody_Code) FromSpuSearch200JSONResponseBodyCode1(v SpuSearch200JSONResponseBodyCode1) error

FromSpuSearch200JSONResponseBodyCode1 overwrites any union data inside the SpuSearch200JSONResponseBody_Code as the provided SpuSearch200JSONResponseBodyCode1

func (SpuSearch200JSONResponseBody_Code) MarshalJSON

func (t SpuSearch200JSONResponseBody_Code) MarshalJSON() ([]byte, error)

func (*SpuSearch200JSONResponseBody_Code) MergeSpuSearch200JSONResponseBodyCode0

func (t *SpuSearch200JSONResponseBody_Code) MergeSpuSearch200JSONResponseBodyCode0(v SpuSearch200JSONResponseBodyCode0) error

MergeSpuSearch200JSONResponseBodyCode0 performs a merge with any union data inside the SpuSearch200JSONResponseBody_Code, using the provided SpuSearch200JSONResponseBodyCode0

func (*SpuSearch200JSONResponseBody_Code) MergeSpuSearch200JSONResponseBodyCode1

func (t *SpuSearch200JSONResponseBody_Code) MergeSpuSearch200JSONResponseBodyCode1(v SpuSearch200JSONResponseBodyCode1) error

MergeSpuSearch200JSONResponseBodyCode1 performs a merge with any union data inside the SpuSearch200JSONResponseBody_Code, using the provided SpuSearch200JSONResponseBodyCode1

func (*SpuSearch200JSONResponseBody_Code) UnmarshalJSON

func (t *SpuSearch200JSONResponseBody_Code) UnmarshalJSON(b []byte) error

type SpuSearch200JSONResponseBody_Data_Items_Item

type SpuSearch200JSONResponseBody_Data_Items_Item struct {
	// Id SPU ID(uint64 线格式为字符串)
	Id *string `json:"id,omitempty"`

	// Image 封面图 URL
	Image *string `json:"image,omitempty"`

	// MarkCount 标记人数(uint64 线格式为字符串)
	MarkCount *string `json:"markCount,omitempty"`

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

	// TypeId 类目 ID(uint64 线格式为字符串)
	TypeId *string `json:"typeId,omitempty"`

	// TypeName 类目名称
	TypeName *string `json:"typeName,omitempty"`

	// WishCount 想要人数(uint64 线格式为字符串)
	WishCount            *string                `json:"wishCount,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

SpuSearch200JSONResponseBody_Data_Items_Item defines parameters for SpuSearch.

func (SpuSearch200JSONResponseBody_Data_Items_Item) Get

func (a SpuSearch200JSONResponseBody_Data_Items_Item) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for SpuSearch200JSONResponseBody_Data_Items_Item. Returns the specified element and whether it was found

func (SpuSearch200JSONResponseBody_Data_Items_Item) MarshalJSON

Override default JSON handling for SpuSearch200JSONResponseBody_Data_Items_Item to handle AdditionalProperties

func (*SpuSearch200JSONResponseBody_Data_Items_Item) Set

func (a *SpuSearch200JSONResponseBody_Data_Items_Item) Set(fieldName string, value interface{})

Setter for additional properties for SpuSearch200JSONResponseBody_Data_Items_Item

func (*SpuSearch200JSONResponseBody_Data_Items_Item) UnmarshalJSON

Override default JSON handling for SpuSearch200JSONResponseBody_Data_Items_Item to handle AdditionalProperties

type SpuSearch401JSONResponseBodyCode0

type SpuSearch401JSONResponseBodyCode0 = int

SpuSearch401JSONResponseBodyCode0 defines parameters for SpuSearch.

type SpuSearch401JSONResponseBodyCode1

type SpuSearch401JSONResponseBodyCode1 = string

SpuSearch401JSONResponseBodyCode1 defines parameters for SpuSearch.

type SpuSearch401JSONResponseBody_Code

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

SpuSearch401JSONResponseBody_Code defines parameters for SpuSearch.

func (SpuSearch401JSONResponseBody_Code) AsSpuSearch401JSONResponseBodyCode0

func (t SpuSearch401JSONResponseBody_Code) AsSpuSearch401JSONResponseBodyCode0() (SpuSearch401JSONResponseBodyCode0, error)

AsSpuSearch401JSONResponseBodyCode0 returns the union data inside the SpuSearch401JSONResponseBody_Code as a SpuSearch401JSONResponseBodyCode0

func (SpuSearch401JSONResponseBody_Code) AsSpuSearch401JSONResponseBodyCode1

func (t SpuSearch401JSONResponseBody_Code) AsSpuSearch401JSONResponseBodyCode1() (SpuSearch401JSONResponseBodyCode1, error)

AsSpuSearch401JSONResponseBodyCode1 returns the union data inside the SpuSearch401JSONResponseBody_Code as a SpuSearch401JSONResponseBodyCode1

func (*SpuSearch401JSONResponseBody_Code) FromSpuSearch401JSONResponseBodyCode0

func (t *SpuSearch401JSONResponseBody_Code) FromSpuSearch401JSONResponseBodyCode0(v SpuSearch401JSONResponseBodyCode0) error

FromSpuSearch401JSONResponseBodyCode0 overwrites any union data inside the SpuSearch401JSONResponseBody_Code as the provided SpuSearch401JSONResponseBodyCode0

func (*SpuSearch401JSONResponseBody_Code) FromSpuSearch401JSONResponseBodyCode1

func (t *SpuSearch401JSONResponseBody_Code) FromSpuSearch401JSONResponseBodyCode1(v SpuSearch401JSONResponseBodyCode1) error

FromSpuSearch401JSONResponseBodyCode1 overwrites any union data inside the SpuSearch401JSONResponseBody_Code as the provided SpuSearch401JSONResponseBodyCode1

func (SpuSearch401JSONResponseBody_Code) MarshalJSON

func (t SpuSearch401JSONResponseBody_Code) MarshalJSON() ([]byte, error)

func (*SpuSearch401JSONResponseBody_Code) MergeSpuSearch401JSONResponseBodyCode0

func (t *SpuSearch401JSONResponseBody_Code) MergeSpuSearch401JSONResponseBodyCode0(v SpuSearch401JSONResponseBodyCode0) error

MergeSpuSearch401JSONResponseBodyCode0 performs a merge with any union data inside the SpuSearch401JSONResponseBody_Code, using the provided SpuSearch401JSONResponseBodyCode0

func (*SpuSearch401JSONResponseBody_Code) MergeSpuSearch401JSONResponseBodyCode1

func (t *SpuSearch401JSONResponseBody_Code) MergeSpuSearch401JSONResponseBodyCode1(v SpuSearch401JSONResponseBodyCode1) error

MergeSpuSearch401JSONResponseBodyCode1 performs a merge with any union data inside the SpuSearch401JSONResponseBody_Code, using the provided SpuSearch401JSONResponseBodyCode1

func (*SpuSearch401JSONResponseBody_Code) UnmarshalJSON

func (t *SpuSearch401JSONResponseBody_Code) UnmarshalJSON(b []byte) error

type SpuSearchParams

type SpuSearchParams struct {
	// Keyword 搜索关键词
	Keyword *string `form:"keyword,omitempty" json:"keyword,omitempty"`

	// IpTag IP 标签 ID,用于过滤(uint64 线格式为字符串)
	IpTag *string `form:"ipTag,omitempty" json:"ipTag,omitempty"`

	// TypeId 类目 ID,用于过滤(uint64 线格式为字符串)
	TypeId *string `form:"typeId,omitempty" json:"typeId,omitempty"`

	// MegaId 系列 ID,查系列下所有 SPU(uint64 线格式为字符串)
	MegaId *string `form:"megaId,omitempty" json:"megaId,omitempty"`

	// Classification 分类标签 ID,用于过滤(uint64 线格式为字符串)
	Classification *string `form:"classification,omitempty" json:"classification,omitempty"`

	// FilterOptions 筛选标签 ID 数组,可填多个(uint64[] 线格式为字符串数组)
	FilterOptions *[]string `form:"filterOptions,omitempty" json:"filterOptions,omitempty"`

	// OnlyMega 仅查系列 SPU
	OnlyMega *bool `form:"onlyMega,omitempty" json:"onlyMega,omitempty"`

	// OnlySpu 仅查非系列 SPU
	OnlySpu *bool `form:"onlySpu,omitempty" json:"onlySpu,omitempty"`

	// Offset 分页偏移量(offset+limit<=100,uint64 线格式为字符串)
	Offset *string `form:"offset,omitempty" json:"offset,omitempty"`

	// Limit 每页数量(offset+limit<=100,uint64 线格式为字符串)
	Limit *string `form:"limit,omitempty" json:"limit,omitempty"`

	// AccessToken 用户授权凭证或应用凭证的访问令牌,通过 /auth/v1/token 获取。standard 鉴权方案下必须携带;SDK 层面只要求“传了某个凭证”,不区分是 CLIENT_CREDENTIALS 换的应用凭证还是 AUTHORIZATION_CODE 换的用户授权凭证——见该 operation 上的 x-qdmp-token-required。
	AccessToken AccessTokenHeader `json:"access-token"`

	// XEchoQdmpVersion qdmp 协议版本标识,可由 SDK 配置项覆盖,默认值 "1.0"。仅 standard 鉴权方案需要。
	XEchoQdmpVersion QdmpVersionHeader `json:"x-echo-qdmp-version"`
}

SpuSearchParams defines parameters for SpuSearch.

type TagDetail200JSONResponseBodyCode0

type TagDetail200JSONResponseBodyCode0 = int

TagDetail200JSONResponseBodyCode0 defines parameters for TagDetail.

type TagDetail200JSONResponseBodyCode1

type TagDetail200JSONResponseBodyCode1 = string

TagDetail200JSONResponseBodyCode1 defines parameters for TagDetail.

type TagDetail200JSONResponseBody_Code

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

TagDetail200JSONResponseBody_Code defines parameters for TagDetail.

func (TagDetail200JSONResponseBody_Code) AsTagDetail200JSONResponseBodyCode0

func (t TagDetail200JSONResponseBody_Code) AsTagDetail200JSONResponseBodyCode0() (TagDetail200JSONResponseBodyCode0, error)

AsTagDetail200JSONResponseBodyCode0 returns the union data inside the TagDetail200JSONResponseBody_Code as a TagDetail200JSONResponseBodyCode0

func (TagDetail200JSONResponseBody_Code) AsTagDetail200JSONResponseBodyCode1

func (t TagDetail200JSONResponseBody_Code) AsTagDetail200JSONResponseBodyCode1() (TagDetail200JSONResponseBodyCode1, error)

AsTagDetail200JSONResponseBodyCode1 returns the union data inside the TagDetail200JSONResponseBody_Code as a TagDetail200JSONResponseBodyCode1

func (*TagDetail200JSONResponseBody_Code) FromTagDetail200JSONResponseBodyCode0

func (t *TagDetail200JSONResponseBody_Code) FromTagDetail200JSONResponseBodyCode0(v TagDetail200JSONResponseBodyCode0) error

FromTagDetail200JSONResponseBodyCode0 overwrites any union data inside the TagDetail200JSONResponseBody_Code as the provided TagDetail200JSONResponseBodyCode0

func (*TagDetail200JSONResponseBody_Code) FromTagDetail200JSONResponseBodyCode1

func (t *TagDetail200JSONResponseBody_Code) FromTagDetail200JSONResponseBodyCode1(v TagDetail200JSONResponseBodyCode1) error

FromTagDetail200JSONResponseBodyCode1 overwrites any union data inside the TagDetail200JSONResponseBody_Code as the provided TagDetail200JSONResponseBodyCode1

func (TagDetail200JSONResponseBody_Code) MarshalJSON

func (t TagDetail200JSONResponseBody_Code) MarshalJSON() ([]byte, error)

func (*TagDetail200JSONResponseBody_Code) MergeTagDetail200JSONResponseBodyCode0

func (t *TagDetail200JSONResponseBody_Code) MergeTagDetail200JSONResponseBodyCode0(v TagDetail200JSONResponseBodyCode0) error

MergeTagDetail200JSONResponseBodyCode0 performs a merge with any union data inside the TagDetail200JSONResponseBody_Code, using the provided TagDetail200JSONResponseBodyCode0

func (*TagDetail200JSONResponseBody_Code) MergeTagDetail200JSONResponseBodyCode1

func (t *TagDetail200JSONResponseBody_Code) MergeTagDetail200JSONResponseBodyCode1(v TagDetail200JSONResponseBodyCode1) error

MergeTagDetail200JSONResponseBodyCode1 performs a merge with any union data inside the TagDetail200JSONResponseBody_Code, using the provided TagDetail200JSONResponseBodyCode1

func (*TagDetail200JSONResponseBody_Code) UnmarshalJSON

func (t *TagDetail200JSONResponseBody_Code) UnmarshalJSON(b []byte) error

type TagDetail401JSONResponseBodyCode0

type TagDetail401JSONResponseBodyCode0 = int

TagDetail401JSONResponseBodyCode0 defines parameters for TagDetail.

type TagDetail401JSONResponseBodyCode1

type TagDetail401JSONResponseBodyCode1 = string

TagDetail401JSONResponseBodyCode1 defines parameters for TagDetail.

type TagDetail401JSONResponseBody_Code

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

TagDetail401JSONResponseBody_Code defines parameters for TagDetail.

func (TagDetail401JSONResponseBody_Code) AsTagDetail401JSONResponseBodyCode0

func (t TagDetail401JSONResponseBody_Code) AsTagDetail401JSONResponseBodyCode0() (TagDetail401JSONResponseBodyCode0, error)

AsTagDetail401JSONResponseBodyCode0 returns the union data inside the TagDetail401JSONResponseBody_Code as a TagDetail401JSONResponseBodyCode0

func (TagDetail401JSONResponseBody_Code) AsTagDetail401JSONResponseBodyCode1

func (t TagDetail401JSONResponseBody_Code) AsTagDetail401JSONResponseBodyCode1() (TagDetail401JSONResponseBodyCode1, error)

AsTagDetail401JSONResponseBodyCode1 returns the union data inside the TagDetail401JSONResponseBody_Code as a TagDetail401JSONResponseBodyCode1

func (*TagDetail401JSONResponseBody_Code) FromTagDetail401JSONResponseBodyCode0

func (t *TagDetail401JSONResponseBody_Code) FromTagDetail401JSONResponseBodyCode0(v TagDetail401JSONResponseBodyCode0) error

FromTagDetail401JSONResponseBodyCode0 overwrites any union data inside the TagDetail401JSONResponseBody_Code as the provided TagDetail401JSONResponseBodyCode0

func (*TagDetail401JSONResponseBody_Code) FromTagDetail401JSONResponseBodyCode1

func (t *TagDetail401JSONResponseBody_Code) FromTagDetail401JSONResponseBodyCode1(v TagDetail401JSONResponseBodyCode1) error

FromTagDetail401JSONResponseBodyCode1 overwrites any union data inside the TagDetail401JSONResponseBody_Code as the provided TagDetail401JSONResponseBodyCode1

func (TagDetail401JSONResponseBody_Code) MarshalJSON

func (t TagDetail401JSONResponseBody_Code) MarshalJSON() ([]byte, error)

func (*TagDetail401JSONResponseBody_Code) MergeTagDetail401JSONResponseBodyCode0

func (t *TagDetail401JSONResponseBody_Code) MergeTagDetail401JSONResponseBodyCode0(v TagDetail401JSONResponseBodyCode0) error

MergeTagDetail401JSONResponseBodyCode0 performs a merge with any union data inside the TagDetail401JSONResponseBody_Code, using the provided TagDetail401JSONResponseBodyCode0

func (*TagDetail401JSONResponseBody_Code) MergeTagDetail401JSONResponseBodyCode1

func (t *TagDetail401JSONResponseBody_Code) MergeTagDetail401JSONResponseBodyCode1(v TagDetail401JSONResponseBodyCode1) error

MergeTagDetail401JSONResponseBodyCode1 performs a merge with any union data inside the TagDetail401JSONResponseBody_Code, using the provided TagDetail401JSONResponseBodyCode1

func (*TagDetail401JSONResponseBody_Code) UnmarshalJSON

func (t *TagDetail401JSONResponseBody_Code) UnmarshalJSON(b []byte) error

type TagDetailParams

type TagDetailParams struct {
	// Id Tag ID(源类型 uint64,线格式为字符串)
	Id string `form:"id" json:"id"`

	// AccessToken 用户授权凭证或应用凭证的访问令牌,通过 /auth/v1/token 获取。standard 鉴权方案下必须携带;SDK 层面只要求“传了某个凭证”,不区分是 CLIENT_CREDENTIALS 换的应用凭证还是 AUTHORIZATION_CODE 换的用户授权凭证——见该 operation 上的 x-qdmp-token-required。
	AccessToken AccessTokenHeader `json:"access-token"`

	// XEchoQdmpVersion qdmp 协议版本标识,可由 SDK 配置项覆盖,默认值 "1.0"。仅 standard 鉴权方案需要。
	XEchoQdmpVersion QdmpVersionHeader `json:"x-echo-qdmp-version"`
}

TagDetailParams defines parameters for TagDetail.

type TagSearch200JSONResponseBodyCode0

type TagSearch200JSONResponseBodyCode0 = int

TagSearch200JSONResponseBodyCode0 defines parameters for TagSearch.

type TagSearch200JSONResponseBodyCode1

type TagSearch200JSONResponseBodyCode1 = string

TagSearch200JSONResponseBodyCode1 defines parameters for TagSearch.

type TagSearch200JSONResponseBody_Code

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

TagSearch200JSONResponseBody_Code defines parameters for TagSearch.

func (TagSearch200JSONResponseBody_Code) AsTagSearch200JSONResponseBodyCode0

func (t TagSearch200JSONResponseBody_Code) AsTagSearch200JSONResponseBodyCode0() (TagSearch200JSONResponseBodyCode0, error)

AsTagSearch200JSONResponseBodyCode0 returns the union data inside the TagSearch200JSONResponseBody_Code as a TagSearch200JSONResponseBodyCode0

func (TagSearch200JSONResponseBody_Code) AsTagSearch200JSONResponseBodyCode1

func (t TagSearch200JSONResponseBody_Code) AsTagSearch200JSONResponseBodyCode1() (TagSearch200JSONResponseBodyCode1, error)

AsTagSearch200JSONResponseBodyCode1 returns the union data inside the TagSearch200JSONResponseBody_Code as a TagSearch200JSONResponseBodyCode1

func (*TagSearch200JSONResponseBody_Code) FromTagSearch200JSONResponseBodyCode0

func (t *TagSearch200JSONResponseBody_Code) FromTagSearch200JSONResponseBodyCode0(v TagSearch200JSONResponseBodyCode0) error

FromTagSearch200JSONResponseBodyCode0 overwrites any union data inside the TagSearch200JSONResponseBody_Code as the provided TagSearch200JSONResponseBodyCode0

func (*TagSearch200JSONResponseBody_Code) FromTagSearch200JSONResponseBodyCode1

func (t *TagSearch200JSONResponseBody_Code) FromTagSearch200JSONResponseBodyCode1(v TagSearch200JSONResponseBodyCode1) error

FromTagSearch200JSONResponseBodyCode1 overwrites any union data inside the TagSearch200JSONResponseBody_Code as the provided TagSearch200JSONResponseBodyCode1

func (TagSearch200JSONResponseBody_Code) MarshalJSON

func (t TagSearch200JSONResponseBody_Code) MarshalJSON() ([]byte, error)

func (*TagSearch200JSONResponseBody_Code) MergeTagSearch200JSONResponseBodyCode0

func (t *TagSearch200JSONResponseBody_Code) MergeTagSearch200JSONResponseBodyCode0(v TagSearch200JSONResponseBodyCode0) error

MergeTagSearch200JSONResponseBodyCode0 performs a merge with any union data inside the TagSearch200JSONResponseBody_Code, using the provided TagSearch200JSONResponseBodyCode0

func (*TagSearch200JSONResponseBody_Code) MergeTagSearch200JSONResponseBodyCode1

func (t *TagSearch200JSONResponseBody_Code) MergeTagSearch200JSONResponseBodyCode1(v TagSearch200JSONResponseBodyCode1) error

MergeTagSearch200JSONResponseBodyCode1 performs a merge with any union data inside the TagSearch200JSONResponseBody_Code, using the provided TagSearch200JSONResponseBodyCode1

func (*TagSearch200JSONResponseBody_Code) UnmarshalJSON

func (t *TagSearch200JSONResponseBody_Code) UnmarshalJSON(b []byte) error

type TagSearch401JSONResponseBodyCode0

type TagSearch401JSONResponseBodyCode0 = int

TagSearch401JSONResponseBodyCode0 defines parameters for TagSearch.

type TagSearch401JSONResponseBodyCode1

type TagSearch401JSONResponseBodyCode1 = string

TagSearch401JSONResponseBodyCode1 defines parameters for TagSearch.

type TagSearch401JSONResponseBody_Code

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

TagSearch401JSONResponseBody_Code defines parameters for TagSearch.

func (TagSearch401JSONResponseBody_Code) AsTagSearch401JSONResponseBodyCode0

func (t TagSearch401JSONResponseBody_Code) AsTagSearch401JSONResponseBodyCode0() (TagSearch401JSONResponseBodyCode0, error)

AsTagSearch401JSONResponseBodyCode0 returns the union data inside the TagSearch401JSONResponseBody_Code as a TagSearch401JSONResponseBodyCode0

func (TagSearch401JSONResponseBody_Code) AsTagSearch401JSONResponseBodyCode1

func (t TagSearch401JSONResponseBody_Code) AsTagSearch401JSONResponseBodyCode1() (TagSearch401JSONResponseBodyCode1, error)

AsTagSearch401JSONResponseBodyCode1 returns the union data inside the TagSearch401JSONResponseBody_Code as a TagSearch401JSONResponseBodyCode1

func (*TagSearch401JSONResponseBody_Code) FromTagSearch401JSONResponseBodyCode0

func (t *TagSearch401JSONResponseBody_Code) FromTagSearch401JSONResponseBodyCode0(v TagSearch401JSONResponseBodyCode0) error

FromTagSearch401JSONResponseBodyCode0 overwrites any union data inside the TagSearch401JSONResponseBody_Code as the provided TagSearch401JSONResponseBodyCode0

func (*TagSearch401JSONResponseBody_Code) FromTagSearch401JSONResponseBodyCode1

func (t *TagSearch401JSONResponseBody_Code) FromTagSearch401JSONResponseBodyCode1(v TagSearch401JSONResponseBodyCode1) error

FromTagSearch401JSONResponseBodyCode1 overwrites any union data inside the TagSearch401JSONResponseBody_Code as the provided TagSearch401JSONResponseBodyCode1

func (TagSearch401JSONResponseBody_Code) MarshalJSON

func (t TagSearch401JSONResponseBody_Code) MarshalJSON() ([]byte, error)

func (*TagSearch401JSONResponseBody_Code) MergeTagSearch401JSONResponseBodyCode0

func (t *TagSearch401JSONResponseBody_Code) MergeTagSearch401JSONResponseBodyCode0(v TagSearch401JSONResponseBodyCode0) error

MergeTagSearch401JSONResponseBodyCode0 performs a merge with any union data inside the TagSearch401JSONResponseBody_Code, using the provided TagSearch401JSONResponseBodyCode0

func (*TagSearch401JSONResponseBody_Code) MergeTagSearch401JSONResponseBodyCode1

func (t *TagSearch401JSONResponseBody_Code) MergeTagSearch401JSONResponseBodyCode1(v TagSearch401JSONResponseBodyCode1) error

MergeTagSearch401JSONResponseBodyCode1 performs a merge with any union data inside the TagSearch401JSONResponseBody_Code, using the provided TagSearch401JSONResponseBodyCode1

func (*TagSearch401JSONResponseBody_Code) UnmarshalJSON

func (t *TagSearch401JSONResponseBody_Code) UnmarshalJSON(b []byte) error

type TagSearchParams

type TagSearchParams struct {
	// Keyword 搜索关键词
	Keyword *string `form:"keyword,omitempty" json:"keyword,omitempty"`

	// TypeId Tag 类目 ID,用于过滤(uint64 线格式为字符串)
	TypeId *string `form:"typeId,omitempty" json:"typeId,omitempty"`

	// Classification 分类标签 ID,用于过滤(uint64 线格式为字符串)
	Classification *string `form:"classification,omitempty" json:"classification,omitempty"`

	// FilterOptions 筛选标签 ID 数组,可填多个(uint64[] 线格式为字符串数组)
	FilterOptions *[]string `form:"filterOptions,omitempty" json:"filterOptions,omitempty"`

	// Offset 分页偏移量(offset+limit<=100,uint64 线格式为字符串)
	Offset *string `form:"offset,omitempty" json:"offset,omitempty"`

	// Limit 每页数量(offset+limit<=100,uint64 线格式为字符串)
	Limit *string `form:"limit,omitempty" json:"limit,omitempty"`

	// AccessToken 用户授权凭证或应用凭证的访问令牌,通过 /auth/v1/token 获取。standard 鉴权方案下必须携带;SDK 层面只要求“传了某个凭证”,不区分是 CLIENT_CREDENTIALS 换的应用凭证还是 AUTHORIZATION_CODE 换的用户授权凭证——见该 operation 上的 x-qdmp-token-required。
	AccessToken AccessTokenHeader `json:"access-token"`

	// XEchoQdmpVersion qdmp 协议版本标识,可由 SDK 配置项覆盖,默认值 "1.0"。仅 standard 鉴权方案需要。
	XEchoQdmpVersion QdmpVersionHeader `json:"x-echo-qdmp-version"`
}

TagSearchParams defines parameters for TagSearch.

type UnauthorizedResponse added in v0.4.0

type UnauthorizedResponse = BusinessEnvelopeBase

UnauthorizedResponse 业务信封基础结构 {code, message, requestId, data}(data 由各 operation 的响应单独描述)。实测确认:code 字段类型不统一,见过数字(0/10008/20000等)也见过字符串("0");且不保证 HTTP 200 即代表业务成功——例如 refreshToken 过期时是 HTTP 200 + code=10008,而 access-token 缺失/非法则是真实 HTTP 401 + code=10005。调用方必须显式检查 code 字段,不能只信任 HTTP 状态码。

type UserMe200JSONResponseBodyCode0

type UserMe200JSONResponseBodyCode0 = int

UserMe200JSONResponseBodyCode0 defines parameters for UserMe.

type UserMe200JSONResponseBodyCode1

type UserMe200JSONResponseBodyCode1 = string

UserMe200JSONResponseBodyCode1 defines parameters for UserMe.

type UserMe200JSONResponseBody_Code

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

UserMe200JSONResponseBody_Code defines parameters for UserMe.

func (UserMe200JSONResponseBody_Code) AsUserMe200JSONResponseBodyCode0

func (t UserMe200JSONResponseBody_Code) AsUserMe200JSONResponseBodyCode0() (UserMe200JSONResponseBodyCode0, error)

AsUserMe200JSONResponseBodyCode0 returns the union data inside the UserMe200JSONResponseBody_Code as a UserMe200JSONResponseBodyCode0

func (UserMe200JSONResponseBody_Code) AsUserMe200JSONResponseBodyCode1

func (t UserMe200JSONResponseBody_Code) AsUserMe200JSONResponseBodyCode1() (UserMe200JSONResponseBodyCode1, error)

AsUserMe200JSONResponseBodyCode1 returns the union data inside the UserMe200JSONResponseBody_Code as a UserMe200JSONResponseBodyCode1

func (*UserMe200JSONResponseBody_Code) FromUserMe200JSONResponseBodyCode0

func (t *UserMe200JSONResponseBody_Code) FromUserMe200JSONResponseBodyCode0(v UserMe200JSONResponseBodyCode0) error

FromUserMe200JSONResponseBodyCode0 overwrites any union data inside the UserMe200JSONResponseBody_Code as the provided UserMe200JSONResponseBodyCode0

func (*UserMe200JSONResponseBody_Code) FromUserMe200JSONResponseBodyCode1

func (t *UserMe200JSONResponseBody_Code) FromUserMe200JSONResponseBodyCode1(v UserMe200JSONResponseBodyCode1) error

FromUserMe200JSONResponseBodyCode1 overwrites any union data inside the UserMe200JSONResponseBody_Code as the provided UserMe200JSONResponseBodyCode1

func (UserMe200JSONResponseBody_Code) MarshalJSON

func (t UserMe200JSONResponseBody_Code) MarshalJSON() ([]byte, error)

func (*UserMe200JSONResponseBody_Code) MergeUserMe200JSONResponseBodyCode0

func (t *UserMe200JSONResponseBody_Code) MergeUserMe200JSONResponseBodyCode0(v UserMe200JSONResponseBodyCode0) error

MergeUserMe200JSONResponseBodyCode0 performs a merge with any union data inside the UserMe200JSONResponseBody_Code, using the provided UserMe200JSONResponseBodyCode0

func (*UserMe200JSONResponseBody_Code) MergeUserMe200JSONResponseBodyCode1

func (t *UserMe200JSONResponseBody_Code) MergeUserMe200JSONResponseBodyCode1(v UserMe200JSONResponseBodyCode1) error

MergeUserMe200JSONResponseBodyCode1 performs a merge with any union data inside the UserMe200JSONResponseBody_Code, using the provided UserMe200JSONResponseBodyCode1

func (*UserMe200JSONResponseBody_Code) UnmarshalJSON

func (t *UserMe200JSONResponseBody_Code) UnmarshalJSON(b []byte) error

type UserMe401JSONResponseBodyCode0

type UserMe401JSONResponseBodyCode0 = int

UserMe401JSONResponseBodyCode0 defines parameters for UserMe.

type UserMe401JSONResponseBodyCode1

type UserMe401JSONResponseBodyCode1 = string

UserMe401JSONResponseBodyCode1 defines parameters for UserMe.

type UserMe401JSONResponseBody_Code

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

UserMe401JSONResponseBody_Code defines parameters for UserMe.

func (UserMe401JSONResponseBody_Code) AsUserMe401JSONResponseBodyCode0

func (t UserMe401JSONResponseBody_Code) AsUserMe401JSONResponseBodyCode0() (UserMe401JSONResponseBodyCode0, error)

AsUserMe401JSONResponseBodyCode0 returns the union data inside the UserMe401JSONResponseBody_Code as a UserMe401JSONResponseBodyCode0

func (UserMe401JSONResponseBody_Code) AsUserMe401JSONResponseBodyCode1

func (t UserMe401JSONResponseBody_Code) AsUserMe401JSONResponseBodyCode1() (UserMe401JSONResponseBodyCode1, error)

AsUserMe401JSONResponseBodyCode1 returns the union data inside the UserMe401JSONResponseBody_Code as a UserMe401JSONResponseBodyCode1

func (*UserMe401JSONResponseBody_Code) FromUserMe401JSONResponseBodyCode0

func (t *UserMe401JSONResponseBody_Code) FromUserMe401JSONResponseBodyCode0(v UserMe401JSONResponseBodyCode0) error

FromUserMe401JSONResponseBodyCode0 overwrites any union data inside the UserMe401JSONResponseBody_Code as the provided UserMe401JSONResponseBodyCode0

func (*UserMe401JSONResponseBody_Code) FromUserMe401JSONResponseBodyCode1

func (t *UserMe401JSONResponseBody_Code) FromUserMe401JSONResponseBodyCode1(v UserMe401JSONResponseBodyCode1) error

FromUserMe401JSONResponseBodyCode1 overwrites any union data inside the UserMe401JSONResponseBody_Code as the provided UserMe401JSONResponseBodyCode1

func (UserMe401JSONResponseBody_Code) MarshalJSON

func (t UserMe401JSONResponseBody_Code) MarshalJSON() ([]byte, error)

func (*UserMe401JSONResponseBody_Code) MergeUserMe401JSONResponseBodyCode0

func (t *UserMe401JSONResponseBody_Code) MergeUserMe401JSONResponseBodyCode0(v UserMe401JSONResponseBodyCode0) error

MergeUserMe401JSONResponseBodyCode0 performs a merge with any union data inside the UserMe401JSONResponseBody_Code, using the provided UserMe401JSONResponseBodyCode0

func (*UserMe401JSONResponseBody_Code) MergeUserMe401JSONResponseBodyCode1

func (t *UserMe401JSONResponseBody_Code) MergeUserMe401JSONResponseBodyCode1(v UserMe401JSONResponseBodyCode1) error

MergeUserMe401JSONResponseBodyCode1 performs a merge with any union data inside the UserMe401JSONResponseBody_Code, using the provided UserMe401JSONResponseBodyCode1

func (*UserMe401JSONResponseBody_Code) UnmarshalJSON

func (t *UserMe401JSONResponseBody_Code) UnmarshalJSON(b []byte) error

type UserMeParams

type UserMeParams struct {
	// AccessToken 用户授权凭证或应用凭证的访问令牌,通过 /auth/v1/token 获取。standard 鉴权方案下必须携带;SDK 层面只要求“传了某个凭证”,不区分是 CLIENT_CREDENTIALS 换的应用凭证还是 AUTHORIZATION_CODE 换的用户授权凭证——见该 operation 上的 x-qdmp-token-required。
	AccessToken AccessTokenHeader `json:"access-token"`

	// XEchoQdmpVersion qdmp 协议版本标识,可由 SDK 配置项覆盖,默认值 "1.0"。仅 standard 鉴权方案需要。
	XEchoQdmpVersion QdmpVersionHeader `json:"x-echo-qdmp-version"`
}

UserMeParams defines parameters for UserMe.

type WishAdd200JSONResponseBodyCode0

type WishAdd200JSONResponseBodyCode0 = int

WishAdd200JSONResponseBodyCode0 defines parameters for WishAdd.

type WishAdd200JSONResponseBodyCode1

type WishAdd200JSONResponseBodyCode1 = string

WishAdd200JSONResponseBodyCode1 defines parameters for WishAdd.

type WishAdd200JSONResponseBody_Code

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

WishAdd200JSONResponseBody_Code defines parameters for WishAdd.

func (WishAdd200JSONResponseBody_Code) AsWishAdd200JSONResponseBodyCode0

func (t WishAdd200JSONResponseBody_Code) AsWishAdd200JSONResponseBodyCode0() (WishAdd200JSONResponseBodyCode0, error)

AsWishAdd200JSONResponseBodyCode0 returns the union data inside the WishAdd200JSONResponseBody_Code as a WishAdd200JSONResponseBodyCode0

func (WishAdd200JSONResponseBody_Code) AsWishAdd200JSONResponseBodyCode1

func (t WishAdd200JSONResponseBody_Code) AsWishAdd200JSONResponseBodyCode1() (WishAdd200JSONResponseBodyCode1, error)

AsWishAdd200JSONResponseBodyCode1 returns the union data inside the WishAdd200JSONResponseBody_Code as a WishAdd200JSONResponseBodyCode1

func (*WishAdd200JSONResponseBody_Code) FromWishAdd200JSONResponseBodyCode0

func (t *WishAdd200JSONResponseBody_Code) FromWishAdd200JSONResponseBodyCode0(v WishAdd200JSONResponseBodyCode0) error

FromWishAdd200JSONResponseBodyCode0 overwrites any union data inside the WishAdd200JSONResponseBody_Code as the provided WishAdd200JSONResponseBodyCode0

func (*WishAdd200JSONResponseBody_Code) FromWishAdd200JSONResponseBodyCode1

func (t *WishAdd200JSONResponseBody_Code) FromWishAdd200JSONResponseBodyCode1(v WishAdd200JSONResponseBodyCode1) error

FromWishAdd200JSONResponseBodyCode1 overwrites any union data inside the WishAdd200JSONResponseBody_Code as the provided WishAdd200JSONResponseBodyCode1

func (WishAdd200JSONResponseBody_Code) MarshalJSON

func (t WishAdd200JSONResponseBody_Code) MarshalJSON() ([]byte, error)

func (*WishAdd200JSONResponseBody_Code) MergeWishAdd200JSONResponseBodyCode0

func (t *WishAdd200JSONResponseBody_Code) MergeWishAdd200JSONResponseBodyCode0(v WishAdd200JSONResponseBodyCode0) error

MergeWishAdd200JSONResponseBodyCode0 performs a merge with any union data inside the WishAdd200JSONResponseBody_Code, using the provided WishAdd200JSONResponseBodyCode0

func (*WishAdd200JSONResponseBody_Code) MergeWishAdd200JSONResponseBodyCode1

func (t *WishAdd200JSONResponseBody_Code) MergeWishAdd200JSONResponseBodyCode1(v WishAdd200JSONResponseBodyCode1) error

MergeWishAdd200JSONResponseBodyCode1 performs a merge with any union data inside the WishAdd200JSONResponseBody_Code, using the provided WishAdd200JSONResponseBodyCode1

func (*WishAdd200JSONResponseBody_Code) UnmarshalJSON

func (t *WishAdd200JSONResponseBody_Code) UnmarshalJSON(b []byte) error

type WishAdd401JSONResponseBodyCode0

type WishAdd401JSONResponseBodyCode0 = int

WishAdd401JSONResponseBodyCode0 defines parameters for WishAdd.

type WishAdd401JSONResponseBodyCode1

type WishAdd401JSONResponseBodyCode1 = string

WishAdd401JSONResponseBodyCode1 defines parameters for WishAdd.

type WishAdd401JSONResponseBody_Code

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

WishAdd401JSONResponseBody_Code defines parameters for WishAdd.

func (WishAdd401JSONResponseBody_Code) AsWishAdd401JSONResponseBodyCode0

func (t WishAdd401JSONResponseBody_Code) AsWishAdd401JSONResponseBodyCode0() (WishAdd401JSONResponseBodyCode0, error)

AsWishAdd401JSONResponseBodyCode0 returns the union data inside the WishAdd401JSONResponseBody_Code as a WishAdd401JSONResponseBodyCode0

func (WishAdd401JSONResponseBody_Code) AsWishAdd401JSONResponseBodyCode1

func (t WishAdd401JSONResponseBody_Code) AsWishAdd401JSONResponseBodyCode1() (WishAdd401JSONResponseBodyCode1, error)

AsWishAdd401JSONResponseBodyCode1 returns the union data inside the WishAdd401JSONResponseBody_Code as a WishAdd401JSONResponseBodyCode1

func (*WishAdd401JSONResponseBody_Code) FromWishAdd401JSONResponseBodyCode0

func (t *WishAdd401JSONResponseBody_Code) FromWishAdd401JSONResponseBodyCode0(v WishAdd401JSONResponseBodyCode0) error

FromWishAdd401JSONResponseBodyCode0 overwrites any union data inside the WishAdd401JSONResponseBody_Code as the provided WishAdd401JSONResponseBodyCode0

func (*WishAdd401JSONResponseBody_Code) FromWishAdd401JSONResponseBodyCode1

func (t *WishAdd401JSONResponseBody_Code) FromWishAdd401JSONResponseBodyCode1(v WishAdd401JSONResponseBodyCode1) error

FromWishAdd401JSONResponseBodyCode1 overwrites any union data inside the WishAdd401JSONResponseBody_Code as the provided WishAdd401JSONResponseBodyCode1

func (WishAdd401JSONResponseBody_Code) MarshalJSON

func (t WishAdd401JSONResponseBody_Code) MarshalJSON() ([]byte, error)

func (*WishAdd401JSONResponseBody_Code) MergeWishAdd401JSONResponseBodyCode0

func (t *WishAdd401JSONResponseBody_Code) MergeWishAdd401JSONResponseBodyCode0(v WishAdd401JSONResponseBodyCode0) error

MergeWishAdd401JSONResponseBodyCode0 performs a merge with any union data inside the WishAdd401JSONResponseBody_Code, using the provided WishAdd401JSONResponseBodyCode0

func (*WishAdd401JSONResponseBody_Code) MergeWishAdd401JSONResponseBodyCode1

func (t *WishAdd401JSONResponseBody_Code) MergeWishAdd401JSONResponseBodyCode1(v WishAdd401JSONResponseBodyCode1) error

MergeWishAdd401JSONResponseBodyCode1 performs a merge with any union data inside the WishAdd401JSONResponseBody_Code, using the provided WishAdd401JSONResponseBodyCode1

func (*WishAdd401JSONResponseBody_Code) UnmarshalJSON

func (t *WishAdd401JSONResponseBody_Code) UnmarshalJSON(b []byte) error

type WishAddJSONBody

type WishAddJSONBody struct {
	// Ids 目标 ID 列表(type 为 SPU 时表示 SPU ID;int64[] 线格式为字符串数组)
	Ids []string `json:"ids"`

	// Type 目标类型:WISH_SPU_TYPE_SPU
	Type WishAddJSONBodyType `json:"type"`
}

WishAddJSONBody defines parameters for WishAdd.

type WishAddJSONBodyType

type WishAddJSONBodyType string

WishAddJSONBodyType defines parameters for WishAdd.

const (
	WishAddJSONBodyTypeWISHSPUTYPESPU WishAddJSONBodyType = "WISH_SPU_TYPE_SPU"
)

Defines values for WishAddJSONBodyType.

func (WishAddJSONBodyType) Valid

func (e WishAddJSONBodyType) Valid() bool

Valid indicates whether the value is a known member of the WishAddJSONBodyType enum.

type WishAddJSONRequestBody

type WishAddJSONRequestBody WishAddJSONBody

WishAddJSONRequestBody defines body for WishAdd for application/json ContentType.

type WishAddParams

type WishAddParams struct {
	// AccessToken 用户授权凭证或应用凭证的访问令牌,通过 /auth/v1/token 获取。standard 鉴权方案下必须携带;SDK 层面只要求“传了某个凭证”,不区分是 CLIENT_CREDENTIALS 换的应用凭证还是 AUTHORIZATION_CODE 换的用户授权凭证——见该 operation 上的 x-qdmp-token-required。
	AccessToken AccessTokenHeader `json:"access-token"`

	// XEchoQdmpVersion qdmp 协议版本标识,可由 SDK 配置项覆盖,默认值 "1.0"。仅 standard 鉴权方案需要。
	XEchoQdmpVersion QdmpVersionHeader `json:"x-echo-qdmp-version"`
}

WishAddParams defines parameters for WishAdd.

type WishCancel200JSONResponseBodyCode0

type WishCancel200JSONResponseBodyCode0 = int

WishCancel200JSONResponseBodyCode0 defines parameters for WishCancel.

type WishCancel200JSONResponseBodyCode1

type WishCancel200JSONResponseBodyCode1 = string

WishCancel200JSONResponseBodyCode1 defines parameters for WishCancel.

type WishCancel200JSONResponseBody_Code

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

WishCancel200JSONResponseBody_Code defines parameters for WishCancel.

func (WishCancel200JSONResponseBody_Code) AsWishCancel200JSONResponseBodyCode0

func (t WishCancel200JSONResponseBody_Code) AsWishCancel200JSONResponseBodyCode0() (WishCancel200JSONResponseBodyCode0, error)

AsWishCancel200JSONResponseBodyCode0 returns the union data inside the WishCancel200JSONResponseBody_Code as a WishCancel200JSONResponseBodyCode0

func (WishCancel200JSONResponseBody_Code) AsWishCancel200JSONResponseBodyCode1

func (t WishCancel200JSONResponseBody_Code) AsWishCancel200JSONResponseBodyCode1() (WishCancel200JSONResponseBodyCode1, error)

AsWishCancel200JSONResponseBodyCode1 returns the union data inside the WishCancel200JSONResponseBody_Code as a WishCancel200JSONResponseBodyCode1

func (*WishCancel200JSONResponseBody_Code) FromWishCancel200JSONResponseBodyCode0

func (t *WishCancel200JSONResponseBody_Code) FromWishCancel200JSONResponseBodyCode0(v WishCancel200JSONResponseBodyCode0) error

FromWishCancel200JSONResponseBodyCode0 overwrites any union data inside the WishCancel200JSONResponseBody_Code as the provided WishCancel200JSONResponseBodyCode0

func (*WishCancel200JSONResponseBody_Code) FromWishCancel200JSONResponseBodyCode1

func (t *WishCancel200JSONResponseBody_Code) FromWishCancel200JSONResponseBodyCode1(v WishCancel200JSONResponseBodyCode1) error

FromWishCancel200JSONResponseBodyCode1 overwrites any union data inside the WishCancel200JSONResponseBody_Code as the provided WishCancel200JSONResponseBodyCode1

func (WishCancel200JSONResponseBody_Code) MarshalJSON

func (t WishCancel200JSONResponseBody_Code) MarshalJSON() ([]byte, error)

func (*WishCancel200JSONResponseBody_Code) MergeWishCancel200JSONResponseBodyCode0

func (t *WishCancel200JSONResponseBody_Code) MergeWishCancel200JSONResponseBodyCode0(v WishCancel200JSONResponseBodyCode0) error

MergeWishCancel200JSONResponseBodyCode0 performs a merge with any union data inside the WishCancel200JSONResponseBody_Code, using the provided WishCancel200JSONResponseBodyCode0

func (*WishCancel200JSONResponseBody_Code) MergeWishCancel200JSONResponseBodyCode1

func (t *WishCancel200JSONResponseBody_Code) MergeWishCancel200JSONResponseBodyCode1(v WishCancel200JSONResponseBodyCode1) error

MergeWishCancel200JSONResponseBodyCode1 performs a merge with any union data inside the WishCancel200JSONResponseBody_Code, using the provided WishCancel200JSONResponseBodyCode1

func (*WishCancel200JSONResponseBody_Code) UnmarshalJSON

func (t *WishCancel200JSONResponseBody_Code) UnmarshalJSON(b []byte) error

type WishCancel401JSONResponseBodyCode0

type WishCancel401JSONResponseBodyCode0 = int

WishCancel401JSONResponseBodyCode0 defines parameters for WishCancel.

type WishCancel401JSONResponseBodyCode1

type WishCancel401JSONResponseBodyCode1 = string

WishCancel401JSONResponseBodyCode1 defines parameters for WishCancel.

type WishCancel401JSONResponseBody_Code

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

WishCancel401JSONResponseBody_Code defines parameters for WishCancel.

func (WishCancel401JSONResponseBody_Code) AsWishCancel401JSONResponseBodyCode0

func (t WishCancel401JSONResponseBody_Code) AsWishCancel401JSONResponseBodyCode0() (WishCancel401JSONResponseBodyCode0, error)

AsWishCancel401JSONResponseBodyCode0 returns the union data inside the WishCancel401JSONResponseBody_Code as a WishCancel401JSONResponseBodyCode0

func (WishCancel401JSONResponseBody_Code) AsWishCancel401JSONResponseBodyCode1

func (t WishCancel401JSONResponseBody_Code) AsWishCancel401JSONResponseBodyCode1() (WishCancel401JSONResponseBodyCode1, error)

AsWishCancel401JSONResponseBodyCode1 returns the union data inside the WishCancel401JSONResponseBody_Code as a WishCancel401JSONResponseBodyCode1

func (*WishCancel401JSONResponseBody_Code) FromWishCancel401JSONResponseBodyCode0

func (t *WishCancel401JSONResponseBody_Code) FromWishCancel401JSONResponseBodyCode0(v WishCancel401JSONResponseBodyCode0) error

FromWishCancel401JSONResponseBodyCode0 overwrites any union data inside the WishCancel401JSONResponseBody_Code as the provided WishCancel401JSONResponseBodyCode0

func (*WishCancel401JSONResponseBody_Code) FromWishCancel401JSONResponseBodyCode1

func (t *WishCancel401JSONResponseBody_Code) FromWishCancel401JSONResponseBodyCode1(v WishCancel401JSONResponseBodyCode1) error

FromWishCancel401JSONResponseBodyCode1 overwrites any union data inside the WishCancel401JSONResponseBody_Code as the provided WishCancel401JSONResponseBodyCode1

func (WishCancel401JSONResponseBody_Code) MarshalJSON

func (t WishCancel401JSONResponseBody_Code) MarshalJSON() ([]byte, error)

func (*WishCancel401JSONResponseBody_Code) MergeWishCancel401JSONResponseBodyCode0

func (t *WishCancel401JSONResponseBody_Code) MergeWishCancel401JSONResponseBodyCode0(v WishCancel401JSONResponseBodyCode0) error

MergeWishCancel401JSONResponseBodyCode0 performs a merge with any union data inside the WishCancel401JSONResponseBody_Code, using the provided WishCancel401JSONResponseBodyCode0

func (*WishCancel401JSONResponseBody_Code) MergeWishCancel401JSONResponseBodyCode1

func (t *WishCancel401JSONResponseBody_Code) MergeWishCancel401JSONResponseBodyCode1(v WishCancel401JSONResponseBodyCode1) error

MergeWishCancel401JSONResponseBodyCode1 performs a merge with any union data inside the WishCancel401JSONResponseBody_Code, using the provided WishCancel401JSONResponseBodyCode1

func (*WishCancel401JSONResponseBody_Code) UnmarshalJSON

func (t *WishCancel401JSONResponseBody_Code) UnmarshalJSON(b []byte) error

type WishCancelJSONBody

type WishCancelJSONBody struct {
	// Ids 目标 ID 列表(int64[] 线格式为字符串数组)
	Ids []string `json:"ids"`

	// Type 目标类型:WISH_SPU_TYPE_SPU
	Type WishCancelJSONBodyType `json:"type"`
}

WishCancelJSONBody defines parameters for WishCancel.

type WishCancelJSONBodyType

type WishCancelJSONBodyType string

WishCancelJSONBodyType defines parameters for WishCancel.

const (
	WishCancelJSONBodyTypeWISHSPUTYPESPU WishCancelJSONBodyType = "WISH_SPU_TYPE_SPU"
)

Defines values for WishCancelJSONBodyType.

func (WishCancelJSONBodyType) Valid

func (e WishCancelJSONBodyType) Valid() bool

Valid indicates whether the value is a known member of the WishCancelJSONBodyType enum.

type WishCancelJSONRequestBody

type WishCancelJSONRequestBody WishCancelJSONBody

WishCancelJSONRequestBody defines body for WishCancel for application/json ContentType.

type WishCancelParams

type WishCancelParams struct {
	// AccessToken 用户授权凭证或应用凭证的访问令牌,通过 /auth/v1/token 获取。standard 鉴权方案下必须携带;SDK 层面只要求“传了某个凭证”,不区分是 CLIENT_CREDENTIALS 换的应用凭证还是 AUTHORIZATION_CODE 换的用户授权凭证——见该 operation 上的 x-qdmp-token-required。
	AccessToken AccessTokenHeader `json:"access-token"`

	// XEchoQdmpVersion qdmp 协议版本标识,可由 SDK 配置项覆盖,默认值 "1.0"。仅 standard 鉴权方案需要。
	XEchoQdmpVersion QdmpVersionHeader `json:"x-echo-qdmp-version"`
}

WishCancelParams defines parameters for WishCancel.

type WishList200JSONResponseBodyCode0

type WishList200JSONResponseBodyCode0 = int

WishList200JSONResponseBodyCode0 defines parameters for WishList.

type WishList200JSONResponseBodyCode1

type WishList200JSONResponseBodyCode1 = string

WishList200JSONResponseBodyCode1 defines parameters for WishList.

type WishList200JSONResponseBody_Code

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

WishList200JSONResponseBody_Code defines parameters for WishList.

func (WishList200JSONResponseBody_Code) AsWishList200JSONResponseBodyCode0

func (t WishList200JSONResponseBody_Code) AsWishList200JSONResponseBodyCode0() (WishList200JSONResponseBodyCode0, error)

AsWishList200JSONResponseBodyCode0 returns the union data inside the WishList200JSONResponseBody_Code as a WishList200JSONResponseBodyCode0

func (WishList200JSONResponseBody_Code) AsWishList200JSONResponseBodyCode1

func (t WishList200JSONResponseBody_Code) AsWishList200JSONResponseBodyCode1() (WishList200JSONResponseBodyCode1, error)

AsWishList200JSONResponseBodyCode1 returns the union data inside the WishList200JSONResponseBody_Code as a WishList200JSONResponseBodyCode1

func (*WishList200JSONResponseBody_Code) FromWishList200JSONResponseBodyCode0

func (t *WishList200JSONResponseBody_Code) FromWishList200JSONResponseBodyCode0(v WishList200JSONResponseBodyCode0) error

FromWishList200JSONResponseBodyCode0 overwrites any union data inside the WishList200JSONResponseBody_Code as the provided WishList200JSONResponseBodyCode0

func (*WishList200JSONResponseBody_Code) FromWishList200JSONResponseBodyCode1

func (t *WishList200JSONResponseBody_Code) FromWishList200JSONResponseBodyCode1(v WishList200JSONResponseBodyCode1) error

FromWishList200JSONResponseBodyCode1 overwrites any union data inside the WishList200JSONResponseBody_Code as the provided WishList200JSONResponseBodyCode1

func (WishList200JSONResponseBody_Code) MarshalJSON

func (t WishList200JSONResponseBody_Code) MarshalJSON() ([]byte, error)

func (*WishList200JSONResponseBody_Code) MergeWishList200JSONResponseBodyCode0

func (t *WishList200JSONResponseBody_Code) MergeWishList200JSONResponseBodyCode0(v WishList200JSONResponseBodyCode0) error

MergeWishList200JSONResponseBodyCode0 performs a merge with any union data inside the WishList200JSONResponseBody_Code, using the provided WishList200JSONResponseBodyCode0

func (*WishList200JSONResponseBody_Code) MergeWishList200JSONResponseBodyCode1

func (t *WishList200JSONResponseBody_Code) MergeWishList200JSONResponseBodyCode1(v WishList200JSONResponseBodyCode1) error

MergeWishList200JSONResponseBodyCode1 performs a merge with any union data inside the WishList200JSONResponseBody_Code, using the provided WishList200JSONResponseBodyCode1

func (*WishList200JSONResponseBody_Code) UnmarshalJSON

func (t *WishList200JSONResponseBody_Code) UnmarshalJSON(b []byte) error

type WishList401JSONResponseBodyCode0

type WishList401JSONResponseBodyCode0 = int

WishList401JSONResponseBodyCode0 defines parameters for WishList.

type WishList401JSONResponseBodyCode1

type WishList401JSONResponseBodyCode1 = string

WishList401JSONResponseBodyCode1 defines parameters for WishList.

type WishList401JSONResponseBody_Code

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

WishList401JSONResponseBody_Code defines parameters for WishList.

func (WishList401JSONResponseBody_Code) AsWishList401JSONResponseBodyCode0

func (t WishList401JSONResponseBody_Code) AsWishList401JSONResponseBodyCode0() (WishList401JSONResponseBodyCode0, error)

AsWishList401JSONResponseBodyCode0 returns the union data inside the WishList401JSONResponseBody_Code as a WishList401JSONResponseBodyCode0

func (WishList401JSONResponseBody_Code) AsWishList401JSONResponseBodyCode1

func (t WishList401JSONResponseBody_Code) AsWishList401JSONResponseBodyCode1() (WishList401JSONResponseBodyCode1, error)

AsWishList401JSONResponseBodyCode1 returns the union data inside the WishList401JSONResponseBody_Code as a WishList401JSONResponseBodyCode1

func (*WishList401JSONResponseBody_Code) FromWishList401JSONResponseBodyCode0

func (t *WishList401JSONResponseBody_Code) FromWishList401JSONResponseBodyCode0(v WishList401JSONResponseBodyCode0) error

FromWishList401JSONResponseBodyCode0 overwrites any union data inside the WishList401JSONResponseBody_Code as the provided WishList401JSONResponseBodyCode0

func (*WishList401JSONResponseBody_Code) FromWishList401JSONResponseBodyCode1

func (t *WishList401JSONResponseBody_Code) FromWishList401JSONResponseBodyCode1(v WishList401JSONResponseBodyCode1) error

FromWishList401JSONResponseBodyCode1 overwrites any union data inside the WishList401JSONResponseBody_Code as the provided WishList401JSONResponseBodyCode1

func (WishList401JSONResponseBody_Code) MarshalJSON

func (t WishList401JSONResponseBody_Code) MarshalJSON() ([]byte, error)

func (*WishList401JSONResponseBody_Code) MergeWishList401JSONResponseBodyCode0

func (t *WishList401JSONResponseBody_Code) MergeWishList401JSONResponseBodyCode0(v WishList401JSONResponseBodyCode0) error

MergeWishList401JSONResponseBodyCode0 performs a merge with any union data inside the WishList401JSONResponseBody_Code, using the provided WishList401JSONResponseBodyCode0

func (*WishList401JSONResponseBody_Code) MergeWishList401JSONResponseBodyCode1

func (t *WishList401JSONResponseBody_Code) MergeWishList401JSONResponseBodyCode1(v WishList401JSONResponseBodyCode1) error

MergeWishList401JSONResponseBodyCode1 performs a merge with any union data inside the WishList401JSONResponseBody_Code, using the provided WishList401JSONResponseBodyCode1

func (*WishList401JSONResponseBody_Code) UnmarshalJSON

func (t *WishList401JSONResponseBody_Code) UnmarshalJSON(b []byte) error

type WishListParams

type WishListParams struct {
	// TypeId 类目 ID 过滤,为空不过滤(int64 线格式为字符串)
	TypeId *string `form:"typeId,omitempty" json:"typeId,omitempty"`

	// Offset 起始位置(int64 线格式为字符串)
	Offset string `form:"offset" json:"offset"`

	// Limit 每页数量(int64 线格式为字符串)
	Limit string `form:"limit" json:"limit"`

	// AccessToken 用户授权凭证或应用凭证的访问令牌,通过 /auth/v1/token 获取。standard 鉴权方案下必须携带;SDK 层面只要求“传了某个凭证”,不区分是 CLIENT_CREDENTIALS 换的应用凭证还是 AUTHORIZATION_CODE 换的用户授权凭证——见该 operation 上的 x-qdmp-token-required。
	AccessToken AccessTokenHeader `json:"access-token"`

	// XEchoQdmpVersion qdmp 协议版本标识,可由 SDK 配置项覆盖,默认值 "1.0"。仅 standard 鉴权方案需要。
	XEchoQdmpVersion QdmpVersionHeader `json:"x-echo-qdmp-version"`
}

WishListParams defines parameters for WishList.

Jump to

Keyboard shortcuts

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