Class: TencentCloud::Cpdp::V20190820::AssignmentData

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

Overview

分配关系

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(anchorid = nil, anchorname = nil, agentid = nil, agentname = nil) ⇒ AssignmentData

Returns a new instance of AssignmentData.



2596
2597
2598
2599
2600
2601
# File 'lib/v20190820/models.rb', line 2596

def initialize(anchorid=nil, anchorname=nil, agentid=nil, agentname=nil)
  @AnchorId = anchorid
  @AnchorName = anchorname
  @AgentId = agentid
  @AgentName = agentname
end

Instance Attribute Details

#AgentIdObject

Parameters:

  • AnchorId:

    主播ID

  • AnchorName:

    主播名称

  • AgentId:

    代理商ID

  • AgentName:

    代理商名称



2594
2595
2596
# File 'lib/v20190820/models.rb', line 2594

def AgentId
  @AgentId
end

#AgentNameObject

Parameters:

  • AnchorId:

    主播ID

  • AnchorName:

    主播名称

  • AgentId:

    代理商ID

  • AgentName:

    代理商名称



2594
2595
2596
# File 'lib/v20190820/models.rb', line 2594

def AgentName
  @AgentName
end

#AnchorIdObject

Parameters:

  • AnchorId:

    主播ID

  • AnchorName:

    主播名称

  • AgentId:

    代理商ID

  • AgentName:

    代理商名称



2594
2595
2596
# File 'lib/v20190820/models.rb', line 2594

def AnchorId
  @AnchorId
end

#AnchorNameObject

Parameters:

  • AnchorId:

    主播ID

  • AnchorName:

    主播名称

  • AgentId:

    代理商ID

  • AgentName:

    代理商名称



2594
2595
2596
# File 'lib/v20190820/models.rb', line 2594

def AnchorName
  @AnchorName
end

Instance Method Details

#deserialize(params) ⇒ Object



2603
2604
2605
2606
2607
2608
# File 'lib/v20190820/models.rb', line 2603

def deserialize(params)
  @AnchorId = params['AnchorId']
  @AnchorName = params['AnchorName']
  @AgentId = params['AgentId']
  @AgentName = params['AgentName']
end