/*
 * acknowledge_info.h
 *
 * Contains acknowledgement information
 */

#ifndef _OpenAPI_acknowledge_info_H_
#define _OpenAPI_acknowledge_info_H_

#include <string.h>
#include "../external/cJSON.h"
#include "../include/list.h"
#include "../include/keyValuePair.h"
#include "../include/binary.h"
typedef struct OpenAPI_acknowledge_info_s OpenAPI_acknowledge_info_t;

#ifdef __cplusplus
extern "C" {
#endif

struct OpenAPI_acknowledge_info_s {
    char *sor_mac_iue;
    char *upu_mac_iue;
    char *provisioning_time;
    char *sor_transparent_container;
    bool is_ue_not_reachable;
    int ue_not_reachable;
    char *upu_transparent_container;
};

OpenAPI_acknowledge_info_t *OpenAPI_acknowledge_info_create(
    char *sor_mac_iue,
    char *upu_mac_iue,
    char *provisioning_time,
    char *sor_transparent_container,
    bool is_ue_not_reachable,
    int ue_not_reachable,
    char *upu_transparent_container
);
void OpenAPI_acknowledge_info_free(OpenAPI_acknowledge_info_t *acknowledge_info);
OpenAPI_acknowledge_info_t *OpenAPI_acknowledge_info_parseFromJSON(cJSON *acknowledge_infoJSON);
cJSON *OpenAPI_acknowledge_info_convertToJSON(OpenAPI_acknowledge_info_t *acknowledge_info);
OpenAPI_acknowledge_info_t *OpenAPI_acknowledge_info_copy(OpenAPI_acknowledge_info_t *dst, OpenAPI_acknowledge_info_t *src);

#ifdef __cplusplus
}
#endif

#endif /* _OpenAPI_acknowledge_info_H_ */

