/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ namespace TencentCloud.Bri.V20190328.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class BRIRequest : AbstractModel { /// /// 业务名, 必须是以下五个业务名之一(bri_num,bri_dev,bri_ip_bri_apk,bri_url) /// [JsonProperty("Service")] public string Service{ get; set; } /// /// Apk证书Md5 (业务名为bri_apk时必填,除非已填FileMd5) /// [JsonProperty("CertMd5")] public string CertMd5{ get; set; } /// /// Apk文件Md5 (业务名为bri_apk时必填,除非已填PackageName,CertMd5,FileSize) /// [JsonProperty("FileMd5")] public string FileMd5{ get; set; } /// /// Apk文件大小 (业务名为bri_apk时必填,除非已填FileMd5) /// [JsonProperty("FileSize")] public long? FileSize{ get; set; } /// /// 安卓设备的Imei (业务名为bri_dev时必填) /// [JsonProperty("Imei")] public string Imei{ get; set; } /// /// 点分格式的IP (业务名为bri_ip时必填) /// [JsonProperty("Ip")] public string Ip{ get; set; } /// /// Apk安装包名 (业务名为bri_apk时必填,除非已填FileMd5) /// [JsonProperty("PackageName")] public string PackageName{ get; set; } /// /// 电话号码 (业务名为bri_num时必填) /// [JsonProperty("PhoneNumber")] public string PhoneNumber{ get; set; } /// /// 网址 (业务名为bri_url时必填) /// [JsonProperty("Url")] public string Url{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "Service", this.Service); this.SetParamSimple(map, prefix + "CertMd5", this.CertMd5); this.SetParamSimple(map, prefix + "FileMd5", this.FileMd5); this.SetParamSimple(map, prefix + "FileSize", this.FileSize); this.SetParamSimple(map, prefix + "Imei", this.Imei); this.SetParamSimple(map, prefix + "Ip", this.Ip); this.SetParamSimple(map, prefix + "PackageName", this.PackageName); this.SetParamSimple(map, prefix + "PhoneNumber", this.PhoneNumber); this.SetParamSimple(map, prefix + "Url", this.Url); } } }