forked from cryptogarageinc/quickfix-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
InstrumentParties.go
44 lines (37 loc) · 1.7 KB
/
InstrumentParties.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
package instrumentparties
import (
"github.com/quickfixgo/quickfix/fix50sp1/instrumentptyssubgrp"
)
//New returns an initialized InstrumentParties instance
func New() *InstrumentParties {
var m InstrumentParties
return &m
}
//NoInstrumentParties is a repeating group in InstrumentParties
type NoInstrumentParties struct {
//InstrumentPartyID is a non-required field for NoInstrumentParties.
InstrumentPartyID *string `fix:"1019"`
//InstrumentPartyIDSource is a non-required field for NoInstrumentParties.
InstrumentPartyIDSource *string `fix:"1050"`
//InstrumentPartyRole is a non-required field for NoInstrumentParties.
InstrumentPartyRole *int `fix:"1051"`
//InstrumentPtysSubGrp is a non-required component for NoInstrumentParties.
InstrumentPtysSubGrp *instrumentptyssubgrp.InstrumentPtysSubGrp
}
//NewNoInstrumentParties returns an initialized NoInstrumentParties instance
func NewNoInstrumentParties() *NoInstrumentParties {
var m NoInstrumentParties
return &m
}
func (m *NoInstrumentParties) SetInstrumentPartyID(v string) { m.InstrumentPartyID = &v }
func (m *NoInstrumentParties) SetInstrumentPartyIDSource(v string) { m.InstrumentPartyIDSource = &v }
func (m *NoInstrumentParties) SetInstrumentPartyRole(v int) { m.InstrumentPartyRole = &v }
func (m *NoInstrumentParties) SetInstrumentPtysSubGrp(v instrumentptyssubgrp.InstrumentPtysSubGrp) {
m.InstrumentPtysSubGrp = &v
}
//InstrumentParties is a fix50sp1 Component
type InstrumentParties struct {
//NoInstrumentParties is a non-required field for InstrumentParties.
NoInstrumentParties []NoInstrumentParties `fix:"1018,omitempty"`
}
func (m *InstrumentParties) SetNoInstrumentParties(v []NoInstrumentParties) { m.NoInstrumentParties = v }