GithubActionsJobModel constructor
- @JsonSerializable.new(explicitToJson: true)
- int? id,
- int? runId,
- int? runAttempt,
- String? name,
- String? runnerName,
- int? runnerId,
- int? runnerGroupId,
- String? status,
- String? conclusion,
- @Default.new(<String>[]) List<
String> labels, - @jsonParam GithubUserModel? runner,
- @Default.new(<GithubActionsStepValue>[]) @jsonParam List<
GithubActionsStepValue> steps, - ModelUri? url,
- ModelUri? htmlUrl,
- ModelUri? logsUrl,
- ModelTimestamp? startedAt,
- ModelTimestamp? completedAt,
- @Default.new(false) bool fromServer,
Value for model.
Implementation
// ignore: invalid_annotation_target
@JsonSerializable(explicitToJson: true)
const factory GithubActionsJobModel({
int? id,
int? runId,
int? runAttempt,
String? name,
String? runnerName,
int? runnerId,
int? runnerGroupId,
String? status,
String? conclusion,
@Default(<String>[]) List<String> labels,
@jsonParam GithubUserModel? runner,
@Default(<GithubActionsStepValue>[])
@jsonParam
List<GithubActionsStepValue> steps,
ModelUri? url,
ModelUri? htmlUrl,
ModelUri? logsUrl,
ModelTimestamp? startedAt,
ModelTimestamp? completedAt,
@Default(false) bool fromServer,
}) = _GithubActionsJobModel;