mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-02 05:10: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
60
lib/sbi/openapi/model/reporting_options_1.h
Normal file
60
lib/sbi/openapi/model/reporting_options_1.h
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
/*
|
||||
* reporting_options_1.h
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _OpenAPI_reporting_options_1_H_
|
||||
#define _OpenAPI_reporting_options_1_H_
|
||||
|
||||
#include <string.h>
|
||||
#include "../external/cJSON.h"
|
||||
#include "../include/list.h"
|
||||
#include "../include/keyValuePair.h"
|
||||
#include "../include/binary.h"
|
||||
#include "event_report_mode.h"
|
||||
#include "notification_flag.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct OpenAPI_reporting_options_1_s OpenAPI_reporting_options_1_t;
|
||||
typedef struct OpenAPI_reporting_options_1_s {
|
||||
struct OpenAPI_event_report_mode_s *report_mode;
|
||||
bool is_max_num_of_reports;
|
||||
int max_num_of_reports;
|
||||
char *expiry;
|
||||
bool is_sampling_ratio;
|
||||
int sampling_ratio;
|
||||
bool is_guard_time;
|
||||
int guard_time;
|
||||
bool is_report_period;
|
||||
int report_period;
|
||||
OpenAPI_notification_flag_e notif_flag;
|
||||
} OpenAPI_reporting_options_1_t;
|
||||
|
||||
OpenAPI_reporting_options_1_t *OpenAPI_reporting_options_1_create(
|
||||
OpenAPI_event_report_mode_t *report_mode,
|
||||
bool is_max_num_of_reports,
|
||||
int max_num_of_reports,
|
||||
char *expiry,
|
||||
bool is_sampling_ratio,
|
||||
int sampling_ratio,
|
||||
bool is_guard_time,
|
||||
int guard_time,
|
||||
bool is_report_period,
|
||||
int report_period,
|
||||
OpenAPI_notification_flag_e notif_flag
|
||||
);
|
||||
void OpenAPI_reporting_options_1_free(OpenAPI_reporting_options_1_t *reporting_options_1);
|
||||
OpenAPI_reporting_options_1_t *OpenAPI_reporting_options_1_parseFromJSON(cJSON *reporting_options_1JSON);
|
||||
cJSON *OpenAPI_reporting_options_1_convertToJSON(OpenAPI_reporting_options_1_t *reporting_options_1);
|
||||
OpenAPI_reporting_options_1_t *OpenAPI_reporting_options_1_copy(OpenAPI_reporting_options_1_t *dst, OpenAPI_reporting_options_1_t *src);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _OpenAPI_reporting_options_1_H_ */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue