class TencentCloud::Ess::V20201111::Permission

权限树节点权限

def deserialize(params)

def deserialize(params)
  @Name = params['Name']
  @Key = params['Key']
  @Type = params['Type']
  @Hide = params['Hide']
  @DataLabel = params['DataLabel']
  @DataType = params['DataType']
  @DataRange = params['DataRange']
  @DataTo = params['DataTo']
  @ParentKey = params['ParentKey']
  @IsChecked = params['IsChecked']
  unless params['Children'].nil?
    @Children = []
    params['Children'].each do |i|
      permission_tmp = Permission.new
      permission_tmp.deserialize(i)
      @Children << permission_tmp
    end
  end
end

def initialize(name=nil, key=nil, type=nil, hide=nil, datalabel=nil, datatype=nil, datarange=nil, datato=nil, parentkey=nil, ischecked=nil, children=nil)

def initialize(name=nil, key=nil, type=nil, hide=nil, datalabel=nil, datatype=nil, datarange=nil, datato=nil, parentkey=nil, ischecked=nil, children=nil)
  @Name = name
  @Key = key
  @Type = type
  @Hide = hide
  @DataLabel = datalabel
  @DataType = datatype
  @DataRange = datarange
  @DataTo = datato
  @ParentKey = parentkey
  @IsChecked = ischecked
  @Children = children
end