Class: TencentCloud::Ccc::V20200210::ForwardingTarget

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(type = nil, staffuserid = nil, skillgroupid = nil, extension = nil) ⇒ ForwardingTarget

Returns a new instance of ForwardingTarget.



5127
5128
5129
5130
5131
5132
# File 'lib/v20200210/models.rb', line 5127

def initialize(type=nil, staffuserid=nil, skillgroupid=nil, extension=nil)
  @Type = type
  @StaffUserId = staffuserid
  @SkillGroupId = skillgroupid
  @Extension = extension
end

Instance Attribute Details

#ExtensionObject

Parameters:

  • Type:

    呼转目标类型 1 座席 2 技能组 3 分机

  • StaffUserId:

    呼转目标为座席的账号 Type 为 1 时填写

  • SkillGroupId:

    呼转目标为技能组的 ID,Type 为 2 时填写

  • Extension:

    呼转目标为分机的账号,Type 为 3 时填写



5125
5126
5127
# File 'lib/v20200210/models.rb', line 5125

def Extension
  @Extension
end

#SkillGroupIdObject

Parameters:

  • Type:

    呼转目标类型 1 座席 2 技能组 3 分机

  • StaffUserId:

    呼转目标为座席的账号 Type 为 1 时填写

  • SkillGroupId:

    呼转目标为技能组的 ID,Type 为 2 时填写

  • Extension:

    呼转目标为分机的账号,Type 为 3 时填写



5125
5126
5127
# File 'lib/v20200210/models.rb', line 5125

def SkillGroupId
  @SkillGroupId
end

#StaffUserIdObject

Parameters:

  • Type:

    呼转目标类型 1 座席 2 技能组 3 分机

  • StaffUserId:

    呼转目标为座席的账号 Type 为 1 时填写

  • SkillGroupId:

    呼转目标为技能组的 ID,Type 为 2 时填写

  • Extension:

    呼转目标为分机的账号,Type 为 3 时填写



5125
5126
5127
# File 'lib/v20200210/models.rb', line 5125

def StaffUserId
  @StaffUserId
end

#TypeObject

Parameters:

  • Type:

    呼转目标类型 1 座席 2 技能组 3 分机

  • StaffUserId:

    呼转目标为座席的账号 Type 为 1 时填写

  • SkillGroupId:

    呼转目标为技能组的 ID,Type 为 2 时填写

  • Extension:

    呼转目标为分机的账号,Type 为 3 时填写



5125
5126
5127
# File 'lib/v20200210/models.rb', line 5125

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



5134
5135
5136
5137
5138
5139
# File 'lib/v20200210/models.rb', line 5134

def deserialize(params)
  @Type = params['Type']
  @StaffUserId = params['StaffUserId']
  @SkillGroupId = params['SkillGroupId']
  @Extension = params['Extension']
end