Class: TencentCloud::Cvm::V20170312::ConvertOperatingSystemsResponse

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

Overview

ConvertOperatingSystems返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#RequestIdObject

Parameters:

  • SupportTargetOSList:

    转换的目标操作系统信息,仅在入参 DryRun 为 true 时返回。

  • TaskId:

    操作系统转换的任务 ID

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



739
740
741
# File 'lib/v20170312/models.rb', line 739

def RequestId
  @RequestId
end

#SupportTargetOSListObject

Parameters:

  • SupportTargetOSList:

    转换的目标操作系统信息,仅在入参 DryRun 为 true 时返回。

  • TaskId:

    操作系统转换的任务 ID

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



739
740
741
# File 'lib/v20170312/models.rb', line 739

def SupportTargetOSList
  @SupportTargetOSList
end

#TaskIdObject

Parameters:

  • SupportTargetOSList:

    转换的目标操作系统信息,仅在入参 DryRun 为 true 时返回。

  • TaskId:

    操作系统转换的任务 ID

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



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