Documentation ¶
Overview ¶
Package homeai 包含HOMEAI相关结构体
Index ¶
- type BoundingBoxDto
- type FeatureWallDto
- type FeatureWallSuggestionDto
- type TaobaoHomeaiAlgPredictAPIRequest
- func (r TaobaoHomeaiAlgPredictAPIRequest) GetApiMethodName() string
- func (r TaobaoHomeaiAlgPredictAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoHomeaiAlgPredictAPIRequest) GetFromCase() string
- func (r TaobaoHomeaiAlgPredictAPIRequest) GetRawParams() model.Params
- func (r TaobaoHomeaiAlgPredictAPIRequest) GetToCase() string
- func (r *TaobaoHomeaiAlgPredictAPIRequest) SetFromCase(_fromCase string) error
- func (r *TaobaoHomeaiAlgPredictAPIRequest) SetToCase(_toCase string) error
- type TaobaoHomeaiAlgPredictAPIResponse
- type TaobaoHomeaiAlgPredictAPIResponseModel
- type TaobaoHomeaiAlgPredictResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoundingBoxDto ¶
type BoundingBoxDto struct { // x XLen string `json:"x_len,omitempty" xml:"x_len,omitempty"` // y YLen string `json:"y_len,omitempty" xml:"y_len,omitempty"` // z ZLen string `json:"z_len,omitempty" xml:"z_len,omitempty"` }
BoundingBoxDto 结构体
type FeatureWallDto ¶
type FeatureWallDto struct { // 方向四元数 Fronts []string `json:"fronts,omitempty" xml:"fronts>string,omitempty"` // 坐标 Pos []string `json:"pos,omitempty" xml:"pos>string,omitempty"` // roomid Room string `json:"room,omitempty" xml:"room,omitempty"` // 硬装类型 Type string `json:"type,omitempty" xml:"type,omitempty"` // 包围盒 BoundingBox *BoundingBoxDto `json:"bounding_box,omitempty" xml:"bounding_box,omitempty"` }
FeatureWallDto 结构体
type FeatureWallSuggestionDto ¶
type FeatureWallSuggestionDto struct { // 墙位置 FeatureWalls []FeatureWallDto `json:"feature_walls,omitempty" xml:"feature_walls>feature_wall_dto,omitempty"` // designid DesignId string `json:"design_id,omitempty" xml:"design_id,omitempty"` }
FeatureWallSuggestionDto 结构体
type TaobaoHomeaiAlgPredictAPIRequest ¶ added in v1.2.0
type TaobaoHomeaiAlgPredictAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoHomeaiAlgPredictAPIRequest 硬装预测接口 API请求 taobao.homeai.alg.predict
居然之家硬装预测服务
func NewTaobaoHomeaiAlgPredictRequest ¶
func NewTaobaoHomeaiAlgPredictRequest() *TaobaoHomeaiAlgPredictAPIRequest
NewTaobaoHomeaiAlgPredictRequest 初始化TaobaoHomeaiAlgPredictAPIRequest对象
func (TaobaoHomeaiAlgPredictAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoHomeaiAlgPredictAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoHomeaiAlgPredictAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoHomeaiAlgPredictAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoHomeaiAlgPredictAPIRequest) GetFromCase ¶ added in v1.2.0
func (r TaobaoHomeaiAlgPredictAPIRequest) GetFromCase() string
GetFromCase FromCase Getter
func (TaobaoHomeaiAlgPredictAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoHomeaiAlgPredictAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoHomeaiAlgPredictAPIRequest) GetToCase ¶ added in v1.2.0
func (r TaobaoHomeaiAlgPredictAPIRequest) GetToCase() string
GetToCase ToCase Getter
func (*TaobaoHomeaiAlgPredictAPIRequest) SetFromCase ¶ added in v1.2.0
func (r *TaobaoHomeaiAlgPredictAPIRequest) SetFromCase(_fromCase string) error
SetFromCase is FromCase Setter 来源房间json
func (*TaobaoHomeaiAlgPredictAPIRequest) SetToCase ¶ added in v1.2.0
func (r *TaobaoHomeaiAlgPredictAPIRequest) SetToCase(_toCase string) error
SetToCase is ToCase Setter 我的家房间json
type TaobaoHomeaiAlgPredictAPIResponse ¶
type TaobaoHomeaiAlgPredictAPIResponse struct { model.CommonResponse TaobaoHomeaiAlgPredictAPIResponseModel }
TaobaoHomeaiAlgPredictAPIResponse 硬装预测接口 API返回值 taobao.homeai.alg.predict
居然之家硬装预测服务
type TaobaoHomeaiAlgPredictAPIResponseModel ¶ added in v1.2.0
type TaobaoHomeaiAlgPredictAPIResponseModel struct { XMLName xml.Name `xml:"homeai_alg_predict_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回值 Result *TaobaoHomeaiAlgPredictResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoHomeaiAlgPredictAPIResponseModel is 硬装预测接口 成功返回结果
type TaobaoHomeaiAlgPredictResult ¶
type TaobaoHomeaiAlgPredictResult struct { // code Code string `json:"code,omitempty" xml:"code,omitempty"` // errormsg Msg string `json:"msg,omitempty" xml:"msg,omitempty"` // data Data *FeatureWallSuggestionDto `json:"data,omitempty" xml:"data,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoHomeaiAlgPredictResult 结构体