libkazv
Kazv::Api::Device Struct Reference

A client device. More...

#include <client_device.hpp>

Public Attributes

std::string deviceId
 Identifier of this device. More...
 
std::optional< std::string > displayName
 Display name set by the user for this device. More...
 
std::optional< std::string > lastSeenIp
 The IP address where this device was last seen. More...
 
std::optional< std::int_fast64_t > lastSeenTs
 The timestamp (in milliseconds since the unix epoch) when this devices was last seen. More...
 

Detailed Description

A client device.

Member Data Documentation

◆ deviceId

std::string Kazv::Api::Device::deviceId

Identifier of this device.

◆ displayName

std::optional<std::string> Kazv::Api::Device::displayName

Display name set by the user for this device.

Absent if no name has been set.

◆ lastSeenIp

std::optional<std::string> Kazv::Api::Device::lastSeenIp

The IP address where this device was last seen.

(May be a few minutes out of date, for efficiency reasons).

◆ lastSeenTs

std::optional<std::int_fast64_t> Kazv::Api::Device::lastSeenTs

The timestamp (in milliseconds since the unix epoch) when this devices was last seen.

(May be a few minutes out of date, for efficiency reasons).


The documentation for this struct was generated from the following file: