open5gs/lib/sbi/openapi/model/n2_info_content.h

45 lines
1.2 KiB
C

/*
* n2_info_content.h
*
*
*/
#ifndef _OpenAPI_n2_info_content_H_
#define _OpenAPI_n2_info_content_H_
#include <string.h>
#include "../external/cJSON.h"
#include "../include/list.h"
#include "../include/keyValuePair.h"
#include "../include/binary.h"
#include "ngap_ie_type.h"
#include "ref_to_binary_data.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct OpenAPI_n2_info_content_s OpenAPI_n2_info_content_t;
typedef struct OpenAPI_n2_info_content_s {
int ngap_message_type;
OpenAPI_ngap_ie_type_e ngap_ie_type;
struct OpenAPI_ref_to_binary_data_s *ngap_data;
} OpenAPI_n2_info_content_t;
OpenAPI_n2_info_content_t *OpenAPI_n2_info_content_create(
int ngap_message_type,
OpenAPI_ngap_ie_type_e ngap_ie_type,
OpenAPI_ref_to_binary_data_t *ngap_data
);
void OpenAPI_n2_info_content_free(OpenAPI_n2_info_content_t *n2_info_content);
OpenAPI_n2_info_content_t *OpenAPI_n2_info_content_parseFromJSON(cJSON *n2_info_contentJSON);
cJSON *OpenAPI_n2_info_content_convertToJSON(OpenAPI_n2_info_content_t *n2_info_content);
OpenAPI_n2_info_content_t *OpenAPI_n2_info_content_copy(OpenAPI_n2_info_content_t *dst, OpenAPI_n2_info_content_t *src);
#ifdef __cplusplus
}
#endif
#endif /* _OpenAPI_n2_info_content_H_ */