Class: TencentCloud::Organization::V20210331::ListPolicyNode

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

Overview

企业组织策略列表

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(addtime = nil, attachedtimes = nil, description = nil, policyname = nil, policyid = nil, updatetime = nil, type = nil) ⇒ ListPolicyNode

Returns a new instance of ListPolicyNode.



4986
4987
4988
4989
4990
4991
4992
4993
4994
# File 'lib/v20210331/models.rb', line 4986

def initialize(addtime=nil, attachedtimes=nil, description=nil, policyname=nil, policyid=nil, updatetime=nil, type=nil)
  @AddTime = addtime
  @AttachedTimes = attachedtimes
  @Description = description
  @PolicyName = policyname
  @PolicyId = policyid
  @UpdateTime = updatetime
  @Type = type
end

Instance Attribute Details

#AddTimeObject

Parameters:

  • AddTime:

    策略创建时间

  • AttachedTimes:

    策略绑定次数

  • Description:

    策略描述信息

  • PolicyName:

    策略名称

  • PolicyId:

    策略Id

  • UpdateTime:

    策略更新时间

  • Type:

    策略类型 1-自定义 2-预设



4984
4985
4986
# File 'lib/v20210331/models.rb', line 4984

def AddTime
  @AddTime
end

#AttachedTimesObject

Parameters:

  • AddTime:

    策略创建时间

  • AttachedTimes:

    策略绑定次数

  • Description:

    策略描述信息

  • PolicyName:

    策略名称

  • PolicyId:

    策略Id

  • UpdateTime:

    策略更新时间

  • Type:

    策略类型 1-自定义 2-预设



4984
4985
4986
# File 'lib/v20210331/models.rb', line 4984

def AttachedTimes
  @AttachedTimes
end

#DescriptionObject

Parameters:

  • AddTime:

    策略创建时间

  • AttachedTimes:

    策略绑定次数

  • Description:

    策略描述信息

  • PolicyName:

    策略名称

  • PolicyId:

    策略Id

  • UpdateTime:

    策略更新时间

  • Type:

    策略类型 1-自定义 2-预设



4984
4985
4986
# File 'lib/v20210331/models.rb', line 4984

def Description
  @Description
end

#PolicyIdObject

Parameters:

  • AddTime:

    策略创建时间

  • AttachedTimes:

    策略绑定次数

  • Description:

    策略描述信息

  • PolicyName:

    策略名称

  • PolicyId:

    策略Id

  • UpdateTime:

    策略更新时间

  • Type:

    策略类型 1-自定义 2-预设



4984
4985
4986
# File 'lib/v20210331/models.rb', line 4984

def PolicyId
  @PolicyId
end

#PolicyNameObject

Parameters:

  • AddTime:

    策略创建时间

  • AttachedTimes:

    策略绑定次数

  • Description:

    策略描述信息

  • PolicyName:

    策略名称

  • PolicyId:

    策略Id

  • UpdateTime:

    策略更新时间

  • Type:

    策略类型 1-自定义 2-预设



4984
4985
4986
# File 'lib/v20210331/models.rb', line 4984

def PolicyName
  @PolicyName
end

#TypeObject

Parameters:

  • AddTime:

    策略创建时间

  • AttachedTimes:

    策略绑定次数

  • Description:

    策略描述信息

  • PolicyName:

    策略名称

  • PolicyId:

    策略Id

  • UpdateTime:

    策略更新时间

  • Type:

    策略类型 1-自定义 2-预设



4984
4985
4986
# File 'lib/v20210331/models.rb', line 4984

def Type
  @Type
end

#UpdateTimeObject

Parameters:

  • AddTime:

    策略创建时间

  • AttachedTimes:

    策略绑定次数

  • Description:

    策略描述信息

  • PolicyName:

    策略名称

  • PolicyId:

    策略Id

  • UpdateTime:

    策略更新时间

  • Type:

    策略类型 1-自定义 2-预设



4984
4985
4986
# File 'lib/v20210331/models.rb', line 4984

def UpdateTime
  @UpdateTime
end

Instance Method Details

#deserialize(params) ⇒ Object



4996
4997
4998
4999
5000
5001
5002
5003
5004
# File 'lib/v20210331/models.rb', line 4996

def deserialize(params)
  @AddTime = params['AddTime']
  @AttachedTimes = params['AttachedTimes']
  @Description = params['Description']
  @PolicyName = params['PolicyName']
  @PolicyId = params['PolicyId']
  @UpdateTime = params['UpdateTime']
  @Type = params['Type']
end