mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Initial work on async functions
This commit is contained in:
30
api/models/complete.go
Normal file
30
api/models/complete.go
Normal file
@@ -0,0 +1,30 @@
|
||||
package models
|
||||
|
||||
import "github.com/go-openapi/strfmt"
|
||||
|
||||
// This file was generated by the swagger tool.
|
||||
// Editing this file might prove futile when you re-run the swagger generate command
|
||||
|
||||
/*Complete complete
|
||||
|
||||
swagger:model Complete
|
||||
*/
|
||||
type Complete struct {
|
||||
|
||||
/* Time when task was completed. Always in UTC.
|
||||
*/
|
||||
CompletedAt strfmt.DateTime `json:"completed_at,omitempty"`
|
||||
|
||||
/* Error message, if status=error. Only used by the /error endpoint.
|
||||
*/
|
||||
Error string `json:"error,omitempty"`
|
||||
|
||||
/* Machine readable reason failure, if status=error. Only used by the /error endpoint.
|
||||
*/
|
||||
Reason string `json:"reason,omitempty"`
|
||||
}
|
||||
|
||||
// Validate validates this complete
|
||||
func (m *Complete) Validate(formats strfmt.Registry) error {
|
||||
return nil
|
||||
}
|
||||
Reference in New Issue
Block a user