DeployAttempt class abstract
Represents the status information of a deployment attempt.
- Implemented types
Constructors
-
DeployAttempt({UuidValue? id, required String cloudCapsuleId, String? attemptId, required DeployProgressStatus? status, required DateTime? startedAt, required DateTime? endedAt, DateTime? createdAt, DateTime? updatedAt, String? imageName, required String? serverpodVersion, required String? dartVersion, required String? commitHash, required String? commitMessage, required String? branch, required int? deployedById, User? deployedBy, String? statusInfo, List<
DeployAttemptStage> ? stages}) -
factory
-
DeployAttempt.fromJson(Map<
String, dynamic> jsonSerialization) -
factory
Properties
- attemptId ↔ String?
-
Deprecated use id instead
getter/setter pair
- branch ↔ String?
-
Git branch the deploy was triggered from, if provided by the client at deploy time.
getter/setter pair
- cloudCapsuleId ↔ String
-
The ID of the capsule of this deployment.
getter/setter pair
- commitHash ↔ String?
-
getter/setter pair
- commitMessage ↔ String?
-
First line of the git commit message, if provided by the client at deploy time.
getter/setter pair
- createdAt ↔ DateTime
-
The timestamps of the deployment attempt.
getter/setter pair
- dartVersion ↔ String?
-
The Dart version (image tag) the deployment was built with.
Populated from the dartImageTag parameter at upload time.
getter/setter pair
- deployedBy ↔ User?
-
Display name / handle of the user who triggered this deploy, if known.
getter/setter pair
- deployedById ↔ int?
-
The ID of the user who triggered this deploy.
getter/setter pair
- endedAt ↔ DateTime?
-
The timestamp of the end of the deployment attempt.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ UuidValue
-
The ID of this deploy attempt.
getter/setter pair
- imageName ↔ String?
-
The name of the image produced by the deployment attempt.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serverpodVersion ↔ String?
-
The Serverpod version of the deployment attempt.
getter/setter pair
-
stages
↔ List<
DeployAttemptStage> ? -
The stages of the deployment attempt. Placeholder for future relation.
getter/setter pair
- startedAt ↔ DateTime?
-
The timestamp of the start of the deployment attempt.
getter/setter pair
- status ↔ DeployProgressStatus?
-
The current status of this deployment.
getter/setter pair
- statusInfo ↔ String?
-
Optionally contains user-readable information about the current status of this attempt.
getter/setter pair
- updatedAt ↔ DateTime
-
The timestamp of the last update to the deployment attempt.
getter/setter pair
Methods
-
copyWith(
{UuidValue? id, String? cloudCapsuleId, String? attemptId, DeployProgressStatus? status, DateTime? startedAt, DateTime? endedAt, DateTime? createdAt, DateTime? updatedAt, String? imageName, String? serverpodVersion, String? dartVersion, String? commitHash, String? commitMessage, String? branch, int? deployedById, User? deployedBy, String? statusInfo, List< DeployAttemptStage> ? stages}) → DeployAttempt - Returns a shallow copy of this DeployAttempt with some or all fields replaced by the given arguments.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Returns a serialized JSON structure of the model which also includes
fields used by the database.
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited