forked from quickfixgo/quickfix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
EvntGrp.go
38 lines (32 loc) · 1.06 KB
/
EvntGrp.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
package evntgrp
//New returns an initialized EvntGrp instance
func New() *EvntGrp {
var m EvntGrp
return &m
}
//NoEvents is a repeating group in EvntGrp
type NoEvents struct {
//EventType is a non-required field for NoEvents.
EventType *int `fix:"865"`
//EventDate is a non-required field for NoEvents.
EventDate *string `fix:"866"`
//EventPx is a non-required field for NoEvents.
EventPx *float64 `fix:"867"`
//EventText is a non-required field for NoEvents.
EventText *string `fix:"868"`
}
//NewNoEvents returns an initialized NoEvents instance
func NewNoEvents() *NoEvents {
var m NoEvents
return &m
}
func (m *NoEvents) SetEventType(v int) { m.EventType = &v }
func (m *NoEvents) SetEventDate(v string) { m.EventDate = &v }
func (m *NoEvents) SetEventPx(v float64) { m.EventPx = &v }
func (m *NoEvents) SetEventText(v string) { m.EventText = &v }
//EvntGrp is a fix50 Component
type EvntGrp struct {
//NoEvents is a non-required field for EvntGrp.
NoEvents []NoEvents `fix:"864,omitempty"`
}
func (m *EvntGrp) SetNoEvents(v []NoEvents) { m.NoEvents = v }