mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-02 21:30:10 +00:00
[Release-17] Upgrade SBI to v17.x.0
This commit is contained in:
parent
969c116e77
commit
4d44b1843e
1687 changed files with 121604 additions and 9310 deletions
47
lib/sbi/openapi/model/retainability_threshold.h
Normal file
47
lib/sbi/openapi/model/retainability_threshold.h
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
/*
|
||||
* retainability_threshold.h
|
||||
*
|
||||
* Represents a QoS flow retainability threshold.
|
||||
*/
|
||||
|
||||
#ifndef _OpenAPI_retainability_threshold_H_
|
||||
#define _OpenAPI_retainability_threshold_H_
|
||||
|
||||
#include <string.h>
|
||||
#include "../external/cJSON.h"
|
||||
#include "../include/list.h"
|
||||
#include "../include/keyValuePair.h"
|
||||
#include "../include/binary.h"
|
||||
#include "time_unit.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct OpenAPI_retainability_threshold_s OpenAPI_retainability_threshold_t;
|
||||
typedef struct OpenAPI_retainability_threshold_s {
|
||||
bool is_rel_flow_num;
|
||||
int rel_flow_num;
|
||||
struct OpenAPI_time_unit_s *rel_time_unit;
|
||||
bool is_rel_flow_ratio;
|
||||
int rel_flow_ratio;
|
||||
} OpenAPI_retainability_threshold_t;
|
||||
|
||||
OpenAPI_retainability_threshold_t *OpenAPI_retainability_threshold_create(
|
||||
bool is_rel_flow_num,
|
||||
int rel_flow_num,
|
||||
OpenAPI_time_unit_t *rel_time_unit,
|
||||
bool is_rel_flow_ratio,
|
||||
int rel_flow_ratio
|
||||
);
|
||||
void OpenAPI_retainability_threshold_free(OpenAPI_retainability_threshold_t *retainability_threshold);
|
||||
OpenAPI_retainability_threshold_t *OpenAPI_retainability_threshold_parseFromJSON(cJSON *retainability_thresholdJSON);
|
||||
cJSON *OpenAPI_retainability_threshold_convertToJSON(OpenAPI_retainability_threshold_t *retainability_threshold);
|
||||
OpenAPI_retainability_threshold_t *OpenAPI_retainability_threshold_copy(OpenAPI_retainability_threshold_t *dst, OpenAPI_retainability_threshold_t *src);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _OpenAPI_retainability_threshold_H_ */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue