InterfaceUpfInfoItem.h 2.66 KB
Newer Older
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
1
/**
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
2
 * NRF NFManagement Service
Raphael Defosseux's avatar
Raphael Defosseux committed
3
4
 * NRF NFManagement Service. © 2019, 3GPP Organizational Partners (ARIB, ATIS,
 * CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
5
6
7
 *
 * The version of the OpenAPI document: 1.1.0.alpha-1
 *
Raphael Defosseux's avatar
Raphael Defosseux committed
8
9
10
11
 *
 * NOTE: This class is auto generated by OpenAPI Generator
 * (https://openapi-generator.tech). https://openapi-generator.tech Do not edit
 * the class manually.
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
12
 */
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
13
14
15
/*
 * InterfaceUpfInfoItem.h
 *
Raphael Defosseux's avatar
Raphael Defosseux committed
16
 *
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
 */

#ifndef InterfaceUpfInfoItem_H_
#define InterfaceUpfInfoItem_H_

#include <string>
#include "Ipv6Addr.h"
#include <vector>
#include "UPInterfaceType.h"
#include <nlohmann/json.hpp>

namespace oai {
namespace nrf {
namespace model {

/// <summary>
Raphael Defosseux's avatar
Raphael Defosseux committed
33
///
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
34
/// </summary>
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
35
36
37
38
class InterfaceUpfInfoItem {
 public:
  InterfaceUpfInfoItem();
  virtual ~InterfaceUpfInfoItem();
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
39

Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
40
  void validate();
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
41

Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
42
43
  /////////////////////////////////////////////
  /// InterfaceUpfInfoItem members
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
44

Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
45
  /// <summary>
Raphael Defosseux's avatar
Raphael Defosseux committed
46
  ///
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
47
  /// </summary>
48
49
50
51
52
53
54
55
  // UPInterfaceType getInterfaceType() const;
  // void setInterfaceType(UPInterfaceType const& value);

  std::string getInterfaceType() const;
  void setInterfaceType(std::string const& value);
  bool InterfaceTypeIsSet() const;
  void unsetInterfaceType();

Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
56
  /// <summary>
Raphael Defosseux's avatar
Raphael Defosseux committed
57
  ///
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
58
59
  /// </summary>
  std::vector<std::string>& getIpv4EndpointAddresses();
Raphael Defosseux's avatar
Raphael Defosseux committed
60
  void setIpv4EndpointAddresses(std::vector<std::string> const& value);
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
61
62
63
  bool ipv4EndpointAddressesIsSet() const;
  void unsetIpv4EndpointAddresses();
  /// <summary>
Raphael Defosseux's avatar
Raphael Defosseux committed
64
  ///
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
65
66
  /// </summary>
  std::vector<Ipv6Addr>& getIpv6EndpointAddresses();
Raphael Defosseux's avatar
Raphael Defosseux committed
67
  void setIpv6EndpointAddresses(std::vector<Ipv6Addr> const& value);
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
68
69
70
  bool ipv6EndpointAddressesIsSet() const;
  void unsetIpv6EndpointAddresses();
  /// <summary>
Raphael Defosseux's avatar
Raphael Defosseux committed
71
  ///
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
72
73
  /// </summary>
  std::string getEndpointFqdn() const;
Raphael Defosseux's avatar
Raphael Defosseux committed
74
  void setEndpointFqdn(std::string const& value);
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
75
76
77
  bool endpointFqdnIsSet() const;
  void unsetEndpointFqdn();
  /// <summary>
Raphael Defosseux's avatar
Raphael Defosseux committed
78
  ///
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
79
80
  /// </summary>
  std::string getNetworkInstance() const;
Raphael Defosseux's avatar
Raphael Defosseux committed
81
  void setNetworkInstance(std::string const& value);
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
82
83
  bool networkInstanceIsSet() const;
  void unsetNetworkInstance();
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
84

Raphael Defosseux's avatar
Raphael Defosseux committed
85
86
87
  friend void to_json(nlohmann::json& j, const InterfaceUpfInfoItem& o);
  friend void from_json(const nlohmann::json& j, InterfaceUpfInfoItem& o);

Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
88
 protected:
89
90
  // UPInterfaceType m_InterfaceType;
  std::string m_InterfaceType;
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
91

Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
92
93
94
95
96
97
98
99
  std::vector<std::string> m_Ipv4EndpointAddresses;
  bool m_Ipv4EndpointAddressesIsSet;
  std::vector<Ipv6Addr> m_Ipv6EndpointAddresses;
  bool m_Ipv6EndpointAddressesIsSet;
  std::string m_EndpointFqdn;
  bool m_EndpointFqdnIsSet;
  std::string m_NetworkInstance;
  bool m_NetworkInstanceIsSet;
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
100
101
};

Raphael Defosseux's avatar
Raphael Defosseux committed
102
103
104
}  // namespace model
}  // namespace nrf
}  // namespace oai
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
105
106

#endif /* InterfaceUpfInfoItem_H_ */