hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
shared_model::proto::AssetPaginationMeta Class Referencefinal

Provides query metadata for AccountAsset list pagination. More...

#include "proto_asset_pagination_meta.hpp"

Inheritance diagram for shared_model::proto::AssetPaginationMeta:
Inheritance graph
Collaboration diagram for shared_model::proto::AssetPaginationMeta:
Collaboration graph

Public Member Functions

 AssetPaginationMeta (const TransportType &query)
 
 AssetPaginationMeta (TransportType &&query)
 
 AssetPaginationMeta (const AssetPaginationMeta &o)
 
 AssetPaginationMeta (AssetPaginationMeta &&o) noexcept
 
interface::types::TransactionsNumberType pageSize () const override
 Get the requested page size. More...
 
boost::optional< interface::types::AssetIdTypefirstAssetId () const override
 Get the first requested asset, if provided. More...
 
- Public Member Functions inherited from shared_model::proto::TrivialProto< interface::AssetPaginationMeta, iroha::protocol::AssetPaginationMeta >
 TrivialProto (ProtoLoader &&ref)
 
const iroha::protocol::AssetPaginationMeta & getTransport () const
 
- Public Member Functions inherited from shared_model::interface::AssetPaginationMeta
std::string toString () const override
 
bool operator== (const ModelType &rhs) const override
 
- Public Member Functions inherited from shared_model::interface::ModelPrimitive< AssetPaginationMeta >
virtual bool operator!= (const ModelType &rhs) const
 
virtual ~ModelPrimitive ()=default
 

Additional Inherited Members

- Public Types inherited from shared_model::proto::TrivialProto< interface::AssetPaginationMeta, iroha::protocol::AssetPaginationMeta >
using TransportType = iroha::protocol::AssetPaginationMeta
 
- Public Types inherited from shared_model::interface::ModelPrimitive< AssetPaginationMeta >
using ModelType = AssetPaginationMeta
 
- Protected Attributes inherited from shared_model::proto::TrivialProto< interface::AssetPaginationMeta, iroha::protocol::AssetPaginationMeta >
detail::ReferenceHolder< iroha::protocol::AssetPaginationMeta > proto_
 

Detailed Description

Provides query metadata for AccountAsset list pagination.

Constructor & Destructor Documentation

AssetPaginationMeta::AssetPaginationMeta ( const TransportType query)
explicit
AssetPaginationMeta::AssetPaginationMeta ( TransportType &&  query)
explicit
AssetPaginationMeta::AssetPaginationMeta ( const AssetPaginationMeta o)
AssetPaginationMeta::AssetPaginationMeta ( AssetPaginationMeta &&  o)
noexcept

Member Function Documentation

boost::optional< types::AssetIdType > AssetPaginationMeta::firstAssetId ( ) const
overridevirtual

Get the first requested asset, if provided.

Implements shared_model::interface::AssetPaginationMeta.

types::TransactionsNumberType AssetPaginationMeta::pageSize ( ) const
overridevirtual

Get the requested page size.

Implements shared_model::interface::AssetPaginationMeta.


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