PartialServer#

Note

This is a Partial Object which means it doesn’t contain regular data. You should threat it as a reference to a object rather than a normal one. See: Partial Objects for detailed information.

class corkus.objects.PartialServer#

Represents a Partial version of Server.

async fetch(timeout=None)#

Fetch full server information from API. Returns None if server no longer exist.

Warning

This function is a API call. See: Partial Objects for detailed information.

Parameters:

timeout (Optional[int]) – Optionally override default timeout.

Return type:

Optional[Server]

property name#

The name of server like WC1 or WC16 or YT.

Return type:

str

property regular#

Is this a regular server (type is ServerType.REGULAR).

Return type:

bool

property type#

Type of the server.

Return type:

ServerType