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



10828
10829
10830
10831
# File 'lib/v20180525/models.rb', line 10828

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

Instance Attribute Details

#OptionalRuntimesObject



10826
10827
10828
# File 'lib/v20180525/models.rb', line 10826

def OptionalRuntimes
  @OptionalRuntimes
end

#RequestIdObject



10826
10827
10828
# File 'lib/v20180525/models.rb', line 10826

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
# File 'lib/v20180525/models.rb', line 10833

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