class TencentCloud::Sqlserver::V20180328::DescribeHASwitchLogResponse
DescribeHASwitchLog返回参数结构体
def deserialize(params)
def deserialize(params) @TotalCount = params['TotalCount'] unless params['SwitchLog'].nil? @SwitchLog = [] params['SwitchLog'].each do |i| switchlog_tmp = SwitchLog.new switchlog_tmp.deserialize(i) @SwitchLog << switchlog_tmp end end @RequestId = params['RequestId'] end
def initialize(totalcount=nil, switchlog=nil, requestid=nil)
def initialize(totalcount=nil, switchlog=nil, requestid=nil) @TotalCount = totalcount @SwitchLog = switchlog @RequestId = requestid end