Documentation ¶
Overview ¶
Package vms 包含电动车API相关结构体
Index ¶
- func ReleaseAppBaseResponse(v *AppBaseResponse)
- func ReleaseCainiaoVmsServiceVehicleinfoUploadAPIRequest(v *CainiaoVmsServiceVehicleinfoUploadAPIRequest)
- func ReleaseCainiaoVmsServiceVehicleinfoUploadAPIResponse(v *CainiaoVmsServiceVehicleinfoUploadAPIResponse)
- type AppBaseResponse
- type CainiaoVmsServiceVehicleinfoUploadAPIRequest
- func (r CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetApiMethodName() string
- func (r CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetApiParams(params url.Values)
- func (r CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetData() string
- func (r CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetDataSource() string
- func (r CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetDeviceId() string
- func (r CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetProtocolVersion() string
- func (r CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetProviderName() string
- func (r CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetRawParams() model.Params
- func (r *CainiaoVmsServiceVehicleinfoUploadAPIRequest) Reset()
- func (r *CainiaoVmsServiceVehicleinfoUploadAPIRequest) SetData(_data string) error
- func (r *CainiaoVmsServiceVehicleinfoUploadAPIRequest) SetDataSource(_dataSource string) error
- func (r *CainiaoVmsServiceVehicleinfoUploadAPIRequest) SetDeviceId(_deviceId string) error
- func (r *CainiaoVmsServiceVehicleinfoUploadAPIRequest) SetProtocolVersion(_protocolVersion string) error
- func (r *CainiaoVmsServiceVehicleinfoUploadAPIRequest) SetProviderName(_providerName string) error
- type CainiaoVmsServiceVehicleinfoUploadAPIResponse
- type CainiaoVmsServiceVehicleinfoUploadAPIResponseModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReleaseAppBaseResponse ¶ added in v1.3.4
func ReleaseAppBaseResponse(v *AppBaseResponse)
ReleaseAppBaseResponse 释放AppBaseResponse
func ReleaseCainiaoVmsServiceVehicleinfoUploadAPIRequest ¶ added in v1.3.4
func ReleaseCainiaoVmsServiceVehicleinfoUploadAPIRequest(v *CainiaoVmsServiceVehicleinfoUploadAPIRequest)
ReleaseCainiaoVmsServiceVehicleinfoUploadAPIRequest 将 CainiaoVmsServiceVehicleinfoUploadAPIRequest 放入 sync.Pool
func ReleaseCainiaoVmsServiceVehicleinfoUploadAPIResponse ¶ added in v1.3.4
func ReleaseCainiaoVmsServiceVehicleinfoUploadAPIResponse(v *CainiaoVmsServiceVehicleinfoUploadAPIResponse)
ReleaseCainiaoVmsServiceVehicleinfoUploadAPIResponse 将 CainiaoVmsServiceVehicleinfoUploadAPIResponse 保存到 sync.Pool
Types ¶
type AppBaseResponse ¶
type AppBaseResponse struct { // errorMessage ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // errorCode ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // data Data bool `json:"data,omitempty" xml:"data,omitempty"` // success Success bool `json:"success,omitempty" xml:"success,omitempty"` }
AppBaseResponse 结构体
func GetAppBaseResponse ¶ added in v1.3.4
func GetAppBaseResponse() *AppBaseResponse
GetAppBaseResponse() 从对象池中获取AppBaseResponse
type CainiaoVmsServiceVehicleinfoUploadAPIRequest ¶ added in v1.2.0
type CainiaoVmsServiceVehicleinfoUploadAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoVmsServiceVehicleinfoUploadAPIRequest 新能源车--外部车辆信息回传 API请求 cainiao.vms.service.vehicleinfo.upload
新能源车--外部车辆信息回传
func GetCainiaoVmsServiceVehicleinfoUploadAPIRequest ¶ added in v1.3.4
func GetCainiaoVmsServiceVehicleinfoUploadAPIRequest() *CainiaoVmsServiceVehicleinfoUploadAPIRequest
GetCainiaoVmsServiceVehicleinfoUploadRequest 从 sync.Pool 获取 CainiaoVmsServiceVehicleinfoUploadAPIRequest
func NewCainiaoVmsServiceVehicleinfoUploadRequest ¶
func NewCainiaoVmsServiceVehicleinfoUploadRequest() *CainiaoVmsServiceVehicleinfoUploadAPIRequest
NewCainiaoVmsServiceVehicleinfoUploadRequest 初始化CainiaoVmsServiceVehicleinfoUploadAPIRequest对象
func (CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetApiParams ¶ added in v1.2.0
func (r CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetData ¶ added in v1.2.0
func (r CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetData() string
GetData Data Getter
func (CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetDataSource ¶ added in v1.2.0
func (r CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetDataSource() string
GetDataSource DataSource Getter
func (CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetDeviceId ¶ added in v1.2.0
func (r CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetDeviceId() string
GetDeviceId DeviceId Getter
func (CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetProtocolVersion ¶ added in v1.2.0
func (r CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetProtocolVersion() string
GetProtocolVersion ProtocolVersion Getter
func (CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetProviderName ¶ added in v1.2.0
func (r CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetProviderName() string
GetProviderName ProviderName Getter
func (CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetRawParams ¶ added in v1.2.8
func (r CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*CainiaoVmsServiceVehicleinfoUploadAPIRequest) Reset ¶ added in v1.3.4
func (r *CainiaoVmsServiceVehicleinfoUploadAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*CainiaoVmsServiceVehicleinfoUploadAPIRequest) SetData ¶ added in v1.2.0
func (r *CainiaoVmsServiceVehicleinfoUploadAPIRequest) SetData(_data string) error
SetData is Data Setter 上传的信息
func (*CainiaoVmsServiceVehicleinfoUploadAPIRequest) SetDataSource ¶ added in v1.2.0
func (r *CainiaoVmsServiceVehicleinfoUploadAPIRequest) SetDataSource(_dataSource string) error
SetDataSource is DataSource Setter 数据源标识
func (*CainiaoVmsServiceVehicleinfoUploadAPIRequest) SetDeviceId ¶ added in v1.2.0
func (r *CainiaoVmsServiceVehicleinfoUploadAPIRequest) SetDeviceId(_deviceId string) error
SetDeviceId is DeviceId Setter 设备号
func (*CainiaoVmsServiceVehicleinfoUploadAPIRequest) SetProtocolVersion ¶ added in v1.2.0
func (r *CainiaoVmsServiceVehicleinfoUploadAPIRequest) SetProtocolVersion(_protocolVersion string) error
SetProtocolVersion is ProtocolVersion Setter 协议版本标识
func (*CainiaoVmsServiceVehicleinfoUploadAPIRequest) SetProviderName ¶ added in v1.2.0
func (r *CainiaoVmsServiceVehicleinfoUploadAPIRequest) SetProviderName(_providerName string) error
SetProviderName is ProviderName Setter 厂家标识
type CainiaoVmsServiceVehicleinfoUploadAPIResponse ¶
type CainiaoVmsServiceVehicleinfoUploadAPIResponse struct { model.CommonResponse CainiaoVmsServiceVehicleinfoUploadAPIResponseModel }
CainiaoVmsServiceVehicleinfoUploadAPIResponse 新能源车--外部车辆信息回传 API返回值 cainiao.vms.service.vehicleinfo.upload
新能源车--外部车辆信息回传
func GetCainiaoVmsServiceVehicleinfoUploadAPIResponse ¶ added in v1.3.4
func GetCainiaoVmsServiceVehicleinfoUploadAPIResponse() *CainiaoVmsServiceVehicleinfoUploadAPIResponse
GetCainiaoVmsServiceVehicleinfoUploadAPIResponse 从 sync.Pool 获取 CainiaoVmsServiceVehicleinfoUploadAPIResponse
func (*CainiaoVmsServiceVehicleinfoUploadAPIResponse) Reset ¶ added in v1.3.4
func (m *CainiaoVmsServiceVehicleinfoUploadAPIResponse) Reset()
Reset 清空结构体
type CainiaoVmsServiceVehicleinfoUploadAPIResponseModel ¶ added in v1.2.0
type CainiaoVmsServiceVehicleinfoUploadAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_vms_service_vehicleinfo_upload_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *AppBaseResponse `json:"result,omitempty" xml:"result,omitempty"` }
CainiaoVmsServiceVehicleinfoUploadAPIResponseModel is 新能源车--外部车辆信息回传 成功返回结果
func (*CainiaoVmsServiceVehicleinfoUploadAPIResponseModel) Reset ¶ added in v1.3.4
func (m *CainiaoVmsServiceVehicleinfoUploadAPIResponseModel) Reset()
Reset 清空结构体