Class: TencentCloud::Cvm::V20170312::ConvertOperatingSystemsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cvm::V20170312::ConvertOperatingSystemsResponse
- Defined in:
- lib/v20170312/models.rb
Overview
ConvertOperatingSystems返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(supporttargetoslist = nil, taskid = nil, requestid = nil) ⇒ ConvertOperatingSystemsResponse
constructor
A new instance of ConvertOperatingSystemsResponse.
Constructor Details
#initialize(supporttargetoslist = nil, taskid = nil, requestid = nil) ⇒ ConvertOperatingSystemsResponse
Returns a new instance of ConvertOperatingSystemsResponse.
741 742 743 744 745 |
# File 'lib/v20170312/models.rb', line 741 def initialize(supporttargetoslist=nil, taskid=nil, requestid=nil) @SupportTargetOSList = supporttargetoslist @TaskId = taskid @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
739 740 741 |
# File 'lib/v20170312/models.rb', line 739 def RequestId @RequestId end |
#SupportTargetOSList ⇒ Object
739 740 741 |
# File 'lib/v20170312/models.rb', line 739 def SupportTargetOSList @SupportTargetOSList end |
#TaskId ⇒ Object
739 740 741 |
# File 'lib/v20170312/models.rb', line 739 def TaskId @TaskId end |
Instance Method Details
#deserialize(params) ⇒ Object
747 748 749 750 751 752 753 754 755 756 757 758 |
# File 'lib/v20170312/models.rb', line 747 def deserialize(params) unless params['SupportTargetOSList'].nil? @SupportTargetOSList = [] params['SupportTargetOSList'].each do |i| targetos_tmp = TargetOS.new targetos_tmp.deserialize(i) @SupportTargetOSList << targetos_tmp end end @TaskId = params['TaskId'] @RequestId = params['RequestId'] end |