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

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

Inline_response_200::Inline_response_200()
{
    m_BlocksIsSet = false;
    
}

Inline_response_200::~Inline_response_200()
{
}

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

void to_json(nlohmann::json& j, const Inline_response_200& o)
{
    j = nlohmann::json();
   // if(o.blocksIsSet() || !o.m_Blocks.empty())
      //  j["blocks"] = o.m_Blocks;
}

void from_json(const nlohmann::json& j, Inline_response_200& o)
{
    if(j.find("blocks") != j.end())
    {
       // j.at("blocks").get_to(o.m_Blocks);
       // o.m_BlocksIsSet = true;
    } 
}

// std::vector<AnyType>& Inline_response_200::getBlocks()
// {
//     return m_Blocks;
// }
// void Inline_response_200::setBlocks(std::vector<AnyType> const& value)
// {
//     m_Blocks = value;
//     m_BlocksIsSet = true;
// }
bool Inline_response_200::blocksIsSet() const
{
    return m_BlocksIsSet;
}
void Inline_response_200::unsetBlocks()
{
    m_BlocksIsSet = false;
}

}
}
}
}

