forked from quickfixgo/quickfix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
StrmAsgnRptGrp.go
39 lines (32 loc) · 1.12 KB
/
StrmAsgnRptGrp.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
package strmasgnrptgrp
import (
"github.com/quickfixgo/quickfix/fix50sp2/parties"
"github.com/quickfixgo/quickfix/fix50sp2/strmasgnrptinstrmtgrp"
)
//New returns an initialized StrmAsgnRptGrp instance
func New() *StrmAsgnRptGrp {
var m StrmAsgnRptGrp
return &m
}
//NoAsgnReqs is a repeating group in StrmAsgnRptGrp
type NoAsgnReqs struct {
//Parties is a non-required component for NoAsgnReqs.
Parties *parties.Parties
//StrmAsgnRptInstrmtGrp is a non-required component for NoAsgnReqs.
StrmAsgnRptInstrmtGrp *strmasgnrptinstrmtgrp.StrmAsgnRptInstrmtGrp
}
//NewNoAsgnReqs returns an initialized NoAsgnReqs instance
func NewNoAsgnReqs() *NoAsgnReqs {
var m NoAsgnReqs
return &m
}
func (m *NoAsgnReqs) SetParties(v parties.Parties) { m.Parties = &v }
func (m *NoAsgnReqs) SetStrmAsgnRptInstrmtGrp(v strmasgnrptinstrmtgrp.StrmAsgnRptInstrmtGrp) {
m.StrmAsgnRptInstrmtGrp = &v
}
//StrmAsgnRptGrp is a fix50sp2 Component
type StrmAsgnRptGrp struct {
//NoAsgnReqs is a non-required field for StrmAsgnRptGrp.
NoAsgnReqs []NoAsgnReqs `fix:"1499,omitempty"`
}
func (m *StrmAsgnRptGrp) SetNoAsgnReqs(v []NoAsgnReqs) { m.NoAsgnReqs = v }