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.



10971
10972
10973
10974
# File 'lib/v20180525/models.rb', line 10971

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

Instance Attribute Details

#OptionalRuntimesObject

Parameters:

  • OptionalRuntimes:

    可选运行时列表

  • RequestId:

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



10969
10970
10971
# File 'lib/v20180525/models.rb', line 10969

def OptionalRuntimes
  @OptionalRuntimes
end

#RequestIdObject

Parameters:

  • OptionalRuntimes:

    可选运行时列表

  • RequestId:

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



10969
10970
10971
# File 'lib/v20180525/models.rb', line 10969

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
# File 'lib/v20180525/models.rb', line 10976

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