Class: TencentCloud::Ccc::V20200210::StaffStatus

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

Overview

座席状态

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cursor = nil, timestamp = nil, status = nil, sessionid = nil, reason = nil, staffemail = nil, staffno = nil) ⇒ StaffStatus

Returns a new instance of StaffStatus.



6749
6750
6751
6752
6753
6754
6755
6756
6757
# File 'lib/v20200210/models.rb', line 6749

def initialize(cursor=nil, timestamp=nil, status=nil, sessionid=nil, reason=nil, staffemail=nil, staffno=nil)
  @Cursor = cursor
  @Timestamp = timestamp
  @Status = status
  @SessionId = sessionid
  @Reason = reason
  @StaffEmail = staffemail
  @StaffNo = staffno
end

Instance Attribute Details

#CursorObject

Parameters:

  • Cursor:

    查询使用的游标,分页场景使用

  • Timestamp:

    状态时间戳,Unix 秒级时间戳

  • Status:

    座席状态 free 示闲 | busy 忙碌 | rest 小休 | notReady 示忙 | afterCallWork 话后调整 | offline 离线

  • SessionId:

    状态关联的会话 Id

  • Reason:

    小休原因

  • StaffEmail:

    座席邮箱

  • StaffNo:

    座席工号



6747
6748
6749
# File 'lib/v20200210/models.rb', line 6747

def Cursor
  @Cursor
end

#ReasonObject

Parameters:

  • Cursor:

    查询使用的游标,分页场景使用

  • Timestamp:

    状态时间戳,Unix 秒级时间戳

  • Status:

    座席状态 free 示闲 | busy 忙碌 | rest 小休 | notReady 示忙 | afterCallWork 话后调整 | offline 离线

  • SessionId:

    状态关联的会话 Id

  • Reason:

    小休原因

  • StaffEmail:

    座席邮箱

  • StaffNo:

    座席工号



6747
6748
6749
# File 'lib/v20200210/models.rb', line 6747

def Reason
  @Reason
end

#SessionIdObject

Parameters:

  • Cursor:

    查询使用的游标,分页场景使用

  • Timestamp:

    状态时间戳,Unix 秒级时间戳

  • Status:

    座席状态 free 示闲 | busy 忙碌 | rest 小休 | notReady 示忙 | afterCallWork 话后调整 | offline 离线

  • SessionId:

    状态关联的会话 Id

  • Reason:

    小休原因

  • StaffEmail:

    座席邮箱

  • StaffNo:

    座席工号



6747
6748
6749
# File 'lib/v20200210/models.rb', line 6747

def SessionId
  @SessionId
end

#StaffEmailObject

Parameters:

  • Cursor:

    查询使用的游标,分页场景使用

  • Timestamp:

    状态时间戳,Unix 秒级时间戳

  • Status:

    座席状态 free 示闲 | busy 忙碌 | rest 小休 | notReady 示忙 | afterCallWork 话后调整 | offline 离线

  • SessionId:

    状态关联的会话 Id

  • Reason:

    小休原因

  • StaffEmail:

    座席邮箱

  • StaffNo:

    座席工号



6747
6748
6749
# File 'lib/v20200210/models.rb', line 6747

def StaffEmail
  @StaffEmail
end

#StaffNoObject

Parameters:

  • Cursor:

    查询使用的游标,分页场景使用

  • Timestamp:

    状态时间戳,Unix 秒级时间戳

  • Status:

    座席状态 free 示闲 | busy 忙碌 | rest 小休 | notReady 示忙 | afterCallWork 话后调整 | offline 离线

  • SessionId:

    状态关联的会话 Id

  • Reason:

    小休原因

  • StaffEmail:

    座席邮箱

  • StaffNo:

    座席工号



6747
6748
6749
# File 'lib/v20200210/models.rb', line 6747

def StaffNo
  @StaffNo
end

#StatusObject

Parameters:

  • Cursor:

    查询使用的游标,分页场景使用

  • Timestamp:

    状态时间戳,Unix 秒级时间戳

  • Status:

    座席状态 free 示闲 | busy 忙碌 | rest 小休 | notReady 示忙 | afterCallWork 话后调整 | offline 离线

  • SessionId:

    状态关联的会话 Id

  • Reason:

    小休原因

  • StaffEmail:

    座席邮箱

  • StaffNo:

    座席工号



6747
6748
6749
# File 'lib/v20200210/models.rb', line 6747

def Status
  @Status
end

#TimestampObject

Parameters:

  • Cursor:

    查询使用的游标,分页场景使用

  • Timestamp:

    状态时间戳,Unix 秒级时间戳

  • Status:

    座席状态 free 示闲 | busy 忙碌 | rest 小休 | notReady 示忙 | afterCallWork 话后调整 | offline 离线

  • SessionId:

    状态关联的会话 Id

  • Reason:

    小休原因

  • StaffEmail:

    座席邮箱

  • StaffNo:

    座席工号



6747
6748
6749
# File 'lib/v20200210/models.rb', line 6747

def Timestamp
  @Timestamp
end

Instance Method Details

#deserialize(params) ⇒ Object



6759
6760
6761
6762
6763
6764
6765
6766
6767
# File 'lib/v20200210/models.rb', line 6759

def deserialize(params)
  @Cursor = params['Cursor']
  @Timestamp = params['Timestamp']
  @Status = params['Status']
  @SessionId = params['SessionId']
  @Reason = params['Reason']
  @StaffEmail = params['StaffEmail']
  @StaffNo = params['StaffNo']
end