#include <homeassistant_service.h>
Definition at line 54 of file homeassistant_service.h.
◆ ActionResponse() [1/2]
esphome::api::ActionResponse::ActionResponse |
( |
bool | success, |
|
|
std::string | error_message = "" ) |
|
inline |
◆ ActionResponse() [2/2]
esphome::api::ActionResponse::ActionResponse |
( |
bool | success, |
|
|
std::string | error_message, |
|
|
const uint8_t * | data, |
|
|
size_t | data_len ) |
|
inline |
◆ get_error_message()
const std::string & esphome::api::ActionResponse::get_error_message |
( |
| ) |
const |
|
inline |
◆ get_json()
JsonObjectConst esphome::api::ActionResponse::get_json |
( |
| ) |
const |
|
inline |
◆ is_success()
bool esphome::api::ActionResponse::is_success |
( |
| ) |
const |
|
inline |
◆ error_message_
std::string esphome::api::ActionResponse::error_message_ |
|
protected |
◆ json_document_
JsonDocument esphome::api::ActionResponse::json_document_ |
|
protected |
◆ success_
bool esphome::api::ActionResponse::success_ |
|
protected |
The documentation for this class was generated from the following file: