Class: TencentCloud::Dlc::V20210125::DataMaskStrategyInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dlc::V20210125::DataMaskStrategyInfo
- Defined in:
- lib/v20210125/models.rb
Overview
数据脱敏策略信息
Instance Attribute Summary collapse
-
#Groups ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#StrategyDesc ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#StrategyId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#StrategyName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#StrategyType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Users ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(strategyname = nil, strategytype = nil, strategydesc = nil, groups = nil, users = nil, strategyid = nil) ⇒ DataMaskStrategyInfo
constructor
A new instance of DataMaskStrategyInfo.
Constructor Details
#initialize(strategyname = nil, strategytype = nil, strategydesc = nil, groups = nil, users = nil, strategyid = nil) ⇒ DataMaskStrategyInfo
4998 4999 5000 5001 5002 5003 5004 5005 |
# File 'lib/v20210125/models.rb', line 4998 def initialize(strategyname=nil, strategytype=nil, strategydesc=nil, groups=nil, users=nil, strategyid=nil) @StrategyName = strategyname @StrategyType = strategytype @StrategyDesc = strategydesc @Groups = groups @Users = users @StrategyId = strategyid end |
Instance Attribute Details
#Groups ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
4996 4997 4998 |
# File 'lib/v20210125/models.rb', line 4996 def Groups @Groups end |
#StrategyDesc ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
4996 4997 4998 |
# File 'lib/v20210125/models.rb', line 4996 def StrategyDesc @StrategyDesc end |
#StrategyId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
4996 4997 4998 |
# File 'lib/v20210125/models.rb', line 4996 def StrategyId @StrategyId end |
#StrategyName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
4996 4997 4998 |
# File 'lib/v20210125/models.rb', line 4996 def StrategyName @StrategyName end |
#StrategyType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
4996 4997 4998 |
# File 'lib/v20210125/models.rb', line 4996 def StrategyType @StrategyType end |
#Users ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
4996 4997 4998 |
# File 'lib/v20210125/models.rb', line 4996 def Users @Users end |
Instance Method Details
#deserialize(params) ⇒ Object
5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 |
# File 'lib/v20210125/models.rb', line 5007 def deserialize(params) @StrategyName = params['StrategyName'] @StrategyType = params['StrategyType'] @StrategyDesc = params['StrategyDesc'] unless params['Groups'].nil? @Groups = [] params['Groups'].each do |i| groupinfo_tmp = GroupInfo.new groupinfo_tmp.deserialize(i) @Groups << groupinfo_tmp end end @Users = params['Users'] @StrategyId = params['StrategyId'] end |