Class: TencentCloud::Cpdp::V20190820::AnchorContractInfo

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, idno = nil) ⇒ AnchorContractInfo

Returns a new instance of AnchorContractInfo.



1047
1048
1049
1050
1051
1052
1053
# File 'lib/v20190820/models.rb', line 1047

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

Instance Attribute Details

#AgentIdObject

Parameters:

  • AnchorId:

    主播ID

  • AnchorName:

    主播名称

  • AgentId:

    代理商ID

  • AgentName:

    代理商名称

  • IdNo:

    主播身份证号



1045
1046
1047
# File 'lib/v20190820/models.rb', line 1045

def AgentId
  @AgentId
end

#AgentNameObject

Parameters:

  • AnchorId:

    主播ID

  • AnchorName:

    主播名称

  • AgentId:

    代理商ID

  • AgentName:

    代理商名称

  • IdNo:

    主播身份证号



1045
1046
1047
# File 'lib/v20190820/models.rb', line 1045

def AgentName
  @AgentName
end

#AnchorIdObject

Parameters:

  • AnchorId:

    主播ID

  • AnchorName:

    主播名称

  • AgentId:

    代理商ID

  • AgentName:

    代理商名称

  • IdNo:

    主播身份证号



1045
1046
1047
# File 'lib/v20190820/models.rb', line 1045

def AnchorId
  @AnchorId
end

#AnchorNameObject

Parameters:

  • AnchorId:

    主播ID

  • AnchorName:

    主播名称

  • AgentId:

    代理商ID

  • AgentName:

    代理商名称

  • IdNo:

    主播身份证号



1045
1046
1047
# File 'lib/v20190820/models.rb', line 1045

def AnchorName
  @AnchorName
end

#IdNoObject

Parameters:

  • AnchorId:

    主播ID

  • AnchorName:

    主播名称

  • AgentId:

    代理商ID

  • AgentName:

    代理商名称

  • IdNo:

    主播身份证号



1045
1046
1047
# File 'lib/v20190820/models.rb', line 1045

def IdNo
  @IdNo
end

Instance Method Details

#deserialize(params) ⇒ Object



1055
1056
1057
1058
1059
1060
1061
# File 'lib/v20190820/models.rb', line 1055

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