Class: TencentCloud::Tke::V20180525::DescribeSupportedRuntimeResponse

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

Overview

DescribeSupportedRuntime返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(optionalruntimes = nil, requestid = nil) ⇒ DescribeSupportedRuntimeResponse

Returns a new instance of DescribeSupportedRuntimeResponse.



10135
10136
10137
10138
# File 'lib/v20180525/models.rb', line 10135

def initialize(optionalruntimes=nil, requestid=nil)
  @OptionalRuntimes = optionalruntimes
  @RequestId = requestid
end

Instance Attribute Details

#OptionalRuntimesObject

Parameters:

  • OptionalRuntimes:

    可选运行时列表

  • RequestId:

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



10133
10134
10135
# File 'lib/v20180525/models.rb', line 10133

def OptionalRuntimes
  @OptionalRuntimes
end

#RequestIdObject

Parameters:

  • OptionalRuntimes:

    可选运行时列表

  • RequestId:

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



10133
10134
10135
# File 'lib/v20180525/models.rb', line 10133

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
# File 'lib/v20180525/models.rb', line 10140

def deserialize(params)
  unless params['OptionalRuntimes'].nil?
    @OptionalRuntimes = []
    params['OptionalRuntimes'].each do |i|
      optionalruntimes_tmp = OptionalRuntimes.new
      optionalruntimes_tmp.deserialize(i)
      @OptionalRuntimes << optionalruntimes_tmp
    end
  end
  @RequestId = params['RequestId']
end