Fledge
An open source edge computing platform for industrial users
ACL::ACLReason Class Reference

This class represents the ACL security change request. More...

#include <acl.h>

Public Member Functions

 ACLReason (const std::string &reason)
 ACLReason constructor: parse input JSON for ACL change reason. More...
 
const std::string & getReason ()
 
const std::string & getArgument ()
 

Detailed Description

This class represents the ACL security change request.

Parsed JSON should have string attributes 'reason' and 'argument'

Constructor & Destructor Documentation

◆ ACLReason()

ACL::ACLReason::ACLReason ( const std::string &  reason)

ACLReason constructor: parse input JSON for ACL change reason.

JSON should have string attributes 'reason' and 'argument'

Parameters
jsonThe JSON reason string to parse
Exceptions
exceptionACLReasonMalformed

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