/**
 * Nsmf_PDUSession
 * SMF PDU Session Service. © 2019, 3GPP Organizational Partners (ARIB, ATIS,
 * CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
 *
 * The version of the OpenAPI document: 1.1.0.alpha-1
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator
 * (https://openapi-generator.tech). https://openapi-generator.tech Do not edit
 * the class manually.
 */
/*
 * TunnelInfo.h
 *
 *
 */

#ifndef TunnelInfo_H_
#define TunnelInfo_H_

#include <string>
#include <nlohmann/json.hpp>

namespace oai {
namespace smf_server {
namespace model {

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

  void validate();

  /////////////////////////////////////////////
  /// TunnelInfo members

  /// <summary>
  ///
  /// </summary>
  std::string getIpv4Addr() const;
  void setIpv4Addr(std::string const& value);
  bool ipv4AddrIsSet() const;
  void unsetIpv4Addr();
  /// <summary>
  ///
  /// </summary>
  std::string getIpv6Addr() const;
  void setIpv6Addr(std::string const& value);
  bool ipv6AddrIsSet() const;
  void unsetIpv6Addr();
  /// <summary>
  ///
  /// </summary>
  std::string getGtpTeid() const;
  void setGtpTeid(std::string const& value);

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

 protected:
  std::string m_Ipv4Addr;
  bool m_Ipv4AddrIsSet;
  std::string m_Ipv6Addr;
  bool m_Ipv6AddrIsSet;
  std::string m_GtpTeid;
};

}  // namespace model
}  // namespace smf_server
}  // namespace oai

#endif /* TunnelInfo_H_ */
