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

#ifndef AppPortId_H_
#define AppPortId_H_

#include <nlohmann/json.hpp>

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

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

  void validate();

  /////////////////////////////////////////////
  /// AppPortId members

  /// <summary>
  ///
  /// </summary>
  int32_t getDestinationPort() const;
  void setDestinationPort(int32_t const value);
  bool destinationPortIsSet() const;
  void unsetDestinationPort();
  /// <summary>
  ///
  /// </summary>
  int32_t getOriginatorPort() const;
  void setOriginatorPort(int32_t const value);
  bool originatorPortIsSet() const;
  void unsetOriginatorPort();

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

protected:
  int32_t m_DestinationPort;
  bool m_DestinationPortIsSet;
  int32_t m_OriginatorPort;
  bool m_OriginatorPortIsSet;
};

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

#endif /* AppPortId_H_ */
