/**
 * 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.
 */
/*
 * TemporalValidity.h
 *
 * Indicates the time interval(s) during which the AF request is to be applied
 */

#ifndef TemporalValidity_H_
#define TemporalValidity_H_

#include <nlohmann/json.hpp>
#include <string>

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

/// <summary>
/// Indicates the time interval(s) during which the AF request is to be applied
/// </summary>
class TemporalValidity {
public:
  TemporalValidity();
  virtual ~TemporalValidity();

  void validate();

  /////////////////////////////////////////////
  /// TemporalValidity members

  /// <summary>
  ///
  /// </summary>
  std::string getStartTime() const;
  void setStartTime(std::string const &value);
  bool startTimeIsSet() const;
  void unsetStartTime();
  /// <summary>
  ///
  /// </summary>
  std::string getStopTime() const;
  void setStopTime(std::string const &value);
  bool stopTimeIsSet() const;
  void unsetStopTime();

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

protected:
  std::string m_StartTime;
  bool m_StartTimeIsSet;
  std::string m_StopTime;
  bool m_StopTimeIsSet;
};

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

#endif /* TemporalValidity_H_ */
