/*
 * model_5_gvn_group_data.h
 *
 * Contains 5G Vn Group Data
 */

#ifndef _OpenAPI_model_5_gvn_group_data_H_
#define _OpenAPI_model_5_gvn_group_data_H_

#include <string.h>
#include "third-party/cjson/cJSON.h"
#include "../include/list.h"
#include "../include/keyValuePair.h"
#include "../include/binary.h"
typedef struct OpenAPI_model_5_gvn_group_data_s OpenAPI_model_5_gvn_group_data_t;
#include "app_descriptor_1.h"
#include "ip_address_1.h"
#include "max_group_data_rate.h"
#include "model_5_gvn_group_communication_type.h"
#include "pdu_session_type.h"
#include "snssai.h"
#include "up_security_1.h"

#ifdef __cplusplus
extern "C" {
#endif

struct OpenAPI_model_5_gvn_group_data_s {
    char *dnn;
    struct OpenAPI_snssai_s *s_nssai;
    OpenAPI_list_t *pdu_session_types;
    OpenAPI_list_t *app_descriptors;
    bool is_secondary_auth;
    int secondary_auth;
    bool is_dn_aaa_ip_address_allocation;
    int dn_aaa_ip_address_allocation;
    struct OpenAPI_ip_address_1_s *dn_aaa_address;
    OpenAPI_list_t *additional_dn_aaa_addresses;
    char *dn_aaa_fqdn;
    bool is__5g_vn_group_communication_ind;
    int _5g_vn_group_communication_ind;
    OpenAPI_model_5_gvn_group_communication_type_e _5g_vn_group_communication_type;
    struct OpenAPI_max_group_data_rate_s *max_group_data_rate;
    struct OpenAPI_up_security_1_s *up_security;
};

OpenAPI_model_5_gvn_group_data_t *OpenAPI_model_5_gvn_group_data_create(
    char *dnn,
    OpenAPI_snssai_t *s_nssai,
    OpenAPI_list_t *pdu_session_types,
    OpenAPI_list_t *app_descriptors,
    bool is_secondary_auth,
    int secondary_auth,
    bool is_dn_aaa_ip_address_allocation,
    int dn_aaa_ip_address_allocation,
    OpenAPI_ip_address_1_t *dn_aaa_address,
    OpenAPI_list_t *additional_dn_aaa_addresses,
    char *dn_aaa_fqdn,
    bool is__5g_vn_group_communication_ind,
    int _5g_vn_group_communication_ind,
    OpenAPI_model_5_gvn_group_communication_type_e _5g_vn_group_communication_type,
    OpenAPI_max_group_data_rate_t *max_group_data_rate,
    OpenAPI_up_security_1_t *up_security
);
void OpenAPI_model_5_gvn_group_data_free(OpenAPI_model_5_gvn_group_data_t *model_5_gvn_group_data);
OpenAPI_model_5_gvn_group_data_t *OpenAPI_model_5_gvn_group_data_parseFromJSON(cJSON *model_5_gvn_group_dataJSON);
cJSON *OpenAPI_model_5_gvn_group_data_convertToJSON(OpenAPI_model_5_gvn_group_data_t *model_5_gvn_group_data);
OpenAPI_model_5_gvn_group_data_t *OpenAPI_model_5_gvn_group_data_copy(OpenAPI_model_5_gvn_group_data_t *dst, OpenAPI_model_5_gvn_group_data_t *src);

#ifdef __cplusplus
}
#endif

#endif /* _OpenAPI_model_5_gvn_group_data_H_ */

