JobDto
Namespace: Meshmakers.Octo.Communication.Contracts.DataTransferObjects
Represents a job for data transfer.
public class JobDto
Properties
Id
Gets or sets the job id
public string Id { get; set; }
Property Value
CreatedAt
Datetime of job creation
public Nullable<DateTime> CreatedAt { get; set; }
Property Value
StateChangedAt
Datetime of last state change
public Nullable<DateTime> StateChangedAt { get; set; }
Property Value
Status
Current status
public string Status { get; set; }
Property Value
Reason
Reason of the current state
public string Reason { get; set; }
Property Value
ErrorMessage
Gets or sets the error message if the job failed
public string ErrorMessage { get; set; }
Property Value
Outcome
Result of a finished job: Succeeded or SucceededWithWarnings (the job status stays Succeeded,
but archives failed or rollups could not be checked in a way that matters). null when the bot does
not report an outcome (an older bot, or a job kind without one); a string, so a new value still deserializes.
public string Outcome { get; set; }
Property Value
FailedArchives
Archives that failed during a restore. Empty when none failed or the bot reports none.
public IReadOnlyList<JobFailedArchiveDto> FailedArchives { get; set; }
Property Value
IReadOnlyList<JobFailedArchiveDto>
NotCheckedRollups
Rollups that could not be checked after a restore (blocking and informational ones). Empty or null when
none or the bot reports none.
public IReadOnlyList<JobNotCheckedRollupDto> NotCheckedRollups { get; set; }
Property Value
IReadOnlyList<JobNotCheckedRollupDto>
HasWarnings
True when the job succeeded but the outcome needs attention: JobDto.Outcome is
SucceededWithWarnings, an archive failed or a rollup is blocked. Derived, so it also works against a bot
that reports the lists without the outcome.
public bool HasWarnings { get; }
Property Value
Constructors
JobDto()
public JobDto()