Class: TencentCloud::Live::V20180801::AddLiveWatermarkRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Live::V20180801::AddLiveWatermarkRequest
- Defined in:
- lib/v20180801/models.rb
Overview
AddLiveWatermark请求参数结构体
Instance Attribute Summary collapse
-
#BackgroundHeight ⇒ Object
URL中禁止包含的字符: ;(){}$>‘#“'| 最长30字节。.
-
#BackgroundWidth ⇒ Object
URL中禁止包含的字符: ;(){}$>‘#“'| 最长30字节。.
-
#Height ⇒ Object
URL中禁止包含的字符: ;(){}$>‘#“'| 最长30字节。.
-
#PictureUrl ⇒ Object
URL中禁止包含的字符: ;(){}$>‘#“'| 最长30字节。.
-
#WatermarkName ⇒ Object
URL中禁止包含的字符: ;(){}$>‘#“'| 最长30字节。.
-
#Width ⇒ Object
URL中禁止包含的字符: ;(){}$>‘#“'| 最长30字节。.
-
#XPosition ⇒ Object
URL中禁止包含的字符: ;(){}$>‘#“'| 最长30字节。.
-
#YPosition ⇒ Object
URL中禁止包含的字符: ;(){}$>‘#“'| 最长30字节。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(pictureurl = nil, watermarkname = nil, xposition = nil, yposition = nil, width = nil, height = nil, backgroundwidth = nil, backgroundheight = nil) ⇒ AddLiveWatermarkRequest
constructor
A new instance of AddLiveWatermarkRequest.
Constructor Details
#initialize(pictureurl = nil, watermarkname = nil, xposition = nil, yposition = nil, width = nil, height = nil, backgroundwidth = nil, backgroundheight = nil) ⇒ AddLiveWatermarkRequest
Returns a new instance of AddLiveWatermarkRequest.
371 372 373 374 375 376 377 378 379 380 |
# File 'lib/v20180801/models.rb', line 371 def initialize(pictureurl=nil, watermarkname=nil, xposition=nil, yposition=nil, width=nil, height=nil, backgroundwidth=nil, backgroundheight=nil) @PictureUrl = pictureurl @WatermarkName = watermarkname @XPosition = xposition @YPosition = yposition @Width = width @Height = height @BackgroundWidth = backgroundwidth @BackgroundHeight = backgroundheight end |
Instance Attribute Details
#BackgroundHeight ⇒ Object
URL中禁止包含的字符:
;(){}$>`#"\'|
最长30字节。
369 370 371 |
# File 'lib/v20180801/models.rb', line 369 def BackgroundHeight @BackgroundHeight end |
#BackgroundWidth ⇒ Object
URL中禁止包含的字符:
;(){}$>`#"\'|
最长30字节。
369 370 371 |
# File 'lib/v20180801/models.rb', line 369 def BackgroundWidth @BackgroundWidth end |
#Height ⇒ Object
URL中禁止包含的字符:
;(){}$>`#"\'|
最长30字节。
369 370 371 |
# File 'lib/v20180801/models.rb', line 369 def Height @Height end |
#PictureUrl ⇒ Object
URL中禁止包含的字符:
;(){}$>`#"\'|
最长30字节。
369 370 371 |
# File 'lib/v20180801/models.rb', line 369 def PictureUrl @PictureUrl end |
#WatermarkName ⇒ Object
URL中禁止包含的字符:
;(){}$>`#"\'|
最长30字节。
369 370 371 |
# File 'lib/v20180801/models.rb', line 369 def WatermarkName @WatermarkName end |
#Width ⇒ Object
URL中禁止包含的字符:
;(){}$>`#"\'|
最长30字节。
369 370 371 |
# File 'lib/v20180801/models.rb', line 369 def Width @Width end |
#XPosition ⇒ Object
URL中禁止包含的字符:
;(){}$>`#"\'|
最长30字节。
369 370 371 |
# File 'lib/v20180801/models.rb', line 369 def XPosition @XPosition end |
#YPosition ⇒ Object
URL中禁止包含的字符:
;(){}$>`#"\'|
最长30字节。
369 370 371 |
# File 'lib/v20180801/models.rb', line 369 def YPosition @YPosition end |
Instance Method Details
#deserialize(params) ⇒ Object
382 383 384 385 386 387 388 389 390 391 |
# File 'lib/v20180801/models.rb', line 382 def deserialize(params) @PictureUrl = params['PictureUrl'] @WatermarkName = params['WatermarkName'] @XPosition = params['XPosition'] @YPosition = params['YPosition'] @Width = params['Width'] @Height = params['Height'] @BackgroundWidth = params['BackgroundWidth'] @BackgroundHeight = params['BackgroundHeight'] end |