Class: TencentCloud::Tcr::V20190924::ModifyImmutableTagRulesRequest

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

Overview

ModifyImmutableTagRules请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(registryid = nil, namespacename = nil, ruleid = nil, rule = nil) ⇒ ModifyImmutableTagRulesRequest

Returns a new instance of ModifyImmutableTagRulesRequest.



5237
5238
5239
5240
5241
5242
# File 'lib/v20190924/models.rb', line 5237

def initialize(registryid=nil, namespacename=nil, ruleid=nil, rule=nil)
  @RegistryId = registryid
  @NamespaceName = namespacename
  @RuleId = ruleid
  @Rule = rule
end

Instance Attribute Details

#NamespaceName ⇒ Object

Parameters:

  • RegistryId: —

    实例 Id

  • NamespaceName: —

    命名空间

  • RuleId: —

    规则 Id

  • Rule: —

    规则



5235
5236
5237
# File 'lib/v20190924/models.rb', line 5235

def NamespaceName
  @NamespaceName
end

#RegistryId ⇒ Object

Parameters:

  • RegistryId: —

    实例 Id

  • NamespaceName: —

    命名空间

  • RuleId: —

    规则 Id

  • Rule: —

    规则



5235
5236
5237
# File 'lib/v20190924/models.rb', line 5235

def RegistryId
  @RegistryId
end

#Rule ⇒ Object

Parameters:

  • RegistryId: —

    实例 Id

  • NamespaceName: —

    命名空间

  • RuleId: —

    规则 Id

  • Rule: —

    规则



5235
5236
5237
# File 'lib/v20190924/models.rb', line 5235

def Rule
  @Rule
end

#RuleId ⇒ Object

Parameters:

  • RegistryId: —

    实例 Id

  • NamespaceName: —

    命名空间

  • RuleId: —

    规则 Id

  • Rule: —

    规则



5235
5236
5237
# File 'lib/v20190924/models.rb', line 5235

def RuleId
  @RuleId
end

Instance Method Details

#deserialize(params) ⇒ Object



5244
5245
5246
5247
5248
5249
5250
5251
5252
# File 'lib/v20190924/models.rb', line 5244

def deserialize(params)
  @RegistryId = params['RegistryId']
  @NamespaceName = params['NamespaceName']
  @RuleId = params['RuleId']
  unless params['Rule'].nil?
    @Rule = ImmutableTagRule.new
    @Rule.deserialize(params['Rule'])
  end
end