首次推送
This commit is contained in:
256
TencentCloud/Ic/V20190307/IcClient.cs
Normal file
256
TencentCloud/Ic/V20190307/IcClient.cs
Normal file
@@ -0,0 +1,256 @@
|
||||
/*
|
||||
* 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.Ic.V20190307
|
||||
{
|
||||
|
||||
using Newtonsoft.Json;
|
||||
using System.Threading.Tasks;
|
||||
using TencentCloud.Common;
|
||||
using TencentCloud.Common.Profile;
|
||||
using TencentCloud.Ic.V20190307.Models;
|
||||
|
||||
public class IcClient : AbstractClient{
|
||||
|
||||
private const string endpoint = "ic.tencentcloudapi.com";
|
||||
private const string version = "2019-03-07";
|
||||
|
||||
/// <summary>
|
||||
/// Client constructor.
|
||||
/// </summary>
|
||||
/// <param name="credential">Credentials.</param>
|
||||
/// <param name="region">Region name, such as "ap-guangzhou".</param>
|
||||
public IcClient(Credential credential, string region)
|
||||
: this(credential, region, new ClientProfile())
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Client Constructor.
|
||||
/// </summary>
|
||||
/// <param name="credential">Credentials.</param>
|
||||
/// <param name="region">Region name, such as "ap-guangzhou".</param>
|
||||
/// <param name="profile">Client profiles.</param>
|
||||
public IcClient(Credential credential, string region, ClientProfile profile)
|
||||
: base(endpoint, version, credential, region, profile)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据应用id查询物联卡应用详情
|
||||
/// </summary>
|
||||
/// <param name="req"><see cref="DescribeAppRequest"/></param>
|
||||
/// <returns><see cref="DescribeAppResponse"/></returns>
|
||||
public async Task<DescribeAppResponse> DescribeApp(DescribeAppRequest req)
|
||||
{
|
||||
JsonResponseModel<DescribeAppResponse> rsp = null;
|
||||
try
|
||||
{
|
||||
var strResp = await this.InternalRequest(req, "DescribeApp");
|
||||
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DescribeAppResponse>>(strResp);
|
||||
}
|
||||
catch (JsonSerializationException e)
|
||||
{
|
||||
throw new TencentCloudSDKException(e.Message);
|
||||
}
|
||||
return rsp.Response;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据应用id查询物联卡应用详情
|
||||
/// </summary>
|
||||
/// <param name="req"><see cref="DescribeAppRequest"/></param>
|
||||
/// <returns><see cref="DescribeAppResponse"/></returns>
|
||||
public DescribeAppResponse DescribeAppSync(DescribeAppRequest req)
|
||||
{
|
||||
JsonResponseModel<DescribeAppResponse> rsp = null;
|
||||
try
|
||||
{
|
||||
var strResp = this.InternalRequestSync(req, "DescribeApp");
|
||||
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DescribeAppResponse>>(strResp);
|
||||
}
|
||||
catch (JsonSerializationException e)
|
||||
{
|
||||
throw new TencentCloudSDKException(e.Message);
|
||||
}
|
||||
return rsp.Response;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查询卡片详细信息
|
||||
/// </summary>
|
||||
/// <param name="req"><see cref="DescribeCardRequest"/></param>
|
||||
/// <returns><see cref="DescribeCardResponse"/></returns>
|
||||
public async Task<DescribeCardResponse> DescribeCard(DescribeCardRequest req)
|
||||
{
|
||||
JsonResponseModel<DescribeCardResponse> rsp = null;
|
||||
try
|
||||
{
|
||||
var strResp = await this.InternalRequest(req, "DescribeCard");
|
||||
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DescribeCardResponse>>(strResp);
|
||||
}
|
||||
catch (JsonSerializationException e)
|
||||
{
|
||||
throw new TencentCloudSDKException(e.Message);
|
||||
}
|
||||
return rsp.Response;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查询卡片详细信息
|
||||
/// </summary>
|
||||
/// <param name="req"><see cref="DescribeCardRequest"/></param>
|
||||
/// <returns><see cref="DescribeCardResponse"/></returns>
|
||||
public DescribeCardResponse DescribeCardSync(DescribeCardRequest req)
|
||||
{
|
||||
JsonResponseModel<DescribeCardResponse> rsp = null;
|
||||
try
|
||||
{
|
||||
var strResp = this.InternalRequestSync(req, "DescribeCard");
|
||||
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DescribeCardResponse>>(strResp);
|
||||
}
|
||||
catch (JsonSerializationException e)
|
||||
{
|
||||
throw new TencentCloudSDKException(e.Message);
|
||||
}
|
||||
return rsp.Response;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查询卡片列表信息
|
||||
/// </summary>
|
||||
/// <param name="req"><see cref="DescribeCardsRequest"/></param>
|
||||
/// <returns><see cref="DescribeCardsResponse"/></returns>
|
||||
public async Task<DescribeCardsResponse> DescribeCards(DescribeCardsRequest req)
|
||||
{
|
||||
JsonResponseModel<DescribeCardsResponse> rsp = null;
|
||||
try
|
||||
{
|
||||
var strResp = await this.InternalRequest(req, "DescribeCards");
|
||||
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DescribeCardsResponse>>(strResp);
|
||||
}
|
||||
catch (JsonSerializationException e)
|
||||
{
|
||||
throw new TencentCloudSDKException(e.Message);
|
||||
}
|
||||
return rsp.Response;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查询卡片列表信息
|
||||
/// </summary>
|
||||
/// <param name="req"><see cref="DescribeCardsRequest"/></param>
|
||||
/// <returns><see cref="DescribeCardsResponse"/></returns>
|
||||
public DescribeCardsResponse DescribeCardsSync(DescribeCardsRequest req)
|
||||
{
|
||||
JsonResponseModel<DescribeCardsResponse> rsp = null;
|
||||
try
|
||||
{
|
||||
var strResp = this.InternalRequestSync(req, "DescribeCards");
|
||||
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DescribeCardsResponse>>(strResp);
|
||||
}
|
||||
catch (JsonSerializationException e)
|
||||
{
|
||||
throw new TencentCloudSDKException(e.Message);
|
||||
}
|
||||
return rsp.Response;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 群发短信
|
||||
/// </summary>
|
||||
/// <param name="req"><see cref="SendMultiSmsRequest"/></param>
|
||||
/// <returns><see cref="SendMultiSmsResponse"/></returns>
|
||||
public async Task<SendMultiSmsResponse> SendMultiSms(SendMultiSmsRequest req)
|
||||
{
|
||||
JsonResponseModel<SendMultiSmsResponse> rsp = null;
|
||||
try
|
||||
{
|
||||
var strResp = await this.InternalRequest(req, "SendMultiSms");
|
||||
rsp = JsonConvert.DeserializeObject<JsonResponseModel<SendMultiSmsResponse>>(strResp);
|
||||
}
|
||||
catch (JsonSerializationException e)
|
||||
{
|
||||
throw new TencentCloudSDKException(e.Message);
|
||||
}
|
||||
return rsp.Response;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 群发短信
|
||||
/// </summary>
|
||||
/// <param name="req"><see cref="SendMultiSmsRequest"/></param>
|
||||
/// <returns><see cref="SendMultiSmsResponse"/></returns>
|
||||
public SendMultiSmsResponse SendMultiSmsSync(SendMultiSmsRequest req)
|
||||
{
|
||||
JsonResponseModel<SendMultiSmsResponse> rsp = null;
|
||||
try
|
||||
{
|
||||
var strResp = this.InternalRequestSync(req, "SendMultiSms");
|
||||
rsp = JsonConvert.DeserializeObject<JsonResponseModel<SendMultiSmsResponse>>(strResp);
|
||||
}
|
||||
catch (JsonSerializationException e)
|
||||
{
|
||||
throw new TencentCloudSDKException(e.Message);
|
||||
}
|
||||
return rsp.Response;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 发送短信息接口
|
||||
/// </summary>
|
||||
/// <param name="req"><see cref="SendSmsRequest"/></param>
|
||||
/// <returns><see cref="SendSmsResponse"/></returns>
|
||||
public async Task<SendSmsResponse> SendSms(SendSmsRequest req)
|
||||
{
|
||||
JsonResponseModel<SendSmsResponse> rsp = null;
|
||||
try
|
||||
{
|
||||
var strResp = await this.InternalRequest(req, "SendSms");
|
||||
rsp = JsonConvert.DeserializeObject<JsonResponseModel<SendSmsResponse>>(strResp);
|
||||
}
|
||||
catch (JsonSerializationException e)
|
||||
{
|
||||
throw new TencentCloudSDKException(e.Message);
|
||||
}
|
||||
return rsp.Response;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 发送短信息接口
|
||||
/// </summary>
|
||||
/// <param name="req"><see cref="SendSmsRequest"/></param>
|
||||
/// <returns><see cref="SendSmsResponse"/></returns>
|
||||
public SendSmsResponse SendSmsSync(SendSmsRequest req)
|
||||
{
|
||||
JsonResponseModel<SendSmsResponse> rsp = null;
|
||||
try
|
||||
{
|
||||
var strResp = this.InternalRequestSync(req, "SendSms");
|
||||
rsp = JsonConvert.DeserializeObject<JsonResponseModel<SendSmsResponse>>(strResp);
|
||||
}
|
||||
catch (JsonSerializationException e)
|
||||
{
|
||||
throw new TencentCloudSDKException(e.Message);
|
||||
}
|
||||
return rsp.Response;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
93
TencentCloud/Ic/V20190307/Models/AppInfo.cs
Normal file
93
TencentCloud/Ic/V20190307/Models/AppInfo.cs
Normal 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.Ic.V20190307.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AppInfo : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 应用ID
|
||||
/// </summary>
|
||||
[JsonProperty("Sdkappid")]
|
||||
public string Sdkappid{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 应用key
|
||||
/// </summary>
|
||||
[JsonProperty("Appkey")]
|
||||
public string Appkey{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用户appid
|
||||
/// </summary>
|
||||
[JsonProperty("CloudAppid")]
|
||||
public string CloudAppid{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 应用名称
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Name")]
|
||||
public string Name{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 应用描述
|
||||
/// </summary>
|
||||
[JsonProperty("Description")]
|
||||
public string Description{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[JsonProperty("CreatedTime")]
|
||||
public string CreatedTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 应用类型
|
||||
/// </summary>
|
||||
[JsonProperty("BizType")]
|
||||
public long? BizType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用户Uin
|
||||
/// </summary>
|
||||
[JsonProperty("Uin")]
|
||||
public string Uin{ 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 + "Sdkappid", this.Sdkappid);
|
||||
this.SetParamSimple(map, prefix + "Appkey", this.Appkey);
|
||||
this.SetParamSimple(map, prefix + "CloudAppid", this.CloudAppid);
|
||||
this.SetParamSimple(map, prefix + "Name", this.Name);
|
||||
this.SetParamSimple(map, prefix + "Description", this.Description);
|
||||
this.SetParamSimple(map, prefix + "CreatedTime", this.CreatedTime);
|
||||
this.SetParamSimple(map, prefix + "BizType", this.BizType);
|
||||
this.SetParamSimple(map, prefix + "Uin", this.Uin);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
235
TencentCloud/Ic/V20190307/Models/CardInfo.cs
Normal file
235
TencentCloud/Ic/V20190307/Models/CardInfo.cs
Normal file
@@ -0,0 +1,235 @@
|
||||
/*
|
||||
* 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.Ic.V20190307.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CardInfo : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 卡片ID
|
||||
/// </summary>
|
||||
[JsonProperty("Iccid")]
|
||||
public string Iccid{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 卡电话号码
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Msisdn")]
|
||||
public string Msisdn{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 卡imsi
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Imsi")]
|
||||
public string Imsi{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 卡imei
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Imei")]
|
||||
public string Imei{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 应用ID
|
||||
/// </summary>
|
||||
[JsonProperty("Sdkappid")]
|
||||
public string Sdkappid{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 运营商编号
|
||||
/// </summary>
|
||||
[JsonProperty("Teleoperator")]
|
||||
public long? Teleoperator{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 卡片状态 1:未激活 2:激活 3:停卡 5:销卡
|
||||
/// </summary>
|
||||
[JsonProperty("CardStatus")]
|
||||
public long? CardStatus{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 网络状态
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("NetworkStatus")]
|
||||
public long? NetworkStatus{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 激活时间
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ActivitedTime")]
|
||||
public string ActivitedTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 资费类型,1 单卡,2 流量池
|
||||
/// </summary>
|
||||
[JsonProperty("Type")]
|
||||
public long? Type{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 套餐类型
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ProductId")]
|
||||
public string ProductId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 流量池ID
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("PoolId")]
|
||||
public string PoolId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 周期套餐流量使用
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("DataUsedInPeriod")]
|
||||
public float? DataUsedInPeriod{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 周期套餐总量
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("DataTotalInPeriod")]
|
||||
public float? DataTotalInPeriod{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 过期时间
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ProductExpiredTime")]
|
||||
public string ProductExpiredTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 描述信息
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Description")]
|
||||
public string Description{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[JsonProperty("CreatedTime")]
|
||||
public string CreatedTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 修改时间
|
||||
/// </summary>
|
||||
[JsonProperty("ModifiedTime")]
|
||||
public string ModifiedTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 套餐周期
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("PreorderCnt")]
|
||||
public long? PreorderCnt{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 激活被回调标志
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("IsActivated")]
|
||||
public long? IsActivated{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订单ID
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("OrderId")]
|
||||
public string OrderId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否自动续费
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("AutoRenew")]
|
||||
public long? AutoRenew{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Remark")]
|
||||
public string Remark{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 0 不需要开通达量不停卡 1 需要开通达量不停卡
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("AllowArrears")]
|
||||
public long? AllowArrears{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否开通短信0:未开短信 1:开通短信
|
||||
/// </summary>
|
||||
[JsonProperty("NeedSms")]
|
||||
public long? NeedSms{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 服务
|
||||
/// </summary>
|
||||
[JsonProperty("Provider")]
|
||||
public long? Provider{ 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 + "Iccid", this.Iccid);
|
||||
this.SetParamSimple(map, prefix + "Msisdn", this.Msisdn);
|
||||
this.SetParamSimple(map, prefix + "Imsi", this.Imsi);
|
||||
this.SetParamSimple(map, prefix + "Imei", this.Imei);
|
||||
this.SetParamSimple(map, prefix + "Sdkappid", this.Sdkappid);
|
||||
this.SetParamSimple(map, prefix + "Teleoperator", this.Teleoperator);
|
||||
this.SetParamSimple(map, prefix + "CardStatus", this.CardStatus);
|
||||
this.SetParamSimple(map, prefix + "NetworkStatus", this.NetworkStatus);
|
||||
this.SetParamSimple(map, prefix + "ActivitedTime", this.ActivitedTime);
|
||||
this.SetParamSimple(map, prefix + "Type", this.Type);
|
||||
this.SetParamSimple(map, prefix + "ProductId", this.ProductId);
|
||||
this.SetParamSimple(map, prefix + "PoolId", this.PoolId);
|
||||
this.SetParamSimple(map, prefix + "DataUsedInPeriod", this.DataUsedInPeriod);
|
||||
this.SetParamSimple(map, prefix + "DataTotalInPeriod", this.DataTotalInPeriod);
|
||||
this.SetParamSimple(map, prefix + "ProductExpiredTime", this.ProductExpiredTime);
|
||||
this.SetParamSimple(map, prefix + "Description", this.Description);
|
||||
this.SetParamSimple(map, prefix + "CreatedTime", this.CreatedTime);
|
||||
this.SetParamSimple(map, prefix + "ModifiedTime", this.ModifiedTime);
|
||||
this.SetParamSimple(map, prefix + "PreorderCnt", this.PreorderCnt);
|
||||
this.SetParamSimple(map, prefix + "IsActivated", this.IsActivated);
|
||||
this.SetParamSimple(map, prefix + "OrderId", this.OrderId);
|
||||
this.SetParamSimple(map, prefix + "AutoRenew", this.AutoRenew);
|
||||
this.SetParamSimple(map, prefix + "Remark", this.Remark);
|
||||
this.SetParamSimple(map, prefix + "AllowArrears", this.AllowArrears);
|
||||
this.SetParamSimple(map, prefix + "NeedSms", this.NeedSms);
|
||||
this.SetParamSimple(map, prefix + "Provider", this.Provider);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
51
TencentCloud/Ic/V20190307/Models/CardList.cs
Normal file
51
TencentCloud/Ic/V20190307/Models/CardList.cs
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* 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.Ic.V20190307.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CardList : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 卡片总数
|
||||
/// </summary>
|
||||
[JsonProperty("Total")]
|
||||
public string Total{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 卡片列表信息
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("List")]
|
||||
public CardInfo[] List{ 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 + "Total", this.Total);
|
||||
this.SetParamArrayObj(map, prefix + "List.", this.List);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Ic/V20190307/Models/DescribeAppRequest.cs
Normal file
43
TencentCloud/Ic/V20190307/Models/DescribeAppRequest.cs
Normal 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.Ic.V20190307.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeAppRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 物联卡应用ID
|
||||
/// </summary>
|
||||
[JsonProperty("Sdkappid")]
|
||||
public long? Sdkappid{ 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 + "Sdkappid", this.Sdkappid);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
51
TencentCloud/Ic/V20190307/Models/DescribeAppResponse.cs
Normal file
51
TencentCloud/Ic/V20190307/Models/DescribeAppResponse.cs
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* 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.Ic.V20190307.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeAppResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 应用信息详情
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Data")]
|
||||
public AppInfo Data{ 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 + "Data.", this.Data);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Ic/V20190307/Models/DescribeCardRequest.cs
Normal file
50
TencentCloud/Ic/V20190307/Models/DescribeCardRequest.cs
Normal 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.Ic.V20190307.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeCardRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 应用ID
|
||||
/// </summary>
|
||||
[JsonProperty("Sdkappid")]
|
||||
public long? Sdkappid{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 卡片ID
|
||||
/// </summary>
|
||||
[JsonProperty("Iccid")]
|
||||
public string Iccid{ 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 + "Sdkappid", this.Sdkappid);
|
||||
this.SetParamSimple(map, prefix + "Iccid", this.Iccid);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
51
TencentCloud/Ic/V20190307/Models/DescribeCardResponse.cs
Normal file
51
TencentCloud/Ic/V20190307/Models/DescribeCardResponse.cs
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* 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.Ic.V20190307.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeCardResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 卡片详细信息
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Data")]
|
||||
public CardInfo Data{ 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 + "Data.", this.Data);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
57
TencentCloud/Ic/V20190307/Models/DescribeCardsRequest.cs
Normal file
57
TencentCloud/Ic/V20190307/Models/DescribeCardsRequest.cs
Normal 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.Ic.V20190307.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeCardsRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 应用ID
|
||||
/// </summary>
|
||||
[JsonProperty("Sdkappid")]
|
||||
public string Sdkappid{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 偏移值
|
||||
/// </summary>
|
||||
[JsonProperty("Offset")]
|
||||
public long? Offset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 列表限制
|
||||
/// </summary>
|
||||
[JsonProperty("Limit")]
|
||||
public long? Limit{ 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 + "Sdkappid", this.Sdkappid);
|
||||
this.SetParamSimple(map, prefix + "Offset", this.Offset);
|
||||
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Ic/V20190307/Models/DescribeCardsResponse.cs
Normal file
50
TencentCloud/Ic/V20190307/Models/DescribeCardsResponse.cs
Normal 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.Ic.V20190307.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeCardsResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 卡片列表信息
|
||||
/// </summary>
|
||||
[JsonProperty("Data")]
|
||||
public CardList Data{ 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 + "Data.", this.Data);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
57
TencentCloud/Ic/V20190307/Models/SendMultiSmsRequest.cs
Normal file
57
TencentCloud/Ic/V20190307/Models/SendMultiSmsRequest.cs
Normal 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.Ic.V20190307.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class SendMultiSmsRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 应用ID
|
||||
/// </summary>
|
||||
[JsonProperty("Sdkappid")]
|
||||
public string Sdkappid{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 卡片列表
|
||||
/// </summary>
|
||||
[JsonProperty("Iccids")]
|
||||
public string[] Iccids{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 短信内容 长度限制 70
|
||||
/// </summary>
|
||||
[JsonProperty("Content")]
|
||||
public string Content{ 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 + "Sdkappid", this.Sdkappid);
|
||||
this.SetParamArraySimple(map, prefix + "Iccids.", this.Iccids);
|
||||
this.SetParamSimple(map, prefix + "Content", this.Content);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
51
TencentCloud/Ic/V20190307/Models/SendMultiSmsResponse.cs
Normal file
51
TencentCloud/Ic/V20190307/Models/SendMultiSmsResponse.cs
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* 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.Ic.V20190307.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class SendMultiSmsResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 短信流水数组
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Data")]
|
||||
public SmsRet[] Data{ 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 + "Data.", this.Data);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
57
TencentCloud/Ic/V20190307/Models/SendSmsRequest.cs
Normal file
57
TencentCloud/Ic/V20190307/Models/SendSmsRequest.cs
Normal 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.Ic.V20190307.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class SendSmsRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 应用ID
|
||||
/// </summary>
|
||||
[JsonProperty("Sdkappid")]
|
||||
public long? Sdkappid{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 卡片ID
|
||||
/// </summary>
|
||||
[JsonProperty("Iccid")]
|
||||
public string Iccid{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 短信内容长度70限制
|
||||
/// </summary>
|
||||
[JsonProperty("Content")]
|
||||
public string Content{ 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 + "Sdkappid", this.Sdkappid);
|
||||
this.SetParamSimple(map, prefix + "Iccid", this.Iccid);
|
||||
this.SetParamSimple(map, prefix + "Content", this.Content);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
51
TencentCloud/Ic/V20190307/Models/SendSmsResponse.cs
Normal file
51
TencentCloud/Ic/V20190307/Models/SendSmsResponse.cs
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* 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.Ic.V20190307.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class SendSmsResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 短信流水信息
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Data")]
|
||||
public SmsSid Data{ 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 + "Data.", this.Data);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
64
TencentCloud/Ic/V20190307/Models/SmsRet.cs
Normal file
64
TencentCloud/Ic/V20190307/Models/SmsRet.cs
Normal file
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* 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.Ic.V20190307.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class SmsRet : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 该iccid请求状态
|
||||
/// </summary>
|
||||
[JsonProperty("Code")]
|
||||
public string Code{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 短信发送返回信息
|
||||
/// </summary>
|
||||
[JsonProperty("Msg")]
|
||||
public string Msg{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 卡片ID
|
||||
/// </summary>
|
||||
[JsonProperty("Iccid")]
|
||||
public string Iccid{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 流水ID
|
||||
/// </summary>
|
||||
[JsonProperty("Sid")]
|
||||
public string Sid{ 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 + "Code", this.Code);
|
||||
this.SetParamSimple(map, prefix + "Msg", this.Msg);
|
||||
this.SetParamSimple(map, prefix + "Iccid", this.Iccid);
|
||||
this.SetParamSimple(map, prefix + "Sid", this.Sid);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
51
TencentCloud/Ic/V20190307/Models/SmsSid.cs
Normal file
51
TencentCloud/Ic/V20190307/Models/SmsSid.cs
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* 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.Ic.V20190307.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class SmsSid : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 卡片ID
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Iccid")]
|
||||
public string Iccid{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 信息流水ID
|
||||
/// </summary>
|
||||
[JsonProperty("Sid")]
|
||||
public string Sid{ 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 + "Iccid", this.Iccid);
|
||||
this.SetParamSimple(map, prefix + "Sid", this.Sid);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user