TimeWindow.h 1.36 KB
Newer Older
yangjian's avatar
yangjian committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
/**
* 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.
*/
/*
 * TimeWindow.h
 *
 * 
 */

#ifndef TimeWindow_H_
#define TimeWindow_H_


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

Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
25
namespace oai::udr::model {
yangjian's avatar
yangjian committed
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61

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

    void validate();

    /////////////////////////////////////////////
    /// TimeWindow members

    /// <summary>
    /// string with format \&quot;date-time\&quot; as defined in OpenAPI.
    /// </summary>
    std::string getStartTime() const;
    void setStartTime(std::string const& value);
    /// <summary>
    /// string with format \&quot;date-time\&quot; as defined in OpenAPI.
    /// </summary>
    std::string getStopTime() const;
    void setStopTime(std::string const& value);

    friend void to_json(nlohmann::json& j, const TimeWindow& o);
    friend void from_json(const nlohmann::json& j, TimeWindow& o);
protected:
    std::string m_StartTime;

    std::string m_StopTime;

};

}
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
62 63 64



yangjian's avatar
yangjian committed
65 66

#endif /* TimeWindow_H_ */