open5gs/lib/sbi/openapi/model/ue_policy_set.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

59 lines
1.6 KiB
C

/*
* ue_policy_set.h
*
* Contains the UE policy data for a given subscriber.
*/
#ifndef _OpenAPI_ue_policy_set_H_
#define _OpenAPI_ue_policy_set_H_
#include <string.h>
#include "../external/cJSON.h"
#include "../include/list.h"
#include "../include/keyValuePair.h"
#include "../include/binary.h"
#include "plmn_route_selection_descriptor.h"
#include "presence_info.h"
#include "ue_policy_section.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct OpenAPI_ue_policy_set_s OpenAPI_ue_policy_set_t;
typedef struct OpenAPI_ue_policy_set_s {
OpenAPI_list_t* pra_infos;
OpenAPI_list_t *subsc_cats;
OpenAPI_list_t* ue_policy_sections;
OpenAPI_list_t *upsis;
OpenAPI_list_t* allowed_route_sel_descs;
bool is_andsp_ind;
int andsp_ind;
char *pei;
OpenAPI_list_t *os_ids;
char *supp_feat;
} OpenAPI_ue_policy_set_t;
OpenAPI_ue_policy_set_t *OpenAPI_ue_policy_set_create(
OpenAPI_list_t* pra_infos,
OpenAPI_list_t *subsc_cats,
OpenAPI_list_t* ue_policy_sections,
OpenAPI_list_t *upsis,
OpenAPI_list_t* allowed_route_sel_descs,
bool is_andsp_ind,
int andsp_ind,
char *pei,
OpenAPI_list_t *os_ids,
char *supp_feat
);
void OpenAPI_ue_policy_set_free(OpenAPI_ue_policy_set_t *ue_policy_set);
OpenAPI_ue_policy_set_t *OpenAPI_ue_policy_set_parseFromJSON(cJSON *ue_policy_setJSON);
cJSON *OpenAPI_ue_policy_set_convertToJSON(OpenAPI_ue_policy_set_t *ue_policy_set);
OpenAPI_ue_policy_set_t *OpenAPI_ue_policy_set_copy(OpenAPI_ue_policy_set_t *dst, OpenAPI_ue_policy_set_t *src);
#ifdef __cplusplus
}
#endif
#endif /* _OpenAPI_ue_policy_set_H_ */