/**
* Nudsf_DataRepository
* Nudsf Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. 
*
* The version of the OpenAPI document: 1.1.0-alpha.2
* 
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/*
 * SearchComparison.h
 *
 * A comparison to apply on tag/values pairs.
 */

#ifndef SearchComparison_H_
#define SearchComparison_H_


#include <string>
#include "ComparisonOperator.h"
#include <nlohmann/json.hpp>

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

/// <summary>
/// A comparison to apply on tag/values pairs.
/// </summary>
class  SearchComparison
{
public:
    SearchComparison();
    virtual ~SearchComparison();

    void validate();

    /////////////////////////////////////////////
    /// SearchComparison members

    /// <summary>
    /// 
    /// </summary>
    ComparisonOperator getOp() const;
    void setOp(ComparisonOperator const& value);
    /// <summary>
    /// 
    /// </summary>
    std::string getTag() const;
    void setTag(std::string const& value);
    /// <summary>
    /// 
    /// </summary>
    std::string getValue() const;
    void setValue(std::string const& value);

    friend void to_json(nlohmann::json& j, const SearchComparison& o);
    friend void from_json(const nlohmann::json& j, SearchComparison& o);
protected:
    ComparisonOperator m_Op;

    std::string m_Tag;

    std::string m_Value;

};

}
}
}
}

#endif /* SearchComparison_H_ */
