Class: TencentCloud::Cpdp::V20190820::AnchorContractInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cpdp::V20190820::AnchorContractInfo
- Defined in:
- lib/v20190820/models.rb
Overview
主播签约信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(anchorid = nil, anchorname = nil, agentid = nil, agentname = nil, idno = nil) ⇒ AnchorContractInfo
constructor
A new instance of AnchorContractInfo.
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
#AgentId ⇒ Object
1045 1046 1047 |
# File 'lib/v20190820/models.rb', line 1045 def AgentId @AgentId end |
#AgentName ⇒ Object
1045 1046 1047 |
# File 'lib/v20190820/models.rb', line 1045 def AgentName @AgentName end |
#AnchorId ⇒ Object
1045 1046 1047 |
# File 'lib/v20190820/models.rb', line 1045 def AnchorId @AnchorId end |
#AnchorName ⇒ Object
1045 1046 1047 |
# File 'lib/v20190820/models.rb', line 1045 def AnchorName @AnchorName end |
#IdNo ⇒ Object
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 |