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.
8762 8763 8764 8765 |
# File 'lib/v20180525/models.rb', line 8762 def initialize(switchset=nil, requestid=nil) @SwitchSet = switchset @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8760 8761 8762 |
# File 'lib/v20180525/models.rb', line 8760 def RequestId @RequestId end |
#SwitchSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8760 8761 8762 |
# File 'lib/v20180525/models.rb', line 8760 def SwitchSet @SwitchSet end |
Instance Method Details
#deserialize(params) ⇒ Object
8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 |
# File 'lib/v20180525/models.rb', line 8767 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 |