class TencentCloud::Sqlserver::V20180328::DBInstance

def deserialize(params)

def deserialize(params)
  @InstanceId = params['InstanceId']
  @Name = params['Name']
  @ProjectId = params['ProjectId']
  @RegionId = params['RegionId']
  @ZoneId = params['ZoneId']
  @VpcId = params['VpcId']
  @SubnetId = params['SubnetId']
  @Status = params['Status']
  @Vip = params['Vip']
  @Vport = params['Vport']
  @CreateTime = params['CreateTime']
  @UpdateTime = params['UpdateTime']
  @StartTime = params['StartTime']
  @EndTime = params['EndTime']
  @IsolateTime = params['IsolateTime']
  @Memory = params['Memory']
  @UsedStorage = params['UsedStorage']
  @Storage = params['Storage']
  @VersionName = params['VersionName']
  @RenewFlag = params['RenewFlag']
  @Model = params['Model']
  @Region = params['Region']
  @Zone = params['Zone']
  @BackupTime = params['BackupTime']
  @PayMode = params['PayMode']
  @Uid = params['Uid']
  @Cpu = params['Cpu']
  @Version = params['Version']
  @Type = params['Type']
  @Pid = params['Pid']
  @UniqVpcId = params['UniqVpcId']
  @UniqSubnetId = params['UniqSubnetId']
  @IsolateOperator = params['IsolateOperator']
  @SubFlag = params['SubFlag']
  @ROFlag = params['ROFlag']
  @HAFlag = params['HAFlag']
  unless params['ResourceTags'].nil?
    @ResourceTags = []
    params['ResourceTags'].each do |i|
      resourcetag_tmp = ResourceTag.new
      resourcetag_tmp.deserialize(i)
      @ResourceTags << resourcetag_tmp
    end
  end
  @BackupModel = params['BackupModel']
  @InstanceNote = params['InstanceNote']
  @BackupCycle = params['BackupCycle']
  @BackupCycleType = params['BackupCycleType']
  @BackupSaveDays = params['BackupSaveDays']
  @InstanceType = params['InstanceType']
  @CrossRegions = params['CrossRegions']
  @CrossBackupEnabled = params['CrossBackupEnabled']
  @CrossBackupSaveDays = params['CrossBackupSaveDays']
  @DnsPodDomain = params['DnsPodDomain']
  @TgwWanVPort = params['TgwWanVPort']
  @Collation = params['Collation']
  @TimeZone = params['TimeZone']
  @IsDrZone = params['IsDrZone']
  unless params['SlaveZones'].nil?
    @SlaveZones = SlaveZones.new
    @SlaveZones.deserialize(params['SlaveZones'])
  end
end