Class: TencentCloud::Dts::V20211206::CompareOptions
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dts::V20211206::CompareOptions
- Defined in:
- lib/v20211206/models.rb
Overview
一致性校验选项
Instance Attribute Summary collapse
- #CompareMode ⇒ Object
- #Method ⇒ Object
- #ReCheckInterval ⇒ Object
- #ReCheckTime ⇒ Object
- #SampleRate ⇒ Object
- #ThreadCount ⇒ Object
- #Type ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(method = nil, samplerate = nil, threadcount = nil, type = nil, comparemode = nil, rechecktime = nil, recheckinterval = nil) ⇒ CompareOptions
constructor
A new instance of CompareOptions.
Constructor Details
#initialize(method = nil, samplerate = nil, threadcount = nil, type = nil, comparemode = nil, rechecktime = nil, recheckinterval = nil) ⇒ CompareOptions
Returns a new instance of CompareOptions.
403 404 405 406 407 408 409 410 411 |
# File 'lib/v20211206/models.rb', line 403 def initialize(method=nil, samplerate=nil, threadcount=nil, type=nil, comparemode=nil, rechecktime=nil, recheckinterval=nil) @Method = method @SampleRate = samplerate @ThreadCount = threadcount @Type = type @CompareMode = comparemode @ReCheckTime = rechecktime @ReCheckInterval = recheckinterval end |
Instance Attribute Details
#CompareMode ⇒ Object
401 402 403 |
# File 'lib/v20211206/models.rb', line 401 def CompareMode @CompareMode end |
#Method ⇒ Object
401 402 403 |
# File 'lib/v20211206/models.rb', line 401 def Method @Method end |
#ReCheckInterval ⇒ Object
401 402 403 |
# File 'lib/v20211206/models.rb', line 401 def ReCheckInterval @ReCheckInterval end |
#ReCheckTime ⇒ Object
401 402 403 |
# File 'lib/v20211206/models.rb', line 401 def ReCheckTime @ReCheckTime end |
#SampleRate ⇒ Object
401 402 403 |
# File 'lib/v20211206/models.rb', line 401 def SampleRate @SampleRate end |
#ThreadCount ⇒ Object
401 402 403 |
# File 'lib/v20211206/models.rb', line 401 def ThreadCount @ThreadCount end |
#Type ⇒ Object
401 402 403 |
# File 'lib/v20211206/models.rb', line 401 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
413 414 415 416 417 418 419 420 421 |
# File 'lib/v20211206/models.rb', line 413 def deserialize(params) @Method = params['Method'] @SampleRate = params['SampleRate'] @ThreadCount = params['ThreadCount'] @Type = params['Type'] @CompareMode = params['CompareMode'] @ReCheckTime = params['ReCheckTime'] @ReCheckInterval = params['ReCheckInterval'] end |