cesium-native  0.41.0
Assets.h
1 #pragma once
2 
3 #include <cstdint>
4 #include <string>
5 #include <vector>
6 
7 namespace CesiumIonClient {
11 struct Asset {
15  int64_t id = -1;
16 
20  std::string name;
21 
25  std::string description;
26 
33  std::string attribution;
34 
38  std::string type;
39 
43  int64_t bytes = 0;
44 
49  std::string dateAdded;
50 
65  std::string status;
66 
70  int8_t percentComplete = 0;
71 };
72 
73 struct Assets {
82  std::string link;
83 
87  std::vector<Asset> items;
88 };
89 } // namespace CesiumIonClient
Classes for working with Cesium ion clients.
A Cesium ion Asset, such as a 3D Tiles tileset or an imagery layer.
Definition: Assets.h:11
std::string attribution
A Markdown compatible string containing any required attribution for this asset.
Definition: Assets.h:33
std::string status
Describes the state of the asset during the upload and tiling processes.
Definition: Assets.h:65
int64_t bytes
The number of bytes this asset occupies in the user's account.
Definition: Assets.h:43
std::string dateAdded
The date and time that this asset was created in RFC 3339 format.
Definition: Assets.h:49
std::string name
The name of this asset.
Definition: Assets.h:20
std::string description
A Markdown compatible string describing this asset.
Definition: Assets.h:25
int8_t percentComplete
The percentage progress of the tiling pipeline preparing this asset.
Definition: Assets.h:70
std::string type
The asset's type./.
Definition: Assets.h:38
std::vector< Asset > items
A page of assets.
Definition: Assets.h:87
std::string link
An RFC 5988 formatted string with a relation type of next which points to the next page of data on th...
Definition: Assets.h:82