Lines Matching full:json

22 #include <nlohmann/json.hpp>
43 static nlohmann::json::object_t getLog(redfish::registries::Base::Index name, in getLog()
57 * @brief Formats Success message into JSON
62 nlohmann::json::object_t success() in success()
74 * @brief Formats GeneralError message into JSON
79 nlohmann::json::object_t generalError() in generalError()
92 * @brief Formats Created message into JSON
97 nlohmann::json::object_t created() in created()
110 * @brief Formats NoOperation message into JSON
115 nlohmann::json::object_t noOperation() in noOperation()
128 * @brief Formats PropertyDuplicate message into JSON
133 nlohmann::json::object_t propertyDuplicate(std::string_view arg1) in propertyDuplicate()
147 * @brief Formats PropertyUnknown message into JSON
152 nlohmann::json::object_t propertyUnknown(std::string_view arg1) in propertyUnknown()
166 * @brief Formats PropertyValueTypeError message into JSON
171 nlohmann::json::object_t propertyValueTypeError(const nlohmann::json& arg1, in propertyValueTypeError()
175 arg1.dump(-1, ' ', true, nlohmann::json::error_handler_t::replace); in propertyValueTypeError()
180 void propertyValueTypeError(crow::Response& res, const nlohmann::json& arg1, in propertyValueTypeError()
189 * @brief Formats PropertyValueFormatError message into JSON
194 nlohmann::json::object_t propertyValueFormatError(const nlohmann::json& arg1, in propertyValueFormatError()
198 arg1.dump(-1, ' ', true, nlohmann::json::error_handler_t::replace); in propertyValueFormatError()
203 void propertyValueFormatError(crow::Response& res, const nlohmann::json& arg1, in propertyValueFormatError()
212 * @brief Formats PropertyValueNotInList message into JSON
217 nlohmann::json::object_t propertyValueNotInList(const nlohmann::json& arg1, in propertyValueNotInList()
221 arg1.dump(-1, ' ', true, nlohmann::json::error_handler_t::replace); in propertyValueNotInList()
226 void propertyValueNotInList(crow::Response& res, const nlohmann::json& arg1, in propertyValueNotInList()
235 * @brief Formats PropertyValueOutOfRange message into JSON
240 nlohmann::json::object_t propertyValueOutOfRange(const nlohmann::json& arg1, in propertyValueOutOfRange()
244 arg1.dump(-1, ' ', true, nlohmann::json::error_handler_t::replace); in propertyValueOutOfRange()
249 void propertyValueOutOfRange(crow::Response& res, const nlohmann::json& arg1, in propertyValueOutOfRange()
258 * @brief Formats PropertyValueError message into JSON
263 nlohmann::json::object_t propertyValueError(std::string_view arg1) in propertyValueError()
277 * @brief Formats PropertyNotWritable message into JSON
282 nlohmann::json::object_t propertyNotWritable(std::string_view arg1) in propertyNotWritable()
296 * @brief Formats PropertyNotUpdated message into JSON
301 nlohmann::json::object_t propertyNotUpdated(std::string_view arg1) in propertyNotUpdated()
315 * @brief Formats PropertyMissing message into JSON
320 nlohmann::json::object_t propertyMissing(std::string_view arg1) in propertyMissing()
334 * @brief Formats MalformedJSON message into JSON
339 nlohmann::json::object_t malformedJSON() in malformedJSON()
352 * @brief Formats InvalidJSON message into JSON
357 nlohmann::json::object_t invalidJSON(std::string_view arg1) in invalidJSON()
371 * @brief Formats EmptyJSON message into JSON
376 nlohmann::json::object_t emptyJSON() in emptyJSON()
389 * @brief Formats ActionNotSupported message into JSON
394 nlohmann::json::object_t actionNotSupported(std::string_view arg1) in actionNotSupported()
408 * @brief Formats ActionParameterMissing message into JSON
413 nlohmann::json::object_t actionParameterMissing(std::string_view arg1, in actionParameterMissing()
429 * @brief Formats ActionParameterDuplicate message into JSON
434 nlohmann::json::object_t actionParameterDuplicate(std::string_view arg1, in actionParameterDuplicate()
450 * @brief Formats ActionParameterUnknown message into JSON
455 nlohmann::json::object_t actionParameterUnknown(std::string_view arg1, in actionParameterUnknown()
471 * @brief Formats ActionParameterValueTypeError message into JSON
476 nlohmann::json::object_t actionParameterValueTypeError( in actionParameterValueTypeError()
477 const nlohmann::json& arg1, std::string_view arg2, std::string_view arg3) in actionParameterValueTypeError()
480 arg1.dump(-1, ' ', true, nlohmann::json::error_handler_t::replace); in actionParameterValueTypeError()
487 const nlohmann::json& arg1, in actionParameterValueTypeError()
497 * @brief Formats ActionParameterValueFormatError message into JSON
502 nlohmann::json::object_t actionParameterValueFormatError( in actionParameterValueFormatError()
503 const nlohmann::json& arg1, std::string_view arg2, std::string_view arg3) in actionParameterValueFormatError()
506 arg1.dump(-1, ' ', true, nlohmann::json::error_handler_t::replace); in actionParameterValueFormatError()
513 crow::Response& res, const nlohmann::json& arg1, std::string_view arg2, in actionParameterValueFormatError()
523 * @brief Formats ActionParameterValueNotInList message into JSON
528 nlohmann::json::object_t actionParameterValueNotInList( in actionParameterValueNotInList()
546 * @brief Formats ActionParameterValueOutOfRange message into JSON
551 nlohmann::json::object_t actionParameterValueOutOfRange( in actionParameterValueOutOfRange()
570 * @brief Formats ActionParameterValueError message into JSON
575 nlohmann::json::object_t actionParameterValueError(const nlohmann::json& arg1, in actionParameterValueError()
579 arg1.dump(-1, ' ', true, nlohmann::json::error_handler_t::replace); in actionParameterValueError()
584 void actionParameterValueError(crow::Response& res, const nlohmann::json& arg1, in actionParameterValueError()
593 * @brief Formats ActionParameterNotSupported message into JSON
598 nlohmann::json::object_t actionParameterNotSupported(std::string_view arg1, in actionParameterNotSupported()
615 * @brief Formats ArraySizeTooLong message into JSON
620 nlohmann::json::object_t arraySizeTooLong(std::string_view arg1, uint64_t arg2) in arraySizeTooLong()
635 * @brief Formats ArraySizeTooShort message into JSON
640 nlohmann::json::object_t arraySizeTooShort(std::string_view arg1, in arraySizeTooShort()
656 * @brief Formats QueryParameterValueTypeError message into JSON
661 nlohmann::json::object_t queryParameterValueTypeError( in queryParameterValueTypeError()
662 const nlohmann::json& arg1, std::string_view arg2) in queryParameterValueTypeError()
665 arg1.dump(-1, ' ', true, nlohmann::json::error_handler_t::replace); in queryParameterValueTypeError()
672 crow::Response& res, const nlohmann::json& arg1, std::string_view arg2) in queryParameterValueTypeError()
681 * @brief Formats QueryParameterValueFormatError message into JSON
686 nlohmann::json::object_t queryParameterValueFormatError( in queryParameterValueFormatError()
687 const nlohmann::json& arg1, std::string_view arg2) in queryParameterValueFormatError()
690 arg1.dump(-1, ' ', true, nlohmann::json::error_handler_t::replace); in queryParameterValueFormatError()
697 crow::Response& res, const nlohmann::json& arg1, std::string_view arg2) in queryParameterValueFormatError()
706 * @brief Formats QueryParameterValueError message into JSON
711 nlohmann::json::object_t queryParameterValueError(std::string_view arg1) in queryParameterValueError()
725 * @brief Formats QueryParameterOutOfRange message into JSON
730 nlohmann::json::object_t queryParameterOutOfRange( in queryParameterOutOfRange()
747 * @brief Formats QueryNotSupportedOnResource message into JSON
752 nlohmann::json::object_t queryNotSupportedOnResource() in queryNotSupportedOnResource()
766 * @brief Formats QueryNotSupportedOnOperation message into JSON
771 nlohmann::json::object_t queryNotSupportedOnOperation() in queryNotSupportedOnOperation()
785 * @brief Formats QueryNotSupported message into JSON
790 nlohmann::json::object_t queryNotSupported() in queryNotSupported()
803 * @brief Formats QueryCombinationInvalid message into JSON
808 nlohmann::json::object_t queryCombinationInvalid() in queryCombinationInvalid()
822 * @brief Formats QueryParameterUnsupported message into JSON
827 nlohmann::json::object_t queryParameterUnsupported(std::string_view arg1) in queryParameterUnsupported()
841 * @brief Formats SessionLimitExceeded message into JSON
846 nlohmann::json::object_t sessionLimitExceeded() in sessionLimitExceeded()
859 * @brief Formats EventSubscriptionLimitExceeded message into JSON
864 nlohmann::json::object_t eventSubscriptionLimitExceeded() in eventSubscriptionLimitExceeded()
878 * @brief Formats ResourceCannotBeDeleted message into JSON
883 nlohmann::json::object_t resourceCannotBeDeleted() in resourceCannotBeDeleted()
897 * @brief Formats ResourceInUse message into JSON
902 nlohmann::json::object_t resourceInUse() in resourceInUse()
915 * @brief Formats ResourceAlreadyExists message into JSON
920 nlohmann::json::object_t resourceAlreadyExists( in resourceAlreadyExists()
937 * @brief Formats ResourceNotFound message into JSON
942 nlohmann::json::object_t resourceNotFound(std::string_view arg1, in resourceNotFound()
958 * @brief Formats PayloadTooLarge message into JSON
963 nlohmann::json::object_t payloadTooLarge() in payloadTooLarge()
976 * @brief Formats InsufficientStorage message into JSON
981 nlohmann::json::object_t insufficientStorage() in insufficientStorage()
994 * @brief Formats MissingOrMalformedPart message into JSON
999 nlohmann::json::object_t missingOrMalformedPart() in missingOrMalformedPart()
1012 * @brief Formats InvalidURI message into JSON
1017 nlohmann::json::object_t invalidURI(std::string_view arg1) in invalidURI()
1031 * @brief Formats CreateFailedMissingReqProperties message into JSON
1036 nlohmann::json::object_t createFailedMissingReqProperties(std::string_view arg1) in createFailedMissingReqProperties()
1053 * @brief Formats CreateLimitReachedForResource message into JSON
1058 nlohmann::json::object_t createLimitReachedForResource() in createLimitReachedForResource()
1072 * @brief Formats ServiceShuttingDown message into JSON
1077 nlohmann::json::object_t serviceShuttingDown() in serviceShuttingDown()
1090 * @brief Formats ServiceInUnknownState message into JSON
1095 nlohmann::json::object_t serviceInUnknownState() in serviceInUnknownState()
1108 * @brief Formats NoValidSession message into JSON
1113 nlohmann::json::object_t noValidSession() in noValidSession()
1126 * @brief Formats InsufficientPrivilege message into JSON
1131 nlohmann::json::object_t insufficientPrivilege() in insufficientPrivilege()
1144 * @brief Formats AccountModified message into JSON
1149 nlohmann::json::object_t accountModified() in accountModified()
1162 * @brief Formats AccountNotModified message into JSON
1167 nlohmann::json::object_t accountNotModified() in accountNotModified()
1180 * @brief Formats AccountRemoved message into JSON
1185 nlohmann::json::object_t accountRemoved() in accountRemoved()
1198 * @brief Formats AccountForSessionNoLongerExists message into JSON
1203 nlohmann::json::object_t accountForSessionNoLongerExists() in accountForSessionNoLongerExists()
1217 * @brief Formats InvalidObject message into JSON
1222 nlohmann::json::object_t invalidObject(const boost::urls::url_view_base& arg1) in invalidObject()
1236 * @brief Formats InternalError message into JSON
1241 nlohmann::json::object_t internalError() in internalError()
1257 * @brief Formats UnrecognizedRequestBody message into JSON
1262 nlohmann::json::object_t unrecognizedRequestBody() in unrecognizedRequestBody()
1276 * @brief Formats ResourceMissingAtURI message into JSON
1281 nlohmann::json::object_t resourceMissingAtURI( in resourceMissingAtURI()
1297 * @brief Formats ResourceAtUriInUnknownFormat message into JSON
1302 nlohmann::json::object_t resourceAtUriInUnknownFormat( in resourceAtUriInUnknownFormat()
1319 * @brief Formats ResourceAtUriUnauthorized message into JSON
1324 nlohmann::json::object_t resourceAtUriUnauthorized( in resourceAtUriUnauthorized()
1341 * @brief Formats CouldNotEstablishConnection message into JSON
1346 nlohmann::json::object_t couldNotEstablishConnection( in couldNotEstablishConnection()
1362 * @brief Formats SourceDoesNotSupportProtocol message into JSON
1367 nlohmann::json::object_t sourceDoesNotSupportProtocol( in sourceDoesNotSupportProtocol()
1386 * @brief Formats AccessDenied message into JSON
1391 nlohmann::json::object_t accessDenied(const boost::urls::url_view_base& arg1) in accessDenied()
1405 * @brief Formats ServiceTemporarilyUnavailable message into JSON
1410 nlohmann::json::object_t serviceTemporarilyUnavailable(std::string_view arg1) in serviceTemporarilyUnavailable()
1426 * @brief Formats InvalidIndex message into JSON
1431 nlohmann::json::object_t invalidIndex(uint64_t arg1) in invalidIndex()
1446 * @brief Formats PropertyValueModified message into JSON
1451 nlohmann::json::object_t propertyValueModified(std::string_view arg1, in propertyValueModified()
1452 const nlohmann::json& arg2) in propertyValueModified()
1455 arg2.dump(-1, ' ', true, nlohmann::json::error_handler_t::replace); in propertyValueModified()
1461 const nlohmann::json& arg2) in propertyValueModified()
1469 * @brief Formats ResourceInStandby message into JSON
1474 nlohmann::json::object_t resourceInStandby() in resourceInStandby()
1487 * @brief Formats ResourceExhaustion message into JSON
1492 nlohmann::json::object_t resourceExhaustion(std::string_view arg1) in resourceExhaustion()
1506 * @brief Formats StringValueTooLong message into JSON
1511 nlohmann::json::object_t stringValueTooLong(std::string_view arg1, in stringValueTooLong()
1528 * @brief Formats StringValueTooShort message into JSON
1533 nlohmann::json::object_t stringValueTooShort(std::string_view arg1, in stringValueTooShort()
1549 * @brief Formats SessionTerminated message into JSON
1554 nlohmann::json::object_t sessionTerminated() in sessionTerminated()
1567 * @brief Formats SubscriptionTerminated message into JSON
1572 nlohmann::json::object_t subscriptionTerminated() in subscriptionTerminated()
1585 * @brief Formats ResourceTypeIncompatible message into JSON
1590 nlohmann::json::object_t resourceTypeIncompatible(std::string_view arg1, in resourceTypeIncompatible()
1606 * @brief Formats PasswordChangeRequired message into JSON
1611 nlohmann::json::object_t passwordChangeRequired( in passwordChangeRequired()
1626 * @brief Formats ResetRequired message into JSON
1631 nlohmann::json::object_t resetRequired(const boost::urls::url_view_base& arg1, in resetRequired()
1647 * @brief Formats ResetRecommended message into JSON
1652 nlohmann::json::object_t resetRecommended(std::string_view arg1, in resetRecommended()
1668 * @brief Formats ChassisPowerStateOnRequired message into JSON
1673 nlohmann::json::object_t chassisPowerStateOnRequired(std::string_view arg1) in chassisPowerStateOnRequired()
1687 * @brief Formats ChassisPowerStateOffRequired message into JSON
1692 nlohmann::json::object_t chassisPowerStateOffRequired(std::string_view arg1) in chassisPowerStateOffRequired()
1707 * @brief Formats PropertyValueConflict message into JSON
1712 nlohmann::json::object_t propertyValueConflict(std::string_view arg1, in propertyValueConflict()
1728 * @brief Formats PropertyValueResourceConflict message into JSON
1733 nlohmann::json::object_t propertyValueResourceConflict( in propertyValueResourceConflict()
1734 std::string_view arg1, const nlohmann::json& arg2, in propertyValueResourceConflict()
1738 arg2.dump(-1, ' ', true, nlohmann::json::error_handler_t::replace); in propertyValueResourceConflict()
1745 const nlohmann::json& arg2, in propertyValueResourceConflict()
1755 * @brief Formats PropertyValueExternalConflict message into JSON
1760 nlohmann::json::object_t propertyValueExternalConflict( in propertyValueExternalConflict()
1761 std::string_view arg1, const nlohmann::json& arg2) in propertyValueExternalConflict()
1764 arg2.dump(-1, ' ', true, nlohmann::json::error_handler_t::replace); in propertyValueExternalConflict()
1771 const nlohmann::json& arg2) in propertyValueExternalConflict()
1780 * @brief Formats PropertyValueIncorrect message into JSON
1785 nlohmann::json::object_t propertyValueIncorrect(std::string_view arg1, in propertyValueIncorrect()
1786 const nlohmann::json& arg2) in propertyValueIncorrect()
1789 arg2.dump(-1, ' ', true, nlohmann::json::error_handler_t::replace); in propertyValueIncorrect()
1795 const nlohmann::json& arg2) in propertyValueIncorrect()
1803 * @brief Formats ResourceCreationConflict message into JSON
1808 nlohmann::json::object_t resourceCreationConflict( in resourceCreationConflict()
1824 * @brief Formats ActionParameterValueConflict message into JSON
1829 nlohmann::json::object_t actionParameterValueConflict(std::string_view arg1, in actionParameterValueConflict()
1847 * @brief Formats MaximumErrorsExceeded message into JSON
1852 nlohmann::json::object_t maximumErrorsExceeded() in maximumErrorsExceeded()
1865 * @brief Formats PreconditionFailed message into JSON
1870 nlohmann::json::object_t preconditionFailed() in preconditionFailed()
1883 * @brief Formats PreconditionRequired message into JSON
1888 nlohmann::json::object_t preconditionRequired() in preconditionRequired()
1901 * @brief Formats HeaderMissing message into JSON
1906 nlohmann::json::object_t headerMissing(std::string_view arg1) in headerMissing()
1920 * @brief Formats HeaderInvalid message into JSON
1925 nlohmann::json::object_t headerInvalid(std::string_view arg1) in headerInvalid()
1939 * @brief Formats OperationFailed message into JSON
1944 nlohmann::json::object_t operationFailed() in operationFailed()
1957 * @brief Formats OperationTimeout message into JSON
1962 nlohmann::json::object_t operationTimeout() in operationTimeout()
1975 * @brief Formats OperationNotAllowed message into JSON
1980 nlohmann::json::object_t operationNotAllowed() in operationNotAllowed()
1993 * @brief Formats UndeterminedFault message into JSON
1998 nlohmann::json::object_t undeterminedFault(std::string_view arg1) in undeterminedFault()
2012 * @brief Formats ConditionInRelatedResource message into JSON
2017 nlohmann::json::object_t conditionInRelatedResource() in conditionInRelatedResource()
2031 * @brief Formats RestrictedRole message into JSON
2036 nlohmann::json::object_t restrictedRole(std::string_view arg1) in restrictedRole()
2050 * @brief Formats RestrictedPrivilege message into JSON
2055 nlohmann::json::object_t restrictedPrivilege(std::string_view arg1) in restrictedPrivilege()
2069 * @brief Formats StrictAccountTypes message into JSON
2074 nlohmann::json::object_t strictAccountTypes(std::string_view arg1) in strictAccountTypes()
2088 * @brief Formats PropertyDeprecated message into JSON
2093 nlohmann::json::object_t propertyDeprecated(std::string_view arg1) in propertyDeprecated()
2107 * @brief Formats ResourceDeprecated message into JSON
2112 nlohmann::json::object_t resourceDeprecated(std::string_view arg1) in resourceDeprecated()
2126 * @brief Formats PropertyValueDeprecated message into JSON
2131 nlohmann::json::object_t propertyValueDeprecated(std::string_view arg1, in propertyValueDeprecated()
2147 * @brief Formats ActionDeprecated message into JSON
2152 nlohmann::json::object_t actionDeprecated(std::string_view arg1) in actionDeprecated()
2166 * @brief Formats NetworkNameResolutionNotConfigured message into JSON
2171 nlohmann::json::object_t networkNameResolutionNotConfigured() in networkNameResolutionNotConfigured()
2186 * @brief Formats NetworkNameResolutionNotSupported message into JSON
2191 nlohmann::json::object_t networkNameResolutionNotSupported() in networkNameResolutionNotSupported()
2206 * @brief Formats ServiceDisabled message into JSON
2211 nlohmann::json::object_t serviceDisabled(std::string_view arg1) in serviceDisabled()
2225 * @brief Formats EventBufferExceeded message into JSON
2230 nlohmann::json::object_t eventBufferExceeded() in eventBufferExceeded()
2243 * @brief Formats AuthenticationTokenRequired message into JSON
2248 nlohmann::json::object_t authenticationTokenRequired() in authenticationTokenRequired()
2262 * @brief Formats OneTimePasscodeSent message into JSON
2267 nlohmann::json::object_t oneTimePasscodeSent(std::string_view arg1) in oneTimePasscodeSent()
2281 * @brief Formats LicenseRequired message into JSON
2286 nlohmann::json::object_t licenseRequired(std::string_view arg1) in licenseRequired()
2300 * @brief Formats PropertyModified message into JSON
2305 nlohmann::json::object_t propertyModified() in propertyModified()
2318 * @brief Formats GenerateSecretKeyRequired message into JSON
2323 nlohmann::json::object_t generateSecretKeyRequired( in generateSecretKeyRequired()