From b88af6b7e7dea64bde6b06166a628bb001293cf6 Mon Sep 17 00:00:00 2001 From: Radu Ioan Fericean Date: Tue, 3 May 2016 16:29:08 +0300 Subject: [PATCH] added Executed param to SetAccountActionTriggers --- apier/v1/triggers.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apier/v1/triggers.go b/apier/v1/triggers.go index 93d9e9ed1..e1002b341 100644 --- a/apier/v1/triggers.go +++ b/apier/v1/triggers.go @@ -182,6 +182,7 @@ type AttrSetAccountActionTriggers struct { ThresholdType *string ThresholdValue *float64 Recurrent *bool + Executed *bool MinSleep *string ExpirationDate *string ActivationDate *string @@ -227,6 +228,9 @@ func (self *ApierV1) SetAccountActionTriggers(attr AttrSetAccountActionTriggers, if attr.Recurrent != nil { at.Recurrent = *attr.Recurrent } + if attr.Executed != nil { + at.Executed = *attr.Executed + } if attr.MinSleep != nil { minSleep, err := utils.ParseDurationWithSecs(*attr.MinSleep) if err != nil {