forked from quickfixgo/quickfix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
RelSymDerivSecGrp.go
64 lines (57 loc) · 2.69 KB
/
RelSymDerivSecGrp.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
package relsymderivsecgrp
import (
"github.com/quickfixgo/quickfix/fix50/instrmtleggrp"
"github.com/quickfixgo/quickfix/fix50/instrument"
"github.com/quickfixgo/quickfix/fix50/instrumentextension"
)
//New returns an initialized RelSymDerivSecGrp instance
func New() *RelSymDerivSecGrp {
var m RelSymDerivSecGrp
return &m
}
//NoRelatedSym is a repeating group in RelSymDerivSecGrp
type NoRelatedSym struct {
//Instrument is a non-required component for NoRelatedSym.
Instrument *instrument.Instrument
//Currency is a non-required field for NoRelatedSym.
Currency *string `fix:"15"`
//ExpirationCycle is a non-required field for NoRelatedSym.
ExpirationCycle *int `fix:"827"`
//InstrumentExtension is a non-required component for NoRelatedSym.
InstrumentExtension *instrumentextension.InstrumentExtension
//InstrmtLegGrp is a non-required component for NoRelatedSym.
InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp
//TradingSessionID is a non-required field for NoRelatedSym.
TradingSessionID *string `fix:"336"`
//TradingSessionSubID is a non-required field for NoRelatedSym.
TradingSessionSubID *string `fix:"625"`
//Text is a non-required field for NoRelatedSym.
Text *string `fix:"58"`
//EncodedTextLen is a non-required field for NoRelatedSym.
EncodedTextLen *int `fix:"354"`
//EncodedText is a non-required field for NoRelatedSym.
EncodedText *string `fix:"355"`
}
//NewNoRelatedSym returns an initialized NoRelatedSym instance
func NewNoRelatedSym() *NoRelatedSym {
var m NoRelatedSym
return &m
}
func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = &v }
func (m *NoRelatedSym) SetCurrency(v string) { m.Currency = &v }
func (m *NoRelatedSym) SetExpirationCycle(v int) { m.ExpirationCycle = &v }
func (m *NoRelatedSym) SetInstrumentExtension(v instrumentextension.InstrumentExtension) {
m.InstrumentExtension = &v
}
func (m *NoRelatedSym) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v }
func (m *NoRelatedSym) SetTradingSessionID(v string) { m.TradingSessionID = &v }
func (m *NoRelatedSym) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v }
func (m *NoRelatedSym) SetText(v string) { m.Text = &v }
func (m *NoRelatedSym) SetEncodedTextLen(v int) { m.EncodedTextLen = &v }
func (m *NoRelatedSym) SetEncodedText(v string) { m.EncodedText = &v }
//RelSymDerivSecGrp is a fix50 Component
type RelSymDerivSecGrp struct {
//NoRelatedSym is a non-required field for RelSymDerivSecGrp.
NoRelatedSym []NoRelatedSym `fix:"146,omitempty"`
}
func (m *RelSymDerivSecGrp) SetNoRelatedSym(v []NoRelatedSym) { m.NoRelatedSym = v }