Skip to content

Commit

Permalink
added ticket field for safe updating
Browse files Browse the repository at this point in the history
  • Loading branch information
Code-Hex committed Dec 20, 2022
1 parent 174d617 commit e6ed498
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions zendesk/ticket.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,11 @@ type Ticket struct {
// Requester is POST only and can be used to create a ticket for a nonexistent requester
Requester *Requester `json:"requester,omitempty"`

// safe update fields
// https://developer.zendesk.com/documentation/ticketing/managing-tickets/creating-and-updating-tickets/#protecting-against-ticket-update-collisions
UpdatedStamp *time.Time `json:"updated_stamp,omitempty"`
SafeUpdate bool `json:"safe_update,omitempty"`

// TODO: TicketAudit (POST only) #126
}

Expand Down

0 comments on commit e6ed498

Please sign in to comment.