File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ type Trigger struct {
3838 } `json:"conditions"`
3939 Actions []TriggerAction `json:"actions"`
4040 Description string `json:"description,omitempty"`
41+ CategoryID string `json:"category_id,omitempty"`
4142 CreatedAt * time.Time `json:"created_at,omitempty"`
4243 UpdatedAt * time.Time `json:"updated_at,omitempty"`
4344}
@@ -47,9 +48,10 @@ type Trigger struct {
4748// ref: https://developer.zendesk.com/rest_api/docs/support/triggers#list-triggers
4849type TriggerListOptions struct {
4950 PageOptions
50- Active bool `url:"active,omitempty"`
51- SortBy string `url:"sort_by,omitempty"`
52- SortOrder string `url:"sort_order,omitempty"`
51+ Active bool `url:"active,omitempty"`
52+ CategoryID string `url:"category_id,omitempty"`
53+ SortBy string `url:"sort_by,omitempty"`
54+ SortOrder string `url:"sort_order,omitempty"`
5355}
5456
5557// TriggerAPI an interface containing all trigger related methods
You can’t perform that action at this time.
0 commit comments