Class: TencentCloud::Tcr::V20190924::DescribeImmutableTagRulesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcr::V20190924::DescribeImmutableTagRulesResponse
- Defined in:
- lib/v20190924/models.rb
Overview
DescribeImmutableTagRules返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(rules = nil, emptyns = nil, total = nil, requestid = nil) ⇒ DescribeImmutableTagRulesResponse
constructor
A new instance of DescribeImmutableTagRulesResponse.
Constructor Details
#initialize(rules = nil, emptyns = nil, total = nil, requestid = nil) ⇒ DescribeImmutableTagRulesResponse
Returns a new instance of DescribeImmutableTagRulesResponse.
3047 3048 3049 3050 3051 3052 |
# File 'lib/v20190924/models.rb', line 3047 def initialize(rules=nil, emptyns=nil, total=nil, requestid=nil) @Rules = rules @EmptyNs = emptyns @Total = total @RequestId = requestid end |
Instance Attribute Details
#EmptyNs ⇒ Object
3045 3046 3047 |
# File 'lib/v20190924/models.rb', line 3045 def EmptyNs @EmptyNs end |
#RequestId ⇒ Object
3045 3046 3047 |
# File 'lib/v20190924/models.rb', line 3045 def RequestId @RequestId end |
#Rules ⇒ Object
3045 3046 3047 |
# File 'lib/v20190924/models.rb', line 3045 def Rules @Rules end |
#Total ⇒ Object
3045 3046 3047 |
# File 'lib/v20190924/models.rb', line 3045 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 |
# File 'lib/v20190924/models.rb', line 3054 def deserialize(params) unless params['Rules'].nil? @Rules = [] params['Rules'].each do |i| immutabletagrule_tmp = ImmutableTagRule.new immutabletagrule_tmp.deserialize(i) @Rules << immutabletagrule_tmp end end @EmptyNs = params['EmptyNs'] @Total = params['Total'] @RequestId = params['RequestId'] end |