/*
* 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
{
///
/// 卡片ID
///
[JsonProperty("Iccid")]
public string Iccid{ get; set; }
///
/// 卡电话号码
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("Msisdn")]
public string Msisdn{ get; set; }
///
/// 卡imsi
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("Imsi")]
public string Imsi{ get; set; }
///
/// 卡imei
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("Imei")]
public string Imei{ get; set; }
///
/// 应用ID
///
[JsonProperty("Sdkappid")]
public string Sdkappid{ get; set; }
///
/// 运营商编号
///
[JsonProperty("Teleoperator")]
public long? Teleoperator{ get; set; }
///
/// 卡片状态 1:未激活 2:激活 3:停卡 5:销卡
///
[JsonProperty("CardStatus")]
public long? CardStatus{ get; set; }
///
/// 网络状态
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("NetworkStatus")]
public long? NetworkStatus{ get; set; }
///
/// 激活时间
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("ActivitedTime")]
public string ActivitedTime{ get; set; }
///
/// 资费类型,1 单卡,2 流量池
///
[JsonProperty("Type")]
public long? Type{ get; set; }
///
/// 套餐类型
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("ProductId")]
public string ProductId{ get; set; }
///
/// 流量池ID
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("PoolId")]
public string PoolId{ get; set; }
///
/// 周期套餐流量使用
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("DataUsedInPeriod")]
public float? DataUsedInPeriod{ get; set; }
///
/// 周期套餐总量
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("DataTotalInPeriod")]
public float? DataTotalInPeriod{ get; set; }
///
/// 过期时间
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("ProductExpiredTime")]
public string ProductExpiredTime{ get; set; }
///
/// 描述信息
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("Description")]
public string Description{ get; set; }
///
/// 创建时间
///
[JsonProperty("CreatedTime")]
public string CreatedTime{ get; set; }
///
/// 修改时间
///
[JsonProperty("ModifiedTime")]
public string ModifiedTime{ get; set; }
///
/// 套餐周期
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("PreorderCnt")]
public long? PreorderCnt{ get; set; }
///
/// 激活被回调标志
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("IsActivated")]
public long? IsActivated{ get; set; }
///
/// 订单ID
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("OrderId")]
public string OrderId{ get; set; }
///
/// 是否自动续费
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("AutoRenew")]
public long? AutoRenew{ get; set; }
///
/// 备注
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("Remark")]
public string Remark{ get; set; }
///
/// 0 不需要开通达量不停卡 1 需要开通达量不停卡
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("AllowArrears")]
public long? AllowArrears{ get; set; }
///
/// 是否开通短信0:未开短信 1:开通短信
///
[JsonProperty("NeedSms")]
public long? NeedSms{ get; set; }
///
/// 服务
///
[JsonProperty("Provider")]
public long? Provider{ get; set; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary 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);
}
}
}