Merge pull request #13 from gwinn/master

update data types
This commit is contained in:
Alex Lushpai 2018-06-01 18:23:19 +03:00 committed by GitHub
commit 9d5bf461ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -938,3 +938,16 @@ type Element struct {
Code string `json:"code,omitempty"` Code string `json:"code,omitempty"`
Ordering int `json:"ordering,omitempty"` Ordering int `json:"ordering,omitempty"`
} }
// ActivityCallback activation callback
type ActivityCallback struct {
ClientId string `json:"clientId"`
Activity Activity `json:"activity"`
SystemUrl string `json:"systemUrl,omitempty"`
}
// Activity struct
type Activity struct {
Active bool `json:"active"`
Freeze bool `json:"freeze"`
}