Table of Contents

Class CreateProjectResponse

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

Response from project creation.

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

Constructors

CreateProjectResponse(bool, int?, string?, string?)

Response from project creation.

public CreateProjectResponse(bool Success, int? ProjectId = null, string? Error = null, string? RedirectUrl = null)

Parameters

Success bool

Whether creation succeeded.

ProjectId int?

ID of the created project.

Error string

Error message if creation failed.

RedirectUrl string

URL for GitHub App installation if needed.

Properties

Error

Error message if creation failed.

public string? Error { get; init; }

Property Value

string

ProjectId

ID of the created project.

public int? ProjectId { get; init; }

Property Value

int?

RedirectUrl

URL for GitHub App installation if needed.

public string? RedirectUrl { get; init; }

Property Value

string

Success

Whether creation succeeded.

public bool Success { get; init; }

Property Value

bool