forked from quickfixgo/quickfix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
UndlyInstrumentParties.go
52 lines (45 loc) · 2 KB
/
UndlyInstrumentParties.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
package undlyinstrumentparties
import (
"github.com/quickfixgo/quickfix/fix50sp2/undlyinstrumentptyssubgrp"
)
//New returns an initialized UndlyInstrumentParties instance
func New() *UndlyInstrumentParties {
var m UndlyInstrumentParties
return &m
}
//NoUndlyInstrumentParties is a repeating group in UndlyInstrumentParties
type NoUndlyInstrumentParties struct {
//UnderlyingInstrumentPartyID is a non-required field for NoUndlyInstrumentParties.
UnderlyingInstrumentPartyID *string `fix:"1059"`
//UnderlyingInstrumentPartyIDSource is a non-required field for NoUndlyInstrumentParties.
UnderlyingInstrumentPartyIDSource *string `fix:"1060"`
//UnderlyingInstrumentPartyRole is a non-required field for NoUndlyInstrumentParties.
UnderlyingInstrumentPartyRole *int `fix:"1061"`
//UndlyInstrumentPtysSubGrp is a non-required component for NoUndlyInstrumentParties.
UndlyInstrumentPtysSubGrp *undlyinstrumentptyssubgrp.UndlyInstrumentPtysSubGrp
}
//NewNoUndlyInstrumentParties returns an initialized NoUndlyInstrumentParties instance
func NewNoUndlyInstrumentParties() *NoUndlyInstrumentParties {
var m NoUndlyInstrumentParties
return &m
}
func (m *NoUndlyInstrumentParties) SetUnderlyingInstrumentPartyID(v string) {
m.UnderlyingInstrumentPartyID = &v
}
func (m *NoUndlyInstrumentParties) SetUnderlyingInstrumentPartyIDSource(v string) {
m.UnderlyingInstrumentPartyIDSource = &v
}
func (m *NoUndlyInstrumentParties) SetUnderlyingInstrumentPartyRole(v int) {
m.UnderlyingInstrumentPartyRole = &v
}
func (m *NoUndlyInstrumentParties) SetUndlyInstrumentPtysSubGrp(v undlyinstrumentptyssubgrp.UndlyInstrumentPtysSubGrp) {
m.UndlyInstrumentPtysSubGrp = &v
}
//UndlyInstrumentParties is a fix50sp2 Component
type UndlyInstrumentParties struct {
//NoUndlyInstrumentParties is a non-required field for UndlyInstrumentParties.
NoUndlyInstrumentParties []NoUndlyInstrumentParties `fix:"1058,omitempty"`
}
func (m *UndlyInstrumentParties) SetNoUndlyInstrumentParties(v []NoUndlyInstrumentParties) {
m.NoUndlyInstrumentParties = v
}