首次推送

This commit is contained in:
lym
2026-03-09 00:13:46 +08:00
commit b19613bb31
13974 changed files with 2767735 additions and 0 deletions

View File

@@ -0,0 +1,50 @@
/*
* 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 AddSignStatus : AbstractModel
{
/// <summary>
/// 签名Id。
/// </summary>
[JsonProperty("SignId")]
public ulong? SignId{ get; set; }
/// <summary>
/// 签名申请Id。
/// </summary>
[JsonProperty("SignApplyId")]
public ulong? SignApplyId{ 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 + "SignId", this.SignId);
this.SetParamSimple(map, prefix + "SignApplyId", this.SignApplyId);
}
}
}

View File

@@ -0,0 +1,113 @@
/*
* 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 AddSmsSignRequest : AbstractModel
{
/// <summary>
/// 签名名称。
/// </summary>
[JsonProperty("SignName")]
public string SignName{ get; set; }
/// <summary>
/// 签名类型。其中每种类型后面标注了其可选的 DocumentType证明类型
/// 0公司0123
/// 1APP01234
/// 2网站01235
/// 3公众号或者小程序01236
/// 4商标7
/// 5政府/机关事业单位/其他机构23
/// 注:必须按照对应关系选择证明类型,否则会审核失败。
/// </summary>
[JsonProperty("SignType")]
public ulong? SignType{ get; set; }
/// <summary>
/// 证明类型:
/// 0三证合一。
/// 1企业营业执照。
/// 2组织机构代码证书。
/// 3社会信用代码证书。
/// 4应用后台管理截图个人开发APP
/// 5网站备案后台截图个人开发网站
/// 6小程序设置页面截图个人认证小程序
/// 7商标注册书。
/// </summary>
[JsonProperty("DocumentType")]
public ulong? DocumentType{ get; set; }
/// <summary>
/// 是否国际/港澳台短信:
/// 0表示国内短信。
/// 1表示国际/港澳台短信。
/// </summary>
[JsonProperty("International")]
public ulong? International{ get; set; }
/// <summary>
/// 签名用途:
/// 0自用。
/// 1他用。
/// </summary>
[JsonProperty("UsedMethod")]
public ulong? UsedMethod{ get; set; }
/// <summary>
/// 签名对应的资质证明图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
/// </summary>
[JsonProperty("ProofImage")]
public string ProofImage{ get; set; }
/// <summary>
/// 委托授权证明。选择 UsedMethod 为他用之后需要提交委托的授权证明。
/// 图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
/// 注:只有 UsedMethod 在选择为 1他用这个字段才会生效。
/// </summary>
[JsonProperty("CommissionImage")]
public string CommissionImage{ get; set; }
/// <summary>
/// 签名的申请备注。
/// </summary>
[JsonProperty("Remark")]
public string Remark{ 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 + "SignName", this.SignName);
this.SetParamSimple(map, prefix + "SignType", this.SignType);
this.SetParamSimple(map, prefix + "DocumentType", this.DocumentType);
this.SetParamSimple(map, prefix + "International", this.International);
this.SetParamSimple(map, prefix + "UsedMethod", this.UsedMethod);
this.SetParamSimple(map, prefix + "ProofImage", this.ProofImage);
this.SetParamSimple(map, prefix + "CommissionImage", this.CommissionImage);
this.SetParamSimple(map, prefix + "Remark", this.Remark);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* 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 AddSmsSignResponse : AbstractModel
{
/// <summary>
/// 添加签名响应
/// </summary>
[JsonProperty("AddSignStatus")]
public AddSignStatus AddSignStatus{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamObj(map, prefix + "AddSignStatus.", this.AddSignStatus);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,73 @@
/*
* 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 AddSmsTemplateRequest : AbstractModel
{
/// <summary>
/// 模板名称。
/// </summary>
[JsonProperty("TemplateName")]
public string TemplateName{ get; set; }
/// <summary>
/// 模板内容。
/// </summary>
[JsonProperty("TemplateContent")]
public string TemplateContent{ get; set; }
/// <summary>
/// 短信类型0表示普通短信, 1表示营销短信。
/// </summary>
[JsonProperty("SmsType")]
public ulong? SmsType{ get; set; }
/// <summary>
/// 是否国际/港澳台短信:
/// 0表示国内短信。
/// 1表示国际/港澳台短信。
/// </summary>
[JsonProperty("International")]
public ulong? International{ get; set; }
/// <summary>
/// 模板备注,例如申请原因,使用场景等。
/// </summary>
[JsonProperty("Remark")]
public string Remark{ 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 + "TemplateName", this.TemplateName);
this.SetParamSimple(map, prefix + "TemplateContent", this.TemplateContent);
this.SetParamSimple(map, prefix + "SmsType", this.SmsType);
this.SetParamSimple(map, prefix + "International", this.International);
this.SetParamSimple(map, prefix + "Remark", this.Remark);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* 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 AddSmsTemplateResponse : AbstractModel
{
/// <summary>
/// 添加短信模板响应包体
/// </summary>
[JsonProperty("AddTemplateStatus")]
public AddTemplateStatus AddTemplateStatus{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamObj(map, prefix + "AddTemplateStatus.", this.AddTemplateStatus);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* 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 AddTemplateStatus : AbstractModel
{
/// <summary>
/// 模板参数
/// </summary>
[JsonProperty("TemplateId")]
public string TemplateId{ 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 + "TemplateId", this.TemplateId);
}
}
}

View File

@@ -0,0 +1,99 @@
/*
* 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 CallbackStatusStatistics : AbstractModel
{
/// <summary>
/// 短信回执量统计。
/// </summary>
[JsonProperty("CallbackCount")]
public ulong? CallbackCount{ get; set; }
/// <summary>
/// 短信提交成功量统计。
/// </summary>
[JsonProperty("RequestSuccessCount")]
public ulong? RequestSuccessCount{ get; set; }
/// <summary>
/// 短信回执失败量统计。
/// </summary>
[JsonProperty("CallbackFailCount")]
public ulong? CallbackFailCount{ get; set; }
/// <summary>
/// 短信回执成功量统计。
/// </summary>
[JsonProperty("CallbackSuccessCount")]
public ulong? CallbackSuccessCount{ get; set; }
/// <summary>
/// 运营商内部错误统计。
/// </summary>
[JsonProperty("InternalErrorCount")]
public ulong? InternalErrorCount{ get; set; }
/// <summary>
/// 号码无效或空号统计。
/// </summary>
[JsonProperty("InvalidNumberCount")]
public ulong? InvalidNumberCount{ get; set; }
/// <summary>
/// 停机、关机等错误统计。
/// </summary>
[JsonProperty("ShutdownErrorCount")]
public ulong? ShutdownErrorCount{ get; set; }
/// <summary>
/// 号码拉入黑名单统计。
/// </summary>
[JsonProperty("BlackListCount")]
public ulong? BlackListCount{ get; set; }
/// <summary>
/// 运营商频率限制统计。
/// </summary>
[JsonProperty("FrequencyLimitCount")]
public ulong? FrequencyLimitCount{ 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 + "CallbackCount", this.CallbackCount);
this.SetParamSimple(map, prefix + "RequestSuccessCount", this.RequestSuccessCount);
this.SetParamSimple(map, prefix + "CallbackFailCount", this.CallbackFailCount);
this.SetParamSimple(map, prefix + "CallbackSuccessCount", this.CallbackSuccessCount);
this.SetParamSimple(map, prefix + "InternalErrorCount", this.InternalErrorCount);
this.SetParamSimple(map, prefix + "InvalidNumberCount", this.InvalidNumberCount);
this.SetParamSimple(map, prefix + "ShutdownErrorCount", this.ShutdownErrorCount);
this.SetParamSimple(map, prefix + "BlackListCount", this.BlackListCount);
this.SetParamSimple(map, prefix + "FrequencyLimitCount", this.FrequencyLimitCount);
}
}
}

View File

@@ -0,0 +1,74 @@
/*
* 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 CallbackStatusStatisticsRequest : AbstractModel
{
/// <summary>
/// 开始时间yyyymmddhh 需要拉取的起始时间,精确到小时。
/// </summary>
[JsonProperty("StartDateTime")]
public ulong? StartDateTime{ get; set; }
/// <summary>
/// 结束时间yyyymmddhh 需要拉取的截止时间,精确到小时。
/// 注EndDataTime 必须大于 StartDateTime。
/// </summary>
[JsonProperty("EndDataTime")]
public ulong? EndDataTime{ get; set; }
/// <summary>
/// 短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/sms/smslist) 添加应用后生成的实际SdkAppid示例如1400006666。
/// </summary>
[JsonProperty("SmsSdkAppid")]
public string SmsSdkAppid{ get; set; }
/// <summary>
/// 最大上限。
/// 注目前固定设置为0。
/// </summary>
[JsonProperty("Limit")]
public ulong? Limit{ get; set; }
/// <summary>
/// 偏移量。
/// 注目前固定设置为0。
/// </summary>
[JsonProperty("Offset")]
public ulong? Offset{ 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 + "StartDateTime", this.StartDateTime);
this.SetParamSimple(map, prefix + "EndDataTime", this.EndDataTime);
this.SetParamSimple(map, prefix + "SmsSdkAppid", this.SmsSdkAppid);
this.SetParamSimple(map, prefix + "Limit", this.Limit);
this.SetParamSimple(map, prefix + "Offset", this.Offset);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* 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 CallbackStatusStatisticsResponse : AbstractModel
{
/// <summary>
/// 回执数据统计响应包体。
/// </summary>
[JsonProperty("CallbackStatusStatistics")]
public CallbackStatusStatistics CallbackStatusStatistics{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamObj(map, prefix + "CallbackStatusStatistics.", this.CallbackStatusStatistics);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* 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 DeleteSignStatus : AbstractModel
{
/// <summary>
/// 删除状态信息。
/// </summary>
[JsonProperty("DeleteStatus")]
public string DeleteStatus{ get; set; }
/// <summary>
/// 删除时间UNIX 时间戳(单位:秒)。
/// </summary>
[JsonProperty("DeleteTime")]
public ulong? DeleteTime{ 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 + "DeleteStatus", this.DeleteStatus);
this.SetParamSimple(map, prefix + "DeleteTime", this.DeleteTime);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* 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 DeleteSmsSignRequest : AbstractModel
{
/// <summary>
/// 待删除的签名 ID。
/// </summary>
[JsonProperty("SignId")]
public ulong? SignId{ 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 + "SignId", this.SignId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* 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 DeleteSmsSignResponse : AbstractModel
{
/// <summary>
/// 删除签名响应
/// </summary>
[JsonProperty("DeleteSignStatus")]
public DeleteSignStatus DeleteSignStatus{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamObj(map, prefix + "DeleteSignStatus.", this.DeleteSignStatus);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* 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 DeleteSmsTemplateRequest : AbstractModel
{
/// <summary>
/// 待删除的模板 ID。
/// </summary>
[JsonProperty("TemplateId")]
public ulong? TemplateId{ 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 + "TemplateId", this.TemplateId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* 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 DeleteSmsTemplateResponse : AbstractModel
{
/// <summary>
/// 删除模板响应
/// </summary>
[JsonProperty("DeleteTemplateStatus")]
public DeleteTemplateStatus DeleteTemplateStatus{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamObj(map, prefix + "DeleteTemplateStatus.", this.DeleteTemplateStatus);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* 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 DeleteTemplateStatus : AbstractModel
{
/// <summary>
/// 删除状态信息。
/// </summary>
[JsonProperty("DeleteStatus")]
public string DeleteStatus{ get; set; }
/// <summary>
/// 删除时间UNIX 时间戳(单位:秒)。
/// </summary>
[JsonProperty("DeleteTime")]
public ulong? DeleteTime{ 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 + "DeleteStatus", this.DeleteStatus);
this.SetParamSimple(map, prefix + "DeleteTime", this.DeleteTime);
}
}
}

View File

@@ -0,0 +1,82 @@
/*
* 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 DescribeSignListStatus : AbstractModel
{
/// <summary>
/// 签名Id
/// </summary>
[JsonProperty("SignId")]
public ulong? SignId{ get; set; }
/// <summary>
/// 是否国际/港澳台短信:
/// 0表示国内短信。
/// 1表示国际/港澳台短信。
/// </summary>
[JsonProperty("International")]
public ulong? International{ get; set; }
/// <summary>
/// 申请签名状态。其中:
/// 0表示审核通过。
/// -1表示审核未通过或审核失败。
/// </summary>
[JsonProperty("StatusCode")]
public long? StatusCode{ get; set; }
/// <summary>
/// 审核回复,审核人员审核后给出的回复,通常是审核未通过的原因。
/// </summary>
[JsonProperty("ReviewReply")]
public string ReviewReply{ get; set; }
/// <summary>
/// 签名名称。
/// </summary>
[JsonProperty("SignName")]
public string SignName{ get; set; }
/// <summary>
/// 提交审核时间UNIX 时间戳(单位:秒)。
/// </summary>
[JsonProperty("CreateTime")]
public ulong? CreateTime{ 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 + "SignId", this.SignId);
this.SetParamSimple(map, prefix + "International", this.International);
this.SetParamSimple(map, prefix + "StatusCode", this.StatusCode);
this.SetParamSimple(map, prefix + "ReviewReply", this.ReviewReply);
this.SetParamSimple(map, prefix + "SignName", this.SignName);
this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
}
}
}

View File

@@ -0,0 +1,52 @@
/*
* 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 DescribeSmsSignListRequest : AbstractModel
{
/// <summary>
/// 签名 ID 数组。
/// </summary>
[JsonProperty("SignIdSet")]
public ulong?[] SignIdSet{ get; set; }
/// <summary>
/// 是否国际/港澳台短信:
/// 0表示国内短信。
/// 1表示国际/港澳台短信。
/// </summary>
[JsonProperty("International")]
public ulong? International{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamArraySimple(map, prefix + "SignIdSet.", this.SignIdSet);
this.SetParamSimple(map, prefix + "International", this.International);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* 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 DescribeSmsSignListResponse : AbstractModel
{
/// <summary>
/// 获取签名信息响应
/// </summary>
[JsonProperty("DescribeSignListStatusSet")]
public DescribeSignListStatus[] DescribeSignListStatusSet{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamArrayObj(map, prefix + "DescribeSignListStatusSet.", this.DescribeSignListStatusSet);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,52 @@
/*
* 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 DescribeSmsTemplateListRequest : AbstractModel
{
/// <summary>
/// 模板 ID 数组。
/// </summary>
[JsonProperty("TemplateIdSet")]
public ulong?[] TemplateIdSet{ get; set; }
/// <summary>
/// 是否国际/港澳台短信:
/// 0表示国内短信。
/// 1表示国际/港澳台短信。
/// </summary>
[JsonProperty("International")]
public ulong? International{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamArraySimple(map, prefix + "TemplateIdSet.", this.TemplateIdSet);
this.SetParamSimple(map, prefix + "International", this.International);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* 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 DescribeSmsTemplateListResponse : AbstractModel
{
/// <summary>
/// 获取短信签名信息响应
/// </summary>
[JsonProperty("DescribeTemplateStatusSet")]
public DescribeTemplateListStatus[] DescribeTemplateStatusSet{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamArrayObj(map, prefix + "DescribeTemplateStatusSet.", this.DescribeTemplateStatusSet);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,82 @@
/*
* 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 DescribeTemplateListStatus : AbstractModel
{
/// <summary>
/// 模板Id
/// </summary>
[JsonProperty("TemplateId")]
public ulong? TemplateId{ get; set; }
/// <summary>
/// 是否国际/港澳台短信:
/// 0表示国内短信。
/// 1表示国际/港澳台短信。
/// </summary>
[JsonProperty("International")]
public ulong? International{ get; set; }
/// <summary>
/// 申请签名状态。其中:
/// 0表示审核通过。
/// -1表示审核未通过或审核失败。
/// </summary>
[JsonProperty("StatusCode")]
public long? StatusCode{ get; set; }
/// <summary>
/// 审核回复,审核人员审核后给出的回复,通常是审核未通过的原因。
/// </summary>
[JsonProperty("ReviewReply")]
public string ReviewReply{ get; set; }
/// <summary>
/// 模板名称。
/// </summary>
[JsonProperty("TemplateName")]
public string TemplateName{ get; set; }
/// <summary>
/// 提交审核时间UNIX 时间戳(单位:秒)。
/// </summary>
[JsonProperty("CreateTime")]
public ulong? CreateTime{ 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 + "TemplateId", this.TemplateId);
this.SetParamSimple(map, prefix + "International", this.International);
this.SetParamSimple(map, prefix + "StatusCode", this.StatusCode);
this.SetParamSimple(map, prefix + "ReviewReply", this.ReviewReply);
this.SetParamSimple(map, prefix + "TemplateName", this.TemplateName);
this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* 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 ModifySignStatus : AbstractModel
{
/// <summary>
/// 签名Id
/// </summary>
[JsonProperty("SignId")]
public ulong? SignId{ get; set; }
/// <summary>
/// 签名修改申请Id
/// </summary>
[JsonProperty("SignApplyId")]
public string SignApplyId{ 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 + "SignId", this.SignId);
this.SetParamSimple(map, prefix + "SignApplyId", this.SignApplyId);
}
}
}

View File

@@ -0,0 +1,120 @@
/*
* 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 ModifySmsSignRequest : AbstractModel
{
/// <summary>
/// 待修改的签名 ID。
/// </summary>
[JsonProperty("SignId")]
public ulong? SignId{ get; set; }
/// <summary>
/// 签名名称。
/// </summary>
[JsonProperty("SignName")]
public string SignName{ get; set; }
/// <summary>
/// 签名类型。其中每种类型后面标注了其可选的 DocumentType证明类型
/// 0公司0123
/// 1APP01234
/// 2网站01235
/// 3公众号或者小程序01236
/// 4商标7
/// 5政府/机关事业单位/其他机构23
/// 注:必须按照对应关系选择证明类型,否则会审核失败。
/// </summary>
[JsonProperty("SignType")]
public ulong? SignType{ get; set; }
/// <summary>
/// 证明类型:
/// 0三证合一。
/// 1企业营业执照。
/// 2组织机构代码证书。
/// 3社会信用代码证书。
/// 4应用后台管理截图(个人开发APP)。
/// 5网站备案后台截图(个人开发网站)。
/// 6小程序设置页面截图(个人认证小程序)。
/// 7商标注册书。
/// </summary>
[JsonProperty("DocumentType")]
public ulong? DocumentType{ get; set; }
/// <summary>
/// 是否国际/港澳台短信:
/// 0表示国内短信。
/// 1表示国际/港澳台短信。
/// </summary>
[JsonProperty("International")]
public ulong? International{ get; set; }
/// <summary>
/// 签名用途:
/// 0自用。
/// 1他用。
/// </summary>
[JsonProperty("UsedMethod")]
public ulong? UsedMethod{ get; set; }
/// <summary>
/// 签名对应的资质证明图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
/// </summary>
[JsonProperty("ProofImage")]
public string ProofImage{ get; set; }
/// <summary>
/// 委托授权证明。选择 UsedMethod 为他用之后需要提交委托的授权证明。
/// 图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
/// 注:只有 UsedMethod 在选择为 1他用这个字段才会生效。
/// </summary>
[JsonProperty("CommissionImage")]
public string CommissionImage{ get; set; }
/// <summary>
/// 签名的申请备注。
/// </summary>
[JsonProperty("Remark")]
public string Remark{ 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 + "SignId", this.SignId);
this.SetParamSimple(map, prefix + "SignName", this.SignName);
this.SetParamSimple(map, prefix + "SignType", this.SignType);
this.SetParamSimple(map, prefix + "DocumentType", this.DocumentType);
this.SetParamSimple(map, prefix + "International", this.International);
this.SetParamSimple(map, prefix + "UsedMethod", this.UsedMethod);
this.SetParamSimple(map, prefix + "ProofImage", this.ProofImage);
this.SetParamSimple(map, prefix + "CommissionImage", this.CommissionImage);
this.SetParamSimple(map, prefix + "Remark", this.Remark);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* 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 ModifySmsSignResponse : AbstractModel
{
/// <summary>
/// 修改签名响应
/// </summary>
[JsonProperty("ModifySignStatus")]
public ModifySignStatus ModifySignStatus{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamObj(map, prefix + "ModifySignStatus.", this.ModifySignStatus);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,80 @@
/*
* 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 ModifySmsTemplateRequest : AbstractModel
{
/// <summary>
/// 待修改的模板的模板 ID。
/// </summary>
[JsonProperty("TemplateId")]
public ulong? TemplateId{ get; set; }
/// <summary>
/// 新的模板名称。
/// </summary>
[JsonProperty("TemplateName")]
public string TemplateName{ get; set; }
/// <summary>
/// 新的模板内容。
/// </summary>
[JsonProperty("TemplateContent")]
public string TemplateContent{ get; set; }
/// <summary>
/// 短信类型0表示普通短信, 1表示营销短信。
/// </summary>
[JsonProperty("SmsType")]
public ulong? SmsType{ get; set; }
/// <summary>
/// 是否国际/港澳台短信:
/// 0表示国内短信。
/// 1表示国际/港澳台短信。
/// </summary>
[JsonProperty("International")]
public ulong? International{ get; set; }
/// <summary>
/// 模板备注,例如申请原因,使用场景等。
/// </summary>
[JsonProperty("Remark")]
public string Remark{ 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 + "TemplateId", this.TemplateId);
this.SetParamSimple(map, prefix + "TemplateName", this.TemplateName);
this.SetParamSimple(map, prefix + "TemplateContent", this.TemplateContent);
this.SetParamSimple(map, prefix + "SmsType", this.SmsType);
this.SetParamSimple(map, prefix + "International", this.International);
this.SetParamSimple(map, prefix + "Remark", this.Remark);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* 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 ModifySmsTemplateResponse : AbstractModel
{
/// <summary>
/// 修改模板参数响应
/// </summary>
[JsonProperty("ModifyTemplateStatus")]
public ModifyTemplateStatus ModifyTemplateStatus{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamObj(map, prefix + "ModifyTemplateStatus.", this.ModifyTemplateStatus);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* 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 ModifyTemplateStatus : AbstractModel
{
/// <summary>
/// 模板参数
/// </summary>
[JsonProperty("TemplateId")]
public ulong? TemplateId{ 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 + "TemplateId", this.TemplateId);
}
}
}

View File

@@ -0,0 +1,85 @@
/*
* 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 PullSmsReplyStatus : AbstractModel
{
/// <summary>
/// 短信码号扩展号,默认未开通,如需开通请联系 [sms helper](https://cloud.tencent.com/document/product/382/3773)。
/// </summary>
[JsonProperty("ExtendCode")]
public string ExtendCode{ get; set; }
/// <summary>
/// 国家(或地区)码。
/// </summary>
[JsonProperty("NationCode")]
public string NationCode{ get; set; }
/// <summary>
/// 手机号码,e.164标准,+[国家或地区码][手机号] ,示例如:+8613711112222 其中前面有一个+号 86为国家码13711112222为手机号。
/// </summary>
[JsonProperty("PhoneNumber")]
public string PhoneNumber{ get; set; }
/// <summary>
/// 短信签名。
/// </summary>
[JsonProperty("Sign")]
public string Sign{ get; set; }
/// <summary>
/// 用户回复的内容。
/// </summary>
[JsonProperty("ReplyContent")]
public string ReplyContent{ get; set; }
/// <summary>
/// 回复时间例如2019-10-08 17:18:37
/// </summary>
[JsonProperty("ReplyTime")]
public string ReplyTime{ get; set; }
/// <summary>
/// 回复时间UNIX 时间戳(单位:秒)。
/// </summary>
[JsonProperty("ReplyUnixTime")]
public ulong? ReplyUnixTime{ 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 + "ExtendCode", this.ExtendCode);
this.SetParamSimple(map, prefix + "NationCode", this.NationCode);
this.SetParamSimple(map, prefix + "PhoneNumber", this.PhoneNumber);
this.SetParamSimple(map, prefix + "Sign", this.Sign);
this.SetParamSimple(map, prefix + "ReplyContent", this.ReplyContent);
this.SetParamSimple(map, prefix + "ReplyTime", this.ReplyTime);
this.SetParamSimple(map, prefix + "ReplyUnixTime", this.ReplyUnixTime);
}
}
}

View File

@@ -0,0 +1,72 @@
/*
* 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 PullSmsReplyStatusByPhoneNumberRequest : AbstractModel
{
/// <summary>
/// 拉取起始时间UNIX 时间戳(时间:秒)。
/// </summary>
[JsonProperty("SendDateTime")]
public ulong? SendDateTime{ get; set; }
/// <summary>
/// 偏移量。
/// 注目前固定设置为0。
/// </summary>
[JsonProperty("Offset")]
public ulong? Offset{ get; set; }
/// <summary>
/// 拉取最大条数,最多 100。
/// </summary>
[JsonProperty("Limit")]
public ulong? Limit{ get; set; }
/// <summary>
/// 下发目的手机号码,依据 e.164 标准为:+[国家(或地区)码][手机号] ,示例如:+8613711112222 其中前面有一个+号 86为国家码13711112222为手机号。
/// </summary>
[JsonProperty("PhoneNumber")]
public string PhoneNumber{ get; set; }
/// <summary>
/// 短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/sms/smslist) 添加应用后生成的实际SdkAppid例如1400006666。
/// </summary>
[JsonProperty("SmsSdkAppid")]
public string SmsSdkAppid{ 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 + "SendDateTime", this.SendDateTime);
this.SetParamSimple(map, prefix + "Offset", this.Offset);
this.SetParamSimple(map, prefix + "Limit", this.Limit);
this.SetParamSimple(map, prefix + "PhoneNumber", this.PhoneNumber);
this.SetParamSimple(map, prefix + "SmsSdkAppid", this.SmsSdkAppid);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* 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 PullSmsReplyStatusByPhoneNumberResponse : AbstractModel
{
/// <summary>
/// 回复状态响应集合。
/// </summary>
[JsonProperty("PullSmsReplyStatusSet")]
public PullSmsReplyStatus[] PullSmsReplyStatusSet{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamArrayObj(map, prefix + "PullSmsReplyStatusSet.", this.PullSmsReplyStatusSet);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* 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 PullSmsReplyStatusRequest : AbstractModel
{
/// <summary>
/// 拉取最大条数最多100条。
/// </summary>
[JsonProperty("Limit")]
public ulong? Limit{ get; set; }
/// <summary>
/// 短信 SdkAppid 在 [短信控制台](https://console.cloud.tencent.com/sms/smslist) 添加应用后生成的实际 SdkAppid例如1400006666。
/// </summary>
[JsonProperty("SmsSdkAppid")]
public string SmsSdkAppid{ 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 + "Limit", this.Limit);
this.SetParamSimple(map, prefix + "SmsSdkAppid", this.SmsSdkAppid);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* 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 PullSmsReplyStatusResponse : AbstractModel
{
/// <summary>
/// 回复状态响应集合。
/// </summary>
[JsonProperty("PullSmsReplyStatusSet")]
public PullSmsReplyStatus[] PullSmsReplyStatusSet{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamArrayObj(map, prefix + "PullSmsReplyStatusSet.", this.PullSmsReplyStatusSet);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,92 @@
/*
* 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 PullSmsSendStatus : AbstractModel
{
/// <summary>
/// 用户实际接收到短信的时间。
/// </summary>
[JsonProperty("UserReceiveTime")]
public string UserReceiveTime{ get; set; }
/// <summary>
/// 用户实际接收到短信的时间UNIX 时间戳(单位:秒)。
/// </summary>
[JsonProperty("UserReceiveUnixTime")]
public ulong? UserReceiveUnixTime{ get; set; }
/// <summary>
/// 国家(或地区)码。
/// </summary>
[JsonProperty("NationCode")]
public string NationCode{ get; set; }
/// <summary>
/// 手机号码,e.164标准,+[国家或地区码][手机号] ,示例如:+8613711112222 其中前面有一个+号 86为国家码13711112222为手机号。
/// </summary>
[JsonProperty("PurePhoneNumber")]
public string PurePhoneNumber{ get; set; }
/// <summary>
/// 手机号码普通格式示例如13711112222。
/// </summary>
[JsonProperty("PhoneNumber")]
public string PhoneNumber{ get; set; }
/// <summary>
/// 本次发送标识 ID。
/// </summary>
[JsonProperty("SerialNo")]
public string SerialNo{ get; set; }
/// <summary>
/// 实际是否收到短信接收状态SUCCESS成功、FAIL失败
/// </summary>
[JsonProperty("ReportStatus")]
public string ReportStatus{ get; set; }
/// <summary>
/// 用户接收短信状态描述。
/// </summary>
[JsonProperty("Description")]
public string Description{ 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 + "UserReceiveTime", this.UserReceiveTime);
this.SetParamSimple(map, prefix + "UserReceiveUnixTime", this.UserReceiveUnixTime);
this.SetParamSimple(map, prefix + "NationCode", this.NationCode);
this.SetParamSimple(map, prefix + "PurePhoneNumber", this.PurePhoneNumber);
this.SetParamSimple(map, prefix + "PhoneNumber", this.PhoneNumber);
this.SetParamSimple(map, prefix + "SerialNo", this.SerialNo);
this.SetParamSimple(map, prefix + "ReportStatus", this.ReportStatus);
this.SetParamSimple(map, prefix + "Description", this.Description);
}
}
}

View File

@@ -0,0 +1,72 @@
/*
* 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 PullSmsSendStatusByPhoneNumberRequest : AbstractModel
{
/// <summary>
/// 拉取起始时间UNIX 时间戳(时间:秒)。
/// </summary>
[JsonProperty("SendDateTime")]
public ulong? SendDateTime{ get; set; }
/// <summary>
/// 偏移量。
/// 注目前固定设置为0。
/// </summary>
[JsonProperty("Offset")]
public ulong? Offset{ get; set; }
/// <summary>
/// 拉取最大条数,最多 100。
/// </summary>
[JsonProperty("Limit")]
public ulong? Limit{ get; set; }
/// <summary>
/// 下发目的手机号码,依据 e.164 标准为:+[国家(或地区)码][手机号] ,示例如:+8613711112222 其中前面有一个+号 86为国家码13711112222为手机号。
/// </summary>
[JsonProperty("PhoneNumber")]
public string PhoneNumber{ get; set; }
/// <summary>
/// 短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/sms/smslist) 添加应用后生成的实际SdkAppid例如1400006666。
/// </summary>
[JsonProperty("SmsSdkAppid")]
public string SmsSdkAppid{ 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 + "SendDateTime", this.SendDateTime);
this.SetParamSimple(map, prefix + "Offset", this.Offset);
this.SetParamSimple(map, prefix + "Limit", this.Limit);
this.SetParamSimple(map, prefix + "PhoneNumber", this.PhoneNumber);
this.SetParamSimple(map, prefix + "SmsSdkAppid", this.SmsSdkAppid);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* 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 PullSmsSendStatusByPhoneNumberResponse : AbstractModel
{
/// <summary>
/// 下发状态响应集合。
/// </summary>
[JsonProperty("PullSmsSendStatusSet")]
public PullSmsSendStatus[] PullSmsSendStatusSet{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamArrayObj(map, prefix + "PullSmsSendStatusSet.", this.PullSmsSendStatusSet);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* 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 PullSmsSendStatusRequest : AbstractModel
{
/// <summary>
/// 拉取最大条数最多100条。
/// </summary>
[JsonProperty("Limit")]
public ulong? Limit{ get; set; }
/// <summary>
/// 短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/sms/smslist) 添加应用后生成的实际SdkAppid例如1400006666。
/// </summary>
[JsonProperty("SmsSdkAppid")]
public string SmsSdkAppid{ 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 + "Limit", this.Limit);
this.SetParamSimple(map, prefix + "SmsSdkAppid", this.SmsSdkAppid);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* 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 PullSmsSendStatusResponse : AbstractModel
{
/// <summary>
/// 下发状态响应集合。
/// </summary>
[JsonProperty("PullSmsSendStatusSet")]
public PullSmsSendStatus[] PullSmsSendStatusSet{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamArrayObj(map, prefix + "PullSmsSendStatusSet.", this.PullSmsSendStatusSet);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,93 @@
/*
* 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 SendSmsRequest : AbstractModel
{
/// <summary>
/// 下发手机号码,采用 e.164 标准,格式为+[国家或地区码][手机号]单次请求最多支持200个手机号且要求全为境内手机号或全为境外手机号。
/// 例如:+8613711112222 其中前面有一个+号 86为国家码13711112222为手机号。
/// </summary>
[JsonProperty("PhoneNumberSet")]
public string[] PhoneNumberSet{ get; set; }
/// <summary>
/// 模板 ID必须填写已审核通过的模板 ID。模板ID可登录 [短信控制台](https://console.cloud.tencent.com/sms/smslist) 查看。
/// </summary>
[JsonProperty("TemplateID")]
public string TemplateID{ get; set; }
/// <summary>
/// 短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/sms/smslist) 添加应用后生成的实际SdkAppid示例如1400006666。
/// </summary>
[JsonProperty("SmsSdkAppid")]
public string SmsSdkAppid{ get; set; }
/// <summary>
/// 短信签名内容,使用 UTF-8 编码,必须填写已审核通过的签名,签名信息可登录 [短信控制台](https://console.cloud.tencent.com/sms/smslist) 查看。注:国内短信为必填参数。
/// </summary>
[JsonProperty("Sign")]
public string Sign{ get; set; }
/// <summary>
/// 模板参数,若无模板参数,则设置为空。
/// </summary>
[JsonProperty("TemplateParamSet")]
public string[] TemplateParamSet{ get; set; }
/// <summary>
/// 短信码号扩展号,默认未开通,如需开通请联系 [sms helper](https://cloud.tencent.com/document/product/382/3773)。
/// </summary>
[JsonProperty("ExtendCode")]
public string ExtendCode{ get; set; }
/// <summary>
/// 用户的 session 内容,可以携带用户侧 ID 等上下文信息server 会原样返回。
/// </summary>
[JsonProperty("SessionContext")]
public string SessionContext{ get; set; }
/// <summary>
/// 国际/港澳台短信 senderid国内短信填空默认未开通如需开通请联系 [sms helper](https://cloud.tencent.com/document/product/382/3773)。
/// </summary>
[JsonProperty("SenderId")]
public string SenderId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamArraySimple(map, prefix + "PhoneNumberSet.", this.PhoneNumberSet);
this.SetParamSimple(map, prefix + "TemplateID", this.TemplateID);
this.SetParamSimple(map, prefix + "SmsSdkAppid", this.SmsSdkAppid);
this.SetParamSimple(map, prefix + "Sign", this.Sign);
this.SetParamArraySimple(map, prefix + "TemplateParamSet.", this.TemplateParamSet);
this.SetParamSimple(map, prefix + "ExtendCode", this.ExtendCode);
this.SetParamSimple(map, prefix + "SessionContext", this.SessionContext);
this.SetParamSimple(map, prefix + "SenderId", this.SenderId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* 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 SendSmsResponse : AbstractModel
{
/// <summary>
/// 短信发送状态。
/// </summary>
[JsonProperty("SendStatusSet")]
public SendStatus[] SendStatusSet{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamArrayObj(map, prefix + "SendStatusSet.", this.SendStatusSet);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,78 @@
/*
* 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);
}
}
}

View File

@@ -0,0 +1,57 @@
/*
* 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 SendStatusStatistics : AbstractModel
{
/// <summary>
/// 短信计费条数统计例如提交成功量为100条其中有20条是长短信长度为80字被拆分成2条则计费条数为 ```80 * 1 + 20 * 2 = 120``` 条。
/// </summary>
[JsonProperty("FeeCount")]
public ulong? FeeCount{ get; set; }
/// <summary>
/// 短信提交量统计。
/// </summary>
[JsonProperty("RequestCount")]
public ulong? RequestCount{ get; set; }
/// <summary>
/// 短信提交成功量统计。
/// </summary>
[JsonProperty("RequestSuccessCount")]
public ulong? RequestSuccessCount{ 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 + "FeeCount", this.FeeCount);
this.SetParamSimple(map, prefix + "RequestCount", this.RequestCount);
this.SetParamSimple(map, prefix + "RequestSuccessCount", this.RequestSuccessCount);
}
}
}

View File

@@ -0,0 +1,74 @@
/*
* 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 SendStatusStatisticsRequest : AbstractModel
{
/// <summary>
/// 拉取起始时间yyyymmddhh 需要拉取的起始时间,精确到小时。
/// </summary>
[JsonProperty("StartDateTime")]
public ulong? StartDateTime{ get; set; }
/// <summary>
/// 结束时间yyyymmddhh 需要拉取的截止时间,精确到小时
/// 注EndDataTime 必须大于 StartDateTime。
/// </summary>
[JsonProperty("EndDataTime")]
public ulong? EndDataTime{ get; set; }
/// <summary>
/// 短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/sms/smslist) 添加应用后生成的实际SdkAppid示例如1400006666。
/// </summary>
[JsonProperty("SmsSdkAppid")]
public string SmsSdkAppid{ get; set; }
/// <summary>
/// 最大上限。
/// 注目前固定设置为0。
/// </summary>
[JsonProperty("Limit")]
public ulong? Limit{ get; set; }
/// <summary>
/// 偏移量。
/// 注目前固定设置为0。
/// </summary>
[JsonProperty("Offset")]
public ulong? Offset{ 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 + "StartDateTime", this.StartDateTime);
this.SetParamSimple(map, prefix + "EndDataTime", this.EndDataTime);
this.SetParamSimple(map, prefix + "SmsSdkAppid", this.SmsSdkAppid);
this.SetParamSimple(map, prefix + "Limit", this.Limit);
this.SetParamSimple(map, prefix + "Offset", this.Offset);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* 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 SendStatusStatisticsResponse : AbstractModel
{
/// <summary>
/// 发送数据统计响应包体。
/// </summary>
[JsonProperty("SendStatusStatistics")]
public SendStatusStatistics SendStatusStatistics{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamObj(map, prefix + "SendStatusStatistics.", this.SendStatusStatistics);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,106 @@
/*
* 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 SmsPackagesStatistics : AbstractModel
{
/// <summary>
/// 套餐包创建时间标准时间例如2019-10-08 17:18:37。
/// </summary>
[JsonProperty("PackageCreateTime")]
public string PackageCreateTime{ get; set; }
/// <summary>
/// 套餐包创建时间UNIX 时间戳(单位:秒)。
/// </summary>
[JsonProperty("PackageCreateUnixTime")]
public ulong? PackageCreateUnixTime{ get; set; }
/// <summary>
/// 套餐包生效时间标准时间例如2019-10-08 17:18:37。
/// </summary>
[JsonProperty("PackageEffectiveTime")]
public string PackageEffectiveTime{ get; set; }
/// <summary>
/// 套餐包生效时间UNIX 时间戳(单位:秒)。
/// </summary>
[JsonProperty("PackageEffectiveUnixTime")]
public ulong? PackageEffectiveUnixTime{ get; set; }
/// <summary>
/// 套餐包过期时间标准时间例如2019-10-08 17:18:37。
/// </summary>
[JsonProperty("PackageExpiredTime")]
public string PackageExpiredTime{ get; set; }
/// <summary>
/// 套餐包过期时间UNIX 时间戳(单位:秒)。
/// </summary>
[JsonProperty("PackageExpiredUnixTime")]
public ulong? PackageExpiredUnixTime{ get; set; }
/// <summary>
/// 套餐包条数。
/// </summary>
[JsonProperty("AmountOfPackage")]
public ulong? AmountOfPackage{ get; set; }
/// <summary>
/// 0表示赠送套餐包1表示购买套餐包。
/// </summary>
[JsonProperty("TypeOfPackage")]
public ulong? TypeOfPackage{ get; set; }
/// <summary>
/// 套餐包 ID。
/// </summary>
[JsonProperty("PackageId")]
public ulong? PackageId{ get; set; }
/// <summary>
/// 当前使用量。
/// </summary>
[JsonProperty("CurrentUsage")]
public ulong? CurrentUsage{ 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 + "PackageCreateTime", this.PackageCreateTime);
this.SetParamSimple(map, prefix + "PackageCreateUnixTime", this.PackageCreateUnixTime);
this.SetParamSimple(map, prefix + "PackageEffectiveTime", this.PackageEffectiveTime);
this.SetParamSimple(map, prefix + "PackageEffectiveUnixTime", this.PackageEffectiveUnixTime);
this.SetParamSimple(map, prefix + "PackageExpiredTime", this.PackageExpiredTime);
this.SetParamSimple(map, prefix + "PackageExpiredUnixTime", this.PackageExpiredUnixTime);
this.SetParamSimple(map, prefix + "AmountOfPackage", this.AmountOfPackage);
this.SetParamSimple(map, prefix + "TypeOfPackage", this.TypeOfPackage);
this.SetParamSimple(map, prefix + "PackageId", this.PackageId);
this.SetParamSimple(map, prefix + "CurrentUsage", this.CurrentUsage);
}
}
}

View File

@@ -0,0 +1,58 @@
/*
* 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 SmsPackagesStatisticsRequest : AbstractModel
{
/// <summary>
/// 短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/sms/smslist) 添加应用后生成的实际SdkAppid示例如1400006666。
/// </summary>
[JsonProperty("SmsSdkAppid")]
public string SmsSdkAppid{ get; set; }
/// <summary>
/// 最大上限(需要拉取的套餐包个数)。
/// </summary>
[JsonProperty("Limit")]
public ulong? Limit{ get; set; }
/// <summary>
/// 偏移量。
/// 注目前固定设置为0。
/// </summary>
[JsonProperty("Offset")]
public ulong? Offset{ 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 + "SmsSdkAppid", this.SmsSdkAppid);
this.SetParamSimple(map, prefix + "Limit", this.Limit);
this.SetParamSimple(map, prefix + "Offset", this.Offset);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* 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 SmsPackagesStatisticsResponse : AbstractModel
{
/// <summary>
/// 发送数据统计响应包体。
/// </summary>
[JsonProperty("SmsPackagesStatisticsSet")]
public SmsPackagesStatistics[] SmsPackagesStatisticsSet{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamArrayObj(map, prefix + "SmsPackagesStatisticsSet.", this.SmsPackagesStatisticsSet);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}