open5gs/lib/sbi/openapi/model/app_port_id.h
Sukchan Lee 039b9d0aaa SBI updated
- openapi-generator version 5.2.0
- add priority/capacity/load in NFProfile/NFService
- add AllowedNfTypes in NFProfile/NFService
2021-07-16 17:02:33 +09:00

44 lines
1.1 KiB
C

/*
* app_port_id.h
*
*
*/
#ifndef _OpenAPI_app_port_id_H_
#define _OpenAPI_app_port_id_H_
#include <string.h>
#include "../external/cJSON.h"
#include "../include/list.h"
#include "../include/keyValuePair.h"
#include "../include/binary.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct OpenAPI_app_port_id_s OpenAPI_app_port_id_t;
typedef struct OpenAPI_app_port_id_s {
bool is_destination_port;
int destination_port;
bool is_originator_port;
int originator_port;
} OpenAPI_app_port_id_t;
OpenAPI_app_port_id_t *OpenAPI_app_port_id_create(
bool is_destination_port,
int destination_port,
bool is_originator_port,
int originator_port
);
void OpenAPI_app_port_id_free(OpenAPI_app_port_id_t *app_port_id);
OpenAPI_app_port_id_t *OpenAPI_app_port_id_parseFromJSON(cJSON *app_port_idJSON);
cJSON *OpenAPI_app_port_id_convertToJSON(OpenAPI_app_port_id_t *app_port_id);
OpenAPI_app_port_id_t *OpenAPI_app_port_id_copy(OpenAPI_app_port_id_t *dst, OpenAPI_app_port_id_t *src);
#ifdef __cplusplus
}
#endif
#endif /* _OpenAPI_app_port_id_H_ */