Class: TencentCloud::Tke::V20180525::DescribeSupportedRuntimeResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribeSupportedRuntimeResponse
- Defined in:
- lib/v20180525/models.rb
Overview
DescribeSupportedRuntime返回参数结构体
Instance Attribute Summary collapse
-
#OptionalRuntimes ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(optionalruntimes = nil, requestid = nil) ⇒ DescribeSupportedRuntimeResponse
constructor
A new instance of DescribeSupportedRuntimeResponse.
Constructor Details
#initialize(optionalruntimes = nil, requestid = nil) ⇒ DescribeSupportedRuntimeResponse
Returns a new instance of DescribeSupportedRuntimeResponse.
10117 10118 10119 10120 |
# File 'lib/v20180525/models.rb', line 10117 def initialize(optionalruntimes=nil, requestid=nil) @OptionalRuntimes = optionalruntimes @RequestId = requestid end |
Instance Attribute Details
#OptionalRuntimes ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10115 10116 10117 |
# File 'lib/v20180525/models.rb', line 10115 def OptionalRuntimes @OptionalRuntimes end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10115 10116 10117 |
# File 'lib/v20180525/models.rb', line 10115 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 |
# File 'lib/v20180525/models.rb', line 10122 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 |