text: /**
   * Swaggy Jenkins
   * Jenkins API clients generated from Swagger / Open API specification
   *
   * OpenAPI spec version: 1.1.1
   * Contact: blah@cliffano.com
   *
   * NOTE: This class is auto generated by OpenAPI-Generator 3.2.1-SNAPSHOT.
   * https://openapi-generator.tech
   * Do not edit the class manually.
   */
  
  
  
  #include "PipelineRunartifacts.h"
  
  #include <string>
  #include <sstream>
  #include <boost/property_tree/ptree.hpp>
  #include <boost/property_tree/json_parser.hpp>
  
  using boost::property_tree::ptree;
  using boost::property_tree::read_json;
  using boost::property_tree::write_json;
  
  namespace org {
  namespace openapitools {
  namespace server {
  namespace model {
  
  PipelineRunartifacts::PipelineRunartifacts()
  {
      m_Name = "";
      m_Size = 0;
      m_Url = "";
      m__class = "";
      
  }
  
  PipelineRunartifacts::~PipelineRunartifacts()
  {
  }
  
  std::string PipelineRunartifacts::toJsonString()
  {
  	std::stringstream ss;
  	ptree pt;
  	pt.put("Name", m_Name);
  	pt.put("Size", m_Size);
  	pt.put("Url", m_Url);
  	pt.put("_class", m__class);
  	write_json(ss, pt, false);
  	return ss.str();
  }
  
  void PipelineRunartifacts::fromJsonString(std::string const& jsonString)
  {
  	std::stringstream ss(jsonString);
  	ptree pt;
  	read_json(ss,pt);
  	m_Name = pt.get("Name", "");
  	m_Size = pt.get("Size", 0);
  	m_Url = pt.get("Url", "");
  	m__class = pt.get("_class", "");
  }
  
  std::string PipelineRunartifacts::getName() const
  {
      return m_Name;
  }
  void PipelineRunartifacts::setName(std::string value)
  {
      m_Name = value;
  }
  int32_t PipelineRunartifacts::getSize() const
  {
      return m_Size;
  }
  void PipelineRunartifacts::setSize(int32_t value)
  {
      m_Size = value;
  }
  std::string PipelineRunartifacts::getUrl() const
  {
      return m_Url;
  }
  void PipelineRunartifacts::setUrl(std::string value)
  {
      m_Url = value;
  }
  std::string PipelineRunartifacts::getClass() const
  {
      return m__class;
  }
  void PipelineRunartifacts::setClass(std::string value)
  {
      m__class = value;
  }
  
  }
  }
  }
  }
  
  