github.com/iron-io/functions@v0.0.0-20180820112432-d59d7d1c40b2/api/models/complete.go (about) 1 package models 2 3 import "github.com/go-openapi/strfmt" 4 5 // This file was generated by the swagger tool. 6 // Editing this file might prove futile when you re-run the swagger generate command 7 8 /*Complete complete 9 10 swagger:model Complete 11 */ 12 type Complete struct { 13 14 /* Time when task was completed. Always in UTC. 15 */ 16 CompletedAt strfmt.DateTime `json:"completed_at,omitempty"` 17 18 /* Error message, if status=error. Only used by the /error endpoint. 19 */ 20 Error string `json:"error,omitempty"` 21 22 /* Machine readable reason failure, if status=error. Only used by the /error endpoint. 23 */ 24 Reason string `json:"reason,omitempty"` 25 } 26 27 // Validate validates this complete 28 func (m *Complete) Validate(formats strfmt.Registry) error { 29 return nil 30 }