Class: TencentCloud::Lcic::V20220817::BindDocumentToRoomRequest

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

Overview

BindDocumentToRoom请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(roomid = nil, documentid = nil, bindtype = nil) ⇒ BindDocumentToRoomRequest

Returns a new instance of BindDocumentToRoomRequest.



607
608
609
610
611
# File 'lib/v20220817/models.rb', line 607

def initialize(roomid=nil, documentid=nil, bindtype=nil)
  @RoomId = roomid
  @DocumentId = documentid
  @BindType = bindtype
end

Instance Attribute Details

#BindTypeObject

示例值:0,仅绑定课件到房间示例值:1,绑定课件到房间后,默认展示课件

Parameters:

  • RoomId:

    房间ID。

  • DocumentId:

    文档ID。

  • BindType:

    绑定类型。后台可透传到客户端,默认为0。除以下例值外支持自定义该字段,并在前端实现相应业务逻辑,示例参考:



605
606
607
# File 'lib/v20220817/models.rb', line 605

def BindType
  @BindType
end

#DocumentIdObject

示例值:0,仅绑定课件到房间示例值:1,绑定课件到房间后,默认展示课件

Parameters:

  • RoomId:

    房间ID。

  • DocumentId:

    文档ID。

  • BindType:

    绑定类型。后台可透传到客户端,默认为0。除以下例值外支持自定义该字段,并在前端实现相应业务逻辑,示例参考:



605
606
607
# File 'lib/v20220817/models.rb', line 605

def DocumentId
  @DocumentId
end

#RoomIdObject

示例值:0,仅绑定课件到房间示例值:1,绑定课件到房间后,默认展示课件

Parameters:

  • RoomId:

    房间ID。

  • DocumentId:

    文档ID。

  • BindType:

    绑定类型。后台可透传到客户端,默认为0。除以下例值外支持自定义该字段,并在前端实现相应业务逻辑,示例参考:



605
606
607
# File 'lib/v20220817/models.rb', line 605

def RoomId
  @RoomId
end

Instance Method Details

#deserialize(params) ⇒ Object



613
614
615
616
617
# File 'lib/v20220817/models.rb', line 613

def deserialize(params)
  @RoomId = params['RoomId']
  @DocumentId = params['DocumentId']
  @BindType = params['BindType']
end