cesium-native 0.46.0
Loading...
Searching...
No Matches
ITwin.h
1#pragma once
2
3#include <cstdint>
4#include <string>
5
6namespace CesiumITwinClient {
14enum class ITwinStatus : uint8_t {
15 Unknown = 0,
16 Active = 1,
17 Inactive = 2,
18 Trial = 3
19};
20
28ITwinStatus iTwinStatusFromString(const std::string& str);
29
37struct ITwin {
39 std::string id;
47 std::string iTwinClass;
55 std::string subClass;
57 std::string type;
64 std::string number;
66 std::string displayName;
69};
70} // namespace CesiumITwinClient
Classes for interacting with the iTwin API.
ITwinStatus
The status of the iTwin.
Definition ITwin.h:14
@ Unknown
The content type returned is not a known type.
ITwinStatus iTwinStatusFromString(const std::string &str)
Obtains an ITwinStatus value from the provided string.
Information on a single iTwin.
Definition ITwin.h:37
std::string iTwinClass
The Class of your iTwin.
Definition ITwin.h:47
ITwinStatus status
The status of the iTwin.
Definition ITwin.h:68
std::string type
An open ended property to better define your iTwin's Type.
Definition ITwin.h:57
std::string id
The iTwin Id.
Definition ITwin.h:39
std::string subClass
The subClass of your iTwin.
Definition ITwin.h:55
std::string number
A unique number or code for the iTwin.
Definition ITwin.h:64
std::string displayName
A display name for the iTwin.
Definition ITwin.h:66