Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the BuildInfo class.
 /// </summary>
 /// <param name="id">Unique build identifier</param>
 /// <param name="description">Description provided by user
 /// (BuildRequestInfo.Description)</param>
 /// <param name="type">Type of build: Recommendation - 1, Ranking - 2,
 /// Fbt - 3</param>
 /// <param name="modelName">Name of the Model associated this
 /// build</param>
 /// <param name="modelId">ID of the Model associated this build</param>
 /// <param name="status">Status of the build: NotStarted, Running,
 /// Cancelling, Cancelled, Succeeded, Failed</param>
 /// <param name="statusMessage">Details if available about build
 /// status</param>
 /// <param name="startDateTime">Build start time</param>
 /// <param name="endDateTime">Build end time</param>
 /// <param name="modifiedDateTime">Last build modified time</param>
 /// <param name="buildParameters">Parameters for build</param>
 public BuildInfo(long? id = default(long?), string description = default(string), string type = default(string), string modelName = default(string), string modelId = default(string), string status = default(string), string statusMessage = default(string), string startDateTime = default(string), string endDateTime = default(string), string modifiedDateTime = default(string), BuildParameters buildParameters = default(BuildParameters))
 {
     Id = id;
     Description = description;
     Type = type;
     ModelName = modelName;
     ModelId = modelId;
     Status = status;
     StatusMessage = statusMessage;
     StartDateTime = startDateTime;
     EndDateTime = endDateTime;
     ModifiedDateTime = modifiedDateTime;
     BuildParameters = buildParameters;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the BuildRequestInfo class.
 /// </summary>
 /// <param name="description">Build description</param>
 /// <param name="buildType">Type of build: Ranking, Recommendation or
 /// Fbt</param>
 /// <param name="buildParameters">Parameters for build</param>
 public BuildRequestInfo(string description = default(string), string buildType = default(string), BuildParameters buildParameters = default(BuildParameters))
 {
     Description = description;
     BuildType = buildType;
     BuildParameters = buildParameters;
 }