Class: TencentCloud::Lcic::V20220817::BatchCreateRoomRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Lcic::V20220817::BatchCreateRoomRequest
- Defined in:
- lib/v20220817/models.rb
Overview
BatchCreateRoom请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(sdkappid = nil, roominfos = nil) ⇒ BatchCreateRoomRequest
constructor
A new instance of BatchCreateRoomRequest.
Constructor Details
#initialize(sdkappid = nil, roominfos = nil) ⇒ BatchCreateRoomRequest
Returns a new instance of BatchCreateRoomRequest.
300 301 302 303 |
# File 'lib/v20220817/models.rb', line 300 def initialize(sdkappid=nil, roominfos=nil) @SdkAppId = sdkappid @RoomInfos = roominfos end |
Instance Attribute Details
#RoomInfos ⇒ Object
298 299 300 |
# File 'lib/v20220817/models.rb', line 298 def RoomInfos @RoomInfos end |
#SdkAppId ⇒ Object
298 299 300 |
# File 'lib/v20220817/models.rb', line 298 def SdkAppId @SdkAppId end |
Instance Method Details
#deserialize(params) ⇒ Object
305 306 307 308 309 310 311 312 313 314 315 |
# File 'lib/v20220817/models.rb', line 305 def deserialize(params) @SdkAppId = params['SdkAppId'] unless params['RoomInfos'].nil? @RoomInfos = [] params['RoomInfos'].each do |i| roominfo_tmp = RoomInfo.new roominfo_tmp.deserialize(i) @RoomInfos << roominfo_tmp end end end |