adding quickfix library
This commit is contained in:
@ -0,0 +1,777 @@
|
||||
// Code generated by quickfix. DO NOT EDIT.
|
||||
package applicationmessagerequestack
|
||||
|
||||
import (
|
||||
"github.com/quickfixgo/quickfix"
|
||||
"github.com/quickfixgo/quickfix/gen/enum"
|
||||
"github.com/quickfixgo/quickfix/gen/field"
|
||||
"github.com/quickfixgo/quickfix/gen/fixt11"
|
||||
"github.com/quickfixgo/quickfix/gen/tag"
|
||||
)
|
||||
|
||||
// ApplicationMessageRequestAck is the fix50sp2 ApplicationMessageRequestAck type, MsgType = BX.
|
||||
type ApplicationMessageRequestAck struct {
|
||||
fixt11.Header
|
||||
*quickfix.Body
|
||||
fixt11.Trailer
|
||||
Message *quickfix.Message
|
||||
}
|
||||
|
||||
// FromMessage creates a ApplicationMessageRequestAck from a quickfix.Message instance.
|
||||
func FromMessage(m *quickfix.Message) ApplicationMessageRequestAck {
|
||||
return ApplicationMessageRequestAck{
|
||||
Header: fixt11.Header{Header: &m.Header},
|
||||
Body: &m.Body,
|
||||
Trailer: fixt11.Trailer{Trailer: &m.Trailer},
|
||||
Message: m,
|
||||
}
|
||||
}
|
||||
|
||||
// ToMessage returns a quickfix.Message instance.
|
||||
func (m ApplicationMessageRequestAck) ToMessage() *quickfix.Message {
|
||||
return m.Message
|
||||
}
|
||||
|
||||
// New returns a ApplicationMessageRequestAck initialized with the required fields for ApplicationMessageRequestAck.
|
||||
func New(applresponseid field.ApplResponseIDField) (m ApplicationMessageRequestAck) {
|
||||
m.Message = quickfix.NewMessage()
|
||||
m.Header = fixt11.NewHeader(&m.Message.Header)
|
||||
m.Body = &m.Message.Body
|
||||
m.Trailer.Trailer = &m.Message.Trailer
|
||||
|
||||
m.Header.Set(field.NewMsgType("BX"))
|
||||
m.Set(applresponseid)
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// A RouteOut is the callback type that should be implemented for routing Message.
|
||||
type RouteOut func(msg ApplicationMessageRequestAck, sessionID quickfix.SessionID) quickfix.MessageRejectError
|
||||
|
||||
// Route returns the beginstring, message type, and MessageRoute for this Message type.
|
||||
func Route(router RouteOut) (string, string, quickfix.MessageRoute) {
|
||||
r := func(msg *quickfix.Message, sessionID quickfix.SessionID) quickfix.MessageRejectError {
|
||||
return router(FromMessage(msg), sessionID)
|
||||
}
|
||||
return "9", "BX", r
|
||||
}
|
||||
|
||||
// SetText sets Text, Tag 58.
|
||||
func (m ApplicationMessageRequestAck) SetText(v string) {
|
||||
m.Set(field.NewText(v))
|
||||
}
|
||||
|
||||
// SetEncodedTextLen sets EncodedTextLen, Tag 354.
|
||||
func (m ApplicationMessageRequestAck) SetEncodedTextLen(v int) {
|
||||
m.Set(field.NewEncodedTextLen(v))
|
||||
}
|
||||
|
||||
// SetEncodedText sets EncodedText, Tag 355.
|
||||
func (m ApplicationMessageRequestAck) SetEncodedText(v string) {
|
||||
m.Set(field.NewEncodedText(v))
|
||||
}
|
||||
|
||||
// SetNoPartyIDs sets NoPartyIDs, Tag 453.
|
||||
func (m ApplicationMessageRequestAck) SetNoPartyIDs(f NoPartyIDsRepeatingGroup) {
|
||||
m.SetGroup(f)
|
||||
}
|
||||
|
||||
// SetApplReqID sets ApplReqID, Tag 1346.
|
||||
func (m ApplicationMessageRequestAck) SetApplReqID(v string) {
|
||||
m.Set(field.NewApplReqID(v))
|
||||
}
|
||||
|
||||
// SetApplReqType sets ApplReqType, Tag 1347.
|
||||
func (m ApplicationMessageRequestAck) SetApplReqType(v enum.ApplReqType) {
|
||||
m.Set(field.NewApplReqType(v))
|
||||
}
|
||||
|
||||
// SetApplResponseType sets ApplResponseType, Tag 1348.
|
||||
func (m ApplicationMessageRequestAck) SetApplResponseType(v enum.ApplResponseType) {
|
||||
m.Set(field.NewApplResponseType(v))
|
||||
}
|
||||
|
||||
// SetApplTotalMessageCount sets ApplTotalMessageCount, Tag 1349.
|
||||
func (m ApplicationMessageRequestAck) SetApplTotalMessageCount(v int) {
|
||||
m.Set(field.NewApplTotalMessageCount(v))
|
||||
}
|
||||
|
||||
// SetNoApplIDs sets NoApplIDs, Tag 1351.
|
||||
func (m ApplicationMessageRequestAck) SetNoApplIDs(f NoApplIDsRepeatingGroup) {
|
||||
m.SetGroup(f)
|
||||
}
|
||||
|
||||
// SetApplResponseID sets ApplResponseID, Tag 1353.
|
||||
func (m ApplicationMessageRequestAck) SetApplResponseID(v string) {
|
||||
m.Set(field.NewApplResponseID(v))
|
||||
}
|
||||
|
||||
// GetText gets Text, Tag 58.
|
||||
func (m ApplicationMessageRequestAck) GetText() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.TextField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetEncodedTextLen gets EncodedTextLen, Tag 354.
|
||||
func (m ApplicationMessageRequestAck) GetEncodedTextLen() (v int, err quickfix.MessageRejectError) {
|
||||
var f field.EncodedTextLenField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetEncodedText gets EncodedText, Tag 355.
|
||||
func (m ApplicationMessageRequestAck) GetEncodedText() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.EncodedTextField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetNoPartyIDs gets NoPartyIDs, Tag 453.
|
||||
func (m ApplicationMessageRequestAck) GetNoPartyIDs() (NoPartyIDsRepeatingGroup, quickfix.MessageRejectError) {
|
||||
f := NewNoPartyIDsRepeatingGroup()
|
||||
err := m.GetGroup(f)
|
||||
return f, err
|
||||
}
|
||||
|
||||
// GetApplReqID gets ApplReqID, Tag 1346.
|
||||
func (m ApplicationMessageRequestAck) GetApplReqID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.ApplReqIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetApplReqType gets ApplReqType, Tag 1347.
|
||||
func (m ApplicationMessageRequestAck) GetApplReqType() (v enum.ApplReqType, err quickfix.MessageRejectError) {
|
||||
var f field.ApplReqTypeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetApplResponseType gets ApplResponseType, Tag 1348.
|
||||
func (m ApplicationMessageRequestAck) GetApplResponseType() (v enum.ApplResponseType, err quickfix.MessageRejectError) {
|
||||
var f field.ApplResponseTypeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetApplTotalMessageCount gets ApplTotalMessageCount, Tag 1349.
|
||||
func (m ApplicationMessageRequestAck) GetApplTotalMessageCount() (v int, err quickfix.MessageRejectError) {
|
||||
var f field.ApplTotalMessageCountField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetNoApplIDs gets NoApplIDs, Tag 1351.
|
||||
func (m ApplicationMessageRequestAck) GetNoApplIDs() (NoApplIDsRepeatingGroup, quickfix.MessageRejectError) {
|
||||
f := NewNoApplIDsRepeatingGroup()
|
||||
err := m.GetGroup(f)
|
||||
return f, err
|
||||
}
|
||||
|
||||
// GetApplResponseID gets ApplResponseID, Tag 1353.
|
||||
func (m ApplicationMessageRequestAck) GetApplResponseID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.ApplResponseIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// HasText returns true if Text is present, Tag 58.
|
||||
func (m ApplicationMessageRequestAck) HasText() bool {
|
||||
return m.Has(tag.Text)
|
||||
}
|
||||
|
||||
// HasEncodedTextLen returns true if EncodedTextLen is present, Tag 354.
|
||||
func (m ApplicationMessageRequestAck) HasEncodedTextLen() bool {
|
||||
return m.Has(tag.EncodedTextLen)
|
||||
}
|
||||
|
||||
// HasEncodedText returns true if EncodedText is present, Tag 355.
|
||||
func (m ApplicationMessageRequestAck) HasEncodedText() bool {
|
||||
return m.Has(tag.EncodedText)
|
||||
}
|
||||
|
||||
// HasNoPartyIDs returns true if NoPartyIDs is present, Tag 453.
|
||||
func (m ApplicationMessageRequestAck) HasNoPartyIDs() bool {
|
||||
return m.Has(tag.NoPartyIDs)
|
||||
}
|
||||
|
||||
// HasApplReqID returns true if ApplReqID is present, Tag 1346.
|
||||
func (m ApplicationMessageRequestAck) HasApplReqID() bool {
|
||||
return m.Has(tag.ApplReqID)
|
||||
}
|
||||
|
||||
// HasApplReqType returns true if ApplReqType is present, Tag 1347.
|
||||
func (m ApplicationMessageRequestAck) HasApplReqType() bool {
|
||||
return m.Has(tag.ApplReqType)
|
||||
}
|
||||
|
||||
// HasApplResponseType returns true if ApplResponseType is present, Tag 1348.
|
||||
func (m ApplicationMessageRequestAck) HasApplResponseType() bool {
|
||||
return m.Has(tag.ApplResponseType)
|
||||
}
|
||||
|
||||
// HasApplTotalMessageCount returns true if ApplTotalMessageCount is present, Tag 1349.
|
||||
func (m ApplicationMessageRequestAck) HasApplTotalMessageCount() bool {
|
||||
return m.Has(tag.ApplTotalMessageCount)
|
||||
}
|
||||
|
||||
// HasNoApplIDs returns true if NoApplIDs is present, Tag 1351.
|
||||
func (m ApplicationMessageRequestAck) HasNoApplIDs() bool {
|
||||
return m.Has(tag.NoApplIDs)
|
||||
}
|
||||
|
||||
// HasApplResponseID returns true if ApplResponseID is present, Tag 1353.
|
||||
func (m ApplicationMessageRequestAck) HasApplResponseID() bool {
|
||||
return m.Has(tag.ApplResponseID)
|
||||
}
|
||||
|
||||
// NoPartyIDs is a repeating group element, Tag 453.
|
||||
type NoPartyIDs struct {
|
||||
*quickfix.Group
|
||||
}
|
||||
|
||||
// SetPartyID sets PartyID, Tag 448.
|
||||
func (m NoPartyIDs) SetPartyID(v string) {
|
||||
m.Set(field.NewPartyID(v))
|
||||
}
|
||||
|
||||
// SetPartyIDSource sets PartyIDSource, Tag 447.
|
||||
func (m NoPartyIDs) SetPartyIDSource(v enum.PartyIDSource) {
|
||||
m.Set(field.NewPartyIDSource(v))
|
||||
}
|
||||
|
||||
// SetPartyRole sets PartyRole, Tag 452.
|
||||
func (m NoPartyIDs) SetPartyRole(v enum.PartyRole) {
|
||||
m.Set(field.NewPartyRole(v))
|
||||
}
|
||||
|
||||
// SetNoPartySubIDs sets NoPartySubIDs, Tag 802.
|
||||
func (m NoPartyIDs) SetNoPartySubIDs(f NoPartySubIDsRepeatingGroup) {
|
||||
m.SetGroup(f)
|
||||
}
|
||||
|
||||
// GetPartyID gets PartyID, Tag 448.
|
||||
func (m NoPartyIDs) GetPartyID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.PartyIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetPartyIDSource gets PartyIDSource, Tag 447.
|
||||
func (m NoPartyIDs) GetPartyIDSource() (v enum.PartyIDSource, err quickfix.MessageRejectError) {
|
||||
var f field.PartyIDSourceField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetPartyRole gets PartyRole, Tag 452.
|
||||
func (m NoPartyIDs) GetPartyRole() (v enum.PartyRole, err quickfix.MessageRejectError) {
|
||||
var f field.PartyRoleField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetNoPartySubIDs gets NoPartySubIDs, Tag 802.
|
||||
func (m NoPartyIDs) GetNoPartySubIDs() (NoPartySubIDsRepeatingGroup, quickfix.MessageRejectError) {
|
||||
f := NewNoPartySubIDsRepeatingGroup()
|
||||
err := m.GetGroup(f)
|
||||
return f, err
|
||||
}
|
||||
|
||||
// HasPartyID returns true if PartyID is present, Tag 448.
|
||||
func (m NoPartyIDs) HasPartyID() bool {
|
||||
return m.Has(tag.PartyID)
|
||||
}
|
||||
|
||||
// HasPartyIDSource returns true if PartyIDSource is present, Tag 447.
|
||||
func (m NoPartyIDs) HasPartyIDSource() bool {
|
||||
return m.Has(tag.PartyIDSource)
|
||||
}
|
||||
|
||||
// HasPartyRole returns true if PartyRole is present, Tag 452.
|
||||
func (m NoPartyIDs) HasPartyRole() bool {
|
||||
return m.Has(tag.PartyRole)
|
||||
}
|
||||
|
||||
// HasNoPartySubIDs returns true if NoPartySubIDs is present, Tag 802.
|
||||
func (m NoPartyIDs) HasNoPartySubIDs() bool {
|
||||
return m.Has(tag.NoPartySubIDs)
|
||||
}
|
||||
|
||||
// NoPartySubIDs is a repeating group element, Tag 802.
|
||||
type NoPartySubIDs struct {
|
||||
*quickfix.Group
|
||||
}
|
||||
|
||||
// SetPartySubID sets PartySubID, Tag 523.
|
||||
func (m NoPartySubIDs) SetPartySubID(v string) {
|
||||
m.Set(field.NewPartySubID(v))
|
||||
}
|
||||
|
||||
// SetPartySubIDType sets PartySubIDType, Tag 803.
|
||||
func (m NoPartySubIDs) SetPartySubIDType(v enum.PartySubIDType) {
|
||||
m.Set(field.NewPartySubIDType(v))
|
||||
}
|
||||
|
||||
// GetPartySubID gets PartySubID, Tag 523.
|
||||
func (m NoPartySubIDs) GetPartySubID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.PartySubIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetPartySubIDType gets PartySubIDType, Tag 803.
|
||||
func (m NoPartySubIDs) GetPartySubIDType() (v enum.PartySubIDType, err quickfix.MessageRejectError) {
|
||||
var f field.PartySubIDTypeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// HasPartySubID returns true if PartySubID is present, Tag 523.
|
||||
func (m NoPartySubIDs) HasPartySubID() bool {
|
||||
return m.Has(tag.PartySubID)
|
||||
}
|
||||
|
||||
// HasPartySubIDType returns true if PartySubIDType is present, Tag 803.
|
||||
func (m NoPartySubIDs) HasPartySubIDType() bool {
|
||||
return m.Has(tag.PartySubIDType)
|
||||
}
|
||||
|
||||
// NoPartySubIDsRepeatingGroup is a repeating group, Tag 802.
|
||||
type NoPartySubIDsRepeatingGroup struct {
|
||||
*quickfix.RepeatingGroup
|
||||
}
|
||||
|
||||
// NewNoPartySubIDsRepeatingGroup returns an initialized, NoPartySubIDsRepeatingGroup.
|
||||
func NewNoPartySubIDsRepeatingGroup() NoPartySubIDsRepeatingGroup {
|
||||
return NoPartySubIDsRepeatingGroup{
|
||||
quickfix.NewRepeatingGroup(
|
||||
tag.NoPartySubIDs,
|
||||
quickfix.GroupTemplate{
|
||||
quickfix.GroupElement(tag.PartySubID),
|
||||
quickfix.GroupElement(tag.PartySubIDType),
|
||||
},
|
||||
),
|
||||
}
|
||||
}
|
||||
|
||||
// Add create and append a new NoPartySubIDs to this group.
|
||||
func (m NoPartySubIDsRepeatingGroup) Add() NoPartySubIDs {
|
||||
g := m.RepeatingGroup.Add()
|
||||
return NoPartySubIDs{g}
|
||||
}
|
||||
|
||||
// Get returns the ith NoPartySubIDs in the NoPartySubIDsRepeatinGroup.
|
||||
func (m NoPartySubIDsRepeatingGroup) Get(i int) NoPartySubIDs {
|
||||
return NoPartySubIDs{m.RepeatingGroup.Get(i)}
|
||||
}
|
||||
|
||||
// NoPartyIDsRepeatingGroup is a repeating group, Tag 453.
|
||||
type NoPartyIDsRepeatingGroup struct {
|
||||
*quickfix.RepeatingGroup
|
||||
}
|
||||
|
||||
// NewNoPartyIDsRepeatingGroup returns an initialized, NoPartyIDsRepeatingGroup.
|
||||
func NewNoPartyIDsRepeatingGroup() NoPartyIDsRepeatingGroup {
|
||||
return NoPartyIDsRepeatingGroup{
|
||||
quickfix.NewRepeatingGroup(
|
||||
tag.NoPartyIDs,
|
||||
quickfix.GroupTemplate{
|
||||
quickfix.GroupElement(tag.PartyID),
|
||||
quickfix.GroupElement(tag.PartyIDSource),
|
||||
quickfix.GroupElement(tag.PartyRole),
|
||||
NewNoPartySubIDsRepeatingGroup(),
|
||||
},
|
||||
),
|
||||
}
|
||||
}
|
||||
|
||||
// Add create and append a new NoPartyIDs to this group.
|
||||
func (m NoPartyIDsRepeatingGroup) Add() NoPartyIDs {
|
||||
g := m.RepeatingGroup.Add()
|
||||
return NoPartyIDs{g}
|
||||
}
|
||||
|
||||
// Get returns the ith NoPartyIDs in the NoPartyIDsRepeatinGroup.
|
||||
func (m NoPartyIDsRepeatingGroup) Get(i int) NoPartyIDs {
|
||||
return NoPartyIDs{m.RepeatingGroup.Get(i)}
|
||||
}
|
||||
|
||||
// NoApplIDs is a repeating group element, Tag 1351.
|
||||
type NoApplIDs struct {
|
||||
*quickfix.Group
|
||||
}
|
||||
|
||||
// SetRefApplID sets RefApplID, Tag 1355.
|
||||
func (m NoApplIDs) SetRefApplID(v string) {
|
||||
m.Set(field.NewRefApplID(v))
|
||||
}
|
||||
|
||||
// SetApplBegSeqNum sets ApplBegSeqNum, Tag 1182.
|
||||
func (m NoApplIDs) SetApplBegSeqNum(v int) {
|
||||
m.Set(field.NewApplBegSeqNum(v))
|
||||
}
|
||||
|
||||
// SetApplEndSeqNum sets ApplEndSeqNum, Tag 1183.
|
||||
func (m NoApplIDs) SetApplEndSeqNum(v int) {
|
||||
m.Set(field.NewApplEndSeqNum(v))
|
||||
}
|
||||
|
||||
// SetRefApplLastSeqNum sets RefApplLastSeqNum, Tag 1357.
|
||||
func (m NoApplIDs) SetRefApplLastSeqNum(v int) {
|
||||
m.Set(field.NewRefApplLastSeqNum(v))
|
||||
}
|
||||
|
||||
// SetApplResponseError sets ApplResponseError, Tag 1354.
|
||||
func (m NoApplIDs) SetApplResponseError(v enum.ApplResponseError) {
|
||||
m.Set(field.NewApplResponseError(v))
|
||||
}
|
||||
|
||||
// SetNoNestedPartyIDs sets NoNestedPartyIDs, Tag 539.
|
||||
func (m NoApplIDs) SetNoNestedPartyIDs(f NoNestedPartyIDsRepeatingGroup) {
|
||||
m.SetGroup(f)
|
||||
}
|
||||
|
||||
// SetRefApplReqID sets RefApplReqID, Tag 1433.
|
||||
func (m NoApplIDs) SetRefApplReqID(v string) {
|
||||
m.Set(field.NewRefApplReqID(v))
|
||||
}
|
||||
|
||||
// GetRefApplID gets RefApplID, Tag 1355.
|
||||
func (m NoApplIDs) GetRefApplID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.RefApplIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetApplBegSeqNum gets ApplBegSeqNum, Tag 1182.
|
||||
func (m NoApplIDs) GetApplBegSeqNum() (v int, err quickfix.MessageRejectError) {
|
||||
var f field.ApplBegSeqNumField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetApplEndSeqNum gets ApplEndSeqNum, Tag 1183.
|
||||
func (m NoApplIDs) GetApplEndSeqNum() (v int, err quickfix.MessageRejectError) {
|
||||
var f field.ApplEndSeqNumField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetRefApplLastSeqNum gets RefApplLastSeqNum, Tag 1357.
|
||||
func (m NoApplIDs) GetRefApplLastSeqNum() (v int, err quickfix.MessageRejectError) {
|
||||
var f field.RefApplLastSeqNumField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetApplResponseError gets ApplResponseError, Tag 1354.
|
||||
func (m NoApplIDs) GetApplResponseError() (v enum.ApplResponseError, err quickfix.MessageRejectError) {
|
||||
var f field.ApplResponseErrorField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetNoNestedPartyIDs gets NoNestedPartyIDs, Tag 539.
|
||||
func (m NoApplIDs) GetNoNestedPartyIDs() (NoNestedPartyIDsRepeatingGroup, quickfix.MessageRejectError) {
|
||||
f := NewNoNestedPartyIDsRepeatingGroup()
|
||||
err := m.GetGroup(f)
|
||||
return f, err
|
||||
}
|
||||
|
||||
// GetRefApplReqID gets RefApplReqID, Tag 1433.
|
||||
func (m NoApplIDs) GetRefApplReqID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.RefApplReqIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// HasRefApplID returns true if RefApplID is present, Tag 1355.
|
||||
func (m NoApplIDs) HasRefApplID() bool {
|
||||
return m.Has(tag.RefApplID)
|
||||
}
|
||||
|
||||
// HasApplBegSeqNum returns true if ApplBegSeqNum is present, Tag 1182.
|
||||
func (m NoApplIDs) HasApplBegSeqNum() bool {
|
||||
return m.Has(tag.ApplBegSeqNum)
|
||||
}
|
||||
|
||||
// HasApplEndSeqNum returns true if ApplEndSeqNum is present, Tag 1183.
|
||||
func (m NoApplIDs) HasApplEndSeqNum() bool {
|
||||
return m.Has(tag.ApplEndSeqNum)
|
||||
}
|
||||
|
||||
// HasRefApplLastSeqNum returns true if RefApplLastSeqNum is present, Tag 1357.
|
||||
func (m NoApplIDs) HasRefApplLastSeqNum() bool {
|
||||
return m.Has(tag.RefApplLastSeqNum)
|
||||
}
|
||||
|
||||
// HasApplResponseError returns true if ApplResponseError is present, Tag 1354.
|
||||
func (m NoApplIDs) HasApplResponseError() bool {
|
||||
return m.Has(tag.ApplResponseError)
|
||||
}
|
||||
|
||||
// HasNoNestedPartyIDs returns true if NoNestedPartyIDs is present, Tag 539.
|
||||
func (m NoApplIDs) HasNoNestedPartyIDs() bool {
|
||||
return m.Has(tag.NoNestedPartyIDs)
|
||||
}
|
||||
|
||||
// HasRefApplReqID returns true if RefApplReqID is present, Tag 1433.
|
||||
func (m NoApplIDs) HasRefApplReqID() bool {
|
||||
return m.Has(tag.RefApplReqID)
|
||||
}
|
||||
|
||||
// NoNestedPartyIDs is a repeating group element, Tag 539.
|
||||
type NoNestedPartyIDs struct {
|
||||
*quickfix.Group
|
||||
}
|
||||
|
||||
// SetNestedPartyID sets NestedPartyID, Tag 524.
|
||||
func (m NoNestedPartyIDs) SetNestedPartyID(v string) {
|
||||
m.Set(field.NewNestedPartyID(v))
|
||||
}
|
||||
|
||||
// SetNestedPartyIDSource sets NestedPartyIDSource, Tag 525.
|
||||
func (m NoNestedPartyIDs) SetNestedPartyIDSource(v string) {
|
||||
m.Set(field.NewNestedPartyIDSource(v))
|
||||
}
|
||||
|
||||
// SetNestedPartyRole sets NestedPartyRole, Tag 538.
|
||||
func (m NoNestedPartyIDs) SetNestedPartyRole(v int) {
|
||||
m.Set(field.NewNestedPartyRole(v))
|
||||
}
|
||||
|
||||
// SetNoNestedPartySubIDs sets NoNestedPartySubIDs, Tag 804.
|
||||
func (m NoNestedPartyIDs) SetNoNestedPartySubIDs(f NoNestedPartySubIDsRepeatingGroup) {
|
||||
m.SetGroup(f)
|
||||
}
|
||||
|
||||
// GetNestedPartyID gets NestedPartyID, Tag 524.
|
||||
func (m NoNestedPartyIDs) GetNestedPartyID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.NestedPartyIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetNestedPartyIDSource gets NestedPartyIDSource, Tag 525.
|
||||
func (m NoNestedPartyIDs) GetNestedPartyIDSource() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.NestedPartyIDSourceField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetNestedPartyRole gets NestedPartyRole, Tag 538.
|
||||
func (m NoNestedPartyIDs) GetNestedPartyRole() (v int, err quickfix.MessageRejectError) {
|
||||
var f field.NestedPartyRoleField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetNoNestedPartySubIDs gets NoNestedPartySubIDs, Tag 804.
|
||||
func (m NoNestedPartyIDs) GetNoNestedPartySubIDs() (NoNestedPartySubIDsRepeatingGroup, quickfix.MessageRejectError) {
|
||||
f := NewNoNestedPartySubIDsRepeatingGroup()
|
||||
err := m.GetGroup(f)
|
||||
return f, err
|
||||
}
|
||||
|
||||
// HasNestedPartyID returns true if NestedPartyID is present, Tag 524.
|
||||
func (m NoNestedPartyIDs) HasNestedPartyID() bool {
|
||||
return m.Has(tag.NestedPartyID)
|
||||
}
|
||||
|
||||
// HasNestedPartyIDSource returns true if NestedPartyIDSource is present, Tag 525.
|
||||
func (m NoNestedPartyIDs) HasNestedPartyIDSource() bool {
|
||||
return m.Has(tag.NestedPartyIDSource)
|
||||
}
|
||||
|
||||
// HasNestedPartyRole returns true if NestedPartyRole is present, Tag 538.
|
||||
func (m NoNestedPartyIDs) HasNestedPartyRole() bool {
|
||||
return m.Has(tag.NestedPartyRole)
|
||||
}
|
||||
|
||||
// HasNoNestedPartySubIDs returns true if NoNestedPartySubIDs is present, Tag 804.
|
||||
func (m NoNestedPartyIDs) HasNoNestedPartySubIDs() bool {
|
||||
return m.Has(tag.NoNestedPartySubIDs)
|
||||
}
|
||||
|
||||
// NoNestedPartySubIDs is a repeating group element, Tag 804.
|
||||
type NoNestedPartySubIDs struct {
|
||||
*quickfix.Group
|
||||
}
|
||||
|
||||
// SetNestedPartySubID sets NestedPartySubID, Tag 545.
|
||||
func (m NoNestedPartySubIDs) SetNestedPartySubID(v string) {
|
||||
m.Set(field.NewNestedPartySubID(v))
|
||||
}
|
||||
|
||||
// SetNestedPartySubIDType sets NestedPartySubIDType, Tag 805.
|
||||
func (m NoNestedPartySubIDs) SetNestedPartySubIDType(v int) {
|
||||
m.Set(field.NewNestedPartySubIDType(v))
|
||||
}
|
||||
|
||||
// GetNestedPartySubID gets NestedPartySubID, Tag 545.
|
||||
func (m NoNestedPartySubIDs) GetNestedPartySubID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.NestedPartySubIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetNestedPartySubIDType gets NestedPartySubIDType, Tag 805.
|
||||
func (m NoNestedPartySubIDs) GetNestedPartySubIDType() (v int, err quickfix.MessageRejectError) {
|
||||
var f field.NestedPartySubIDTypeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// HasNestedPartySubID returns true if NestedPartySubID is present, Tag 545.
|
||||
func (m NoNestedPartySubIDs) HasNestedPartySubID() bool {
|
||||
return m.Has(tag.NestedPartySubID)
|
||||
}
|
||||
|
||||
// HasNestedPartySubIDType returns true if NestedPartySubIDType is present, Tag 805.
|
||||
func (m NoNestedPartySubIDs) HasNestedPartySubIDType() bool {
|
||||
return m.Has(tag.NestedPartySubIDType)
|
||||
}
|
||||
|
||||
// NoNestedPartySubIDsRepeatingGroup is a repeating group, Tag 804.
|
||||
type NoNestedPartySubIDsRepeatingGroup struct {
|
||||
*quickfix.RepeatingGroup
|
||||
}
|
||||
|
||||
// NewNoNestedPartySubIDsRepeatingGroup returns an initialized, NoNestedPartySubIDsRepeatingGroup.
|
||||
func NewNoNestedPartySubIDsRepeatingGroup() NoNestedPartySubIDsRepeatingGroup {
|
||||
return NoNestedPartySubIDsRepeatingGroup{
|
||||
quickfix.NewRepeatingGroup(
|
||||
tag.NoNestedPartySubIDs,
|
||||
quickfix.GroupTemplate{
|
||||
quickfix.GroupElement(tag.NestedPartySubID),
|
||||
quickfix.GroupElement(tag.NestedPartySubIDType),
|
||||
},
|
||||
),
|
||||
}
|
||||
}
|
||||
|
||||
// Add create and append a new NoNestedPartySubIDs to this group.
|
||||
func (m NoNestedPartySubIDsRepeatingGroup) Add() NoNestedPartySubIDs {
|
||||
g := m.RepeatingGroup.Add()
|
||||
return NoNestedPartySubIDs{g}
|
||||
}
|
||||
|
||||
// Get returns the ith NoNestedPartySubIDs in the NoNestedPartySubIDsRepeatinGroup.
|
||||
func (m NoNestedPartySubIDsRepeatingGroup) Get(i int) NoNestedPartySubIDs {
|
||||
return NoNestedPartySubIDs{m.RepeatingGroup.Get(i)}
|
||||
}
|
||||
|
||||
// NoNestedPartyIDsRepeatingGroup is a repeating group, Tag 539.
|
||||
type NoNestedPartyIDsRepeatingGroup struct {
|
||||
*quickfix.RepeatingGroup
|
||||
}
|
||||
|
||||
// NewNoNestedPartyIDsRepeatingGroup returns an initialized, NoNestedPartyIDsRepeatingGroup.
|
||||
func NewNoNestedPartyIDsRepeatingGroup() NoNestedPartyIDsRepeatingGroup {
|
||||
return NoNestedPartyIDsRepeatingGroup{
|
||||
quickfix.NewRepeatingGroup(
|
||||
tag.NoNestedPartyIDs,
|
||||
quickfix.GroupTemplate{
|
||||
quickfix.GroupElement(tag.NestedPartyID),
|
||||
quickfix.GroupElement(tag.NestedPartyIDSource),
|
||||
quickfix.GroupElement(tag.NestedPartyRole),
|
||||
NewNoNestedPartySubIDsRepeatingGroup(),
|
||||
},
|
||||
),
|
||||
}
|
||||
}
|
||||
|
||||
// Add create and append a new NoNestedPartyIDs to this group.
|
||||
func (m NoNestedPartyIDsRepeatingGroup) Add() NoNestedPartyIDs {
|
||||
g := m.RepeatingGroup.Add()
|
||||
return NoNestedPartyIDs{g}
|
||||
}
|
||||
|
||||
// Get returns the ith NoNestedPartyIDs in the NoNestedPartyIDsRepeatinGroup.
|
||||
func (m NoNestedPartyIDsRepeatingGroup) Get(i int) NoNestedPartyIDs {
|
||||
return NoNestedPartyIDs{m.RepeatingGroup.Get(i)}
|
||||
}
|
||||
|
||||
// NoApplIDsRepeatingGroup is a repeating group, Tag 1351.
|
||||
type NoApplIDsRepeatingGroup struct {
|
||||
*quickfix.RepeatingGroup
|
||||
}
|
||||
|
||||
// NewNoApplIDsRepeatingGroup returns an initialized, NoApplIDsRepeatingGroup.
|
||||
func NewNoApplIDsRepeatingGroup() NoApplIDsRepeatingGroup {
|
||||
return NoApplIDsRepeatingGroup{
|
||||
quickfix.NewRepeatingGroup(
|
||||
tag.NoApplIDs,
|
||||
quickfix.GroupTemplate{
|
||||
quickfix.GroupElement(tag.RefApplID),
|
||||
quickfix.GroupElement(tag.ApplBegSeqNum),
|
||||
quickfix.GroupElement(tag.ApplEndSeqNum),
|
||||
quickfix.GroupElement(tag.RefApplLastSeqNum),
|
||||
quickfix.GroupElement(tag.ApplResponseError),
|
||||
NewNoNestedPartyIDsRepeatingGroup(),
|
||||
quickfix.GroupElement(tag.RefApplReqID),
|
||||
},
|
||||
),
|
||||
}
|
||||
}
|
||||
|
||||
// Add create and append a new NoApplIDs to this group.
|
||||
func (m NoApplIDsRepeatingGroup) Add() NoApplIDs {
|
||||
g := m.RepeatingGroup.Add()
|
||||
return NoApplIDs{g}
|
||||
}
|
||||
|
||||
// Get returns the ith NoApplIDs in the NoApplIDsRepeatinGroup.
|
||||
func (m NoApplIDsRepeatingGroup) Get(i int) NoApplIDs {
|
||||
return NoApplIDs{m.RepeatingGroup.Get(i)}
|
||||
}
|
||||
Reference in New Issue
Block a user