Class: TencentCloud::Tcr::V20190924::ReplicationFilter

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) ⇒ ReplicationFilter

Returns a new instance of ReplicationFilter.



6287
6288
6289
6290
# File 'lib/v20190924/models.rb', line 6287

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

Instance Attribute Details

#Type ⇒ Object

Parameters:

  • Type: —

    类型(name、tag和resource)

  • Value: —

    默认为空



6285
6286
6287
# File 'lib/v20190924/models.rb', line 6285

def Type
  @Type
end

#Value ⇒ Object

Parameters:

  • Type: —

    类型(name、tag和resource)

  • Value: —

    默认为空



6285
6286
6287
# File 'lib/v20190924/models.rb', line 6285

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



6292
6293
6294
6295
# File 'lib/v20190924/models.rb', line 6292

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