/*
* 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.Sms.V20190711.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class SendStatus : AbstractModel
{
///
/// 发送流水号。
///
[JsonProperty("SerialNo")]
public string SerialNo{ get; set; }
///
/// 手机号码,e.164标准,+[国家或地区码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
///
[JsonProperty("PhoneNumber")]
public string PhoneNumber{ get; set; }
///
/// 计费条数,计费规则请查询 [计费策略](https://cloud.tencent.com/document/product/382/36135)。
///
[JsonProperty("Fee")]
public ulong? Fee{ get; set; }
///
/// 用户Session内容。
///
[JsonProperty("SessionContext")]
public string SessionContext{ get; set; }
///
/// 短信请求错误码,具体含义请参考错误码。
///
[JsonProperty("Code")]
public string Code{ get; set; }
///
/// 短信请求错误码描述。
///
[JsonProperty("Message")]
public string Message{ get; set; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary map, string prefix)
{
this.SetParamSimple(map, prefix + "SerialNo", this.SerialNo);
this.SetParamSimple(map, prefix + "PhoneNumber", this.PhoneNumber);
this.SetParamSimple(map, prefix + "Fee", this.Fee);
this.SetParamSimple(map, prefix + "SessionContext", this.SessionContext);
this.SetParamSimple(map, prefix + "Code", this.Code);
this.SetParamSimple(map, prefix + "Message", this.Message);
}
}
}