Table of Contents

Class ResourceNameCheckResult

Namespace
FoundationaLLM.Common.Models.ResourceProviders
Assembly
FoundationaLLM.Common.dll

The result of a resource name check.

public class ResourceNameCheckResult : ResourceName
Inheritance
ResourceNameCheckResult
Inherited Members
Extension Methods

Properties

Deleted

Gets or sets a value indicating whether the resource is logically deleted or not.

public required bool Deleted { get; set; }

Property Value

bool

Exists

Gets or sets a value indicating whether the resource exists or not.

public required bool Exists { get; set; }

Property Value

bool

Remarks

For logically deleted resources, the value of this property will be true. The Deleted property indicates whether the resource was logically deleted or not.

Message

An optional message indicating why is the name not allowed.

public string? Message { get; set; }

Property Value

string

Status

The NameCheckResultType indicating whether the name is allowed or not.

[JsonConverter(typeof(JsonStringEnumConverter))]
public NameCheckResultType Status { get; set; }

Property Value

NameCheckResultType