Class: TencentCloud::Hunyuan::V20230901::VideoUrl
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Hunyuan::V20230901::VideoUrl
- Defined in:
- lib/v20230901/models.rb
Overview
当type为video_url时使用,标识具体的视频链接内容
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(url = nil, fps = nil) ⇒ VideoUrl
constructor
A new instance of VideoUrl.
Constructor Details
#initialize(url = nil, fps = nil) ⇒ VideoUrl
Returns a new instance of VideoUrl.
3159 3160 3161 3162 |
# File 'lib/v20230901/models.rb', line 3159 def initialize(url=nil, fps=nil) @Url = url @Fps = fps end |
Instance Attribute Details
#Fps ⇒ Object
3157 3158 3159 |
# File 'lib/v20230901/models.rb', line 3157 def Fps @Fps end |
#Url ⇒ Object
3157 3158 3159 |
# File 'lib/v20230901/models.rb', line 3157 def Url @Url end |
Instance Method Details
#deserialize(params) ⇒ Object
3164 3165 3166 3167 |
# File 'lib/v20230901/models.rb', line 3164 def deserialize(params) @Url = params['Url'] @Fps = params['Fps'] end |