GithubActionsLogModel class abstract

Value for model.

Available extensions
Annotations
  • @freezed
  • @formValue
  • @immutable
  • @CollectionModelPath.new("organization/:organization_id/repository/:repository_id/actions/:action_id/job/:job_id/log", adapter: "GithubModelMasamuneAdapter.primary.modelAdapter")

Constructors

GithubActionsLogModel({int? runId, int? jobId, int? chunk, String? name, ModelUri? downloadUrl, @Default.new("") String text, ModelTimestamp? createdAt, @Default.new(false) bool fromServer})
Value for model.
const
factory
GithubActionsLogModel.fromJson(Map<String, Object?> json)
Convert from JSON.
factory

Properties

chunk int?
no setterinherited
copyWith → $GithubActionsLogModelCopyWith<GithubActionsLogModel>
Create a copy of GithubActionsLogModel with the given fields replaced by the non-null parameter values.
no setterinherited
createdAt → ModelTimestamp?
no setterinherited
downloadUrl → ModelUri?
no setterinherited
fromServer bool
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
jobId int?
no setterinherited
name String?
no setterinherited
runId int?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
no setterinherited

Methods

map<TResult extends Object?>(TResult $default(_GithubActionsLogModel value)) → TResult

Available on GithubActionsLogModel, provided by the GithubActionsLogModelPatterns extension

A switch-like method, using callbacks.
mapOrNull<TResult extends Object?>(TResult? $default(_GithubActionsLogModel value)?) → TResult?

Available on GithubActionsLogModel, provided by the GithubActionsLogModelPatterns extension

A variant of map that fallback to returning null.
maybeMap<TResult extends Object?>(TResult $default(_GithubActionsLogModel value)?, {required TResult orElse()}) → TResult

Available on GithubActionsLogModel, provided by the GithubActionsLogModelPatterns extension

A variant of map that fallback to returning orElse.
maybeWhen<TResult extends Object?>(TResult $default(int? runId, int? jobId, int? chunk, String? name, ModelUri? downloadUrl, String text, ModelTimestamp? createdAt, bool fromServer)?, {required TResult orElse()}) → TResult

Available on GithubActionsLogModel, provided by the GithubActionsLogModelPatterns extension

A variant of when that fallback to an orElse callback.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this GithubActionsLogModel to a JSON map.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>(TResult $default(int? runId, int? jobId, int? chunk, String? name, ModelUri? downloadUrl, String text, ModelTimestamp? createdAt, bool fromServer)) → TResult

Available on GithubActionsLogModel, provided by the GithubActionsLogModelPatterns extension

A switch-like method, using callbacks.
whenOrNull<TResult extends Object?>(TResult? $default(int? runId, int? jobId, int? chunk, String? name, ModelUri? downloadUrl, String text, ModelTimestamp? createdAt, bool fromServer)?) → TResult?

Available on GithubActionsLogModel, provided by the GithubActionsLogModelPatterns extension

A variant of when that fallback to returning null

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

collection → const _$GithubActionsLogModelCollectionQuery
Query for collection.
document → const _$GithubActionsLogModelDocumentQuery
Query for document.
form → const _$GithubActionsLogModelFormQuery
Query for form value.