Class: TencentCloud::As::V20180419::DescribeLifecycleHooksResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::As::V20180419::DescribeLifecycleHooksResponse
- Defined in:
- lib/v20180419/models.rb
Overview
DescribeLifecycleHooks返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(lifecyclehookset = nil, totalcount = nil, requestid = nil) ⇒ DescribeLifecycleHooksResponse
constructor
A new instance of DescribeLifecycleHooksResponse.
Constructor Details
#initialize(lifecyclehookset = nil, totalcount = nil, requestid = nil) ⇒ DescribeLifecycleHooksResponse
Returns a new instance of DescribeLifecycleHooksResponse.
2253 2254 2255 2256 2257 |
# File 'lib/v20180419/models.rb', line 2253 def initialize(lifecyclehookset=nil, totalcount=nil, requestid=nil) @LifecycleHookSet = lifecyclehookset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#LifecycleHookSet ⇒ Object
2251 2252 2253 |
# File 'lib/v20180419/models.rb', line 2251 def LifecycleHookSet @LifecycleHookSet end |
#RequestId ⇒ Object
2251 2252 2253 |
# File 'lib/v20180419/models.rb', line 2251 def RequestId @RequestId end |
#TotalCount ⇒ Object
2251 2252 2253 |
# File 'lib/v20180419/models.rb', line 2251 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 |
# File 'lib/v20180419/models.rb', line 2259 def deserialize(params) unless params['LifecycleHookSet'].nil? @LifecycleHookSet = [] params['LifecycleHookSet'].each do |i| lifecyclehook_tmp = LifecycleHook.new lifecyclehook_tmp.deserialize(i) @LifecycleHookSet << lifecyclehook_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |