Golos
Разработчикам Статистика Баунти Документация Партнеры Github
Public Member Functions | Public Attributes | List of all members
golos::application::discussion_query Class Reference

The discussion_query structure implements the RPC API param set. Defines the arguments to a query as a struct so it can be easily extended. More...

#include <discussion_query.hpp>

Public Member Functions

void validate () const
 

Public Attributes

uint32_t limit = 0
 the discussions return amount top limit More...
 
std::set< std::string > select_authors
 list of authors to select More...
 
std::set< std::string > select_tags
 list of tags to include, posts without these tags are filtered More...
 
std::set< std::string > filter_tags
 list of tags to exclude, posts with these tags are filtered; More...
 
uint32_t truncate_body = 0
 the amount of bytes of the post body to return, 0 for all More...
 
optional< std::string > start_author
 the author of discussion to start searching from More...
 
optional< std::string > start_permlink
 the permlink of discussion to start searching from More...
 
optional< std::string > parent_author
 the author of parent discussion More...
 
optional< std::string > parent_permlink
 the permlink of parent discussion More...
 
std::set< std::string > select_languages
 list of language to select More...
 
std::set< std::string > filter_languages
 list of language to filter More...
 

Detailed Description

The discussion_query structure implements the RPC API param set. Defines the arguments to a query as a struct so it can be easily extended.

Definition at line 23 of file discussion_query.hpp.

Member Function Documentation

◆ validate()

void golos::application::discussion_query::validate ( ) const
inline

Definition at line 25 of file discussion_query.hpp.

Member Data Documentation

◆ filter_languages

std::set<std::string> golos::application::discussion_query::filter_languages

list of language to filter

Definition at line 47 of file discussion_query.hpp.

◆ filter_tags

std::set<std::string> golos::application::discussion_query::filter_tags

list of tags to exclude, posts with these tags are filtered;

Definition at line 40 of file discussion_query.hpp.

◆ limit

uint32_t golos::application::discussion_query::limit = 0

the discussions return amount top limit

Definition at line 37 of file discussion_query.hpp.

◆ parent_author

optional<std::string> golos::application::discussion_query::parent_author

the author of parent discussion

Definition at line 44 of file discussion_query.hpp.

◆ parent_permlink

optional<std::string> golos::application::discussion_query::parent_permlink

the permlink of parent discussion

Definition at line 45 of file discussion_query.hpp.

◆ select_authors

std::set<std::string> golos::application::discussion_query::select_authors

list of authors to select

Definition at line 38 of file discussion_query.hpp.

◆ select_languages

std::set<std::string> golos::application::discussion_query::select_languages

list of language to select

Definition at line 46 of file discussion_query.hpp.

◆ select_tags

std::set<std::string> golos::application::discussion_query::select_tags

list of tags to include, posts without these tags are filtered

Definition at line 39 of file discussion_query.hpp.

◆ start_author

optional<std::string> golos::application::discussion_query::start_author

the author of discussion to start searching from

Definition at line 42 of file discussion_query.hpp.

◆ start_permlink

optional<std::string> golos::application::discussion_query::start_permlink

the permlink of discussion to start searching from

Definition at line 43 of file discussion_query.hpp.

◆ truncate_body

uint32_t golos::application::discussion_query::truncate_body = 0

the amount of bytes of the post body to return, 0 for all

Definition at line 41 of file discussion_query.hpp.


The documentation for this class was generated from the following file: