Table of Contents

Class AccountResource

Namespace
KASserver
Assembly
KASserver.Client.dll

The usage figures of a single account resource (one entry of get_accountresources), e.g. webspace or mailboxes. Field shape verified live against the KAS API.

public sealed class AccountResource
Inheritance
AccountResource
Inherited Members

Properties

Created

The amount already created (KAS field created).

public int? Created { get; }

Property Value

int?

Exceeded

Whether the limit is exceeded (KAS field exceeded, true/false).

public bool Exceeded { get; }

Property Value

bool

Free

The amount still free (KAS field free).

public int? Free { get; }

Property Value

int?

Max

The maximum allowed amount (KAS field max).

public int? Max { get; }

Property Value

int?

Raw

The complete raw field map as returned by the KAS API.

public required IReadOnlyDictionary<string, object?> Raw { get; init; }

Property Value

IReadOnlyDictionary<string, object>

Reserved

The amount reserved (KAS field reserved).

public int? Reserved { get; }

Property Value

int?

Used

The amount currently in use (KAS field used).

public int? Used { get; }

Property Value

int?