open5gs/lib/sbi/openapi/model/chf_info.h
Sukchan Lee f278d58a69 Upgrade SBI(Service-based Interface)
* OpenAPI Generator version: 4.3.1 ==> 5.5.1
* Specification : r16.8.0 (20210629)
2021-07-07 17:32:55 +09:00

51 lines
1.3 KiB
C

/*
* chf_info.h
*
* Information of a CHF NF Instance
*/
#ifndef _OpenAPI_chf_info_H_
#define _OpenAPI_chf_info_H_
#include <string.h>
#include "../external/cJSON.h"
#include "../include/list.h"
#include "../include/keyValuePair.h"
#include "../include/binary.h"
#include "identity_range.h"
#include "plmn_range.h"
#include "supi_range.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct OpenAPI_chf_info_s OpenAPI_chf_info_t;
typedef struct OpenAPI_chf_info_s {
OpenAPI_list_t *supi_range_list;
OpenAPI_list_t *gpsi_range_list;
OpenAPI_list_t *plmn_range_list;
char *group_id;
char *primary_chf_instance;
char *secondary_chf_instance;
} OpenAPI_chf_info_t;
OpenAPI_chf_info_t *OpenAPI_chf_info_create(
OpenAPI_list_t *supi_range_list,
OpenAPI_list_t *gpsi_range_list,
OpenAPI_list_t *plmn_range_list,
char *group_id,
char *primary_chf_instance,
char *secondary_chf_instance
);
void OpenAPI_chf_info_free(OpenAPI_chf_info_t *chf_info);
OpenAPI_chf_info_t *OpenAPI_chf_info_parseFromJSON(cJSON *chf_infoJSON);
cJSON *OpenAPI_chf_info_convertToJSON(OpenAPI_chf_info_t *chf_info);
OpenAPI_chf_info_t *OpenAPI_chf_info_copy(OpenAPI_chf_info_t *dst, OpenAPI_chf_info_t *src);
#ifdef __cplusplus
}
#endif
#endif /* _OpenAPI_chf_info_H_ */