111 lines
4.4 KiB
C#
111 lines
4.4 KiB
C#
|
|
using System;
|
|||
|
|
using Newtonsoft.Json;
|
|||
|
|
|
|||
|
|
namespace Alipay.AopSdk.Core.Domain
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// AlipayEcoMycarCarmodelCreateModel Data Structure.
|
|||
|
|
/// </summary>
|
|||
|
|
[Serializable]
|
|||
|
|
public class AlipayEcoMycarCarmodelCreateModel : AopObject
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// 新增车型数据类型,接口通过此参数判断本次请求是增加品牌信息还是车型信息等,brand(品牌),company(厂商),serie(车系),model(车型)
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("add_type")]
|
|||
|
|
public string AddType { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 支付宝车型库品牌背景图片,尺寸750 x 448(add_type参数的值为brand时此参数必填)背景图片url可以通过【通用图片上传接口】alipay.eco.mycar.image.upload 上传完成获取,
|
|||
|
|
/// 图片url需要进行URLencode进行转码
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("background_url")]
|
|||
|
|
public string BackgroundUrl { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 支付宝车型库品牌编号,品牌编号可以通过调用【批量查询车型信息接口】alipay.eco.mycar.carmodel.batchquery 获取。(add_type参数的值为brand时此参数可为空)系统唯一
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("brand_id")]
|
|||
|
|
public string BrandId { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 支付宝车型库品牌图片,尺寸220 x 147 (add_type参数的值为brand时此参数必填)品牌图片url可以通过【通用图片上传接口】alipay.eco.mycar.image.upload 上传完成后获取,
|
|||
|
|
/// 图片url需要进行URLencode进行转码
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("brand_logo")]
|
|||
|
|
public string BrandLogo { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 支付宝车型库品牌名称(add_type参数的值为brand时此参数必填)开发者自行配置,保证系统唯一
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("brand_name")]
|
|||
|
|
public string BrandName { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 支付宝车型库排量(add_type参数的值为model时此参数必填)
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("cc")]
|
|||
|
|
public string Cc { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 支付宝车型库厂商编号,厂商编号可以通过调用【批量查询车型信息接口】alipay.eco.mycar.carmodel.batchquery 获取。(add_type参数的值为company时此参数可为空)系统唯一
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("company_id")]
|
|||
|
|
public string CompanyId { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 支付宝车型库厂商名称(add_type参数的值为company时此参数必填)
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("company_name")]
|
|||
|
|
public string CompanyName { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 支付宝车型库发动机型号(add_type参数的值为model时此参数必填)
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("engine")]
|
|||
|
|
public string Engine { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 支付宝车型库车型名称(add_type参数的值为model时此参数必填)
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("model_name")]
|
|||
|
|
public string ModelName { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 支付宝车型库生产年份(add_type参数的值为model时此参数必填)
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("prod_year")]
|
|||
|
|
public string ProdYear { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 支付宝车型库车系组名称(add_type":"serie状态时必填)
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("serie_group")]
|
|||
|
|
public string SerieGroup { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 支付宝车型库车系编号,车系编号可以通过调用【批量查询车型信息接口】alipay.eco.mycar.carmodel.batchquery 获取。(add_type参数的值为serie时此参数可为空)系统唯一
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("serie_id")]
|
|||
|
|
public string SerieId { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 支付宝车型库车系名称(add_type参数的值为serie时此参数必填)
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("serie_name")]
|
|||
|
|
public string SerieName { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 支付宝车型库车系logo图片链接地址,尺寸220 x 147 (add_type参数的值为serie时此参数必填) 图片url可以通过【通用图片上传接口】alipay.eco.mycar.image.upload上传完成后获取,
|
|||
|
|
/// 图片url需要进行URLencode进行转码
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("serie_photo")]
|
|||
|
|
public string SeriePhoto { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 支付宝车型库年款(add_type参数的值为model时此参数必填)
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("style")]
|
|||
|
|
public string Style { get; set; }
|
|||
|
|
}
|
|||
|
|
}
|