Class: TencentCloud::Tcr::V20190924::PolicyFilter

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

Overview

策略过滤条件

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type = nil, value = nil) ⇒ PolicyFilter

Returns a new instance of PolicyFilter.



6011
6012
6013
6014
# File 'lib/v20190924/models.rb', line 6011

def initialize(type=nil, value=nil)
  @Type = type
  @Value = value
end

Instance Attribute Details

#Type ⇒ Object

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

Parameters:

  • Type: —

    策略过滤类型

  • Value: —

    策略过滤值



6009
6010
6011
# File 'lib/v20190924/models.rb', line 6009

def Type
  @Type
end

#Value ⇒ Object

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

Parameters:

  • Type: —

    策略过滤类型

  • Value: —

    策略过滤值



6009
6010
6011
# File 'lib/v20190924/models.rb', line 6009

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



6016
6017
6018
6019
# File 'lib/v20190924/models.rb', line 6016

def deserialize(params)
  @Type = params['Type']
  @Value = params['Value']
end