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.



5124
5125
5126
5127
5128
5129
5130
5131
5132
# File 'lib/v20210331/models.rb', line 5124

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-预设



5122
5123
5124
# File 'lib/v20210331/models.rb', line 5122

def AddTime
  @AddTime
end

#AttachedTimesObject

Parameters:

  • AddTime:

    策略创建时间

  • AttachedTimes:

    策略绑定次数

  • Description:

    策略描述信息

  • PolicyName:

    策略名称

  • PolicyId:

    策略Id

  • UpdateTime:

    策略更新时间

  • Type:

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



5122
5123
5124
# File 'lib/v20210331/models.rb', line 5122

def AttachedTimes
  @AttachedTimes
end

#DescriptionObject

Parameters:

  • AddTime:

    策略创建时间

  • AttachedTimes:

    策略绑定次数

  • Description:

    策略描述信息

  • PolicyName:

    策略名称

  • PolicyId:

    策略Id

  • UpdateTime:

    策略更新时间

  • Type:

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



5122
5123
5124
# File 'lib/v20210331/models.rb', line 5122

def Description
  @Description
end

#PolicyIdObject

Parameters:

  • AddTime:

    策略创建时间

  • AttachedTimes:

    策略绑定次数

  • Description:

    策略描述信息

  • PolicyName:

    策略名称

  • PolicyId:

    策略Id

  • UpdateTime:

    策略更新时间

  • Type:

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



5122
5123
5124
# File 'lib/v20210331/models.rb', line 5122

def PolicyId
  @PolicyId
end

#PolicyNameObject

Parameters:

  • AddTime:

    策略创建时间

  • AttachedTimes:

    策略绑定次数

  • Description:

    策略描述信息

  • PolicyName:

    策略名称

  • PolicyId:

    策略Id

  • UpdateTime:

    策略更新时间

  • Type:

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



5122
5123
5124
# File 'lib/v20210331/models.rb', line 5122

def PolicyName
  @PolicyName
end

#TypeObject

Parameters:

  • AddTime:

    策略创建时间

  • AttachedTimes:

    策略绑定次数

  • Description:

    策略描述信息

  • PolicyName:

    策略名称

  • PolicyId:

    策略Id

  • UpdateTime:

    策略更新时间

  • Type:

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



5122
5123
5124
# File 'lib/v20210331/models.rb', line 5122

def Type
  @Type
end

#UpdateTimeObject

Parameters:

  • AddTime:

    策略创建时间

  • AttachedTimes:

    策略绑定次数

  • Description:

    策略描述信息

  • PolicyName:

    策略名称

  • PolicyId:

    策略Id

  • UpdateTime:

    策略更新时间

  • Type:

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



5122
5123
5124
# File 'lib/v20210331/models.rb', line 5122

def UpdateTime
  @UpdateTime
end

Instance Method Details

#deserialize(params) ⇒ Object



5134
5135
5136
5137
5138
5139
5140
5141
5142
# File 'lib/v20210331/models.rb', line 5134

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