forked from quickfixgo/quickfix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
RootParties.go
42 lines (35 loc) · 1.47 KB
/
RootParties.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
package rootparties
import (
"github.com/quickfixgo/quickfix/fix50/rootsubparties"
)
//New returns an initialized RootParties instance
func New() *RootParties {
var m RootParties
return &m
}
//NoRootPartyIDs is a repeating group in RootParties
type NoRootPartyIDs struct {
//RootPartyID is a non-required field for NoRootPartyIDs.
RootPartyID *string `fix:"1117"`
//RootPartyIDSource is a non-required field for NoRootPartyIDs.
RootPartyIDSource *string `fix:"1118"`
//RootPartyRole is a non-required field for NoRootPartyIDs.
RootPartyRole *int `fix:"1119"`
//RootSubParties is a non-required component for NoRootPartyIDs.
RootSubParties *rootsubparties.RootSubParties
}
//NewNoRootPartyIDs returns an initialized NoRootPartyIDs instance
func NewNoRootPartyIDs() *NoRootPartyIDs {
var m NoRootPartyIDs
return &m
}
func (m *NoRootPartyIDs) SetRootPartyID(v string) { m.RootPartyID = &v }
func (m *NoRootPartyIDs) SetRootPartyIDSource(v string) { m.RootPartyIDSource = &v }
func (m *NoRootPartyIDs) SetRootPartyRole(v int) { m.RootPartyRole = &v }
func (m *NoRootPartyIDs) SetRootSubParties(v rootsubparties.RootSubParties) { m.RootSubParties = &v }
//RootParties is a fix50 Component
type RootParties struct {
//NoRootPartyIDs is a non-required field for RootParties.
NoRootPartyIDs []NoRootPartyIDs `fix:"1116,omitempty"`
}
func (m *RootParties) SetNoRootPartyIDs(v []NoRootPartyIDs) { m.NoRootPartyIDs = v }