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