#ifndef C_API_PROTOCOL_MSGS_ORDER_H
#define C_API_PROTOCOL_MSGS_ORDER_H

#ifdef __cplusplus
extern "C" {
#endif

#include <stdint.h>
#include <stddef.h>
#include "protocol_msgs/Node.h"
#include "protocol_msgs/Edge.h"

typedef struct
{
  int32_t headerId;
  char *timestamp;
  char *version;
  char *manufacturer;
  char *serialNumber;
  char *orderId;
  uint32_t orderUpdateId;
  Node *nodes;
  size_t nodes_count;
  Edge *edges;
  size_t edges_count;
  char *zoneSetId;
} Order;

#ifdef __cplusplus
}
#endif

#endif // C_API_PROTOCOL_MSGS_ORDER_H
