Class: TencentCloud::Tcr::V20190924::CreateImmutableTagRulesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcr::V20190924::CreateImmutableTagRulesRequest
- Defined in:
- lib/v20190924/models.rb
Overview
CreateImmutableTagRules请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(registryid = nil, namespacename = nil, rule = nil) ⇒ CreateImmutableTagRulesRequest
constructor
A new instance of CreateImmutableTagRulesRequest.
Constructor Details
#initialize(registryid = nil, namespacename = nil, rule = nil) ⇒ CreateImmutableTagRulesRequest
456 457 458 459 460 |
# File 'lib/v20190924/models.rb', line 456 def initialize(registryid=nil, namespacename=nil, rule=nil) @RegistryId = registryid @NamespaceName = namespacename @Rule = rule end |
Instance Attribute Details
#NamespaceName ⇒ Object
454 455 456 |
# File 'lib/v20190924/models.rb', line 454 def NamespaceName @NamespaceName end |
#RegistryId ⇒ Object
454 455 456 |
# File 'lib/v20190924/models.rb', line 454 def RegistryId @RegistryId end |
#Rule ⇒ Object
454 455 456 |
# File 'lib/v20190924/models.rb', line 454 def Rule @Rule end |
Instance Method Details
#deserialize(params) ⇒ Object
462 463 464 465 466 467 468 469 |
# File 'lib/v20190924/models.rb', line 462 def deserialize(params) @RegistryId = params['RegistryId'] @NamespaceName = params['NamespaceName'] unless params['Rule'].nil? @Rule = ImmutableTagRule.new @Rule.deserialize(params['Rule']) end end |