/*
 * qoe_target.h
 *
 * This parameter specifies the target object (individual UE) for the QMC in case of signalling based QMC. It shall be able to carry an IMSI or a SUPI. 
 */

#ifndef _OpenAPI_qoe_target_H_
#define _OpenAPI_qoe_target_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_qoe_target_s OpenAPI_qoe_target_t;

#ifdef __cplusplus
extern "C" {
#endif

struct OpenAPI_qoe_target_s {
    char *supi;
    char *imsi;
};

OpenAPI_qoe_target_t *OpenAPI_qoe_target_create(
    char *supi,
    char *imsi
);
void OpenAPI_qoe_target_free(OpenAPI_qoe_target_t *qoe_target);
OpenAPI_qoe_target_t *OpenAPI_qoe_target_parseFromJSON(cJSON *qoe_targetJSON);
cJSON *OpenAPI_qoe_target_convertToJSON(OpenAPI_qoe_target_t *qoe_target);
OpenAPI_qoe_target_t *OpenAPI_qoe_target_copy(OpenAPI_qoe_target_t *dst, OpenAPI_qoe_target_t *src);

#ifdef __cplusplus
}
#endif

#endif /* _OpenAPI_qoe_target_H_ */

