PresenceInfo.h 4.19 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
/*
 * PresenceInfo.h
 *
36
 *
yangjian's avatar
yangjian committed
37 38 39 40 41
 */

#ifndef PresenceInfo_H_
#define PresenceInfo_H_

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

#include "Ecgi.h"
47
#include "GlobalRanNodeId.h"
yangjian's avatar
yangjian committed
48 49
#include "Ncgi.h"
#include "PresenceState.h"
50
#include "Tai.h"
yangjian's avatar
yangjian committed
51

Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
52
namespace oai::udr::model {
yangjian's avatar
yangjian committed
53 54

/// <summary>
55
///
yangjian's avatar
yangjian committed
56
/// </summary>
57 58 59 60
class PresenceInfo {
 public:
  PresenceInfo();
  virtual ~PresenceInfo();
yangjian's avatar
yangjian committed
61

62
  void validate();
yangjian's avatar
yangjian committed
63

64 65
  /////////////////////////////////////////////
  /// PresenceInfo members
yangjian's avatar
yangjian committed
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 116 117 118 119 120 121 122
  /// <summary>
  ///
  /// </summary>
  std::string getPraId() const;
  void setPraId(std::string const& value);
  bool praIdIsSet() const;
  void unsetPraId();
  /// <summary>
  ///
  /// </summary>
  std::string getAdditionalPraId() const;
  void setAdditionalPraId(std::string const& value);
  bool additionalPraIdIsSet() const;
  void unsetAdditionalPraId();
  /// <summary>
  ///
  /// </summary>
  PresenceState getPresenceState() const;
  void setPresenceState(PresenceState const& value);
  bool presenceStateIsSet() const;
  void unsetPresenceState();
  /// <summary>
  ///
  /// </summary>
  std::vector<Tai>& getTrackingAreaList();
  void setTrackingAreaList(std::vector<Tai> const& value);
  bool trackingAreaListIsSet() const;
  void unsetTrackingAreaList();
  /// <summary>
  ///
  /// </summary>
  std::vector<Ecgi>& getEcgiList();
  void setEcgiList(std::vector<Ecgi> const& value);
  bool ecgiListIsSet() const;
  void unsetEcgiList();
  /// <summary>
  ///
  /// </summary>
  std::vector<Ncgi>& getNcgiList();
  void setNcgiList(std::vector<Ncgi> const& value);
  bool ncgiListIsSet() const;
  void unsetNcgiList();
  /// <summary>
  ///
  /// </summary>
  std::vector<GlobalRanNodeId>& getGlobalRanNodeIdList();
  void setGlobalRanNodeIdList(std::vector<GlobalRanNodeId> const& value);
  bool globalRanNodeIdListIsSet() const;
  void unsetGlobalRanNodeIdList();
  /// <summary>
  ///
  /// </summary>
  std::vector<GlobalRanNodeId>& getGlobaleNbIdList();
  void setGlobaleNbIdList(std::vector<GlobalRanNodeId> const& value);
  bool globaleNbIdListIsSet() const;
  void unsetGlobaleNbIdList();
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
123

124 125
  friend void to_json(nlohmann::json& j, const PresenceInfo& o);
  friend void from_json(const nlohmann::json& j, PresenceInfo& o);
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
126

127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144
 protected:
  std::string m_PraId;
  bool m_PraIdIsSet;
  std::string m_AdditionalPraId;
  bool m_AdditionalPraIdIsSet;
  PresenceState m_PresenceState;
  bool m_PresenceStateIsSet;
  std::vector<Tai> m_TrackingAreaList;
  bool m_TrackingAreaListIsSet;
  std::vector<Ecgi> m_EcgiList;
  bool m_EcgiListIsSet;
  std::vector<Ncgi> m_NcgiList;
  bool m_NcgiListIsSet;
  std::vector<GlobalRanNodeId> m_GlobalRanNodeIdList;
  bool m_GlobalRanNodeIdListIsSet;
  std::vector<GlobalRanNodeId> m_GlobaleNbIdList;
  bool m_GlobaleNbIdListIsSet;
};
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
145

146
}  // namespace oai::udr::model
yangjian's avatar
yangjian committed
147 148

#endif /* PresenceInfo_H_ */