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 ¶
- type AccessTokenHeader
- type AuthRefresh200JSONResponseBodyCode0
- type AuthRefresh200JSONResponseBodyCode1
- type AuthRefresh200JSONResponseBody_Code
- func (t AuthRefresh200JSONResponseBody_Code) AsAuthRefresh200JSONResponseBodyCode0() (AuthRefresh200JSONResponseBodyCode0, error)
- func (t AuthRefresh200JSONResponseBody_Code) AsAuthRefresh200JSONResponseBodyCode1() (AuthRefresh200JSONResponseBodyCode1, error)
- func (t *AuthRefresh200JSONResponseBody_Code) FromAuthRefresh200JSONResponseBodyCode0(v AuthRefresh200JSONResponseBodyCode0) error
- func (t *AuthRefresh200JSONResponseBody_Code) FromAuthRefresh200JSONResponseBodyCode1(v AuthRefresh200JSONResponseBodyCode1) error
- func (t AuthRefresh200JSONResponseBody_Code) MarshalJSON() ([]byte, error)
- func (t *AuthRefresh200JSONResponseBody_Code) MergeAuthRefresh200JSONResponseBodyCode0(v AuthRefresh200JSONResponseBodyCode0) error
- func (t *AuthRefresh200JSONResponseBody_Code) MergeAuthRefresh200JSONResponseBodyCode1(v AuthRefresh200JSONResponseBodyCode1) error
- func (t *AuthRefresh200JSONResponseBody_Code) UnmarshalJSON(b []byte) error
- type AuthRefreshJSONBody
- type AuthRefreshJSONRequestBody
- type AuthToken200JSONResponseBodyCode0
- type AuthToken200JSONResponseBodyCode1
- type AuthToken200JSONResponseBody_Code
- func (t AuthToken200JSONResponseBody_Code) AsAuthToken200JSONResponseBodyCode0() (AuthToken200JSONResponseBodyCode0, error)
- func (t AuthToken200JSONResponseBody_Code) AsAuthToken200JSONResponseBodyCode1() (AuthToken200JSONResponseBodyCode1, error)
- func (t *AuthToken200JSONResponseBody_Code) FromAuthToken200JSONResponseBodyCode0(v AuthToken200JSONResponseBodyCode0) error
- func (t *AuthToken200JSONResponseBody_Code) FromAuthToken200JSONResponseBodyCode1(v AuthToken200JSONResponseBodyCode1) error
- func (t AuthToken200JSONResponseBody_Code) MarshalJSON() ([]byte, error)
- func (t *AuthToken200JSONResponseBody_Code) MergeAuthToken200JSONResponseBodyCode0(v AuthToken200JSONResponseBodyCode0) error
- func (t *AuthToken200JSONResponseBody_Code) MergeAuthToken200JSONResponseBodyCode1(v AuthToken200JSONResponseBodyCode1) error
- func (t *AuthToken200JSONResponseBody_Code) UnmarshalJSON(b []byte) error
- type AuthTokenJSONBody
- type AuthTokenJSONBodyGrantType
- type AuthTokenJSONRequestBody
- type GenaiAccessTokenHeader
- type GenaiAppIdHeader
- type GenaiDetail200JSONResponseBodyCode0
- type GenaiDetail200JSONResponseBodyCode1
- type GenaiDetail200JSONResponseBodyDataStatus
- type GenaiDetail200JSONResponseBody_Code
- func (t GenaiDetail200JSONResponseBody_Code) AsGenaiDetail200JSONResponseBodyCode0() (GenaiDetail200JSONResponseBodyCode0, error)
- func (t GenaiDetail200JSONResponseBody_Code) AsGenaiDetail200JSONResponseBodyCode1() (GenaiDetail200JSONResponseBodyCode1, error)
- func (t *GenaiDetail200JSONResponseBody_Code) FromGenaiDetail200JSONResponseBodyCode0(v GenaiDetail200JSONResponseBodyCode0) error
- func (t *GenaiDetail200JSONResponseBody_Code) FromGenaiDetail200JSONResponseBodyCode1(v GenaiDetail200JSONResponseBodyCode1) error
- func (t GenaiDetail200JSONResponseBody_Code) MarshalJSON() ([]byte, error)
- func (t *GenaiDetail200JSONResponseBody_Code) MergeGenaiDetail200JSONResponseBodyCode0(v GenaiDetail200JSONResponseBodyCode0) error
- func (t *GenaiDetail200JSONResponseBody_Code) MergeGenaiDetail200JSONResponseBodyCode1(v GenaiDetail200JSONResponseBodyCode1) error
- func (t *GenaiDetail200JSONResponseBody_Code) UnmarshalJSON(b []byte) error
- type GenaiDetail401JSONResponseBodyCode0
- type GenaiDetail401JSONResponseBodyCode1
- type GenaiDetail401JSONResponseBody_Code
- func (t GenaiDetail401JSONResponseBody_Code) AsGenaiDetail401JSONResponseBodyCode0() (GenaiDetail401JSONResponseBodyCode0, error)
- func (t GenaiDetail401JSONResponseBody_Code) AsGenaiDetail401JSONResponseBodyCode1() (GenaiDetail401JSONResponseBodyCode1, error)
- func (t *GenaiDetail401JSONResponseBody_Code) FromGenaiDetail401JSONResponseBodyCode0(v GenaiDetail401JSONResponseBodyCode0) error
- func (t *GenaiDetail401JSONResponseBody_Code) FromGenaiDetail401JSONResponseBodyCode1(v GenaiDetail401JSONResponseBodyCode1) error
- func (t GenaiDetail401JSONResponseBody_Code) MarshalJSON() ([]byte, error)
- func (t *GenaiDetail401JSONResponseBody_Code) MergeGenaiDetail401JSONResponseBodyCode0(v GenaiDetail401JSONResponseBodyCode0) error
- func (t *GenaiDetail401JSONResponseBody_Code) MergeGenaiDetail401JSONResponseBodyCode1(v GenaiDetail401JSONResponseBodyCode1) error
- func (t *GenaiDetail401JSONResponseBody_Code) UnmarshalJSON(b []byte) error
- type GenaiDetailParams
- type GenaiGenerate200JSONResponseBodyCode0
- type GenaiGenerate200JSONResponseBodyCode1
- type GenaiGenerate200JSONResponseBody_Code
- func (t GenaiGenerate200JSONResponseBody_Code) AsGenaiGenerate200JSONResponseBodyCode0() (GenaiGenerate200JSONResponseBodyCode0, error)
- func (t GenaiGenerate200JSONResponseBody_Code) AsGenaiGenerate200JSONResponseBodyCode1() (GenaiGenerate200JSONResponseBodyCode1, error)
- func (t *GenaiGenerate200JSONResponseBody_Code) FromGenaiGenerate200JSONResponseBodyCode0(v GenaiGenerate200JSONResponseBodyCode0) error
- func (t *GenaiGenerate200JSONResponseBody_Code) FromGenaiGenerate200JSONResponseBodyCode1(v GenaiGenerate200JSONResponseBodyCode1) error
- func (t GenaiGenerate200JSONResponseBody_Code) MarshalJSON() ([]byte, error)
- func (t *GenaiGenerate200JSONResponseBody_Code) MergeGenaiGenerate200JSONResponseBodyCode0(v GenaiGenerate200JSONResponseBodyCode0) error
- func (t *GenaiGenerate200JSONResponseBody_Code) MergeGenaiGenerate200JSONResponseBodyCode1(v GenaiGenerate200JSONResponseBodyCode1) error
- func (t *GenaiGenerate200JSONResponseBody_Code) UnmarshalJSON(b []byte) error
- type GenaiGenerate401JSONResponseBodyCode0
- type GenaiGenerate401JSONResponseBodyCode1
- type GenaiGenerate401JSONResponseBody_Code
- func (t GenaiGenerate401JSONResponseBody_Code) AsGenaiGenerate401JSONResponseBodyCode0() (GenaiGenerate401JSONResponseBodyCode0, error)
- func (t GenaiGenerate401JSONResponseBody_Code) AsGenaiGenerate401JSONResponseBodyCode1() (GenaiGenerate401JSONResponseBodyCode1, error)
- func (t *GenaiGenerate401JSONResponseBody_Code) FromGenaiGenerate401JSONResponseBodyCode0(v GenaiGenerate401JSONResponseBodyCode0) error
- func (t *GenaiGenerate401JSONResponseBody_Code) FromGenaiGenerate401JSONResponseBodyCode1(v GenaiGenerate401JSONResponseBodyCode1) error
- func (t GenaiGenerate401JSONResponseBody_Code) MarshalJSON() ([]byte, error)
- func (t *GenaiGenerate401JSONResponseBody_Code) MergeGenaiGenerate401JSONResponseBodyCode0(v GenaiGenerate401JSONResponseBodyCode0) error
- func (t *GenaiGenerate401JSONResponseBody_Code) MergeGenaiGenerate401JSONResponseBodyCode1(v GenaiGenerate401JSONResponseBodyCode1) error
- func (t *GenaiGenerate401JSONResponseBody_Code) UnmarshalJSON(b []byte) error
- type GenaiGenerateJSONBody
- type GenaiGenerateJSONBody_Contents_Parts_Item
- func (a GenaiGenerateJSONBody_Contents_Parts_Item) Get(fieldName string) (value interface{}, found bool)
- func (a GenaiGenerateJSONBody_Contents_Parts_Item) MarshalJSON() ([]byte, error)
- func (a *GenaiGenerateJSONBody_Contents_Parts_Item) Set(fieldName string, value interface{})
- func (a *GenaiGenerateJSONBody_Contents_Parts_Item) UnmarshalJSON(b []byte) error
- type GenaiGenerateJSONRequestBody
- type GenaiGenerateParams
- type IslandDetail200JSONResponseBodyCode0
- type IslandDetail200JSONResponseBodyCode1
- type IslandDetail200JSONResponseBody_Code
- func (t IslandDetail200JSONResponseBody_Code) AsIslandDetail200JSONResponseBodyCode0() (IslandDetail200JSONResponseBodyCode0, error)
- func (t IslandDetail200JSONResponseBody_Code) AsIslandDetail200JSONResponseBodyCode1() (IslandDetail200JSONResponseBodyCode1, error)
- func (t *IslandDetail200JSONResponseBody_Code) FromIslandDetail200JSONResponseBodyCode0(v IslandDetail200JSONResponseBodyCode0) error
- func (t *IslandDetail200JSONResponseBody_Code) FromIslandDetail200JSONResponseBodyCode1(v IslandDetail200JSONResponseBodyCode1) error
- func (t IslandDetail200JSONResponseBody_Code) MarshalJSON() ([]byte, error)
- func (t *IslandDetail200JSONResponseBody_Code) MergeIslandDetail200JSONResponseBodyCode0(v IslandDetail200JSONResponseBodyCode0) error
- func (t *IslandDetail200JSONResponseBody_Code) MergeIslandDetail200JSONResponseBodyCode1(v IslandDetail200JSONResponseBodyCode1) error
- func (t *IslandDetail200JSONResponseBody_Code) UnmarshalJSON(b []byte) error
- type IslandDetail401JSONResponseBodyCode0
- type IslandDetail401JSONResponseBodyCode1
- type IslandDetail401JSONResponseBody_Code
- func (t IslandDetail401JSONResponseBody_Code) AsIslandDetail401JSONResponseBodyCode0() (IslandDetail401JSONResponseBodyCode0, error)
- func (t IslandDetail401JSONResponseBody_Code) AsIslandDetail401JSONResponseBodyCode1() (IslandDetail401JSONResponseBodyCode1, error)
- func (t *IslandDetail401JSONResponseBody_Code) FromIslandDetail401JSONResponseBodyCode0(v IslandDetail401JSONResponseBodyCode0) error
- func (t *IslandDetail401JSONResponseBody_Code) FromIslandDetail401JSONResponseBodyCode1(v IslandDetail401JSONResponseBodyCode1) error
- func (t IslandDetail401JSONResponseBody_Code) MarshalJSON() ([]byte, error)
- func (t *IslandDetail401JSONResponseBody_Code) MergeIslandDetail401JSONResponseBodyCode0(v IslandDetail401JSONResponseBodyCode0) error
- func (t *IslandDetail401JSONResponseBody_Code) MergeIslandDetail401JSONResponseBodyCode1(v IslandDetail401JSONResponseBodyCode1) error
- func (t *IslandDetail401JSONResponseBody_Code) UnmarshalJSON(b []byte) error
- type IslandDetailParams
- type MarkAdd200JSONResponseBodyCode0
- type MarkAdd200JSONResponseBodyCode1
- type MarkAdd200JSONResponseBody_Code
- func (t MarkAdd200JSONResponseBody_Code) AsMarkAdd200JSONResponseBodyCode0() (MarkAdd200JSONResponseBodyCode0, error)
- func (t MarkAdd200JSONResponseBody_Code) AsMarkAdd200JSONResponseBodyCode1() (MarkAdd200JSONResponseBodyCode1, error)
- func (t *MarkAdd200JSONResponseBody_Code) FromMarkAdd200JSONResponseBodyCode0(v MarkAdd200JSONResponseBodyCode0) error
- func (t *MarkAdd200JSONResponseBody_Code) FromMarkAdd200JSONResponseBodyCode1(v MarkAdd200JSONResponseBodyCode1) error
- func (t MarkAdd200JSONResponseBody_Code) MarshalJSON() ([]byte, error)
- func (t *MarkAdd200JSONResponseBody_Code) MergeMarkAdd200JSONResponseBodyCode0(v MarkAdd200JSONResponseBodyCode0) error
- func (t *MarkAdd200JSONResponseBody_Code) MergeMarkAdd200JSONResponseBodyCode1(v MarkAdd200JSONResponseBodyCode1) error
- func (t *MarkAdd200JSONResponseBody_Code) UnmarshalJSON(b []byte) error
- type MarkAdd401JSONResponseBodyCode0
- type MarkAdd401JSONResponseBodyCode1
- type MarkAdd401JSONResponseBody_Code
- func (t MarkAdd401JSONResponseBody_Code) AsMarkAdd401JSONResponseBodyCode0() (MarkAdd401JSONResponseBodyCode0, error)
- func (t MarkAdd401JSONResponseBody_Code) AsMarkAdd401JSONResponseBodyCode1() (MarkAdd401JSONResponseBodyCode1, error)
- func (t *MarkAdd401JSONResponseBody_Code) FromMarkAdd401JSONResponseBodyCode0(v MarkAdd401JSONResponseBodyCode0) error
- func (t *MarkAdd401JSONResponseBody_Code) FromMarkAdd401JSONResponseBodyCode1(v MarkAdd401JSONResponseBodyCode1) error
- func (t MarkAdd401JSONResponseBody_Code) MarshalJSON() ([]byte, error)
- func (t *MarkAdd401JSONResponseBody_Code) MergeMarkAdd401JSONResponseBodyCode0(v MarkAdd401JSONResponseBodyCode0) error
- func (t *MarkAdd401JSONResponseBody_Code) MergeMarkAdd401JSONResponseBodyCode1(v MarkAdd401JSONResponseBodyCode1) error
- func (t *MarkAdd401JSONResponseBody_Code) UnmarshalJSON(b []byte) error
- type MarkAddJSONBody
- type MarkAddJSONRequestBody
- type MarkAddParams
- type MarkDetail200JSONResponseBodyCode0
- type MarkDetail200JSONResponseBodyCode1
- type MarkDetail200JSONResponseBody_Code
- func (t MarkDetail200JSONResponseBody_Code) AsMarkDetail200JSONResponseBodyCode0() (MarkDetail200JSONResponseBodyCode0, error)
- func (t MarkDetail200JSONResponseBody_Code) AsMarkDetail200JSONResponseBodyCode1() (MarkDetail200JSONResponseBodyCode1, error)
- func (t *MarkDetail200JSONResponseBody_Code) FromMarkDetail200JSONResponseBodyCode0(v MarkDetail200JSONResponseBodyCode0) error
- func (t *MarkDetail200JSONResponseBody_Code) FromMarkDetail200JSONResponseBodyCode1(v MarkDetail200JSONResponseBodyCode1) error
- func (t MarkDetail200JSONResponseBody_Code) MarshalJSON() ([]byte, error)
- func (t *MarkDetail200JSONResponseBody_Code) MergeMarkDetail200JSONResponseBodyCode0(v MarkDetail200JSONResponseBodyCode0) error
- func (t *MarkDetail200JSONResponseBody_Code) MergeMarkDetail200JSONResponseBodyCode1(v MarkDetail200JSONResponseBodyCode1) error
- func (t *MarkDetail200JSONResponseBody_Code) UnmarshalJSON(b []byte) error
- type MarkDetail401JSONResponseBodyCode0
- type MarkDetail401JSONResponseBodyCode1
- type MarkDetail401JSONResponseBody_Code
- func (t MarkDetail401JSONResponseBody_Code) AsMarkDetail401JSONResponseBodyCode0() (MarkDetail401JSONResponseBodyCode0, error)
- func (t MarkDetail401JSONResponseBody_Code) AsMarkDetail401JSONResponseBodyCode1() (MarkDetail401JSONResponseBodyCode1, error)
- func (t *MarkDetail401JSONResponseBody_Code) FromMarkDetail401JSONResponseBodyCode0(v MarkDetail401JSONResponseBodyCode0) error
- func (t *MarkDetail401JSONResponseBody_Code) FromMarkDetail401JSONResponseBodyCode1(v MarkDetail401JSONResponseBodyCode1) error
- func (t MarkDetail401JSONResponseBody_Code) MarshalJSON() ([]byte, error)
- func (t *MarkDetail401JSONResponseBody_Code) MergeMarkDetail401JSONResponseBodyCode0(v MarkDetail401JSONResponseBodyCode0) error
- func (t *MarkDetail401JSONResponseBody_Code) MergeMarkDetail401JSONResponseBodyCode1(v MarkDetail401JSONResponseBodyCode1) error
- func (t *MarkDetail401JSONResponseBody_Code) UnmarshalJSON(b []byte) error
- type MarkDetailParams
- type MarkList200JSONResponseBodyCode0
- type MarkList200JSONResponseBodyCode1
- type MarkList200JSONResponseBody_Code
- func (t MarkList200JSONResponseBody_Code) AsMarkList200JSONResponseBodyCode0() (MarkList200JSONResponseBodyCode0, error)
- func (t MarkList200JSONResponseBody_Code) AsMarkList200JSONResponseBodyCode1() (MarkList200JSONResponseBodyCode1, error)
- func (t *MarkList200JSONResponseBody_Code) FromMarkList200JSONResponseBodyCode0(v MarkList200JSONResponseBodyCode0) error
- func (t *MarkList200JSONResponseBody_Code) FromMarkList200JSONResponseBodyCode1(v MarkList200JSONResponseBodyCode1) error
- func (t MarkList200JSONResponseBody_Code) MarshalJSON() ([]byte, error)
- func (t *MarkList200JSONResponseBody_Code) MergeMarkList200JSONResponseBodyCode0(v MarkList200JSONResponseBodyCode0) error
- func (t *MarkList200JSONResponseBody_Code) MergeMarkList200JSONResponseBodyCode1(v MarkList200JSONResponseBodyCode1) error
- func (t *MarkList200JSONResponseBody_Code) UnmarshalJSON(b []byte) error
- type MarkList401JSONResponseBodyCode0
- type MarkList401JSONResponseBodyCode1
- type MarkList401JSONResponseBody_Code
- func (t MarkList401JSONResponseBody_Code) AsMarkList401JSONResponseBodyCode0() (MarkList401JSONResponseBodyCode0, error)
- func (t MarkList401JSONResponseBody_Code) AsMarkList401JSONResponseBodyCode1() (MarkList401JSONResponseBodyCode1, error)
- func (t *MarkList401JSONResponseBody_Code) FromMarkList401JSONResponseBodyCode0(v MarkList401JSONResponseBodyCode0) error
- func (t *MarkList401JSONResponseBody_Code) FromMarkList401JSONResponseBodyCode1(v MarkList401JSONResponseBodyCode1) error
- func (t MarkList401JSONResponseBody_Code) MarshalJSON() ([]byte, error)
- func (t *MarkList401JSONResponseBody_Code) MergeMarkList401JSONResponseBodyCode0(v MarkList401JSONResponseBodyCode0) error
- func (t *MarkList401JSONResponseBody_Code) MergeMarkList401JSONResponseBodyCode1(v MarkList401JSONResponseBodyCode1) error
- func (t *MarkList401JSONResponseBody_Code) UnmarshalJSON(b []byte) error
- type MarkListParams
- type MarkSearch200JSONResponseBodyCode0
- type MarkSearch200JSONResponseBodyCode1
- type MarkSearch200JSONResponseBody_Code
- func (t MarkSearch200JSONResponseBody_Code) AsMarkSearch200JSONResponseBodyCode0() (MarkSearch200JSONResponseBodyCode0, error)
- func (t MarkSearch200JSONResponseBody_Code) AsMarkSearch200JSONResponseBodyCode1() (MarkSearch200JSONResponseBodyCode1, error)
- func (t *MarkSearch200JSONResponseBody_Code) FromMarkSearch200JSONResponseBodyCode0(v MarkSearch200JSONResponseBodyCode0) error
- func (t *MarkSearch200JSONResponseBody_Code) FromMarkSearch200JSONResponseBodyCode1(v MarkSearch200JSONResponseBodyCode1) error
- func (t MarkSearch200JSONResponseBody_Code) MarshalJSON() ([]byte, error)
- func (t *MarkSearch200JSONResponseBody_Code) MergeMarkSearch200JSONResponseBodyCode0(v MarkSearch200JSONResponseBodyCode0) error
- func (t *MarkSearch200JSONResponseBody_Code) MergeMarkSearch200JSONResponseBodyCode1(v MarkSearch200JSONResponseBodyCode1) error
- func (t *MarkSearch200JSONResponseBody_Code) UnmarshalJSON(b []byte) error
- type MarkSearch401JSONResponseBodyCode0
- type MarkSearch401JSONResponseBodyCode1
- type MarkSearch401JSONResponseBody_Code
- func (t MarkSearch401JSONResponseBody_Code) AsMarkSearch401JSONResponseBodyCode0() (MarkSearch401JSONResponseBodyCode0, error)
- func (t MarkSearch401JSONResponseBody_Code) AsMarkSearch401JSONResponseBodyCode1() (MarkSearch401JSONResponseBodyCode1, error)
- func (t *MarkSearch401JSONResponseBody_Code) FromMarkSearch401JSONResponseBodyCode0(v MarkSearch401JSONResponseBodyCode0) error
- func (t *MarkSearch401JSONResponseBody_Code) FromMarkSearch401JSONResponseBodyCode1(v MarkSearch401JSONResponseBodyCode1) error
- func (t MarkSearch401JSONResponseBody_Code) MarshalJSON() ([]byte, error)
- func (t *MarkSearch401JSONResponseBody_Code) MergeMarkSearch401JSONResponseBodyCode0(v MarkSearch401JSONResponseBodyCode0) error
- func (t *MarkSearch401JSONResponseBody_Code) MergeMarkSearch401JSONResponseBodyCode1(v MarkSearch401JSONResponseBodyCode1) error
- func (t *MarkSearch401JSONResponseBody_Code) UnmarshalJSON(b []byte) error
- type MarkSearchParams
- type QdmpVersionHeader
- type SpuDetail200JSONResponseBodyCode0
- type SpuDetail200JSONResponseBodyCode1
- type SpuDetail200JSONResponseBody_Code
- func (t SpuDetail200JSONResponseBody_Code) AsSpuDetail200JSONResponseBodyCode0() (SpuDetail200JSONResponseBodyCode0, error)
- func (t SpuDetail200JSONResponseBody_Code) AsSpuDetail200JSONResponseBodyCode1() (SpuDetail200JSONResponseBodyCode1, error)
- func (t *SpuDetail200JSONResponseBody_Code) FromSpuDetail200JSONResponseBodyCode0(v SpuDetail200JSONResponseBodyCode0) error
- func (t *SpuDetail200JSONResponseBody_Code) FromSpuDetail200JSONResponseBodyCode1(v SpuDetail200JSONResponseBodyCode1) error
- func (t SpuDetail200JSONResponseBody_Code) MarshalJSON() ([]byte, error)
- func (t *SpuDetail200JSONResponseBody_Code) MergeSpuDetail200JSONResponseBodyCode0(v SpuDetail200JSONResponseBodyCode0) error
- func (t *SpuDetail200JSONResponseBody_Code) MergeSpuDetail200JSONResponseBodyCode1(v SpuDetail200JSONResponseBodyCode1) error
- func (t *SpuDetail200JSONResponseBody_Code) UnmarshalJSON(b []byte) error
- type SpuDetail401JSONResponseBodyCode0
- type SpuDetail401JSONResponseBodyCode1
- type SpuDetail401JSONResponseBody_Code
- func (t SpuDetail401JSONResponseBody_Code) AsSpuDetail401JSONResponseBodyCode0() (SpuDetail401JSONResponseBodyCode0, error)
- func (t SpuDetail401JSONResponseBody_Code) AsSpuDetail401JSONResponseBodyCode1() (SpuDetail401JSONResponseBodyCode1, error)
- func (t *SpuDetail401JSONResponseBody_Code) FromSpuDetail401JSONResponseBodyCode0(v SpuDetail401JSONResponseBodyCode0) error
- func (t *SpuDetail401JSONResponseBody_Code) FromSpuDetail401JSONResponseBodyCode1(v SpuDetail401JSONResponseBodyCode1) error
- func (t SpuDetail401JSONResponseBody_Code) MarshalJSON() ([]byte, error)
- func (t *SpuDetail401JSONResponseBody_Code) MergeSpuDetail401JSONResponseBodyCode0(v SpuDetail401JSONResponseBodyCode0) error
- func (t *SpuDetail401JSONResponseBody_Code) MergeSpuDetail401JSONResponseBodyCode1(v SpuDetail401JSONResponseBodyCode1) error
- func (t *SpuDetail401JSONResponseBody_Code) UnmarshalJSON(b []byte) error
- type SpuDetailParams
- type SpuSearch200JSONResponseBodyCode0
- type SpuSearch200JSONResponseBodyCode1
- type SpuSearch200JSONResponseBody_Code
- func (t SpuSearch200JSONResponseBody_Code) AsSpuSearch200JSONResponseBodyCode0() (SpuSearch200JSONResponseBodyCode0, error)
- func (t SpuSearch200JSONResponseBody_Code) AsSpuSearch200JSONResponseBodyCode1() (SpuSearch200JSONResponseBodyCode1, error)
- func (t *SpuSearch200JSONResponseBody_Code) FromSpuSearch200JSONResponseBodyCode0(v SpuSearch200JSONResponseBodyCode0) error
- func (t *SpuSearch200JSONResponseBody_Code) FromSpuSearch200JSONResponseBodyCode1(v SpuSearch200JSONResponseBodyCode1) error
- func (t SpuSearch200JSONResponseBody_Code) MarshalJSON() ([]byte, error)
- func (t *SpuSearch200JSONResponseBody_Code) MergeSpuSearch200JSONResponseBodyCode0(v SpuSearch200JSONResponseBodyCode0) error
- func (t *SpuSearch200JSONResponseBody_Code) MergeSpuSearch200JSONResponseBodyCode1(v SpuSearch200JSONResponseBodyCode1) error
- func (t *SpuSearch200JSONResponseBody_Code) UnmarshalJSON(b []byte) error
- type SpuSearch200JSONResponseBody_Data_Items_Item
- func (a SpuSearch200JSONResponseBody_Data_Items_Item) Get(fieldName string) (value interface{}, found bool)
- func (a SpuSearch200JSONResponseBody_Data_Items_Item) MarshalJSON() ([]byte, error)
- func (a *SpuSearch200JSONResponseBody_Data_Items_Item) Set(fieldName string, value interface{})
- func (a *SpuSearch200JSONResponseBody_Data_Items_Item) UnmarshalJSON(b []byte) error
- type SpuSearch401JSONResponseBodyCode0
- type SpuSearch401JSONResponseBodyCode1
- type SpuSearch401JSONResponseBody_Code
- func (t SpuSearch401JSONResponseBody_Code) AsSpuSearch401JSONResponseBodyCode0() (SpuSearch401JSONResponseBodyCode0, error)
- func (t SpuSearch401JSONResponseBody_Code) AsSpuSearch401JSONResponseBodyCode1() (SpuSearch401JSONResponseBodyCode1, error)
- func (t *SpuSearch401JSONResponseBody_Code) FromSpuSearch401JSONResponseBodyCode0(v SpuSearch401JSONResponseBodyCode0) error
- func (t *SpuSearch401JSONResponseBody_Code) FromSpuSearch401JSONResponseBodyCode1(v SpuSearch401JSONResponseBodyCode1) error
- func (t SpuSearch401JSONResponseBody_Code) MarshalJSON() ([]byte, error)
- func (t *SpuSearch401JSONResponseBody_Code) MergeSpuSearch401JSONResponseBodyCode0(v SpuSearch401JSONResponseBodyCode0) error
- func (t *SpuSearch401JSONResponseBody_Code) MergeSpuSearch401JSONResponseBodyCode1(v SpuSearch401JSONResponseBodyCode1) error
- func (t *SpuSearch401JSONResponseBody_Code) UnmarshalJSON(b []byte) error
- type SpuSearchParams
- type TagDetail200JSONResponseBodyCode0
- type TagDetail200JSONResponseBodyCode1
- type TagDetail200JSONResponseBody_Code
- func (t TagDetail200JSONResponseBody_Code) AsTagDetail200JSONResponseBodyCode0() (TagDetail200JSONResponseBodyCode0, error)
- func (t TagDetail200JSONResponseBody_Code) AsTagDetail200JSONResponseBodyCode1() (TagDetail200JSONResponseBodyCode1, error)
- func (t *TagDetail200JSONResponseBody_Code) FromTagDetail200JSONResponseBodyCode0(v TagDetail200JSONResponseBodyCode0) error
- func (t *TagDetail200JSONResponseBody_Code) FromTagDetail200JSONResponseBodyCode1(v TagDetail200JSONResponseBodyCode1) error
- func (t TagDetail200JSONResponseBody_Code) MarshalJSON() ([]byte, error)
- func (t *TagDetail200JSONResponseBody_Code) MergeTagDetail200JSONResponseBodyCode0(v TagDetail200JSONResponseBodyCode0) error
- func (t *TagDetail200JSONResponseBody_Code) MergeTagDetail200JSONResponseBodyCode1(v TagDetail200JSONResponseBodyCode1) error
- func (t *TagDetail200JSONResponseBody_Code) UnmarshalJSON(b []byte) error
- type TagDetail401JSONResponseBodyCode0
- type TagDetail401JSONResponseBodyCode1
- type TagDetail401JSONResponseBody_Code
- func (t TagDetail401JSONResponseBody_Code) AsTagDetail401JSONResponseBodyCode0() (TagDetail401JSONResponseBodyCode0, error)
- func (t TagDetail401JSONResponseBody_Code) AsTagDetail401JSONResponseBodyCode1() (TagDetail401JSONResponseBodyCode1, error)
- func (t *TagDetail401JSONResponseBody_Code) FromTagDetail401JSONResponseBodyCode0(v TagDetail401JSONResponseBodyCode0) error
- func (t *TagDetail401JSONResponseBody_Code) FromTagDetail401JSONResponseBodyCode1(v TagDetail401JSONResponseBodyCode1) error
- func (t TagDetail401JSONResponseBody_Code) MarshalJSON() ([]byte, error)
- func (t *TagDetail401JSONResponseBody_Code) MergeTagDetail401JSONResponseBodyCode0(v TagDetail401JSONResponseBodyCode0) error
- func (t *TagDetail401JSONResponseBody_Code) MergeTagDetail401JSONResponseBodyCode1(v TagDetail401JSONResponseBodyCode1) error
- func (t *TagDetail401JSONResponseBody_Code) UnmarshalJSON(b []byte) error
- type TagDetailParams
- type TagSearch200JSONResponseBodyCode0
- type TagSearch200JSONResponseBodyCode1
- type TagSearch200JSONResponseBody_Code
- func (t TagSearch200JSONResponseBody_Code) AsTagSearch200JSONResponseBodyCode0() (TagSearch200JSONResponseBodyCode0, error)
- func (t TagSearch200JSONResponseBody_Code) AsTagSearch200JSONResponseBodyCode1() (TagSearch200JSONResponseBodyCode1, error)
- func (t *TagSearch200JSONResponseBody_Code) FromTagSearch200JSONResponseBodyCode0(v TagSearch200JSONResponseBodyCode0) error
- func (t *TagSearch200JSONResponseBody_Code) FromTagSearch200JSONResponseBodyCode1(v TagSearch200JSONResponseBodyCode1) error
- func (t TagSearch200JSONResponseBody_Code) MarshalJSON() ([]byte, error)
- func (t *TagSearch200JSONResponseBody_Code) MergeTagSearch200JSONResponseBodyCode0(v TagSearch200JSONResponseBodyCode0) error
- func (t *TagSearch200JSONResponseBody_Code) MergeTagSearch200JSONResponseBodyCode1(v TagSearch200JSONResponseBodyCode1) error
- func (t *TagSearch200JSONResponseBody_Code) UnmarshalJSON(b []byte) error
- type TagSearch401JSONResponseBodyCode0
- type TagSearch401JSONResponseBodyCode1
- type TagSearch401JSONResponseBody_Code
- func (t TagSearch401JSONResponseBody_Code) AsTagSearch401JSONResponseBodyCode0() (TagSearch401JSONResponseBodyCode0, error)
- func (t TagSearch401JSONResponseBody_Code) AsTagSearch401JSONResponseBodyCode1() (TagSearch401JSONResponseBodyCode1, error)
- func (t *TagSearch401JSONResponseBody_Code) FromTagSearch401JSONResponseBodyCode0(v TagSearch401JSONResponseBodyCode0) error
- func (t *TagSearch401JSONResponseBody_Code) FromTagSearch401JSONResponseBodyCode1(v TagSearch401JSONResponseBodyCode1) error
- func (t TagSearch401JSONResponseBody_Code) MarshalJSON() ([]byte, error)
- func (t *TagSearch401JSONResponseBody_Code) MergeTagSearch401JSONResponseBodyCode0(v TagSearch401JSONResponseBodyCode0) error
- func (t *TagSearch401JSONResponseBody_Code) MergeTagSearch401JSONResponseBodyCode1(v TagSearch401JSONResponseBodyCode1) error
- func (t *TagSearch401JSONResponseBody_Code) UnmarshalJSON(b []byte) error
- type TagSearchParams
- type UserMe200JSONResponseBodyCode0
- type UserMe200JSONResponseBodyCode1
- type UserMe200JSONResponseBody_Code
- func (t UserMe200JSONResponseBody_Code) AsUserMe200JSONResponseBodyCode0() (UserMe200JSONResponseBodyCode0, error)
- func (t UserMe200JSONResponseBody_Code) AsUserMe200JSONResponseBodyCode1() (UserMe200JSONResponseBodyCode1, error)
- func (t *UserMe200JSONResponseBody_Code) FromUserMe200JSONResponseBodyCode0(v UserMe200JSONResponseBodyCode0) error
- func (t *UserMe200JSONResponseBody_Code) FromUserMe200JSONResponseBodyCode1(v UserMe200JSONResponseBodyCode1) error
- func (t UserMe200JSONResponseBody_Code) MarshalJSON() ([]byte, error)
- func (t *UserMe200JSONResponseBody_Code) MergeUserMe200JSONResponseBodyCode0(v UserMe200JSONResponseBodyCode0) error
- func (t *UserMe200JSONResponseBody_Code) MergeUserMe200JSONResponseBodyCode1(v UserMe200JSONResponseBodyCode1) error
- func (t *UserMe200JSONResponseBody_Code) UnmarshalJSON(b []byte) error
- type UserMe401JSONResponseBodyCode0
- type UserMe401JSONResponseBodyCode1
- type UserMe401JSONResponseBody_Code
- func (t UserMe401JSONResponseBody_Code) AsUserMe401JSONResponseBodyCode0() (UserMe401JSONResponseBodyCode0, error)
- func (t UserMe401JSONResponseBody_Code) AsUserMe401JSONResponseBodyCode1() (UserMe401JSONResponseBodyCode1, error)
- func (t *UserMe401JSONResponseBody_Code) FromUserMe401JSONResponseBodyCode0(v UserMe401JSONResponseBodyCode0) error
- func (t *UserMe401JSONResponseBody_Code) FromUserMe401JSONResponseBodyCode1(v UserMe401JSONResponseBodyCode1) error
- func (t UserMe401JSONResponseBody_Code) MarshalJSON() ([]byte, error)
- func (t *UserMe401JSONResponseBody_Code) MergeUserMe401JSONResponseBodyCode0(v UserMe401JSONResponseBodyCode0) error
- func (t *UserMe401JSONResponseBody_Code) MergeUserMe401JSONResponseBodyCode1(v UserMe401JSONResponseBodyCode1) error
- func (t *UserMe401JSONResponseBody_Code) UnmarshalJSON(b []byte) error
- type UserMeParams
- type WishAdd200JSONResponseBodyCode0
- type WishAdd200JSONResponseBodyCode1
- type WishAdd200JSONResponseBody_Code
- func (t WishAdd200JSONResponseBody_Code) AsWishAdd200JSONResponseBodyCode0() (WishAdd200JSONResponseBodyCode0, error)
- func (t WishAdd200JSONResponseBody_Code) AsWishAdd200JSONResponseBodyCode1() (WishAdd200JSONResponseBodyCode1, error)
- func (t *WishAdd200JSONResponseBody_Code) FromWishAdd200JSONResponseBodyCode0(v WishAdd200JSONResponseBodyCode0) error
- func (t *WishAdd200JSONResponseBody_Code) FromWishAdd200JSONResponseBodyCode1(v WishAdd200JSONResponseBodyCode1) error
- func (t WishAdd200JSONResponseBody_Code) MarshalJSON() ([]byte, error)
- func (t *WishAdd200JSONResponseBody_Code) MergeWishAdd200JSONResponseBodyCode0(v WishAdd200JSONResponseBodyCode0) error
- func (t *WishAdd200JSONResponseBody_Code) MergeWishAdd200JSONResponseBodyCode1(v WishAdd200JSONResponseBodyCode1) error
- func (t *WishAdd200JSONResponseBody_Code) UnmarshalJSON(b []byte) error
- type WishAdd401JSONResponseBodyCode0
- type WishAdd401JSONResponseBodyCode1
- type WishAdd401JSONResponseBody_Code
- func (t WishAdd401JSONResponseBody_Code) AsWishAdd401JSONResponseBodyCode0() (WishAdd401JSONResponseBodyCode0, error)
- func (t WishAdd401JSONResponseBody_Code) AsWishAdd401JSONResponseBodyCode1() (WishAdd401JSONResponseBodyCode1, error)
- func (t *WishAdd401JSONResponseBody_Code) FromWishAdd401JSONResponseBodyCode0(v WishAdd401JSONResponseBodyCode0) error
- func (t *WishAdd401JSONResponseBody_Code) FromWishAdd401JSONResponseBodyCode1(v WishAdd401JSONResponseBodyCode1) error
- func (t WishAdd401JSONResponseBody_Code) MarshalJSON() ([]byte, error)
- func (t *WishAdd401JSONResponseBody_Code) MergeWishAdd401JSONResponseBodyCode0(v WishAdd401JSONResponseBodyCode0) error
- func (t *WishAdd401JSONResponseBody_Code) MergeWishAdd401JSONResponseBodyCode1(v WishAdd401JSONResponseBodyCode1) error
- func (t *WishAdd401JSONResponseBody_Code) UnmarshalJSON(b []byte) error
- type WishAddJSONBody
- type WishAddJSONBodyType
- type WishAddJSONRequestBody
- type WishAddParams
- type WishCancel200JSONResponseBodyCode0
- type WishCancel200JSONResponseBodyCode1
- type WishCancel200JSONResponseBody_Code
- func (t WishCancel200JSONResponseBody_Code) AsWishCancel200JSONResponseBodyCode0() (WishCancel200JSONResponseBodyCode0, error)
- func (t WishCancel200JSONResponseBody_Code) AsWishCancel200JSONResponseBodyCode1() (WishCancel200JSONResponseBodyCode1, error)
- func (t *WishCancel200JSONResponseBody_Code) FromWishCancel200JSONResponseBodyCode0(v WishCancel200JSONResponseBodyCode0) error
- func (t *WishCancel200JSONResponseBody_Code) FromWishCancel200JSONResponseBodyCode1(v WishCancel200JSONResponseBodyCode1) error
- func (t WishCancel200JSONResponseBody_Code) MarshalJSON() ([]byte, error)
- func (t *WishCancel200JSONResponseBody_Code) MergeWishCancel200JSONResponseBodyCode0(v WishCancel200JSONResponseBodyCode0) error
- func (t *WishCancel200JSONResponseBody_Code) MergeWishCancel200JSONResponseBodyCode1(v WishCancel200JSONResponseBodyCode1) error
- func (t *WishCancel200JSONResponseBody_Code) UnmarshalJSON(b []byte) error
- type WishCancel401JSONResponseBodyCode0
- type WishCancel401JSONResponseBodyCode1
- type WishCancel401JSONResponseBody_Code
- func (t WishCancel401JSONResponseBody_Code) AsWishCancel401JSONResponseBodyCode0() (WishCancel401JSONResponseBodyCode0, error)
- func (t WishCancel401JSONResponseBody_Code) AsWishCancel401JSONResponseBodyCode1() (WishCancel401JSONResponseBodyCode1, error)
- func (t *WishCancel401JSONResponseBody_Code) FromWishCancel401JSONResponseBodyCode0(v WishCancel401JSONResponseBodyCode0) error
- func (t *WishCancel401JSONResponseBody_Code) FromWishCancel401JSONResponseBodyCode1(v WishCancel401JSONResponseBodyCode1) error
- func (t WishCancel401JSONResponseBody_Code) MarshalJSON() ([]byte, error)
- func (t *WishCancel401JSONResponseBody_Code) MergeWishCancel401JSONResponseBodyCode0(v WishCancel401JSONResponseBodyCode0) error
- func (t *WishCancel401JSONResponseBody_Code) MergeWishCancel401JSONResponseBodyCode1(v WishCancel401JSONResponseBodyCode1) error
- func (t *WishCancel401JSONResponseBody_Code) UnmarshalJSON(b []byte) error
- type WishCancelJSONBody
- type WishCancelJSONBodyType
- type WishCancelJSONRequestBody
- type WishCancelParams
- type WishList200JSONResponseBodyCode0
- type WishList200JSONResponseBodyCode1
- type WishList200JSONResponseBody_Code
- func (t WishList200JSONResponseBody_Code) AsWishList200JSONResponseBodyCode0() (WishList200JSONResponseBodyCode0, error)
- func (t WishList200JSONResponseBody_Code) AsWishList200JSONResponseBodyCode1() (WishList200JSONResponseBodyCode1, error)
- func (t *WishList200JSONResponseBody_Code) FromWishList200JSONResponseBodyCode0(v WishList200JSONResponseBodyCode0) error
- func (t *WishList200JSONResponseBody_Code) FromWishList200JSONResponseBodyCode1(v WishList200JSONResponseBodyCode1) error
- func (t WishList200JSONResponseBody_Code) MarshalJSON() ([]byte, error)
- func (t *WishList200JSONResponseBody_Code) MergeWishList200JSONResponseBodyCode0(v WishList200JSONResponseBodyCode0) error
- func (t *WishList200JSONResponseBody_Code) MergeWishList200JSONResponseBodyCode1(v WishList200JSONResponseBodyCode1) error
- func (t *WishList200JSONResponseBody_Code) UnmarshalJSON(b []byte) error
- type WishList401JSONResponseBodyCode0
- type WishList401JSONResponseBodyCode1
- type WishList401JSONResponseBody_Code
- func (t WishList401JSONResponseBody_Code) AsWishList401JSONResponseBodyCode0() (WishList401JSONResponseBodyCode0, error)
- func (t WishList401JSONResponseBody_Code) AsWishList401JSONResponseBodyCode1() (WishList401JSONResponseBodyCode1, error)
- func (t *WishList401JSONResponseBody_Code) FromWishList401JSONResponseBodyCode0(v WishList401JSONResponseBodyCode0) error
- func (t *WishList401JSONResponseBody_Code) FromWishList401JSONResponseBodyCode1(v WishList401JSONResponseBodyCode1) error
- func (t WishList401JSONResponseBody_Code) MarshalJSON() ([]byte, error)
- func (t *WishList401JSONResponseBody_Code) MergeWishList401JSONResponseBodyCode0(v WishList401JSONResponseBodyCode0) error
- func (t *WishList401JSONResponseBody_Code) MergeWishList401JSONResponseBodyCode1(v WishList401JSONResponseBodyCode1) error
- func (t *WishList401JSONResponseBody_Code) UnmarshalJSON(b []byte) error
- type WishListParams
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 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.
const ( COMPLETED GenaiDetail200JSONResponseBodyDataStatus = "COMPLETED" FAILED GenaiDetail200JSONResponseBodyDataStatus = "FAILED" PENDING GenaiDetail200JSONResponseBodyDataStatus = "PENDING" RUNNING GenaiDetail200JSONResponseBodyDataStatus = "RUNNING" )
Defines values for GenaiDetail200JSONResponseBodyDataStatus.
func (GenaiDetail200JSONResponseBodyDataStatus) Valid ¶
func (e GenaiDetail200JSONResponseBodyDataStatus) Valid() bool
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 ¶
func (a GenaiGenerateJSONBody_Contents_Parts_Item) MarshalJSON() ([]byte, error)
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 ¶
func (a *GenaiGenerateJSONBody_Contents_Parts_Item) UnmarshalJSON(b []byte) error
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 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 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 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 ¶
func (a SpuSearch200JSONResponseBody_Data_Items_Item) MarshalJSON() ([]byte, error)
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 ¶
func (a *SpuSearch200JSONResponseBody_Data_Items_Item) UnmarshalJSON(b []byte) error
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 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.