Class: TencentCloud::Dlc::V20210125::DataMaskStrategyInfo

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

Overview

数据脱敏策略信息

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#GroupsObject

注意:此字段可能返回 null,表示取不到有效值。



4996
4997
4998
# File 'lib/v20210125/models.rb', line 4996

def Groups
  @Groups
end

#StrategyDescObject

注意:此字段可能返回 null,表示取不到有效值。



4996
4997
4998
# File 'lib/v20210125/models.rb', line 4996

def StrategyDesc
  @StrategyDesc
end

#StrategyIdObject

注意:此字段可能返回 null,表示取不到有效值。



4996
4997
4998
# File 'lib/v20210125/models.rb', line 4996

def StrategyId
  @StrategyId
end

#StrategyNameObject

注意:此字段可能返回 null,表示取不到有效值。



4996
4997
4998
# File 'lib/v20210125/models.rb', line 4996

def StrategyName
  @StrategyName
end

#StrategyTypeObject

注意:此字段可能返回 null,表示取不到有效值。



4996
4997
4998
# File 'lib/v20210125/models.rb', line 4996

def StrategyType
  @StrategyType
end

#UsersObject

注意:此字段可能返回 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