Class: TencentCloud::Dts::V20211206::ConsistencyOption
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dts::V20211206::ConsistencyOption
- Defined in:
- lib/v20211206/models.rb
Overview
数据一致性校验选项, 默认为不开启一致性校验
Instance Attribute Summary collapse
-
#Mode ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ObjectMode ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Objects ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Options ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(mode = nil, objectmode = nil, objects = nil, options = nil) ⇒ ConsistencyOption
constructor
A new instance of ConsistencyOption.
Constructor Details
#initialize(mode = nil, objectmode = nil, objects = nil, options = nil) ⇒ ConsistencyOption
Returns a new instance of ConsistencyOption.
873 874 875 876 877 878 |
# File 'lib/v20211206/models.rb', line 873 def initialize(mode=nil, objectmode=nil, objects=nil, =nil) @Mode = mode @ObjectMode = objectmode @Objects = objects @Options = end |
Instance Attribute Details
#Mode ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
871 872 873 |
# File 'lib/v20211206/models.rb', line 871 def Mode @Mode end |
#ObjectMode ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
871 872 873 |
# File 'lib/v20211206/models.rb', line 871 def ObjectMode @ObjectMode end |
#Objects ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
871 872 873 |
# File 'lib/v20211206/models.rb', line 871 def Objects @Objects end |
#Options ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
871 872 873 |
# File 'lib/v20211206/models.rb', line 871 def Options @Options end |
Instance Method Details
#deserialize(params) ⇒ Object
880 881 882 883 884 885 886 887 888 889 890 891 |
# File 'lib/v20211206/models.rb', line 880 def deserialize(params) @Mode = params['Mode'] @ObjectMode = params['ObjectMode'] unless params['Objects'].nil? @Objects = DatabaseTableObject.new @Objects.deserialize(params['Objects']) end unless params['Options'].nil? @Options = CompareOptions.new @Options.deserialize(params['Options']) end end |