/**
 * 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.
 */
/*
 * Dynamic5Qi.h
 *
 *
 */

#ifndef Dynamic5Qi_H_
#define Dynamic5Qi_H_

#include "QosResourceType.h"
#include <string>
#include <nlohmann/json.hpp>

namespace oai {
namespace smf_server {
namespace model {

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

  void validate();

  /////////////////////////////////////////////
  /// Dynamic5Qi members

  /// <summary>
  ///
  /// </summary>
  QosResourceType getResourceType() const;
  void setResourceType(QosResourceType const& value);
  /// <summary>
  ///
  /// </summary>
  int32_t getPriorityLevel() const;
  void setPriorityLevel(int32_t const value);
  /// <summary>
  ///
  /// </summary>
  int32_t getPacketDelayBudget() const;
  void setPacketDelayBudget(int32_t const value);
  /// <summary>
  ///
  /// </summary>
  std::string getPacketErrRate() const;
  void setPacketErrRate(std::string const& value);
  /// <summary>
  ///
  /// </summary>
  int32_t getAverWindow() const;
  void setAverWindow(int32_t const value);
  bool averWindowIsSet() const;
  void unsetAverWindow();
  /// <summary>
  ///
  /// </summary>
  int32_t getMaxDataBurstVol() const;
  void setMaxDataBurstVol(int32_t const value);
  bool maxDataBurstVolIsSet() const;
  void unsetMaxDataBurstVol();

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

 protected:
  QosResourceType m_ResourceType;

  int32_t m_PriorityLevel;

  int32_t m_PacketDelayBudget;

  std::string m_PacketErrRate;

  int32_t m_AverWindow;
  bool m_AverWindowIsSet;
  int32_t m_MaxDataBurstVol;
  bool m_MaxDataBurstVolIsSet;
};

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

#endif /* Dynamic5Qi_H_ */
