open5gs/lib/sbi/openapi/model/error_report.h
Sukchan Lee f278d58a69 Upgrade SBI(Service-based Interface)
* OpenAPI Generator version: 4.3.1 ==> 5.5.1
* Specification : r16.8.0 (20210629)
2021-07-07 17:32:55 +09:00

50 lines
1.4 KiB
C

/*
* error_report.h
*
*
*/
#ifndef _OpenAPI_error_report_H_
#define _OpenAPI_error_report_H_
#include <string.h>
#include "../external/cJSON.h"
#include "../include/list.h"
#include "../include/keyValuePair.h"
#include "../include/binary.h"
#include "policy_decision_failure_code.h"
#include "problem_details.h"
#include "rule_report.h"
#include "session_rule_report.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct OpenAPI_error_report_s OpenAPI_error_report_t;
typedef struct OpenAPI_error_report_s {
struct OpenAPI_problem_details_s *error;
OpenAPI_list_t *rule_reports;
OpenAPI_list_t *sess_rule_reports;
OpenAPI_list_t *pol_dec_failure_reports;
char *alt_qos_param_id;
} OpenAPI_error_report_t;
OpenAPI_error_report_t *OpenAPI_error_report_create(
OpenAPI_problem_details_t *error,
OpenAPI_list_t *rule_reports,
OpenAPI_list_t *sess_rule_reports,
OpenAPI_list_t *pol_dec_failure_reports,
char *alt_qos_param_id
);
void OpenAPI_error_report_free(OpenAPI_error_report_t *error_report);
OpenAPI_error_report_t *OpenAPI_error_report_parseFromJSON(cJSON *error_reportJSON);
cJSON *OpenAPI_error_report_convertToJSON(OpenAPI_error_report_t *error_report);
OpenAPI_error_report_t *OpenAPI_error_report_copy(OpenAPI_error_report_t *dst, OpenAPI_error_report_t *src);
#ifdef __cplusplus
}
#endif
#endif /* _OpenAPI_error_report_H_ */