Iroha - A simple, decentralized ledger http://iroha.tech
iroha::model::RevokePermission Struct Reference

#include "revoke_permission.hpp"

Inheritance diagram for iroha::model::RevokePermission:
Inheritance graph
Collaboration diagram for iroha::model::RevokePermission:
Collaboration graph

Public Member Functions

bool operator== (const Command &command) const override
 RevokePermission ()
 RevokePermission (const std::string &account_id_, const std::string &permission_name_)
- Public Member Functions inherited from iroha::model::Command
virtual ~Command ()=default
virtual bool operator!= (const Command &rhs) const

Public Attributes

std::string account_id
std::string permission_name

Detailed Description

Revoke permission granted before by creator to account_id

Constructor & Destructor Documentation

iroha::model::RevokePermission::RevokePermission ( )
iroha::model::RevokePermission::RevokePermission ( const std::string &  account_id_,
const std::string &  permission_name_ 

Member Function Documentation

bool iroha::model::RevokePermission::operator== ( const Command command) const

Implements iroha::model::Command.

Member Data Documentation

std::string iroha::model::RevokePermission::account_id

Account from which grant permission

std::string iroha::model::RevokePermission::permission_name

Permission to revoke

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