/*
* 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.Npp.V20190823.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeCallBackStatusResponse : AbstractModel
{
///
/// 错误码
///
[JsonProperty("ErrorCode")]
public string ErrorCode{ get; set; }
///
/// 错误信息
///
[JsonProperty("Msg")]
public string Msg{ get; set; }
///
/// 业务appid
///
[JsonProperty("AppId")]
public string AppId{ get; set; }
///
/// 回拨请求响应中返回的 callId
///
[JsonProperty("CallId")]
public string CallId{ get; set; }
///
/// 主叫号码
///
[JsonProperty("Src")]
public string Src{ get; set; }
///
/// 被叫号码
///
[JsonProperty("Dst")]
public string Dst{ get; set; }
///
/// 通话最后状态:0:未知状态 1:主叫响铃中 2:主叫接听 3:被叫响铃中 4:正常通话中 5:通话结束
///
[JsonProperty("CallStatus")]
public string CallStatus{ get; set; }
///
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
///
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary map, string prefix)
{
this.SetParamSimple(map, prefix + "ErrorCode", this.ErrorCode);
this.SetParamSimple(map, prefix + "Msg", this.Msg);
this.SetParamSimple(map, prefix + "AppId", this.AppId);
this.SetParamSimple(map, prefix + "CallId", this.CallId);
this.SetParamSimple(map, prefix + "Src", this.Src);
this.SetParamSimple(map, prefix + "Dst", this.Dst);
this.SetParamSimple(map, prefix + "CallStatus", this.CallStatus);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}