13#pragma warning disable CA1724
15#pragma warning restore CA1724
70 [
Obsolete(
"For use by EFCore only",
true)]
101 .GetField(
code.ToString())!
102 .GetCustomAttributes(
false)
virtual ? long Id
The ID of the entity.
DateTimeOffset? StartedAt
When the Job was started.
DateTimeOffset? StoppedAt
When the Job stopped.
string? Description
English description of the Job.
RightsType? CancelRightsType
The RightsType of CancelRight if it can be cancelled.
ErrorCode? ErrorCode
The Models.ErrorCode associated with the Job if any.
bool? Cancelled
If the Job was cancelled.
ulong? CancelRight
The Rights required to cancel the Job.
string? ExceptionDetails
Details of any exceptions caught during the Job.
Represents a long running job on the server. Model is read-only, updates attempt to cancel the job.
UserName CreateUserName()
Create a copy of the UserName.
Represents an Api.Models.Instance in the database.
User? StartedBy
See JobResponse.StartedBy.
static Job Create< TRight >(JobCode code, User? startedBy, Api.Models.Instance instance, TRight cancelRight)
Creates a new job for registering in the Jobs.IJobService.
Job(JobCode code, User? startedBy, Api.Models.Instance instance, RightsType? cancelRightsType, ulong? cancelRight)
Initializes a new instance of the Job class.
Job(long id)
Initializes a new instance of the Job class.
Job()
Initializes a new instance of the Job class.
User? CancelledBy
See JobResponse.CancelledBy.
static Job Create(JobCode code, User? startedBy, Api.Models.Instance instance)
Creates a new job for registering in the Jobs.IJobService.
ErrorCode
Types of Response.ErrorMessageResponses that the API may return.
JobCode
The different types of Response.JobResponse.
@ Required
DMAPI validation must suceed for the deployment to succeed.
@ List
User may list files if the Models.Instance allows it.
RightsType
The type of rights a model uses.