vms

package
v1.2.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package vms 包含电动车API相关结构体

https://open.taobao.com/API.htm?docType=2&docId=30434

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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 结构体

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 NewCainiaoVmsServiceVehicleinfoUploadRequest

func NewCainiaoVmsServiceVehicleinfoUploadRequest() *CainiaoVmsServiceVehicleinfoUploadAPIRequest

NewCainiaoVmsServiceVehicleinfoUploadRequest 初始化CainiaoVmsServiceVehicleinfoUploadAPIRequest对象

func (CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetData added in v1.2.0

GetData Data Getter

func (CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetDataSource added in v1.2.0

GetDataSource DataSource Getter

func (CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetDeviceId added in v1.2.0

GetDeviceId DeviceId Getter

func (CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetProtocolVersion added in v1.2.0

GetProtocolVersion ProtocolVersion Getter

func (CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetProviderName added in v1.2.0

GetProviderName ProviderName Getter

func (CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*CainiaoVmsServiceVehicleinfoUploadAPIRequest) SetData added in v1.2.0

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

新能源车--外部车辆信息回传

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 新能源车--外部车辆信息回传 成功返回结果

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL