/// <summary>
 /// Construct AzureSqlSyncGroupLogModel from Management.Sql.Models.SyncGroupLog object
 /// </summary>
 /// <param name="syncGroupLog">sync group log object</param>
 public AzureSqlSyncGroupLogModel(SyncGroupLog syncGroupLog)
 {
     TimeStamp = syncGroupLog.TimeStamp;
     LogLevel  = syncGroupLog.Type == null ? null : syncGroupLog.Type.ToString();
     Details   = syncGroupLog.Details;
     Source    = syncGroupLog.Source;
 }
 /// <summary>
 /// Converts the response from the service to a powershell sync group log object
 /// </summary>
 /// <param name="syncGroupLog">The sync group log object from the response</param>
 /// <returns>The converted model</returns>
 public static AzureSqlSyncGroupLogModel CreateSyncGroupLogModelFromResponse(SyncGroupLog syncGroupLog)
 {
     return(new AzureSqlSyncGroupLogModel(syncGroupLog));
 }