Class: TencentCloud::Ccc::V20200210::DescribeSessionDetailResponse

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200210/models.rb

Overview

DescribeSessionDetail返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(caller = nil, callee = nil, calltype = nil, starttimestamp = nil, ringtimestamp = nil, accepttimestamp = nil, endedtimestamp = nil, queuedtimestamp = nil, staffuserid = nil, endstatus = nil, queuedskillgroupid = nil, queuedskillgroupname = nil, recordurl = nil, customrecordurl = nil, asrurl = nil, voicemailrecordurl = nil, voicemailasrurl = nil, ivrkeypressed = nil, postivrkeypressed = nil, hungupside = nil, uui = nil, events = nil, serveparticipants = nil, requestid = nil) ⇒ DescribeSessionDetailResponse



4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
# File 'lib/v20200210/models.rb', line 4274

def initialize(caller=nil, callee=nil, calltype=nil, starttimestamp=nil, ringtimestamp=nil, accepttimestamp=nil, endedtimestamp=nil, queuedtimestamp=nil, staffuserid=nil, endstatus=nil, queuedskillgroupid=nil, queuedskillgroupname=nil, recordurl=nil, customrecordurl=nil, asrurl=nil, voicemailrecordurl=nil, voicemailasrurl=nil, ivrkeypressed=nil, postivrkeypressed=nil, hungupside=nil, uui=nil, events=nil, serveparticipants=nil, requestid=nil)
  @Caller = caller
  @Callee = callee
  @CallType = calltype
  @StartTimeStamp = starttimestamp
  @RingTimestamp = ringtimestamp
  @AcceptTimestamp = accepttimestamp
  @EndedTimestamp = endedtimestamp
  @QueuedTimestamp = queuedtimestamp
  @StaffUserId = staffuserid
  @EndStatus = endstatus
  @QueuedSkillGroupId = queuedskillgroupid
  @QueuedSkillGroupName = queuedskillgroupname
  @RecordURL = recordurl
  @CustomRecordURL = customrecordurl
  @AsrURL = asrurl
  @VoicemailRecordURL = voicemailrecordurl
  @VoicemailAsrURL = voicemailasrurl
  @IVRKeyPressed = ivrkeypressed
  @PostIVRKeyPressed = postivrkeypressed
  @HungUpSide = hungupside
  @UUI = uui
  @Events = events
  @ServeParticipants = serveparticipants
  @RequestId = requestid
end

Instance Attribute Details

#AcceptTimestampObject



4272
4273
4274
# File 'lib/v20200210/models.rb', line 4272

def AcceptTimestamp
  @AcceptTimestamp
end

#AsrURLObject



4272
4273
4274
# File 'lib/v20200210/models.rb', line 4272

def AsrURL
  @AsrURL
end

#CalleeObject



4272
4273
4274
# File 'lib/v20200210/models.rb', line 4272

def Callee
  @Callee
end

#CallerObject



4272
4273
4274
# File 'lib/v20200210/models.rb', line 4272

def Caller
  @Caller
end

#CallTypeObject



4272
4273
4274
# File 'lib/v20200210/models.rb', line 4272

def CallType
  @CallType
end

#CustomRecordURLObject



4272
4273
4274
# File 'lib/v20200210/models.rb', line 4272

def CustomRecordURL
  @CustomRecordURL
end

#EndedTimestampObject



4272
4273
4274
# File 'lib/v20200210/models.rb', line 4272

def EndedTimestamp
  @EndedTimestamp
end

#EndStatusObject



4272
4273
4274
# File 'lib/v20200210/models.rb', line 4272

def EndStatus
  @EndStatus
end

#EventsObject



4272
4273
4274
# File 'lib/v20200210/models.rb', line 4272

def Events
  @Events
end

#HungUpSideObject



4272
4273
4274
# File 'lib/v20200210/models.rb', line 4272

def HungUpSide
  @HungUpSide
end

#IVRKeyPressedObject



4272
4273
4274
# File 'lib/v20200210/models.rb', line 4272

def IVRKeyPressed
  @IVRKeyPressed
end

#PostIVRKeyPressedObject



4272
4273
4274
# File 'lib/v20200210/models.rb', line 4272

def PostIVRKeyPressed
  @PostIVRKeyPressed
end

#QueuedSkillGroupIdObject



