2using System.ComponentModel.DataAnnotations;
87 [Obsolete(
"For use by EFCore only",
true)]
89 : this(null!, null!, null!, false)
100 : this(job, revisionInformation, engineVersion, true)
115 ArgumentNullException.ThrowIfNull(job);
116 ArgumentNullException.ThrowIfNull(revisionInformation);
117 ArgumentNullException.ThrowIfNull(engineVersion);
136 :
throw new InvalidOperationException($
"Failed to parse engine version: {EngineVersion}"),
Information about an engine installation.
virtual ? long Id
The ID of the entity.
string? DmeName
The .dme file used for compilation.
DreamDaemonSecurity? MinimumSecurityLevel
The minimum DreamDaemonSecurity required to run the CompileJob's output.
string? Output
Textual output of DM.
Guid? DirectoryName
The Game folder the results were compiled into.
int? DMApiMinorVersion
Backing field for Version.Minor of DMApiVersion.
string? RepositoryOrigin
The origin Uri of the repository the compile job was built from.
CompileJobResponse ToApi()
int? DMApiPatchVersion
Backing field for Version.Build of DMApiVersion.
long? GitHubDeploymentId
The GitHub deployment ID associated with the CompileJob if any.
CompileJob(Job job, RevisionInformation revisionInformation, string engineVersion, bool nullChecks)
Initializes a new instance of the CompileJob class.
CompileJob(Job job, RevisionInformation revisionInformation, string engineVersion)
Initializes a new instance of the CompileJob class.
override? Version DMApiVersion
int? DMApiMajorVersion
Backing field for Version.Major of DMApiVersion.
long? GitHubRepoId
The source GitHub repository the deployment came from if any.
CompileJob()
Initializes a new instance of the CompileJob class.
long JobId
The EntityId.Id of Job.
@ Required
DMAPI validation must suceed for the deployment to succeed.