Class: TencentCloud::Organization::V20210331::ListPoliciesForTarget

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

Overview

查询目标关联的SCP策略列表

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(strategyid = nil, strategyname = nil, remark = nil, uin = nil, type = nil, addtime = nil, updatetime = nil, name = nil, attachtime = nil) ⇒ ListPoliciesForTarget

Returns a new instance of ListPoliciesForTarget.



4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
# File 'lib/v20210331/models.rb', line 4816

def initialize(strategyid=nil, strategyname=nil, remark=nil, uin=nil, type=nil, addtime=nil, updatetime=nil, name=nil, attachtime=nil)
  @StrategyId = strategyid
  @StrategyName = strategyname
  @Remark = remark
  @Uin = uin
  @Type = type
  @AddTime = addtime
  @UpdateTime = updatetime
  @Name = name
  @AttachTime = attachtime
end

Instance Attribute Details

#AddTimeObject

Parameters:

  • StrategyId:

    策略Id

  • StrategyName:

    策略名称

  • Remark:

    备注信息

  • Uin:

    关联的账号或节点

  • Type:

    关联类型 1-节点 2-用户

  • AddTime:

    策略创建时间

  • UpdateTime:

    策略更新时间

  • Name:

    部门名称

  • AttachTime:

    策略绑定时间



4814
4815
4816
# File 'lib/v20210331/models.rb', line 4814

def AddTime
  @AddTime
end

#AttachTimeObject

Parameters:

  • StrategyId:

    策略Id

  • StrategyName:

    策略名称

  • Remark:

    备注信息

  • Uin:

    关联的账号或节点

  • Type:

    关联类型 1-节点 2-用户

  • AddTime:

    策略创建时间

  • UpdateTime:

    策略更新时间

  • Name:

    部门名称

  • AttachTime:

    策略绑定时间



4814
4815
4816
# File 'lib/v20210331/models.rb', line 4814

def AttachTime
  @AttachTime
end

#NameObject

Parameters:

  • StrategyId:

    策略Id

  • StrategyName:

    策略名称

  • Remark:

    备注信息

  • Uin:

    关联的账号或节点

  • Type:

    关联类型 1-节点 2-用户

  • AddTime:

    策略创建时间

  • UpdateTime:

    策略更新时间

  • Name:

    部门名称

  • AttachTime:

    策略绑定时间



4814
4815
4816
# File 'lib/v20210331/models.rb', line 4814

def Name
  @Name
end

#RemarkObject

Parameters:

  • StrategyId:

    策略Id

  • StrategyName:

    策略名称

  • Remark:

    备注信息

  • Uin:

    关联的账号或节点

  • Type:

    关联类型 1-节点 2-用户

  • AddTime:

    策略创建时间

  • UpdateTime:

    策略更新时间

  • Name:

    部门名称

  • AttachTime:

    策略绑定时间



4814
4815
4816
# File 'lib/v20210331/models.rb', line 4814

def Remark
  @Remark
end

#StrategyIdObject

Parameters:

  • StrategyId:

    策略Id

  • StrategyName:

    策略名称

  • Remark:

    备注信息

  • Uin:

    关联的账号或节点

  • Type:

    关联类型 1-节点 2-用户

  • AddTime:

    策略创建时间

  • UpdateTime:

    策略更新时间

  • Name:

    部门名称

  • AttachTime:

    策略绑定时间



4814
4815
4816
# File 'lib/v20210331/models.rb', line 4814

def StrategyId
  @StrategyId
end

#StrategyNameObject

Parameters:

  • StrategyId:

    策略Id

  • StrategyName:

    策略名称

  • Remark:

    备注信息

  • Uin:

    关联的账号或节点

  • Type:

    关联类型 1-节点 2-用户

  • AddTime:

    策略创建时间

  • UpdateTime:

    策略更新时间

  • Name:

    部门名称

  • AttachTime:

    策略绑定时间



4814
4815
4816
# File 'lib/v20210331/models.rb', line 4814

def StrategyName
  @StrategyName
end

#TypeObject

Parameters:

  • StrategyId:

    策略Id

  • StrategyName:

    策略名称

  • Remark:

    备注信息

  • Uin:

    关联的账号或节点

  • Type:

    关联类型 1-节点 2-用户

  • AddTime:

    策略创建时间

  • UpdateTime:

    策略更新时间

  • Name:

    部门名称

  • AttachTime:

    策略绑定时间



4814
4815
4816
# File 'lib/v20210331/models.rb', line 4814

def Type
  @Type
end

#UinObject

Parameters:

  • StrategyId:

    策略Id

  • StrategyName:

    策略名称

  • Remark:

    备注信息

  • Uin:

    关联的账号或节点

  • Type:

    关联类型 1-节点 2-用户

  • AddTime:

    策略创建时间

  • UpdateTime:

    策略更新时间

  • Name:

    部门名称

  • AttachTime:

    策略绑定时间



4814
4815
4816
# File 'lib/v20210331/models.rb', line 4814

def Uin
  @Uin
end

#UpdateTimeObject

Parameters:

  • StrategyId:

    策略Id

  • StrategyName:

    策略名称

  • Remark:

    备注信息

  • Uin:

    关联的账号或节点

  • Type:

    关联类型 1-节点 2-用户

  • AddTime:

    策略创建时间

  • UpdateTime:

    策略更新时间

  • Name:

    部门名称

  • AttachTime:

    策略绑定时间



4814
4815
4816
# File 'lib/v20210331/models.rb', line 4814

def UpdateTime
  @UpdateTime
end

Instance Method Details

#deserialize(params) ⇒ Object



4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
# File 'lib/v20210331/models.rb', line 4828

def deserialize(params)
  @StrategyId = params['StrategyId']
  @StrategyName = params['StrategyName']
  @Remark = params['Remark']
  @Uin = params['Uin']
  @Type = params['Type']
  @AddTime = params['AddTime']
  @UpdateTime = params['UpdateTime']
  @Name = params['Name']
  @AttachTime = params['AttachTime']
end