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

46 lines
1.0 KiB
C

/*
* sor_data.h
*
*
*/
#ifndef _OpenAPI_sor_data_H_
#define _OpenAPI_sor_data_H_
#include <string.h>
#include "../external/cJSON.h"
#include "../include/list.h"
#include "../include/keyValuePair.h"
#include "../include/binary.h"
#include "ue_update_status.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct OpenAPI_sor_data_s OpenAPI_sor_data_t;
typedef struct OpenAPI_sor_data_s {
char *provisioning_time;
OpenAPI_ue_update_status_e ue_update_status;
char *sor_xmac_iue;
char *sor_mac_iue;
} OpenAPI_sor_data_t;
OpenAPI_sor_data_t *OpenAPI_sor_data_create(
char *provisioning_time,
OpenAPI_ue_update_status_e ue_update_status,
char *sor_xmac_iue,
char *sor_mac_iue
);
void OpenAPI_sor_data_free(OpenAPI_sor_data_t *sor_data);
OpenAPI_sor_data_t *OpenAPI_sor_data_parseFromJSON(cJSON *sor_dataJSON);
cJSON *OpenAPI_sor_data_convertToJSON(OpenAPI_sor_data_t *sor_data);
OpenAPI_sor_data_t *OpenAPI_sor_data_copy(OpenAPI_sor_data_t *dst, OpenAPI_sor_data_t *src);
#ifdef __cplusplus
}
#endif
#endif /* _OpenAPI_sor_data_H_ */