/**
 * 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.
 */
/*
 * SnssaiRouteSelectionDescriptor.h
 *
 * Contains the route selector parameters (DNNs, PDU session types, SSC modes
 * and ATSSS information) per SNSSAI
 */

#ifndef SnssaiRouteSelectionDescriptor_H_
#define SnssaiRouteSelectionDescriptor_H_

#include "DnnRouteSelectionDescriptor.h"
#include "Snssai.h"
#include <nlohmann/json.hpp>
#include <vector>

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

/// <summary>
/// Contains the route selector parameters (DNNs, PDU session types, SSC modes
/// and ATSSS information) per SNSSAI
/// </summary>
class SnssaiRouteSelectionDescriptor {
public:
  SnssaiRouteSelectionDescriptor();
  virtual ~SnssaiRouteSelectionDescriptor();

  void validate();

  /////////////////////////////////////////////
  /// SnssaiRouteSelectionDescriptor members

  /// <summary>
  ///
  /// </summary>
  Snssai getSnssai() const;
  void setSnssai(Snssai const &value);
  /// <summary>
  ///
  /// </summary>
  std::vector<DnnRouteSelectionDescriptor> &getDnnRouteSelDescs();
  void
  setDnnRouteSelDescs(std::vector<DnnRouteSelectionDescriptor> const &value);
  bool dnnRouteSelDescsIsSet() const;
  void unsetDnnRouteSelDescs();

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

protected:
  Snssai m_Snssai;

  std::vector<DnnRouteSelectionDescriptor> m_DnnRouteSelDescs;
  bool m_DnnRouteSelDescsIsSet;
};

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

#endif /* SnssaiRouteSelectionDescriptor_H_ */
