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.3.1
type AlitriphotelhstdfbusinessareagetAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitriphotelhstdfbusinessareagetAPIRequest 根据城市查询商圈 API请求 alitrip.hotel.hstdf.businessarea.get
根据cityId分页查询商圈信息
func NewAlitriphotelhstdfbusinessareagetRequest ¶ added in v1.3.1
func NewAlitriphotelhstdfbusinessareagetRequest() *AlitriphotelhstdfbusinessareagetAPIRequest
NewAlitriphotelhstdfbusinessareagetRequest 初始化AlitriphotelhstdfbusinessareagetAPIRequest对象
func (AlitriphotelhstdfbusinessareagetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlitriphotelhstdfbusinessareagetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitriphotelhstdfbusinessareagetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlitriphotelhstdfbusinessareagetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitriphotelhstdfbusinessareagetAPIRequest) GetParamGetByTrdiDivisionIdParam ¶ added in v1.3.1
func (r AlitriphotelhstdfbusinessareagetAPIRequest) GetParamGetByTrdiDivisionIdParam() *GetByTrdiDivisionIdParam
GetParamGetByTrdiDivisionIdParam ParamGetByTrdiDivisionIdParam Getter
func (AlitriphotelhstdfbusinessareagetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlitriphotelhstdfbusinessareagetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitriphotelhstdfbusinessareagetAPIRequest) SetParamGetByTrdiDivisionIdParam ¶ added in v1.3.1
func (r *AlitriphotelhstdfbusinessareagetAPIRequest) SetParamGetByTrdiDivisionIdParam(_paramGetByTrdiDivisionIdParam *GetByTrdiDivisionIdParam) error
SetParamGetByTrdiDivisionIdParam is ParamGetByTrdiDivisionIdParam Setter 请求参数封装
type AlitriphotelhstdfbusinessareagetAPIResponse ¶ added in v1.3.1
type AlitriphotelhstdfbusinessareagetAPIResponse struct { model.CommonResponse AlitriphotelhstdfbusinessareagetAPIResponseModel }
AlitriphotelhstdfbusinessareagetAPIResponse 根据城市查询商圈 API返回值 alitrip.hotel.hstdf.businessarea.get
根据cityId分页查询商圈信息
type AlitriphotelhstdfbusinessareagetAPIResponseModel ¶ added in v1.3.1
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.3.1
type AlitriphotelhstdfhotelroomstaticgetAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitriphotelhstdfhotelroomstaticgetAPIRequest 根据类型查询静态字段 API请求 alitrip.hotel.hstdf.hotelroomstatic.get
根据类型查询分页静态字段
func NewAlitriphotelhstdfhotelroomstaticgetRequest ¶ added in v1.3.1
func NewAlitriphotelhstdfhotelroomstaticgetRequest() *AlitriphotelhstdfhotelroomstaticgetAPIRequest
NewAlitriphotelhstdfhotelroomstaticgetRequest 初始化AlitriphotelhstdfhotelroomstaticgetAPIRequest对象
func (AlitriphotelhstdfhotelroomstaticgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlitriphotelhstdfhotelroomstaticgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitriphotelhstdfhotelroomstaticgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlitriphotelhstdfhotelroomstaticgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitriphotelhstdfhotelroomstaticgetAPIRequest) GetParamGetHotelRoomStaticParam ¶ added in v1.3.1
func (r AlitriphotelhstdfhotelroomstaticgetAPIRequest) GetParamGetHotelRoomStaticParam() *GetHotelRoomStaticParam
GetParamGetHotelRoomStaticParam ParamGetHotelRoomStaticParam Getter
func (AlitriphotelhstdfhotelroomstaticgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlitriphotelhstdfhotelroomstaticgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitriphotelhstdfhotelroomstaticgetAPIRequest) SetParamGetHotelRoomStaticParam ¶ added in v1.3.1
func (r *AlitriphotelhstdfhotelroomstaticgetAPIRequest) SetParamGetHotelRoomStaticParam(_paramGetHotelRoomStaticParam *GetHotelRoomStaticParam) error
SetParamGetHotelRoomStaticParam is ParamGetHotelRoomStaticParam Setter 参数封装
type AlitriphotelhstdfhotelroomstaticgetAPIResponse ¶ added in v1.3.1
type AlitriphotelhstdfhotelroomstaticgetAPIResponse struct { model.CommonResponse AlitriphotelhstdfhotelroomstaticgetAPIResponseModel }
AlitriphotelhstdfhotelroomstaticgetAPIResponse 根据类型查询静态字段 API返回值 alitrip.hotel.hstdf.hotelroomstatic.get
根据类型查询分页静态字段
type AlitriphotelhstdfhotelroomstaticgetAPIResponseModel ¶ added in v1.3.1
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.3.1
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 ¶ added in v1.3.1
func NewAlitriphotelhstdfpoilocationgetRequest() *AlitriphotelhstdfpoilocationgetAPIRequest
NewAlitriphotelhstdfpoilocationgetRequest 初始化AlitriphotelhstdfpoilocationgetAPIRequest对象
func (AlitriphotelhstdfpoilocationgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlitriphotelhstdfpoilocationgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitriphotelhstdfpoilocationgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlitriphotelhstdfpoilocationgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitriphotelhstdfpoilocationgetAPIRequest) GetParamGetByTrdiDivisionIdParam ¶ added in v1.3.1
func (r AlitriphotelhstdfpoilocationgetAPIRequest) GetParamGetByTrdiDivisionIdParam() *GetByTrdiDivisionIdParam
GetParamGetByTrdiDivisionIdParam ParamGetByTrdiDivisionIdParam Getter
func (AlitriphotelhstdfpoilocationgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlitriphotelhstdfpoilocationgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitriphotelhstdfpoilocationgetAPIRequest) SetParamGetByTrdiDivisionIdParam ¶ added in v1.3.1
func (r *AlitriphotelhstdfpoilocationgetAPIRequest) SetParamGetByTrdiDivisionIdParam(_paramGetByTrdiDivisionIdParam *GetByTrdiDivisionIdParam) error
SetParamGetByTrdiDivisionIdParam is ParamGetByTrdiDivisionIdParam Setter 参数封装
type AlitriphotelhstdfpoilocationgetAPIResponse ¶ added in v1.3.1
type AlitriphotelhstdfpoilocationgetAPIResponse struct { model.CommonResponse AlitriphotelhstdfpoilocationgetAPIResponseModel }
AlitriphotelhstdfpoilocationgetAPIResponse 根据平台城市id分页查询poi location API返回值 alitrip.hotel.hstdf.poilocation.get
根据平台城市id分页查询poi location
type AlitriphotelhstdfpoilocationgetAPIResponseModel ¶ added in v1.3.1
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.3.1
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 ¶ added in v1.3.1
func NewAlitriphotelhstdfshotelexnotmatchroomRequest() *AlitriphotelhstdfshotelexnotmatchroomAPIRequest
NewAlitriphotelhstdfshotelexnotmatchroomRequest 初始化AlitriphotelhstdfshotelexnotmatchroomAPIRequest对象
func (AlitriphotelhstdfshotelexnotmatchroomAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlitriphotelhstdfshotelexnotmatchroomAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitriphotelhstdfshotelexnotmatchroomAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlitriphotelhstdfshotelexnotmatchroomAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitriphotelhstdfshotelexnotmatchroomAPIRequest) GetHid ¶ added in v1.3.1
func (r AlitriphotelhstdfshotelexnotmatchroomAPIRequest) GetHid() int64
GetHid Hid Getter
func (AlitriphotelhstdfshotelexnotmatchroomAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlitriphotelhstdfshotelexnotmatchroomAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitriphotelhstdfshotelexnotmatchroomAPIRequest) SetHid ¶ added in v1.3.1
func (r *AlitriphotelhstdfshotelexnotmatchroomAPIRequest) SetHid(_hid int64) error
SetHid is Hid Setter 卖家酒店hid
type AlitriphotelhstdfshotelexnotmatchroomAPIResponse ¶ added in v1.3.1
type AlitriphotelhstdfshotelexnotmatchroomAPIResponse struct { model.CommonResponse AlitriphotelhstdfshotelexnotmatchroomAPIResponseModel }
AlitriphotelhstdfshotelexnotmatchroomAPIResponse 导出一个hid下所有未匹配rid的接口 API返回值 alitrip.hotel.hstdf.shotel.exnotmatchroom
导出一个卖家hid下所有未匹配的rid信息,包括rid,名称、英文名称、床型、窗型、面积、对外系统id
type AlitriphotelhstdfshotelexnotmatchroomAPIResponseModel ¶ added in v1.3.1
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.3.1
type AlitriphotelhstdfshotelexportshotelAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitriphotelhstdfshotelexportshotelAPIRequest 商家自主导出相似度高的标准酒店 API请求 alitrip.hotel.hstdf.shotel.exportshotel
商家通过给出自己的卖家酒店信息,通过接口可以返回相似度高的标准酒店信息
func NewAlitriphotelhstdfshotelexportshotelRequest ¶ added in v1.3.1
func NewAlitriphotelhstdfshotelexportshotelRequest() *AlitriphotelhstdfshotelexportshotelAPIRequest
NewAlitriphotelhstdfshotelexportshotelRequest 初始化AlitriphotelhstdfshotelexportshotelAPIRequest对象
func (AlitriphotelhstdfshotelexportshotelAPIRequest) GetAddress ¶ added in v1.3.1
func (r AlitriphotelhstdfshotelexportshotelAPIRequest) GetAddress() string
GetAddress Address Getter
func (AlitriphotelhstdfshotelexportshotelAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlitriphotelhstdfshotelexportshotelAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitriphotelhstdfshotelexportshotelAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlitriphotelhstdfshotelexportshotelAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitriphotelhstdfshotelexportshotelAPIRequest) GetCityCode ¶ added in v1.3.1
func (r AlitriphotelhstdfshotelexportshotelAPIRequest) GetCityCode() int64
GetCityCode CityCode Getter
func (AlitriphotelhstdfshotelexportshotelAPIRequest) GetHid ¶ added in v1.3.1
func (r AlitriphotelhstdfshotelexportshotelAPIRequest) GetHid() int64
GetHid Hid Getter
func (AlitriphotelhstdfshotelexportshotelAPIRequest) GetLatitude ¶ added in v1.3.1
func (r AlitriphotelhstdfshotelexportshotelAPIRequest) GetLatitude() string
GetLatitude Latitude Getter
func (AlitriphotelhstdfshotelexportshotelAPIRequest) GetLongitude ¶ added in v1.3.1
func (r AlitriphotelhstdfshotelexportshotelAPIRequest) GetLongitude() string
GetLongitude Longitude Getter
func (AlitriphotelhstdfshotelexportshotelAPIRequest) GetName ¶ added in v1.3.1
func (r AlitriphotelhstdfshotelexportshotelAPIRequest) GetName() string
GetName Name Getter
func (AlitriphotelhstdfshotelexportshotelAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlitriphotelhstdfshotelexportshotelAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlitriphotelhstdfshotelexportshotelAPIRequest) GetTelNumber ¶ added in v1.3.1
func (r AlitriphotelhstdfshotelexportshotelAPIRequest) GetTelNumber() string
GetTelNumber TelNumber Getter
func (*AlitriphotelhstdfshotelexportshotelAPIRequest) SetAddress ¶ added in v1.3.1
func (r *AlitriphotelhstdfshotelexportshotelAPIRequest) SetAddress(_address string) error
SetAddress is Address Setter 地址
func (*AlitriphotelhstdfshotelexportshotelAPIRequest) SetCityCode ¶ added in v1.3.1
func (r *AlitriphotelhstdfshotelexportshotelAPIRequest) SetCityCode(_cityCode int64) error
SetCityCode is CityCode Setter 酒店所在行政区划,对应平台ID,为空时会使用经纬度来定位
func (*AlitriphotelhstdfshotelexportshotelAPIRequest) SetHid ¶ added in v1.3.1
func (r *AlitriphotelhstdfshotelexportshotelAPIRequest) SetHid(_hid int64) error
SetHid is Hid Setter HID,卖家酒店上传到平台后的ID
func (*AlitriphotelhstdfshotelexportshotelAPIRequest) SetLatitude ¶ added in v1.3.1
func (r *AlitriphotelhstdfshotelexportshotelAPIRequest) SetLatitude(_latitude string) error
SetLatitude is Latitude Setter 纬度
func (*AlitriphotelhstdfshotelexportshotelAPIRequest) SetLongitude ¶ added in v1.3.1
func (r *AlitriphotelhstdfshotelexportshotelAPIRequest) SetLongitude(_longitude string) error
SetLongitude is Longitude Setter 经度
func (*AlitriphotelhstdfshotelexportshotelAPIRequest) SetName ¶ added in v1.3.1
func (r *AlitriphotelhstdfshotelexportshotelAPIRequest) SetName(_name string) error
SetName is Name Setter 酒店名称,必填
func (*AlitriphotelhstdfshotelexportshotelAPIRequest) SetTelNumber ¶ added in v1.3.1
func (r *AlitriphotelhstdfshotelexportshotelAPIRequest) SetTelNumber(_telNumber string) error
SetTelNumber is TelNumber Setter 电话
type AlitriphotelhstdfshotelexportshotelAPIResponse ¶ added in v1.3.1
type AlitriphotelhstdfshotelexportshotelAPIResponse struct { model.CommonResponse AlitriphotelhstdfshotelexportshotelAPIResponseModel }
AlitriphotelhstdfshotelexportshotelAPIResponse 商家自主导出相似度高的标准酒店 API返回值 alitrip.hotel.hstdf.shotel.exportshotel
商家通过给出自己的卖家酒店信息,通过接口可以返回相似度高的标准酒店信息
type AlitriphotelhstdfshotelexportshotelAPIResponseModel ¶ added in v1.3.1
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.3.1
type AlitriphotelhstdfshotelexportsroomtypeAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitriphotelhstdfshotelexportsroomtypeAPIRequest 导出一个卖家房型下的所有标准房型 API请求 alitrip.hotel.hstdf.shotel.exportsroomtype
导出一个卖家酒店下的所有标准房型
func NewAlitriphotelhstdfshotelexportsroomtypeRequest ¶ added in v1.3.1
func NewAlitriphotelhstdfshotelexportsroomtypeRequest() *AlitriphotelhstdfshotelexportsroomtypeAPIRequest
NewAlitriphotelhstdfshotelexportsroomtypeRequest 初始化AlitriphotelhstdfshotelexportsroomtypeAPIRequest对象
func (AlitriphotelhstdfshotelexportsroomtypeAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlitriphotelhstdfshotelexportsroomtypeAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitriphotelhstdfshotelexportsroomtypeAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlitriphotelhstdfshotelexportsroomtypeAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitriphotelhstdfshotelexportsroomtypeAPIRequest) GetHid ¶ added in v1.3.1
func (r AlitriphotelhstdfshotelexportsroomtypeAPIRequest) GetHid() int64
GetHid Hid Getter
func (AlitriphotelhstdfshotelexportsroomtypeAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlitriphotelhstdfshotelexportsroomtypeAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitriphotelhstdfshotelexportsroomtypeAPIRequest) SetHid ¶ added in v1.3.1
func (r *AlitriphotelhstdfshotelexportsroomtypeAPIRequest) SetHid(_hid int64) error
SetHid is Hid Setter 卖家酒店id
type AlitriphotelhstdfshotelexportsroomtypeAPIResponse ¶ added in v1.3.1
type AlitriphotelhstdfshotelexportsroomtypeAPIResponse struct { model.CommonResponse AlitriphotelhstdfshotelexportsroomtypeAPIResponseModel }
AlitriphotelhstdfshotelexportsroomtypeAPIResponse 导出一个卖家房型下的所有标准房型 API返回值 alitrip.hotel.hstdf.shotel.exportsroomtype
导出一个卖家酒店下的所有标准房型
type AlitriphotelhstdfshotelexportsroomtypeAPIResponseModel ¶ added in v1.3.1
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.3.1
type AlitriphotelhstdfshotelmatchshotelselfAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitriphotelhstdfshotelmatchshotelselfAPIRequest 自主匹配标准酒店以及卖家酒店 API请求 alitrip.hotel.hstdf.shotel.matchshotelself
商家通过指定的标准酒店id和卖家酒店id进行匹配
func NewAlitriphotelhstdfshotelmatchshotelselfRequest ¶ added in v1.3.1
func NewAlitriphotelhstdfshotelmatchshotelselfRequest() *AlitriphotelhstdfshotelmatchshotelselfAPIRequest
NewAlitriphotelhstdfshotelmatchshotelselfRequest 初始化AlitriphotelhstdfshotelmatchshotelselfAPIRequest对象
func (AlitriphotelhstdfshotelmatchshotelselfAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlitriphotelhstdfshotelmatchshotelselfAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitriphotelhstdfshotelmatchshotelselfAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlitriphotelhstdfshotelmatchshotelselfAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitriphotelhstdfshotelmatchshotelselfAPIRequest) GetParam0 ¶ added in v1.3.1
func (r AlitriphotelhstdfshotelmatchshotelselfAPIRequest) GetParam0() *HotelMatchParam
GetParam0 Param0 Getter
func (AlitriphotelhstdfshotelmatchshotelselfAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlitriphotelhstdfshotelmatchshotelselfAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitriphotelhstdfshotelmatchshotelselfAPIRequest) SetParam0 ¶ added in v1.3.1
func (r *AlitriphotelhstdfshotelmatchshotelselfAPIRequest) SetParam0(_param0 *HotelMatchParam) error
SetParam0 is Param0 Setter HotelMatchParam
type AlitriphotelhstdfshotelmatchshotelselfAPIResponse ¶ added in v1.3.1
type AlitriphotelhstdfshotelmatchshotelselfAPIResponse struct { model.CommonResponse AlitriphotelhstdfshotelmatchshotelselfAPIResponseModel }
AlitriphotelhstdfshotelmatchshotelselfAPIResponse 自主匹配标准酒店以及卖家酒店 API返回值 alitrip.hotel.hstdf.shotel.matchshotelself
商家通过指定的标准酒店id和卖家酒店id进行匹配
type AlitriphotelhstdfshotelmatchshotelselfAPIResponseModel ¶ added in v1.3.1
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.3.1
type AlitriphotelhstdfshotelmatchsroomselfAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitriphotelhstdfshotelmatchsroomselfAPIRequest 匹配标准房型以及卖家房型 API请求 alitrip.hotel.hstdf.shotel.matchsroomself
匹配卖家房型以及标准房型,返回匹配结果
func NewAlitriphotelhstdfshotelmatchsroomselfRequest ¶ added in v1.3.1
func NewAlitriphotelhstdfshotelmatchsroomselfRequest() *AlitriphotelhstdfshotelmatchsroomselfAPIRequest
NewAlitriphotelhstdfshotelmatchsroomselfRequest 初始化AlitriphotelhstdfshotelmatchsroomselfAPIRequest对象
func (AlitriphotelhstdfshotelmatchsroomselfAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlitriphotelhstdfshotelmatchsroomselfAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitriphotelhstdfshotelmatchsroomselfAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlitriphotelhstdfshotelmatchsroomselfAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitriphotelhstdfshotelmatchsroomselfAPIRequest) GetParam0 ¶ added in v1.3.1
func (r AlitriphotelhstdfshotelmatchsroomselfAPIRequest) GetParam0() *SroomTypeMatchParam
GetParam0 Param0 Getter
func (AlitriphotelhstdfshotelmatchsroomselfAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlitriphotelhstdfshotelmatchsroomselfAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitriphotelhstdfshotelmatchsroomselfAPIRequest) SetParam0 ¶ added in v1.3.1
func (r *AlitriphotelhstdfshotelmatchsroomselfAPIRequest) SetParam0(_param0 *SroomTypeMatchParam) error
SetParam0 is Param0 Setter SroomTypeMatchParam
type AlitriphotelhstdfshotelmatchsroomselfAPIResponse ¶ added in v1.3.1
type AlitriphotelhstdfshotelmatchsroomselfAPIResponse struct { model.CommonResponse AlitriphotelhstdfshotelmatchsroomselfAPIResponseModel }
AlitriphotelhstdfshotelmatchsroomselfAPIResponse 匹配标准房型以及卖家房型 API返回值 alitrip.hotel.hstdf.shotel.matchsroomself
匹配卖家房型以及标准房型,返回匹配结果
type AlitriphotelhstdfshotelmatchsroomselfAPIResponseModel ¶ added in v1.3.1
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.3.1
type AlitriphotelhstdfshotelroomtypemappingslistAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitriphotelhstdfshotelroomtypemappingslistAPIRequest 根据HID获取所有卖家房型匹配关系 API请求 alitrip.hotel.hstdf.shotel.roomtype.mappings.list
根据HID获取所有卖家房型匹配关系
func NewAlitriphotelhstdfshotelroomtypemappingslistRequest ¶ added in v1.3.1
func NewAlitriphotelhstdfshotelroomtypemappingslistRequest() *AlitriphotelhstdfshotelroomtypemappingslistAPIRequest
NewAlitriphotelhstdfshotelroomtypemappingslistRequest 初始化AlitriphotelhstdfshotelroomtypemappingslistAPIRequest对象
func (AlitriphotelhstdfshotelroomtypemappingslistAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlitriphotelhstdfshotelroomtypemappingslistAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitriphotelhstdfshotelroomtypemappingslistAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlitriphotelhstdfshotelroomtypemappingslistAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitriphotelhstdfshotelroomtypemappingslistAPIRequest) GetHid ¶ added in v1.3.1
func (r AlitriphotelhstdfshotelroomtypemappingslistAPIRequest) GetHid() int64
GetHid Hid Getter
func (AlitriphotelhstdfshotelroomtypemappingslistAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlitriphotelhstdfshotelroomtypemappingslistAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitriphotelhstdfshotelroomtypemappingslistAPIRequest) SetHid ¶ added in v1.3.1
func (r *AlitriphotelhstdfshotelroomtypemappingslistAPIRequest) SetHid(_hid int64) error
SetHid is Hid Setter HID
type AlitriphotelhstdfshotelroomtypemappingslistAPIResponse ¶ added in v1.3.1
type AlitriphotelhstdfshotelroomtypemappingslistAPIResponse struct { model.CommonResponse AlitriphotelhstdfshotelroomtypemappingslistAPIResponseModel }
AlitriphotelhstdfshotelroomtypemappingslistAPIResponse 根据HID获取所有卖家房型匹配关系 API返回值 alitrip.hotel.hstdf.shotel.roomtype.mappings.list
根据HID获取所有卖家房型匹配关系
type AlitriphotelhstdfshotelroomtypemappingslistAPIResponseModel ¶ added in v1.3.1
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 ¶ added in v1.3.1
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.3.1
type TaobaoxhotelhotelmessagereceiveAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelhotelmessagereceiveAPIRequest 接收道消息接口 API请求 taobao.xhotel.hotel.message.receive
接收道消息接口
func NewTaobaoxhotelhotelmessagereceiveRequest ¶ added in v1.3.1
func NewTaobaoxhotelhotelmessagereceiveRequest() *TaobaoxhotelhotelmessagereceiveAPIRequest
NewTaobaoxhotelhotelmessagereceiveRequest 初始化TaobaoxhotelhotelmessagereceiveAPIRequest对象
func (TaobaoxhotelhotelmessagereceiveAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelhotelmessagereceiveAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelhotelmessagereceiveAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelhotelmessagereceiveAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelhotelmessagereceiveAPIRequest) GetDataType ¶ added in v1.3.1
func (r TaobaoxhotelhotelmessagereceiveAPIRequest) GetDataType() int64
GetDataType DataType Getter
func (TaobaoxhotelhotelmessagereceiveAPIRequest) GetFileCount ¶ added in v1.3.1
func (r TaobaoxhotelhotelmessagereceiveAPIRequest) GetFileCount() int64
GetFileCount FileCount Getter
func (TaobaoxhotelhotelmessagereceiveAPIRequest) GetOssPath ¶ added in v1.3.1
func (r TaobaoxhotelhotelmessagereceiveAPIRequest) GetOssPath() string
GetOssPath OssPath Getter
func (TaobaoxhotelhotelmessagereceiveAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelhotelmessagereceiveAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelhotelmessagereceiveAPIRequest) GetRecordCount ¶ added in v1.3.1
func (r TaobaoxhotelhotelmessagereceiveAPIRequest) GetRecordCount() int64
GetRecordCount RecordCount Getter
func (*TaobaoxhotelhotelmessagereceiveAPIRequest) SetDataType ¶ added in v1.3.1
func (r *TaobaoxhotelhotelmessagereceiveAPIRequest) SetDataType(_dataType int64) error
SetDataType is DataType Setter 数据的类型,枚举值见文档
func (*TaobaoxhotelhotelmessagereceiveAPIRequest) SetFileCount ¶ added in v1.3.1
func (r *TaobaoxhotelhotelmessagereceiveAPIRequest) SetFileCount(_fileCount int64) error
SetFileCount is FileCount Setter 上传的文件个数
func (*TaobaoxhotelhotelmessagereceiveAPIRequest) SetOssPath ¶ added in v1.3.1
func (r *TaobaoxhotelhotelmessagereceiveAPIRequest) SetOssPath(_ossPath string) error
SetOssPath is OssPath Setter 文件在OSS的存储路径,不包含文件名,只包含文件夹路径
func (*TaobaoxhotelhotelmessagereceiveAPIRequest) SetRecordCount ¶ added in v1.3.1
func (r *TaobaoxhotelhotelmessagereceiveAPIRequest) SetRecordCount(_recordCount int64) error
SetRecordCount is RecordCount Setter 文件记录总数量
type TaobaoxhotelhotelmessagereceiveAPIResponse ¶ added in v1.3.1
type TaobaoxhotelhotelmessagereceiveAPIResponse struct { model.CommonResponse TaobaoxhotelhotelmessagereceiveAPIResponseModel }
TaobaoxhotelhotelmessagereceiveAPIResponse 接收道消息接口 API返回值 taobao.xhotel.hotel.message.receive
接收道消息接口
type TaobaoxhotelhotelmessagereceiveAPIResponseModel ¶ added in v1.3.1
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