Class: TencentCloud::Wav::V20210129::ChatArchivingMsgTypeVideo

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

Overview

会话存档的视频消息类型

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(playlength = nil, filesize = nil, coskey = nil) ⇒ ChatArchivingMsgTypeVideo

Returns a new instance of ChatArchivingMsgTypeVideo.



400
401
402
403
404
# File 'lib/v20210129/models.rb', line 400

def initialize(playlength=nil, filesize=nil, coskey=nil)
  @PlayLength = playlength
  @FileSize = filesize
  @CosKey = coskey
end

Instance Attribute Details

#CosKeyObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • PlayLength:

    视频时长,单位秒

  • FileSize:

    文件大小

  • CosKey:

    视频资源对象Cos下载地址



398
399
400
# File 'lib/v20210129/models.rb', line 398

def CosKey
  @CosKey
end

#FileSizeObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • PlayLength:

    视频时长,单位秒

  • FileSize:

    文件大小

  • CosKey:

    视频资源对象Cos下载地址



398
399
400
# File 'lib/v20210129/models.rb', line 398

def FileSize
  @FileSize
end

#PlayLengthObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • PlayLength:

    视频时长,单位秒

  • FileSize:

    文件大小

  • CosKey:

    视频资源对象Cos下载地址



398
399
400
# File 'lib/v20210129/models.rb', line 398

def PlayLength
  @PlayLength
end

Instance Method Details

#deserialize(params) ⇒ Object



406
407
408
409
410
# File 'lib/v20210129/models.rb', line 406

def deserialize(params)
  @PlayLength = params['PlayLength']
  @FileSize = params['FileSize']
  @CosKey = params['CosKey']
end