forked from quickfixgo/quickfix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SecLstUpdRelSymsLegGrp.go
49 lines (42 loc) · 1.78 KB
/
SecLstUpdRelSymsLegGrp.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
package seclstupdrelsymsleggrp
import (
"github.com/quickfixgo/quickfix/fix50/instrumentleg"
"github.com/quickfixgo/quickfix/fix50/legbenchmarkcurvedata"
"github.com/quickfixgo/quickfix/fix50/legstipulations"
)
//New returns an initialized SecLstUpdRelSymsLegGrp instance
func New() *SecLstUpdRelSymsLegGrp {
var m SecLstUpdRelSymsLegGrp
return &m
}
//NoLegs is a repeating group in SecLstUpdRelSymsLegGrp
type NoLegs struct {
//InstrumentLeg is a non-required component for NoLegs.
InstrumentLeg *instrumentleg.InstrumentLeg
//LegSwapType is a non-required field for NoLegs.
LegSwapType *int `fix:"690"`
//LegSettlType is a non-required field for NoLegs.
LegSettlType *string `fix:"587"`
//LegStipulations is a non-required component for NoLegs.
LegStipulations *legstipulations.LegStipulations
//LegBenchmarkCurveData is a non-required component for NoLegs.
LegBenchmarkCurveData *legbenchmarkcurvedata.LegBenchmarkCurveData
}
//NewNoLegs returns an initialized NoLegs instance
func NewNoLegs() *NoLegs {
var m NoLegs
return &m
}
func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v }
func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v }
func (m *NoLegs) SetLegSettlType(v string) { m.LegSettlType = &v }
func (m *NoLegs) SetLegStipulations(v legstipulations.LegStipulations) { m.LegStipulations = &v }
func (m *NoLegs) SetLegBenchmarkCurveData(v legbenchmarkcurvedata.LegBenchmarkCurveData) {
m.LegBenchmarkCurveData = &v
}
//SecLstUpdRelSymsLegGrp is a fix50 Component
type SecLstUpdRelSymsLegGrp struct {
//NoLegs is a non-required field for SecLstUpdRelSymsLegGrp.
NoLegs []NoLegs `fix:"555,omitempty"`
}
func (m *SecLstUpdRelSymsLegGrp) SetNoLegs(v []NoLegs) { m.NoLegs = v }