Files
g.hnyhua.cn/TencentCloud/Sms/V20190711/Models/SendStatus.cs

79 lines
2.7 KiB
C#
Raw Normal View History

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