Class: TencentCloud::Ie::V20200304::HiddenMarkInfo

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

Overview

数字水印

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path = nil, frequency = nil, strength = nil, cosinfo = nil) ⇒ HiddenMarkInfo

Returns a new instance of HiddenMarkInfo.



1275
1276
1277
1278
1279
1280
# File 'lib/v20200304/models.rb', line 1275

def initialize(path=nil, frequency=nil, strength=nil, cosinfo=nil)
  @Path = path
  @Frequency = frequency
  @Strength = strength
  @CosInfo = cosinfo
end

Instance Attribute Details

#CosInfoObject

Parameters:



1273
1274
1275
# File 'lib/v20200304/models.rb', line 1273

def CosInfo
  @CosInfo
end

#FrequencyObject

Parameters:



1273
1274
1275
# File 'lib/v20200304/models.rb', line 1273

def Frequency
  @Frequency
end

#PathObject

Parameters:



1273
1274
1275
# File 'lib/v20200304/models.rb', line 1273

def Path
  @Path
end

#StrengthObject

Parameters:



1273
1274
1275
# File 'lib/v20200304/models.rb', line 1273

def Strength
  @Strength
end

Instance Method Details

#deserialize(params) ⇒ Object



1282
1283
1284
1285
1286
1287
1288
1289
1290
# File 'lib/v20200304/models.rb', line 1282

def deserialize(params)
  @Path = params['Path']
  @Frequency = params['Frequency']
  @Strength = params['Strength']
  unless params['CosInfo'].nil?
    @CosInfo = CosInfo.new
    @CosInfo.deserialize(params['CosInfo'])
  end
end