mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-02 05:10:10 +00:00
Depending on the OpenAPI yaml files, fields can be marked as "nullable". Which means that the field can be either present, not present, or null. This feature is important for example in SmContextUpdateData structure, where many fields are described similar as the following: This IE shall be included for the modification .... For deleting the field, it shall contain the Null value.
54 lines
1.6 KiB
C
54 lines
1.6 KiB
C
/*
|
|
* tsn_qos_container_rm.h
|
|
*
|
|
* Indicates removable TSC Traffic QoS.
|
|
*/
|
|
|
|
#ifndef _OpenAPI_tsn_qos_container_rm_H_
|
|
#define _OpenAPI_tsn_qos_container_rm_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_tsn_qos_container_rm_s OpenAPI_tsn_qos_container_rm_t;
|
|
typedef struct OpenAPI_tsn_qos_container_rm_s {
|
|
bool is_max_tsc_burst_size_null;
|
|
bool is_max_tsc_burst_size;
|
|
int max_tsc_burst_size;
|
|
bool is_tsc_pack_delay_null;
|
|
bool is_tsc_pack_delay;
|
|
int tsc_pack_delay;
|
|
bool is_tsc_prio_level_null;
|
|
bool is_tsc_prio_level;
|
|
int tsc_prio_level;
|
|
} OpenAPI_tsn_qos_container_rm_t;
|
|
|
|
OpenAPI_tsn_qos_container_rm_t *OpenAPI_tsn_qos_container_rm_create(
|
|
bool is_max_tsc_burst_size_null,
|
|
bool is_max_tsc_burst_size,
|
|
int max_tsc_burst_size,
|
|
bool is_tsc_pack_delay_null,
|
|
bool is_tsc_pack_delay,
|
|
int tsc_pack_delay,
|
|
bool is_tsc_prio_level_null,
|
|
bool is_tsc_prio_level,
|
|
int tsc_prio_level
|
|
);
|
|
void OpenAPI_tsn_qos_container_rm_free(OpenAPI_tsn_qos_container_rm_t *tsn_qos_container_rm);
|
|
OpenAPI_tsn_qos_container_rm_t *OpenAPI_tsn_qos_container_rm_parseFromJSON(cJSON *tsn_qos_container_rmJSON);
|
|
cJSON *OpenAPI_tsn_qos_container_rm_convertToJSON(OpenAPI_tsn_qos_container_rm_t *tsn_qos_container_rm);
|
|
OpenAPI_tsn_qos_container_rm_t *OpenAPI_tsn_qos_container_rm_copy(OpenAPI_tsn_qos_container_rm_t *dst, OpenAPI_tsn_qos_container_rm_t *src);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* _OpenAPI_tsn_qos_container_rm_H_ */
|
|
|