Class: TencentCloud::Cpdp::V20190820::CreateAnchorResponse

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

Overview

CreateAnchor返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(anchorid = nil, requestid = nil) ⇒ CreateAnchorResponse

Returns a new instance of CreateAnchorResponse.



5520
5521
5522
5523
# File 'lib/v20190820/models.rb', line 5520

def initialize(anchorid=nil, requestid=nil)
  @AnchorId = anchorid
  @RequestId = requestid
end

Instance Attribute Details

#AnchorIdObject

Parameters:

  • AnchorId:

    主播ID

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



5518
5519
5520
# File 'lib/v20190820/models.rb', line 5518

def AnchorId
  @AnchorId
end

#RequestIdObject

Parameters:

  • AnchorId:

    主播ID

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



5518
5519
5520
# File 'lib/v20190820/models.rb', line 5518

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



5525
5526
5527
5528
# File 'lib/v20190820/models.rb', line 5525

def deserialize(params)
  @AnchorId = params['AnchorId']
  @RequestId = params['RequestId']
end