open5gs/lib/sbi/openapi/model/hss_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

48 lines
1.2 KiB
C

/*
* hss_info.h
*
* Information of an HSS NF Instance
*/
#ifndef _OpenAPI_hss_info_H_
#define _OpenAPI_hss_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 "imsi_range.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct OpenAPI_hss_info_s OpenAPI_hss_info_t;
typedef struct OpenAPI_hss_info_s {
char *group_id;
OpenAPI_list_t *imsi_ranges;
OpenAPI_list_t *ims_private_identity_ranges;
OpenAPI_list_t *ims_public_identity_ranges;
OpenAPI_list_t *msisdn_ranges;
} OpenAPI_hss_info_t;
OpenAPI_hss_info_t *OpenAPI_hss_info_create(
char *group_id,
OpenAPI_list_t *imsi_ranges,
OpenAPI_list_t *ims_private_identity_ranges,
OpenAPI_list_t *ims_public_identity_ranges,
OpenAPI_list_t *msisdn_ranges
);
void OpenAPI_hss_info_free(OpenAPI_hss_info_t *hss_info);
OpenAPI_hss_info_t *OpenAPI_hss_info_parseFromJSON(cJSON *hss_infoJSON);
cJSON *OpenAPI_hss_info_convertToJSON(OpenAPI_hss_info_t *hss_info);
OpenAPI_hss_info_t *OpenAPI_hss_info_copy(OpenAPI_hss_info_t *dst, OpenAPI_hss_info_t *src);
#ifdef __cplusplus
}
#endif
#endif /* _OpenAPI_hss_info_H_ */