lib/v20190823/models.rb in tencentcloud-sdk-npp-3.0.590 vs lib/v20190823/models.rb in tencentcloud-sdk-npp-3.0.591
- old
+ new
@@ -54,11 +54,11 @@
# @param OrderId: 订单 ID,最大长度不超过 64 个字节,对于一些有订单状态 App 相关应用(如达人帮接入 App 应用),该字段只在帐单中带上,其它回调不附带该字段
# 注意:此字段可能返回 null,表示取不到有效值。
# @type OrderId: String
attr_accessor :CallId, :Src, :Dst, :StartSrcCallTime, :StartSrcRingTime, :SrcAcceptTime, :StartDstCallTime, :StartDstRingTime, :DstAcceptTime, :EndCallTime, :CallEndStatus, :Duration, :RecordUrl, :CallType, :BizId, :OrderId
-
+
def initialize(callid=nil, src=nil, dst=nil, startsrccalltime=nil, startsrcringtime=nil, srcaccepttime=nil, startdstcalltime=nil, startdstringtime=nil, dstaccepttime=nil, endcalltime=nil, callendstatus=nil, duration=nil, recordurl=nil, calltype=nil, bizid=nil, orderid=nil)
@CallId = callid
@Src = src
@Dst = dst
@StartSrcCallTime = startsrccalltime
@@ -102,11 +102,11 @@
# @type Nation: String
# @param Phone: 号码(固话区号前加 0,如075586013388)
# @type Phone: String
attr_accessor :Nation, :Phone
-
+
def initialize(nation=nil, phone=nil)
@Nation = nation
@Phone = phone
end
@@ -149,11 +149,11 @@
# @type PreCallerHandle: :class:`Tencentcloud::Npp.v20190823.models.RreCallerHandle`
# @param OrderId: 订单 ID,最大长度不超过64个字节,对于一些有订单状态 App 相关应用使用(如达人帮接入 App 应用),该字段只在帐单中带上,其它回调不附带该字段
# @type OrderId: String
attr_accessor :BizAppId, :Src, :Dst, :SrcDisplayNum, :DstDisplayNum, :Record, :MaxAllowTime, :StatusFlag, :StatusUrl, :HangupUrl, :RecordUrl, :BizId, :LastCallId, :PreCallerHandle, :OrderId
-
+
def initialize(bizappid=nil, src=nil, dst=nil, srcdisplaynum=nil, dstdisplaynum=nil, record=nil, maxallowtime=nil, statusflag=nil, statusurl=nil, hangupurl=nil, recordurl=nil, bizid=nil, lastcallid=nil, precallerhandle=nil, orderid=nil)
@BizAppId = bizappid
@Src = src
@Dst = dst
@SrcDisplayNum = srcdisplaynum
@@ -210,11 +210,11 @@
# @type Msg: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :CallId, :SrcDisplayNum, :DstDisplayNum, :ErrorCode, :Msg, :RequestId
-
+
def initialize(callid=nil, srcdisplaynum=nil, dstdisplaynum=nil, errorcode=nil, msg=nil, requestid=nil)
@CallId = callid
@SrcDisplayNum = srcdisplaynum
@DstDisplayNum = dstdisplaynum
@ErrorCode = errorcode
@@ -240,11 +240,11 @@
# @type BindId: String
# @param BizId: 应用二级业务 ID,bizId 需保证在该 appId 下全局唯一,最大长度不超过 16 个字节。
# @type BizId: String
attr_accessor :BizAppId, :BindId, :BizId
-
+
def initialize(bizappid=nil, bindid=nil, bizid=nil)
@BizAppId = bizappid
@BindId = bindid
@BizId = bizid
end
@@ -271,11 +271,11 @@
# @type RefLeftNum: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :ErrorCode, :Msg, :BindId, :RefLeftNum, :RequestId
-
+
def initialize(errorcode=nil, msg=nil, bindid=nil, refleftnum=nil, requestid=nil)
@ErrorCode = errorcode
@Msg = msg
@BindId = bindid
@RefLeftNum = refleftnum
@@ -299,11 +299,11 @@
# @type CallId: String
# @param CancelFlag: 0:不管通话状态直接拆线(默认) 1:主叫响铃以后状态不拆线 2:主叫接听以后状态不拆线 3:被叫响铃以后状态不拆线 4:被叫接听以后状态不拆线
# @type CancelFlag: String
attr_accessor :BizAppId, :CallId, :CancelFlag
-
+
def initialize(bizappid=nil, callid=nil, cancelflag=nil)
@BizAppId = bizappid
@CallId = callid
@CancelFlag = cancelflag
end
@@ -327,11 +327,11 @@
# @type CallId: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :ErrorCode, :Msg, :CallId, :RequestId
-
+
def initialize(errorcode=nil, msg=nil, callid=nil, requestid=nil)
@ErrorCode = errorcode
@Msg = msg
@CallId = callid
@RequestId = requestid
@@ -357,11 +357,11 @@
# @type StartTimeStamp: String
# @param EndTimeStamp: 话单结束时间戳
# @type EndTimeStamp: String
attr_accessor :BizAppId, :CallId, :Src, :StartTimeStamp, :EndTimeStamp
-
+
def initialize(bizappid=nil, callid=nil, src=nil, starttimestamp=nil, endtimestamp=nil)
@BizAppId = bizappid
@CallId = callid
@Src = src
@StartTimeStamp = starttimestamp
@@ -393,11 +393,11 @@
# @type Msg: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :Cdr, :Offset, :ErrorCode, :Msg, :RequestId
-
+
def initialize(cdr=nil, offset=nil, errorcode=nil, msg=nil, requestid=nil)
@Cdr = cdr
@Offset = offset
@ErrorCode = errorcode
@Msg = msg
@@ -432,11 +432,11 @@
# @type Dst: String
# @param CallStatus: 通话最后状态:0:未知状态 1:主叫响铃中 2:主叫接听 3:被叫响铃中 4:正常通话中 5:通话结束
# @type CallStatus: String
attr_accessor :BizAppId, :CallId, :Src, :Dst, :CallStatus
-
+
def initialize(bizappid=nil, callid=nil, src=nil, dst=nil, callstatus=nil)
@BizAppId = bizappid
@CallId = callid
@Src = src
@Dst = dst
@@ -470,11 +470,11 @@
# @type CallStatus: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :ErrorCode, :Msg, :AppId, :CallId, :Src, :Dst, :CallStatus, :RequestId
-
+
def initialize(errorcode=nil, msg=nil, appid=nil, callid=nil, src=nil, dst=nil, callstatus=nil, requestid=nil)
@ErrorCode = errorcode
@Msg = msg
@AppId = appid
@CallId = callid
@@ -500,11 +500,11 @@
class DescribeCallerDisplayListRequest < TencentCloud::Common::AbstractModel
# @param BizAppId: 业务appid
# @type BizAppId: String
attr_accessor :BizAppId
-
+
def initialize(bizappid=nil)
@BizAppId = bizappid
end
def deserialize(params)
@@ -527,11 +527,11 @@
# @type Msg: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :AppId, :CodeList, :ErrorCode, :Msg, :RequestId
-
+
def initialize(appid=nil, codelist=nil, errorcode=nil, msg=nil, requestid=nil)
@AppId = appid
@CodeList = codelist
@ErrorCode = errorcode
@Msg = msg
@@ -566,11 +566,11 @@
# @type StartTimeStamp: String
# @param EndTimeStamp: 话单结束时间戳
# @type EndTimeStamp: String
attr_accessor :BizAppId, :CallId, :Src, :StartTimeStamp, :EndTimeStamp
-
+
def initialize(bizappid=nil, callid=nil, src=nil, starttimestamp=nil, endtimestamp=nil)
@BizAppId = bizappid
@CallId = callid
@Src = src
@StartTimeStamp = starttimestamp
@@ -601,11 +601,11 @@
# @type Cdr: Array
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :ErrorCode, :Msg, :Offset, :Cdr, :RequestId
-
+
def initialize(errorcode=nil, msg=nil, offset=nil, cdr=nil, requestid=nil)
@ErrorCode = errorcode
@Msg = msg
@Offset = offset
@Cdr = cdr
@@ -672,11 +672,11 @@
# @type HangupUrl: String
# @param RecordUrl: 录单 URL 回调通知地址,正式环境可以配置默认推送地址
# @type RecordUrl: String
attr_accessor :BizAppId, :Dst, :Src, :AccreditList, :AssignVirtualNum, :Record, :CityId, :BizId, :MaxAssignTime, :StatusFlag, :StatusUrl, :HangupUrl, :RecordUrl
-
+
def initialize(bizappid=nil, dst=nil, src=nil, accreditlist=nil, assignvirtualnum=nil, record=nil, cityid=nil, bizid=nil, maxassigntime=nil, statusflag=nil, statusurl=nil, hangupurl=nil, recordurl=nil)
@BizAppId = bizappid
@Dst = dst
@Src = src
@AccreditList = accreditlist
@@ -726,11 +726,11 @@
# @type Msg: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :ErrorCode, :BindId, :RefNum, :VirtualNum, :Msg, :RequestId
-
+
def initialize(errorcode=nil, bindid=nil, refnum=nil, virtualnum=nil, msg=nil, requestid=nil)
@ErrorCode = errorcode
@BindId = bindid
@RefNum = refnum
@VirtualNum = virtualnum
@@ -754,11 +754,11 @@
# @type Key: String
# @param Operate: 1: 呼通被叫 2:interruptPrompt 重播提示 3:拆线
# @type Operate: String
attr_accessor :Key, :Operate
-
+
def initialize(key=nil, operate=nil)
@Key = key
@Operate = operate
end
@@ -782,11 +782,11 @@
# @type KeyPressUrl: String
# @param PromptGender: 提示音男声女声:1女声,2男声。默认女声
# @type PromptGender: String
attr_accessor :ReadPrompt, :InterruptPrompt, :KeyList, :RepeatTimes, :KeyPressUrl, :PromptGender
-
+
def initialize(readprompt=nil, interruptprompt=nil, keylist=nil, repeattimes=nil, keypressurl=nil, promptgender=nil)
@ReadPrompt = readprompt
@InterruptPrompt = interruptprompt
@KeyList = keylist
@RepeatTimes = repeattimes
@@ -841,10 +841,10 @@
# @type DstDuration: String
# @param RecordUrl: 录音 URL,如果不录音或录音失败,该值为空
# @type RecordUrl: String
attr_accessor :CallId, :BindId, :Src, :Dst, :DstVirtualNum, :CallCenterAcceptTime, :StartDstCallTime, :StartDstRingTime, :DstAcceptTime, :EndCallTime, :CallEndStatus, :SrcDuration, :DstDuration, :RecordUrl
-
+
def initialize(callid=nil, bindid=nil, src=nil, dst=nil, dstvirtualnum=nil, callcenteraccepttime=nil, startdstcalltime=nil, startdstringtime=nil, dstaccepttime=nil, endcalltime=nil, callendstatus=nil, srcduration=nil, dstduration=nil, recordurl=nil)
@CallId = callid
@BindId = bindid
@Src = src
@Dst = dst