/*
 * confirmation_data.h
 *
 * Contains the result of the authentication.
 */

#ifndef _OpenAPI_confirmation_data_H_
#define _OpenAPI_confirmation_data_H_

#include <string.h>
#include "third-party/cjson/cJSON.h"
#include "../include/list.h"
#include "../include/keyValuePair.h"
#include "../include/binary.h"
typedef struct OpenAPI_confirmation_data_s OpenAPI_confirmation_data_t;

#ifdef __cplusplus
extern "C" {
#endif

struct OpenAPI_confirmation_data_s {
    char *res_star;
    char *supported_features;
};

OpenAPI_confirmation_data_t *OpenAPI_confirmation_data_create(
    char *res_star,
    char *supported_features
);
void OpenAPI_confirmation_data_free(OpenAPI_confirmation_data_t *confirmation_data);
OpenAPI_confirmation_data_t *OpenAPI_confirmation_data_parseFromJSON(cJSON *confirmation_dataJSON);
cJSON *OpenAPI_confirmation_data_convertToJSON(OpenAPI_confirmation_data_t *confirmation_data);
OpenAPI_confirmation_data_t *OpenAPI_confirmation_data_copy(OpenAPI_confirmation_data_t *dst, OpenAPI_confirmation_data_t *src);

#ifdef __cplusplus
}
#endif

#endif /* _OpenAPI_confirmation_data_H_ */

