Class: TencentCloud::Tcr::V20190924::ModifyImmutableTagRulesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcr::V20190924::ModifyImmutableTagRulesRequest
- Defined in:
- lib/v20190924/models.rb
Overview
ModifyImmutableTagRules请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(registryid = nil, namespacename = nil, ruleid = nil, rule = nil) ⇒ ModifyImmutableTagRulesRequest
constructor
A new instance of ModifyImmutableTagRulesRequest.
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
5235 5236 5237 |
# File 'lib/v20190924/models.rb', line 5235 def NamespaceName @NamespaceName end |
#RegistryId ⇒ Object
5235 5236 5237 |
# File 'lib/v20190924/models.rb', line 5235 def RegistryId @RegistryId end |
#Rule ⇒ Object
5235 5236 5237 |
# File 'lib/v20190924/models.rb', line 5235 def Rule @Rule end |
#RuleId ⇒ Object
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 |