forked from go-swagger/go-swagger
/
event.go
80 lines (57 loc) · 1.2 KB
/
event.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
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
/*Event Event
swagger:model Event
*/
type Event struct {
/* autosearch
*/
Autosearch bool `json:"Autosearch,omitempty"`
/* created
Read Only: true
*/
Created int64 `json:"Created,omitempty"`
/* deleted
Read Only: true
*/
Deleted *bool `json:"Deleted,omitempty"`
/* end date
*/
EndDate strfmt.DateTime `json:"EndDate,omitempty"`
/* Id
Read Only: true
*/
ID int64 `json:"Id,omitempty"`
/* latitude
*/
Latitude float32 `json:"Latitude,omitempty"`
/* longitude
*/
Longitude float32 `json:"Longitude,omitempty"`
/* name
*/
Name string `json:"Name,omitempty"`
/* notes
*/
Notes string `json:"Notes,omitempty"`
/* start date
*/
StartDate strfmt.DateTime `json:"StartDate,omitempty"`
/* URL
*/
URL string `json:"URL,omitempty"`
/* updated
Read Only: true
*/
Updated int64 `json:"Updated,omitempty"`
/* version
Read Only: true
*/
Version int64 `json:"Version,omitempty"`
}
// Validate validates this event
func (m *Event) Validate(formats strfmt.Registry) error {
return nil
}