nx_server_plugin_sdk 1.0 Server Plugin SDK

Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
nx::sdk::cloud_storage::DeviceDescription Struct Reference

`#include <data.h>`

## Public Member Functions
| DeviceDescription (const char *jsonData) noexcept(false)
| DeviceDescription (const nx::kit::Json &json) noexcept(false)
| DeviceDescription (const nx::sdk::IDeviceInfo *info)
template<typename T >
| DeviceDescription (const T &)=delete
bool | operator== (const DeviceDescription &) const
const char * | getParamValue (const std::string &key) const
nx::kit::Json | to_json () const
std::optional< std::string > | deviceId () const

## Static Public Member Functions
static ValueOrError< DeviceDescription > | fromJson (const char *jsonStr) noexcept
static ValueOrError< DeviceDescription > | fromJson (const nx::kit::Json &json) noexcept

## Public Attributes
std::vector< DeviceParameter > | parameters

## Detailed Description

Device description object. Consists of key-value pairs of the device attributes.

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

- src/nx/sdk/cloud_storage/helpers/data.h
- src/nx/sdk/cloud_storage/helpers/data.cpp