Class: TencentCloud::Cvm::V20170312::TargetOS

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20170312/models.rb

Overview

操作系统转换的目标操作系统信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(targetostype = nil, targetosversion = nil) ⇒ TargetOS

Returns a new instance of TargetOS.



8618
8619
8620
8621
# File 'lib/v20170312/models.rb', line 8618

def initialize(targetostype=nil, targetosversion=nil)
  @TargetOSType = targetostype
  @TargetOSVersion = targetosversion
end

Instance Attribute Details

#TargetOSType ⇒ Object

Parameters:

  • TargetOSType: —

    目标操作系统类型

  • TargetOSVersion: —

    目标操作系统版本



8616
8617
8618
# File 'lib/v20170312/models.rb', line 8616

def TargetOSType
  @TargetOSType
end

#TargetOSVersion ⇒ Object

Parameters:

  • TargetOSType: —

    目标操作系统类型

  • TargetOSVersion: —

    目标操作系统版本



8616
8617
8618
# File 'lib/v20170312/models.rb', line 8616

def TargetOSVersion
  @TargetOSVersion
end

Instance Method Details

#deserialize(params) ⇒ Object



8623
8624
8625
8626
# File 'lib/v20170312/models.rb', line 8623

def deserialize(params)
  @TargetOSType = params['TargetOSType']
  @TargetOSVersion = params['TargetOSVersion']
end