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.
13157 13158 13159 13160 |
# File 'lib/v20190103/models.rb', line 13157 def initialize(servicename=nil, componentinfolist=nil) @ServiceName = servicename @ComponentInfoList = componentinfolist end |
Instance Attribute Details
#ComponentInfoList ⇒ Object
13155 13156 13157 |
# File 'lib/v20190103/models.rb', line 13155 def ComponentInfoList @ComponentInfoList end |
#ServiceName ⇒ Object
13155 13156 13157 |
# File 'lib/v20190103/models.rb', line 13155 def ServiceName @ServiceName end |
Instance Method Details
#deserialize(params) ⇒ Object
13162 13163 13164 13165 13166 13167 13168 13169 13170 13171 13172 |
# File 'lib/v20190103/models.rb', line 13162 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 |