Class: TencentCloud::Ccc::V20200210::PSTNSessionInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ccc::V20200210::PSTNSessionInfo
- Defined in:
- lib/v20200210/models.rb
Overview
PSTN 会话信息
Instance Attribute Summary collapse
- #AcceptTimestamp ⇒ Object
- #Callee ⇒ Object
- #Caller ⇒ Object
- #Direction ⇒ Object
- #ProtectedCallee ⇒ Object
- #ProtectedCaller ⇒ Object
- #RingTimestamp ⇒ Object
- #RoomID ⇒ Object
- #SessionID ⇒ Object
- #SessionStatus ⇒ Object
- #StaffEmail ⇒ Object
- #StaffNumber ⇒ Object
- #StartTimestamp ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(sessionid = nil, roomid = nil, caller = nil, callee = nil, starttimestamp = nil, accepttimestamp = nil, staffemail = nil, staffnumber = nil, sessionstatus = nil, direction = nil, ringtimestamp = nil, protectedcaller = nil, protectedcallee = nil) ⇒ PSTNSessionInfo
constructor
A new instance of PSTNSessionInfo.
Constructor Details
#initialize(sessionid = nil, roomid = nil, caller = nil, callee = nil, starttimestamp = nil, accepttimestamp = nil, staffemail = nil, staffnumber = nil, sessionstatus = nil, direction = nil, ringtimestamp = nil, protectedcaller = nil, protectedcallee = nil) ⇒ PSTNSessionInfo
Returns a new instance of PSTNSessionInfo.
5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 |
# File 'lib/v20200210/models.rb', line 5822 def initialize(sessionid=nil, roomid=nil, caller=nil, callee=nil, =nil, =nil, staffemail=nil, staffnumber=nil, sessionstatus=nil, direction=nil, =nil, protectedcaller=nil, protectedcallee=nil) @SessionID = sessionid @RoomID = roomid @Caller = caller @Callee = callee @StartTimestamp = @AcceptTimestamp = @StaffEmail = staffemail @StaffNumber = staffnumber @SessionStatus = sessionstatus @Direction = direction @RingTimestamp = @ProtectedCaller = protectedcaller @ProtectedCallee = protectedcallee end |
Instance Attribute Details
#AcceptTimestamp ⇒ Object
5820 5821 5822 |
# File 'lib/v20200210/models.rb', line 5820 def AcceptTimestamp @AcceptTimestamp end |
#Callee ⇒ Object
5820 5821 5822 |
# File 'lib/v20200210/models.rb', line 5820 def Callee @Callee end |
#Caller ⇒ Object
5820 5821 5822 |
# File 'lib/v20200210/models.rb', line 5820 def Caller @Caller end |
#Direction ⇒ Object
5820 5821 5822 |
# File 'lib/v20200210/models.rb', line 5820 def Direction @Direction end |
#ProtectedCallee ⇒ Object
5820 5821 5822 |
# File 'lib/v20200210/models.rb', line 5820 def ProtectedCallee @ProtectedCallee end |
#ProtectedCaller ⇒ Object
5820 5821 5822 |
# File 'lib/v20200210/models.rb', line 5820 def ProtectedCaller @ProtectedCaller end |
#RingTimestamp ⇒ Object
5820 5821 5822 |
# File 'lib/v20200210/models.rb', line 5820 def RingTimestamp @RingTimestamp end |
#RoomID ⇒ Object
5820 5821 5822 |
# File 'lib/v20200210/models.rb', line 5820 def RoomID @RoomID end |
#SessionID ⇒ Object
5820 5821 5822 |
# File 'lib/v20200210/models.rb', line 5820 def SessionID @SessionID end |
#SessionStatus ⇒ Object
5820 5821 5822 |
# File 'lib/v20200210/models.rb', line 5820 def SessionStatus @SessionStatus end |
#StaffEmail ⇒ Object
5820 5821 5822 |
# File 'lib/v20200210/models.rb', line 5820 def StaffEmail @StaffEmail end |
#StaffNumber ⇒ Object
5820 5821 5822 |
# File 'lib/v20200210/models.rb', line 5820 def StaffNumber @StaffNumber end |
#StartTimestamp ⇒ Object
5820 5821 5822 |
# File 'lib/v20200210/models.rb', line 5820 def StartTimestamp @StartTimestamp end |
Instance Method Details
#deserialize(params) ⇒ Object
5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 |
# File 'lib/v20200210/models.rb', line 5838 def deserialize(params) @SessionID = params['SessionID'] @RoomID = params['RoomID'] @Caller = params['Caller'] @Callee = params['Callee'] @StartTimestamp = params['StartTimestamp'] @AcceptTimestamp = params['AcceptTimestamp'] @StaffEmail = params['StaffEmail'] @StaffNumber = params['StaffNumber'] @SessionStatus = params['SessionStatus'] @Direction = params['Direction'] @RingTimestamp = params['RingTimestamp'] @ProtectedCaller = params['ProtectedCaller'] @ProtectedCallee = params['ProtectedCallee'] end |