/// <summary> /// Initializes a new instance of the OperationStatus class. /// </summary> /// <param name="name">Operation Id</param> /// <param name="status">Operation status</param> /// <param name="startTime">Start time of the operation</param> /// <param name="endTime">End time of the operation</param> /// <param name="error">Error details.</param> public OperationStatus(string name = default(string), string status = default(string), System.DateTime?startTime = default(System.DateTime?), System.DateTime?endTime = default(System.DateTime?), StorageSyncApiError error = default(StorageSyncApiError)) { Name = name; Status = status; StartTime = startTime; EndTime = endTime; Error = error; CustomInit(); }
/// <summary> /// Initializes a new instance of the LocationOperationStatus class. /// </summary> /// <param name="id">Operation resource Id</param> /// <param name="name">Operation Id</param> /// <param name="status">Operation status</param> /// <param name="startTime">Start time of the operation</param> /// <param name="endTime">End time of the operation</param> /// <param name="error">Error details.</param> /// <param name="percentComplete">Percent complete.</param> public LocationOperationStatus(string id = default(string), string name = default(string), string status = default(string), System.DateTime?startTime = default(System.DateTime?), System.DateTime?endTime = default(System.DateTime?), StorageSyncApiError error = default(StorageSyncApiError), int?percentComplete = default(int?)) { Id = id; Name = name; Status = status; StartTime = startTime; EndTime = endTime; Error = error; PercentComplete = percentComplete; CustomInit(); }
/// <summary> /// Initializes a new instance of the StorageSyncError class. /// </summary> /// <param name="error">Error details of the given entry.</param> /// <param name="innererror">Error details of the given entry.</param> public StorageSyncError(StorageSyncApiError error = default(StorageSyncApiError), StorageSyncApiError innererror = default(StorageSyncApiError)) { Error = error; Innererror = innererror; CustomInit(); }