Monero C++ Library
Loading...
Searching...
No Matches
monero::monero_daemon_update_download_result Struct Reference

#include <monero_daemon_model.h>

Inheritance diagram for monero::monero_daemon_update_download_result:
monero::monero_daemon_update_check_result monero::serializable_struct

Public Member Functions

rapidjson::Value to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const override
 
- Public Member Functions inherited from monero::serializable_struct
std::string serialize () const
 

Static Public Member Functions

static void from_property_tree (const boost::property_tree::ptree &node, const std::shared_ptr< monero_daemon_update_download_result > &check)
 
- Static Public Member Functions inherited from monero::monero_daemon_update_check_result
static void from_property_tree (const boost::property_tree::ptree &node, const std::shared_ptr< monero_daemon_update_check_result > &check)
 

Public Attributes

boost::optional< std::string > m_download_path
 
- Public Attributes inherited from monero::monero_daemon_update_check_result
boost::optional< bool > m_is_update_available
 
boost::optional< std::string > m_version
 
boost::optional< std::string > m_hash
 
boost::optional< std::string > m_auto_uri
 
boost::optional< std::string > m_user_uri
 

Detailed Description

Models the result of downloading an update.

Member Function Documentation

◆ to_rapidjson_val()

rapidjson::Value monero::monero_daemon_update_download_result::to_rapidjson_val ( rapidjson::Document::AllocatorType & allocator) const
overridevirtual

Converts the struct to a rapidjson Value.

Parameters
allocatoris the rapidjson document allocator
Returns
the struct as a rapidjson Value

Reimplemented from monero::monero_daemon_update_check_result.


The documentation for this struct was generated from the following files: