DnnInfo.h 3.73 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
/*
 * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The OpenAirInterface Software Alliance licenses this file to You under
 * the OAI Public License, Version 1.1  (the "License"); you may not use this
 * file except in compliance with the License. You may obtain a copy of the
 * License at
 *
 *      http://www.openairinterface.org/?page_id=698
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *-------------------------------------------------------------------------------
 * For more information about the OpenAirInterface (OAI) Software Alliance:
 *      contact@openairinterface.org
 */
yangjian's avatar
yangjian committed
21
/**
22 23 24 25 26 27 28 29 30 31 32
 * 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.
 */
yangjian's avatar
yangjian committed
33 34 35
/*
 * DnnInfo.h
 *
36
 *
yangjian's avatar
yangjian committed
37 38 39 40 41 42
 */

#ifndef DnnInfo_H_
#define DnnInfo_H_

//#include "AnyOfstringstring.h"
43
#include <nlohmann/json.hpp>
yangjian's avatar
yangjian committed
44 45 46
#include <string>
#include <vector>

Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
47
namespace oai::udr::model {
yangjian's avatar
yangjian committed
48 49

/// <summary>
50
///
yangjian's avatar
yangjian committed
51
/// </summary>
52 53 54 55
class DnnInfo {
 public:
  DnnInfo();
  virtual ~DnnInfo();
yangjian's avatar
yangjian committed
56

57
  void validate();
yangjian's avatar
yangjian committed
58

59 60
  /////////////////////////////////////////////
  /// DnnInfo members
yangjian's avatar
yangjian committed
61

62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115
  /// <summary>
  ///
  /// </summary>
  //    AnyOfstringstring getDnn() const;
  //    void setDnn(AnyOfstringstring const& value);
  /// <summary>
  ///
  /// </summary>
  bool isDefaultDnnIndicator() const;
  void setDefaultDnnIndicator(bool const value);
  bool defaultDnnIndicatorIsSet() const;
  void unsetDefaultDnnIndicator();
  /// <summary>
  ///
  /// </summary>
  bool isLboRoamingAllowed() const;
  void setLboRoamingAllowed(bool const value);
  bool lboRoamingAllowedIsSet() const;
  void unsetLboRoamingAllowed();
  /// <summary>
  ///
  /// </summary>
  bool isIwkEpsInd() const;
  void setIwkEpsInd(bool const value);
  bool iwkEpsIndIsSet() const;
  void unsetIwkEpsInd();
  /// <summary>
  ///
  /// </summary>
  bool isDnnBarred() const;
  void setDnnBarred(bool const value);
  bool dnnBarredIsSet() const;
  void unsetDnnBarred();
  /// <summary>
  ///
  /// </summary>
  bool isInvokeNefInd() const;
  void setInvokeNefInd(bool const value);
  bool invokeNefIndIsSet() const;
  void unsetInvokeNefInd();
  /// <summary>
  ///
  /// </summary>
  std::vector<std::string>& getSmfList();
  void setSmfList(std::vector<std::string> const& value);
  bool smfListIsSet() const;
  void unsetSmfList();
  /// <summary>
  ///
  /// </summary>
  bool isSameSmfInd() const;
  void setSameSmfInd(bool const value);
  bool sameSmfIndIsSet() const;
  void unsetSameSmfInd();
yangjian's avatar
yangjian committed
116

117 118
  friend void to_json(nlohmann::json& j, const DnnInfo& o);
  friend void from_json(const nlohmann::json& j, DnnInfo& o);
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
119

120 121
 protected:
  //    AnyOfstringstring m_Dnn;
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
122

123 124 125 126 127 128 129 130 131 132 133 134 135 136 137
  bool m_DefaultDnnIndicator;
  bool m_DefaultDnnIndicatorIsSet;
  bool m_LboRoamingAllowed;
  bool m_LboRoamingAllowedIsSet;
  bool m_IwkEpsInd;
  bool m_IwkEpsIndIsSet;
  bool m_DnnBarred;
  bool m_DnnBarredIsSet;
  bool m_InvokeNefInd;
  bool m_InvokeNefIndIsSet;
  std::vector<std::string> m_SmfList;
  bool m_SmfListIsSet;
  bool m_SameSmfInd;
  bool m_SameSmfIndIsSet;
};
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
138

139
}  // namespace oai::udr::model
yangjian's avatar
yangjian committed
140 141

#endif /* DnnInfo_H_ */