11 TEMPLATABLE_VALUE(std::string, md5_url)
12 TEMPLATABLE_VALUE(std::string, md5)
13 TEMPLATABLE_VALUE(std::string, password)
14 TEMPLATABLE_VALUE(std::string, url)
15 TEMPLATABLE_VALUE(std::string, username)
17 void play(
const Ts &...
x)
override {
18 if (this->md5_url_.has_value()) {
19 this->parent_->set_md5_url(this->md5_url_.value(
x...));
21 if (this->md5_.has_value()) {
22 this->parent_->set_md5(this->md5_.value(
x...));
24 if (this->password_.has_value()) {
25 this->parent_->set_password(this->password_.value(
x...));
27 if (this->username_.has_value()) {
28 this->parent_->set_username(this->username_.value(
x...));
30 this->parent_->set_url(this->url_.value(
x...));
32 this->parent_->flash();
37 OtaHttpRequestComponent *parent_;