vms

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: Apache-2.0 Imports: 4 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

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

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) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

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

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

func GetCainiaoVmsServiceVehicleinfoUploadAPIResponse added in v1.3.4

func GetCainiaoVmsServiceVehicleinfoUploadAPIResponse() *CainiaoVmsServiceVehicleinfoUploadAPIResponse

GetCainiaoVmsServiceVehicleinfoUploadAPIResponse 从 sync.Pool 获取 CainiaoVmsServiceVehicleinfoUploadAPIResponse

func (*CainiaoVmsServiceVehicleinfoUploadAPIResponse) Reset added in v1.3.4

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

Reset 清空结构体

Jump to

Keyboard shortcuts

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