Table of Contents

Class TriggerBuildResponse

Namespace
Ando.Server.Contracts.Projects
Assembly
Ando.Server.dll

Response from build trigger.

public record TriggerBuildResponse : IEquatable<TriggerBuildResponse>
Inheritance
TriggerBuildResponse
Implements
Inherited Members

Constructors

TriggerBuildResponse(bool, int?, string?)

Response from build trigger.

public TriggerBuildResponse(bool Success, int? BuildId = null, string? Error = null)

Parameters

Success bool

Whether the build was triggered.

BuildId int?

ID of the created build.

Error string

Error message if trigger failed.

Properties

BuildId

ID of the created build.

public int? BuildId { get; init; }

Property Value

int?

Error

Error message if trigger failed.

public string? Error { get; init; }

Property Value

string

Success

Whether the build was triggered.

public bool Success { get; init; }

Property Value

bool