Class: TencentCloud::Ie::V20200304::PicMarkInfoItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ie::V20200304::PicMarkInfoItem
- Defined in:
- lib/v20200304/models.rb
Overview
图片水印信息
Instance Attribute Summary collapse
- #CosInfo ⇒ Object
- #EndTime ⇒ Object
- #Height ⇒ Object
- #Path ⇒ Object
- #PosX ⇒ Object
- #PosY ⇒ Object
- #StartTime ⇒ Object
- #Width ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(posx = nil, posy = nil, path = nil, cosinfo = nil, width = nil, height = nil, starttime = nil, endtime = nil) ⇒ PicMarkInfoItem
constructor
A new instance of PicMarkInfoItem.
Constructor Details
#initialize(posx = nil, posy = nil, path = nil, cosinfo = nil, width = nil, height = nil, starttime = nil, endtime = nil) ⇒ PicMarkInfoItem
Returns a new instance of PicMarkInfoItem.
2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 |
# File 'lib/v20200304/models.rb', line 2282 def initialize(posx=nil, posy=nil, path=nil, cosinfo=nil, width=nil, height=nil, starttime=nil, endtime=nil) @PosX = posx @PosY = posy @Path = path @CosInfo = cosinfo @Width = width @Height = height @StartTime = starttime @EndTime = endtime end |
Instance Attribute Details
#CosInfo ⇒ Object
2280 2281 2282 |
# File 'lib/v20200304/models.rb', line 2280 def CosInfo @CosInfo end |
#EndTime ⇒ Object
2280 2281 2282 |
# File 'lib/v20200304/models.rb', line 2280 def EndTime @EndTime end |
#Height ⇒ Object
2280 2281 2282 |
# File 'lib/v20200304/models.rb', line 2280 def Height @Height end |
#Path ⇒ Object
2280 2281 2282 |
# File 'lib/v20200304/models.rb', line 2280 def Path @Path end |
#PosX ⇒ Object
2280 2281 2282 |
# File 'lib/v20200304/models.rb', line 2280 def PosX @PosX end |
#PosY ⇒ Object
2280 2281 2282 |
# File 'lib/v20200304/models.rb', line 2280 def PosY @PosY end |
#StartTime ⇒ Object
2280 2281 2282 |
# File 'lib/v20200304/models.rb', line 2280 def StartTime @StartTime end |
#Width ⇒ Object
2280 2281 2282 |
# File 'lib/v20200304/models.rb', line 2280 def Width @Width end |
Instance Method Details
#deserialize(params) ⇒ Object
2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 |
# File 'lib/v20200304/models.rb', line 2293 def deserialize(params) @PosX = params['PosX'] @PosY = params['PosY'] @Path = params['Path'] unless params['CosInfo'].nil? @CosInfo = CosInfo.new @CosInfo.deserialize(params['CosInfo']) end @Width = params['Width'] @Height = params['Height'] @StartTime = params['StartTime'] @EndTime = params['EndTime'] end |