/**
 * Nudr_DataRepository API OpenAPI file
 * Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB,
 * ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
 *
 * The version of the OpenAPI document: 2.1.2
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator
 * (https://openapi-generator.tech). https://openapi-generator.tech Do not edit
 * the class manually.
 */
/*
 * 5GVnGroupData.h
 *
 *
 */

#ifndef _5GVnGroupData_H_
#define _5GVnGroupData_H_

#include "AppDescriptor.h"
#include "IpAddress.h"
#include "PduSessionType.h"
#include "Snssai.h"
#include <nlohmann/json.hpp>
#include <string>
#include <vector>

namespace org {
namespace openapitools {
namespace server {
namespace model {

/// <summary>
///
/// </summary>
class _5GVnGroupData {
public:
  _5GVnGroupData();
  virtual ~_5GVnGroupData();

  void validate();

  /////////////////////////////////////////////
  /// 5GVnGroupData members

  /// <summary>
  ///
  /// </summary>
  std::string getDnn() const;
  void setDnn(std::string const &value);
  /// <summary>
  ///
  /// </summary>
  Snssai getSNssai() const;
  void setSNssai(Snssai const &value);
  /// <summary>
  ///
  /// </summary>
  std::vector<PduSessionType> &getPduSessionTypes();
  void setPduSessionTypes(std::vector<PduSessionType> const &value);
  bool pduSessionTypesIsSet() const;
  void unsetPduSessionTypes();
  /// <summary>
  ///
  /// </summary>
  std::vector<AppDescriptor> &getAppDescriptors();
  void setAppDescriptors(std::vector<AppDescriptor> const &value);
  bool appDescriptorsIsSet() const;
  void unsetAppDescriptors();
  /// <summary>
  ///
  /// </summary>
  bool isSecondaryAuth() const;
  void setSecondaryAuth(bool const value);
  bool secondaryAuthIsSet() const;
  void unsetSecondaryAuth();
  /// <summary>
  ///
  /// </summary>
  IpAddress getDnAaaAddress() const;
  void setDnAaaAddress(IpAddress const &value);
  bool dnAaaAddressIsSet() const;
  void unsetDnAaaAddress();

  friend void to_json(nlohmann::json &j, const _5GVnGroupData &o);
  friend void from_json(const nlohmann::json &j, _5GVnGroupData &o);

protected:
  std::string m_Dnn;

  Snssai m_SNssai;

  std::vector<PduSessionType> m_PduSessionTypes;
  bool m_PduSessionTypesIsSet;
  std::vector<AppDescriptor> m_AppDescriptors;
  bool m_AppDescriptorsIsSet;
  bool m_SecondaryAuth;
  bool m_SecondaryAuthIsSet;
  IpAddress m_DnAaaAddress;
  bool m_DnAaaAddressIsSet;
};

} // namespace model
} // namespace server
} // namespace openapitools
} // namespace org

#endif /* 5GVnGroupData_H_ */
