Class: TencentCloud::Emr::V20190103::ServiceBasicRestartInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Emr::V20190103::ServiceBasicRestartInfo
- Defined in:
- lib/v20190103/models.rb
Overview
操作的服务范围
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(servicename = nil, componentinfolist = nil) ⇒ ServiceBasicRestartInfo
constructor
A new instance of ServiceBasicRestartInfo.
Constructor Details
#initialize(servicename = nil, componentinfolist = nil) ⇒ ServiceBasicRestartInfo
Returns a new instance of ServiceBasicRestartInfo.
13196 13197 13198 13199 |
# File 'lib/v20190103/models.rb', line 13196 def initialize(servicename=nil, componentinfolist=nil) @ServiceName = servicename @ComponentInfoList = componentinfolist end |
Instance Attribute Details
#ComponentInfoList ⇒ Object
13194 13195 13196 |
# File 'lib/v20190103/models.rb', line 13194 def ComponentInfoList @ComponentInfoList end |
#ServiceName ⇒ Object
13194 13195 13196 |
# File 'lib/v20190103/models.rb', line 13194 def ServiceName @ServiceName end |
Instance Method Details
#deserialize(params) ⇒ Object
13201 13202 13203 13204 13205 13206 13207 13208 13209 13210 13211 |
# File 'lib/v20190103/models.rb', line 13201 def deserialize(params) @ServiceName = params['ServiceName'] unless params['ComponentInfoList'].nil? @ComponentInfoList = [] params['ComponentInfoList'].each do |i| componentbasicrestartinfo_tmp = ComponentBasicRestartInfo.new componentbasicrestartinfo_tmp.deserialize(i) @ComponentInfoList << componentbasicrestartinfo_tmp end end end |