Documentation ¶
Overview ¶
Package hotelhstdf 包含飞猪酒店标准库相关结构体
Index ¶
- type AlitripHotelHstdfBusinessareaGetAPIRequest
- func (r AlitripHotelHstdfBusinessareaGetAPIRequest) GetApiMethodName() string
- func (r AlitripHotelHstdfBusinessareaGetAPIRequest) GetApiParams(params url.Values)
- func (r AlitripHotelHstdfBusinessareaGetAPIRequest) GetParamGetByTrdiDivisionIdParam() *GetByTrdiDivisionIdParam
- func (r AlitripHotelHstdfBusinessareaGetAPIRequest) GetRawParams() model.Params
- func (r *AlitripHotelHstdfBusinessareaGetAPIRequest) SetParamGetByTrdiDivisionIdParam(_paramGetByTrdiDivisionIdParam *GetByTrdiDivisionIdParam) error
- type AlitripHotelHstdfBusinessareaGetAPIResponse
- type AlitripHotelHstdfBusinessareaGetAPIResponseModel
- type AlitripHotelHstdfHotelroomstaticGetAPIRequest
- func (r AlitripHotelHstdfHotelroomstaticGetAPIRequest) GetApiMethodName() string
- func (r AlitripHotelHstdfHotelroomstaticGetAPIRequest) GetApiParams(params url.Values)
- func (r AlitripHotelHstdfHotelroomstaticGetAPIRequest) GetParamGetHotelRoomStaticParam() *GetHotelRoomStaticParam
- func (r AlitripHotelHstdfHotelroomstaticGetAPIRequest) GetRawParams() model.Params
- func (r *AlitripHotelHstdfHotelroomstaticGetAPIRequest) SetParamGetHotelRoomStaticParam(_paramGetHotelRoomStaticParam *GetHotelRoomStaticParam) error
- type AlitripHotelHstdfHotelroomstaticGetAPIResponse
- type AlitripHotelHstdfHotelroomstaticGetAPIResponseModel
- type AlitripHotelHstdfPoilocationGetAPIRequest
- func (r AlitripHotelHstdfPoilocationGetAPIRequest) GetApiMethodName() string
- func (r AlitripHotelHstdfPoilocationGetAPIRequest) GetApiParams(params url.Values)
- func (r AlitripHotelHstdfPoilocationGetAPIRequest) GetParamGetByTrdiDivisionIdParam() *GetByTrdiDivisionIdParam
- func (r AlitripHotelHstdfPoilocationGetAPIRequest) GetRawParams() model.Params
- func (r *AlitripHotelHstdfPoilocationGetAPIRequest) SetParamGetByTrdiDivisionIdParam(_paramGetByTrdiDivisionIdParam *GetByTrdiDivisionIdParam) error
- type AlitripHotelHstdfPoilocationGetAPIResponse
- type AlitripHotelHstdfPoilocationGetAPIResponseModel
- type AlitripHotelHstdfShotelExnotmatchroomAPIRequest
- func (r AlitripHotelHstdfShotelExnotmatchroomAPIRequest) GetApiMethodName() string
- func (r AlitripHotelHstdfShotelExnotmatchroomAPIRequest) GetApiParams(params url.Values)
- func (r AlitripHotelHstdfShotelExnotmatchroomAPIRequest) GetHid() int64
- func (r AlitripHotelHstdfShotelExnotmatchroomAPIRequest) GetRawParams() model.Params
- func (r *AlitripHotelHstdfShotelExnotmatchroomAPIRequest) SetHid(_hid int64) error
- type AlitripHotelHstdfShotelExnotmatchroomAPIResponse
- type AlitripHotelHstdfShotelExnotmatchroomAPIResponseModel
- type AlitripHotelHstdfShotelExportshotelAPIRequest
- func (r AlitripHotelHstdfShotelExportshotelAPIRequest) GetAddress() string
- func (r AlitripHotelHstdfShotelExportshotelAPIRequest) GetApiMethodName() string
- func (r AlitripHotelHstdfShotelExportshotelAPIRequest) GetApiParams(params url.Values)
- func (r AlitripHotelHstdfShotelExportshotelAPIRequest) GetCityCode() int64
- func (r AlitripHotelHstdfShotelExportshotelAPIRequest) GetHid() int64
- func (r AlitripHotelHstdfShotelExportshotelAPIRequest) GetLatitude() string
- func (r AlitripHotelHstdfShotelExportshotelAPIRequest) GetLongitude() string
- func (r AlitripHotelHstdfShotelExportshotelAPIRequest) GetName() string
- func (r AlitripHotelHstdfShotelExportshotelAPIRequest) GetRawParams() model.Params
- func (r AlitripHotelHstdfShotelExportshotelAPIRequest) GetTelNumber() string
- func (r *AlitripHotelHstdfShotelExportshotelAPIRequest) SetAddress(_address string) error
- func (r *AlitripHotelHstdfShotelExportshotelAPIRequest) SetCityCode(_cityCode int64) error
- func (r *AlitripHotelHstdfShotelExportshotelAPIRequest) SetHid(_hid int64) error
- func (r *AlitripHotelHstdfShotelExportshotelAPIRequest) SetLatitude(_latitude string) error
- func (r *AlitripHotelHstdfShotelExportshotelAPIRequest) SetLongitude(_longitude string) error
- func (r *AlitripHotelHstdfShotelExportshotelAPIRequest) SetName(_name string) error
- func (r *AlitripHotelHstdfShotelExportshotelAPIRequest) SetTelNumber(_telNumber string) error
- type AlitripHotelHstdfShotelExportshotelAPIResponse
- type AlitripHotelHstdfShotelExportshotelAPIResponseModel
- type AlitripHotelHstdfShotelExportsroomtypeAPIRequest
- func (r AlitripHotelHstdfShotelExportsroomtypeAPIRequest) GetApiMethodName() string
- func (r AlitripHotelHstdfShotelExportsroomtypeAPIRequest) GetApiParams(params url.Values)
- func (r AlitripHotelHstdfShotelExportsroomtypeAPIRequest) GetHid() int64
- func (r AlitripHotelHstdfShotelExportsroomtypeAPIRequest) GetRawParams() model.Params
- func (r *AlitripHotelHstdfShotelExportsroomtypeAPIRequest) SetHid(_hid int64) error
- type AlitripHotelHstdfShotelExportsroomtypeAPIResponse
- type AlitripHotelHstdfShotelExportsroomtypeAPIResponseModel
- type AlitripHotelHstdfShotelMatchshotelselfAPIRequest
- func (r AlitripHotelHstdfShotelMatchshotelselfAPIRequest) GetApiMethodName() string
- func (r AlitripHotelHstdfShotelMatchshotelselfAPIRequest) GetApiParams(params url.Values)
- func (r AlitripHotelHstdfShotelMatchshotelselfAPIRequest) GetParam0() *HotelMatchParam
- func (r AlitripHotelHstdfShotelMatchshotelselfAPIRequest) GetRawParams() model.Params
- func (r *AlitripHotelHstdfShotelMatchshotelselfAPIRequest) SetParam0(_param0 *HotelMatchParam) error
- type AlitripHotelHstdfShotelMatchshotelselfAPIResponse
- type AlitripHotelHstdfShotelMatchshotelselfAPIResponseModel
- type AlitripHotelHstdfShotelMatchsroomselfAPIRequest
- func (r AlitripHotelHstdfShotelMatchsroomselfAPIRequest) GetApiMethodName() string
- func (r AlitripHotelHstdfShotelMatchsroomselfAPIRequest) GetApiParams(params url.Values)
- func (r AlitripHotelHstdfShotelMatchsroomselfAPIRequest) GetParam0() *SroomTypeMatchParam
- func (r AlitripHotelHstdfShotelMatchsroomselfAPIRequest) GetRawParams() model.Params
- func (r *AlitripHotelHstdfShotelMatchsroomselfAPIRequest) SetParam0(_param0 *SroomTypeMatchParam) error
- type AlitripHotelHstdfShotelMatchsroomselfAPIResponse
- type AlitripHotelHstdfShotelMatchsroomselfAPIResponseModel
- type AlitripHotelHstdfShotelRoomtypeMappingsListAPIRequest
- func (r AlitripHotelHstdfShotelRoomtypeMappingsListAPIRequest) GetApiMethodName() string
- func (r AlitripHotelHstdfShotelRoomtypeMappingsListAPIRequest) GetApiParams(params url.Values)
- func (r AlitripHotelHstdfShotelRoomtypeMappingsListAPIRequest) GetHid() int64
- func (r AlitripHotelHstdfShotelRoomtypeMappingsListAPIRequest) GetRawParams() model.Params
- func (r *AlitripHotelHstdfShotelRoomtypeMappingsListAPIRequest) SetHid(_hid int64) error
- type AlitripHotelHstdfShotelRoomtypeMappingsListAPIResponse
- type AlitripHotelHstdfShotelRoomtypeMappingsListAPIResponseModel
- type AlitripHotelHstdfShotelRoomtypeMappingsListResults
- type BusinessArea
- type DidaResult
- type GetByTrdiDivisionIdParam
- type GetHotelRoomStaticParam
- type HotelExportParam
- type HotelMatchParam
- type HotelPoi
- type HotelRoomStaticDo
- type RoomTypePo
- type SroomTypeMatchParam
- type SroomTypePo
- type TaobaoXhotelHotelMessageReceiveAPIRequest
- func (r TaobaoXhotelHotelMessageReceiveAPIRequest) GetApiMethodName() string
- func (r TaobaoXhotelHotelMessageReceiveAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoXhotelHotelMessageReceiveAPIRequest) GetDataType() int64
- func (r TaobaoXhotelHotelMessageReceiveAPIRequest) GetFileCount() int64
- func (r TaobaoXhotelHotelMessageReceiveAPIRequest) GetOssPath() string
- func (r TaobaoXhotelHotelMessageReceiveAPIRequest) GetRawParams() model.Params
- func (r TaobaoXhotelHotelMessageReceiveAPIRequest) GetRecordCount() int64
- func (r *TaobaoXhotelHotelMessageReceiveAPIRequest) SetDataType(_dataType int64) error
- func (r *TaobaoXhotelHotelMessageReceiveAPIRequest) SetFileCount(_fileCount int64) error
- func (r *TaobaoXhotelHotelMessageReceiveAPIRequest) SetOssPath(_ossPath string) error
- func (r *TaobaoXhotelHotelMessageReceiveAPIRequest) SetRecordCount(_recordCount int64) error
- type TaobaoXhotelHotelMessageReceiveAPIResponse
- type TaobaoXhotelHotelMessageReceiveAPIResponseModel
- type TopResultSet
- type TopStdResultSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlitripHotelHstdfBusinessareaGetAPIRequest ¶ added in v1.2.0
type AlitripHotelHstdfBusinessareaGetAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripHotelHstdfBusinessareaGetAPIRequest 根据城市查询商圈 API请求 alitrip.hotel.hstdf.businessarea.get
根据cityId分页查询商圈信息
func NewAlitripHotelHstdfBusinessareaGetRequest ¶
func NewAlitripHotelHstdfBusinessareaGetRequest() *AlitripHotelHstdfBusinessareaGetAPIRequest
NewAlitripHotelHstdfBusinessareaGetRequest 初始化AlitripHotelHstdfBusinessareaGetAPIRequest对象
func (AlitripHotelHstdfBusinessareaGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlitripHotelHstdfBusinessareaGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripHotelHstdfBusinessareaGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlitripHotelHstdfBusinessareaGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripHotelHstdfBusinessareaGetAPIRequest) GetParamGetByTrdiDivisionIdParam ¶ added in v1.2.0
func (r AlitripHotelHstdfBusinessareaGetAPIRequest) GetParamGetByTrdiDivisionIdParam() *GetByTrdiDivisionIdParam
GetParamGetByTrdiDivisionIdParam ParamGetByTrdiDivisionIdParam Getter
func (AlitripHotelHstdfBusinessareaGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripHotelHstdfBusinessareaGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitripHotelHstdfBusinessareaGetAPIRequest) SetParamGetByTrdiDivisionIdParam ¶ added in v1.2.0
func (r *AlitripHotelHstdfBusinessareaGetAPIRequest) SetParamGetByTrdiDivisionIdParam(_paramGetByTrdiDivisionIdParam *GetByTrdiDivisionIdParam) error
SetParamGetByTrdiDivisionIdParam is ParamGetByTrdiDivisionIdParam Setter 请求参数封装
type AlitripHotelHstdfBusinessareaGetAPIResponse ¶
type AlitripHotelHstdfBusinessareaGetAPIResponse struct { model.CommonResponse AlitripHotelHstdfBusinessareaGetAPIResponseModel }
AlitripHotelHstdfBusinessareaGetAPIResponse 根据城市查询商圈 API返回值 alitrip.hotel.hstdf.businessarea.get
根据cityId分页查询商圈信息
type AlitripHotelHstdfBusinessareaGetAPIResponseModel ¶ added in v1.2.0
type AlitripHotelHstdfBusinessareaGetAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_hotel_hstdf_businessarea_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // top返回结果 Result *TopStdResultSet `json:"result,omitempty" xml:"result,omitempty"` }
AlitripHotelHstdfBusinessareaGetAPIResponseModel is 根据城市查询商圈 成功返回结果
type AlitripHotelHstdfHotelroomstaticGetAPIRequest ¶ added in v1.2.0
type AlitripHotelHstdfHotelroomstaticGetAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripHotelHstdfHotelroomstaticGetAPIRequest 根据类型查询静态字段 API请求 alitrip.hotel.hstdf.hotelroomstatic.get
根据类型查询分页静态字段
func NewAlitripHotelHstdfHotelroomstaticGetRequest ¶
func NewAlitripHotelHstdfHotelroomstaticGetRequest() *AlitripHotelHstdfHotelroomstaticGetAPIRequest
NewAlitripHotelHstdfHotelroomstaticGetRequest 初始化AlitripHotelHstdfHotelroomstaticGetAPIRequest对象
func (AlitripHotelHstdfHotelroomstaticGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlitripHotelHstdfHotelroomstaticGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripHotelHstdfHotelroomstaticGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlitripHotelHstdfHotelroomstaticGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripHotelHstdfHotelroomstaticGetAPIRequest) GetParamGetHotelRoomStaticParam ¶ added in v1.2.0
func (r AlitripHotelHstdfHotelroomstaticGetAPIRequest) GetParamGetHotelRoomStaticParam() *GetHotelRoomStaticParam
GetParamGetHotelRoomStaticParam ParamGetHotelRoomStaticParam Getter
func (AlitripHotelHstdfHotelroomstaticGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripHotelHstdfHotelroomstaticGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitripHotelHstdfHotelroomstaticGetAPIRequest) SetParamGetHotelRoomStaticParam ¶ added in v1.2.0
func (r *AlitripHotelHstdfHotelroomstaticGetAPIRequest) SetParamGetHotelRoomStaticParam(_paramGetHotelRoomStaticParam *GetHotelRoomStaticParam) error
SetParamGetHotelRoomStaticParam is ParamGetHotelRoomStaticParam Setter 参数封装
type AlitripHotelHstdfHotelroomstaticGetAPIResponse ¶
type AlitripHotelHstdfHotelroomstaticGetAPIResponse struct { model.CommonResponse AlitripHotelHstdfHotelroomstaticGetAPIResponseModel }
AlitripHotelHstdfHotelroomstaticGetAPIResponse 根据类型查询静态字段 API返回值 alitrip.hotel.hstdf.hotelroomstatic.get
根据类型查询分页静态字段
type AlitripHotelHstdfHotelroomstaticGetAPIResponseModel ¶ added in v1.2.0
type AlitripHotelHstdfHotelroomstaticGetAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_hotel_hstdf_hotelroomstatic_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // top返回结果 Result *TopResultSet `json:"result,omitempty" xml:"result,omitempty"` }
AlitripHotelHstdfHotelroomstaticGetAPIResponseModel is 根据类型查询静态字段 成功返回结果
type AlitripHotelHstdfPoilocationGetAPIRequest ¶ added in v1.2.0
type AlitripHotelHstdfPoilocationGetAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripHotelHstdfPoilocationGetAPIRequest 根据平台城市id分页查询poi location API请求 alitrip.hotel.hstdf.poilocation.get
根据平台城市id分页查询poi location
func NewAlitripHotelHstdfPoilocationGetRequest ¶
func NewAlitripHotelHstdfPoilocationGetRequest() *AlitripHotelHstdfPoilocationGetAPIRequest
NewAlitripHotelHstdfPoilocationGetRequest 初始化AlitripHotelHstdfPoilocationGetAPIRequest对象
func (AlitripHotelHstdfPoilocationGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlitripHotelHstdfPoilocationGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripHotelHstdfPoilocationGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlitripHotelHstdfPoilocationGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripHotelHstdfPoilocationGetAPIRequest) GetParamGetByTrdiDivisionIdParam ¶ added in v1.2.0
func (r AlitripHotelHstdfPoilocationGetAPIRequest) GetParamGetByTrdiDivisionIdParam() *GetByTrdiDivisionIdParam
GetParamGetByTrdiDivisionIdParam ParamGetByTrdiDivisionIdParam Getter
func (AlitripHotelHstdfPoilocationGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripHotelHstdfPoilocationGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitripHotelHstdfPoilocationGetAPIRequest) SetParamGetByTrdiDivisionIdParam ¶ added in v1.2.0
func (r *AlitripHotelHstdfPoilocationGetAPIRequest) SetParamGetByTrdiDivisionIdParam(_paramGetByTrdiDivisionIdParam *GetByTrdiDivisionIdParam) error
SetParamGetByTrdiDivisionIdParam is ParamGetByTrdiDivisionIdParam Setter 参数封装
type AlitripHotelHstdfPoilocationGetAPIResponse ¶
type AlitripHotelHstdfPoilocationGetAPIResponse struct { model.CommonResponse AlitripHotelHstdfPoilocationGetAPIResponseModel }
AlitripHotelHstdfPoilocationGetAPIResponse 根据平台城市id分页查询poi location API返回值 alitrip.hotel.hstdf.poilocation.get
根据平台城市id分页查询poi location
type AlitripHotelHstdfPoilocationGetAPIResponseModel ¶ added in v1.2.0
type AlitripHotelHstdfPoilocationGetAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_hotel_hstdf_poilocation_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // top返回结果 Result *TopStdResultSet `json:"result,omitempty" xml:"result,omitempty"` }
AlitripHotelHstdfPoilocationGetAPIResponseModel is 根据平台城市id分页查询poi location 成功返回结果
type AlitripHotelHstdfShotelExnotmatchroomAPIRequest ¶ added in v1.2.0
type AlitripHotelHstdfShotelExnotmatchroomAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripHotelHstdfShotelExnotmatchroomAPIRequest 导出一个hid下所有未匹配rid的接口 API请求 alitrip.hotel.hstdf.shotel.exnotmatchroom
导出一个卖家hid下所有未匹配的rid信息,包括rid,名称、英文名称、床型、窗型、面积、对外系统id
func NewAlitripHotelHstdfShotelExnotmatchroomRequest ¶
func NewAlitripHotelHstdfShotelExnotmatchroomRequest() *AlitripHotelHstdfShotelExnotmatchroomAPIRequest
NewAlitripHotelHstdfShotelExnotmatchroomRequest 初始化AlitripHotelHstdfShotelExnotmatchroomAPIRequest对象
func (AlitripHotelHstdfShotelExnotmatchroomAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlitripHotelHstdfShotelExnotmatchroomAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripHotelHstdfShotelExnotmatchroomAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlitripHotelHstdfShotelExnotmatchroomAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripHotelHstdfShotelExnotmatchroomAPIRequest) GetHid ¶ added in v1.2.0
func (r AlitripHotelHstdfShotelExnotmatchroomAPIRequest) GetHid() int64
GetHid Hid Getter
func (AlitripHotelHstdfShotelExnotmatchroomAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripHotelHstdfShotelExnotmatchroomAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitripHotelHstdfShotelExnotmatchroomAPIRequest) SetHid ¶ added in v1.2.0
func (r *AlitripHotelHstdfShotelExnotmatchroomAPIRequest) SetHid(_hid int64) error
SetHid is Hid Setter 卖家酒店hid
type AlitripHotelHstdfShotelExnotmatchroomAPIResponse ¶
type AlitripHotelHstdfShotelExnotmatchroomAPIResponse struct { model.CommonResponse AlitripHotelHstdfShotelExnotmatchroomAPIResponseModel }
AlitripHotelHstdfShotelExnotmatchroomAPIResponse 导出一个hid下所有未匹配rid的接口 API返回值 alitrip.hotel.hstdf.shotel.exnotmatchroom
导出一个卖家hid下所有未匹配的rid信息,包括rid,名称、英文名称、床型、窗型、面积、对外系统id
type AlitripHotelHstdfShotelExnotmatchroomAPIResponseModel ¶ added in v1.2.0
type AlitripHotelHstdfShotelExnotmatchroomAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_hotel_hstdf_shotel_exnotmatchroom_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // top返回结果 Result *TopResultSet `json:"result,omitempty" xml:"result,omitempty"` }
AlitripHotelHstdfShotelExnotmatchroomAPIResponseModel is 导出一个hid下所有未匹配rid的接口 成功返回结果
type AlitripHotelHstdfShotelExportshotelAPIRequest ¶ added in v1.2.0
type AlitripHotelHstdfShotelExportshotelAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripHotelHstdfShotelExportshotelAPIRequest 商家自主导出相似度高的标准酒店 API请求 alitrip.hotel.hstdf.shotel.exportshotel
商家通过给出自己的卖家酒店信息,通过接口可以返回相似度高的标准酒店信息
func NewAlitripHotelHstdfShotelExportshotelRequest ¶
func NewAlitripHotelHstdfShotelExportshotelRequest() *AlitripHotelHstdfShotelExportshotelAPIRequest
NewAlitripHotelHstdfShotelExportshotelRequest 初始化AlitripHotelHstdfShotelExportshotelAPIRequest对象
func (AlitripHotelHstdfShotelExportshotelAPIRequest) GetAddress ¶ added in v1.2.0
func (r AlitripHotelHstdfShotelExportshotelAPIRequest) GetAddress() string
GetAddress Address Getter
func (AlitripHotelHstdfShotelExportshotelAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlitripHotelHstdfShotelExportshotelAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripHotelHstdfShotelExportshotelAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlitripHotelHstdfShotelExportshotelAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripHotelHstdfShotelExportshotelAPIRequest) GetCityCode ¶ added in v1.2.0
func (r AlitripHotelHstdfShotelExportshotelAPIRequest) GetCityCode() int64
GetCityCode CityCode Getter
func (AlitripHotelHstdfShotelExportshotelAPIRequest) GetHid ¶ added in v1.2.0
func (r AlitripHotelHstdfShotelExportshotelAPIRequest) GetHid() int64
GetHid Hid Getter
func (AlitripHotelHstdfShotelExportshotelAPIRequest) GetLatitude ¶ added in v1.2.0
func (r AlitripHotelHstdfShotelExportshotelAPIRequest) GetLatitude() string
GetLatitude Latitude Getter
func (AlitripHotelHstdfShotelExportshotelAPIRequest) GetLongitude ¶ added in v1.2.0
func (r AlitripHotelHstdfShotelExportshotelAPIRequest) GetLongitude() string
GetLongitude Longitude Getter
func (AlitripHotelHstdfShotelExportshotelAPIRequest) GetName ¶ added in v1.2.0
func (r AlitripHotelHstdfShotelExportshotelAPIRequest) GetName() string
GetName Name Getter
func (AlitripHotelHstdfShotelExportshotelAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripHotelHstdfShotelExportshotelAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlitripHotelHstdfShotelExportshotelAPIRequest) GetTelNumber ¶ added in v1.2.0
func (r AlitripHotelHstdfShotelExportshotelAPIRequest) GetTelNumber() string
GetTelNumber TelNumber Getter
func (*AlitripHotelHstdfShotelExportshotelAPIRequest) SetAddress ¶ added in v1.2.0
func (r *AlitripHotelHstdfShotelExportshotelAPIRequest) SetAddress(_address string) error
SetAddress is Address Setter 地址
func (*AlitripHotelHstdfShotelExportshotelAPIRequest) SetCityCode ¶ added in v1.2.0
func (r *AlitripHotelHstdfShotelExportshotelAPIRequest) SetCityCode(_cityCode int64) error
SetCityCode is CityCode Setter 酒店所在行政区划,对应平台ID,为空时会使用经纬度来定位
func (*AlitripHotelHstdfShotelExportshotelAPIRequest) SetHid ¶ added in v1.2.0
func (r *AlitripHotelHstdfShotelExportshotelAPIRequest) SetHid(_hid int64) error
SetHid is Hid Setter HID,卖家酒店上传到平台后的ID
func (*AlitripHotelHstdfShotelExportshotelAPIRequest) SetLatitude ¶ added in v1.2.0
func (r *AlitripHotelHstdfShotelExportshotelAPIRequest) SetLatitude(_latitude string) error
SetLatitude is Latitude Setter 纬度
func (*AlitripHotelHstdfShotelExportshotelAPIRequest) SetLongitude ¶ added in v1.2.0
func (r *AlitripHotelHstdfShotelExportshotelAPIRequest) SetLongitude(_longitude string) error
SetLongitude is Longitude Setter 经度
func (*AlitripHotelHstdfShotelExportshotelAPIRequest) SetName ¶ added in v1.2.0
func (r *AlitripHotelHstdfShotelExportshotelAPIRequest) SetName(_name string) error
SetName is Name Setter 酒店名称,必填
func (*AlitripHotelHstdfShotelExportshotelAPIRequest) SetTelNumber ¶ added in v1.2.0
func (r *AlitripHotelHstdfShotelExportshotelAPIRequest) SetTelNumber(_telNumber string) error
SetTelNumber is TelNumber Setter 电话
type AlitripHotelHstdfShotelExportshotelAPIResponse ¶
type AlitripHotelHstdfShotelExportshotelAPIResponse struct { model.CommonResponse AlitripHotelHstdfShotelExportshotelAPIResponseModel }
AlitripHotelHstdfShotelExportshotelAPIResponse 商家自主导出相似度高的标准酒店 API返回值 alitrip.hotel.hstdf.shotel.exportshotel
商家通过给出自己的卖家酒店信息,通过接口可以返回相似度高的标准酒店信息
type AlitripHotelHstdfShotelExportshotelAPIResponseModel ¶ added in v1.2.0
type AlitripHotelHstdfShotelExportshotelAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_hotel_hstdf_shotel_exportshotel_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // top返回结果 TopResultSet *TopResultSet `json:"top_result_set,omitempty" xml:"top_result_set,omitempty"` }
AlitripHotelHstdfShotelExportshotelAPIResponseModel is 商家自主导出相似度高的标准酒店 成功返回结果
type AlitripHotelHstdfShotelExportsroomtypeAPIRequest ¶ added in v1.2.0
type AlitripHotelHstdfShotelExportsroomtypeAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripHotelHstdfShotelExportsroomtypeAPIRequest 导出一个卖家房型下的所有标准房型 API请求 alitrip.hotel.hstdf.shotel.exportsroomtype
导出一个卖家酒店下的所有标准房型
func NewAlitripHotelHstdfShotelExportsroomtypeRequest ¶
func NewAlitripHotelHstdfShotelExportsroomtypeRequest() *AlitripHotelHstdfShotelExportsroomtypeAPIRequest
NewAlitripHotelHstdfShotelExportsroomtypeRequest 初始化AlitripHotelHstdfShotelExportsroomtypeAPIRequest对象
func (AlitripHotelHstdfShotelExportsroomtypeAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlitripHotelHstdfShotelExportsroomtypeAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripHotelHstdfShotelExportsroomtypeAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlitripHotelHstdfShotelExportsroomtypeAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripHotelHstdfShotelExportsroomtypeAPIRequest) GetHid ¶ added in v1.2.0
func (r AlitripHotelHstdfShotelExportsroomtypeAPIRequest) GetHid() int64
GetHid Hid Getter
func (AlitripHotelHstdfShotelExportsroomtypeAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripHotelHstdfShotelExportsroomtypeAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitripHotelHstdfShotelExportsroomtypeAPIRequest) SetHid ¶ added in v1.2.0
func (r *AlitripHotelHstdfShotelExportsroomtypeAPIRequest) SetHid(_hid int64) error
SetHid is Hid Setter 卖家酒店id
type AlitripHotelHstdfShotelExportsroomtypeAPIResponse ¶
type AlitripHotelHstdfShotelExportsroomtypeAPIResponse struct { model.CommonResponse AlitripHotelHstdfShotelExportsroomtypeAPIResponseModel }
AlitripHotelHstdfShotelExportsroomtypeAPIResponse 导出一个卖家房型下的所有标准房型 API返回值 alitrip.hotel.hstdf.shotel.exportsroomtype
导出一个卖家酒店下的所有标准房型
type AlitripHotelHstdfShotelExportsroomtypeAPIResponseModel ¶ added in v1.2.0
type AlitripHotelHstdfShotelExportsroomtypeAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_hotel_hstdf_shotel_exportsroomtype_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // top返回结果 Result *TopResultSet `json:"result,omitempty" xml:"result,omitempty"` }
AlitripHotelHstdfShotelExportsroomtypeAPIResponseModel is 导出一个卖家房型下的所有标准房型 成功返回结果
type AlitripHotelHstdfShotelMatchshotelselfAPIRequest ¶ added in v1.2.0
type AlitripHotelHstdfShotelMatchshotelselfAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripHotelHstdfShotelMatchshotelselfAPIRequest 自主匹配标准酒店以及卖家酒店 API请求 alitrip.hotel.hstdf.shotel.matchshotelself
商家通过指定的标准酒店id和卖家酒店id进行匹配
func NewAlitripHotelHstdfShotelMatchshotelselfRequest ¶
func NewAlitripHotelHstdfShotelMatchshotelselfRequest() *AlitripHotelHstdfShotelMatchshotelselfAPIRequest
NewAlitripHotelHstdfShotelMatchshotelselfRequest 初始化AlitripHotelHstdfShotelMatchshotelselfAPIRequest对象
func (AlitripHotelHstdfShotelMatchshotelselfAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlitripHotelHstdfShotelMatchshotelselfAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripHotelHstdfShotelMatchshotelselfAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlitripHotelHstdfShotelMatchshotelselfAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripHotelHstdfShotelMatchshotelselfAPIRequest) GetParam0 ¶ added in v1.2.0
func (r AlitripHotelHstdfShotelMatchshotelselfAPIRequest) GetParam0() *HotelMatchParam
GetParam0 Param0 Getter
func (AlitripHotelHstdfShotelMatchshotelselfAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripHotelHstdfShotelMatchshotelselfAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitripHotelHstdfShotelMatchshotelselfAPIRequest) SetParam0 ¶ added in v1.2.0
func (r *AlitripHotelHstdfShotelMatchshotelselfAPIRequest) SetParam0(_param0 *HotelMatchParam) error
SetParam0 is Param0 Setter HotelMatchParam
type AlitripHotelHstdfShotelMatchshotelselfAPIResponse ¶
type AlitripHotelHstdfShotelMatchshotelselfAPIResponse struct { model.CommonResponse AlitripHotelHstdfShotelMatchshotelselfAPIResponseModel }
AlitripHotelHstdfShotelMatchshotelselfAPIResponse 自主匹配标准酒店以及卖家酒店 API返回值 alitrip.hotel.hstdf.shotel.matchshotelself
商家通过指定的标准酒店id和卖家酒店id进行匹配
type AlitripHotelHstdfShotelMatchshotelselfAPIResponseModel ¶ added in v1.2.0
type AlitripHotelHstdfShotelMatchshotelselfAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_hotel_hstdf_shotel_matchshotelself_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 错误码 Errorcode string `json:"errorcode,omitempty" xml:"errorcode,omitempty"` // 错误信息 Errormsg string `json:"errormsg,omitempty" xml:"errormsg,omitempty"` // 是否成功 Status bool `json:"status,omitempty" xml:"status,omitempty"` }
AlitripHotelHstdfShotelMatchshotelselfAPIResponseModel is 自主匹配标准酒店以及卖家酒店 成功返回结果
type AlitripHotelHstdfShotelMatchsroomselfAPIRequest ¶ added in v1.2.0
type AlitripHotelHstdfShotelMatchsroomselfAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripHotelHstdfShotelMatchsroomselfAPIRequest 匹配标准房型以及卖家房型 API请求 alitrip.hotel.hstdf.shotel.matchsroomself
匹配卖家房型以及标准房型,返回匹配结果
func NewAlitripHotelHstdfShotelMatchsroomselfRequest ¶
func NewAlitripHotelHstdfShotelMatchsroomselfRequest() *AlitripHotelHstdfShotelMatchsroomselfAPIRequest
NewAlitripHotelHstdfShotelMatchsroomselfRequest 初始化AlitripHotelHstdfShotelMatchsroomselfAPIRequest对象
func (AlitripHotelHstdfShotelMatchsroomselfAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlitripHotelHstdfShotelMatchsroomselfAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripHotelHstdfShotelMatchsroomselfAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlitripHotelHstdfShotelMatchsroomselfAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripHotelHstdfShotelMatchsroomselfAPIRequest) GetParam0 ¶ added in v1.2.0
func (r AlitripHotelHstdfShotelMatchsroomselfAPIRequest) GetParam0() *SroomTypeMatchParam
GetParam0 Param0 Getter
func (AlitripHotelHstdfShotelMatchsroomselfAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripHotelHstdfShotelMatchsroomselfAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitripHotelHstdfShotelMatchsroomselfAPIRequest) SetParam0 ¶ added in v1.2.0
func (r *AlitripHotelHstdfShotelMatchsroomselfAPIRequest) SetParam0(_param0 *SroomTypeMatchParam) error
SetParam0 is Param0 Setter SroomTypeMatchParam
type AlitripHotelHstdfShotelMatchsroomselfAPIResponse ¶
type AlitripHotelHstdfShotelMatchsroomselfAPIResponse struct { model.CommonResponse AlitripHotelHstdfShotelMatchsroomselfAPIResponseModel }
AlitripHotelHstdfShotelMatchsroomselfAPIResponse 匹配标准房型以及卖家房型 API返回值 alitrip.hotel.hstdf.shotel.matchsroomself
匹配卖家房型以及标准房型,返回匹配结果
type AlitripHotelHstdfShotelMatchsroomselfAPIResponseModel ¶ added in v1.2.0
type AlitripHotelHstdfShotelMatchsroomselfAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_hotel_hstdf_shotel_matchsroomself_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // error_code Errorcode string `json:"errorcode,omitempty" xml:"errorcode,omitempty"` // error_msg Errormsg string `json:"errormsg,omitempty" xml:"errormsg,omitempty"` // 是否成功 Status bool `json:"status,omitempty" xml:"status,omitempty"` }
AlitripHotelHstdfShotelMatchsroomselfAPIResponseModel is 匹配标准房型以及卖家房型 成功返回结果
type AlitripHotelHstdfShotelRoomtypeMappingsListAPIRequest ¶ added in v1.2.0
type AlitripHotelHstdfShotelRoomtypeMappingsListAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripHotelHstdfShotelRoomtypeMappingsListAPIRequest 根据HID获取所有卖家房型匹配关系 API请求 alitrip.hotel.hstdf.shotel.roomtype.mappings.list
根据HID获取所有卖家房型匹配关系
func NewAlitripHotelHstdfShotelRoomtypeMappingsListRequest ¶
func NewAlitripHotelHstdfShotelRoomtypeMappingsListRequest() *AlitripHotelHstdfShotelRoomtypeMappingsListAPIRequest
NewAlitripHotelHstdfShotelRoomtypeMappingsListRequest 初始化AlitripHotelHstdfShotelRoomtypeMappingsListAPIRequest对象
func (AlitripHotelHstdfShotelRoomtypeMappingsListAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlitripHotelHstdfShotelRoomtypeMappingsListAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripHotelHstdfShotelRoomtypeMappingsListAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlitripHotelHstdfShotelRoomtypeMappingsListAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripHotelHstdfShotelRoomtypeMappingsListAPIRequest) GetHid ¶ added in v1.2.0
func (r AlitripHotelHstdfShotelRoomtypeMappingsListAPIRequest) GetHid() int64
GetHid Hid Getter
func (AlitripHotelHstdfShotelRoomtypeMappingsListAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripHotelHstdfShotelRoomtypeMappingsListAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitripHotelHstdfShotelRoomtypeMappingsListAPIRequest) SetHid ¶ added in v1.2.0
func (r *AlitripHotelHstdfShotelRoomtypeMappingsListAPIRequest) SetHid(_hid int64) error
SetHid is Hid Setter HID
type AlitripHotelHstdfShotelRoomtypeMappingsListAPIResponse ¶
type AlitripHotelHstdfShotelRoomtypeMappingsListAPIResponse struct { model.CommonResponse AlitripHotelHstdfShotelRoomtypeMappingsListAPIResponseModel }
AlitripHotelHstdfShotelRoomtypeMappingsListAPIResponse 根据HID获取所有卖家房型匹配关系 API返回值 alitrip.hotel.hstdf.shotel.roomtype.mappings.list
根据HID获取所有卖家房型匹配关系
type AlitripHotelHstdfShotelRoomtypeMappingsListAPIResponseModel ¶ added in v1.2.0
type AlitripHotelHstdfShotelRoomtypeMappingsListAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_hotel_hstdf_shotel_roomtype_mappings_list_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // top返回结果 Result *TopResultSet `json:"result,omitempty" xml:"result,omitempty"` }
AlitripHotelHstdfShotelRoomtypeMappingsListAPIResponseModel is 根据HID获取所有卖家房型匹配关系 成功返回结果
type AlitripHotelHstdfShotelRoomtypeMappingsListResults ¶
type AlitripHotelHstdfShotelRoomtypeMappingsListResults struct { // 卖家房型 RoomType *RoomTypePo `json:"room_type,omitempty" xml:"room_type,omitempty"` // 标准房型 StdRoomType *SroomTypePo `json:"std_room_type,omitempty" xml:"std_room_type,omitempty"` // 是否匹配 Matched bool `json:"matched,omitempty" xml:"matched,omitempty"` }
AlitripHotelHstdfShotelRoomtypeMappingsListResults 结构体
type BusinessArea ¶
type BusinessArea struct { // 商圈标签,英文逗号分隔,注意与酒店标签不是同一类概念 Tags []string `json:"tags,omitempty" xml:"tags>string,omitempty"` // 商圈围栏数据,经纬度坐标使用英文逗号拼接 Area string `json:"area,omitempty" xml:"area,omitempty"` // 商圈图片 AreaPic string `json:"area_pic,omitempty" xml:"area_pic,omitempty"` // 商圈缩略图 AreaPicNail string `json:"area_pic_nail,omitempty" xml:"area_pic_nail,omitempty"` // 所在国家英文名 Country string `json:"country,omitempty" xml:"country,omitempty"` // 行政区划树,冗余字段,不一定有值 DivisionTree string `json:"division_tree,omitempty" xml:"division_tree,omitempty"` // 商圈英文名 EnName string `json:"en_name,omitempty" xml:"en_name,omitempty"` // 商圈中心点纬度 Latitude string `json:"latitude,omitempty" xml:"latitude,omitempty"` // 商圈中心点经度 Longitude string `json:"longitude,omitempty" xml:"longitude,omitempty"` // 中文名 Name string `json:"name,omitempty" xml:"name,omitempty"` // 暂不使用 OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"` // 商圈跨多个地区时,其他地区id适应英文逗号拼接 Region string `json:"region,omitempty" xml:"region,omitempty"` // 商圈推荐导语 Summary string `json:"summary,omitempty" xml:"summary,omitempty"` // 时区,冗余字段,不一定有值 TimeZoneId string `json:"time_zone_id,omitempty" xml:"time_zone_id,omitempty"` // 所在城市id,北京市 City int64 `json:"city,omitempty" xml:"city,omitempty"` // 国家编码,取代country使用 CountryCode int64 `json:"country_code,omitempty" xml:"country_code,omitempty"` // 所在区县id District int64 `json:"district,omitempty" xml:"district,omitempty"` // 能精确到的最低层级区划id,优先区县,次选城市 DivisionId int64 `json:"division_id,omitempty" xml:"division_id,omitempty"` // 国内外,0-国内,1--国外 Domestic int64 `json:"domestic,omitempty" xml:"domestic,omitempty"` // 计算酒店所属商圈是否需要外延,0-不需要,1-需要 ExtentMeter int64 `json:"extent_meter,omitempty" xml:"extent_meter,omitempty"` // 热度 Hot int64 `json:"hot,omitempty" xml:"hot,omitempty"` // id Id int64 `json:"id,omitempty" xml:"id,omitempty"` // 暂不使用 Major int64 `json:"major,omitempty" xml:"major,omitempty"` // 经纬度服务商,0--高德,一般用于国内,1-- 谷歌,一般用于国际 PositionType int64 `json:"position_type,omitempty" xml:"position_type,omitempty"` // 所在省份id,北京直辖市 Province int64 `json:"province,omitempty" xml:"province,omitempty"` // 暂不使用 Source int64 `json:"source,omitempty" xml:"source,omitempty"` // 最精确的行政区划对应的平台id TrdiDivisionId int64 `json:"trdi_division_id,omitempty" xml:"trdi_division_id,omitempty"` }
BusinessArea 结构体
type DidaResult ¶ added in v1.2.9
type DidaResult struct { // 错误码 ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"` // 错误信息 ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` // 服务是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
DidaResult 结构体
type GetByTrdiDivisionIdParam ¶
type GetByTrdiDivisionIdParam struct { // 第1页 Page int64 `json:"page,omitempty" xml:"page,omitempty"` // 每页取100条数据 PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // 平台行政区划id,北京市 TrdiDivisionId int64 `json:"trdi_division_id,omitempty" xml:"trdi_division_id,omitempty"` }
GetByTrdiDivisionIdParam 结构体
type GetHotelRoomStaticParam ¶
type GetHotelRoomStaticParam struct { // 第1页 Page int64 `json:"page,omitempty" xml:"page,omitempty"` // 每页取100条 PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // 字典类型 Type int64 `json:"type,omitempty" xml:"type,omitempty"` }
GetHotelRoomStaticParam 结构体
type HotelExportParam ¶
type HotelExportParam struct { // 标准酒店名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 标准酒店所在城市 City string `json:"city,omitempty" xml:"city,omitempty"` // 酒店地址 Address string `json:"address,omitempty" xml:"address,omitempty"` // 电话号码 Tel string `json:"tel,omitempty" xml:"tel,omitempty"` // 经纬度 Jwd string `json:"jwd,omitempty" xml:"jwd,omitempty"` // 相似度分数 Score string `json:"score,omitempty" xml:"score,omitempty"` // 英文名称 NameE string `json:"name_e,omitempty" xml:"name_e,omitempty"` // 英文地址 EnAddr string `json:"en_addr,omitempty" xml:"en_addr,omitempty"` // 曾用名 UsedName string `json:"used_name,omitempty" xml:"used_name,omitempty"` // 酒店状态描述 StatusDesc string `json:"status_desc,omitempty" xml:"status_desc,omitempty"` // 标准酒店id Shid int64 `json:"shid,omitempty" xml:"shid,omitempty"` // 卖家酒店id Hid int64 `json:"hid,omitempty" xml:"hid,omitempty"` // 酒店状态0,正常,有报价可在线售卖,-1,待上线,-3 下架,-1,-3需要上线时联系平台处理 StatusCode int64 `json:"status_code,omitempty" xml:"status_code,omitempty"` }
HotelExportParam 结构体
type HotelMatchParam ¶
type HotelMatchParam struct { // 卖家酒店id Hid int64 `json:"hid,omitempty" xml:"hid,omitempty"` // 标准酒店id Shid int64 `json:"shid,omitempty" xml:"shid,omitempty"` }
HotelMatchParam 结构体
type HotelPoi ¶ added in v1.3.1
type HotelPoi struct { // 暂不使用 CityName string `json:"city_name,omitempty" xml:"city_name,omitempty"` // 所在国家英文名 Country string `json:"country,omitempty" xml:"country,omitempty"` // 行政区划树,冗余字段,不一定有值 DivisionTree string `json:"division_tree,omitempty" xml:"division_tree,omitempty"` // 英文名 EnName string `json:"en_name,omitempty" xml:"en_name,omitempty"` // poi location纬度 Latitude string `json:"latitude,omitempty" xml:"latitude,omitempty"` // poi locaiton经度 Longitude string `json:"longitude,omitempty" xml:"longitude,omitempty"` // 中文名 Name string `json:"name,omitempty" xml:"name,omitempty"` // 时区,冗余字段,不一定有值 TimeZoneId string `json:"time_zone_id,omitempty" xml:"time_zone_id,omitempty"` // 搜索热度 SearchPercent string `json:"search_percent,omitempty" xml:"search_percent,omitempty"` // 所在城市id City int64 `json:"city,omitempty" xml:"city,omitempty"` // 所在国家id CountryCode int64 `json:"country_code,omitempty" xml:"country_code,omitempty"` // 所在区县id District int64 `json:"district,omitempty" xml:"district,omitempty"` // 能精确到的最低层级区划id,优先区县,次选城市 DivisionId int64 `json:"division_id,omitempty" xml:"division_id,omitempty"` // 国内外,0-国内,1--国外 Domestic int64 `json:"domestic,omitempty" xml:"domestic,omitempty"` // 热度 Hot int64 `json:"hot,omitempty" xml:"hot,omitempty"` // id Id int64 `json:"id,omitempty" xml:"id,omitempty"` // 分组内排序 OrderIndex int64 `json:"order_index,omitempty" xml:"order_index,omitempty"` // 父id ParentId int64 `json:"parent_id,omitempty" xml:"parent_id,omitempty"` // 经纬度服务商,0--高德,一般用于国内,1- - 谷歌,一般用于国际 PositionType int64 `json:"position_type,omitempty" xml:"position_type,omitempty"` // 所在省份id,北京直辖市 Province int64 `json:"province,omitempty" xml:"province,omitempty"` // 最精确的行政区划对应的平台id TrdiDivisionId int64 `json:"trdi_division_id,omitempty" xml:"trdi_division_id,omitempty"` // 类型,3--地铁线路,4--地铁站,20--考点,5--景点,6--机场,7--火车站,8--汽车站,9--医院,10--大学,11--热点搜索,12--城市,13--办公区 Type int64 `json:"type,omitempty" xml:"type,omitempty"` }
HotelPoi 结构体
type HotelRoomStaticDo ¶
type HotelRoomStaticDo struct { // 字典code,收费停车场 Code string `json:"code,omitempty" xml:"code,omitempty"` // 数据银行id,酒店集团字典才有值 DataBankBrandId string `json:"data_bank_brand_id,omitempty" xml:"data_bank_brand_id,omitempty"` // 描述,不一定有值 Description string `json:"description,omitempty" xml:"description,omitempty"` // 展示名称 DisplayName string `json:"display_name,omitempty" xml:"display_name,omitempty"` // 英文名 EnName string `json:"en_name,omitempty" xml:"en_name,omitempty"` // 暂不使用 ExtendInfo string `json:"extend_info,omitempty" xml:"extend_info,omitempty"` // log图片 LogoUrl string `json:"logo_url,omitempty" xml:"logo_url,omitempty"` // 中文名 Name string `json:"name,omitempty" xml:"name,omitempty"` // 热度 Hot int64 `json:"hot,omitempty" xml:"hot,omitempty"` // id Id int64 `json:"id,omitempty" xml:"id,omitempty"` // 父id ParentId int64 `json:"parent_id,omitempty" xml:"parent_id,omitempty"` // 优先级 Priority int64 `json:"priority,omitempty" xml:"priority,omitempty"` // 状态,0--生效,-4--失效,接口返回一般均为生效数据 Status int64 `json:"status,omitempty" xml:"status,omitempty"` // 二级分类 SubType int64 `json:"sub_type,omitempty" xml:"sub_type,omitempty"` // 暂不使用 Tag int64 `json:"tag,omitempty" xml:"tag,omitempty"` // 字典类型,10--预订须知,116--酒店设施,117--娱乐设施,118--酒店服务,119--房间设施 Type int64 `json:"type,omitempty" xml:"type,omitempty"` }
HotelRoomStaticDo 结构体
type RoomTypePo ¶
type RoomTypePo struct { // 外部系统id OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"` // 卖家未匹配房型的面积 Area string `json:"area,omitempty" xml:"area,omitempty"` // 卖家未匹配房型的床型 BedType string `json:"bed_type,omitempty" xml:"bed_type,omitempty"` // 卖家未匹配房型英文名称 NameE string `json:"name_e,omitempty" xml:"name_e,omitempty"` // 卖家未匹配房型名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 卖家未匹配rid Rid int64 `json:"rid,omitempty" xml:"rid,omitempty"` // 窗型 WindowType int64 `json:"window_type,omitempty" xml:"window_type,omitempty"` }
RoomTypePo 结构体
type SroomTypeMatchParam ¶
type SroomTypeMatchParam struct { // 标准房型id Srid int64 `json:"srid,omitempty" xml:"srid,omitempty"` // 卖家房型id Rid int64 `json:"rid,omitempty" xml:"rid,omitempty"` }
SroomTypeMatchParam 结构体
type SroomTypePo ¶
type SroomTypePo struct { // 标准房型名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 标准房型英文名称 NameE string `json:"name_e,omitempty" xml:"name_e,omitempty"` // 标准房型床型 BedType string `json:"bed_type,omitempty" xml:"bed_type,omitempty"` // 标准房型面积 Area string `json:"area,omitempty" xml:"area,omitempty"` // 标准房型id Srid int64 `json:"srid,omitempty" xml:"srid,omitempty"` // 窗型,0:无窗,1:有窗,2:部分有窗,3:暗窗,4:部分暗窗 WindowType int64 `json:"window_type,omitempty" xml:"window_type,omitempty"` }
SroomTypePo 结构体
type TaobaoXhotelHotelMessageReceiveAPIRequest ¶ added in v1.2.9
type TaobaoXhotelHotelMessageReceiveAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelHotelMessageReceiveAPIRequest 接收道消息接口 API请求 taobao.xhotel.hotel.message.receive
接收道消息接口
func NewTaobaoXhotelHotelMessageReceiveRequest ¶ added in v1.2.9
func NewTaobaoXhotelHotelMessageReceiveRequest() *TaobaoXhotelHotelMessageReceiveAPIRequest
NewTaobaoXhotelHotelMessageReceiveRequest 初始化TaobaoXhotelHotelMessageReceiveAPIRequest对象
func (TaobaoXhotelHotelMessageReceiveAPIRequest) GetApiMethodName ¶ added in v1.2.9
func (r TaobaoXhotelHotelMessageReceiveAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelHotelMessageReceiveAPIRequest) GetApiParams ¶ added in v1.2.9
func (r TaobaoXhotelHotelMessageReceiveAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelHotelMessageReceiveAPIRequest) GetDataType ¶ added in v1.2.9
func (r TaobaoXhotelHotelMessageReceiveAPIRequest) GetDataType() int64
GetDataType DataType Getter
func (TaobaoXhotelHotelMessageReceiveAPIRequest) GetFileCount ¶ added in v1.2.9
func (r TaobaoXhotelHotelMessageReceiveAPIRequest) GetFileCount() int64
GetFileCount FileCount Getter
func (TaobaoXhotelHotelMessageReceiveAPIRequest) GetOssPath ¶ added in v1.2.9
func (r TaobaoXhotelHotelMessageReceiveAPIRequest) GetOssPath() string
GetOssPath OssPath Getter
func (TaobaoXhotelHotelMessageReceiveAPIRequest) GetRawParams ¶ added in v1.2.9
func (r TaobaoXhotelHotelMessageReceiveAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoXhotelHotelMessageReceiveAPIRequest) GetRecordCount ¶ added in v1.2.9
func (r TaobaoXhotelHotelMessageReceiveAPIRequest) GetRecordCount() int64
GetRecordCount RecordCount Getter
func (*TaobaoXhotelHotelMessageReceiveAPIRequest) SetDataType ¶ added in v1.2.9
func (r *TaobaoXhotelHotelMessageReceiveAPIRequest) SetDataType(_dataType int64) error
SetDataType is DataType Setter 数据的类型,枚举值见文档
func (*TaobaoXhotelHotelMessageReceiveAPIRequest) SetFileCount ¶ added in v1.2.9
func (r *TaobaoXhotelHotelMessageReceiveAPIRequest) SetFileCount(_fileCount int64) error
SetFileCount is FileCount Setter 上传的文件个数
func (*TaobaoXhotelHotelMessageReceiveAPIRequest) SetOssPath ¶ added in v1.2.9
func (r *TaobaoXhotelHotelMessageReceiveAPIRequest) SetOssPath(_ossPath string) error
SetOssPath is OssPath Setter 文件在OSS的存储路径,不包含文件名,只包含文件夹路径
func (*TaobaoXhotelHotelMessageReceiveAPIRequest) SetRecordCount ¶ added in v1.2.9
func (r *TaobaoXhotelHotelMessageReceiveAPIRequest) SetRecordCount(_recordCount int64) error
SetRecordCount is RecordCount Setter 文件记录总数量
type TaobaoXhotelHotelMessageReceiveAPIResponse ¶ added in v1.2.9
type TaobaoXhotelHotelMessageReceiveAPIResponse struct { model.CommonResponse TaobaoXhotelHotelMessageReceiveAPIResponseModel }
TaobaoXhotelHotelMessageReceiveAPIResponse 接收道消息接口 API返回值 taobao.xhotel.hotel.message.receive
接收道消息接口
type TaobaoXhotelHotelMessageReceiveAPIResponseModel ¶ added in v1.2.9
type TaobaoXhotelHotelMessageReceiveAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_hotel_message_receive_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 响应结果 Result *DidaResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoXhotelHotelMessageReceiveAPIResponseModel is 接收道消息接口 成功返回结果
type TopResultSet ¶
type TopResultSet struct { // 结果集合 ModuleList []HotelRoomStaticDo `json:"module_list,omitempty" xml:"module_list>hotel_room_static_do,omitempty"` // 返回列表 Results []RoomTypePo `json:"results,omitempty" xml:"results>room_type_po,omitempty"` // 暂不使用 ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"` // 请求失败时返回的错误信息,一般success=false时有值 ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` // error_code ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // error_msg ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 当前查询条件下的数据总数;判断是否需要继续查询时,可以使用已请求数据量对比该值,但建议对结果集合进行判空,为空即停止 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` // 当前页之后是否还有数据,true--还有,可以继续请求 HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TopResultSet 结构体
type TopStdResultSet ¶
type TopStdResultSet struct { // 商圈数据集合 ModuleList []BusinessArea `json:"module_list,omitempty" xml:"module_list>business_area,omitempty"` // 暂不使用 ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"` // 请求失败时返回的错误信息,一般success=false时有值 ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` // 当前查询条件下的数据总数;判断是否需要继续查询时,可以使用已请求数据量对比该值,但建议对结果集合进行判空,为空即停止 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` // 是 HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TopStdResultSet 结构体
Source Files ¶
- AlitripHotelHstdfBusinessareaGetAPIRequest.go
- AlitripHotelHstdfBusinessareaGetAPIResponse.go
- AlitripHotelHstdfHotelroomstaticGetAPIRequest.go
- AlitripHotelHstdfHotelroomstaticGetAPIResponse.go
- AlitripHotelHstdfPoilocationGetAPIRequest.go
- AlitripHotelHstdfPoilocationGetAPIResponse.go
- AlitripHotelHstdfShotelExnotmatchroomAPIRequest.go
- AlitripHotelHstdfShotelExnotmatchroomAPIResponse.go
- AlitripHotelHstdfShotelExportshotelAPIRequest.go
- AlitripHotelHstdfShotelExportshotelAPIResponse.go
- AlitripHotelHstdfShotelExportsroomtypeAPIRequest.go
- AlitripHotelHstdfShotelExportsroomtypeAPIResponse.go
- AlitripHotelHstdfShotelMatchshotelselfAPIRequest.go
- AlitripHotelHstdfShotelMatchshotelselfAPIResponse.go
- AlitripHotelHstdfShotelMatchsroomselfAPIRequest.go
- AlitripHotelHstdfShotelMatchsroomselfAPIResponse.go
- AlitripHotelHstdfShotelRoomtypeMappingsListAPIRequest.go
- AlitripHotelHstdfShotelRoomtypeMappingsListAPIResponse.go
- AlitripHotelHstdfShotelRoomtypeMappingsListResults.go
- BusinessArea.go
- DidaResult.go
- GetByTrdiDivisionIdParam.go
- GetHotelRoomStaticParam.go
- HotelExportParam.go
- HotelMatchParam.go
- HotelPOI.go
- HotelRoomStaticDo.go
- RoomTypePo.go
- SroomTypeMatchParam.go
- SroomTypePo.go
- TaobaoXhotelHotelMessageReceiveAPIRequest.go
- TaobaoXhotelHotelMessageReceiveAPIResponse.go
- TopResultSet.go
- TopStdResultSet.go
- doc.go