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


#include "SearchComparison.h"

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

SearchComparison::SearchComparison()
{
    m_Tag = "";
    m_Value = "";
    
}

SearchComparison::~SearchComparison()
{
}

void SearchComparison::validate()
{
    // TODO: implement validation
}

void to_json(nlohmann::json& j, const SearchComparison& o)
{
    j = nlohmann::json();
    j["op"] = o.m_Op;
    j["tag"] = o.m_Tag;
    j["value"] = o.m_Value;
}

void from_json(const nlohmann::json& j, SearchComparison& o)
{
    j.at("op").get_to(o.m_Op);
    j.at("tag").get_to(o.m_Tag);
    j.at("value").get_to(o.m_Value);
}

ComparisonOperator SearchComparison::getOp() const
{
    return m_Op;
}
void SearchComparison::setOp(ComparisonOperator const& value)
{
    m_Op = value;
}
std::string SearchComparison::getTag() const
{
    return m_Tag;
}
void SearchComparison::setTag(std::string const& value)
{
    m_Tag = value;
}
std::string SearchComparison::getValue() const
{
    return m_Value;
}
void SearchComparison::setValue(std::string const& value)
{
    m_Value = value;
}

}
}
}
}

