open5gs/lib/sbi/openapi/model/plmn_ec_info.h
2020-06-17 01:22:28 -04:00

43 lines
1.1 KiB
C

/*
* plmn_ec_info.h
*
*
*/
#ifndef _OpenAPI_plmn_ec_info_H_
#define _OpenAPI_plmn_ec_info_H_
#include <string.h>
#include "../external/cJSON.h"
#include "../include/list.h"
#include "../include/keyValuePair.h"
#include "../include/binary.h"
#include "plmn_id.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct OpenAPI_plmn_ec_info_s OpenAPI_plmn_ec_info_t;
typedef struct OpenAPI_plmn_ec_info_s {
struct OpenAPI_plmn_id_s *plmn_id;
int ec_mode_a_restricted;
int ec_mode_b_restricted;
} OpenAPI_plmn_ec_info_t;
OpenAPI_plmn_ec_info_t *OpenAPI_plmn_ec_info_create(
OpenAPI_plmn_id_t *plmn_id,
int ec_mode_a_restricted,
int ec_mode_b_restricted
);
void OpenAPI_plmn_ec_info_free(OpenAPI_plmn_ec_info_t *plmn_ec_info);
OpenAPI_plmn_ec_info_t *OpenAPI_plmn_ec_info_parseFromJSON(cJSON *plmn_ec_infoJSON);
cJSON *OpenAPI_plmn_ec_info_convertToJSON(OpenAPI_plmn_ec_info_t *plmn_ec_info);
OpenAPI_plmn_ec_info_t *OpenAPI_plmn_ec_info_copy(OpenAPI_plmn_ec_info_t *dst, OpenAPI_plmn_ec_info_t *src);
#ifdef __cplusplus
}
#endif
#endif /* _OpenAPI_plmn_ec_info_H_ */