4272
4273
4274
# File 'lib/v20200210/models.rb', line 4272

def QueuedSkillGroupId
  @QueuedSkillGroupId
end

#QueuedSkillGroupNameObject



4272
4273
4274
# File 'lib/v20200210/models.rb', line 4272

def QueuedSkillGroupName
  @QueuedSkillGroupName
end

#QueuedTimestampObject



4272
4273
4274
# File 'lib/v20200210/models.rb', line 4272

def QueuedTimestamp
  @QueuedTimestamp
end

#RecordURLObject



4272
4273
4274
# File 'lib/v20200210/models.rb', line 4272

def RecordURL
  @RecordURL
end

#RequestIdObject



4272
4273
4274
# File 'lib/v20200210/models.rb', line 4272

def RequestId
  @RequestId
end

#RingTimestampObject



4272
4273
4274
# File 'lib/v20200210/models.rb', line 4272

def RingTimestamp
  @RingTimestamp
end

#ServeParticipantsObject



4272
4273
4274
# File 'lib/v20200210/models.rb', line 4272

def ServeParticipants
  @ServeParticipants
end

#StaffUserIdObject



4272
4273
4274
# File 'lib/v20200210/models.rb', line 4272

def StaffUserId
  @StaffUserId
end

#StartTimeStampObject



4272
4273
4274
# File 'lib/v20200210/models.rb', line 4272

def StartTimeStamp
  @StartTimeStamp
end

#UUIObject



4272
4273
4274
# File 'lib/v20200210/models.rb', line 4272

def UUI
  @UUI
end

#VoicemailAsrURLObject



4272
4273
4274
# File 'lib/v20200210/models.rb', line 4272

def VoicemailAsrURL
  @VoicemailAsrURL
end

#VoicemailRecordURLObject



4272
4273
4274
# File 'lib/v20200210/models.rb', line 4272

def VoicemailRecordURL
  @VoicemailRecordURL
end

Instance Method Details

#deserialize(params) ⇒ Object



4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
# File 'lib/v20200210/models.rb', line 4301

def deserialize(params)
  @Caller = params['Caller']
  @Callee = params['Callee']
  @CallType = params['CallType']
  @StartTimeStamp = params['StartTimeStamp']
  @RingTimestamp = params['RingTimestamp']
  @AcceptTimestamp = params['AcceptTimestamp']
  @EndedTimestamp = params['EndedTimestamp']
  @QueuedTimestamp = params['QueuedTimestamp']
  @StaffUserId = params['StaffUserId']
  @EndStatus = params['EndStatus']
  @QueuedSkillGroupId = params['QueuedSkillGroupId']
  @QueuedSkillGroupName = params['QueuedSkillGroupName']
  @RecordURL = params['RecordURL']
  @CustomRecordURL = params['CustomRecordURL']
  @AsrURL = params['AsrURL']
  @VoicemailRecordURL = params['VoicemailRecordURL']
  @VoicemailAsrURL = params['VoicemailAsrURL']
  unless params['IVRKeyPressed'].nil?
    @IVRKeyPressed = []
    params['IVRKeyPressed'].each do |i|
      ivrkeypressedelement_tmp = IVRKeyPressedElement.new
      ivrkeypressedelement_tmp.deserialize(i)
      @IVRKeyPressed << ivrkeypressedelement_tmp
    end
  end
  unless params['PostIVRKeyPressed'].nil?
    @PostIVRKeyPressed = []
    params['PostIVRKeyPressed'].each do |i|
      ivrkeypressedelement_tmp = IVRKeyPressedElement.new
      ivrkeypressedelement_tmp.deserialize(i)
      @PostIVRKeyPressed << ivrkeypressedelement_tmp
    end
  end
  @HungUpSide = params['HungUpSide']
  @UUI = params['UUI']
  unless params['Events'].nil?
    @Events = []
    params['Events'].each do |i|
      sessionevent_tmp = SessionEvent.new
      sessionevent_tmp.deserialize(i)
      @Events << sessionevent_tmp
    end
  end
  unless params['ServeParticipants'].nil?
    @ServeParticipants = []
    params['ServeParticipants'].each do |i|
      serveparticipant_tmp = ServeParticipant.new
      serveparticipant_tmp.deserialize(i)
      @ServeParticipants << serveparticipant_tmp
    end
  end
  @RequestId = params['RequestId']
end