Class: TencentCloud::Lcic::V20220817::WatermarkConfig
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Lcic::V20220817::WatermarkConfig
- Defined in:
- lib/v20220817/models.rb
Overview
水印配置
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(url = nil, width = nil, height = nil, locationx = nil, locationy = nil) ⇒ WatermarkConfig
constructor
A new instance of WatermarkConfig.
Constructor Details
#initialize(url = nil, width = nil, height = nil, locationx = nil, locationy = nil) ⇒ WatermarkConfig
Returns a new instance of WatermarkConfig.
5397 5398 5399 5400 5401 5402 5403 |
# File 'lib/v20220817/models.rb', line 5397 def initialize(url=nil, width=nil, height=nil, locationx=nil, locationy=nil) @Url = url @Width = width @Height = height @LocationX = locationx @LocationY = locationy end |
Instance Attribute Details
#Height ⇒ Object
5395 5396 5397 |
# File 'lib/v20220817/models.rb', line 5395 def Height @Height end |
#LocationX ⇒ Object
5395 5396 5397 |
# File 'lib/v20220817/models.rb', line 5395 def LocationX @LocationX end |
#LocationY ⇒ Object
5395 5396 5397 |
# File 'lib/v20220817/models.rb', line 5395 def LocationY @LocationY end |
#Url ⇒ Object
5395 5396 5397 |
# File 'lib/v20220817/models.rb', line 5395 def Url @Url end |
#Width ⇒ Object
5395 5396 5397 |
# File 'lib/v20220817/models.rb', line 5395 def Width @Width end |
Instance Method Details
#deserialize(params) ⇒ Object
5405 5406 5407 5408 5409 5410 5411 |
# File 'lib/v20220817/models.rb', line 5405 def deserialize(params) @Url = params['Url'] @Width = params['Width'] @Height = params['Height'] @LocationX = params['LocationX'] @LocationY = params['LocationY'] end |