Documentation ¶
Overview ¶
电动车API model
Index ¶
- type AppBaseResponse
- type CainiaoVmsServiceVehicleinfoUploadAPIRequest
- func (r CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetApiMethodName() string
- func (r CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetApiParams() 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) 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 ¶
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
func (r CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetApiParams ¶ added in v1.2.0
func (r CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetData ¶ added in v1.2.0
func (r CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetData() string
Get Data Getter
func (CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetDataSource ¶ added in v1.2.0
func (r CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetDataSource() string
Get DataSource Getter
func (CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetDeviceId ¶ added in v1.2.0
func (r CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetDeviceId() string
Get DeviceId Getter
func (CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetProtocolVersion ¶ added in v1.2.0
func (r CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetProtocolVersion() string
Get ProtocolVersion Getter
func (CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetProviderName ¶ added in v1.2.0
func (r CainiaoVmsServiceVehicleinfoUploadAPIRequest) GetProviderName() string
Get ProviderName Getter
func (*CainiaoVmsServiceVehicleinfoUploadAPIRequest) SetData ¶ added in v1.2.0
func (r *CainiaoVmsServiceVehicleinfoUploadAPIRequest) SetData(_data string) error
Set is Data Setter 上传的信息
func (*CainiaoVmsServiceVehicleinfoUploadAPIRequest) SetDataSource ¶ added in v1.2.0
func (r *CainiaoVmsServiceVehicleinfoUploadAPIRequest) SetDataSource(_dataSource string) error
Set is DataSource Setter 数据源标识
func (*CainiaoVmsServiceVehicleinfoUploadAPIRequest) SetDeviceId ¶ added in v1.2.0
func (r *CainiaoVmsServiceVehicleinfoUploadAPIRequest) SetDeviceId(_deviceId string) error
Set is DeviceId Setter 设备号
func (*CainiaoVmsServiceVehicleinfoUploadAPIRequest) SetProtocolVersion ¶ added in v1.2.0
func (r *CainiaoVmsServiceVehicleinfoUploadAPIRequest) SetProtocolVersion(_protocolVersion string) error
Set is ProtocolVersion Setter 协议版本标识
func (*CainiaoVmsServiceVehicleinfoUploadAPIRequest) SetProviderName ¶ added in v1.2.0
func (r *CainiaoVmsServiceVehicleinfoUploadAPIRequest) SetProviderName(_providerName string) error
Set 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 新能源车--外部车辆信息回传 成功返回结果