Class: TencentCloud::Tke::V20180525::DescribeLogSwitchesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribeLogSwitchesResponse
- Defined in:
- lib/v20180525/models.rb
Overview
DescribeLogSwitches返回参数结构体
Instance Attribute Summary collapse
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#SwitchSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(switchset = nil, requestid = nil) ⇒ DescribeLogSwitchesResponse
constructor
A new instance of DescribeLogSwitchesResponse.
Constructor Details
#initialize(switchset = nil, requestid = nil) ⇒ DescribeLogSwitchesResponse
Returns a new instance of DescribeLogSwitchesResponse.
8187 8188 8189 8190 |
# File 'lib/v20180525/models.rb', line 8187 def initialize(switchset=nil, requestid=nil) @SwitchSet = switchset @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8185 8186 8187 |
# File 'lib/v20180525/models.rb', line 8185 def RequestId @RequestId end |
#SwitchSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8185 8186 8187 |
# File 'lib/v20180525/models.rb', line 8185 def SwitchSet @SwitchSet end |
Instance Method Details
#deserialize(params) ⇒ Object
8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 |
# File 'lib/v20180525/models.rb', line 8192 def deserialize(params) unless params['SwitchSet'].nil? @SwitchSet = [] params['SwitchSet'].each do |i| switch_tmp = Switch.new switch_tmp.deserialize(i) @SwitchSet << switch_tmp end end @RequestId = params['RequestId'] end |