class TencentCloud::Sqlserver::V20180328::Backup

备份文件详细信息

def deserialize(params)

def deserialize(params)
  @FileName = params['FileName']
  @Size = params['Size']
  @StartTime = params['StartTime']
  @EndTime = params['EndTime']
  @InternalAddr = params['InternalAddr']
  @ExternalAddr = params['ExternalAddr']
  @Id = params['Id']
  @Status = params['Status']
  @DBs = params['DBs']
  @Strategy = params['Strategy']
  @BackupWay = params['BackupWay']
  @BackupName = params['BackupName']
  @GroupId = params['GroupId']
  @BackupFormat = params['BackupFormat']
  @Region = params['Region']
  unless params['CrossBackupAddr'].nil?
    @CrossBackupAddr = []
    params['CrossBackupAddr'].each do |i|
      crossbackupaddr_tmp = CrossBackupAddr.new
      crossbackupaddr_tmp.deserialize(i)
      @CrossBackupAddr << crossbackupaddr_tmp
    end
  end
  unless params['CrossBackupStatus'].nil?
    @CrossBackupStatus = []
    params['CrossBackupStatus'].each do |i|
      crossregionstatus_tmp = CrossRegionStatus.new
      crossregionstatus_tmp.deserialize(i)
      @CrossBackupStatus << crossregionstatus_tmp
    end
  end
end

def initialize(filename=nil, size=nil, starttime=nil, endtime=nil, internaladdr=nil, externaladdr=nil, id=nil, status=nil, dbs=nil, strategy=nil, backupway=nil, backupname=nil, groupid=nil, backupformat=nil, region=nil, crossbackupaddr=nil, crossbackupstatus=nil)

def initialize(filename=nil, size=nil, starttime=nil, endtime=nil, internaladdr=nil, externaladdr=nil, id=nil, status=nil, dbs=nil, strategy=nil, backupway=nil, backupname=nil, groupid=nil, backupformat=nil, region=nil, crossbackupaddr=nil, crossbackupstatus=nil)
  @FileName = filename
  @Size = size
  @StartTime = starttime
  @EndTime = endtime
  @InternalAddr = internaladdr
  @ExternalAddr = externaladdr
  @Id = id
  @Status = status
  @DBs = dbs
  @Strategy = strategy
  @BackupWay = backupway
  @BackupName = backupname
  @GroupId = groupid
  @BackupFormat = backupformat
  @Region = region
  @CrossBackupAddr = crossbackupaddr
  @CrossBackupStatus = crossbackupstatus
end