From 217250259c632f627a63176c721eeb41aea562da Mon Sep 17 00:00:00 2001 From: Chris Busbey Date: Mon, 18 Apr 2016 13:06:42 -0500 Subject: [PATCH] new for repeating groups --- _gen/helpers.go | 37 ++++++++++++---- fix40/allocation/Allocation.go | 27 ++++++++++++ fix40/executionreport/ExecutionReport.go | 6 +++ fix40/liststatus/ListStatus.go | 10 +++++ fix41/allocation/Allocation.go | 25 +++++++++++ fix41/email/Email.go | 13 ++++++ .../IndicationofInterest.go | 6 +++ fix41/liststatus/ListStatus.go | 11 +++++ fix41/news/News.go | 13 ++++++ fix42/allocation/Allocation.go | 25 +++++++++++ fix42/bidrequest/BidRequest.go | 12 +++++ fix42/bidresponse/BidResponse.go | 8 ++++ fix42/email/Email.go | 19 ++++++++ fix42/executionreport/ExecutionReport.go | 6 +++ .../IndicationofInterest.go | 12 +++++ fix42/liststatus/ListStatus.go | 12 +++++ fix42/liststrikeprice/ListStrikePrice.go | 8 ++++ fix42/logon/Logon.go | 6 +++ .../MarketDataIncrementalRefresh.go | 7 +++ fix42/marketdatarequest/MarketDataRequest.go | 14 ++++++ .../MarketDataSnapshotFullRefresh.go | 8 ++++ fix42/massquote/MassQuote.go | 17 +++++++ fix42/neworderlist/NewOrderList.go | 22 ++++++++++ fix42/newordersingle/NewOrderSingle.go | 12 +++++ fix42/news/News.go | 19 ++++++++ .../OrderCancelReplaceRequest.go | 12 +++++ .../QuoteAcknowledgement.go | 12 +++++ fix42/quotecancel/QuoteCancel.go | 7 +++ fix42/quoterequest/QuoteRequest.go | 7 +++ .../securitydefinition/SecurityDefinition.go | 6 +++ .../SecurityDefinitionRequest.go | 6 +++ fix43/allocation/Allocation.go | 24 ++++++++++ fix43/bidrequest/BidRequest.go | 12 +++++ fix43/bidresponse/BidResponse.go | 7 +++ fix43/commissiondata/CommissionData.go | 1 + .../CrossOrderCancelReplaceRequest.go | 22 ++++++++++ .../CrossOrderCancelRequest.go | 10 +++++ .../DerivativeSecurityList.go | 12 +++++ fix43/email/Email.go | 19 ++++++++ fix43/executionreport/ExecutionReport.go | 18 ++++++++ fix43/header.go | 6 +++ fix43/instrument/Instrument.go | 7 +++ fix43/instrumentleg/InstrumentLeg.go | 7 +++ fix43/ioi/IOI.go | 12 +++++ fix43/liststatus/ListStatus.go | 12 +++++ fix43/liststrikeprice/ListStrikePrice.go | 8 ++++ fix43/logon/Logon.go | 6 +++ .../MarketDataIncrementalRefresh.go | 7 +++ fix43/marketdatarequest/MarketDataRequest.go | 20 +++++++++ .../MarketDataSnapshotFullRefresh.go | 7 +++ fix43/massquote/MassQuote.go | 16 +++++++ .../MassQuoteAcknowledgement.go | 12 +++++ .../MultilegOrderCancelReplaceRequest.go | 18 ++++++++ fix43/nestedparties/NestedParties.go | 7 +++ fix43/newordercross/NewOrderCross.go | 21 +++++++++ fix43/neworderlist/NewOrderList.go | 23 ++++++++++ fix43/newordermultileg/NewOrderMultileg.go | 18 ++++++++ fix43/newordersingle/NewOrderSingle.go | 12 +++++ fix43/news/News.go | 19 ++++++++ .../OrderCancelReplaceRequest.go | 12 +++++ .../OrderMassCancelReport.go | 6 +++ fix43/orderqtydata/OrderQtyData.go | 1 + fix43/parties/Parties.go | 7 +++ fix43/quotecancel/QuoteCancel.go | 6 +++ fix43/quoterequest/QuoteRequest.go | 7 +++ .../quoterequestreject/QuoteRequestReject.go | 7 +++ .../RegistrationInstructions.go | 12 +++++ fix43/rfqrequest/RFQRequest.go | 7 +++ .../securitydefinition/SecurityDefinition.go | 6 +++ .../SecurityDefinitionRequest.go | 6 +++ fix43/securitylist/SecurityList.go | 12 +++++ fix43/securitytypes/SecurityTypes.go | 6 +++ .../SpreadOrBenchmarkCurveData.go | 1 + fix43/stipulations/Stipulations.go | 7 +++ .../tradecapturereport/TradeCaptureReport.go | 26 +++++++++++ .../TradeCaptureReportRequest.go | 6 +++ .../UnderlyingInstrument.go | 7 +++ fix43/yielddata/YieldData.go | 1 + fix44/advertisement/Advertisement.go | 12 +++++ .../AllocationInstruction.go | 42 ++++++++++++++++++ .../AllocationInstructionAck.go | 6 +++ fix44/allocationreport/AllocationReport.go | 42 ++++++++++++++++++ .../AllocationReportAck.go | 6 +++ fix44/assignmentreport/AssignmentReport.go | 12 +++++ fix44/bidrequest/BidRequest.go | 12 +++++ fix44/bidresponse/BidResponse.go | 7 +++ .../CollateralAssignment.go | 30 +++++++++++++ fix44/collateralinquiry/CollateralInquiry.go | 30 +++++++++++++ .../CollateralInquiryAck.go | 30 +++++++++++++ fix44/collateralreport/CollateralReport.go | 30 +++++++++++++ fix44/collateralrequest/CollateralRequest.go | 30 +++++++++++++ .../collateralresponse/CollateralResponse.go | 30 +++++++++++++ fix44/commissiondata/CommissionData.go | 1 + fix44/confirmation/Confirmation.go | 32 ++++++++++++++ .../ConfirmationRequest.go | 6 +++ .../CrossOrderCancelReplaceRequest.go | 34 ++++++++++++++ .../CrossOrderCancelRequest.go | 22 ++++++++++ .../DerivativeSecurityList.go | 12 +++++ .../DiscretionInstructions.go | 1 + fix44/dontknowtrade/DontKnowTrade.go | 12 +++++ fix44/email/Email.go | 31 +++++++++++++ fix44/executionreport/ExecutionReport.go | 30 +++++++++++++ fix44/financingdetails/FinancingDetails.go | 1 + fix44/header.go | 6 +++ fix44/instrument/Instrument.go | 13 ++++++ .../InstrumentExtension.go | 7 +++ fix44/instrumentleg/InstrumentLeg.go | 7 +++ fix44/ioi/IOI.go | 24 ++++++++++ .../LegBenchmarkCurveData.go | 1 + fix44/legstipulations/LegStipulations.go | 7 +++ fix44/liststatus/ListStatus.go | 12 +++++ fix44/liststrikeprice/ListStrikePrice.go | 14 ++++++ fix44/logon/Logon.go | 6 +++ .../MarketDataIncrementalRefresh.go | 19 ++++++++ fix44/marketdatarequest/MarketDataRequest.go | 32 ++++++++++++++ .../MarketDataRequestReject.go | 6 +++ .../MarketDataSnapshotFullRefresh.go | 19 ++++++++ fix44/massquote/MassQuote.go | 22 ++++++++++ .../MassQuoteAcknowledgement.go | 18 ++++++++ .../MultilegOrderCancelReplace.go | 30 +++++++++++++ fix44/nestedparties/NestedParties.go | 13 ++++++ fix44/nestedparties2/NestedParties2.go | 13 ++++++ fix44/nestedparties3/NestedParties3.go | 13 ++++++ .../NetworkCounterpartySystemStatusRequest.go | 6 +++ ...NetworkCounterpartySystemStatusResponse.go | 6 +++ fix44/newordercross/NewOrderCross.go | 33 ++++++++++++++ fix44/neworderlist/NewOrderList.go | 29 ++++++++++++ fix44/newordermultileg/NewOrderMultileg.go | 30 +++++++++++++ fix44/newordersingle/NewOrderSingle.go | 18 ++++++++ fix44/news/News.go | 31 +++++++++++++ .../OrderCancelReplaceRequest.go | 18 ++++++++ .../ordercancelrequest/OrderCancelRequest.go | 6 +++ .../OrderMassCancelReport.go | 6 +++ fix44/orderqtydata/OrderQtyData.go | 1 + .../orderstatusrequest/OrderStatusRequest.go | 6 +++ fix44/parties/Parties.go | 13 ++++++ fix44/peginstructions/PegInstructions.go | 1 + .../positionamountdata/PositionAmountData.go | 7 +++ .../PositionMaintenanceReport.go | 18 ++++++++ .../PositionMaintenanceRequest.go | 18 ++++++++ fix44/positionqty/PositionQty.go | 7 +++ fix44/positionreport/PositionReport.go | 14 ++++++ fix44/quote/Quote.go | 18 ++++++++ fix44/quotecancel/QuoteCancel.go | 18 ++++++++ fix44/quoterequest/QuoteRequest.go | 25 +++++++++++ .../quoterequestreject/QuoteRequestReject.go | 25 +++++++++++ fix44/quoteresponse/QuoteResponse.go | 18 ++++++++ fix44/quotestatusreport/QuoteStatusReport.go | 18 ++++++++ .../quotestatusrequest/QuoteStatusRequest.go | 12 +++++ .../RegistrationInstructions.go | 12 +++++ .../RequestForPositions.go | 18 ++++++++ .../RequestForPositionsAck.go | 12 +++++ fix44/rfqrequest/RFQRequest.go | 19 ++++++++ .../securitydefinition/SecurityDefinition.go | 12 +++++ .../SecurityDefinitionRequest.go | 12 +++++ fix44/securitylist/SecurityList.go | 18 ++++++++ .../SecurityListRequest.go | 12 +++++ fix44/securitystatus/SecurityStatus.go | 12 +++++ .../SecurityStatusRequest.go | 12 +++++ fix44/securitytypes/SecurityTypes.go | 6 +++ .../SettlementInstructions.go | 6 +++ .../SettlInstructionsData.go | 7 +++ fix44/settlparties/SettlParties.go | 13 ++++++ .../SpreadOrBenchmarkCurveData.go | 1 + fix44/stipulations/Stipulations.go | 7 +++ .../tradecapturereport/TradeCaptureReport.go | 44 +++++++++++++++++++ .../TradeCaptureReportAck.go | 12 +++++ .../TradeCaptureReportRequest.go | 18 ++++++++ .../TradeCaptureReportRequestAck.go | 12 +++++ fix44/trdregtimestamps/TrdRegTimestamps.go | 7 +++ .../UnderlyingInstrument.go | 7 +++ .../UnderlyingStipulations.go | 7 +++ fix44/yielddata/YieldData.go | 1 + fix50/affectedordgrp/AffectedOrdGrp.go | 7 +++ fix50/allocackgrp/AllocAckGrp.go | 7 +++ fix50/allocgrp/AllocGrp.go | 7 +++ fix50/attrbgrp/AttrbGrp.go | 7 +++ fix50/bidcompreqgrp/BidCompReqGrp.go | 7 +++ fix50/bidcomprspgrp/BidCompRspGrp.go | 8 ++++ fix50/biddescreqgrp/BidDescReqGrp.go | 7 +++ fix50/clrinstgrp/ClrInstGrp.go | 7 +++ fix50/collinqqualgrp/CollInqQualGrp.go | 7 +++ fix50/commissiondata/CommissionData.go | 1 + fix50/compidreqgrp/CompIDReqGrp.go | 7 +++ fix50/compidstatgrp/CompIDStatGrp.go | 9 ++++ fix50/contamtgrp/ContAmtGrp.go | 7 +++ fix50/contragrp/ContraGrp.go | 7 +++ fix50/cpctyconfgrp/CpctyConfGrp.go | 9 ++++ .../DiscretionInstructions.go | 1 + .../displayinstruction/DisplayInstruction.go | 1 + fix50/dlvyinstgrp/DlvyInstGrp.go | 7 +++ fix50/evntgrp/EvntGrp.go | 7 +++ fix50/execallocgrp/ExecAllocGrp.go | 7 +++ fix50/execcollgrp/ExecCollGrp.go | 7 +++ fix50/execsgrp/ExecsGrp.go | 7 +++ fix50/expirationqty/ExpirationQty.go | 7 +++ fix50/financingdetails/FinancingDetails.go | 1 + fix50/hopgrp/HopGrp.go | 7 +++ fix50/instrmtgrp/InstrmtGrp.go | 7 +++ fix50/instrmtlegexecgrp/InstrmtLegExecGrp.go | 7 +++ fix50/instrmtleggrp/InstrmtLegGrp.go | 7 +++ fix50/instrmtlegioigrp/InstrmtLegIOIGrp.go | 7 +++ .../InstrmtLegSecListGrp.go | 7 +++ fix50/instrmtmdreqgrp/InstrmtMDReqGrp.go | 8 ++++ fix50/instrmtstrkpxgrp/InstrmtStrkPxGrp.go | 8 ++++ fix50/instrument/Instrument.go | 1 + .../InstrumentExtension.go | 1 + fix50/instrumentleg/InstrumentLeg.go | 1 + fix50/instrumentparties/InstrumentParties.go | 7 +++ .../InstrumentPtysSubGrp.go | 7 +++ fix50/ioiqualgrp/IOIQualGrp.go | 7 +++ .../LegBenchmarkCurveData.go | 1 + fix50/legordgrp/LegOrdGrp.go | 7 +++ fix50/legpreallocgrp/LegPreAllocGrp.go | 7 +++ fix50/legquotgrp/LegQuotGrp.go | 7 +++ fix50/legquotstatgrp/LegQuotStatGrp.go | 7 +++ fix50/legsecaltidgrp/LegSecAltIDGrp.go | 7 +++ fix50/legstipulations/LegStipulations.go | 7 +++ fix50/linesoftextgrp/LinesOfTextGrp.go | 8 ++++ fix50/listordgrp/ListOrdGrp.go | 12 +++++ fix50/mdfullgrp/MDFullGrp.go | 8 ++++ fix50/mdincgrp/MDIncGrp.go | 8 ++++ fix50/mdreqgrp/MDReqGrp.go | 8 ++++ fix50/mdrjctgrp/MDRjctGrp.go | 7 +++ fix50/miscfeesgrp/MiscFeesGrp.go | 7 +++ fix50/msgtypegrp/MsgTypeGrp.go | 7 +++ fix50/nestedparties/NestedParties.go | 7 +++ fix50/nestedparties2/NestedParties2.go | 7 +++ fix50/nestedparties3/NestedParties3.go | 7 +++ fix50/nstdptys2subgrp/NstdPtys2SubGrp.go | 7 +++ fix50/nstdptys3subgrp/NstdPtys3SubGrp.go | 7 +++ fix50/nstdptyssubgrp/NstdPtysSubGrp.go | 7 +++ fix50/ordallocgrp/OrdAllocGrp.go | 7 +++ fix50/orderqtydata/OrderQtyData.go | 1 + fix50/ordliststatgrp/OrdListStatGrp.go | 13 ++++++ fix50/parties/Parties.go | 7 +++ fix50/peginstructions/PegInstructions.go | 1 + .../positionamountdata/PositionAmountData.go | 7 +++ fix50/positionqty/PositionQty.go | 7 +++ fix50/posundinstrmtgrp/PosUndInstrmtGrp.go | 7 +++ fix50/preallocgrp/PreAllocGrp.go | 7 +++ fix50/preallocmleggrp/PreAllocMlegGrp.go | 7 +++ fix50/ptyssubgrp/PtysSubGrp.go | 7 +++ fix50/quotcxlentriesgrp/QuotCxlEntriesGrp.go | 7 +++ fix50/quotentryackgrp/QuotEntryAckGrp.go | 7 +++ fix50/quotentrygrp/QuotEntryGrp.go | 8 ++++ fix50/quotqualgrp/QuotQualGrp.go | 7 +++ fix50/quotreqgrp/QuotReqGrp.go | 8 ++++ fix50/quotreqlegsgrp/QuotReqLegsGrp.go | 7 +++ fix50/quotreqrjctgrp/QuotReqRjctGrp.go | 8 ++++ fix50/quotsetackgrp/QuotSetAckGrp.go | 7 +++ fix50/quotsetgrp/QuotSetGrp.go | 10 +++++ fix50/relsymderivsecgrp/RelSymDerivSecGrp.go | 7 +++ fix50/rfqreqgrp/RFQReqGrp.go | 8 ++++ fix50/rgstdistinstgrp/RgstDistInstGrp.go | 7 +++ fix50/rgstdtlsgrp/RgstDtlsGrp.go | 7 +++ fix50/rootparties/RootParties.go | 7 +++ fix50/rootsubparties/RootSubParties.go | 7 +++ fix50/routinggrp/RoutingGrp.go | 7 +++ fix50/secaltidgrp/SecAltIDGrp.go | 7 +++ fix50/seclistgrp/SecListGrp.go | 7 +++ .../seclstupdrelsymgrp/SecLstUpdRelSymGrp.go | 7 +++ .../SecLstUpdRelSymsLegGrp.go | 7 +++ fix50/sectypesgrp/SecTypesGrp.go | 7 +++ .../securitydefinition/SecurityDefinition.go | 6 +++ .../SecurityDefinitionRequest.go | 6 +++ fix50/settlinstgrp/SettlInstGrp.go | 7 +++ .../SettlInstructionsData.go | 1 + fix50/settlparties/SettlParties.go | 7 +++ fix50/settlptyssubgrp/SettlPtysSubGrp.go | 7 +++ .../sidecrossordcxlgrp/SideCrossOrdCxlGrp.go | 11 +++++ .../sidecrossordmodgrp/SideCrossOrdModGrp.go | 10 +++++ fix50/sidetrdregts/SideTrdRegTS.go | 7 +++ .../SpreadOrBenchmarkCurveData.go | 1 + fix50/stipulations/Stipulations.go | 7 +++ .../StrategyParametersGrp.go | 7 +++ fix50/trdallocgrp/TrdAllocGrp.go | 7 +++ fix50/trdcapdtgrp/TrdCapDtGrp.go | 7 +++ .../TrdCapRptAckSideGrp.go | 8 ++++ fix50/trdcaprptsidegrp/TrdCapRptSideGrp.go | 8 ++++ fix50/trdcollgrp/TrdCollGrp.go | 7 +++ fix50/trdgsesgrp/TrdgSesGrp.go | 7 +++ fix50/trdinstrmtleggrp/TrdInstrmtLegGrp.go | 7 +++ fix50/trdregtimestamps/TrdRegTimestamps.go | 7 +++ fix50/trdsesslstgrp/TrdSessLstGrp.go | 9 ++++ .../TriggeringInstruction.go | 1 + fix50/underlyingamount/UnderlyingAmount.go | 7 +++ .../UnderlyingInstrument.go | 1 + .../UnderlyingStipulations.go | 7 +++ fix50/undinstrmtcollgrp/UndInstrmtCollGrp.go | 7 +++ fix50/undinstrmtgrp/UndInstrmtGrp.go | 7 +++ .../UndInstrmtStrkPxGrp.go | 8 ++++ .../UndlyInstrumentParties.go | 7 +++ .../UndlyInstrumentPtysSubGrp.go | 7 +++ fix50/undsecaltidgrp/UndSecAltIDGrp.go | 7 +++ fix50/yielddata/YieldData.go | 1 + fix50sp1/affectedordgrp/AffectedOrdGrp.go | 7 +++ fix50sp1/allocackgrp/AllocAckGrp.go | 7 +++ fix50sp1/allocgrp/AllocGrp.go | 7 +++ .../ApplicationSequenceControl.go | 1 + fix50sp1/applidreportgrp/ApplIDReportGrp.go | 7 +++ .../ApplIDRequestAckGrp.go | 7 +++ fix50sp1/applidrequestgrp/ApplIDRequestGrp.go | 7 +++ fix50sp1/attrbgrp/AttrbGrp.go | 7 +++ fix50sp1/basetradingrules/BaseTradingRules.go | 1 + fix50sp1/bidcompreqgrp/BidCompReqGrp.go | 7 +++ fix50sp1/bidcomprspgrp/BidCompRspGrp.go | 8 ++++ fix50sp1/biddescreqgrp/BidDescReqGrp.go | 7 +++ fix50sp1/clrinstgrp/ClrInstGrp.go | 7 +++ fix50sp1/collinqqualgrp/CollInqQualGrp.go | 7 +++ fix50sp1/commissiondata/CommissionData.go | 1 + fix50sp1/compidreqgrp/CompIDReqGrp.go | 7 +++ fix50sp1/compidstatgrp/CompIDStatGrp.go | 9 ++++ fix50sp1/contamtgrp/ContAmtGrp.go | 7 +++ fix50sp1/contragrp/ContraGrp.go | 7 +++ fix50sp1/cpctyconfgrp/CpctyConfGrp.go | 9 ++++ .../DerivativeEventsGrp.go | 7 +++ .../DerivativeInstrument.go | 1 + .../DerivativeInstrumentAttribute.go | 7 +++ .../DerivativeInstrumentParties.go | 7 +++ .../DerivativeInstrumentPartySubIDsGrp.go | 7 +++ .../DerivativeSecurityAltIDGrp.go | 7 +++ .../DerivativeSecurityDefinition.go | 1 + .../DerivativeSecurityXML.go | 1 + .../DiscretionInstructions.go | 1 + .../displayinstruction/DisplayInstruction.go | 1 + fix50sp1/dlvyinstgrp/DlvyInstGrp.go | 7 +++ fix50sp1/evntgrp/EvntGrp.go | 7 +++ fix50sp1/execallocgrp/ExecAllocGrp.go | 7 +++ fix50sp1/execcollgrp/ExecCollGrp.go | 7 +++ fix50sp1/execinstrules/ExecInstRules.go | 7 +++ fix50sp1/expirationqty/ExpirationQty.go | 7 +++ fix50sp1/fillsgrp/FillsGrp.go | 7 +++ fix50sp1/financingdetails/FinancingDetails.go | 1 + fix50sp1/hopgrp/HopGrp.go | 7 +++ fix50sp1/instrmtgrp/InstrmtGrp.go | 7 +++ .../instrmtlegexecgrp/InstrmtLegExecGrp.go | 7 +++ fix50sp1/instrmtleggrp/InstrmtLegGrp.go | 7 +++ fix50sp1/instrmtlegioigrp/InstrmtLegIOIGrp.go | 7 +++ .../InstrmtLegSecListGrp.go | 7 +++ fix50sp1/instrmtmdreqgrp/InstrmtMDReqGrp.go | 8 ++++ fix50sp1/instrmtstrkpxgrp/InstrmtStrkPxGrp.go | 8 ++++ fix50sp1/instrument/Instrument.go | 1 + .../InstrumentExtension.go | 1 + fix50sp1/instrumentleg/InstrumentLeg.go | 1 + .../instrumentparties/InstrumentParties.go | 7 +++ .../InstrumentPtysSubGrp.go | 7 +++ fix50sp1/ioiqualgrp/IOIQualGrp.go | 7 +++ .../LegBenchmarkCurveData.go | 1 + fix50sp1/legordgrp/LegOrdGrp.go | 7 +++ fix50sp1/legpreallocgrp/LegPreAllocGrp.go | 7 +++ fix50sp1/legquotgrp/LegQuotGrp.go | 7 +++ fix50sp1/legquotstatgrp/LegQuotStatGrp.go | 7 +++ fix50sp1/legsecaltidgrp/LegSecAltIDGrp.go | 7 +++ fix50sp1/legstipulations/LegStipulations.go | 7 +++ fix50sp1/linesoftextgrp/LinesOfTextGrp.go | 8 ++++ fix50sp1/listordgrp/ListOrdGrp.go | 12 +++++ fix50sp1/lottyperules/LotTypeRules.go | 7 +++ .../MarketDataFeedTypes.go | 7 +++ fix50sp1/marketsegmentgrp/MarketSegmentGrp.go | 7 +++ fix50sp1/matchrules/MatchRules.go | 7 +++ fix50sp1/maturityrules/MaturityRules.go | 7 +++ fix50sp1/mdfullgrp/MDFullGrp.go | 8 ++++ fix50sp1/mdincgrp/MDIncGrp.go | 8 ++++ fix50sp1/mdreqgrp/MDReqGrp.go | 8 ++++ fix50sp1/mdrjctgrp/MDRjctGrp.go | 7 +++ fix50sp1/miscfeesgrp/MiscFeesGrp.go | 7 +++ fix50sp1/msgtypegrp/MsgTypeGrp.go | 7 +++ .../NestedInstrumentAttribute.go | 7 +++ fix50sp1/nestedparties/NestedParties.go | 7 +++ fix50sp1/nestedparties2/NestedParties2.go | 7 +++ fix50sp1/nestedparties3/NestedParties3.go | 7 +++ fix50sp1/nestedparties4/NestedParties4.go | 7 +++ .../NotAffectedOrdersGrp.go | 7 +++ fix50sp1/nstdptys2subgrp/NstdPtys2SubGrp.go | 7 +++ fix50sp1/nstdptys3subgrp/NstdPtys3SubGrp.go | 7 +++ fix50sp1/nstdptys4subgrp/NstdPtys4SubGrp.go | 7 +++ fix50sp1/nstdptyssubgrp/NstdPtysSubGrp.go | 7 +++ fix50sp1/ordallocgrp/OrdAllocGrp.go | 7 +++ fix50sp1/orderqtydata/OrderQtyData.go | 1 + fix50sp1/ordliststatgrp/OrdListStatGrp.go | 12 +++++ fix50sp1/ordtyperules/OrdTypeRules.go | 7 +++ fix50sp1/parties/Parties.go | 7 +++ fix50sp1/peginstructions/PegInstructions.go | 1 + .../positionamountdata/PositionAmountData.go | 7 +++ fix50sp1/positionqty/PositionQty.go | 7 +++ fix50sp1/posundinstrmtgrp/PosUndInstrmtGrp.go | 7 +++ fix50sp1/preallocgrp/PreAllocGrp.go | 7 +++ fix50sp1/preallocmleggrp/PreAllocMlegGrp.go | 7 +++ fix50sp1/pricelimits/PriceLimits.go | 1 + fix50sp1/ptyssubgrp/PtysSubGrp.go | 7 +++ .../quotcxlentriesgrp/QuotCxlEntriesGrp.go | 7 +++ fix50sp1/quotentryackgrp/QuotEntryAckGrp.go | 7 +++ fix50sp1/quotentrygrp/QuotEntryGrp.go | 8 ++++ fix50sp1/quotqualgrp/QuotQualGrp.go | 7 +++ fix50sp1/quotreqgrp/QuotReqGrp.go | 8 ++++ fix50sp1/quotreqlegsgrp/QuotReqLegsGrp.go | 7 +++ fix50sp1/quotreqrjctgrp/QuotReqRjctGrp.go | 8 ++++ fix50sp1/quotsetackgrp/QuotSetAckGrp.go | 7 +++ fix50sp1/quotsetgrp/QuotSetGrp.go | 10 +++++ .../relsymderivsecgrp/RelSymDerivSecGrp.go | 7 +++ .../RelSymDerivSecUpdGrp.go | 7 +++ fix50sp1/rfqreqgrp/RFQReqGrp.go | 8 ++++ fix50sp1/rgstdistinstgrp/RgstDistInstGrp.go | 7 +++ fix50sp1/rgstdtlsgrp/RgstDtlsGrp.go | 7 +++ fix50sp1/rootparties/RootParties.go | 7 +++ fix50sp1/rootsubparties/RootSubParties.go | 7 +++ fix50sp1/routinggrp/RoutingGrp.go | 7 +++ fix50sp1/secaltidgrp/SecAltIDGrp.go | 7 +++ fix50sp1/seclistgrp/SecListGrp.go | 7 +++ .../seclstupdrelsymgrp/SecLstUpdRelSymGrp.go | 7 +++ .../SecLstUpdRelSymsLegGrp.go | 7 +++ .../SecondaryPriceLimits.go | 1 + fix50sp1/secsizesgrp/SecSizesGrp.go | 7 +++ fix50sp1/sectypesgrp/SecTypesGrp.go | 7 +++ .../SecurityTradingRules.go | 1 + fix50sp1/securityxml/SecurityXML.go | 1 + fix50sp1/settldetails/SettlDetails.go | 7 +++ fix50sp1/settlinstgrp/SettlInstGrp.go | 7 +++ .../SettlInstructionsData.go | 1 + .../SettlObligationInstructions.go | 7 +++ fix50sp1/settlparties/SettlParties.go | 7 +++ fix50sp1/settlptyssubgrp/SettlPtysSubGrp.go | 7 +++ .../sidecrossordcxlgrp/SideCrossOrdCxlGrp.go | 10 +++++ .../sidecrossordmodgrp/SideCrossOrdModGrp.go | 10 +++++ fix50sp1/sidetrdregts/SideTrdRegTS.go | 7 +++ .../SpreadOrBenchmarkCurveData.go | 1 + fix50sp1/statsindgrp/StatsIndGrp.go | 7 +++ fix50sp1/stipulations/Stipulations.go | 7 +++ .../StrategyParametersGrp.go | 7 +++ fix50sp1/strikerules/StrikeRules.go | 7 +++ fix50sp1/tickrules/TickRules.go | 7 +++ fix50sp1/timeinforcerules/TimeInForceRules.go | 7 +++ .../TradeCapLegUnderlyingsGrp.go | 7 +++ .../TradingSessionRules.go | 1 + .../TradingSessionRulesGrp.go | 7 +++ fix50sp1/trdallocgrp/TrdAllocGrp.go | 7 +++ fix50sp1/trdcapdtgrp/TrdCapDtGrp.go | 7 +++ .../TrdCapRptAckSideGrp.go | 8 ++++ fix50sp1/trdcaprptsidegrp/TrdCapRptSideGrp.go | 8 ++++ fix50sp1/trdcollgrp/TrdCollGrp.go | 7 +++ fix50sp1/trdgsesgrp/TrdgSesGrp.go | 7 +++ fix50sp1/trdinstrmtleggrp/TrdInstrmtLegGrp.go | 7 +++ fix50sp1/trdregtimestamps/TrdRegTimestamps.go | 7 +++ .../TrdRepIndicatorsGrp.go | 7 +++ fix50sp1/trdsesslstgrp/TrdSessLstGrp.go | 9 ++++ .../TriggeringInstruction.go | 1 + fix50sp1/underlyingamount/UnderlyingAmount.go | 7 +++ .../UnderlyingInstrument.go | 1 + .../UnderlyingLegInstrument.go | 1 + .../UnderlyingLegSecurityAltIDGrp.go | 7 +++ .../UnderlyingStipulations.go | 7 +++ .../undinstrmtcollgrp/UndInstrmtCollGrp.go | 7 +++ fix50sp1/undinstrmtgrp/UndInstrmtGrp.go | 7 +++ .../UndlyInstrumentParties.go | 7 +++ .../UndlyInstrumentPtysSubGrp.go | 7 +++ fix50sp1/undsecaltidgrp/UndSecAltIDGrp.go | 7 +++ fix50sp1/usernamegrp/UsernameGrp.go | 1 + fix50sp1/yielddata/YieldData.go | 1 + fix50sp2/affectedordgrp/AffectedOrdGrp.go | 7 +++ fix50sp2/allocackgrp/AllocAckGrp.go | 7 +++ fix50sp2/allocgrp/AllocGrp.go | 7 +++ fix50sp2/altptyssubgrp/AltPtysSubGrp.go | 7 +++ .../ApplicationSequenceControl.go | 1 + fix50sp2/applidreportgrp/ApplIDReportGrp.go | 7 +++ .../ApplIDRequestAckGrp.go | 7 +++ fix50sp2/applidrequestgrp/ApplIDRequestGrp.go | 7 +++ fix50sp2/attrbgrp/AttrbGrp.go | 7 +++ fix50sp2/basetradingrules/BaseTradingRules.go | 1 + fix50sp2/bidcompreqgrp/BidCompReqGrp.go | 7 +++ fix50sp2/bidcomprspgrp/BidCompRspGrp.go | 8 ++++ fix50sp2/biddescreqgrp/BidDescReqGrp.go | 7 +++ fix50sp2/clrinstgrp/ClrInstGrp.go | 7 +++ fix50sp2/collinqqualgrp/CollInqQualGrp.go | 7 +++ fix50sp2/commissiondata/CommissionData.go | 1 + fix50sp2/compidreqgrp/CompIDReqGrp.go | 7 +++ fix50sp2/compidstatgrp/CompIDStatGrp.go | 9 ++++ .../complexeventdates/ComplexEventDates.go | 7 +++ fix50sp2/complexevents/ComplexEvents.go | 7 +++ .../complexeventtimes/ComplexEventTimes.go | 7 +++ fix50sp2/contamtgrp/ContAmtGrp.go | 7 +++ fix50sp2/contextparties/ContextParties.go | 7 +++ .../contextptyssubgrp/ContextPtysSubGrp.go | 7 +++ fix50sp2/contragrp/ContraGrp.go | 7 +++ fix50sp2/cpctyconfgrp/CpctyConfGrp.go | 9 ++++ .../DerivativeEventsGrp.go | 7 +++ .../DerivativeInstrument.go | 1 + .../DerivativeInstrumentAttribute.go | 7 +++ .../DerivativeInstrumentParties.go | 7 +++ .../DerivativeInstrumentPartySubIDsGrp.go | 7 +++ .../DerivativeSecurityAltIDGrp.go | 7 +++ .../DerivativeSecurityDefinition.go | 1 + .../DerivativeSecurityXML.go | 1 + .../DiscretionInstructions.go | 1 + .../displayinstruction/DisplayInstruction.go | 1 + fix50sp2/dlvyinstgrp/DlvyInstGrp.go | 7 +++ fix50sp2/evntgrp/EvntGrp.go | 7 +++ fix50sp2/execallocgrp/ExecAllocGrp.go | 7 +++ fix50sp2/execcollgrp/ExecCollGrp.go | 7 +++ fix50sp2/execinstrules/ExecInstRules.go | 7 +++ fix50sp2/expirationqty/ExpirationQty.go | 7 +++ fix50sp2/fillsgrp/FillsGrp.go | 7 +++ fix50sp2/financingdetails/FinancingDetails.go | 1 + fix50sp2/hopgrp/HopGrp.go | 7 +++ fix50sp2/instrmtgrp/InstrmtGrp.go | 7 +++ .../instrmtlegexecgrp/InstrmtLegExecGrp.go | 7 +++ fix50sp2/instrmtleggrp/InstrmtLegGrp.go | 7 +++ fix50sp2/instrmtlegioigrp/InstrmtLegIOIGrp.go | 7 +++ .../InstrmtLegSecListGrp.go | 7 +++ fix50sp2/instrmtmdreqgrp/InstrmtMDReqGrp.go | 8 ++++ fix50sp2/instrmtstrkpxgrp/InstrmtStrkPxGrp.go | 8 ++++ fix50sp2/instrument/Instrument.go | 1 + .../InstrumentExtension.go | 1 + fix50sp2/instrumentleg/InstrumentLeg.go | 1 + .../instrumentparties/InstrumentParties.go | 7 +++ .../InstrumentPtysSubGrp.go | 7 +++ fix50sp2/ioiqualgrp/IOIQualGrp.go | 7 +++ .../LegBenchmarkCurveData.go | 1 + fix50sp2/legordgrp/LegOrdGrp.go | 7 +++ fix50sp2/legpreallocgrp/LegPreAllocGrp.go | 7 +++ fix50sp2/legquotgrp/LegQuotGrp.go | 7 +++ fix50sp2/legquotstatgrp/LegQuotStatGrp.go | 7 +++ fix50sp2/legsecaltidgrp/LegSecAltIDGrp.go | 7 +++ fix50sp2/legstipulations/LegStipulations.go | 7 +++ fix50sp2/linesoftextgrp/LinesOfTextGrp.go | 8 ++++ fix50sp2/listordgrp/ListOrdGrp.go | 12 +++++ fix50sp2/lottyperules/LotTypeRules.go | 7 +++ .../MarketDataFeedTypes.go | 7 +++ fix50sp2/marketsegmentgrp/MarketSegmentGrp.go | 7 +++ fix50sp2/matchrules/MatchRules.go | 7 +++ fix50sp2/maturityrules/MaturityRules.go | 7 +++ fix50sp2/mdfullgrp/MDFullGrp.go | 8 ++++ fix50sp2/mdincgrp/MDIncGrp.go | 8 ++++ fix50sp2/mdreqgrp/MDReqGrp.go | 8 ++++ fix50sp2/mdrjctgrp/MDRjctGrp.go | 7 +++ fix50sp2/miscfeesgrp/MiscFeesGrp.go | 7 +++ fix50sp2/msgtypegrp/MsgTypeGrp.go | 7 +++ .../NestedInstrumentAttribute.go | 7 +++ fix50sp2/nestedparties/NestedParties.go | 7 +++ fix50sp2/nestedparties2/NestedParties2.go | 7 +++ fix50sp2/nestedparties3/NestedParties3.go | 7 +++ fix50sp2/nestedparties4/NestedParties4.go | 7 +++ fix50sp2/newsrefgrp/NewsRefGrp.go | 7 +++ .../NotAffectedOrdersGrp.go | 7 +++ fix50sp2/nstdptys2subgrp/NstdPtys2SubGrp.go | 7 +++ fix50sp2/nstdptys3subgrp/NstdPtys3SubGrp.go | 7 +++ fix50sp2/nstdptys4subgrp/NstdPtys4SubGrp.go | 7 +++ fix50sp2/nstdptyssubgrp/NstdPtysSubGrp.go | 7 +++ fix50sp2/ordallocgrp/OrdAllocGrp.go | 7 +++ fix50sp2/orderqtydata/OrderQtyData.go | 1 + fix50sp2/ordliststatgrp/OrdListStatGrp.go | 12 +++++ fix50sp2/ordtyperules/OrdTypeRules.go | 7 +++ fix50sp2/parties/Parties.go | 7 +++ fix50sp2/partyaltids/PartyAltIDs.go | 7 +++ fix50sp2/partydetail/PartyDetail.go | 1 + fix50sp2/partylistgrp/PartyListGrp.go | 7 +++ .../PartyListResponseTypeGrp.go | 8 ++++ .../partyrelationships/PartyRelationships.go | 7 +++ fix50sp2/peginstructions/PegInstructions.go | 1 + .../positionamountdata/PositionAmountData.go | 7 +++ fix50sp2/positionqty/PositionQty.go | 7 +++ fix50sp2/posundinstrmtgrp/PosUndInstrmtGrp.go | 7 +++ fix50sp2/preallocgrp/PreAllocGrp.go | 7 +++ fix50sp2/preallocmleggrp/PreAllocMlegGrp.go | 7 +++ fix50sp2/pricelimits/PriceLimits.go | 1 + fix50sp2/ptyssubgrp/PtysSubGrp.go | 7 +++ .../quotcxlentriesgrp/QuotCxlEntriesGrp.go | 7 +++ fix50sp2/quotentryackgrp/QuotEntryAckGrp.go | 7 +++ fix50sp2/quotentrygrp/QuotEntryGrp.go | 8 ++++ fix50sp2/quotqualgrp/QuotQualGrp.go | 7 +++ fix50sp2/quotreqgrp/QuotReqGrp.go | 8 ++++ fix50sp2/quotreqlegsgrp/QuotReqLegsGrp.go | 7 +++ fix50sp2/quotreqrjctgrp/QuotReqRjctGrp.go | 8 ++++ fix50sp2/quotsetackgrp/QuotSetAckGrp.go | 7 +++ fix50sp2/quotsetgrp/QuotSetGrp.go | 10 +++++ fix50sp2/ratesource/RateSource.go | 7 +++ .../RelatedAltPtysSubGrp.go | 7 +++ .../RelatedContextParties.go | 7 +++ .../RelatedContextPtysSubGrp.go | 7 +++ .../relatedpartyaltids/RelatedPartyAltIDs.go | 7 +++ .../relatedpartydetail/RelatedPartyDetail.go | 1 + fix50sp2/relatedpartygrp/RelatedPartyGrp.go | 7 +++ .../relatedptyssubgrp/RelatedPtysSubGrp.go | 7 +++ .../RelationshipRiskInstrumentScope.go | 7 +++ .../RelationshipRiskLimits.go | 7 +++ .../RelationshipRiskSecAltIDGrp.go | 7 +++ .../RelationshipRiskWarningLevels.go | 7 +++ .../relsymderivsecgrp/RelSymDerivSecGrp.go | 7 +++ .../RelSymDerivSecUpdGrp.go | 7 +++ .../RequestedPartyRoleGrp.go | 7 +++ fix50sp2/rfqreqgrp/RFQReqGrp.go | 8 ++++ fix50sp2/rgstdistinstgrp/RgstDistInstGrp.go | 7 +++ fix50sp2/rgstdtlsgrp/RgstDtlsGrp.go | 7 +++ .../RiskInstrumentScope.go | 7 +++ fix50sp2/risklimits/RiskLimits.go | 7 +++ fix50sp2/risksecaltidgrp/RiskSecAltIDGrp.go | 7 +++ .../riskwarninglevels/RiskWarningLevels.go | 7 +++ fix50sp2/rootparties/RootParties.go | 7 +++ fix50sp2/rootsubparties/RootSubParties.go | 7 +++ fix50sp2/routinggrp/RoutingGrp.go | 7 +++ fix50sp2/secaltidgrp/SecAltIDGrp.go | 7 +++ fix50sp2/seclistgrp/SecListGrp.go | 7 +++ .../seclstupdrelsymgrp/SecLstUpdRelSymGrp.go | 7 +++ .../SecLstUpdRelSymsLegGrp.go | 7 +++ .../SecondaryPriceLimits.go | 1 + fix50sp2/secsizesgrp/SecSizesGrp.go | 7 +++ fix50sp2/sectypesgrp/SecTypesGrp.go | 7 +++ .../SecurityTradingRules.go | 1 + fix50sp2/securityxml/SecurityXML.go | 1 + fix50sp2/settldetails/SettlDetails.go | 7 +++ fix50sp2/settlinstgrp/SettlInstGrp.go | 7 +++ .../SettlInstructionsData.go | 1 + .../SettlObligationInstructions.go | 7 +++ fix50sp2/settlparties/SettlParties.go | 7 +++ fix50sp2/settlptyssubgrp/SettlPtysSubGrp.go | 7 +++ .../sidecrossordcxlgrp/SideCrossOrdCxlGrp.go | 10 +++++ .../sidecrossordmodgrp/SideCrossOrdModGrp.go | 10 +++++ fix50sp2/sidetrdregts/SideTrdRegTS.go | 7 +++ .../SpreadOrBenchmarkCurveData.go | 1 + fix50sp2/statsindgrp/StatsIndGrp.go | 7 +++ fix50sp2/stipulations/Stipulations.go | 7 +++ .../StrategyParametersGrp.go | 7 +++ fix50sp2/strikerules/StrikeRules.go | 7 +++ fix50sp2/strmasgnreqgrp/StrmAsgnReqGrp.go | 7 +++ .../StrmAsgnReqInstrmtGrp.go | 7 +++ fix50sp2/strmasgnrptgrp/StrmAsgnRptGrp.go | 7 +++ .../StrmAsgnRptInstrmtGrp.go | 7 +++ fix50sp2/targetparties/TargetParties.go | 7 +++ fix50sp2/tickrules/TickRules.go | 7 +++ fix50sp2/timeinforcerules/TimeInForceRules.go | 7 +++ .../TradeCapLegUnderlyingsGrp.go | 7 +++ .../TradeReportOrderDetail.go | 1 + .../TradingSessionRules.go | 1 + .../TradingSessionRulesGrp.go | 7 +++ fix50sp2/trdallocgrp/TrdAllocGrp.go | 7 +++ fix50sp2/trdcapdtgrp/TrdCapDtGrp.go | 7 +++ .../TrdCapRptAckSideGrp.go | 8 ++++ fix50sp2/trdcaprptsidegrp/TrdCapRptSideGrp.go | 8 ++++ fix50sp2/trdcollgrp/TrdCollGrp.go | 7 +++ fix50sp2/trdgsesgrp/TrdgSesGrp.go | 7 +++ fix50sp2/trdinstrmtleggrp/TrdInstrmtLegGrp.go | 7 +++ fix50sp2/trdregtimestamps/TrdRegTimestamps.go | 7 +++ .../TrdRepIndicatorsGrp.go | 7 +++ fix50sp2/trdsesslstgrp/TrdSessLstGrp.go | 9 ++++ .../TriggeringInstruction.go | 1 + fix50sp2/underlyingamount/UnderlyingAmount.go | 7 +++ .../UnderlyingInstrument.go | 1 + .../UnderlyingLegInstrument.go | 1 + .../UnderlyingLegSecurityAltIDGrp.go | 7 +++ .../UnderlyingStipulations.go | 7 +++ .../undinstrmtcollgrp/UndInstrmtCollGrp.go | 7 +++ fix50sp2/undinstrmtgrp/UndInstrmtGrp.go | 7 +++ .../UndlyInstrumentParties.go | 7 +++ .../UndlyInstrumentPtysSubGrp.go | 7 +++ fix50sp2/undsecaltidgrp/UndSecAltIDGrp.go | 7 +++ fix50sp2/usernamegrp/UsernameGrp.go | 1 + fix50sp2/yielddata/YieldData.go | 1 + fixt11/hopgrp/HopGrp.go | 7 +++ fixt11/msgtypegrp/MsgTypeGrp.go | 7 +++ 659 files changed, 5460 insertions(+), 9 deletions(-) diff --git a/_gen/helpers.go b/_gen/helpers.go index 52d5a7a9e..9a571f445 100644 --- a/_gen/helpers.go +++ b/_gen/helpers.go @@ -33,19 +33,35 @@ import ({{ range .}} ) {{ end}} - {{/* template writes out a constructor for message/component/group */}} - {{define "new"}} -func New( - {{- range $index, $field := .RequiredParts -}} -{{if $index}},{{end}}{{toLower $field.Name}} {{partAsGoType $field}} - {{- end }}) *{{.Name}} { + +{{/* template writes out a constructor for message and component type */}} +{{define "new"}} +//New returns an initialized {{.Name}} instance +func New({{ template "parts_args" .RequiredParts}}) *{{.Name}} { var m {{.Name}} - {{- range .RequiredFields}} + {{- range .RequiredParts}} m.Set{{.Name}}({{toLower .Name}}) {{- end}} return &m } - {{end}} +{{end}} + +{{/* template writes out a constructor for group */}} +{{define "newgroup"}} +//New{{.Name}} returns an initialized {{.Name}} instance +func New{{.Name}}({{ template "parts_args" .RequiredParts}}) *{{.Name}} { + var m {{.Name}} + {{- range .RequiredParts}} + m.Set{{.Name}}({{toLower .Name}}) + {{- end}} + return &m +} +{{end}} + +{{/* template writes out a comma delimited list of parts to be used as an argument list*/}} +{{define "parts_args"}} +{{- range $index, $field := . }}{{if $index}},{{end}}{{toLower $field.Name}} {{partAsGoType $field}}{{ end }} +{{- end }} {{define "fieldSetter"}} func (m *{{.Receiver}}) Set{{.Name}}(v {{ if .IsGroup}}[]{{.Name}}{{else}}{{fixFieldTypeToGoType .Type}}{{end}}) { @@ -168,10 +184,13 @@ func WriteGroupDeclaration(fixSpecMajor, fixSpecMinor int, field *datadictionary fileOut += fmt.Sprintf("//%v is a repeating group in %v\n", field.Name(), parent) fileOut += fmt.Sprintf("type %v struct {\n", field.Name()) fileOut += WriteFieldDeclarations(fixSpecMajor, fixSpecMinor, field.Parts, field.Name()) - fileOut += "}\n" writer := new(bytes.Buffer) + if err := genTemplate.ExecuteTemplate(writer, "newgroup", *field); err != nil { + panic(err) + } + if err := WriteFieldSetters(writer, field.Name(), field.Parts); err != nil { panic(err) } diff --git a/fix40/allocation/Allocation.go b/fix40/allocation/Allocation.go index fa220864b..b893fb7c6 100644 --- a/fix40/allocation/Allocation.go +++ b/fix40/allocation/Allocation.go @@ -20,6 +20,13 @@ type NoOrders struct { WaveNo *string `fix:"105"` } +//NewNoOrders returns an initialized NoOrders instance +func NewNoOrders(clordid string) *NoOrders { + var m NoOrders + m.SetClOrdID(clordid) + return &m +} + func (m *NoOrders) SetClOrdID(v string) { m.ClOrdID = v } func (m *NoOrders) SetOrderID(v string) { m.OrderID = &v } func (m *NoOrders) SetListID(v string) { m.ListID = &v } @@ -37,6 +44,12 @@ type NoExecs struct { LastMkt *string `fix:"30"` } +//NewNoExecs returns an initialized NoExecs instance +func NewNoExecs() *NoExecs { + var m NoExecs + return &m +} + func (m *NoExecs) SetExecID(v int) { m.ExecID = &v } func (m *NoExecs) SetLastShares(v int) { m.LastShares = &v } func (m *NoExecs) SetLastPx(v float64) { m.LastPx = &v } @@ -52,6 +65,12 @@ type NoMiscFees struct { MiscFeeType *string `fix:"139"` } +//NewNoMiscFees returns an initialized NoMiscFees instance +func NewNoMiscFees() *NoMiscFees { + var m NoMiscFees + return &m +} + func (m *NoMiscFees) SetMiscFeeAmt(v float64) { m.MiscFeeAmt = &v } func (m *NoMiscFees) SetMiscFeeCurr(v string) { m.MiscFeeCurr = &v } func (m *NoMiscFees) SetMiscFeeType(v string) { m.MiscFeeType = &v } @@ -80,6 +99,14 @@ type NoAllocs struct { DlvyInst *string `fix:"86"` } +//NewNoAllocs returns an initialized NoAllocs instance +func NewNoAllocs(allocaccount string, allocshares int) *NoAllocs { + var m NoAllocs + m.SetAllocAccount(allocaccount) + m.SetAllocShares(allocshares) + return &m +} + func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = v } func (m *NoAllocs) SetAllocShares(v int) { m.AllocShares = v } func (m *NoAllocs) SetProcessCode(v string) { m.ProcessCode = &v } diff --git a/fix40/executionreport/ExecutionReport.go b/fix40/executionreport/ExecutionReport.go index 78efdf943..1c16de5a7 100644 --- a/fix40/executionreport/ExecutionReport.go +++ b/fix40/executionreport/ExecutionReport.go @@ -18,6 +18,12 @@ type NoMiscFees struct { MiscFeeType *string `fix:"139"` } +//NewNoMiscFees returns an initialized NoMiscFees instance +func NewNoMiscFees() *NoMiscFees { + var m NoMiscFees + return &m +} + func (m *NoMiscFees) SetMiscFeeAmt(v float64) { m.MiscFeeAmt = &v } func (m *NoMiscFees) SetMiscFeeCurr(v string) { m.MiscFeeCurr = &v } func (m *NoMiscFees) SetMiscFeeType(v string) { m.MiscFeeType = &v } diff --git a/fix40/liststatus/ListStatus.go b/fix40/liststatus/ListStatus.go index 344f875c3..3a2fb04b3 100644 --- a/fix40/liststatus/ListStatus.go +++ b/fix40/liststatus/ListStatus.go @@ -19,6 +19,16 @@ type NoOrders struct { AvgPx float64 `fix:"6"` } +//NewNoOrders returns an initialized NoOrders instance +func NewNoOrders(clordid string, cumqty int, cxlqty int, avgpx float64) *NoOrders { + var m NoOrders + m.SetClOrdID(clordid) + m.SetCumQty(cumqty) + m.SetCxlQty(cxlqty) + m.SetAvgPx(avgpx) + return &m +} + func (m *NoOrders) SetClOrdID(v string) { m.ClOrdID = v } func (m *NoOrders) SetCumQty(v int) { m.CumQty = v } func (m *NoOrders) SetCxlQty(v int) { m.CxlQty = v } diff --git a/fix41/allocation/Allocation.go b/fix41/allocation/Allocation.go index d4350354a..93f5ec44e 100644 --- a/fix41/allocation/Allocation.go +++ b/fix41/allocation/Allocation.go @@ -22,6 +22,12 @@ type NoOrders struct { WaveNo *string `fix:"105"` } +//NewNoOrders returns an initialized NoOrders instance +func NewNoOrders() *NoOrders { + var m NoOrders + return &m +} + func (m *NoOrders) SetClOrdID(v string) { m.ClOrdID = &v } func (m *NoOrders) SetOrderID(v string) { m.OrderID = &v } func (m *NoOrders) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } @@ -40,6 +46,12 @@ type NoExecs struct { LastCapacity *string `fix:"29"` } +//NewNoExecs returns an initialized NoExecs instance +func NewNoExecs() *NoExecs { + var m NoExecs + return &m +} + func (m *NoExecs) SetLastShares(v int) { m.LastShares = &v } func (m *NoExecs) SetExecID(v string) { m.ExecID = &v } func (m *NoExecs) SetLastPx(v float64) { m.LastPx = &v } @@ -89,6 +101,13 @@ type NoAllocs struct { NoMiscFees []NoMiscFees `fix:"136,omitempty"` } +//NewNoAllocs returns an initialized NoAllocs instance +func NewNoAllocs(allocshares int) *NoAllocs { + var m NoAllocs + m.SetAllocShares(allocshares) + return &m +} + func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *NoAllocs) SetAllocShares(v int) { m.AllocShares = v } func (m *NoAllocs) SetProcessCode(v string) { m.ProcessCode = &v } @@ -120,6 +139,12 @@ type NoMiscFees struct { MiscFeeType *string `fix:"139"` } +//NewNoMiscFees returns an initialized NoMiscFees instance +func NewNoMiscFees() *NoMiscFees { + var m NoMiscFees + return &m +} + func (m *NoMiscFees) SetMiscFeeAmt(v float64) { m.MiscFeeAmt = &v } func (m *NoMiscFees) SetMiscFeeCurr(v string) { m.MiscFeeCurr = &v } func (m *NoMiscFees) SetMiscFeeType(v string) { m.MiscFeeType = &v } diff --git a/fix41/email/Email.go b/fix41/email/Email.go index ae177ae91..4d0f618c2 100644 --- a/fix41/email/Email.go +++ b/fix41/email/Email.go @@ -38,6 +38,12 @@ type NoRelatedSym struct { SecurityDesc *string `fix:"107"` } +//NewNoRelatedSym returns an initialized NoRelatedSym instance +func NewNoRelatedSym() *NoRelatedSym { + var m NoRelatedSym + return &m +} + func (m *NoRelatedSym) SetRelatdSym(v string) { m.RelatdSym = &v } func (m *NoRelatedSym) SetSymbolSfx(v string) { m.SymbolSfx = &v } func (m *NoRelatedSym) SetSecurityID(v string) { m.SecurityID = &v } @@ -58,6 +64,13 @@ type LinesOfText struct { Text string `fix:"58"` } +//NewLinesOfText returns an initialized LinesOfText instance +func NewLinesOfText(text string) *LinesOfText { + var m LinesOfText + m.SetText(text) + return &m +} + func (m *LinesOfText) SetText(v string) { m.Text = v } //Message is a Email FIX Message diff --git a/fix41/indicationofinterest/IndicationofInterest.go b/fix41/indicationofinterest/IndicationofInterest.go index 714caaa51..3411b70eb 100644 --- a/fix41/indicationofinterest/IndicationofInterest.go +++ b/fix41/indicationofinterest/IndicationofInterest.go @@ -14,6 +14,12 @@ type NoIOIQualifiers struct { IOIQualifier *string `fix:"104"` } +//NewNoIOIQualifiers returns an initialized NoIOIQualifiers instance +func NewNoIOIQualifiers() *NoIOIQualifiers { + var m NoIOIQualifiers + return &m +} + func (m *NoIOIQualifiers) SetIOIQualifier(v string) { m.IOIQualifier = &v } //Message is a IndicationofInterest FIX Message diff --git a/fix41/liststatus/ListStatus.go b/fix41/liststatus/ListStatus.go index d876b0175..0479e4812 100644 --- a/fix41/liststatus/ListStatus.go +++ b/fix41/liststatus/ListStatus.go @@ -21,6 +21,17 @@ type NoOrders struct { AvgPx float64 `fix:"6"` } +//NewNoOrders returns an initialized NoOrders instance +func NewNoOrders(clordid string, cumqty int, leavesqty int, cxlqty int, avgpx float64) *NoOrders { + var m NoOrders + m.SetClOrdID(clordid) + m.SetCumQty(cumqty) + m.SetLeavesQty(leavesqty) + m.SetCxlQty(cxlqty) + m.SetAvgPx(avgpx) + return &m +} + func (m *NoOrders) SetClOrdID(v string) { m.ClOrdID = v } func (m *NoOrders) SetCumQty(v int) { m.CumQty = v } func (m *NoOrders) SetLeavesQty(v int) { m.LeavesQty = v } diff --git a/fix41/news/News.go b/fix41/news/News.go index 6c2d4adeb..a5b1250fd 100644 --- a/fix41/news/News.go +++ b/fix41/news/News.go @@ -38,6 +38,12 @@ type NoRelatedSym struct { SecurityDesc *string `fix:"107"` } +//NewNoRelatedSym returns an initialized NoRelatedSym instance +func NewNoRelatedSym() *NoRelatedSym { + var m NoRelatedSym + return &m +} + func (m *NoRelatedSym) SetRelatdSym(v string) { m.RelatdSym = &v } func (m *NoRelatedSym) SetSymbolSfx(v string) { m.SymbolSfx = &v } func (m *NoRelatedSym) SetSecurityID(v string) { m.SecurityID = &v } @@ -58,6 +64,13 @@ type LinesOfText struct { Text string `fix:"58"` } +//NewLinesOfText returns an initialized LinesOfText instance +func NewLinesOfText(text string) *LinesOfText { + var m LinesOfText + m.SetText(text) + return &m +} + func (m *LinesOfText) SetText(v string) { m.Text = v } //Message is a News FIX Message diff --git a/fix42/allocation/Allocation.go b/fix42/allocation/Allocation.go index 6ac5f12d7..cafee9f66 100644 --- a/fix42/allocation/Allocation.go +++ b/fix42/allocation/Allocation.go @@ -22,6 +22,12 @@ type NoOrders struct { WaveNo *string `fix:"105"` } +//NewNoOrders returns an initialized NoOrders instance +func NewNoOrders() *NoOrders { + var m NoOrders + return &m +} + func (m *NoOrders) SetClOrdID(v string) { m.ClOrdID = &v } func (m *NoOrders) SetOrderID(v string) { m.OrderID = &v } func (m *NoOrders) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } @@ -40,6 +46,12 @@ type NoExecs struct { LastCapacity *string `fix:"29"` } +//NewNoExecs returns an initialized NoExecs instance +func NewNoExecs() *NoExecs { + var m NoExecs + return &m +} + func (m *NoExecs) SetLastShares(v float64) { m.LastShares = &v } func (m *NoExecs) SetExecID(v string) { m.ExecID = &v } func (m *NoExecs) SetLastPx(v float64) { m.LastPx = &v } @@ -95,6 +107,13 @@ type NoAllocs struct { NoMiscFees []NoMiscFees `fix:"136,omitempty"` } +//NewNoAllocs returns an initialized NoAllocs instance +func NewNoAllocs(allocshares float64) *NoAllocs { + var m NoAllocs + m.SetAllocShares(allocshares) + return &m +} + func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *NoAllocs) SetAllocPrice(v float64) { m.AllocPrice = &v } func (m *NoAllocs) SetAllocShares(v float64) { m.AllocShares = v } @@ -129,6 +148,12 @@ type NoMiscFees struct { MiscFeeType *string `fix:"139"` } +//NewNoMiscFees returns an initialized NoMiscFees instance +func NewNoMiscFees() *NoMiscFees { + var m NoMiscFees + return &m +} + func (m *NoMiscFees) SetMiscFeeAmt(v float64) { m.MiscFeeAmt = &v } func (m *NoMiscFees) SetMiscFeeCurr(v string) { m.MiscFeeCurr = &v } func (m *NoMiscFees) SetMiscFeeType(v string) { m.MiscFeeType = &v } diff --git a/fix42/bidrequest/BidRequest.go b/fix42/bidrequest/BidRequest.go index deb7c8460..b291a0b5b 100644 --- a/fix42/bidrequest/BidRequest.go +++ b/fix42/bidrequest/BidRequest.go @@ -34,6 +34,12 @@ type NoBidDescriptors struct { ValueOfFutures *float64 `fix:"408"` } +//NewNoBidDescriptors returns an initialized NoBidDescriptors instance +func NewNoBidDescriptors() *NoBidDescriptors { + var m NoBidDescriptors + return &m +} + func (m *NoBidDescriptors) SetBidDescriptorType(v int) { m.BidDescriptorType = &v } func (m *NoBidDescriptors) SetBidDescriptor(v string) { m.BidDescriptor = &v } func (m *NoBidDescriptors) SetSideValueInd(v int) { m.SideValueInd = &v } @@ -64,6 +70,12 @@ type NoBidComponents struct { Account *string `fix:"1"` } +//NewNoBidComponents returns an initialized NoBidComponents instance +func NewNoBidComponents() *NoBidComponents { + var m NoBidComponents + return &m +} + func (m *NoBidComponents) SetListID(v string) { m.ListID = &v } func (m *NoBidComponents) SetSide(v string) { m.Side = &v } func (m *NoBidComponents) SetTradingSessionID(v string) { m.TradingSessionID = &v } diff --git a/fix42/bidresponse/BidResponse.go b/fix42/bidresponse/BidResponse.go index 7f186036f..d13be7b88 100644 --- a/fix42/bidresponse/BidResponse.go +++ b/fix42/bidresponse/BidResponse.go @@ -41,6 +41,14 @@ type NoBidComponents struct { EncodedText *string `fix:"355"` } +//NewNoBidComponents returns an initialized NoBidComponents instance +func NewNoBidComponents(commission float64, commtype string) *NoBidComponents { + var m NoBidComponents + m.SetCommission(commission) + m.SetCommType(commtype) + return &m +} + func (m *NoBidComponents) SetCommission(v float64) { m.Commission = v } func (m *NoBidComponents) SetCommType(v string) { m.CommType = v } func (m *NoBidComponents) SetListID(v string) { m.ListID = &v } diff --git a/fix42/email/Email.go b/fix42/email/Email.go index 4a1eb2c5c..3f198a859 100644 --- a/fix42/email/Email.go +++ b/fix42/email/Email.go @@ -16,6 +16,12 @@ type NoRoutingIDs struct { RoutingID *string `fix:"217"` } +//NewNoRoutingIDs returns an initialized NoRoutingIDs instance +func NewNoRoutingIDs() *NoRoutingIDs { + var m NoRoutingIDs + return &m +} + func (m *NoRoutingIDs) SetRoutingType(v int) { m.RoutingType = &v } func (m *NoRoutingIDs) SetRoutingID(v string) { m.RoutingID = &v } @@ -61,6 +67,12 @@ type NoRelatedSym struct { EncodedSecurityDesc *string `fix:"351"` } +//NewNoRelatedSym returns an initialized NoRelatedSym instance +func NewNoRelatedSym() *NoRelatedSym { + var m NoRelatedSym + return &m +} + func (m *NoRelatedSym) SetRelatdSym(v string) { m.RelatdSym = &v } func (m *NoRelatedSym) SetSymbolSfx(v string) { m.SymbolSfx = &v } func (m *NoRelatedSym) SetSecurityID(v string) { m.SecurityID = &v } @@ -91,6 +103,13 @@ type LinesOfText struct { EncodedText *string `fix:"355"` } +//NewLinesOfText returns an initialized LinesOfText instance +func NewLinesOfText(text string) *LinesOfText { + var m LinesOfText + m.SetText(text) + return &m +} + func (m *LinesOfText) SetText(v string) { m.Text = v } func (m *LinesOfText) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } func (m *LinesOfText) SetEncodedText(v string) { m.EncodedText = &v } diff --git a/fix42/executionreport/ExecutionReport.go b/fix42/executionreport/ExecutionReport.go index d9bd307f9..5b7a87239 100644 --- a/fix42/executionreport/ExecutionReport.go +++ b/fix42/executionreport/ExecutionReport.go @@ -20,6 +20,12 @@ type NoContraBrokers struct { ContraTradeTime *time.Time `fix:"438"` } +//NewNoContraBrokers returns an initialized NoContraBrokers instance +func NewNoContraBrokers() *NoContraBrokers { + var m NoContraBrokers + return &m +} + func (m *NoContraBrokers) SetContraBroker(v string) { m.ContraBroker = &v } func (m *NoContraBrokers) SetContraTrader(v string) { m.ContraTrader = &v } func (m *NoContraBrokers) SetContraTradeQty(v float64) { m.ContraTradeQty = &v } diff --git a/fix42/indicationofinterest/IndicationofInterest.go b/fix42/indicationofinterest/IndicationofInterest.go index 5b8826158..6dd76af5c 100644 --- a/fix42/indicationofinterest/IndicationofInterest.go +++ b/fix42/indicationofinterest/IndicationofInterest.go @@ -14,6 +14,12 @@ type NoIOIQualifiers struct { IOIQualifier *string `fix:"104"` } +//NewNoIOIQualifiers returns an initialized NoIOIQualifiers instance +func NewNoIOIQualifiers() *NoIOIQualifiers { + var m NoIOIQualifiers + return &m +} + func (m *NoIOIQualifiers) SetIOIQualifier(v string) { m.IOIQualifier = &v } //NoRoutingIDs is a repeating group in IndicationofInterest @@ -24,6 +30,12 @@ type NoRoutingIDs struct { RoutingID *string `fix:"217"` } +//NewNoRoutingIDs returns an initialized NoRoutingIDs instance +func NewNoRoutingIDs() *NoRoutingIDs { + var m NoRoutingIDs + return &m +} + func (m *NoRoutingIDs) SetRoutingType(v int) { m.RoutingType = &v } func (m *NoRoutingIDs) SetRoutingID(v string) { m.RoutingID = &v } diff --git a/fix42/liststatus/ListStatus.go b/fix42/liststatus/ListStatus.go index e20f7cdf9..4eb83e46c 100644 --- a/fix42/liststatus/ListStatus.go +++ b/fix42/liststatus/ListStatus.go @@ -32,6 +32,18 @@ type NoOrders struct { EncodedText *string `fix:"355"` } +//NewNoOrders returns an initialized NoOrders instance +func NewNoOrders(clordid string, cumqty float64, ordstatus string, leavesqty float64, cxlqty float64, avgpx float64) *NoOrders { + var m NoOrders + m.SetClOrdID(clordid) + m.SetCumQty(cumqty) + m.SetOrdStatus(ordstatus) + m.SetLeavesQty(leavesqty) + m.SetCxlQty(cxlqty) + m.SetAvgPx(avgpx) + return &m +} + func (m *NoOrders) SetClOrdID(v string) { m.ClOrdID = v } func (m *NoOrders) SetCumQty(v float64) { m.CumQty = v } func (m *NoOrders) SetOrdStatus(v string) { m.OrdStatus = v } diff --git a/fix42/liststrikeprice/ListStrikePrice.go b/fix42/liststrikeprice/ListStrikePrice.go index 64494d1bb..735334cf6 100644 --- a/fix42/liststrikeprice/ListStrikePrice.go +++ b/fix42/liststrikeprice/ListStrikePrice.go @@ -65,6 +65,14 @@ type NoStrikes struct { EncodedText *string `fix:"355"` } +//NewNoStrikes returns an initialized NoStrikes instance +func NewNoStrikes(symbol string, price float64) *NoStrikes { + var m NoStrikes + m.SetSymbol(symbol) + m.SetPrice(price) + return &m +} + func (m *NoStrikes) SetSymbol(v string) { m.Symbol = v } func (m *NoStrikes) SetSymbolSfx(v string) { m.SymbolSfx = &v } func (m *NoStrikes) SetSecurityID(v string) { m.SecurityID = &v } diff --git a/fix42/logon/Logon.go b/fix42/logon/Logon.go index 83b35e04f..b806d87da 100644 --- a/fix42/logon/Logon.go +++ b/fix42/logon/Logon.go @@ -15,6 +15,12 @@ type NoMsgTypes struct { MsgDirection *string `fix:"385"` } +//NewNoMsgTypes returns an initialized NoMsgTypes instance +func NewNoMsgTypes() *NoMsgTypes { + var m NoMsgTypes + return &m +} + func (m *NoMsgTypes) SetRefMsgType(v string) { m.RefMsgType = &v } func (m *NoMsgTypes) SetMsgDirection(v string) { m.MsgDirection = &v } diff --git a/fix42/marketdataincrementalrefresh/MarketDataIncrementalRefresh.go b/fix42/marketdataincrementalrefresh/MarketDataIncrementalRefresh.go index 7aa452b43..45ed88d0c 100644 --- a/fix42/marketdataincrementalrefresh/MarketDataIncrementalRefresh.go +++ b/fix42/marketdataincrementalrefresh/MarketDataIncrementalRefresh.go @@ -124,6 +124,13 @@ type NoMDEntries struct { EncodedText *string `fix:"355"` } +//NewNoMDEntries returns an initialized NoMDEntries instance +func NewNoMDEntries(mdupdateaction string) *NoMDEntries { + var m NoMDEntries + m.SetMDUpdateAction(mdupdateaction) + return &m +} + func (m *NoMDEntries) SetMDUpdateAction(v string) { m.MDUpdateAction = v } func (m *NoMDEntries) SetDeleteReason(v string) { m.DeleteReason = &v } func (m *NoMDEntries) SetMDEntryType(v string) { m.MDEntryType = &v } diff --git a/fix42/marketdatarequest/MarketDataRequest.go b/fix42/marketdatarequest/MarketDataRequest.go index 7dba2cf54..8e41fc8c1 100644 --- a/fix42/marketdatarequest/MarketDataRequest.go +++ b/fix42/marketdatarequest/MarketDataRequest.go @@ -13,6 +13,13 @@ type NoMDEntryTypes struct { MDEntryType string `fix:"269"` } +//NewNoMDEntryTypes returns an initialized NoMDEntryTypes instance +func NewNoMDEntryTypes(mdentrytype string) *NoMDEntryTypes { + var m NoMDEntryTypes + m.SetMDEntryType(mdentrytype) + return &m +} + func (m *NoMDEntryTypes) SetMDEntryType(v string) { m.MDEntryType = v } //NoRelatedSym is a repeating group in MarketDataRequest @@ -59,6 +66,13 @@ type NoRelatedSym struct { TradingSessionID *string `fix:"336"` } +//NewNoRelatedSym returns an initialized NoRelatedSym instance +func NewNoRelatedSym(symbol string) *NoRelatedSym { + var m NoRelatedSym + m.SetSymbol(symbol) + return &m +} + func (m *NoRelatedSym) SetSymbol(v string) { m.Symbol = v } func (m *NoRelatedSym) SetSymbolSfx(v string) { m.SymbolSfx = &v } func (m *NoRelatedSym) SetSecurityID(v string) { m.SecurityID = &v } diff --git a/fix42/marketdatasnapshotfullrefresh/MarketDataSnapshotFullRefresh.go b/fix42/marketdatasnapshotfullrefresh/MarketDataSnapshotFullRefresh.go index 13e017bb0..4870aa78a 100644 --- a/fix42/marketdatasnapshotfullrefresh/MarketDataSnapshotFullRefresh.go +++ b/fix42/marketdatasnapshotfullrefresh/MarketDataSnapshotFullRefresh.go @@ -72,6 +72,14 @@ type NoMDEntries struct { EncodedText *string `fix:"355"` } +//NewNoMDEntries returns an initialized NoMDEntries instance +func NewNoMDEntries(mdentrytype string, mdentrypx float64) *NoMDEntries { + var m NoMDEntries + m.SetMDEntryType(mdentrytype) + m.SetMDEntryPx(mdentrypx) + return &m +} + func (m *NoMDEntries) SetMDEntryType(v string) { m.MDEntryType = v } func (m *NoMDEntries) SetMDEntryPx(v float64) { m.MDEntryPx = v } func (m *NoMDEntries) SetCurrency(v string) { m.Currency = &v } diff --git a/fix42/massquote/MassQuote.go b/fix42/massquote/MassQuote.go index e246d97e5..f43111eb3 100644 --- a/fix42/massquote/MassQuote.go +++ b/fix42/massquote/MassQuote.go @@ -58,6 +58,16 @@ type NoQuoteSets struct { NoQuoteEntries []NoQuoteEntries `fix:"295"` } +//NewNoQuoteSets returns an initialized NoQuoteSets instance +func NewNoQuoteSets(quotesetid string, underlyingsymbol string, totquoteentries int, noquoteentries []NoQuoteEntries) *NoQuoteSets { + var m NoQuoteSets + m.SetQuoteSetID(quotesetid) + m.SetUnderlyingSymbol(underlyingsymbol) + m.SetTotQuoteEntries(totquoteentries) + m.SetNoQuoteEntries(noquoteentries) + return &m +} + func (m *NoQuoteSets) SetQuoteSetID(v string) { m.QuoteSetID = v } func (m *NoQuoteSets) SetUnderlyingSymbol(v string) { m.UnderlyingSymbol = v } func (m *NoQuoteSets) SetUnderlyingSymbolSfx(v string) { m.UnderlyingSymbolSfx = &v } @@ -160,6 +170,13 @@ type NoQuoteEntries struct { Currency *string `fix:"15"` } +//NewNoQuoteEntries returns an initialized NoQuoteEntries instance +func NewNoQuoteEntries(quoteentryid string) *NoQuoteEntries { + var m NoQuoteEntries + m.SetQuoteEntryID(quoteentryid) + return &m +} + func (m *NoQuoteEntries) SetQuoteEntryID(v string) { m.QuoteEntryID = v } func (m *NoQuoteEntries) SetSymbol(v string) { m.Symbol = &v } func (m *NoQuoteEntries) SetSymbolSfx(v string) { m.SymbolSfx = &v } diff --git a/fix42/neworderlist/NewOrderList.go b/fix42/neworderlist/NewOrderList.go index 276cc53a2..892a3bc91 100644 --- a/fix42/neworderlist/NewOrderList.go +++ b/fix42/neworderlist/NewOrderList.go @@ -160,6 +160,16 @@ type NoOrders struct { ClearingAccount *string `fix:"440"` } +//NewNoOrders returns an initialized NoOrders instance +func NewNoOrders(clordid string, listseqno int, symbol string, side string) *NoOrders { + var m NoOrders + m.SetClOrdID(clordid) + m.SetListSeqNo(listseqno) + m.SetSymbol(symbol) + m.SetSide(side) + return &m +} + func (m *NoOrders) SetClOrdID(v string) { m.ClOrdID = v } func (m *NoOrders) SetListSeqNo(v int) { m.ListSeqNo = v } func (m *NoOrders) SetSettlInstMode(v string) { m.SettlInstMode = &v } @@ -243,6 +253,12 @@ type NoAllocs struct { AllocShares *float64 `fix:"80"` } +//NewNoAllocs returns an initialized NoAllocs instance +func NewNoAllocs() *NoAllocs { + var m NoAllocs + return &m +} + func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *NoAllocs) SetAllocShares(v float64) { m.AllocShares = &v } @@ -252,6 +268,12 @@ type NoTradingSessions struct { TradingSessionID *string `fix:"336"` } +//NewNoTradingSessions returns an initialized NoTradingSessions instance +func NewNoTradingSessions() *NoTradingSessions { + var m NoTradingSessions + return &m +} + func (m *NoTradingSessions) SetTradingSessionID(v string) { m.TradingSessionID = &v } //Message is a NewOrderList FIX Message diff --git a/fix42/newordersingle/NewOrderSingle.go b/fix42/newordersingle/NewOrderSingle.go index 1acc3c8d1..5b676efa1 100644 --- a/fix42/newordersingle/NewOrderSingle.go +++ b/fix42/newordersingle/NewOrderSingle.go @@ -16,6 +16,12 @@ type NoAllocs struct { AllocShares *float64 `fix:"80"` } +//NewNoAllocs returns an initialized NoAllocs instance +func NewNoAllocs() *NoAllocs { + var m NoAllocs + return &m +} + func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *NoAllocs) SetAllocShares(v float64) { m.AllocShares = &v } @@ -25,6 +31,12 @@ type NoTradingSessions struct { TradingSessionID *string `fix:"336"` } +//NewNoTradingSessions returns an initialized NoTradingSessions instance +func NewNoTradingSessions() *NoTradingSessions { + var m NoTradingSessions + return &m +} + func (m *NoTradingSessions) SetTradingSessionID(v string) { m.TradingSessionID = &v } //Message is a NewOrderSingle FIX Message diff --git a/fix42/news/News.go b/fix42/news/News.go index b5865092b..f5829b471 100644 --- a/fix42/news/News.go +++ b/fix42/news/News.go @@ -16,6 +16,12 @@ type NoRoutingIDs struct { RoutingID *string `fix:"217"` } +//NewNoRoutingIDs returns an initialized NoRoutingIDs instance +func NewNoRoutingIDs() *NoRoutingIDs { + var m NoRoutingIDs + return &m +} + func (m *NoRoutingIDs) SetRoutingType(v int) { m.RoutingType = &v } func (m *NoRoutingIDs) SetRoutingID(v string) { m.RoutingID = &v } @@ -61,6 +67,12 @@ type NoRelatedSym struct { EncodedSecurityDesc *string `fix:"351"` } +//NewNoRelatedSym returns an initialized NoRelatedSym instance +func NewNoRelatedSym() *NoRelatedSym { + var m NoRelatedSym + return &m +} + func (m *NoRelatedSym) SetRelatdSym(v string) { m.RelatdSym = &v } func (m *NoRelatedSym) SetSymbolSfx(v string) { m.SymbolSfx = &v } func (m *NoRelatedSym) SetSecurityID(v string) { m.SecurityID = &v } @@ -91,6 +103,13 @@ type LinesOfText struct { EncodedText *string `fix:"355"` } +//NewLinesOfText returns an initialized LinesOfText instance +func NewLinesOfText(text string) *LinesOfText { + var m LinesOfText + m.SetText(text) + return &m +} + func (m *LinesOfText) SetText(v string) { m.Text = v } func (m *LinesOfText) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } func (m *LinesOfText) SetEncodedText(v string) { m.EncodedText = &v } diff --git a/fix42/ordercancelreplacerequest/OrderCancelReplaceRequest.go b/fix42/ordercancelreplacerequest/OrderCancelReplaceRequest.go index aa46d6cf7..4ef6871c3 100644 --- a/fix42/ordercancelreplacerequest/OrderCancelReplaceRequest.go +++ b/fix42/ordercancelreplacerequest/OrderCancelReplaceRequest.go @@ -16,6 +16,12 @@ type NoAllocs struct { AllocShares *float64 `fix:"80"` } +//NewNoAllocs returns an initialized NoAllocs instance +func NewNoAllocs() *NoAllocs { + var m NoAllocs + return &m +} + func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *NoAllocs) SetAllocShares(v float64) { m.AllocShares = &v } @@ -25,6 +31,12 @@ type NoTradingSessions struct { TradingSessionID *string `fix:"336"` } +//NewNoTradingSessions returns an initialized NoTradingSessions instance +func NewNoTradingSessions() *NoTradingSessions { + var m NoTradingSessions + return &m +} + func (m *NoTradingSessions) SetTradingSessionID(v string) { m.TradingSessionID = &v } //Message is a OrderCancelReplaceRequest FIX Message diff --git a/fix42/quoteacknowledgement/QuoteAcknowledgement.go b/fix42/quoteacknowledgement/QuoteAcknowledgement.go index 030e01654..7ce06adb2 100644 --- a/fix42/quoteacknowledgement/QuoteAcknowledgement.go +++ b/fix42/quoteacknowledgement/QuoteAcknowledgement.go @@ -55,6 +55,12 @@ type NoQuoteSets struct { NoQuoteEntries []NoQuoteEntries `fix:"295,omitempty"` } +//NewNoQuoteSets returns an initialized NoQuoteSets instance +func NewNoQuoteSets() *NoQuoteSets { + var m NoQuoteSets + return &m +} + func (m *NoQuoteSets) SetQuoteSetID(v string) { m.QuoteSetID = &v } func (m *NoQuoteSets) SetUnderlyingSymbol(v string) { m.UnderlyingSymbol = &v } func (m *NoQuoteSets) SetUnderlyingSymbolSfx(v string) { m.UnderlyingSymbolSfx = &v } @@ -126,6 +132,12 @@ type NoQuoteEntries struct { QuoteEntryRejectReason *int `fix:"368"` } +//NewNoQuoteEntries returns an initialized NoQuoteEntries instance +func NewNoQuoteEntries() *NoQuoteEntries { + var m NoQuoteEntries + return &m +} + func (m *NoQuoteEntries) SetQuoteEntryID(v string) { m.QuoteEntryID = &v } func (m *NoQuoteEntries) SetSymbol(v string) { m.Symbol = &v } func (m *NoQuoteEntries) SetSymbolSfx(v string) { m.SymbolSfx = &v } diff --git a/fix42/quotecancel/QuoteCancel.go b/fix42/quotecancel/QuoteCancel.go index 7e7e063e8..3d7339c94 100644 --- a/fix42/quotecancel/QuoteCancel.go +++ b/fix42/quotecancel/QuoteCancel.go @@ -51,6 +51,13 @@ type NoQuoteEntries struct { UnderlyingSymbol *string `fix:"311"` } +//NewNoQuoteEntries returns an initialized NoQuoteEntries instance +func NewNoQuoteEntries(symbol string) *NoQuoteEntries { + var m NoQuoteEntries + m.SetSymbol(symbol) + return &m +} + func (m *NoQuoteEntries) SetSymbol(v string) { m.Symbol = v } func (m *NoQuoteEntries) SetSymbolSfx(v string) { m.SymbolSfx = &v } func (m *NoQuoteEntries) SetSecurityID(v string) { m.SecurityID = &v } diff --git a/fix42/quoterequest/QuoteRequest.go b/fix42/quoterequest/QuoteRequest.go index bc3466224..7f0aeb6f1 100644 --- a/fix42/quoterequest/QuoteRequest.go +++ b/fix42/quoterequest/QuoteRequest.go @@ -74,6 +74,13 @@ type NoRelatedSym struct { Currency *string `fix:"15"` } +//NewNoRelatedSym returns an initialized NoRelatedSym instance +func NewNoRelatedSym(symbol string) *NoRelatedSym { + var m NoRelatedSym + m.SetSymbol(symbol) + return &m +} + func (m *NoRelatedSym) SetSymbol(v string) { m.Symbol = v } func (m *NoRelatedSym) SetSymbolSfx(v string) { m.SymbolSfx = &v } func (m *NoRelatedSym) SetSecurityID(v string) { m.SecurityID = &v } diff --git a/fix42/securitydefinition/SecurityDefinition.go b/fix42/securitydefinition/SecurityDefinition.go index 168eb11c2..abcf830fd 100644 --- a/fix42/securitydefinition/SecurityDefinition.go +++ b/fix42/securitydefinition/SecurityDefinition.go @@ -55,6 +55,12 @@ type NoRelatedSym struct { UnderlyingCurrency *string `fix:"318"` } +//NewNoRelatedSym returns an initialized NoRelatedSym instance +func NewNoRelatedSym() *NoRelatedSym { + var m NoRelatedSym + return &m +} + func (m *NoRelatedSym) SetUnderlyingSymbol(v string) { m.UnderlyingSymbol = &v } func (m *NoRelatedSym) SetUnderlyingSymbolSfx(v string) { m.UnderlyingSymbolSfx = &v } func (m *NoRelatedSym) SetUnderlyingSecurityID(v string) { m.UnderlyingSecurityID = &v } diff --git a/fix42/securitydefinitionrequest/SecurityDefinitionRequest.go b/fix42/securitydefinitionrequest/SecurityDefinitionRequest.go index d49937107..57526861b 100644 --- a/fix42/securitydefinitionrequest/SecurityDefinitionRequest.go +++ b/fix42/securitydefinitionrequest/SecurityDefinitionRequest.go @@ -55,6 +55,12 @@ type NoRelatedSym struct { UnderlyingCurrency *string `fix:"318"` } +//NewNoRelatedSym returns an initialized NoRelatedSym instance +func NewNoRelatedSym() *NoRelatedSym { + var m NoRelatedSym + return &m +} + func (m *NoRelatedSym) SetUnderlyingSymbol(v string) { m.UnderlyingSymbol = &v } func (m *NoRelatedSym) SetUnderlyingSymbolSfx(v string) { m.UnderlyingSymbolSfx = &v } func (m *NoRelatedSym) SetUnderlyingSecurityID(v string) { m.UnderlyingSecurityID = &v } diff --git a/fix43/allocation/Allocation.go b/fix43/allocation/Allocation.go index 475bd4573..eca3e75f4 100644 --- a/fix43/allocation/Allocation.go +++ b/fix43/allocation/Allocation.go @@ -26,6 +26,12 @@ type NoOrders struct { ListID *string `fix:"66"` } +//NewNoOrders returns an initialized NoOrders instance +func NewNoOrders() *NoOrders { + var m NoOrders + return &m +} + func (m *NoOrders) SetClOrdID(v string) { m.ClOrdID = &v } func (m *NoOrders) SetOrderID(v string) { m.OrderID = &v } func (m *NoOrders) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } @@ -46,6 +52,12 @@ type NoExecs struct { LastCapacity *string `fix:"29"` } +//NewNoExecs returns an initialized NoExecs instance +func NewNoExecs() *NoExecs { + var m NoExecs + return &m +} + func (m *NoExecs) SetLastQty(v float64) { m.LastQty = &v } func (m *NoExecs) SetExecID(v string) { m.ExecID = &v } func (m *NoExecs) SetSecondaryExecID(v string) { m.SecondaryExecID = &v } @@ -98,6 +110,12 @@ type NoAllocs struct { NoMiscFees []NoMiscFees `fix:"136,omitempty"` } +//NewNoAllocs returns an initialized NoAllocs instance +func NewNoAllocs() *NoAllocs { + var m NoAllocs + return &m +} + func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *NoAllocs) SetAllocPrice(v float64) { m.AllocPrice = &v } func (m *NoAllocs) SetAllocQty(v float64) { m.AllocQty = &v } @@ -130,6 +148,12 @@ type NoMiscFees struct { MiscFeeType *string `fix:"139"` } +//NewNoMiscFees returns an initialized NoMiscFees instance +func NewNoMiscFees() *NoMiscFees { + var m NoMiscFees + return &m +} + func (m *NoMiscFees) SetMiscFeeAmt(v float64) { m.MiscFeeAmt = &v } func (m *NoMiscFees) SetMiscFeeCurr(v string) { m.MiscFeeCurr = &v } func (m *NoMiscFees) SetMiscFeeType(v string) { m.MiscFeeType = &v } diff --git a/fix43/bidrequest/BidRequest.go b/fix43/bidrequest/BidRequest.go index ff563e6ef..e7bd25222 100644 --- a/fix43/bidrequest/BidRequest.go +++ b/fix43/bidrequest/BidRequest.go @@ -34,6 +34,12 @@ type NoBidDescriptors struct { ValueOfFutures *float64 `fix:"408"` } +//NewNoBidDescriptors returns an initialized NoBidDescriptors instance +func NewNoBidDescriptors() *NoBidDescriptors { + var m NoBidDescriptors + return &m +} + func (m *NoBidDescriptors) SetBidDescriptorType(v int) { m.BidDescriptorType = &v } func (m *NoBidDescriptors) SetBidDescriptor(v string) { m.BidDescriptor = &v } func (m *NoBidDescriptors) SetSideValueInd(v int) { m.SideValueInd = &v } @@ -66,6 +72,12 @@ type NoBidComponents struct { Account *string `fix:"1"` } +//NewNoBidComponents returns an initialized NoBidComponents instance +func NewNoBidComponents() *NoBidComponents { + var m NoBidComponents + return &m +} + func (m *NoBidComponents) SetListID(v string) { m.ListID = &v } func (m *NoBidComponents) SetSide(v string) { m.Side = &v } func (m *NoBidComponents) SetTradingSessionID(v string) { m.TradingSessionID = &v } diff --git a/fix43/bidresponse/BidResponse.go b/fix43/bidresponse/BidResponse.go index 94e0ad3ca..3a33d3c03 100644 --- a/fix43/bidresponse/BidResponse.go +++ b/fix43/bidresponse/BidResponse.go @@ -42,6 +42,13 @@ type NoBidComponents struct { EncodedText *string `fix:"355"` } +//NewNoBidComponents returns an initialized NoBidComponents instance +func NewNoBidComponents(commissiondata commissiondata.CommissionData) *NoBidComponents { + var m NoBidComponents + m.SetCommissionData(commissiondata) + return &m +} + func (m *NoBidComponents) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = v } func (m *NoBidComponents) SetListID(v string) { m.ListID = &v } func (m *NoBidComponents) SetCountry(v string) { m.Country = &v } diff --git a/fix43/commissiondata/CommissionData.go b/fix43/commissiondata/CommissionData.go index 822cbc803..b4c5268de 100644 --- a/fix43/commissiondata/CommissionData.go +++ b/fix43/commissiondata/CommissionData.go @@ -1,5 +1,6 @@ package commissiondata +//New returns an initialized CommissionData instance func New() *CommissionData { var m CommissionData return &m diff --git a/fix43/crossordercancelreplacerequest/CrossOrderCancelReplaceRequest.go b/fix43/crossordercancelreplacerequest/CrossOrderCancelReplaceRequest.go index 041bb43f0..694092530 100644 --- a/fix43/crossordercancelreplacerequest/CrossOrderCancelReplaceRequest.go +++ b/fix43/crossordercancelreplacerequest/CrossOrderCancelReplaceRequest.go @@ -82,6 +82,16 @@ type NoSides struct { SideComplianceID *string `fix:"659"` } +//NewNoSides returns an initialized NoSides instance +func NewNoSides(side string, origclordid string, clordid string, orderqtydata orderqtydata.OrderQtyData) *NoSides { + var m NoSides + m.SetSide(side) + m.SetOrigClOrdID(origclordid) + m.SetClOrdID(clordid) + m.SetOrderQtyData(orderqtydata) + return &m +} + func (m *NoSides) SetSide(v string) { m.Side = v } func (m *NoSides) SetOrigClOrdID(v string) { m.OrigClOrdID = v } func (m *NoSides) SetClOrdID(v string) { m.ClOrdID = v } @@ -126,6 +136,12 @@ type NoAllocs struct { AllocQty *float64 `fix:"80"` } +//NewNoAllocs returns an initialized NoAllocs instance +func NewNoAllocs() *NoAllocs { + var m NoAllocs + return &m +} + func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *NoAllocs) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } func (m *NoAllocs) SetNestedParties(v nestedparties.NestedParties) { m.NestedParties = &v } @@ -139,6 +155,12 @@ type NoTradingSessions struct { TradingSessionSubID *string `fix:"625"` } +//NewNoTradingSessions returns an initialized NoTradingSessions instance +func NewNoTradingSessions() *NoTradingSessions { + var m NoTradingSessions + return &m +} + func (m *NoTradingSessions) SetTradingSessionID(v string) { m.TradingSessionID = &v } func (m *NoTradingSessions) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } diff --git a/fix43/crossordercancelrequest/CrossOrderCancelRequest.go b/fix43/crossordercancelrequest/CrossOrderCancelRequest.go index fedec03ce..4c4b52c40 100644 --- a/fix43/crossordercancelrequest/CrossOrderCancelRequest.go +++ b/fix43/crossordercancelrequest/CrossOrderCancelRequest.go @@ -41,6 +41,16 @@ type NoSides struct { EncodedText *string `fix:"355"` } +//NewNoSides returns an initialized NoSides instance +func NewNoSides(side string, origclordid string, clordid string, orderqtydata orderqtydata.OrderQtyData) *NoSides { + var m NoSides + m.SetSide(side) + m.SetOrigClOrdID(origclordid) + m.SetClOrdID(clordid) + m.SetOrderQtyData(orderqtydata) + return &m +} + func (m *NoSides) SetSide(v string) { m.Side = v } func (m *NoSides) SetOrigClOrdID(v string) { m.OrigClOrdID = v } func (m *NoSides) SetClOrdID(v string) { m.ClOrdID = v } diff --git a/fix43/derivativesecuritylist/DerivativeSecurityList.go b/fix43/derivativesecuritylist/DerivativeSecurityList.go index c9836a731..ddf9937b4 100644 --- a/fix43/derivativesecuritylist/DerivativeSecurityList.go +++ b/fix43/derivativesecuritylist/DerivativeSecurityList.go @@ -30,6 +30,12 @@ type NoRelatedSym struct { 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) SetNoLegs(v []NoLegs) { m.NoLegs = v } @@ -47,6 +53,12 @@ type NoLegs struct { LegCurrency *string `fix:"556"` } +//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) SetLegCurrency(v string) { m.LegCurrency = &v } diff --git a/fix43/email/Email.go b/fix43/email/Email.go index 258f0523d..9e6304d03 100644 --- a/fix43/email/Email.go +++ b/fix43/email/Email.go @@ -17,6 +17,12 @@ type NoRoutingIDs struct { RoutingID *string `fix:"217"` } +//NewNoRoutingIDs returns an initialized NoRoutingIDs instance +func NewNoRoutingIDs() *NoRoutingIDs { + var m NoRoutingIDs + return &m +} + func (m *NoRoutingIDs) SetRoutingType(v int) { m.RoutingType = &v } func (m *NoRoutingIDs) SetRoutingID(v string) { m.RoutingID = &v } @@ -26,6 +32,12 @@ type NoRelatedSym struct { Instrument *instrument.Instrument } +//NewNoRelatedSym returns an initialized NoRelatedSym instance +func NewNoRelatedSym() *NoRelatedSym { + var m NoRelatedSym + return &m +} + func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = &v } //LinesOfText is a repeating group in Email @@ -38,6 +50,13 @@ type LinesOfText struct { EncodedText *string `fix:"355"` } +//NewLinesOfText returns an initialized LinesOfText instance +func NewLinesOfText(text string) *LinesOfText { + var m LinesOfText + m.SetText(text) + return &m +} + func (m *LinesOfText) SetText(v string) { m.Text = v } func (m *LinesOfText) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } func (m *LinesOfText) SetEncodedText(v string) { m.EncodedText = &v } diff --git a/fix43/executionreport/ExecutionReport.go b/fix43/executionreport/ExecutionReport.go index 0bdba070b..c05de8901 100644 --- a/fix43/executionreport/ExecutionReport.go +++ b/fix43/executionreport/ExecutionReport.go @@ -31,6 +31,12 @@ type NoContraBrokers struct { ContraLegRefID *string `fix:"655"` } +//NewNoContraBrokers returns an initialized NoContraBrokers instance +func NewNoContraBrokers() *NoContraBrokers { + var m NoContraBrokers + return &m +} + func (m *NoContraBrokers) SetContraBroker(v string) { m.ContraBroker = &v } func (m *NoContraBrokers) SetContraTrader(v string) { m.ContraTrader = &v } func (m *NoContraBrokers) SetContraTradeQty(v float64) { m.ContraTradeQty = &v } @@ -47,6 +53,12 @@ type NoContAmts struct { ContAmtCurr *string `fix:"521"` } +//NewNoContAmts returns an initialized NoContAmts instance +func NewNoContAmts() *NoContAmts { + var m NoContAmts + return &m +} + func (m *NoContAmts) SetContAmtType(v int) { m.ContAmtType = &v } func (m *NoContAmts) SetContAmtValue(v float64) { m.ContAmtValue = &v } func (m *NoContAmts) SetContAmtCurr(v string) { m.ContAmtCurr = &v } @@ -73,6 +85,12 @@ type NoLegs struct { LegLastPx *float64 `fix:"637"` } +//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) SetLegPositionEffect(v string) { m.LegPositionEffect = &v } func (m *NoLegs) SetLegCoveredOrUncovered(v int) { m.LegCoveredOrUncovered = &v } diff --git a/fix43/header.go b/fix43/header.go index c9dbc6e1e..eff19f43f 100644 --- a/fix43/header.go +++ b/fix43/header.go @@ -14,6 +14,12 @@ type NoHops struct { HopRefID *int `fix:"630"` } +//NewNoHops returns an initialized NoHops instance +func NewNoHops() *NoHops { + var m NoHops + return &m +} + func (m *NoHops) SetHopCompID(v string) { m.HopCompID = &v } func (m *NoHops) SetHopSendingTime(v time.Time) { m.HopSendingTime = &v } func (m *NoHops) SetHopRefID(v int) { m.HopRefID = &v } diff --git a/fix43/instrument/Instrument.go b/fix43/instrument/Instrument.go index 95b9a1a5f..4e34a1498 100644 --- a/fix43/instrument/Instrument.go +++ b/fix43/instrument/Instrument.go @@ -1,5 +1,6 @@ package instrument +//New returns an initialized Instrument instance func New() *Instrument { var m Instrument return &m @@ -13,6 +14,12 @@ type NoSecurityAltID struct { SecurityAltIDSource *string `fix:"456"` } +//NewNoSecurityAltID returns an initialized NoSecurityAltID instance +func NewNoSecurityAltID() *NoSecurityAltID { + var m NoSecurityAltID + return &m +} + func (m *NoSecurityAltID) SetSecurityAltID(v string) { m.SecurityAltID = &v } func (m *NoSecurityAltID) SetSecurityAltIDSource(v string) { m.SecurityAltIDSource = &v } diff --git a/fix43/instrumentleg/InstrumentLeg.go b/fix43/instrumentleg/InstrumentLeg.go index 537373daf..9af3df02a 100644 --- a/fix43/instrumentleg/InstrumentLeg.go +++ b/fix43/instrumentleg/InstrumentLeg.go @@ -1,5 +1,6 @@ package instrumentleg +//New returns an initialized InstrumentLeg instance func New() *InstrumentLeg { var m InstrumentLeg return &m @@ -13,6 +14,12 @@ type NoLegSecurityAltID struct { LegSecurityAltIDSource *string `fix:"606"` } +//NewNoLegSecurityAltID returns an initialized NoLegSecurityAltID instance +func NewNoLegSecurityAltID() *NoLegSecurityAltID { + var m NoLegSecurityAltID + return &m +} + func (m *NoLegSecurityAltID) SetLegSecurityAltID(v string) { m.LegSecurityAltID = &v } func (m *NoLegSecurityAltID) SetLegSecurityAltIDSource(v string) { m.LegSecurityAltIDSource = &v } diff --git a/fix43/ioi/IOI.go b/fix43/ioi/IOI.go index de8b97877..fd5c75e26 100644 --- a/fix43/ioi/IOI.go +++ b/fix43/ioi/IOI.go @@ -16,6 +16,12 @@ type NoIOIQualifiers struct { IOIQualifier *string `fix:"104"` } +//NewNoIOIQualifiers returns an initialized NoIOIQualifiers instance +func NewNoIOIQualifiers() *NoIOIQualifiers { + var m NoIOIQualifiers + return &m +} + func (m *NoIOIQualifiers) SetIOIQualifier(v string) { m.IOIQualifier = &v } //NoRoutingIDs is a repeating group in IOI @@ -26,6 +32,12 @@ type NoRoutingIDs struct { RoutingID *string `fix:"217"` } +//NewNoRoutingIDs returns an initialized NoRoutingIDs instance +func NewNoRoutingIDs() *NoRoutingIDs { + var m NoRoutingIDs + return &m +} + func (m *NoRoutingIDs) SetRoutingType(v int) { m.RoutingType = &v } func (m *NoRoutingIDs) SetRoutingID(v string) { m.RoutingID = &v } diff --git a/fix43/liststatus/ListStatus.go b/fix43/liststatus/ListStatus.go index 8079415a9..e59101d9f 100644 --- a/fix43/liststatus/ListStatus.go +++ b/fix43/liststatus/ListStatus.go @@ -36,6 +36,18 @@ type NoOrders struct { EncodedText *string `fix:"355"` } +//NewNoOrders returns an initialized NoOrders instance +func NewNoOrders(clordid string, cumqty float64, ordstatus string, leavesqty float64, cxlqty float64, avgpx float64) *NoOrders { + var m NoOrders + m.SetClOrdID(clordid) + m.SetCumQty(cumqty) + m.SetOrdStatus(ordstatus) + m.SetLeavesQty(leavesqty) + m.SetCxlQty(cxlqty) + m.SetAvgPx(avgpx) + return &m +} + func (m *NoOrders) SetClOrdID(v string) { m.ClOrdID = v } func (m *NoOrders) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } func (m *NoOrders) SetCumQty(v float64) { m.CumQty = v } diff --git a/fix43/liststrikeprice/ListStrikePrice.go b/fix43/liststrikeprice/ListStrikePrice.go index 5aa24fa61..5eda1ac0b 100644 --- a/fix43/liststrikeprice/ListStrikePrice.go +++ b/fix43/liststrikeprice/ListStrikePrice.go @@ -32,6 +32,14 @@ type NoStrikes struct { EncodedText *string `fix:"355"` } +//NewNoStrikes returns an initialized NoStrikes instance +func NewNoStrikes(instrument instrument.Instrument, price float64) *NoStrikes { + var m NoStrikes + m.SetInstrument(instrument) + m.SetPrice(price) + return &m +} + func (m *NoStrikes) SetInstrument(v instrument.Instrument) { m.Instrument = v } func (m *NoStrikes) SetPrevClosePx(v float64) { m.PrevClosePx = &v } func (m *NoStrikes) SetClOrdID(v string) { m.ClOrdID = &v } diff --git a/fix43/logon/Logon.go b/fix43/logon/Logon.go index b52455c41..8f4b2b177 100644 --- a/fix43/logon/Logon.go +++ b/fix43/logon/Logon.go @@ -15,6 +15,12 @@ type NoMsgTypes struct { MsgDirection *string `fix:"385"` } +//NewNoMsgTypes returns an initialized NoMsgTypes instance +func NewNoMsgTypes() *NoMsgTypes { + var m NoMsgTypes + return &m +} + func (m *NoMsgTypes) SetRefMsgType(v string) { m.RefMsgType = &v } func (m *NoMsgTypes) SetMsgDirection(v string) { m.MsgDirection = &v } diff --git a/fix43/marketdataincrementalrefresh/MarketDataIncrementalRefresh.go b/fix43/marketdataincrementalrefresh/MarketDataIncrementalRefresh.go index 097186047..96b5a0a8a 100644 --- a/fix43/marketdataincrementalrefresh/MarketDataIncrementalRefresh.go +++ b/fix43/marketdataincrementalrefresh/MarketDataIncrementalRefresh.go @@ -99,6 +99,13 @@ type NoMDEntries struct { EncodedText *string `fix:"355"` } +//NewNoMDEntries returns an initialized NoMDEntries instance +func NewNoMDEntries(mdupdateaction string) *NoMDEntries { + var m NoMDEntries + m.SetMDUpdateAction(mdupdateaction) + return &m +} + func (m *NoMDEntries) SetMDUpdateAction(v string) { m.MDUpdateAction = v } func (m *NoMDEntries) SetDeleteReason(v string) { m.DeleteReason = &v } func (m *NoMDEntries) SetMDEntryType(v string) { m.MDEntryType = &v } diff --git a/fix43/marketdatarequest/MarketDataRequest.go b/fix43/marketdatarequest/MarketDataRequest.go index 25297ec1c..5007558fd 100644 --- a/fix43/marketdatarequest/MarketDataRequest.go +++ b/fix43/marketdatarequest/MarketDataRequest.go @@ -14,6 +14,13 @@ type NoMDEntryTypes struct { MDEntryType string `fix:"269"` } +//NewNoMDEntryTypes returns an initialized NoMDEntryTypes instance +func NewNoMDEntryTypes(mdentrytype string) *NoMDEntryTypes { + var m NoMDEntryTypes + m.SetMDEntryType(mdentrytype) + return &m +} + func (m *NoMDEntryTypes) SetMDEntryType(v string) { m.MDEntryType = v } //NoRelatedSym is a repeating group in MarketDataRequest @@ -22,6 +29,13 @@ type NoRelatedSym struct { instrument.Instrument } +//NewNoRelatedSym returns an initialized NoRelatedSym instance +func NewNoRelatedSym(instrument instrument.Instrument) *NoRelatedSym { + var m NoRelatedSym + m.SetInstrument(instrument) + return &m +} + func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = v } //NoTradingSessions is a repeating group in MarketDataRequest @@ -32,6 +46,12 @@ type NoTradingSessions struct { TradingSessionSubID *string `fix:"625"` } +//NewNoTradingSessions returns an initialized NoTradingSessions instance +func NewNoTradingSessions() *NoTradingSessions { + var m NoTradingSessions + return &m +} + func (m *NoTradingSessions) SetTradingSessionID(v string) { m.TradingSessionID = &v } func (m *NoTradingSessions) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } diff --git a/fix43/marketdatasnapshotfullrefresh/MarketDataSnapshotFullRefresh.go b/fix43/marketdatasnapshotfullrefresh/MarketDataSnapshotFullRefresh.go index 81611d09d..e4a066d7e 100644 --- a/fix43/marketdatasnapshotfullrefresh/MarketDataSnapshotFullRefresh.go +++ b/fix43/marketdatasnapshotfullrefresh/MarketDataSnapshotFullRefresh.go @@ -77,6 +77,13 @@ type NoMDEntries struct { EncodedText *string `fix:"355"` } +//NewNoMDEntries returns an initialized NoMDEntries instance +func NewNoMDEntries(mdentrytype string) *NoMDEntries { + var m NoMDEntries + m.SetMDEntryType(mdentrytype) + return &m +} + func (m *NoMDEntries) SetMDEntryType(v string) { m.MDEntryType = v } func (m *NoMDEntries) SetMDEntryPx(v float64) { m.MDEntryPx = &v } func (m *NoMDEntries) SetCurrency(v string) { m.Currency = &v } diff --git a/fix43/massquote/MassQuote.go b/fix43/massquote/MassQuote.go index 1462b48c2..121706148 100644 --- a/fix43/massquote/MassQuote.go +++ b/fix43/massquote/MassQuote.go @@ -25,6 +25,15 @@ type NoQuoteSets struct { NoQuoteEntries []NoQuoteEntries `fix:"295"` } +//NewNoQuoteSets returns an initialized NoQuoteSets instance +func NewNoQuoteSets(quotesetid string, totquoteentries int, noquoteentries []NoQuoteEntries) *NoQuoteSets { + var m NoQuoteSets + m.SetQuoteSetID(quotesetid) + m.SetTotQuoteEntries(totquoteentries) + m.SetNoQuoteEntries(noquoteentries) + return &m +} + func (m *NoQuoteSets) SetQuoteSetID(v string) { m.QuoteSetID = v } func (m *NoQuoteSets) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v @@ -87,6 +96,13 @@ type NoQuoteEntries struct { Currency *string `fix:"15"` } +//NewNoQuoteEntries returns an initialized NoQuoteEntries instance +func NewNoQuoteEntries(quoteentryid string) *NoQuoteEntries { + var m NoQuoteEntries + m.SetQuoteEntryID(quoteentryid) + return &m +} + func (m *NoQuoteEntries) SetQuoteEntryID(v string) { m.QuoteEntryID = v } func (m *NoQuoteEntries) SetInstrument(v instrument.Instrument) { m.Instrument = &v } func (m *NoQuoteEntries) SetBidPx(v float64) { m.BidPx = &v } diff --git a/fix43/massquoteacknowledgement/MassQuoteAcknowledgement.go b/fix43/massquoteacknowledgement/MassQuoteAcknowledgement.go index 8fd88e934..974e863ed 100644 --- a/fix43/massquoteacknowledgement/MassQuoteAcknowledgement.go +++ b/fix43/massquoteacknowledgement/MassQuoteAcknowledgement.go @@ -23,6 +23,12 @@ type NoQuoteSets struct { NoQuoteEntries []NoQuoteEntries `fix:"295,omitempty"` } +//NewNoQuoteSets returns an initialized NoQuoteSets instance +func NewNoQuoteSets() *NoQuoteSets { + var m NoQuoteSets + return &m +} + func (m *NoQuoteSets) SetQuoteSetID(v string) { m.QuoteSetID = &v } func (m *NoQuoteSets) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v @@ -86,6 +92,12 @@ type NoQuoteEntries struct { QuoteEntryRejectReason *int `fix:"368"` } +//NewNoQuoteEntries returns an initialized NoQuoteEntries instance +func NewNoQuoteEntries() *NoQuoteEntries { + var m NoQuoteEntries + return &m +} + func (m *NoQuoteEntries) SetQuoteEntryID(v string) { m.QuoteEntryID = &v } func (m *NoQuoteEntries) SetInstrument(v instrument.Instrument) { m.Instrument = &v } func (m *NoQuoteEntries) SetBidPx(v float64) { m.BidPx = &v } diff --git a/fix43/multilegordercancelreplacerequest/MultilegOrderCancelReplaceRequest.go b/fix43/multilegordercancelreplacerequest/MultilegOrderCancelReplaceRequest.go index 079ecfaea..0db69e5f9 100644 --- a/fix43/multilegordercancelreplacerequest/MultilegOrderCancelReplaceRequest.go +++ b/fix43/multilegordercancelreplacerequest/MultilegOrderCancelReplaceRequest.go @@ -24,6 +24,12 @@ type NoAllocs struct { AllocQty *float64 `fix:"80"` } +//NewNoAllocs returns an initialized NoAllocs instance +func NewNoAllocs() *NoAllocs { + var m NoAllocs + return &m +} + func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *NoAllocs) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } func (m *NoAllocs) SetAllocQty(v float64) { m.AllocQty = &v } @@ -36,6 +42,12 @@ type NoTradingSessions struct { TradingSessionSubID *string `fix:"625"` } +//NewNoTradingSessions returns an initialized NoTradingSessions instance +func NewNoTradingSessions() *NoTradingSessions { + var m NoTradingSessions + return &m +} + func (m *NoTradingSessions) SetTradingSessionID(v string) { m.TradingSessionID = &v } func (m *NoTradingSessions) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } @@ -59,6 +71,12 @@ type NoLegs struct { LegFutSettDate *string `fix:"588"` } +//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) SetLegPositionEffect(v string) { m.LegPositionEffect = &v } func (m *NoLegs) SetLegCoveredOrUncovered(v int) { m.LegCoveredOrUncovered = &v } diff --git a/fix43/nestedparties/NestedParties.go b/fix43/nestedparties/NestedParties.go index dc933609e..5c3593a2e 100644 --- a/fix43/nestedparties/NestedParties.go +++ b/fix43/nestedparties/NestedParties.go @@ -1,5 +1,6 @@ package nestedparties +//New returns an initialized NestedParties instance func New() *NestedParties { var m NestedParties return &m @@ -17,6 +18,12 @@ type NoNestedPartyIDs struct { NestedPartySubID *string `fix:"545"` } +//NewNoNestedPartyIDs returns an initialized NoNestedPartyIDs instance +func NewNoNestedPartyIDs() *NoNestedPartyIDs { + var m NoNestedPartyIDs + return &m +} + func (m *NoNestedPartyIDs) SetNestedPartyID(v string) { m.NestedPartyID = &v } func (m *NoNestedPartyIDs) SetNestedPartyIDSource(v string) { m.NestedPartyIDSource = &v } func (m *NoNestedPartyIDs) SetNestedPartyRole(v int) { m.NestedPartyRole = &v } diff --git a/fix43/newordercross/NewOrderCross.go b/fix43/newordercross/NewOrderCross.go index bc2cea5b5..bb514b85c 100644 --- a/fix43/newordercross/NewOrderCross.go +++ b/fix43/newordercross/NewOrderCross.go @@ -78,6 +78,15 @@ type NoSides struct { SideComplianceID *string `fix:"659"` } +//NewNoSides returns an initialized NoSides instance +func NewNoSides(side string, clordid string, orderqtydata orderqtydata.OrderQtyData) *NoSides { + var m NoSides + m.SetSide(side) + m.SetClOrdID(clordid) + m.SetOrderQtyData(orderqtydata) + return &m +} + func (m *NoSides) SetSide(v string) { m.Side = v } func (m *NoSides) SetClOrdID(v string) { m.ClOrdID = v } func (m *NoSides) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } @@ -120,6 +129,12 @@ type NoAllocs struct { AllocQty *float64 `fix:"80"` } +//NewNoAllocs returns an initialized NoAllocs instance +func NewNoAllocs() *NoAllocs { + var m NoAllocs + return &m +} + func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *NoAllocs) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } func (m *NoAllocs) SetNestedParties(v nestedparties.NestedParties) { m.NestedParties = &v } @@ -133,6 +148,12 @@ type NoTradingSessions struct { TradingSessionSubID *string `fix:"625"` } +//NewNoTradingSessions returns an initialized NoTradingSessions instance +func NewNoTradingSessions() *NoTradingSessions { + var m NoTradingSessions + return &m +} + func (m *NoTradingSessions) SetTradingSessionID(v string) { m.TradingSessionID = &v } func (m *NoTradingSessions) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } diff --git a/fix43/neworderlist/NewOrderList.go b/fix43/neworderlist/NewOrderList.go index 021b24231..912f2c710 100644 --- a/fix43/neworderlist/NewOrderList.go +++ b/fix43/neworderlist/NewOrderList.go @@ -164,6 +164,17 @@ type NoOrders struct { NetMoney *float64 `fix:"118"` } +//NewNoOrders returns an initialized NoOrders instance +func NewNoOrders(clordid string, listseqno int, instrument instrument.Instrument, side string, orderqtydata orderqtydata.OrderQtyData) *NoOrders { + var m NoOrders + m.SetClOrdID(clordid) + m.SetListSeqNo(listseqno) + m.SetInstrument(instrument) + m.SetSide(side) + m.SetOrderQtyData(orderqtydata) + return &m +} + func (m *NoOrders) SetClOrdID(v string) { m.ClOrdID = v } func (m *NoOrders) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } func (m *NoOrders) SetListSeqNo(v int) { m.ListSeqNo = v } @@ -251,6 +262,12 @@ type NoAllocs struct { AllocQty *float64 `fix:"80"` } +//NewNoAllocs returns an initialized NoAllocs instance +func NewNoAllocs() *NoAllocs { + var m NoAllocs + return &m +} + func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *NoAllocs) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } func (m *NoAllocs) SetNestedParties(v nestedparties.NestedParties) { m.NestedParties = &v } @@ -264,6 +281,12 @@ type NoTradingSessions struct { TradingSessionSubID *string `fix:"625"` } +//NewNoTradingSessions returns an initialized NoTradingSessions instance +func NewNoTradingSessions() *NoTradingSessions { + var m NoTradingSessions + return &m +} + func (m *NoTradingSessions) SetTradingSessionID(v string) { m.TradingSessionID = &v } func (m *NoTradingSessions) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } diff --git a/fix43/newordermultileg/NewOrderMultileg.go b/fix43/newordermultileg/NewOrderMultileg.go index 6ec94d8a7..3bc548b8d 100644 --- a/fix43/newordermultileg/NewOrderMultileg.go +++ b/fix43/newordermultileg/NewOrderMultileg.go @@ -24,6 +24,12 @@ type NoAllocs struct { AllocQty *float64 `fix:"80"` } +//NewNoAllocs returns an initialized NoAllocs instance +func NewNoAllocs() *NoAllocs { + var m NoAllocs + return &m +} + func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *NoAllocs) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } func (m *NoAllocs) SetAllocQty(v float64) { m.AllocQty = &v } @@ -36,6 +42,12 @@ type NoTradingSessions struct { TradingSessionSubID *string `fix:"625"` } +//NewNoTradingSessions returns an initialized NoTradingSessions instance +func NewNoTradingSessions() *NoTradingSessions { + var m NoTradingSessions + return &m +} + func (m *NoTradingSessions) SetTradingSessionID(v string) { m.TradingSessionID = &v } func (m *NoTradingSessions) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } @@ -59,6 +71,12 @@ type NoLegs struct { LegFutSettDate *string `fix:"588"` } +//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) SetLegPositionEffect(v string) { m.LegPositionEffect = &v } func (m *NoLegs) SetLegCoveredOrUncovered(v int) { m.LegCoveredOrUncovered = &v } diff --git a/fix43/newordersingle/NewOrderSingle.go b/fix43/newordersingle/NewOrderSingle.go index 45f3ef846..818fff05e 100644 --- a/fix43/newordersingle/NewOrderSingle.go +++ b/fix43/newordersingle/NewOrderSingle.go @@ -28,6 +28,12 @@ type NoAllocs struct { AllocQty *float64 `fix:"80"` } +//NewNoAllocs returns an initialized NoAllocs instance +func NewNoAllocs() *NoAllocs { + var m NoAllocs + return &m +} + func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *NoAllocs) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } func (m *NoAllocs) SetNestedParties(v nestedparties.NestedParties) { m.NestedParties = &v } @@ -41,6 +47,12 @@ type NoTradingSessions struct { TradingSessionSubID *string `fix:"625"` } +//NewNoTradingSessions returns an initialized NoTradingSessions instance +func NewNoTradingSessions() *NoTradingSessions { + var m NoTradingSessions + return &m +} + func (m *NoTradingSessions) SetTradingSessionID(v string) { m.TradingSessionID = &v } func (m *NoTradingSessions) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } diff --git a/fix43/news/News.go b/fix43/news/News.go index c40a77b90..bd832a50c 100644 --- a/fix43/news/News.go +++ b/fix43/news/News.go @@ -17,6 +17,12 @@ type NoRoutingIDs struct { RoutingID *string `fix:"217"` } +//NewNoRoutingIDs returns an initialized NoRoutingIDs instance +func NewNoRoutingIDs() *NoRoutingIDs { + var m NoRoutingIDs + return &m +} + func (m *NoRoutingIDs) SetRoutingType(v int) { m.RoutingType = &v } func (m *NoRoutingIDs) SetRoutingID(v string) { m.RoutingID = &v } @@ -26,6 +32,12 @@ type NoRelatedSym struct { Instrument *instrument.Instrument } +//NewNoRelatedSym returns an initialized NoRelatedSym instance +func NewNoRelatedSym() *NoRelatedSym { + var m NoRelatedSym + return &m +} + func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = &v } //LinesOfText is a repeating group in News @@ -38,6 +50,13 @@ type LinesOfText struct { EncodedText *string `fix:"355"` } +//NewLinesOfText returns an initialized LinesOfText instance +func NewLinesOfText(text string) *LinesOfText { + var m LinesOfText + m.SetText(text) + return &m +} + func (m *LinesOfText) SetText(v string) { m.Text = v } func (m *LinesOfText) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } func (m *LinesOfText) SetEncodedText(v string) { m.EncodedText = &v } diff --git a/fix43/ordercancelreplacerequest/OrderCancelReplaceRequest.go b/fix43/ordercancelreplacerequest/OrderCancelReplaceRequest.go index ba7399166..550659951 100644 --- a/fix43/ordercancelreplacerequest/OrderCancelReplaceRequest.go +++ b/fix43/ordercancelreplacerequest/OrderCancelReplaceRequest.go @@ -27,6 +27,12 @@ type NoAllocs struct { AllocQty *float64 `fix:"80"` } +//NewNoAllocs returns an initialized NoAllocs instance +func NewNoAllocs() *NoAllocs { + var m NoAllocs + return &m +} + func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *NoAllocs) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } func (m *NoAllocs) SetNestedParties(v nestedparties.NestedParties) { m.NestedParties = &v } @@ -40,6 +46,12 @@ type NoTradingSessions struct { TradingSessionSubID *string `fix:"625"` } +//NewNoTradingSessions returns an initialized NoTradingSessions instance +func NewNoTradingSessions() *NoTradingSessions { + var m NoTradingSessions + return &m +} + func (m *NoTradingSessions) SetTradingSessionID(v string) { m.TradingSessionID = &v } func (m *NoTradingSessions) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } diff --git a/fix43/ordermasscancelreport/OrderMassCancelReport.go b/fix43/ordermasscancelreport/OrderMassCancelReport.go index fba732e52..718e741dc 100644 --- a/fix43/ordermasscancelreport/OrderMassCancelReport.go +++ b/fix43/ordermasscancelreport/OrderMassCancelReport.go @@ -20,6 +20,12 @@ type NoAffectedOrders struct { AffectedSecondaryOrderID *string `fix:"536"` } +//NewNoAffectedOrders returns an initialized NoAffectedOrders instance +func NewNoAffectedOrders() *NoAffectedOrders { + var m NoAffectedOrders + return &m +} + func (m *NoAffectedOrders) SetOrigClOrdID(v string) { m.OrigClOrdID = &v } func (m *NoAffectedOrders) SetAffectedOrderID(v string) { m.AffectedOrderID = &v } func (m *NoAffectedOrders) SetAffectedSecondaryOrderID(v string) { m.AffectedSecondaryOrderID = &v } diff --git a/fix43/orderqtydata/OrderQtyData.go b/fix43/orderqtydata/OrderQtyData.go index ece2e2d5c..fba202cf2 100644 --- a/fix43/orderqtydata/OrderQtyData.go +++ b/fix43/orderqtydata/OrderQtyData.go @@ -1,5 +1,6 @@ package orderqtydata +//New returns an initialized OrderQtyData instance func New() *OrderQtyData { var m OrderQtyData return &m diff --git a/fix43/parties/Parties.go b/fix43/parties/Parties.go index 1158923ea..c96b6b293 100644 --- a/fix43/parties/Parties.go +++ b/fix43/parties/Parties.go @@ -1,5 +1,6 @@ package parties +//New returns an initialized Parties instance func New() *Parties { var m Parties return &m @@ -17,6 +18,12 @@ type NoPartyIDs struct { PartySubID *string `fix:"523"` } +//NewNoPartyIDs returns an initialized NoPartyIDs instance +func NewNoPartyIDs() *NoPartyIDs { + var m NoPartyIDs + return &m +} + func (m *NoPartyIDs) SetPartyID(v string) { m.PartyID = &v } func (m *NoPartyIDs) SetPartyIDSource(v string) { m.PartyIDSource = &v } func (m *NoPartyIDs) SetPartyRole(v int) { m.PartyRole = &v } diff --git a/fix43/quotecancel/QuoteCancel.go b/fix43/quotecancel/QuoteCancel.go index 22e7e3700..ab0bb2dc0 100644 --- a/fix43/quotecancel/QuoteCancel.go +++ b/fix43/quotecancel/QuoteCancel.go @@ -15,6 +15,12 @@ type NoQuoteEntries struct { Instrument *instrument.Instrument } +//NewNoQuoteEntries returns an initialized NoQuoteEntries instance +func NewNoQuoteEntries() *NoQuoteEntries { + var m NoQuoteEntries + return &m +} + func (m *NoQuoteEntries) SetInstrument(v instrument.Instrument) { m.Instrument = &v } //Message is a QuoteCancel FIX Message diff --git a/fix43/quoterequest/QuoteRequest.go b/fix43/quoterequest/QuoteRequest.go index c73b1bb61..4b4045a09 100644 --- a/fix43/quoterequest/QuoteRequest.go +++ b/fix43/quoterequest/QuoteRequest.go @@ -66,6 +66,13 @@ type NoRelatedSym struct { YieldData *yielddata.YieldData } +//NewNoRelatedSym returns an initialized NoRelatedSym instance +func NewNoRelatedSym(instrument instrument.Instrument) *NoRelatedSym { + var m NoRelatedSym + m.SetInstrument(instrument) + return &m +} + func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = v } func (m *NoRelatedSym) SetPrevClosePx(v float64) { m.PrevClosePx = &v } func (m *NoRelatedSym) SetQuoteRequestType(v int) { m.QuoteRequestType = &v } diff --git a/fix43/quoterequestreject/QuoteRequestReject.go b/fix43/quoterequestreject/QuoteRequestReject.go index b17a0b249..51064c64b 100644 --- a/fix43/quoterequestreject/QuoteRequestReject.go +++ b/fix43/quoterequestreject/QuoteRequestReject.go @@ -66,6 +66,13 @@ type NoRelatedSym struct { YieldData *yielddata.YieldData } +//NewNoRelatedSym returns an initialized NoRelatedSym instance +func NewNoRelatedSym(instrument instrument.Instrument) *NoRelatedSym { + var m NoRelatedSym + m.SetInstrument(instrument) + return &m +} + func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = v } func (m *NoRelatedSym) SetPrevClosePx(v float64) { m.PrevClosePx = &v } func (m *NoRelatedSym) SetQuoteRequestType(v int) { m.QuoteRequestType = &v } diff --git a/fix43/registrationinstructions/RegistrationInstructions.go b/fix43/registrationinstructions/RegistrationInstructions.go index 3cceaad3a..9b01c6961 100644 --- a/fix43/registrationinstructions/RegistrationInstructions.go +++ b/fix43/registrationinstructions/RegistrationInstructions.go @@ -29,6 +29,12 @@ type NoRegistDtls struct { InvestorCountryOfResidence *string `fix:"475"` } +//NewNoRegistDtls returns an initialized NoRegistDtls instance +func NewNoRegistDtls() *NoRegistDtls { + var m NoRegistDtls + return &m +} + func (m *NoRegistDtls) SetRegistDetls(v string) { m.RegistDetls = &v } func (m *NoRegistDtls) SetRegistEmail(v string) { m.RegistEmail = &v } func (m *NoRegistDtls) SetMailingDtls(v string) { m.MailingDtls = &v } @@ -56,6 +62,12 @@ type NoDistribInsts struct { CashDistribPayRef *string `fix:"501"` } +//NewNoDistribInsts returns an initialized NoDistribInsts instance +func NewNoDistribInsts() *NoDistribInsts { + var m NoDistribInsts + return &m +} + func (m *NoDistribInsts) SetDistribPaymentMethod(v int) { m.DistribPaymentMethod = &v } func (m *NoDistribInsts) SetDistribPercentage(v float64) { m.DistribPercentage = &v } func (m *NoDistribInsts) SetCashDistribCurr(v string) { m.CashDistribCurr = &v } diff --git a/fix43/rfqrequest/RFQRequest.go b/fix43/rfqrequest/RFQRequest.go index 9dbb96e31..30a5aa753 100644 --- a/fix43/rfqrequest/RFQRequest.go +++ b/fix43/rfqrequest/RFQRequest.go @@ -24,6 +24,13 @@ type NoRelatedSym struct { TradingSessionSubID *string `fix:"625"` } +//NewNoRelatedSym returns an initialized NoRelatedSym instance +func NewNoRelatedSym(instrument instrument.Instrument) *NoRelatedSym { + var m NoRelatedSym + m.SetInstrument(instrument) + return &m +} + func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = v } func (m *NoRelatedSym) SetPrevClosePx(v float64) { m.PrevClosePx = &v } func (m *NoRelatedSym) SetQuoteRequestType(v int) { m.QuoteRequestType = &v } diff --git a/fix43/securitydefinition/SecurityDefinition.go b/fix43/securitydefinition/SecurityDefinition.go index 97bff294c..b25a7ca1d 100644 --- a/fix43/securitydefinition/SecurityDefinition.go +++ b/fix43/securitydefinition/SecurityDefinition.go @@ -17,6 +17,12 @@ type NoLegs struct { LegCurrency *string `fix:"556"` } +//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) SetLegCurrency(v string) { m.LegCurrency = &v } diff --git a/fix43/securitydefinitionrequest/SecurityDefinitionRequest.go b/fix43/securitydefinitionrequest/SecurityDefinitionRequest.go index 239e0cf31..a603e1f8a 100644 --- a/fix43/securitydefinitionrequest/SecurityDefinitionRequest.go +++ b/fix43/securitydefinitionrequest/SecurityDefinitionRequest.go @@ -17,6 +17,12 @@ type NoLegs struct { LegCurrency *string `fix:"556"` } +//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) SetLegCurrency(v string) { m.LegCurrency = &v } diff --git a/fix43/securitylist/SecurityList.go b/fix43/securitylist/SecurityList.go index ad06e7e34..40d328166 100644 --- a/fix43/securitylist/SecurityList.go +++ b/fix43/securitylist/SecurityList.go @@ -33,6 +33,12 @@ type NoRelatedSym struct { 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) SetNoLegs(v []NoLegs) { m.NoLegs = v } @@ -52,6 +58,12 @@ type NoLegs struct { LegCurrency *string `fix:"556"` } +//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) SetLegCurrency(v string) { m.LegCurrency = &v } diff --git a/fix43/securitytypes/SecurityTypes.go b/fix43/securitytypes/SecurityTypes.go index ec3fd1032..5530e0d31 100644 --- a/fix43/securitytypes/SecurityTypes.go +++ b/fix43/securitytypes/SecurityTypes.go @@ -17,6 +17,12 @@ type NoSecurityTypes struct { CFICode *string `fix:"461"` } +//NewNoSecurityTypes returns an initialized NoSecurityTypes instance +func NewNoSecurityTypes() *NoSecurityTypes { + var m NoSecurityTypes + return &m +} + func (m *NoSecurityTypes) SetSecurityType(v string) { m.SecurityType = &v } func (m *NoSecurityTypes) SetProduct(v int) { m.Product = &v } func (m *NoSecurityTypes) SetCFICode(v string) { m.CFICode = &v } diff --git a/fix43/spreadorbenchmarkcurvedata/SpreadOrBenchmarkCurveData.go b/fix43/spreadorbenchmarkcurvedata/SpreadOrBenchmarkCurveData.go index 459469136..a2b17fdd8 100644 --- a/fix43/spreadorbenchmarkcurvedata/SpreadOrBenchmarkCurveData.go +++ b/fix43/spreadorbenchmarkcurvedata/SpreadOrBenchmarkCurveData.go @@ -1,5 +1,6 @@ package spreadorbenchmarkcurvedata +//New returns an initialized SpreadOrBenchmarkCurveData instance func New() *SpreadOrBenchmarkCurveData { var m SpreadOrBenchmarkCurveData return &m diff --git a/fix43/stipulations/Stipulations.go b/fix43/stipulations/Stipulations.go index 522c14048..42c666319 100644 --- a/fix43/stipulations/Stipulations.go +++ b/fix43/stipulations/Stipulations.go @@ -1,5 +1,6 @@ package stipulations +//New returns an initialized Stipulations instance func New() *Stipulations { var m Stipulations return &m @@ -13,6 +14,12 @@ type NoStipulations struct { StipulationValue *string `fix:"234"` } +//NewNoStipulations returns an initialized NoStipulations instance +func NewNoStipulations() *NoStipulations { + var m NoStipulations + return &m +} + func (m *NoStipulations) SetStipulationType(v string) { m.StipulationType = &v } func (m *NoStipulations) SetStipulationValue(v string) { m.StipulationValue = &v } diff --git a/fix43/tradecapturereport/TradeCaptureReport.go b/fix43/tradecapturereport/TradeCaptureReport.go index 6177a1227..52479e414 100644 --- a/fix43/tradecapturereport/TradeCaptureReport.go +++ b/fix43/tradecapturereport/TradeCaptureReport.go @@ -100,6 +100,14 @@ type NoSides struct { NoMiscFees []NoMiscFees `fix:"136,omitempty"` } +//NewNoSides returns an initialized NoSides instance +func NewNoSides(side string, orderid string) *NoSides { + var m NoSides + m.SetSide(side) + m.SetOrderID(orderid) + return &m +} + func (m *NoSides) SetSide(v string) { m.Side = v } func (m *NoSides) SetOrderID(v string) { m.OrderID = v } func (m *NoSides) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } @@ -149,6 +157,12 @@ type NoClearingInstructions struct { ClearingInstruction *int `fix:"577"` } +//NewNoClearingInstructions returns an initialized NoClearingInstructions instance +func NewNoClearingInstructions() *NoClearingInstructions { + var m NoClearingInstructions + return &m +} + func (m *NoClearingInstructions) SetClearingInstruction(v int) { m.ClearingInstruction = &v } //NoContAmts is a repeating group in NoSides @@ -161,6 +175,12 @@ type NoContAmts struct { ContAmtCurr *string `fix:"521"` } +//NewNoContAmts returns an initialized NoContAmts instance +func NewNoContAmts() *NoContAmts { + var m NoContAmts + return &m +} + func (m *NoContAmts) SetContAmtType(v int) { m.ContAmtType = &v } func (m *NoContAmts) SetContAmtValue(v float64) { m.ContAmtValue = &v } func (m *NoContAmts) SetContAmtCurr(v string) { m.ContAmtCurr = &v } @@ -175,6 +195,12 @@ type NoMiscFees struct { MiscFeeType *string `fix:"139"` } +//NewNoMiscFees returns an initialized NoMiscFees instance +func NewNoMiscFees() *NoMiscFees { + var m NoMiscFees + return &m +} + func (m *NoMiscFees) SetMiscFeeAmt(v float64) { m.MiscFeeAmt = &v } func (m *NoMiscFees) SetMiscFeeCurr(v string) { m.MiscFeeCurr = &v } func (m *NoMiscFees) SetMiscFeeType(v string) { m.MiscFeeType = &v } diff --git a/fix43/tradecapturereportrequest/TradeCaptureReportRequest.go b/fix43/tradecapturereportrequest/TradeCaptureReportRequest.go index 90cc2ead3..af10845b5 100644 --- a/fix43/tradecapturereportrequest/TradeCaptureReportRequest.go +++ b/fix43/tradecapturereportrequest/TradeCaptureReportRequest.go @@ -18,6 +18,12 @@ type NoDates struct { TransactTime *time.Time `fix:"60"` } +//NewNoDates returns an initialized NoDates instance +func NewNoDates() *NoDates { + var m NoDates + return &m +} + func (m *NoDates) SetTradeDate(v string) { m.TradeDate = &v } func (m *NoDates) SetTransactTime(v time.Time) { m.TransactTime = &v } diff --git a/fix43/underlyinginstrument/UnderlyingInstrument.go b/fix43/underlyinginstrument/UnderlyingInstrument.go index 20cd2ac5e..69083866a 100644 --- a/fix43/underlyinginstrument/UnderlyingInstrument.go +++ b/fix43/underlyinginstrument/UnderlyingInstrument.go @@ -1,5 +1,6 @@ package underlyinginstrument +//New returns an initialized UnderlyingInstrument instance func New() *UnderlyingInstrument { var m UnderlyingInstrument return &m @@ -13,6 +14,12 @@ type NoUnderlyingSecurityAltID struct { UnderlyingSecurityAltIDSource *string `fix:"459"` } +//NewNoUnderlyingSecurityAltID returns an initialized NoUnderlyingSecurityAltID instance +func NewNoUnderlyingSecurityAltID() *NoUnderlyingSecurityAltID { + var m NoUnderlyingSecurityAltID + return &m +} + func (m *NoUnderlyingSecurityAltID) SetUnderlyingSecurityAltID(v string) { m.UnderlyingSecurityAltID = &v } diff --git a/fix43/yielddata/YieldData.go b/fix43/yielddata/YieldData.go index 2f0de8477..c476735e1 100644 --- a/fix43/yielddata/YieldData.go +++ b/fix43/yielddata/YieldData.go @@ -1,5 +1,6 @@ package yielddata +//New returns an initialized YieldData instance func New() *YieldData { var m YieldData return &m diff --git a/fix44/advertisement/Advertisement.go b/fix44/advertisement/Advertisement.go index 884f50182..2dcd889d9 100644 --- a/fix44/advertisement/Advertisement.go +++ b/fix44/advertisement/Advertisement.go @@ -17,6 +17,12 @@ type NoLegs struct { InstrumentLeg *instrumentleg.InstrumentLeg } +//NewNoLegs returns an initialized NoLegs instance +func NewNoLegs() *NoLegs { + var m NoLegs + return &m +} + func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } //NoUnderlyings is a repeating group in Advertisement @@ -25,6 +31,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } diff --git a/fix44/allocationinstruction/AllocationInstruction.go b/fix44/allocationinstruction/AllocationInstruction.go index 845ee0815..349e74913 100644 --- a/fix44/allocationinstruction/AllocationInstruction.go +++ b/fix44/allocationinstruction/AllocationInstruction.go @@ -43,6 +43,12 @@ type NoOrders struct { OrderBookingQty *float64 `fix:"800"` } +//NewNoOrders returns an initialized NoOrders instance +func NewNoOrders() *NoOrders { + var m NoOrders + return &m +} + func (m *NoOrders) SetClOrdID(v string) { m.ClOrdID = &v } func (m *NoOrders) SetOrderID(v string) { m.OrderID = &v } func (m *NoOrders) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } @@ -69,6 +75,12 @@ type NoExecs struct { LastCapacity *string `fix:"29"` } +//NewNoExecs returns an initialized NoExecs instance +func NewNoExecs() *NoExecs { + var m NoExecs + return &m +} + func (m *NoExecs) SetLastQty(v float64) { m.LastQty = &v } func (m *NoExecs) SetExecID(v string) { m.ExecID = &v } func (m *NoExecs) SetSecondaryExecID(v string) { m.SecondaryExecID = &v } @@ -82,6 +94,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } @@ -92,6 +110,12 @@ type NoLegs struct { InstrumentLeg *instrumentleg.InstrumentLeg } +//NewNoLegs returns an initialized NoLegs instance +func NewNoLegs() *NoLegs { + var m NoLegs + return &m +} + func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } //NoAllocs is a repeating group in AllocationInstruction @@ -156,6 +180,12 @@ type NoAllocs struct { SettlInstructionsData *settlinstructionsdata.SettlInstructionsData } +//NewNoAllocs returns an initialized NoAllocs instance +func NewNoAllocs() *NoAllocs { + var m NoAllocs + return &m +} + func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } func (m *NoAllocs) SetMatchStatus(v string) { m.MatchStatus = &v } @@ -200,6 +230,12 @@ type NoMiscFees struct { MiscFeeBasis *int `fix:"891"` } +//NewNoMiscFees returns an initialized NoMiscFees instance +func NewNoMiscFees() *NoMiscFees { + var m NoMiscFees + return &m +} + func (m *NoMiscFees) SetMiscFeeAmt(v float64) { m.MiscFeeAmt = &v } func (m *NoMiscFees) SetMiscFeeCurr(v string) { m.MiscFeeCurr = &v } func (m *NoMiscFees) SetMiscFeeType(v string) { m.MiscFeeType = &v } @@ -211,6 +247,12 @@ type NoClearingInstructions struct { ClearingInstruction *int `fix:"577"` } +//NewNoClearingInstructions returns an initialized NoClearingInstructions instance +func NewNoClearingInstructions() *NoClearingInstructions { + var m NoClearingInstructions + return &m +} + func (m *NoClearingInstructions) SetClearingInstruction(v int) { m.ClearingInstruction = &v } //Message is a AllocationInstruction FIX Message diff --git a/fix44/allocationinstructionack/AllocationInstructionAck.go b/fix44/allocationinstructionack/AllocationInstructionAck.go index 8f77a0e4e..a17bb1a63 100644 --- a/fix44/allocationinstructionack/AllocationInstructionAck.go +++ b/fix44/allocationinstructionack/AllocationInstructionAck.go @@ -29,6 +29,12 @@ type NoAllocs struct { EncodedAllocText *string `fix:"361"` } +//NewNoAllocs returns an initialized NoAllocs instance +func NewNoAllocs() *NoAllocs { + var m NoAllocs + return &m +} + func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } func (m *NoAllocs) SetAllocPrice(v float64) { m.AllocPrice = &v } diff --git a/fix44/allocationreport/AllocationReport.go b/fix44/allocationreport/AllocationReport.go index 0b45fe264..a57cc8de6 100644 --- a/fix44/allocationreport/AllocationReport.go +++ b/fix44/allocationreport/AllocationReport.go @@ -43,6 +43,12 @@ type NoOrders struct { OrderBookingQty *float64 `fix:"800"` } +//NewNoOrders returns an initialized NoOrders instance +func NewNoOrders() *NoOrders { + var m NoOrders + return &m +} + func (m *NoOrders) SetClOrdID(v string) { m.ClOrdID = &v } func (m *NoOrders) SetOrderID(v string) { m.OrderID = &v } func (m *NoOrders) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } @@ -69,6 +75,12 @@ type NoExecs struct { LastCapacity *string `fix:"29"` } +//NewNoExecs returns an initialized NoExecs instance +func NewNoExecs() *NoExecs { + var m NoExecs + return &m +} + func (m *NoExecs) SetLastQty(v float64) { m.LastQty = &v } func (m *NoExecs) SetExecID(v string) { m.ExecID = &v } func (m *NoExecs) SetSecondaryExecID(v string) { m.SecondaryExecID = &v } @@ -82,6 +94,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } @@ -92,6 +110,12 @@ type NoLegs struct { InstrumentLeg *instrumentleg.InstrumentLeg } +//NewNoLegs returns an initialized NoLegs instance +func NewNoLegs() *NoLegs { + var m NoLegs + return &m +} + func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } //NoAllocs is a repeating group in AllocationReport @@ -156,6 +180,12 @@ type NoAllocs struct { SettlInstructionsData *settlinstructionsdata.SettlInstructionsData } +//NewNoAllocs returns an initialized NoAllocs instance +func NewNoAllocs() *NoAllocs { + var m NoAllocs + return &m +} + func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } func (m *NoAllocs) SetMatchStatus(v string) { m.MatchStatus = &v } @@ -200,6 +230,12 @@ type NoMiscFees struct { MiscFeeBasis *int `fix:"891"` } +//NewNoMiscFees returns an initialized NoMiscFees instance +func NewNoMiscFees() *NoMiscFees { + var m NoMiscFees + return &m +} + func (m *NoMiscFees) SetMiscFeeAmt(v float64) { m.MiscFeeAmt = &v } func (m *NoMiscFees) SetMiscFeeCurr(v string) { m.MiscFeeCurr = &v } func (m *NoMiscFees) SetMiscFeeType(v string) { m.MiscFeeType = &v } @@ -211,6 +247,12 @@ type NoClearingInstructions struct { ClearingInstruction *int `fix:"577"` } +//NewNoClearingInstructions returns an initialized NoClearingInstructions instance +func NewNoClearingInstructions() *NoClearingInstructions { + var m NoClearingInstructions + return &m +} + func (m *NoClearingInstructions) SetClearingInstruction(v int) { m.ClearingInstruction = &v } //Message is a AllocationReport FIX Message diff --git a/fix44/allocationreportack/AllocationReportAck.go b/fix44/allocationreportack/AllocationReportAck.go index e1496b754..48b88f179 100644 --- a/fix44/allocationreportack/AllocationReportAck.go +++ b/fix44/allocationreportack/AllocationReportAck.go @@ -29,6 +29,12 @@ type NoAllocs struct { EncodedAllocText *string `fix:"361"` } +//NewNoAllocs returns an initialized NoAllocs instance +func NewNoAllocs() *NoAllocs { + var m NoAllocs + return &m +} + func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } func (m *NoAllocs) SetAllocPrice(v float64) { m.AllocPrice = &v } diff --git a/fix44/assignmentreport/AssignmentReport.go b/fix44/assignmentreport/AssignmentReport.go index 4091b986b..a57d8674a 100644 --- a/fix44/assignmentreport/AssignmentReport.go +++ b/fix44/assignmentreport/AssignmentReport.go @@ -19,6 +19,12 @@ type NoLegs struct { InstrumentLeg *instrumentleg.InstrumentLeg } +//NewNoLegs returns an initialized NoLegs instance +func NewNoLegs() *NoLegs { + var m NoLegs + return &m +} + func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } //NoUnderlyings is a repeating group in AssignmentReport @@ -27,6 +33,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } diff --git a/fix44/bidrequest/BidRequest.go b/fix44/bidrequest/BidRequest.go index 76c5df56b..0d4a3412c 100644 --- a/fix44/bidrequest/BidRequest.go +++ b/fix44/bidrequest/BidRequest.go @@ -34,6 +34,12 @@ type NoBidDescriptors struct { ValueOfFutures *float64 `fix:"408"` } +//NewNoBidDescriptors returns an initialized NoBidDescriptors instance +func NewNoBidDescriptors() *NoBidDescriptors { + var m NoBidDescriptors + return &m +} + func (m *NoBidDescriptors) SetBidDescriptorType(v int) { m.BidDescriptorType = &v } func (m *NoBidDescriptors) SetBidDescriptor(v string) { m.BidDescriptor = &v } func (m *NoBidDescriptors) SetSideValueInd(v int) { m.SideValueInd = &v } @@ -68,6 +74,12 @@ type NoBidComponents struct { AcctIDSource *int `fix:"660"` } +//NewNoBidComponents returns an initialized NoBidComponents instance +func NewNoBidComponents() *NoBidComponents { + var m NoBidComponents + return &m +} + func (m *NoBidComponents) SetListID(v string) { m.ListID = &v } func (m *NoBidComponents) SetSide(v string) { m.Side = &v } func (m *NoBidComponents) SetTradingSessionID(v string) { m.TradingSessionID = &v } diff --git a/fix44/bidresponse/BidResponse.go b/fix44/bidresponse/BidResponse.go index 5509308e5..d4cbae2c8 100644 --- a/fix44/bidresponse/BidResponse.go +++ b/fix44/bidresponse/BidResponse.go @@ -42,6 +42,13 @@ type NoBidComponents struct { EncodedText *string `fix:"355"` } +//NewNoBidComponents returns an initialized NoBidComponents instance +func NewNoBidComponents(commissiondata commissiondata.CommissionData) *NoBidComponents { + var m NoBidComponents + m.SetCommissionData(commissiondata) + return &m +} + func (m *NoBidComponents) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = v } func (m *NoBidComponents) SetListID(v string) { m.ListID = &v } func (m *NoBidComponents) SetCountry(v string) { m.Country = &v } diff --git a/fix44/collateralassignment/CollateralAssignment.go b/fix44/collateralassignment/CollateralAssignment.go index 72f5a0bbf..2f5027bc3 100644 --- a/fix44/collateralassignment/CollateralAssignment.go +++ b/fix44/collateralassignment/CollateralAssignment.go @@ -23,6 +23,12 @@ type NoExecs struct { ExecID *string `fix:"17"` } +//NewNoExecs returns an initialized NoExecs instance +func NewNoExecs() *NoExecs { + var m NoExecs + return &m +} + func (m *NoExecs) SetExecID(v string) { m.ExecID = &v } //NoTrades is a repeating group in CollateralAssignment @@ -33,6 +39,12 @@ type NoTrades struct { SecondaryTradeReportID *string `fix:"818"` } +//NewNoTrades returns an initialized NoTrades instance +func NewNoTrades() *NoTrades { + var m NoTrades + return &m +} + func (m *NoTrades) SetTradeReportID(v string) { m.TradeReportID = &v } func (m *NoTrades) SetSecondaryTradeReportID(v string) { m.SecondaryTradeReportID = &v } @@ -42,6 +54,12 @@ type NoLegs struct { InstrumentLeg *instrumentleg.InstrumentLeg } +//NewNoLegs returns an initialized NoLegs instance +func NewNoLegs() *NoLegs { + var m NoLegs + return &m +} + func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } //NoUnderlyings is a repeating group in CollateralAssignment @@ -52,6 +70,12 @@ type NoUnderlyings struct { CollAction *int `fix:"944"` } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } @@ -69,6 +93,12 @@ type NoMiscFees struct { MiscFeeBasis *int `fix:"891"` } +//NewNoMiscFees returns an initialized NoMiscFees instance +func NewNoMiscFees() *NoMiscFees { + var m NoMiscFees + return &m +} + func (m *NoMiscFees) SetMiscFeeAmt(v float64) { m.MiscFeeAmt = &v } func (m *NoMiscFees) SetMiscFeeCurr(v string) { m.MiscFeeCurr = &v } func (m *NoMiscFees) SetMiscFeeType(v string) { m.MiscFeeType = &v } diff --git a/fix44/collateralinquiry/CollateralInquiry.go b/fix44/collateralinquiry/CollateralInquiry.go index 32449b5ff..0af56eb8b 100644 --- a/fix44/collateralinquiry/CollateralInquiry.go +++ b/fix44/collateralinquiry/CollateralInquiry.go @@ -22,6 +22,12 @@ type NoCollInquiryQualifier struct { CollInquiryQualifier *int `fix:"896"` } +//NewNoCollInquiryQualifier returns an initialized NoCollInquiryQualifier instance +func NewNoCollInquiryQualifier() *NoCollInquiryQualifier { + var m NoCollInquiryQualifier + return &m +} + func (m *NoCollInquiryQualifier) SetCollInquiryQualifier(v int) { m.CollInquiryQualifier = &v } //NoExecs is a repeating group in CollateralInquiry @@ -30,6 +36,12 @@ type NoExecs struct { ExecID *string `fix:"17"` } +//NewNoExecs returns an initialized NoExecs instance +func NewNoExecs() *NoExecs { + var m NoExecs + return &m +} + func (m *NoExecs) SetExecID(v string) { m.ExecID = &v } //NoTrades is a repeating group in CollateralInquiry @@ -40,6 +52,12 @@ type NoTrades struct { SecondaryTradeReportID *string `fix:"818"` } +//NewNoTrades returns an initialized NoTrades instance +func NewNoTrades() *NoTrades { + var m NoTrades + return &m +} + func (m *NoTrades) SetTradeReportID(v string) { m.TradeReportID = &v } func (m *NoTrades) SetSecondaryTradeReportID(v string) { m.SecondaryTradeReportID = &v } @@ -49,6 +67,12 @@ type NoLegs struct { InstrumentLeg *instrumentleg.InstrumentLeg } +//NewNoLegs returns an initialized NoLegs instance +func NewNoLegs() *NoLegs { + var m NoLegs + return &m +} + func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } //NoUnderlyings is a repeating group in CollateralInquiry @@ -57,6 +81,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } diff --git a/fix44/collateralinquiryack/CollateralInquiryAck.go b/fix44/collateralinquiryack/CollateralInquiryAck.go index 7aaded880..ad3728224 100644 --- a/fix44/collateralinquiryack/CollateralInquiryAck.go +++ b/fix44/collateralinquiryack/CollateralInquiryAck.go @@ -18,6 +18,12 @@ type NoCollInquiryQualifier struct { CollInquiryQualifier *int `fix:"896"` } +//NewNoCollInquiryQualifier returns an initialized NoCollInquiryQualifier instance +func NewNoCollInquiryQualifier() *NoCollInquiryQualifier { + var m NoCollInquiryQualifier + return &m +} + func (m *NoCollInquiryQualifier) SetCollInquiryQualifier(v int) { m.CollInquiryQualifier = &v } //NoExecs is a repeating group in CollateralInquiryAck @@ -26,6 +32,12 @@ type NoExecs struct { ExecID *string `fix:"17"` } +//NewNoExecs returns an initialized NoExecs instance +func NewNoExecs() *NoExecs { + var m NoExecs + return &m +} + func (m *NoExecs) SetExecID(v string) { m.ExecID = &v } //NoTrades is a repeating group in CollateralInquiryAck @@ -36,6 +48,12 @@ type NoTrades struct { SecondaryTradeReportID *string `fix:"818"` } +//NewNoTrades returns an initialized NoTrades instance +func NewNoTrades() *NoTrades { + var m NoTrades + return &m +} + func (m *NoTrades) SetTradeReportID(v string) { m.TradeReportID = &v } func (m *NoTrades) SetSecondaryTradeReportID(v string) { m.SecondaryTradeReportID = &v } @@ -45,6 +63,12 @@ type NoLegs struct { InstrumentLeg *instrumentleg.InstrumentLeg } +//NewNoLegs returns an initialized NoLegs instance +func NewNoLegs() *NoLegs { + var m NoLegs + return &m +} + func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } //NoUnderlyings is a repeating group in CollateralInquiryAck @@ -53,6 +77,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } diff --git a/fix44/collateralreport/CollateralReport.go b/fix44/collateralreport/CollateralReport.go index 338606e82..7830c1c3b 100644 --- a/fix44/collateralreport/CollateralReport.go +++ b/fix44/collateralreport/CollateralReport.go @@ -22,6 +22,12 @@ type NoExecs struct { ExecID *string `fix:"17"` } +//NewNoExecs returns an initialized NoExecs instance +func NewNoExecs() *NoExecs { + var m NoExecs + return &m +} + func (m *NoExecs) SetExecID(v string) { m.ExecID = &v } //NoTrades is a repeating group in CollateralReport @@ -32,6 +38,12 @@ type NoTrades struct { SecondaryTradeReportID *string `fix:"818"` } +//NewNoTrades returns an initialized NoTrades instance +func NewNoTrades() *NoTrades { + var m NoTrades + return &m +} + func (m *NoTrades) SetTradeReportID(v string) { m.TradeReportID = &v } func (m *NoTrades) SetSecondaryTradeReportID(v string) { m.SecondaryTradeReportID = &v } @@ -41,6 +53,12 @@ type NoLegs struct { InstrumentLeg *instrumentleg.InstrumentLeg } +//NewNoLegs returns an initialized NoLegs instance +func NewNoLegs() *NoLegs { + var m NoLegs + return &m +} + func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } //NoUnderlyings is a repeating group in CollateralReport @@ -49,6 +67,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } @@ -65,6 +89,12 @@ type NoMiscFees struct { MiscFeeBasis *int `fix:"891"` } +//NewNoMiscFees returns an initialized NoMiscFees instance +func NewNoMiscFees() *NoMiscFees { + var m NoMiscFees + return &m +} + func (m *NoMiscFees) SetMiscFeeAmt(v float64) { m.MiscFeeAmt = &v } func (m *NoMiscFees) SetMiscFeeCurr(v string) { m.MiscFeeCurr = &v } func (m *NoMiscFees) SetMiscFeeType(v string) { m.MiscFeeType = &v } diff --git a/fix44/collateralrequest/CollateralRequest.go b/fix44/collateralrequest/CollateralRequest.go index 33a0a9fc2..996a1c1d8 100644 --- a/fix44/collateralrequest/CollateralRequest.go +++ b/fix44/collateralrequest/CollateralRequest.go @@ -22,6 +22,12 @@ type NoExecs struct { ExecID *string `fix:"17"` } +//NewNoExecs returns an initialized NoExecs instance +func NewNoExecs() *NoExecs { + var m NoExecs + return &m +} + func (m *NoExecs) SetExecID(v string) { m.ExecID = &v } //NoTrades is a repeating group in CollateralRequest @@ -32,6 +38,12 @@ type NoTrades struct { SecondaryTradeReportID *string `fix:"818"` } +//NewNoTrades returns an initialized NoTrades instance +func NewNoTrades() *NoTrades { + var m NoTrades + return &m +} + func (m *NoTrades) SetTradeReportID(v string) { m.TradeReportID = &v } func (m *NoTrades) SetSecondaryTradeReportID(v string) { m.SecondaryTradeReportID = &v } @@ -41,6 +53,12 @@ type NoLegs struct { InstrumentLeg *instrumentleg.InstrumentLeg } +//NewNoLegs returns an initialized NoLegs instance +func NewNoLegs() *NoLegs { + var m NoLegs + return &m +} + func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } //NoUnderlyings is a repeating group in CollateralRequest @@ -51,6 +69,12 @@ type NoUnderlyings struct { CollAction *int `fix:"944"` } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } @@ -68,6 +92,12 @@ type NoMiscFees struct { MiscFeeBasis *int `fix:"891"` } +//NewNoMiscFees returns an initialized NoMiscFees instance +func NewNoMiscFees() *NoMiscFees { + var m NoMiscFees + return &m +} + func (m *NoMiscFees) SetMiscFeeAmt(v float64) { m.MiscFeeAmt = &v } func (m *NoMiscFees) SetMiscFeeCurr(v string) { m.MiscFeeCurr = &v } func (m *NoMiscFees) SetMiscFeeType(v string) { m.MiscFeeType = &v } diff --git a/fix44/collateralresponse/CollateralResponse.go b/fix44/collateralresponse/CollateralResponse.go index 7e73f25c3..5af42ed86 100644 --- a/fix44/collateralresponse/CollateralResponse.go +++ b/fix44/collateralresponse/CollateralResponse.go @@ -22,6 +22,12 @@ type NoExecs struct { ExecID *string `fix:"17"` } +//NewNoExecs returns an initialized NoExecs instance +func NewNoExecs() *NoExecs { + var m NoExecs + return &m +} + func (m *NoExecs) SetExecID(v string) { m.ExecID = &v } //NoTrades is a repeating group in CollateralResponse @@ -32,6 +38,12 @@ type NoTrades struct { SecondaryTradeReportID *string `fix:"818"` } +//NewNoTrades returns an initialized NoTrades instance +func NewNoTrades() *NoTrades { + var m NoTrades + return &m +} + func (m *NoTrades) SetTradeReportID(v string) { m.TradeReportID = &v } func (m *NoTrades) SetSecondaryTradeReportID(v string) { m.SecondaryTradeReportID = &v } @@ -41,6 +53,12 @@ type NoLegs struct { InstrumentLeg *instrumentleg.InstrumentLeg } +//NewNoLegs returns an initialized NoLegs instance +func NewNoLegs() *NoLegs { + var m NoLegs + return &m +} + func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } //NoUnderlyings is a repeating group in CollateralResponse @@ -51,6 +69,12 @@ type NoUnderlyings struct { CollAction *int `fix:"944"` } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } @@ -68,6 +92,12 @@ type NoMiscFees struct { MiscFeeBasis *int `fix:"891"` } +//NewNoMiscFees returns an initialized NoMiscFees instance +func NewNoMiscFees() *NoMiscFees { + var m NoMiscFees + return &m +} + func (m *NoMiscFees) SetMiscFeeAmt(v float64) { m.MiscFeeAmt = &v } func (m *NoMiscFees) SetMiscFeeCurr(v string) { m.MiscFeeCurr = &v } func (m *NoMiscFees) SetMiscFeeType(v string) { m.MiscFeeType = &v } diff --git a/fix44/commissiondata/CommissionData.go b/fix44/commissiondata/CommissionData.go index 4982fa3cd..8bee2e13d 100644 --- a/fix44/commissiondata/CommissionData.go +++ b/fix44/commissiondata/CommissionData.go @@ -1,5 +1,6 @@ package commissiondata +//New returns an initialized CommissionData instance func New() *CommissionData { var m CommissionData return &m diff --git a/fix44/confirmation/Confirmation.go b/fix44/confirmation/Confirmation.go index 62110e98f..d9006c8e7 100644 --- a/fix44/confirmation/Confirmation.go +++ b/fix44/confirmation/Confirmation.go @@ -43,6 +43,12 @@ type NoOrders struct { OrderBookingQty *float64 `fix:"800"` } +//NewNoOrders returns an initialized NoOrders instance +func NewNoOrders() *NoOrders { + var m NoOrders + return &m +} + func (m *NoOrders) SetClOrdID(v string) { m.ClOrdID = &v } func (m *NoOrders) SetOrderID(v string) { m.OrderID = &v } func (m *NoOrders) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } @@ -59,6 +65,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } @@ -69,6 +81,12 @@ type NoLegs struct { InstrumentLeg *instrumentleg.InstrumentLeg } +//NewNoLegs returns an initialized NoLegs instance +func NewNoLegs() *NoLegs { + var m NoLegs + return &m +} + func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } //NoCapacities is a repeating group in Confirmation @@ -81,6 +99,14 @@ type NoCapacities struct { OrderCapacityQty float64 `fix:"863"` } +//NewNoCapacities returns an initialized NoCapacities instance +func NewNoCapacities(ordercapacity string, ordercapacityqty float64) *NoCapacities { + var m NoCapacities + m.SetOrderCapacity(ordercapacity) + m.SetOrderCapacityQty(ordercapacityqty) + return &m +} + func (m *NoCapacities) SetOrderCapacity(v string) { m.OrderCapacity = v } func (m *NoCapacities) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } func (m *NoCapacities) SetOrderCapacityQty(v float64) { m.OrderCapacityQty = v } @@ -97,6 +123,12 @@ type NoMiscFees struct { MiscFeeBasis *int `fix:"891"` } +//NewNoMiscFees returns an initialized NoMiscFees instance +func NewNoMiscFees() *NoMiscFees { + var m NoMiscFees + return &m +} + func (m *NoMiscFees) SetMiscFeeAmt(v float64) { m.MiscFeeAmt = &v } func (m *NoMiscFees) SetMiscFeeCurr(v string) { m.MiscFeeCurr = &v } func (m *NoMiscFees) SetMiscFeeType(v string) { m.MiscFeeType = &v } diff --git a/fix44/confirmationrequest/ConfirmationRequest.go b/fix44/confirmationrequest/ConfirmationRequest.go index aabdb9619..f5cb7a3b5 100644 --- a/fix44/confirmationrequest/ConfirmationRequest.go +++ b/fix44/confirmationrequest/ConfirmationRequest.go @@ -31,6 +31,12 @@ type NoOrders struct { OrderBookingQty *float64 `fix:"800"` } +//NewNoOrders returns an initialized NoOrders instance +func NewNoOrders() *NoOrders { + var m NoOrders + return &m +} + func (m *NoOrders) SetClOrdID(v string) { m.ClOrdID = &v } func (m *NoOrders) SetOrderID(v string) { m.OrderID = &v } func (m *NoOrders) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } diff --git a/fix44/crossordercancelreplacerequest/CrossOrderCancelReplaceRequest.go b/fix44/crossordercancelreplacerequest/CrossOrderCancelReplaceRequest.go index e87a06110..7753ec287 100644 --- a/fix44/crossordercancelreplacerequest/CrossOrderCancelReplaceRequest.go +++ b/fix44/crossordercancelreplacerequest/CrossOrderCancelReplaceRequest.go @@ -94,6 +94,16 @@ type NoSides struct { SideComplianceID *string `fix:"659"` } +//NewNoSides returns an initialized NoSides instance +func NewNoSides(side string, origclordid string, clordid string, orderqtydata orderqtydata.OrderQtyData) *NoSides { + var m NoSides + m.SetSide(side) + m.SetOrigClOrdID(origclordid) + m.SetClOrdID(clordid) + m.SetOrderQtyData(orderqtydata) + return &m +} + func (m *NoSides) SetSide(v string) { m.Side = v } func (m *NoSides) SetOrigClOrdID(v string) { m.OrigClOrdID = v } func (m *NoSides) SetClOrdID(v string) { m.ClOrdID = v } @@ -146,6 +156,12 @@ type NoAllocs struct { AllocQty *float64 `fix:"80"` } +//NewNoAllocs returns an initialized NoAllocs instance +func NewNoAllocs() *NoAllocs { + var m NoAllocs + return &m +} + func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } func (m *NoAllocs) SetAllocSettlCurrency(v string) { m.AllocSettlCurrency = &v } @@ -159,6 +175,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } @@ -169,6 +191,12 @@ type NoLegs struct { InstrumentLeg *instrumentleg.InstrumentLeg } +//NewNoLegs returns an initialized NoLegs instance +func NewNoLegs() *NoLegs { + var m NoLegs + return &m +} + func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } //NoTradingSessions is a repeating group in CrossOrderCancelReplaceRequest @@ -179,6 +207,12 @@ type NoTradingSessions struct { TradingSessionSubID *string `fix:"625"` } +//NewNoTradingSessions returns an initialized NoTradingSessions instance +func NewNoTradingSessions() *NoTradingSessions { + var m NoTradingSessions + return &m +} + func (m *NoTradingSessions) SetTradingSessionID(v string) { m.TradingSessionID = &v } func (m *NoTradingSessions) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } diff --git a/fix44/crossordercancelrequest/CrossOrderCancelRequest.go b/fix44/crossordercancelrequest/CrossOrderCancelRequest.go index 65fe0f9cd..f0d014e96 100644 --- a/fix44/crossordercancelrequest/CrossOrderCancelRequest.go +++ b/fix44/crossordercancelrequest/CrossOrderCancelRequest.go @@ -45,6 +45,16 @@ type NoSides struct { EncodedText *string `fix:"355"` } +//NewNoSides returns an initialized NoSides instance +func NewNoSides(side string, origclordid string, clordid string, orderqtydata orderqtydata.OrderQtyData) *NoSides { + var m NoSides + m.SetSide(side) + m.SetOrigClOrdID(origclordid) + m.SetClOrdID(clordid) + m.SetOrderQtyData(orderqtydata) + return &m +} + func (m *NoSides) SetSide(v string) { m.Side = v } func (m *NoSides) SetOrigClOrdID(v string) { m.OrigClOrdID = v } func (m *NoSides) SetClOrdID(v string) { m.ClOrdID = v } @@ -66,6 +76,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } @@ -76,6 +92,12 @@ type NoLegs struct { InstrumentLeg *instrumentleg.InstrumentLeg } +//NewNoLegs returns an initialized NoLegs instance +func NewNoLegs() *NoLegs { + var m NoLegs + return &m +} + func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } //Message is a CrossOrderCancelRequest FIX Message diff --git a/fix44/derivativesecuritylist/DerivativeSecurityList.go b/fix44/derivativesecuritylist/DerivativeSecurityList.go index a20807154..0e4e71624 100644 --- a/fix44/derivativesecuritylist/DerivativeSecurityList.go +++ b/fix44/derivativesecuritylist/DerivativeSecurityList.go @@ -35,6 +35,12 @@ type NoRelatedSym struct { 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 } @@ -54,6 +60,12 @@ type NoLegs struct { InstrumentLeg *instrumentleg.InstrumentLeg } +//NewNoLegs returns an initialized NoLegs instance +func NewNoLegs() *NoLegs { + var m NoLegs + return &m +} + func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } //Message is a DerivativeSecurityList FIX Message diff --git a/fix44/discretioninstructions/DiscretionInstructions.go b/fix44/discretioninstructions/DiscretionInstructions.go index 246d44111..c603aa25e 100644 --- a/fix44/discretioninstructions/DiscretionInstructions.go +++ b/fix44/discretioninstructions/DiscretionInstructions.go @@ -1,5 +1,6 @@ package discretioninstructions +//New returns an initialized DiscretionInstructions instance func New() *DiscretionInstructions { var m DiscretionInstructions return &m diff --git a/fix44/dontknowtrade/DontKnowTrade.go b/fix44/dontknowtrade/DontKnowTrade.go index b19bb32ea..28c8bfe2c 100644 --- a/fix44/dontknowtrade/DontKnowTrade.go +++ b/fix44/dontknowtrade/DontKnowTrade.go @@ -17,6 +17,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } @@ -27,6 +33,12 @@ type NoLegs struct { InstrumentLeg *instrumentleg.InstrumentLeg } +//NewNoLegs returns an initialized NoLegs instance +func NewNoLegs() *NoLegs { + var m NoLegs + return &m +} + func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } //Message is a DontKnowTrade FIX Message diff --git a/fix44/email/Email.go b/fix44/email/Email.go index bf7be6442..ea89ef199 100644 --- a/fix44/email/Email.go +++ b/fix44/email/Email.go @@ -19,6 +19,12 @@ type NoRoutingIDs struct { RoutingID *string `fix:"217"` } +//NewNoRoutingIDs returns an initialized NoRoutingIDs instance +func NewNoRoutingIDs() *NoRoutingIDs { + var m NoRoutingIDs + return &m +} + func (m *NoRoutingIDs) SetRoutingType(v int) { m.RoutingType = &v } func (m *NoRoutingIDs) SetRoutingID(v string) { m.RoutingID = &v } @@ -28,6 +34,12 @@ type NoRelatedSym struct { Instrument *instrument.Instrument } +//NewNoRelatedSym returns an initialized NoRelatedSym instance +func NewNoRelatedSym() *NoRelatedSym { + var m NoRelatedSym + return &m +} + func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = &v } //NoUnderlyings is a repeating group in Email @@ -36,6 +48,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } @@ -46,6 +64,12 @@ type NoLegs struct { InstrumentLeg *instrumentleg.InstrumentLeg } +//NewNoLegs returns an initialized NoLegs instance +func NewNoLegs() *NoLegs { + var m NoLegs + return &m +} + func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } //NoLinesOfText is a repeating group in Email @@ -58,6 +82,13 @@ type NoLinesOfText struct { EncodedText *string `fix:"355"` } +//NewNoLinesOfText returns an initialized NoLinesOfText instance +func NewNoLinesOfText(text string) *NoLinesOfText { + var m NoLinesOfText + m.SetText(text) + return &m +} + func (m *NoLinesOfText) SetText(v string) { m.Text = v } func (m *NoLinesOfText) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } func (m *NoLinesOfText) SetEncodedText(v string) { m.EncodedText = &v } diff --git a/fix44/executionreport/ExecutionReport.go b/fix44/executionreport/ExecutionReport.go index 5191e4d9e..3d27995b9 100644 --- a/fix44/executionreport/ExecutionReport.go +++ b/fix44/executionreport/ExecutionReport.go @@ -36,6 +36,12 @@ type NoContraBrokers struct { ContraLegRefID *string `fix:"655"` } +//NewNoContraBrokers returns an initialized NoContraBrokers instance +func NewNoContraBrokers() *NoContraBrokers { + var m NoContraBrokers + return &m +} + func (m *NoContraBrokers) SetContraBroker(v string) { m.ContraBroker = &v } func (m *NoContraBrokers) SetContraTrader(v string) { m.ContraTrader = &v } func (m *NoContraBrokers) SetContraTradeQty(v float64) { m.ContraTradeQty = &v } @@ -48,6 +54,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } @@ -62,6 +74,12 @@ type NoContAmts struct { ContAmtCurr *string `fix:"521"` } +//NewNoContAmts returns an initialized NoContAmts instance +func NewNoContAmts() *NoContAmts { + var m NoContAmts + return &m +} + func (m *NoContAmts) SetContAmtType(v int) { m.ContAmtType = &v } func (m *NoContAmts) SetContAmtValue(v float64) { m.ContAmtValue = &v } func (m *NoContAmts) SetContAmtCurr(v string) { m.ContAmtCurr = &v } @@ -94,6 +112,12 @@ type NoLegs struct { LegLastPx *float64 `fix:"637"` } +//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) SetLegQty(v float64) { m.LegQty = &v } func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } @@ -119,6 +143,12 @@ type NoMiscFees struct { MiscFeeBasis *int `fix:"891"` } +//NewNoMiscFees returns an initialized NoMiscFees instance +func NewNoMiscFees() *NoMiscFees { + var m NoMiscFees + return &m +} + func (m *NoMiscFees) SetMiscFeeAmt(v float64) { m.MiscFeeAmt = &v } func (m *NoMiscFees) SetMiscFeeCurr(v string) { m.MiscFeeCurr = &v } func (m *NoMiscFees) SetMiscFeeType(v string) { m.MiscFeeType = &v } diff --git a/fix44/financingdetails/FinancingDetails.go b/fix44/financingdetails/FinancingDetails.go index 00d365ff2..a3ae3200f 100644 --- a/fix44/financingdetails/FinancingDetails.go +++ b/fix44/financingdetails/FinancingDetails.go @@ -1,5 +1,6 @@ package financingdetails +//New returns an initialized FinancingDetails instance func New() *FinancingDetails { var m FinancingDetails return &m diff --git a/fix44/header.go b/fix44/header.go index de59b81a7..24c3c62fb 100644 --- a/fix44/header.go +++ b/fix44/header.go @@ -14,6 +14,12 @@ type NoHops struct { HopRefID *int `fix:"630"` } +//NewNoHops returns an initialized NoHops instance +func NewNoHops() *NoHops { + var m NoHops + return &m +} + func (m *NoHops) SetHopCompID(v string) { m.HopCompID = &v } func (m *NoHops) SetHopSendingTime(v time.Time) { m.HopSendingTime = &v } func (m *NoHops) SetHopRefID(v int) { m.HopRefID = &v } diff --git a/fix44/instrument/Instrument.go b/fix44/instrument/Instrument.go index a83363931..e8145aee0 100644 --- a/fix44/instrument/Instrument.go +++ b/fix44/instrument/Instrument.go @@ -1,5 +1,6 @@ package instrument +//New returns an initialized Instrument instance func New() *Instrument { var m Instrument return &m @@ -13,6 +14,12 @@ type NoSecurityAltID struct { SecurityAltIDSource *string `fix:"456"` } +//NewNoSecurityAltID returns an initialized NoSecurityAltID instance +func NewNoSecurityAltID() *NoSecurityAltID { + var m NoSecurityAltID + return &m +} + func (m *NoSecurityAltID) SetSecurityAltID(v string) { m.SecurityAltID = &v } func (m *NoSecurityAltID) SetSecurityAltIDSource(v string) { m.SecurityAltIDSource = &v } @@ -28,6 +35,12 @@ type NoEvents struct { EventText *string `fix:"868"` } +//NewNoEvents returns an initialized NoEvents instance +func NewNoEvents() *NoEvents { + var m NoEvents + return &m +} + func (m *NoEvents) SetEventType(v int) { m.EventType = &v } func (m *NoEvents) SetEventDate(v string) { m.EventDate = &v } func (m *NoEvents) SetEventPx(v float64) { m.EventPx = &v } diff --git a/fix44/instrumentextension/InstrumentExtension.go b/fix44/instrumentextension/InstrumentExtension.go index 3db264146..1522b198a 100644 --- a/fix44/instrumentextension/InstrumentExtension.go +++ b/fix44/instrumentextension/InstrumentExtension.go @@ -1,5 +1,6 @@ package instrumentextension +//New returns an initialized InstrumentExtension instance func New() *InstrumentExtension { var m InstrumentExtension return &m @@ -13,6 +14,12 @@ type NoInstrAttrib struct { InstrAttribValue *string `fix:"872"` } +//NewNoInstrAttrib returns an initialized NoInstrAttrib instance +func NewNoInstrAttrib() *NoInstrAttrib { + var m NoInstrAttrib + return &m +} + func (m *NoInstrAttrib) SetInstrAttribType(v int) { m.InstrAttribType = &v } func (m *NoInstrAttrib) SetInstrAttribValue(v string) { m.InstrAttribValue = &v } diff --git a/fix44/instrumentleg/InstrumentLeg.go b/fix44/instrumentleg/InstrumentLeg.go index 596f2de61..6bd16b0a2 100644 --- a/fix44/instrumentleg/InstrumentLeg.go +++ b/fix44/instrumentleg/InstrumentLeg.go @@ -1,5 +1,6 @@ package instrumentleg +//New returns an initialized InstrumentLeg instance func New() *InstrumentLeg { var m InstrumentLeg return &m @@ -13,6 +14,12 @@ type NoLegSecurityAltID struct { LegSecurityAltIDSource *string `fix:"606"` } +//NewNoLegSecurityAltID returns an initialized NoLegSecurityAltID instance +func NewNoLegSecurityAltID() *NoLegSecurityAltID { + var m NoLegSecurityAltID + return &m +} + func (m *NoLegSecurityAltID) SetLegSecurityAltID(v string) { m.LegSecurityAltID = &v } func (m *NoLegSecurityAltID) SetLegSecurityAltIDSource(v string) { m.LegSecurityAltIDSource = &v } diff --git a/fix44/ioi/IOI.go b/fix44/ioi/IOI.go index 2a7c4761e..1b7aded10 100644 --- a/fix44/ioi/IOI.go +++ b/fix44/ioi/IOI.go @@ -23,6 +23,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } @@ -37,6 +43,12 @@ type NoLegs struct { LegStipulations *legstipulations.LegStipulations } +//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) SetLegIOIQty(v string) { m.LegIOIQty = &v } func (m *NoLegs) SetLegStipulations(v legstipulations.LegStipulations) { m.LegStipulations = &v } @@ -47,6 +59,12 @@ type NoIOIQualifiers struct { IOIQualifier *string `fix:"104"` } +//NewNoIOIQualifiers returns an initialized NoIOIQualifiers instance +func NewNoIOIQualifiers() *NoIOIQualifiers { + var m NoIOIQualifiers + return &m +} + func (m *NoIOIQualifiers) SetIOIQualifier(v string) { m.IOIQualifier = &v } //NoRoutingIDs is a repeating group in IOI @@ -57,6 +75,12 @@ type NoRoutingIDs struct { RoutingID *string `fix:"217"` } +//NewNoRoutingIDs returns an initialized NoRoutingIDs instance +func NewNoRoutingIDs() *NoRoutingIDs { + var m NoRoutingIDs + return &m +} + func (m *NoRoutingIDs) SetRoutingType(v int) { m.RoutingType = &v } func (m *NoRoutingIDs) SetRoutingID(v string) { m.RoutingID = &v } diff --git a/fix44/legbenchmarkcurvedata/LegBenchmarkCurveData.go b/fix44/legbenchmarkcurvedata/LegBenchmarkCurveData.go index b590f4edf..003c47337 100644 --- a/fix44/legbenchmarkcurvedata/LegBenchmarkCurveData.go +++ b/fix44/legbenchmarkcurvedata/LegBenchmarkCurveData.go @@ -1,5 +1,6 @@ package legbenchmarkcurvedata +//New returns an initialized LegBenchmarkCurveData instance func New() *LegBenchmarkCurveData { var m LegBenchmarkCurveData return &m diff --git a/fix44/legstipulations/LegStipulations.go b/fix44/legstipulations/LegStipulations.go index ccd673155..df96533f6 100644 --- a/fix44/legstipulations/LegStipulations.go +++ b/fix44/legstipulations/LegStipulations.go @@ -1,5 +1,6 @@ package legstipulations +//New returns an initialized LegStipulations instance func New() *LegStipulations { var m LegStipulations return &m @@ -13,6 +14,12 @@ type NoLegStipulations struct { LegStipulationValue *string `fix:"689"` } +//NewNoLegStipulations returns an initialized NoLegStipulations instance +func NewNoLegStipulations() *NoLegStipulations { + var m NoLegStipulations + return &m +} + func (m *NoLegStipulations) SetLegStipulationType(v string) { m.LegStipulationType = &v } func (m *NoLegStipulations) SetLegStipulationValue(v string) { m.LegStipulationValue = &v } diff --git a/fix44/liststatus/ListStatus.go b/fix44/liststatus/ListStatus.go index e7db1ced3..718af2d2b 100644 --- a/fix44/liststatus/ListStatus.go +++ b/fix44/liststatus/ListStatus.go @@ -36,6 +36,18 @@ type NoOrders struct { EncodedText *string `fix:"355"` } +//NewNoOrders returns an initialized NoOrders instance +func NewNoOrders(clordid string, cumqty float64, ordstatus string, leavesqty float64, cxlqty float64, avgpx float64) *NoOrders { + var m NoOrders + m.SetClOrdID(clordid) + m.SetCumQty(cumqty) + m.SetOrdStatus(ordstatus) + m.SetLeavesQty(leavesqty) + m.SetCxlQty(cxlqty) + m.SetAvgPx(avgpx) + return &m +} + func (m *NoOrders) SetClOrdID(v string) { m.ClOrdID = v } func (m *NoOrders) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } func (m *NoOrders) SetCumQty(v float64) { m.CumQty = v } diff --git a/fix44/liststrikeprice/ListStrikePrice.go b/fix44/liststrikeprice/ListStrikePrice.go index 7b5c7b916..ac954b6af 100644 --- a/fix44/liststrikeprice/ListStrikePrice.go +++ b/fix44/liststrikeprice/ListStrikePrice.go @@ -15,6 +15,13 @@ type NoStrikes struct { instrument.Instrument } +//NewNoStrikes returns an initialized NoStrikes instance +func NewNoStrikes(instrument instrument.Instrument) *NoStrikes { + var m NoStrikes + m.SetInstrument(instrument) + return &m +} + func (m *NoStrikes) SetInstrument(v instrument.Instrument) { m.Instrument = v } //NoUnderlyings is a repeating group in ListStrikePrice @@ -41,6 +48,13 @@ type NoUnderlyings struct { EncodedText *string `fix:"355"` } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings(price float64) *NoUnderlyings { + var m NoUnderlyings + m.SetPrice(price) + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } diff --git a/fix44/logon/Logon.go b/fix44/logon/Logon.go index 8fe1b5b56..5be13120d 100644 --- a/fix44/logon/Logon.go +++ b/fix44/logon/Logon.go @@ -15,6 +15,12 @@ type NoMsgTypes struct { MsgDirection *string `fix:"385"` } +//NewNoMsgTypes returns an initialized NoMsgTypes instance +func NewNoMsgTypes() *NoMsgTypes { + var m NoMsgTypes + return &m +} + func (m *NoMsgTypes) SetRefMsgType(v string) { m.RefMsgType = &v } func (m *NoMsgTypes) SetMsgDirection(v string) { m.MsgDirection = &v } diff --git a/fix44/marketdataincrementalrefresh/MarketDataIncrementalRefresh.go b/fix44/marketdataincrementalrefresh/MarketDataIncrementalRefresh.go index 16119031b..1db3aeb89 100644 --- a/fix44/marketdataincrementalrefresh/MarketDataIncrementalRefresh.go +++ b/fix44/marketdataincrementalrefresh/MarketDataIncrementalRefresh.go @@ -101,6 +101,13 @@ type NoMDEntries struct { EncodedText *string `fix:"355"` } +//NewNoMDEntries returns an initialized NoMDEntries instance +func NewNoMDEntries(mdupdateaction string) *NoMDEntries { + var m NoMDEntries + m.SetMDUpdateAction(mdupdateaction) + return &m +} + func (m *NoMDEntries) SetMDUpdateAction(v string) { m.MDUpdateAction = v } func (m *NoMDEntries) SetDeleteReason(v string) { m.DeleteReason = &v } func (m *NoMDEntries) SetMDEntryType(v string) { m.MDEntryType = &v } @@ -151,6 +158,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } @@ -161,6 +174,12 @@ type NoLegs struct { InstrumentLeg *instrumentleg.InstrumentLeg } +//NewNoLegs returns an initialized NoLegs instance +func NewNoLegs() *NoLegs { + var m NoLegs + return &m +} + func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } //Message is a MarketDataIncrementalRefresh FIX Message diff --git a/fix44/marketdatarequest/MarketDataRequest.go b/fix44/marketdatarequest/MarketDataRequest.go index 8a219477f..0d0e2787c 100644 --- a/fix44/marketdatarequest/MarketDataRequest.go +++ b/fix44/marketdatarequest/MarketDataRequest.go @@ -16,6 +16,13 @@ type NoMDEntryTypes struct { MDEntryType string `fix:"269"` } +//NewNoMDEntryTypes returns an initialized NoMDEntryTypes instance +func NewNoMDEntryTypes(mdentrytype string) *NoMDEntryTypes { + var m NoMDEntryTypes + m.SetMDEntryType(mdentrytype) + return &m +} + func (m *NoMDEntryTypes) SetMDEntryType(v string) { m.MDEntryType = v } //NoRelatedSym is a repeating group in MarketDataRequest @@ -34,6 +41,13 @@ type NoRelatedSym struct { ApplQueueMax *int `fix:"812"` } +//NewNoRelatedSym returns an initialized NoRelatedSym instance +func NewNoRelatedSym(instrument instrument.Instrument) *NoRelatedSym { + var m NoRelatedSym + m.SetInstrument(instrument) + return &m +} + func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = v } func (m *NoRelatedSym) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } func (m *NoRelatedSym) SetNoLegs(v []NoLegs) { m.NoLegs = v } @@ -47,6 +61,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } @@ -57,6 +77,12 @@ type NoLegs struct { InstrumentLeg *instrumentleg.InstrumentLeg } +//NewNoLegs returns an initialized NoLegs instance +func NewNoLegs() *NoLegs { + var m NoLegs + return &m +} + func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } //NoTradingSessions is a repeating group in NoRelatedSym @@ -67,6 +93,12 @@ type NoTradingSessions struct { TradingSessionSubID *string `fix:"625"` } +//NewNoTradingSessions returns an initialized NoTradingSessions instance +func NewNoTradingSessions() *NoTradingSessions { + var m NoTradingSessions + return &m +} + func (m *NoTradingSessions) SetTradingSessionID(v string) { m.TradingSessionID = &v } func (m *NoTradingSessions) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } diff --git a/fix44/marketdatarequestreject/MarketDataRequestReject.go b/fix44/marketdatarequestreject/MarketDataRequestReject.go index 2876d8c45..08bf1354e 100644 --- a/fix44/marketdatarequestreject/MarketDataRequestReject.go +++ b/fix44/marketdatarequestreject/MarketDataRequestReject.go @@ -13,6 +13,12 @@ type NoAltMDSource struct { AltMDSourceID *string `fix:"817"` } +//NewNoAltMDSource returns an initialized NoAltMDSource instance +func NewNoAltMDSource() *NoAltMDSource { + var m NoAltMDSource + return &m +} + func (m *NoAltMDSource) SetAltMDSourceID(v string) { m.AltMDSourceID = &v } //Message is a MarketDataRequestReject FIX Message diff --git a/fix44/marketdatasnapshotfullrefresh/MarketDataSnapshotFullRefresh.go b/fix44/marketdatasnapshotfullrefresh/MarketDataSnapshotFullRefresh.go index cf714f196..ed645f4cc 100644 --- a/fix44/marketdatasnapshotfullrefresh/MarketDataSnapshotFullRefresh.go +++ b/fix44/marketdatasnapshotfullrefresh/MarketDataSnapshotFullRefresh.go @@ -17,6 +17,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } @@ -27,6 +33,12 @@ type NoLegs struct { InstrumentLeg *instrumentleg.InstrumentLeg } +//NewNoLegs returns an initialized NoLegs instance +func NewNoLegs() *NoLegs { + var m NoLegs + return &m +} + func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } //NoMDEntries is a repeating group in MarketDataSnapshotFullRefresh @@ -99,6 +111,13 @@ type NoMDEntries struct { EncodedText *string `fix:"355"` } +//NewNoMDEntries returns an initialized NoMDEntries instance +func NewNoMDEntries(mdentrytype string) *NoMDEntries { + var m NoMDEntries + m.SetMDEntryType(mdentrytype) + return &m +} + func (m *NoMDEntries) SetMDEntryType(v string) { m.MDEntryType = v } func (m *NoMDEntries) SetMDEntryPx(v float64) { m.MDEntryPx = &v } func (m *NoMDEntries) SetCurrency(v string) { m.Currency = &v } diff --git a/fix44/massquote/MassQuote.go b/fix44/massquote/MassQuote.go index 4c57079f7..40fa2afd9 100644 --- a/fix44/massquote/MassQuote.go +++ b/fix44/massquote/MassQuote.go @@ -28,6 +28,15 @@ type NoQuoteSets struct { NoQuoteEntries []NoQuoteEntries `fix:"295"` } +//NewNoQuoteSets returns an initialized NoQuoteSets instance +func NewNoQuoteSets(quotesetid string, totnoquoteentries int, noquoteentries []NoQuoteEntries) *NoQuoteSets { + var m NoQuoteSets + m.SetQuoteSetID(quotesetid) + m.SetTotNoQuoteEntries(totnoquoteentries) + m.SetNoQuoteEntries(noquoteentries) + return &m +} + func (m *NoQuoteSets) SetQuoteSetID(v string) { m.QuoteSetID = v } func (m *NoQuoteSets) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v @@ -93,6 +102,13 @@ type NoQuoteEntries struct { Currency *string `fix:"15"` } +//NewNoQuoteEntries returns an initialized NoQuoteEntries instance +func NewNoQuoteEntries(quoteentryid string) *NoQuoteEntries { + var m NoQuoteEntries + m.SetQuoteEntryID(quoteentryid) + return &m +} + func (m *NoQuoteEntries) SetQuoteEntryID(v string) { m.QuoteEntryID = v } func (m *NoQuoteEntries) SetInstrument(v instrument.Instrument) { m.Instrument = &v } func (m *NoQuoteEntries) SetNoLegs(v []NoLegs) { m.NoLegs = v } @@ -126,6 +142,12 @@ type NoLegs struct { InstrumentLeg *instrumentleg.InstrumentLeg } +//NewNoLegs returns an initialized NoLegs instance +func NewNoLegs() *NoLegs { + var m NoLegs + return &m +} + func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } //Message is a MassQuote FIX Message diff --git a/fix44/massquoteacknowledgement/MassQuoteAcknowledgement.go b/fix44/massquoteacknowledgement/MassQuoteAcknowledgement.go index f772a0246..059806bce 100644 --- a/fix44/massquoteacknowledgement/MassQuoteAcknowledgement.go +++ b/fix44/massquoteacknowledgement/MassQuoteAcknowledgement.go @@ -26,6 +26,12 @@ type NoQuoteSets struct { NoQuoteEntries []NoQuoteEntries `fix:"295,omitempty"` } +//NewNoQuoteSets returns an initialized NoQuoteSets instance +func NewNoQuoteSets() *NoQuoteSets { + var m NoQuoteSets + return &m +} + func (m *NoQuoteSets) SetQuoteSetID(v string) { m.QuoteSetID = &v } func (m *NoQuoteSets) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v @@ -92,6 +98,12 @@ type NoQuoteEntries struct { QuoteEntryRejectReason *int `fix:"368"` } +//NewNoQuoteEntries returns an initialized NoQuoteEntries instance +func NewNoQuoteEntries() *NoQuoteEntries { + var m NoQuoteEntries + return &m +} + func (m *NoQuoteEntries) SetQuoteEntryID(v string) { m.QuoteEntryID = &v } func (m *NoQuoteEntries) SetInstrument(v instrument.Instrument) { m.Instrument = &v } func (m *NoQuoteEntries) SetNoLegs(v []NoLegs) { m.NoLegs = v } @@ -126,6 +138,12 @@ type NoLegs struct { InstrumentLeg *instrumentleg.InstrumentLeg } +//NewNoLegs returns an initialized NoLegs instance +func NewNoLegs() *NoLegs { + var m NoLegs + return &m +} + func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } //Message is a MassQuoteAcknowledgement FIX Message diff --git a/fix44/multilegordercancelreplace/MultilegOrderCancelReplace.go b/fix44/multilegordercancelreplace/MultilegOrderCancelReplace.go index 4353134ad..9ebea18c2 100644 --- a/fix44/multilegordercancelreplace/MultilegOrderCancelReplace.go +++ b/fix44/multilegordercancelreplace/MultilegOrderCancelReplace.go @@ -36,6 +36,12 @@ type NoAllocs struct { AllocQty *float64 `fix:"80"` } +//NewNoAllocs returns an initialized NoAllocs instance +func NewNoAllocs() *NoAllocs { + var m NoAllocs + return &m +} + func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } func (m *NoAllocs) SetAllocSettlCurrency(v string) { m.AllocSettlCurrency = &v } @@ -51,6 +57,12 @@ type NoTradingSessions struct { TradingSessionSubID *string `fix:"625"` } +//NewNoTradingSessions returns an initialized NoTradingSessions instance +func NewNoTradingSessions() *NoTradingSessions { + var m NoTradingSessions + return &m +} + func (m *NoTradingSessions) SetTradingSessionID(v string) { m.TradingSessionID = &v } func (m *NoTradingSessions) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } @@ -60,6 +72,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } @@ -92,6 +110,12 @@ type NoLegs struct { LegSettlDate *string `fix:"588"` } +//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) SetLegQty(v float64) { m.LegQty = &v } func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } @@ -121,6 +145,12 @@ type NoLegAllocs struct { LegSettlCurrency *string `fix:"675"` } +//NewNoLegAllocs returns an initialized NoLegAllocs instance +func NewNoLegAllocs() *NoLegAllocs { + var m NoLegAllocs + return &m +} + func (m *NoLegAllocs) SetLegAllocAccount(v string) { m.LegAllocAccount = &v } func (m *NoLegAllocs) SetLegIndividualAllocID(v string) { m.LegIndividualAllocID = &v } func (m *NoLegAllocs) SetNestedParties2(v nestedparties2.NestedParties2) { m.NestedParties2 = &v } diff --git a/fix44/nestedparties/NestedParties.go b/fix44/nestedparties/NestedParties.go index 2e3e0c725..989674184 100644 --- a/fix44/nestedparties/NestedParties.go +++ b/fix44/nestedparties/NestedParties.go @@ -1,5 +1,6 @@ package nestedparties +//New returns an initialized NestedParties instance func New() *NestedParties { var m NestedParties return &m @@ -17,6 +18,12 @@ type NoNestedPartyIDs struct { NoNestedPartySubIDs []NoNestedPartySubIDs `fix:"804,omitempty"` } +//NewNoNestedPartyIDs returns an initialized NoNestedPartyIDs instance +func NewNoNestedPartyIDs() *NoNestedPartyIDs { + var m NoNestedPartyIDs + return &m +} + func (m *NoNestedPartyIDs) SetNestedPartyID(v string) { m.NestedPartyID = &v } func (m *NoNestedPartyIDs) SetNestedPartyIDSource(v string) { m.NestedPartyIDSource = &v } func (m *NoNestedPartyIDs) SetNestedPartyRole(v int) { m.NestedPartyRole = &v } @@ -30,6 +37,12 @@ type NoNestedPartySubIDs struct { NestedPartySubIDType *int `fix:"805"` } +//NewNoNestedPartySubIDs returns an initialized NoNestedPartySubIDs instance +func NewNoNestedPartySubIDs() *NoNestedPartySubIDs { + var m NoNestedPartySubIDs + return &m +} + func (m *NoNestedPartySubIDs) SetNestedPartySubID(v string) { m.NestedPartySubID = &v } func (m *NoNestedPartySubIDs) SetNestedPartySubIDType(v int) { m.NestedPartySubIDType = &v } diff --git a/fix44/nestedparties2/NestedParties2.go b/fix44/nestedparties2/NestedParties2.go index 087cfdf79..7e9906cf2 100644 --- a/fix44/nestedparties2/NestedParties2.go +++ b/fix44/nestedparties2/NestedParties2.go @@ -1,5 +1,6 @@ package nestedparties2 +//New returns an initialized NestedParties2 instance func New() *NestedParties2 { var m NestedParties2 return &m @@ -17,6 +18,12 @@ type NoNested2PartyIDs struct { NoNested2PartySubIDs []NoNested2PartySubIDs `fix:"806,omitempty"` } +//NewNoNested2PartyIDs returns an initialized NoNested2PartyIDs instance +func NewNoNested2PartyIDs() *NoNested2PartyIDs { + var m NoNested2PartyIDs + return &m +} + func (m *NoNested2PartyIDs) SetNested2PartyID(v string) { m.Nested2PartyID = &v } func (m *NoNested2PartyIDs) SetNested2PartyIDSource(v string) { m.Nested2PartyIDSource = &v } func (m *NoNested2PartyIDs) SetNested2PartyRole(v int) { m.Nested2PartyRole = &v } @@ -32,6 +39,12 @@ type NoNested2PartySubIDs struct { Nested2PartySubIDType *int `fix:"807"` } +//NewNoNested2PartySubIDs returns an initialized NoNested2PartySubIDs instance +func NewNoNested2PartySubIDs() *NoNested2PartySubIDs { + var m NoNested2PartySubIDs + return &m +} + func (m *NoNested2PartySubIDs) SetNested2PartySubID(v string) { m.Nested2PartySubID = &v } func (m *NoNested2PartySubIDs) SetNested2PartySubIDType(v int) { m.Nested2PartySubIDType = &v } diff --git a/fix44/nestedparties3/NestedParties3.go b/fix44/nestedparties3/NestedParties3.go index 91a021da8..34b44102b 100644 --- a/fix44/nestedparties3/NestedParties3.go +++ b/fix44/nestedparties3/NestedParties3.go @@ -1,5 +1,6 @@ package nestedparties3 +//New returns an initialized NestedParties3 instance func New() *NestedParties3 { var m NestedParties3 return &m @@ -17,6 +18,12 @@ type NoNested3PartyIDs struct { NoNested3PartySubIDs []NoNested3PartySubIDs `fix:"952,omitempty"` } +//NewNoNested3PartyIDs returns an initialized NoNested3PartyIDs instance +func NewNoNested3PartyIDs() *NoNested3PartyIDs { + var m NoNested3PartyIDs + return &m +} + func (m *NoNested3PartyIDs) SetNested3PartyID(v string) { m.Nested3PartyID = &v } func (m *NoNested3PartyIDs) SetNested3PartyIDSource(v string) { m.Nested3PartyIDSource = &v } func (m *NoNested3PartyIDs) SetNested3PartyRole(v int) { m.Nested3PartyRole = &v } @@ -32,6 +39,12 @@ type NoNested3PartySubIDs struct { Nested3PartySubIDType *int `fix:"954"` } +//NewNoNested3PartySubIDs returns an initialized NoNested3PartySubIDs instance +func NewNoNested3PartySubIDs() *NoNested3PartySubIDs { + var m NoNested3PartySubIDs + return &m +} + func (m *NoNested3PartySubIDs) SetNested3PartySubID(v string) { m.Nested3PartySubID = &v } func (m *NoNested3PartySubIDs) SetNested3PartySubIDType(v int) { m.Nested3PartySubIDType = &v } diff --git a/fix44/networkcounterpartysystemstatusrequest/NetworkCounterpartySystemStatusRequest.go b/fix44/networkcounterpartysystemstatusrequest/NetworkCounterpartySystemStatusRequest.go index c4ab6aaea..560f0262c 100644 --- a/fix44/networkcounterpartysystemstatusrequest/NetworkCounterpartySystemStatusRequest.go +++ b/fix44/networkcounterpartysystemstatusrequest/NetworkCounterpartySystemStatusRequest.go @@ -19,6 +19,12 @@ type NoCompIDs struct { DeskID *string `fix:"284"` } +//NewNoCompIDs returns an initialized NoCompIDs instance +func NewNoCompIDs() *NoCompIDs { + var m NoCompIDs + return &m +} + func (m *NoCompIDs) SetRefCompID(v string) { m.RefCompID = &v } func (m *NoCompIDs) SetRefSubID(v string) { m.RefSubID = &v } func (m *NoCompIDs) SetLocationID(v string) { m.LocationID = &v } diff --git a/fix44/networkcounterpartysystemstatusresponse/NetworkCounterpartySystemStatusResponse.go b/fix44/networkcounterpartysystemstatusresponse/NetworkCounterpartySystemStatusResponse.go index c346ac0b6..91be06269 100644 --- a/fix44/networkcounterpartysystemstatusresponse/NetworkCounterpartySystemStatusResponse.go +++ b/fix44/networkcounterpartysystemstatusresponse/NetworkCounterpartySystemStatusResponse.go @@ -23,6 +23,12 @@ type NoCompIDs struct { StatusText *string `fix:"929"` } +//NewNoCompIDs returns an initialized NoCompIDs instance +func NewNoCompIDs() *NoCompIDs { + var m NoCompIDs + return &m +} + func (m *NoCompIDs) SetRefCompID(v string) { m.RefCompID = &v } func (m *NoCompIDs) SetRefSubID(v string) { m.RefSubID = &v } func (m *NoCompIDs) SetLocationID(v string) { m.LocationID = &v } diff --git a/fix44/newordercross/NewOrderCross.go b/fix44/newordercross/NewOrderCross.go index dda0580d5..d06ad6d50 100644 --- a/fix44/newordercross/NewOrderCross.go +++ b/fix44/newordercross/NewOrderCross.go @@ -90,6 +90,15 @@ type NoSides struct { SideComplianceID *string `fix:"659"` } +//NewNoSides returns an initialized NoSides instance +func NewNoSides(side string, clordid string, orderqtydata orderqtydata.OrderQtyData) *NoSides { + var m NoSides + m.SetSide(side) + m.SetClOrdID(clordid) + m.SetOrderQtyData(orderqtydata) + return &m +} + func (m *NoSides) SetSide(v string) { m.Side = v } func (m *NoSides) SetClOrdID(v string) { m.ClOrdID = v } func (m *NoSides) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } @@ -140,6 +149,12 @@ type NoAllocs struct { AllocQty *float64 `fix:"80"` } +//NewNoAllocs returns an initialized NoAllocs instance +func NewNoAllocs() *NoAllocs { + var m NoAllocs + return &m +} + func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } func (m *NoAllocs) SetAllocSettlCurrency(v string) { m.AllocSettlCurrency = &v } @@ -153,6 +168,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } @@ -163,6 +184,12 @@ type NoLegs struct { InstrumentLeg *instrumentleg.InstrumentLeg } +//NewNoLegs returns an initialized NoLegs instance +func NewNoLegs() *NoLegs { + var m NoLegs + return &m +} + func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } //NoTradingSessions is a repeating group in NewOrderCross @@ -173,6 +200,12 @@ type NoTradingSessions struct { TradingSessionSubID *string `fix:"625"` } +//NewNoTradingSessions returns an initialized NoTradingSessions instance +func NewNoTradingSessions() *NoTradingSessions { + var m NoTradingSessions + return &m +} + func (m *NoTradingSessions) SetTradingSessionID(v string) { m.TradingSessionID = &v } func (m *NoTradingSessions) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } diff --git a/fix44/neworderlist/NewOrderList.go b/fix44/neworderlist/NewOrderList.go index e8e07a47e..7cdf525a6 100644 --- a/fix44/neworderlist/NewOrderList.go +++ b/fix44/neworderlist/NewOrderList.go @@ -173,6 +173,17 @@ type NoOrders struct { Designation *string `fix:"494"` } +//NewNoOrders returns an initialized NoOrders instance +func NewNoOrders(clordid string, listseqno int, instrument instrument.Instrument, side string, orderqtydata orderqtydata.OrderQtyData) *NoOrders { + var m NoOrders + m.SetClOrdID(clordid) + m.SetListSeqNo(listseqno) + m.SetInstrument(instrument) + m.SetSide(side) + m.SetOrderQtyData(orderqtydata) + return &m +} + func (m *NoOrders) SetClOrdID(v string) { m.ClOrdID = v } func (m *NoOrders) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } func (m *NoOrders) SetListSeqNo(v int) { m.ListSeqNo = v } @@ -269,6 +280,12 @@ type NoAllocs struct { AllocQty *float64 `fix:"80"` } +//NewNoAllocs returns an initialized NoAllocs instance +func NewNoAllocs() *NoAllocs { + var m NoAllocs + return &m +} + func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } func (m *NoAllocs) SetAllocSettlCurrency(v string) { m.AllocSettlCurrency = &v } @@ -284,6 +301,12 @@ type NoTradingSessions struct { TradingSessionSubID *string `fix:"625"` } +//NewNoTradingSessions returns an initialized NoTradingSessions instance +func NewNoTradingSessions() *NoTradingSessions { + var m NoTradingSessions + return &m +} + func (m *NoTradingSessions) SetTradingSessionID(v string) { m.TradingSessionID = &v } func (m *NoTradingSessions) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } @@ -293,6 +316,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } diff --git a/fix44/newordermultileg/NewOrderMultileg.go b/fix44/newordermultileg/NewOrderMultileg.go index 618e40183..6f5d3729a 100644 --- a/fix44/newordermultileg/NewOrderMultileg.go +++ b/fix44/newordermultileg/NewOrderMultileg.go @@ -36,6 +36,12 @@ type NoAllocs struct { AllocQty *float64 `fix:"80"` } +//NewNoAllocs returns an initialized NoAllocs instance +func NewNoAllocs() *NoAllocs { + var m NoAllocs + return &m +} + func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } func (m *NoAllocs) SetAllocSettlCurrency(v string) { m.AllocSettlCurrency = &v } @@ -51,6 +57,12 @@ type NoTradingSessions struct { TradingSessionSubID *string `fix:"625"` } +//NewNoTradingSessions returns an initialized NoTradingSessions instance +func NewNoTradingSessions() *NoTradingSessions { + var m NoTradingSessions + return &m +} + func (m *NoTradingSessions) SetTradingSessionID(v string) { m.TradingSessionID = &v } func (m *NoTradingSessions) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } @@ -60,6 +72,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } @@ -92,6 +110,12 @@ type NoLegs struct { LegSettlDate *string `fix:"588"` } +//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) SetLegQty(v float64) { m.LegQty = &v } func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } @@ -121,6 +145,12 @@ type NoLegAllocs struct { LegSettlCurrency *string `fix:"675"` } +//NewNoLegAllocs returns an initialized NoLegAllocs instance +func NewNoLegAllocs() *NoLegAllocs { + var m NoLegAllocs + return &m +} + func (m *NoLegAllocs) SetLegAllocAccount(v string) { m.LegAllocAccount = &v } func (m *NoLegAllocs) SetLegIndividualAllocID(v string) { m.LegIndividualAllocID = &v } func (m *NoLegAllocs) SetNestedParties2(v nestedparties2.NestedParties2) { m.NestedParties2 = &v } diff --git a/fix44/newordersingle/NewOrderSingle.go b/fix44/newordersingle/NewOrderSingle.go index 265d4480a..2acf1681e 100644 --- a/fix44/newordersingle/NewOrderSingle.go +++ b/fix44/newordersingle/NewOrderSingle.go @@ -36,6 +36,12 @@ type NoAllocs struct { AllocQty *float64 `fix:"80"` } +//NewNoAllocs returns an initialized NoAllocs instance +func NewNoAllocs() *NoAllocs { + var m NoAllocs + return &m +} + func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } func (m *NoAllocs) SetAllocSettlCurrency(v string) { m.AllocSettlCurrency = &v } @@ -51,6 +57,12 @@ type NoTradingSessions struct { TradingSessionSubID *string `fix:"625"` } +//NewNoTradingSessions returns an initialized NoTradingSessions instance +func NewNoTradingSessions() *NoTradingSessions { + var m NoTradingSessions + return &m +} + func (m *NoTradingSessions) SetTradingSessionID(v string) { m.TradingSessionID = &v } func (m *NoTradingSessions) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } @@ -60,6 +72,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } diff --git a/fix44/news/News.go b/fix44/news/News.go index 4fc47976f..68ae8242e 100644 --- a/fix44/news/News.go +++ b/fix44/news/News.go @@ -19,6 +19,12 @@ type NoRoutingIDs struct { RoutingID *string `fix:"217"` } +//NewNoRoutingIDs returns an initialized NoRoutingIDs instance +func NewNoRoutingIDs() *NoRoutingIDs { + var m NoRoutingIDs + return &m +} + func (m *NoRoutingIDs) SetRoutingType(v int) { m.RoutingType = &v } func (m *NoRoutingIDs) SetRoutingID(v string) { m.RoutingID = &v } @@ -28,6 +34,12 @@ type NoRelatedSym struct { Instrument *instrument.Instrument } +//NewNoRelatedSym returns an initialized NoRelatedSym instance +func NewNoRelatedSym() *NoRelatedSym { + var m NoRelatedSym + return &m +} + func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = &v } //NoLegs is a repeating group in News @@ -36,6 +48,12 @@ type NoLegs struct { InstrumentLeg *instrumentleg.InstrumentLeg } +//NewNoLegs returns an initialized NoLegs instance +func NewNoLegs() *NoLegs { + var m NoLegs + return &m +} + func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } //NoUnderlyings is a repeating group in News @@ -44,6 +62,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } @@ -58,6 +82,13 @@ type NoLinesOfText struct { EncodedText *string `fix:"355"` } +//NewNoLinesOfText returns an initialized NoLinesOfText instance +func NewNoLinesOfText(text string) *NoLinesOfText { + var m NoLinesOfText + m.SetText(text) + return &m +} + func (m *NoLinesOfText) SetText(v string) { m.Text = v } func (m *NoLinesOfText) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } func (m *NoLinesOfText) SetEncodedText(v string) { m.EncodedText = &v } diff --git a/fix44/ordercancelreplacerequest/OrderCancelReplaceRequest.go b/fix44/ordercancelreplacerequest/OrderCancelReplaceRequest.go index 72b767428..dac9b7a39 100644 --- a/fix44/ordercancelreplacerequest/OrderCancelReplaceRequest.go +++ b/fix44/ordercancelreplacerequest/OrderCancelReplaceRequest.go @@ -35,6 +35,12 @@ type NoAllocs struct { AllocQty *float64 `fix:"80"` } +//NewNoAllocs returns an initialized NoAllocs instance +func NewNoAllocs() *NoAllocs { + var m NoAllocs + return &m +} + func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } func (m *NoAllocs) SetAllocSettlCurrency(v string) { m.AllocSettlCurrency = &v } @@ -50,6 +56,12 @@ type NoTradingSessions struct { TradingSessionSubID *string `fix:"625"` } +//NewNoTradingSessions returns an initialized NoTradingSessions instance +func NewNoTradingSessions() *NoTradingSessions { + var m NoTradingSessions + return &m +} + func (m *NoTradingSessions) SetTradingSessionID(v string) { m.TradingSessionID = &v } func (m *NoTradingSessions) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } @@ -59,6 +71,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } diff --git a/fix44/ordercancelrequest/OrderCancelRequest.go b/fix44/ordercancelrequest/OrderCancelRequest.go index c2908a62e..a31a9cb99 100644 --- a/fix44/ordercancelrequest/OrderCancelRequest.go +++ b/fix44/ordercancelrequest/OrderCancelRequest.go @@ -19,6 +19,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } diff --git a/fix44/ordermasscancelreport/OrderMassCancelReport.go b/fix44/ordermasscancelreport/OrderMassCancelReport.go index f52b83d39..34ac6f8c6 100644 --- a/fix44/ordermasscancelreport/OrderMassCancelReport.go +++ b/fix44/ordermasscancelreport/OrderMassCancelReport.go @@ -20,6 +20,12 @@ type NoAffectedOrders struct { AffectedSecondaryOrderID *string `fix:"536"` } +//NewNoAffectedOrders returns an initialized NoAffectedOrders instance +func NewNoAffectedOrders() *NoAffectedOrders { + var m NoAffectedOrders + return &m +} + func (m *NoAffectedOrders) SetOrigClOrdID(v string) { m.OrigClOrdID = &v } func (m *NoAffectedOrders) SetAffectedOrderID(v string) { m.AffectedOrderID = &v } func (m *NoAffectedOrders) SetAffectedSecondaryOrderID(v string) { m.AffectedSecondaryOrderID = &v } diff --git a/fix44/orderqtydata/OrderQtyData.go b/fix44/orderqtydata/OrderQtyData.go index b27c1a589..00c0bc252 100644 --- a/fix44/orderqtydata/OrderQtyData.go +++ b/fix44/orderqtydata/OrderQtyData.go @@ -1,5 +1,6 @@ package orderqtydata +//New returns an initialized OrderQtyData instance func New() *OrderQtyData { var m OrderQtyData return &m diff --git a/fix44/orderstatusrequest/OrderStatusRequest.go b/fix44/orderstatusrequest/OrderStatusRequest.go index a81a40411..ac722a5fb 100644 --- a/fix44/orderstatusrequest/OrderStatusRequest.go +++ b/fix44/orderstatusrequest/OrderStatusRequest.go @@ -17,6 +17,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } diff --git a/fix44/parties/Parties.go b/fix44/parties/Parties.go index f0056ec3f..5c2d63fce 100644 --- a/fix44/parties/Parties.go +++ b/fix44/parties/Parties.go @@ -1,5 +1,6 @@ package parties +//New returns an initialized Parties instance func New() *Parties { var m Parties return &m @@ -17,6 +18,12 @@ type NoPartyIDs struct { NoPartySubIDs []NoPartySubIDs `fix:"802,omitempty"` } +//NewNoPartyIDs returns an initialized NoPartyIDs instance +func NewNoPartyIDs() *NoPartyIDs { + var m NoPartyIDs + return &m +} + func (m *NoPartyIDs) SetPartyID(v string) { m.PartyID = &v } func (m *NoPartyIDs) SetPartyIDSource(v string) { m.PartyIDSource = &v } func (m *NoPartyIDs) SetPartyRole(v int) { m.PartyRole = &v } @@ -30,6 +37,12 @@ type NoPartySubIDs struct { PartySubIDType *int `fix:"803"` } +//NewNoPartySubIDs returns an initialized NoPartySubIDs instance +func NewNoPartySubIDs() *NoPartySubIDs { + var m NoPartySubIDs + return &m +} + func (m *NoPartySubIDs) SetPartySubID(v string) { m.PartySubID = &v } func (m *NoPartySubIDs) SetPartySubIDType(v int) { m.PartySubIDType = &v } diff --git a/fix44/peginstructions/PegInstructions.go b/fix44/peginstructions/PegInstructions.go index c1ce170a1..773d98713 100644 --- a/fix44/peginstructions/PegInstructions.go +++ b/fix44/peginstructions/PegInstructions.go @@ -1,5 +1,6 @@ package peginstructions +//New returns an initialized PegInstructions instance func New() *PegInstructions { var m PegInstructions return &m diff --git a/fix44/positionamountdata/PositionAmountData.go b/fix44/positionamountdata/PositionAmountData.go index 46bfeb3cd..2b4745613 100644 --- a/fix44/positionamountdata/PositionAmountData.go +++ b/fix44/positionamountdata/PositionAmountData.go @@ -1,5 +1,6 @@ package positionamountdata +//New returns an initialized PositionAmountData instance func New() *PositionAmountData { var m PositionAmountData return &m @@ -13,6 +14,12 @@ type NoPosAmt struct { PosAmt *float64 `fix:"708"` } +//NewNoPosAmt returns an initialized NoPosAmt instance +func NewNoPosAmt() *NoPosAmt { + var m NoPosAmt + return &m +} + func (m *NoPosAmt) SetPosAmtType(v string) { m.PosAmtType = &v } func (m *NoPosAmt) SetPosAmt(v float64) { m.PosAmt = &v } diff --git a/fix44/positionmaintenancereport/PositionMaintenanceReport.go b/fix44/positionmaintenancereport/PositionMaintenanceReport.go index b6fdcc1b7..03e3b8e7c 100644 --- a/fix44/positionmaintenancereport/PositionMaintenanceReport.go +++ b/fix44/positionmaintenancereport/PositionMaintenanceReport.go @@ -20,6 +20,12 @@ type NoLegs struct { InstrumentLeg *instrumentleg.InstrumentLeg } +//NewNoLegs returns an initialized NoLegs instance +func NewNoLegs() *NoLegs { + var m NoLegs + return &m +} + func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } //NoUnderlyings is a repeating group in PositionMaintenanceReport @@ -28,6 +34,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } @@ -40,6 +52,12 @@ type NoTradingSessions struct { TradingSessionSubID *string `fix:"625"` } +//NewNoTradingSessions returns an initialized NoTradingSessions instance +func NewNoTradingSessions() *NoTradingSessions { + var m NoTradingSessions + return &m +} + func (m *NoTradingSessions) SetTradingSessionID(v string) { m.TradingSessionID = &v } func (m *NoTradingSessions) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } diff --git a/fix44/positionmaintenancerequest/PositionMaintenanceRequest.go b/fix44/positionmaintenancerequest/PositionMaintenanceRequest.go index f75ccffc3..5bd32905a 100644 --- a/fix44/positionmaintenancerequest/PositionMaintenanceRequest.go +++ b/fix44/positionmaintenancerequest/PositionMaintenanceRequest.go @@ -19,6 +19,12 @@ type NoLegs struct { InstrumentLeg *instrumentleg.InstrumentLeg } +//NewNoLegs returns an initialized NoLegs instance +func NewNoLegs() *NoLegs { + var m NoLegs + return &m +} + func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } //NoUnderlyings is a repeating group in PositionMaintenanceRequest @@ -27,6 +33,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } @@ -39,6 +51,12 @@ type NoTradingSessions struct { TradingSessionSubID *string `fix:"625"` } +//NewNoTradingSessions returns an initialized NoTradingSessions instance +func NewNoTradingSessions() *NoTradingSessions { + var m NoTradingSessions + return &m +} + func (m *NoTradingSessions) SetTradingSessionID(v string) { m.TradingSessionID = &v } func (m *NoTradingSessions) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } diff --git a/fix44/positionqty/PositionQty.go b/fix44/positionqty/PositionQty.go index 87dd4e6a0..2b69a26e3 100644 --- a/fix44/positionqty/PositionQty.go +++ b/fix44/positionqty/PositionQty.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix44/nestedparties" ) +//New returns an initialized PositionQty instance func New() *PositionQty { var m PositionQty return &m @@ -23,6 +24,12 @@ type NoPositions struct { NestedParties *nestedparties.NestedParties } +//NewNoPositions returns an initialized NoPositions instance +func NewNoPositions() *NoPositions { + var m NoPositions + return &m +} + func (m *NoPositions) SetPosType(v string) { m.PosType = &v } func (m *NoPositions) SetLongQty(v float64) { m.LongQty = &v } func (m *NoPositions) SetShortQty(v float64) { m.ShortQty = &v } diff --git a/fix44/positionreport/PositionReport.go b/fix44/positionreport/PositionReport.go index 909f4e052..84b99c247 100644 --- a/fix44/positionreport/PositionReport.go +++ b/fix44/positionreport/PositionReport.go @@ -19,6 +19,12 @@ type NoLegs struct { InstrumentLeg *instrumentleg.InstrumentLeg } +//NewNoLegs returns an initialized NoLegs instance +func NewNoLegs() *NoLegs { + var m NoLegs + return &m +} + func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } //NoUnderlyings is a repeating group in PositionReport @@ -31,6 +37,14 @@ type NoUnderlyings struct { UnderlyingSettlPriceType int `fix:"733"` } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings(underlyingsettlprice float64, underlyingsettlpricetype int) *NoUnderlyings { + var m NoUnderlyings + m.SetUnderlyingSettlPrice(underlyingsettlprice) + m.SetUnderlyingSettlPriceType(underlyingsettlpricetype) + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } diff --git a/fix44/quote/Quote.go b/fix44/quote/Quote.go index 0c26d3df0..a94783519 100644 --- a/fix44/quote/Quote.go +++ b/fix44/quote/Quote.go @@ -26,6 +26,12 @@ type NoQuoteQualifiers struct { QuoteQualifier *string `fix:"695"` } +//NewNoQuoteQualifiers returns an initialized NoQuoteQualifiers instance +func NewNoQuoteQualifiers() *NoQuoteQualifiers { + var m NoQuoteQualifiers + return &m +} + func (m *NoQuoteQualifiers) SetQuoteQualifier(v string) { m.QuoteQualifier = &v } //NoUnderlyings is a repeating group in Quote @@ -34,6 +40,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } @@ -64,6 +76,12 @@ type NoLegs struct { 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) SetLegQty(v float64) { m.LegQty = &v } func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } diff --git a/fix44/quotecancel/QuoteCancel.go b/fix44/quotecancel/QuoteCancel.go index 62b8072bc..cb61dfc38 100644 --- a/fix44/quotecancel/QuoteCancel.go +++ b/fix44/quotecancel/QuoteCancel.go @@ -24,6 +24,12 @@ type NoQuoteEntries struct { NoLegs []NoLegs `fix:"555,omitempty"` } +//NewNoQuoteEntries returns an initialized NoQuoteEntries instance +func NewNoQuoteEntries() *NoQuoteEntries { + var m NoQuoteEntries + return &m +} + func (m *NoQuoteEntries) SetInstrument(v instrument.Instrument) { m.Instrument = &v } func (m *NoQuoteEntries) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v @@ -37,6 +43,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } @@ -47,6 +59,12 @@ type NoLegs struct { InstrumentLeg *instrumentleg.InstrumentLeg } +//NewNoLegs returns an initialized NoLegs instance +func NewNoLegs() *NoLegs { + var m NoLegs + return &m +} + func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } //Message is a QuoteCancel FIX Message diff --git a/fix44/quoterequest/QuoteRequest.go b/fix44/quoterequest/QuoteRequest.go index ae84835ba..8bf9e2aac 100644 --- a/fix44/quoterequest/QuoteRequest.go +++ b/fix44/quoterequest/QuoteRequest.go @@ -92,6 +92,13 @@ type NoRelatedSym struct { Parties *parties.Parties } +//NewNoRelatedSym returns an initialized NoRelatedSym instance +func NewNoRelatedSym(instrument instrument.Instrument) *NoRelatedSym { + var m NoRelatedSym + m.SetInstrument(instrument) + return &m +} + func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = v } func (m *NoRelatedSym) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v @@ -137,6 +144,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } @@ -161,6 +174,12 @@ type NoLegs struct { 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) SetLegQty(v float64) { m.LegQty = &v } func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } @@ -178,6 +197,12 @@ type NoQuoteQualifiers struct { QuoteQualifier *string `fix:"695"` } +//NewNoQuoteQualifiers returns an initialized NoQuoteQualifiers instance +func NewNoQuoteQualifiers() *NoQuoteQualifiers { + var m NoQuoteQualifiers + return &m +} + func (m *NoQuoteQualifiers) SetQuoteQualifier(v string) { m.QuoteQualifier = &v } //Message is a QuoteRequest FIX Message diff --git a/fix44/quoterequestreject/QuoteRequestReject.go b/fix44/quoterequestreject/QuoteRequestReject.go index c24f92b69..1e407d9a0 100644 --- a/fix44/quoterequestreject/QuoteRequestReject.go +++ b/fix44/quoterequestreject/QuoteRequestReject.go @@ -90,6 +90,13 @@ type NoRelatedSym struct { Parties *parties.Parties } +//NewNoRelatedSym returns an initialized NoRelatedSym instance +func NewNoRelatedSym(instrument instrument.Instrument) *NoRelatedSym { + var m NoRelatedSym + m.SetInstrument(instrument) + return &m +} + func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = v } func (m *NoRelatedSym) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v @@ -134,6 +141,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } @@ -158,6 +171,12 @@ type NoLegs struct { 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) SetLegQty(v float64) { m.LegQty = &v } func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } @@ -175,6 +194,12 @@ type NoQuoteQualifiers struct { QuoteQualifier *string `fix:"695"` } +//NewNoQuoteQualifiers returns an initialized NoQuoteQualifiers instance +func NewNoQuoteQualifiers() *NoQuoteQualifiers { + var m NoQuoteQualifiers + return &m +} + func (m *NoQuoteQualifiers) SetQuoteQualifier(v string) { m.QuoteQualifier = &v } //Message is a QuoteRequestReject FIX Message diff --git a/fix44/quoteresponse/QuoteResponse.go b/fix44/quoteresponse/QuoteResponse.go index a081b69ab..f47050d29 100644 --- a/fix44/quoteresponse/QuoteResponse.go +++ b/fix44/quoteresponse/QuoteResponse.go @@ -26,6 +26,12 @@ type NoQuoteQualifiers struct { QuoteQualifier *string `fix:"695"` } +//NewNoQuoteQualifiers returns an initialized NoQuoteQualifiers instance +func NewNoQuoteQualifiers() *NoQuoteQualifiers { + var m NoQuoteQualifiers + return &m +} + func (m *NoQuoteQualifiers) SetQuoteQualifier(v string) { m.QuoteQualifier = &v } //NoUnderlyings is a repeating group in QuoteResponse @@ -34,6 +40,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } @@ -64,6 +76,12 @@ type NoLegs struct { 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) SetLegQty(v float64) { m.LegQty = &v } func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } diff --git a/fix44/quotestatusreport/QuoteStatusReport.go b/fix44/quotestatusreport/QuoteStatusReport.go index d5625827d..689377399 100644 --- a/fix44/quotestatusreport/QuoteStatusReport.go +++ b/fix44/quotestatusreport/QuoteStatusReport.go @@ -25,6 +25,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } @@ -47,6 +53,12 @@ type NoLegs struct { NestedParties *nestedparties.NestedParties } +//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) SetLegQty(v float64) { m.LegQty = &v } func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } @@ -61,6 +73,12 @@ type NoQuoteQualifiers struct { QuoteQualifier *string `fix:"695"` } +//NewNoQuoteQualifiers returns an initialized NoQuoteQualifiers instance +func NewNoQuoteQualifiers() *NoQuoteQualifiers { + var m NoQuoteQualifiers + return &m +} + func (m *NoQuoteQualifiers) SetQuoteQualifier(v string) { m.QuoteQualifier = &v } //Message is a QuoteStatusReport FIX Message diff --git a/fix44/quotestatusrequest/QuoteStatusRequest.go b/fix44/quotestatusrequest/QuoteStatusRequest.go index ff5305321..9a6c22439 100644 --- a/fix44/quotestatusrequest/QuoteStatusRequest.go +++ b/fix44/quotestatusrequest/QuoteStatusRequest.go @@ -18,6 +18,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } @@ -28,6 +34,12 @@ type NoLegs struct { InstrumentLeg *instrumentleg.InstrumentLeg } +//NewNoLegs returns an initialized NoLegs instance +func NewNoLegs() *NoLegs { + var m NoLegs + return &m +} + func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } //Message is a QuoteStatusRequest FIX Message diff --git a/fix44/registrationinstructions/RegistrationInstructions.go b/fix44/registrationinstructions/RegistrationInstructions.go index f7c8161f8..dfd707662 100644 --- a/fix44/registrationinstructions/RegistrationInstructions.go +++ b/fix44/registrationinstructions/RegistrationInstructions.go @@ -29,6 +29,12 @@ type NoRegistDtls struct { InvestorCountryOfResidence *string `fix:"475"` } +//NewNoRegistDtls returns an initialized NoRegistDtls instance +func NewNoRegistDtls() *NoRegistDtls { + var m NoRegistDtls + return &m +} + func (m *NoRegistDtls) SetRegistDtls(v string) { m.RegistDtls = &v } func (m *NoRegistDtls) SetRegistEmail(v string) { m.RegistEmail = &v } func (m *NoRegistDtls) SetMailingDtls(v string) { m.MailingDtls = &v } @@ -58,6 +64,12 @@ type NoDistribInsts struct { CashDistribAgentAcctName *string `fix:"502"` } +//NewNoDistribInsts returns an initialized NoDistribInsts instance +func NewNoDistribInsts() *NoDistribInsts { + var m NoDistribInsts + return &m +} + func (m *NoDistribInsts) SetDistribPaymentMethod(v int) { m.DistribPaymentMethod = &v } func (m *NoDistribInsts) SetDistribPercentage(v float64) { m.DistribPercentage = &v } func (m *NoDistribInsts) SetCashDistribCurr(v string) { m.CashDistribCurr = &v } diff --git a/fix44/requestforpositions/RequestForPositions.go b/fix44/requestforpositions/RequestForPositions.go index 88042658f..c188ebd5b 100644 --- a/fix44/requestforpositions/RequestForPositions.go +++ b/fix44/requestforpositions/RequestForPositions.go @@ -18,6 +18,12 @@ type NoLegs struct { InstrumentLeg *instrumentleg.InstrumentLeg } +//NewNoLegs returns an initialized NoLegs instance +func NewNoLegs() *NoLegs { + var m NoLegs + return &m +} + func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } //NoUnderlyings is a repeating group in RequestForPositions @@ -26,6 +32,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } @@ -38,6 +50,12 @@ type NoTradingSessions struct { TradingSessionSubID *string `fix:"625"` } +//NewNoTradingSessions returns an initialized NoTradingSessions instance +func NewNoTradingSessions() *NoTradingSessions { + var m NoTradingSessions + return &m +} + func (m *NoTradingSessions) SetTradingSessionID(v string) { m.TradingSessionID = &v } func (m *NoTradingSessions) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } diff --git a/fix44/requestforpositionsack/RequestForPositionsAck.go b/fix44/requestforpositionsack/RequestForPositionsAck.go index 63292e988..d899fcae0 100644 --- a/fix44/requestforpositionsack/RequestForPositionsAck.go +++ b/fix44/requestforpositionsack/RequestForPositionsAck.go @@ -17,6 +17,12 @@ type NoLegs struct { InstrumentLeg *instrumentleg.InstrumentLeg } +//NewNoLegs returns an initialized NoLegs instance +func NewNoLegs() *NoLegs { + var m NoLegs + return &m +} + func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } //NoUnderlyings is a repeating group in RequestForPositionsAck @@ -25,6 +31,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } diff --git a/fix44/rfqrequest/RFQRequest.go b/fix44/rfqrequest/RFQRequest.go index 81fbd605d..3c23c67b7 100644 --- a/fix44/rfqrequest/RFQRequest.go +++ b/fix44/rfqrequest/RFQRequest.go @@ -30,6 +30,13 @@ type NoRelatedSym struct { TradingSessionSubID *string `fix:"625"` } +//NewNoRelatedSym returns an initialized NoRelatedSym instance +func NewNoRelatedSym(instrument instrument.Instrument) *NoRelatedSym { + var m NoRelatedSym + m.SetInstrument(instrument) + return &m +} + func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = v } func (m *NoRelatedSym) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } func (m *NoRelatedSym) SetNoLegs(v []NoLegs) { m.NoLegs = v } @@ -45,6 +52,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } @@ -55,6 +68,12 @@ type NoLegs struct { InstrumentLeg *instrumentleg.InstrumentLeg } +//NewNoLegs returns an initialized NoLegs instance +func NewNoLegs() *NoLegs { + var m NoLegs + return &m +} + func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } //Message is a RFQRequest FIX Message diff --git a/fix44/securitydefinition/SecurityDefinition.go b/fix44/securitydefinition/SecurityDefinition.go index bb4df4d3d..5f51f178e 100644 --- a/fix44/securitydefinition/SecurityDefinition.go +++ b/fix44/securitydefinition/SecurityDefinition.go @@ -17,6 +17,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } @@ -27,6 +33,12 @@ type NoLegs struct { InstrumentLeg *instrumentleg.InstrumentLeg } +//NewNoLegs returns an initialized NoLegs instance +func NewNoLegs() *NoLegs { + var m NoLegs + return &m +} + func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } //Message is a SecurityDefinition FIX Message diff --git a/fix44/securitydefinitionrequest/SecurityDefinitionRequest.go b/fix44/securitydefinitionrequest/SecurityDefinitionRequest.go index 7e727abff..3a1f71cc4 100644 --- a/fix44/securitydefinitionrequest/SecurityDefinitionRequest.go +++ b/fix44/securitydefinitionrequest/SecurityDefinitionRequest.go @@ -17,6 +17,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } @@ -27,6 +33,12 @@ type NoLegs struct { InstrumentLeg *instrumentleg.InstrumentLeg } +//NewNoLegs returns an initialized NoLegs instance +func NewNoLegs() *NoLegs { + var m NoLegs + return &m +} + func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } //Message is a SecurityDefinitionRequest FIX Message diff --git a/fix44/securitylist/SecurityList.go b/fix44/securitylist/SecurityList.go index 7708105ad..1ca14b6df 100644 --- a/fix44/securitylist/SecurityList.go +++ b/fix44/securitylist/SecurityList.go @@ -55,6 +55,12 @@ type NoRelatedSym struct { 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) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { m.InstrumentExtension = &v @@ -85,6 +91,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } @@ -103,6 +115,12 @@ type NoLegs struct { 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 } diff --git a/fix44/securitylistrequest/SecurityListRequest.go b/fix44/securitylistrequest/SecurityListRequest.go index d82db8570..4fe24516a 100644 --- a/fix44/securitylistrequest/SecurityListRequest.go +++ b/fix44/securitylistrequest/SecurityListRequest.go @@ -18,6 +18,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } @@ -28,6 +34,12 @@ type NoLegs struct { InstrumentLeg *instrumentleg.InstrumentLeg } +//NewNoLegs returns an initialized NoLegs instance +func NewNoLegs() *NoLegs { + var m NoLegs + return &m +} + func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } //Message is a SecurityListRequest FIX Message diff --git a/fix44/securitystatus/SecurityStatus.go b/fix44/securitystatus/SecurityStatus.go index cace7ab30..b15d19cad 100644 --- a/fix44/securitystatus/SecurityStatus.go +++ b/fix44/securitystatus/SecurityStatus.go @@ -18,6 +18,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } @@ -28,6 +34,12 @@ type NoLegs struct { InstrumentLeg *instrumentleg.InstrumentLeg } +//NewNoLegs returns an initialized NoLegs instance +func NewNoLegs() *NoLegs { + var m NoLegs + return &m +} + func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } //Message is a SecurityStatus FIX Message diff --git a/fix44/securitystatusrequest/SecurityStatusRequest.go b/fix44/securitystatusrequest/SecurityStatusRequest.go index 41e7d2ede..a378ee600 100644 --- a/fix44/securitystatusrequest/SecurityStatusRequest.go +++ b/fix44/securitystatusrequest/SecurityStatusRequest.go @@ -17,6 +17,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } @@ -27,6 +33,12 @@ type NoLegs struct { InstrumentLeg *instrumentleg.InstrumentLeg } +//NewNoLegs returns an initialized NoLegs instance +func NewNoLegs() *NoLegs { + var m NoLegs + return &m +} + func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } //Message is a SecurityStatusRequest FIX Message diff --git a/fix44/securitytypes/SecurityTypes.go b/fix44/securitytypes/SecurityTypes.go index 62f8bf9b0..6ef1b0884 100644 --- a/fix44/securitytypes/SecurityTypes.go +++ b/fix44/securitytypes/SecurityTypes.go @@ -19,6 +19,12 @@ type NoSecurityTypes struct { CFICode *string `fix:"461"` } +//NewNoSecurityTypes returns an initialized NoSecurityTypes instance +func NewNoSecurityTypes() *NoSecurityTypes { + var m NoSecurityTypes + return &m +} + func (m *NoSecurityTypes) SetSecurityType(v string) { m.SecurityType = &v } func (m *NoSecurityTypes) SetSecuritySubType(v string) { m.SecuritySubType = &v } func (m *NoSecurityTypes) SetProduct(v int) { m.Product = &v } diff --git a/fix44/settlementinstructions/SettlementInstructions.go b/fix44/settlementinstructions/SettlementInstructions.go index d0ab74fab..a655e762d 100644 --- a/fix44/settlementinstructions/SettlementInstructions.go +++ b/fix44/settlementinstructions/SettlementInstructions.go @@ -56,6 +56,12 @@ type NoSettlInst struct { PaymentRemitterID *string `fix:"505"` } +//NewNoSettlInst returns an initialized NoSettlInst instance +func NewNoSettlInst() *NoSettlInst { + var m NoSettlInst + return &m +} + func (m *NoSettlInst) SetSettlInstID(v string) { m.SettlInstID = &v } func (m *NoSettlInst) SetSettlInstTransType(v string) { m.SettlInstTransType = &v } func (m *NoSettlInst) SetSettlInstRefID(v string) { m.SettlInstRefID = &v } diff --git a/fix44/settlinstructionsdata/SettlInstructionsData.go b/fix44/settlinstructionsdata/SettlInstructionsData.go index d8edd2bd5..37a7f6c4f 100644 --- a/fix44/settlinstructionsdata/SettlInstructionsData.go +++ b/fix44/settlinstructionsdata/SettlInstructionsData.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix44/settlparties" ) +//New returns an initialized SettlInstructionsData instance func New() *SettlInstructionsData { var m SettlInstructionsData return &m @@ -19,6 +20,12 @@ type NoDlvyInst struct { SettlParties *settlparties.SettlParties } +//NewNoDlvyInst returns an initialized NoDlvyInst instance +func NewNoDlvyInst() *NoDlvyInst { + var m NoDlvyInst + return &m +} + func (m *NoDlvyInst) SetSettlInstSource(v string) { m.SettlInstSource = &v } func (m *NoDlvyInst) SetDlvyInstType(v string) { m.DlvyInstType = &v } func (m *NoDlvyInst) SetSettlParties(v settlparties.SettlParties) { m.SettlParties = &v } diff --git a/fix44/settlparties/SettlParties.go b/fix44/settlparties/SettlParties.go index 2bdd70986..483fa02aa 100644 --- a/fix44/settlparties/SettlParties.go +++ b/fix44/settlparties/SettlParties.go @@ -1,5 +1,6 @@ package settlparties +//New returns an initialized SettlParties instance func New() *SettlParties { var m SettlParties return &m @@ -17,6 +18,12 @@ type NoSettlPartyIDs struct { NoSettlPartySubIDs []NoSettlPartySubIDs `fix:"801,omitempty"` } +//NewNoSettlPartyIDs returns an initialized NoSettlPartyIDs instance +func NewNoSettlPartyIDs() *NoSettlPartyIDs { + var m NoSettlPartyIDs + return &m +} + func (m *NoSettlPartyIDs) SetSettlPartyID(v string) { m.SettlPartyID = &v } func (m *NoSettlPartyIDs) SetSettlPartyIDSource(v string) { m.SettlPartyIDSource = &v } func (m *NoSettlPartyIDs) SetSettlPartyRole(v int) { m.SettlPartyRole = &v } @@ -30,6 +37,12 @@ type NoSettlPartySubIDs struct { SettlPartySubIDType *int `fix:"786"` } +//NewNoSettlPartySubIDs returns an initialized NoSettlPartySubIDs instance +func NewNoSettlPartySubIDs() *NoSettlPartySubIDs { + var m NoSettlPartySubIDs + return &m +} + func (m *NoSettlPartySubIDs) SetSettlPartySubID(v string) { m.SettlPartySubID = &v } func (m *NoSettlPartySubIDs) SetSettlPartySubIDType(v int) { m.SettlPartySubIDType = &v } diff --git a/fix44/spreadorbenchmarkcurvedata/SpreadOrBenchmarkCurveData.go b/fix44/spreadorbenchmarkcurvedata/SpreadOrBenchmarkCurveData.go index 45953678e..fabed41d9 100644 --- a/fix44/spreadorbenchmarkcurvedata/SpreadOrBenchmarkCurveData.go +++ b/fix44/spreadorbenchmarkcurvedata/SpreadOrBenchmarkCurveData.go @@ -1,5 +1,6 @@ package spreadorbenchmarkcurvedata +//New returns an initialized SpreadOrBenchmarkCurveData instance func New() *SpreadOrBenchmarkCurveData { var m SpreadOrBenchmarkCurveData return &m diff --git a/fix44/stipulations/Stipulations.go b/fix44/stipulations/Stipulations.go index bd99d8903..5d80133f9 100644 --- a/fix44/stipulations/Stipulations.go +++ b/fix44/stipulations/Stipulations.go @@ -1,5 +1,6 @@ package stipulations +//New returns an initialized Stipulations instance func New() *Stipulations { var m Stipulations return &m @@ -13,6 +14,12 @@ type NoStipulations struct { StipulationValue *string `fix:"234"` } +//NewNoStipulations returns an initialized NoStipulations instance +func NewNoStipulations() *NoStipulations { + var m NoStipulations + return &m +} + func (m *NoStipulations) SetStipulationType(v string) { m.StipulationType = &v } func (m *NoStipulations) SetStipulationValue(v string) { m.StipulationValue = &v } diff --git a/fix44/tradecapturereport/TradeCaptureReport.go b/fix44/tradecapturereport/TradeCaptureReport.go index a702c967e..b2225e363 100644 --- a/fix44/tradecapturereport/TradeCaptureReport.go +++ b/fix44/tradecapturereport/TradeCaptureReport.go @@ -29,6 +29,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } @@ -61,6 +67,12 @@ type NoLegs struct { LegLastPx *float64 `fix:"637"` } +//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) SetLegQty(v float64) { m.LegQty = &v } func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } @@ -202,6 +214,14 @@ type NoSides struct { ShortSaleReason *int `fix:"853"` } +//NewNoSides returns an initialized NoSides instance +func NewNoSides(side string, orderid string) *NoSides { + var m NoSides + m.SetSide(side) + m.SetOrderID(orderid) + return &m +} + func (m *NoSides) SetSide(v string) { m.Side = v } func (m *NoSides) SetOrderID(v string) { m.OrderID = v } func (m *NoSides) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } @@ -271,6 +291,12 @@ type NoClearingInstructions struct { ClearingInstruction *int `fix:"577"` } +//NewNoClearingInstructions returns an initialized NoClearingInstructions instance +func NewNoClearingInstructions() *NoClearingInstructions { + var m NoClearingInstructions + return &m +} + func (m *NoClearingInstructions) SetClearingInstruction(v int) { m.ClearingInstruction = &v } //NoContAmts is a repeating group in NoSides @@ -283,6 +309,12 @@ type NoContAmts struct { ContAmtCurr *string `fix:"521"` } +//NewNoContAmts returns an initialized NoContAmts instance +func NewNoContAmts() *NoContAmts { + var m NoContAmts + return &m +} + func (m *NoContAmts) SetContAmtType(v int) { m.ContAmtType = &v } func (m *NoContAmts) SetContAmtValue(v float64) { m.ContAmtValue = &v } func (m *NoContAmts) SetContAmtCurr(v string) { m.ContAmtCurr = &v } @@ -299,6 +331,12 @@ type NoMiscFees struct { MiscFeeBasis *int `fix:"891"` } +//NewNoMiscFees returns an initialized NoMiscFees instance +func NewNoMiscFees() *NoMiscFees { + var m NoMiscFees + return &m +} + func (m *NoMiscFees) SetMiscFeeAmt(v float64) { m.MiscFeeAmt = &v } func (m *NoMiscFees) SetMiscFeeCurr(v string) { m.MiscFeeCurr = &v } func (m *NoMiscFees) SetMiscFeeType(v string) { m.MiscFeeType = &v } @@ -320,6 +358,12 @@ type NoAllocs struct { AllocQty *float64 `fix:"80"` } +//NewNoAllocs returns an initialized NoAllocs instance +func NewNoAllocs() *NoAllocs { + var m NoAllocs + return &m +} + func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } func (m *NoAllocs) SetAllocSettlCurrency(v string) { m.AllocSettlCurrency = &v } diff --git a/fix44/tradecapturereportack/TradeCaptureReportAck.go b/fix44/tradecapturereportack/TradeCaptureReportAck.go index ac8458f12..3bcd999b0 100644 --- a/fix44/tradecapturereportack/TradeCaptureReportAck.go +++ b/fix44/tradecapturereportack/TradeCaptureReportAck.go @@ -42,6 +42,12 @@ type NoLegs struct { LegLastPx *float64 `fix:"637"` } +//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) SetLegQty(v float64) { m.LegQty = &v } func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } @@ -71,6 +77,12 @@ type NoAllocs struct { AllocQty *float64 `fix:"80"` } +//NewNoAllocs returns an initialized NoAllocs instance +func NewNoAllocs() *NoAllocs { + var m NoAllocs + return &m +} + func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } func (m *NoAllocs) SetAllocSettlCurrency(v string) { m.AllocSettlCurrency = &v } diff --git a/fix44/tradecapturereportrequest/TradeCaptureReportRequest.go b/fix44/tradecapturereportrequest/TradeCaptureReportRequest.go index 5f32c99e5..013568af0 100644 --- a/fix44/tradecapturereportrequest/TradeCaptureReportRequest.go +++ b/fix44/tradecapturereportrequest/TradeCaptureReportRequest.go @@ -20,6 +20,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } @@ -30,6 +36,12 @@ type NoLegs struct { InstrumentLeg *instrumentleg.InstrumentLeg } +//NewNoLegs returns an initialized NoLegs instance +func NewNoLegs() *NoLegs { + var m NoLegs + return &m +} + func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } //NoDates is a repeating group in TradeCaptureReportRequest @@ -40,6 +52,12 @@ type NoDates struct { TransactTime *time.Time `fix:"60"` } +//NewNoDates returns an initialized NoDates instance +func NewNoDates() *NoDates { + var m NoDates + return &m +} + func (m *NoDates) SetTradeDate(v string) { m.TradeDate = &v } func (m *NoDates) SetTransactTime(v time.Time) { m.TransactTime = &v } diff --git a/fix44/tradecapturereportrequestack/TradeCaptureReportRequestAck.go b/fix44/tradecapturereportrequestack/TradeCaptureReportRequestAck.go index 26f31e1eb..50d73b488 100644 --- a/fix44/tradecapturereportrequestack/TradeCaptureReportRequestAck.go +++ b/fix44/tradecapturereportrequestack/TradeCaptureReportRequestAck.go @@ -16,6 +16,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } @@ -26,6 +32,12 @@ type NoLegs struct { InstrumentLeg *instrumentleg.InstrumentLeg } +//NewNoLegs returns an initialized NoLegs instance +func NewNoLegs() *NoLegs { + var m NoLegs + return &m +} + func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } //Message is a TradeCaptureReportRequestAck FIX Message diff --git a/fix44/trdregtimestamps/TrdRegTimestamps.go b/fix44/trdregtimestamps/TrdRegTimestamps.go index 68f1b84ed..7adbc9869 100644 --- a/fix44/trdregtimestamps/TrdRegTimestamps.go +++ b/fix44/trdregtimestamps/TrdRegTimestamps.go @@ -4,6 +4,7 @@ import ( "time" ) +//New returns an initialized TrdRegTimestamps instance func New() *TrdRegTimestamps { var m TrdRegTimestamps return &m @@ -19,6 +20,12 @@ type NoTrdRegTimestamps struct { TrdRegTimestampOrigin *string `fix:"771"` } +//NewNoTrdRegTimestamps returns an initialized NoTrdRegTimestamps instance +func NewNoTrdRegTimestamps() *NoTrdRegTimestamps { + var m NoTrdRegTimestamps + return &m +} + func (m *NoTrdRegTimestamps) SetTrdRegTimestamp(v time.Time) { m.TrdRegTimestamp = &v } func (m *NoTrdRegTimestamps) SetTrdRegTimestampType(v int) { m.TrdRegTimestampType = &v } func (m *NoTrdRegTimestamps) SetTrdRegTimestampOrigin(v string) { m.TrdRegTimestampOrigin = &v } diff --git a/fix44/underlyinginstrument/UnderlyingInstrument.go b/fix44/underlyinginstrument/UnderlyingInstrument.go index 63595b13e..8331f1d5b 100644 --- a/fix44/underlyinginstrument/UnderlyingInstrument.go +++ b/fix44/underlyinginstrument/UnderlyingInstrument.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix44/underlyingstipulations" ) +//New returns an initialized UnderlyingInstrument instance func New() *UnderlyingInstrument { var m UnderlyingInstrument return &m @@ -17,6 +18,12 @@ type NoUnderlyingSecurityAltID struct { UnderlyingSecurityAltIDSource *string `fix:"459"` } +//NewNoUnderlyingSecurityAltID returns an initialized NoUnderlyingSecurityAltID instance +func NewNoUnderlyingSecurityAltID() *NoUnderlyingSecurityAltID { + var m NoUnderlyingSecurityAltID + return &m +} + func (m *NoUnderlyingSecurityAltID) SetUnderlyingSecurityAltID(v string) { m.UnderlyingSecurityAltID = &v } diff --git a/fix44/underlyingstipulations/UnderlyingStipulations.go b/fix44/underlyingstipulations/UnderlyingStipulations.go index 76223547d..60275fdcf 100644 --- a/fix44/underlyingstipulations/UnderlyingStipulations.go +++ b/fix44/underlyingstipulations/UnderlyingStipulations.go @@ -1,5 +1,6 @@ package underlyingstipulations +//New returns an initialized UnderlyingStipulations instance func New() *UnderlyingStipulations { var m UnderlyingStipulations return &m @@ -13,6 +14,12 @@ type NoUnderlyingStips struct { UnderlyingStipValue *string `fix:"889"` } +//NewNoUnderlyingStips returns an initialized NoUnderlyingStips instance +func NewNoUnderlyingStips() *NoUnderlyingStips { + var m NoUnderlyingStips + return &m +} + func (m *NoUnderlyingStips) SetUnderlyingStipType(v string) { m.UnderlyingStipType = &v } func (m *NoUnderlyingStips) SetUnderlyingStipValue(v string) { m.UnderlyingStipValue = &v } diff --git a/fix44/yielddata/YieldData.go b/fix44/yielddata/YieldData.go index a988905e6..05a089adf 100644 --- a/fix44/yielddata/YieldData.go +++ b/fix44/yielddata/YieldData.go @@ -1,5 +1,6 @@ package yielddata +//New returns an initialized YieldData instance func New() *YieldData { var m YieldData return &m diff --git a/fix50/affectedordgrp/AffectedOrdGrp.go b/fix50/affectedordgrp/AffectedOrdGrp.go index 210b730b2..40253b31d 100644 --- a/fix50/affectedordgrp/AffectedOrdGrp.go +++ b/fix50/affectedordgrp/AffectedOrdGrp.go @@ -1,5 +1,6 @@ package affectedordgrp +//New returns an initialized AffectedOrdGrp instance func New() *AffectedOrdGrp { var m AffectedOrdGrp return &m @@ -15,6 +16,12 @@ type NoAffectedOrders struct { AffectedSecondaryOrderID *string `fix:"536"` } +//NewNoAffectedOrders returns an initialized NoAffectedOrders instance +func NewNoAffectedOrders() *NoAffectedOrders { + var m NoAffectedOrders + return &m +} + func (m *NoAffectedOrders) SetOrigClOrdID(v string) { m.OrigClOrdID = &v } func (m *NoAffectedOrders) SetAffectedOrderID(v string) { m.AffectedOrderID = &v } func (m *NoAffectedOrders) SetAffectedSecondaryOrderID(v string) { m.AffectedSecondaryOrderID = &v } diff --git a/fix50/allocackgrp/AllocAckGrp.go b/fix50/allocackgrp/AllocAckGrp.go index 3b05c0217..398991b6d 100644 --- a/fix50/allocackgrp/AllocAckGrp.go +++ b/fix50/allocackgrp/AllocAckGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/nestedparties" ) +//New returns an initialized AllocAckGrp instance func New() *AllocAckGrp { var m AllocAckGrp return &m @@ -41,6 +42,12 @@ type NoAllocs struct { AllocPositionEffect *string `fix:"1047"` } +//NewNoAllocs returns an initialized NoAllocs instance +func NewNoAllocs() *NoAllocs { + var m NoAllocs + return &m +} + func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } func (m *NoAllocs) SetAllocPrice(v float64) { m.AllocPrice = &v } diff --git a/fix50/allocgrp/AllocGrp.go b/fix50/allocgrp/AllocGrp.go index d6e8b188e..927d062df 100644 --- a/fix50/allocgrp/AllocGrp.go +++ b/fix50/allocgrp/AllocGrp.go @@ -8,6 +8,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/settlinstructionsdata" ) +//New returns an initialized AllocGrp instance func New() *AllocGrp { var m AllocGrp return &m @@ -85,6 +86,12 @@ type NoAllocs struct { ClearingFeeIndicator *string `fix:"635"` } +//NewNoAllocs returns an initialized NoAllocs instance +func NewNoAllocs() *NoAllocs { + var m NoAllocs + return &m +} + func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } func (m *NoAllocs) SetMatchStatus(v string) { m.MatchStatus = &v } diff --git a/fix50/attrbgrp/AttrbGrp.go b/fix50/attrbgrp/AttrbGrp.go index 8075b639c..e37508806 100644 --- a/fix50/attrbgrp/AttrbGrp.go +++ b/fix50/attrbgrp/AttrbGrp.go @@ -1,5 +1,6 @@ package attrbgrp +//New returns an initialized AttrbGrp instance func New() *AttrbGrp { var m AttrbGrp return &m @@ -13,6 +14,12 @@ type NoInstrAttrib struct { InstrAttribValue *string `fix:"872"` } +//NewNoInstrAttrib returns an initialized NoInstrAttrib instance +func NewNoInstrAttrib() *NoInstrAttrib { + var m NoInstrAttrib + return &m +} + func (m *NoInstrAttrib) SetInstrAttribType(v int) { m.InstrAttribType = &v } func (m *NoInstrAttrib) SetInstrAttribValue(v string) { m.InstrAttribValue = &v } diff --git a/fix50/bidcompreqgrp/BidCompReqGrp.go b/fix50/bidcompreqgrp/BidCompReqGrp.go index 647d9e298..d5e267275 100644 --- a/fix50/bidcompreqgrp/BidCompReqGrp.go +++ b/fix50/bidcompreqgrp/BidCompReqGrp.go @@ -1,5 +1,6 @@ package bidcompreqgrp +//New returns an initialized BidCompReqGrp instance func New() *BidCompReqGrp { var m BidCompReqGrp return &m @@ -27,6 +28,12 @@ type NoBidComponents struct { AcctIDSource *int `fix:"660"` } +//NewNoBidComponents returns an initialized NoBidComponents instance +func NewNoBidComponents() *NoBidComponents { + var m NoBidComponents + return &m +} + func (m *NoBidComponents) SetListID(v string) { m.ListID = &v } func (m *NoBidComponents) SetSide(v string) { m.Side = &v } func (m *NoBidComponents) SetTradingSessionID(v string) { m.TradingSessionID = &v } diff --git a/fix50/bidcomprspgrp/BidCompRspGrp.go b/fix50/bidcomprspgrp/BidCompRspGrp.go index 24956ee7d..b437ca305 100644 --- a/fix50/bidcomprspgrp/BidCompRspGrp.go +++ b/fix50/bidcomprspgrp/BidCompRspGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/commissiondata" ) +//New returns an initialized BidCompRspGrp instance func New(nobidcomponents []NoBidComponents) *BidCompRspGrp { var m BidCompRspGrp m.SetNoBidComponents(nobidcomponents) @@ -44,6 +45,13 @@ type NoBidComponents struct { EncodedText *string `fix:"355"` } +//NewNoBidComponents returns an initialized NoBidComponents instance +func NewNoBidComponents(commissiondata commissiondata.CommissionData) *NoBidComponents { + var m NoBidComponents + m.SetCommissionData(commissiondata) + return &m +} + func (m *NoBidComponents) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = v } func (m *NoBidComponents) SetListID(v string) { m.ListID = &v } func (m *NoBidComponents) SetCountry(v string) { m.Country = &v } diff --git a/fix50/biddescreqgrp/BidDescReqGrp.go b/fix50/biddescreqgrp/BidDescReqGrp.go index 89c8313d3..81023c42b 100644 --- a/fix50/biddescreqgrp/BidDescReqGrp.go +++ b/fix50/biddescreqgrp/BidDescReqGrp.go @@ -1,5 +1,6 @@ package biddescreqgrp +//New returns an initialized BidDescReqGrp instance func New() *BidDescReqGrp { var m BidDescReqGrp return &m @@ -31,6 +32,12 @@ type NoBidDescriptors struct { ValueOfFutures *float64 `fix:"408"` } +//NewNoBidDescriptors returns an initialized NoBidDescriptors instance +func NewNoBidDescriptors() *NoBidDescriptors { + var m NoBidDescriptors + return &m +} + func (m *NoBidDescriptors) SetBidDescriptorType(v int) { m.BidDescriptorType = &v } func (m *NoBidDescriptors) SetBidDescriptor(v string) { m.BidDescriptor = &v } func (m *NoBidDescriptors) SetSideValueInd(v int) { m.SideValueInd = &v } diff --git a/fix50/clrinstgrp/ClrInstGrp.go b/fix50/clrinstgrp/ClrInstGrp.go index b12a28361..bc8215d4f 100644 --- a/fix50/clrinstgrp/ClrInstGrp.go +++ b/fix50/clrinstgrp/ClrInstGrp.go @@ -1,5 +1,6 @@ package clrinstgrp +//New returns an initialized ClrInstGrp instance func New() *ClrInstGrp { var m ClrInstGrp return &m @@ -11,6 +12,12 @@ type NoClearingInstructions struct { ClearingInstruction *int `fix:"577"` } +//NewNoClearingInstructions returns an initialized NoClearingInstructions instance +func NewNoClearingInstructions() *NoClearingInstructions { + var m NoClearingInstructions + return &m +} + func (m *NoClearingInstructions) SetClearingInstruction(v int) { m.ClearingInstruction = &v } //ClrInstGrp is a fix50 Component diff --git a/fix50/collinqqualgrp/CollInqQualGrp.go b/fix50/collinqqualgrp/CollInqQualGrp.go index 1211afada..93992f521 100644 --- a/fix50/collinqqualgrp/CollInqQualGrp.go +++ b/fix50/collinqqualgrp/CollInqQualGrp.go @@ -1,5 +1,6 @@ package collinqqualgrp +//New returns an initialized CollInqQualGrp instance func New() *CollInqQualGrp { var m CollInqQualGrp return &m @@ -11,6 +12,12 @@ type NoCollInquiryQualifier struct { CollInquiryQualifier *int `fix:"896"` } +//NewNoCollInquiryQualifier returns an initialized NoCollInquiryQualifier instance +func NewNoCollInquiryQualifier() *NoCollInquiryQualifier { + var m NoCollInquiryQualifier + return &m +} + func (m *NoCollInquiryQualifier) SetCollInquiryQualifier(v int) { m.CollInquiryQualifier = &v } //CollInqQualGrp is a fix50 Component diff --git a/fix50/commissiondata/CommissionData.go b/fix50/commissiondata/CommissionData.go index 3f0dbbf19..938266ebb 100644 --- a/fix50/commissiondata/CommissionData.go +++ b/fix50/commissiondata/CommissionData.go @@ -1,5 +1,6 @@ package commissiondata +//New returns an initialized CommissionData instance func New() *CommissionData { var m CommissionData return &m diff --git a/fix50/compidreqgrp/CompIDReqGrp.go b/fix50/compidreqgrp/CompIDReqGrp.go index 5dd6bc6d5..2256e18f2 100644 --- a/fix50/compidreqgrp/CompIDReqGrp.go +++ b/fix50/compidreqgrp/CompIDReqGrp.go @@ -1,5 +1,6 @@ package compidreqgrp +//New returns an initialized CompIDReqGrp instance func New() *CompIDReqGrp { var m CompIDReqGrp return &m @@ -17,6 +18,12 @@ type NoCompIDs struct { DeskID *string `fix:"284"` } +//NewNoCompIDs returns an initialized NoCompIDs instance +func NewNoCompIDs() *NoCompIDs { + var m NoCompIDs + return &m +} + func (m *NoCompIDs) SetRefCompID(v string) { m.RefCompID = &v } func (m *NoCompIDs) SetRefSubID(v string) { m.RefSubID = &v } func (m *NoCompIDs) SetLocationID(v string) { m.LocationID = &v } diff --git a/fix50/compidstatgrp/CompIDStatGrp.go b/fix50/compidstatgrp/CompIDStatGrp.go index 6a0e38111..40e1ad178 100644 --- a/fix50/compidstatgrp/CompIDStatGrp.go +++ b/fix50/compidstatgrp/CompIDStatGrp.go @@ -1,5 +1,6 @@ package compidstatgrp +//New returns an initialized CompIDStatGrp instance func New(nocompids []NoCompIDs) *CompIDStatGrp { var m CompIDStatGrp m.SetNoCompIDs(nocompids) @@ -22,6 +23,14 @@ type NoCompIDs struct { StatusText *string `fix:"929"` } +//NewNoCompIDs returns an initialized NoCompIDs instance +func NewNoCompIDs(refcompid string, statusvalue int) *NoCompIDs { + var m NoCompIDs + m.SetRefCompID(refcompid) + m.SetStatusValue(statusvalue) + return &m +} + func (m *NoCompIDs) SetRefCompID(v string) { m.RefCompID = v } func (m *NoCompIDs) SetRefSubID(v string) { m.RefSubID = &v } func (m *NoCompIDs) SetLocationID(v string) { m.LocationID = &v } diff --git a/fix50/contamtgrp/ContAmtGrp.go b/fix50/contamtgrp/ContAmtGrp.go index 7f696c78e..b311a1fac 100644 --- a/fix50/contamtgrp/ContAmtGrp.go +++ b/fix50/contamtgrp/ContAmtGrp.go @@ -1,5 +1,6 @@ package contamtgrp +//New returns an initialized ContAmtGrp instance func New() *ContAmtGrp { var m ContAmtGrp return &m @@ -15,6 +16,12 @@ type NoContAmts struct { ContAmtCurr *string `fix:"521"` } +//NewNoContAmts returns an initialized NoContAmts instance +func NewNoContAmts() *NoContAmts { + var m NoContAmts + return &m +} + func (m *NoContAmts) SetContAmtType(v int) { m.ContAmtType = &v } func (m *NoContAmts) SetContAmtValue(v float64) { m.ContAmtValue = &v } func (m *NoContAmts) SetContAmtCurr(v string) { m.ContAmtCurr = &v } diff --git a/fix50/contragrp/ContraGrp.go b/fix50/contragrp/ContraGrp.go index b12292a05..b80bd7b87 100644 --- a/fix50/contragrp/ContraGrp.go +++ b/fix50/contragrp/ContraGrp.go @@ -4,6 +4,7 @@ import ( "time" ) +//New returns an initialized ContraGrp instance func New() *ContraGrp { var m ContraGrp return &m @@ -23,6 +24,12 @@ type NoContraBrokers struct { ContraLegRefID *string `fix:"655"` } +//NewNoContraBrokers returns an initialized NoContraBrokers instance +func NewNoContraBrokers() *NoContraBrokers { + var m NoContraBrokers + return &m +} + func (m *NoContraBrokers) SetContraBroker(v string) { m.ContraBroker = &v } func (m *NoContraBrokers) SetContraTrader(v string) { m.ContraTrader = &v } func (m *NoContraBrokers) SetContraTradeQty(v float64) { m.ContraTradeQty = &v } diff --git a/fix50/cpctyconfgrp/CpctyConfGrp.go b/fix50/cpctyconfgrp/CpctyConfGrp.go index cc19b55fe..3d275a1cb 100644 --- a/fix50/cpctyconfgrp/CpctyConfGrp.go +++ b/fix50/cpctyconfgrp/CpctyConfGrp.go @@ -1,5 +1,6 @@ package cpctyconfgrp +//New returns an initialized CpctyConfGrp instance func New(nocapacities []NoCapacities) *CpctyConfGrp { var m CpctyConfGrp m.SetNoCapacities(nocapacities) @@ -16,6 +17,14 @@ type NoCapacities struct { OrderCapacityQty float64 `fix:"863"` } +//NewNoCapacities returns an initialized NoCapacities instance +func NewNoCapacities(ordercapacity string, ordercapacityqty float64) *NoCapacities { + var m NoCapacities + m.SetOrderCapacity(ordercapacity) + m.SetOrderCapacityQty(ordercapacityqty) + return &m +} + func (m *NoCapacities) SetOrderCapacity(v string) { m.OrderCapacity = v } func (m *NoCapacities) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } func (m *NoCapacities) SetOrderCapacityQty(v float64) { m.OrderCapacityQty = v } diff --git a/fix50/discretioninstructions/DiscretionInstructions.go b/fix50/discretioninstructions/DiscretionInstructions.go index f05716064..29a526bd9 100644 --- a/fix50/discretioninstructions/DiscretionInstructions.go +++ b/fix50/discretioninstructions/DiscretionInstructions.go @@ -1,5 +1,6 @@ package discretioninstructions +//New returns an initialized DiscretionInstructions instance func New() *DiscretionInstructions { var m DiscretionInstructions return &m diff --git a/fix50/displayinstruction/DisplayInstruction.go b/fix50/displayinstruction/DisplayInstruction.go index 68f3e5834..d8f524cfa 100644 --- a/fix50/displayinstruction/DisplayInstruction.go +++ b/fix50/displayinstruction/DisplayInstruction.go @@ -1,5 +1,6 @@ package displayinstruction +//New returns an initialized DisplayInstruction instance func New() *DisplayInstruction { var m DisplayInstruction return &m diff --git a/fix50/dlvyinstgrp/DlvyInstGrp.go b/fix50/dlvyinstgrp/DlvyInstGrp.go index 5ce27fb58..4b08008b1 100644 --- a/fix50/dlvyinstgrp/DlvyInstGrp.go +++ b/fix50/dlvyinstgrp/DlvyInstGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/settlparties" ) +//New returns an initialized DlvyInstGrp instance func New() *DlvyInstGrp { var m DlvyInstGrp return &m @@ -19,6 +20,12 @@ type NoDlvyInst struct { SettlParties *settlparties.SettlParties } +//NewNoDlvyInst returns an initialized NoDlvyInst instance +func NewNoDlvyInst() *NoDlvyInst { + var m NoDlvyInst + return &m +} + func (m *NoDlvyInst) SetSettlInstSource(v string) { m.SettlInstSource = &v } func (m *NoDlvyInst) SetDlvyInstType(v string) { m.DlvyInstType = &v } func (m *NoDlvyInst) SetSettlParties(v settlparties.SettlParties) { m.SettlParties = &v } diff --git a/fix50/evntgrp/EvntGrp.go b/fix50/evntgrp/EvntGrp.go index c1ecf5490..11c1300a6 100644 --- a/fix50/evntgrp/EvntGrp.go +++ b/fix50/evntgrp/EvntGrp.go @@ -1,5 +1,6 @@ package evntgrp +//New returns an initialized EvntGrp instance func New() *EvntGrp { var m EvntGrp return &m @@ -17,6 +18,12 @@ type NoEvents struct { EventText *string `fix:"868"` } +//NewNoEvents returns an initialized NoEvents instance +func NewNoEvents() *NoEvents { + var m NoEvents + return &m +} + func (m *NoEvents) SetEventType(v int) { m.EventType = &v } func (m *NoEvents) SetEventDate(v string) { m.EventDate = &v } func (m *NoEvents) SetEventPx(v float64) { m.EventPx = &v } diff --git a/fix50/execallocgrp/ExecAllocGrp.go b/fix50/execallocgrp/ExecAllocGrp.go index 3a8310026..c397b2f82 100644 --- a/fix50/execallocgrp/ExecAllocGrp.go +++ b/fix50/execallocgrp/ExecAllocGrp.go @@ -1,5 +1,6 @@ package execallocgrp +//New returns an initialized ExecAllocGrp instance func New() *ExecAllocGrp { var m ExecAllocGrp return &m @@ -25,6 +26,12 @@ type NoExecs struct { FirmTradeID *string `fix:"1041"` } +//NewNoExecs returns an initialized NoExecs instance +func NewNoExecs() *NoExecs { + var m NoExecs + return &m +} + func (m *NoExecs) SetLastQty(v float64) { m.LastQty = &v } func (m *NoExecs) SetExecID(v string) { m.ExecID = &v } func (m *NoExecs) SetSecondaryExecID(v string) { m.SecondaryExecID = &v } diff --git a/fix50/execcollgrp/ExecCollGrp.go b/fix50/execcollgrp/ExecCollGrp.go index b0aa03dc9..5d435b3e4 100644 --- a/fix50/execcollgrp/ExecCollGrp.go +++ b/fix50/execcollgrp/ExecCollGrp.go @@ -1,5 +1,6 @@ package execcollgrp +//New returns an initialized ExecCollGrp instance func New() *ExecCollGrp { var m ExecCollGrp return &m @@ -11,6 +12,12 @@ type NoExecs struct { ExecID *string `fix:"17"` } +//NewNoExecs returns an initialized NoExecs instance +func NewNoExecs() *NoExecs { + var m NoExecs + return &m +} + func (m *NoExecs) SetExecID(v string) { m.ExecID = &v } //ExecCollGrp is a fix50 Component diff --git a/fix50/execsgrp/ExecsGrp.go b/fix50/execsgrp/ExecsGrp.go index 2f8f23e73..abb02d29d 100644 --- a/fix50/execsgrp/ExecsGrp.go +++ b/fix50/execsgrp/ExecsGrp.go @@ -1,5 +1,6 @@ package execsgrp +//New returns an initialized ExecsGrp instance func New() *ExecsGrp { var m ExecsGrp return &m @@ -11,6 +12,12 @@ type NoExecs struct { ExecID *string `fix:"17"` } +//NewNoExecs returns an initialized NoExecs instance +func NewNoExecs() *NoExecs { + var m NoExecs + return &m +} + func (m *NoExecs) SetExecID(v string) { m.ExecID = &v } //ExecsGrp is a fix50 Component diff --git a/fix50/expirationqty/ExpirationQty.go b/fix50/expirationqty/ExpirationQty.go index 8fd056366..0a38a3e19 100644 --- a/fix50/expirationqty/ExpirationQty.go +++ b/fix50/expirationqty/ExpirationQty.go @@ -1,5 +1,6 @@ package expirationqty +//New returns an initialized ExpirationQty instance func New() *ExpirationQty { var m ExpirationQty return &m @@ -13,6 +14,12 @@ type NoExpiration struct { ExpQty *float64 `fix:"983"` } +//NewNoExpiration returns an initialized NoExpiration instance +func NewNoExpiration() *NoExpiration { + var m NoExpiration + return &m +} + func (m *NoExpiration) SetExpType(v int) { m.ExpType = &v } func (m *NoExpiration) SetExpQty(v float64) { m.ExpQty = &v } diff --git a/fix50/financingdetails/FinancingDetails.go b/fix50/financingdetails/FinancingDetails.go index 907345af6..db063d413 100644 --- a/fix50/financingdetails/FinancingDetails.go +++ b/fix50/financingdetails/FinancingDetails.go @@ -1,5 +1,6 @@ package financingdetails +//New returns an initialized FinancingDetails instance func New() *FinancingDetails { var m FinancingDetails return &m diff --git a/fix50/hopgrp/HopGrp.go b/fix50/hopgrp/HopGrp.go index eb8df6546..fb72c7c77 100644 --- a/fix50/hopgrp/HopGrp.go +++ b/fix50/hopgrp/HopGrp.go @@ -4,6 +4,7 @@ import ( "time" ) +//New returns an initialized HopGrp instance func New() *HopGrp { var m HopGrp return &m @@ -19,6 +20,12 @@ type NoHops struct { HopRefID *int `fix:"630"` } +//NewNoHops returns an initialized NoHops instance +func NewNoHops() *NoHops { + var m NoHops + return &m +} + func (m *NoHops) SetHopCompID(v string) { m.HopCompID = &v } func (m *NoHops) SetHopSendingTime(v time.Time) { m.HopSendingTime = &v } func (m *NoHops) SetHopRefID(v int) { m.HopRefID = &v } diff --git a/fix50/instrmtgrp/InstrmtGrp.go b/fix50/instrmtgrp/InstrmtGrp.go index ca4c25dee..50832ca21 100644 --- a/fix50/instrmtgrp/InstrmtGrp.go +++ b/fix50/instrmtgrp/InstrmtGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/instrument" ) +//New returns an initialized InstrmtGrp instance func New() *InstrmtGrp { var m InstrmtGrp return &m @@ -15,6 +16,12 @@ type NoRelatedSym struct { Instrument *instrument.Instrument } +//NewNoRelatedSym returns an initialized NoRelatedSym instance +func NewNoRelatedSym() *NoRelatedSym { + var m NoRelatedSym + return &m +} + func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = &v } //InstrmtGrp is a fix50 Component diff --git a/fix50/instrmtlegexecgrp/InstrmtLegExecGrp.go b/fix50/instrmtlegexecgrp/InstrmtLegExecGrp.go index 9067e9447..d99a20c0a 100644 --- a/fix50/instrmtlegexecgrp/InstrmtLegExecGrp.go +++ b/fix50/instrmtlegexecgrp/InstrmtLegExecGrp.go @@ -6,6 +6,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/nestedparties" ) +//New returns an initialized InstrmtLegExecGrp instance func New() *InstrmtLegExecGrp { var m InstrmtLegExecGrp return &m @@ -49,6 +50,12 @@ type NoLegs struct { LegGrossTradeAmt *float64 `fix:"1075"` } +//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) SetLegQty(v float64) { m.LegQty = &v } func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } diff --git a/fix50/instrmtleggrp/InstrmtLegGrp.go b/fix50/instrmtleggrp/InstrmtLegGrp.go index 3d0e6622a..c38ae3491 100644 --- a/fix50/instrmtleggrp/InstrmtLegGrp.go +++ b/fix50/instrmtleggrp/InstrmtLegGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/instrumentleg" ) +//New returns an initialized InstrmtLegGrp instance func New() *InstrmtLegGrp { var m InstrmtLegGrp return &m @@ -15,6 +16,12 @@ type NoLegs struct { InstrumentLeg *instrumentleg.InstrumentLeg } +//NewNoLegs returns an initialized NoLegs instance +func NewNoLegs() *NoLegs { + var m NoLegs + return &m +} + func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } //InstrmtLegGrp is a fix50 Component diff --git a/fix50/instrmtlegioigrp/InstrmtLegIOIGrp.go b/fix50/instrmtlegioigrp/InstrmtLegIOIGrp.go index 2f0be81c6..c78292eef 100644 --- a/fix50/instrmtlegioigrp/InstrmtLegIOIGrp.go +++ b/fix50/instrmtlegioigrp/InstrmtLegIOIGrp.go @@ -5,6 +5,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/legstipulations" ) +//New returns an initialized InstrmtLegIOIGrp instance func New() *InstrmtLegIOIGrp { var m InstrmtLegIOIGrp return &m @@ -20,6 +21,12 @@ type NoLegs struct { LegStipulations *legstipulations.LegStipulations } +//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) SetLegIOIQty(v string) { m.LegIOIQty = &v } func (m *NoLegs) SetLegStipulations(v legstipulations.LegStipulations) { m.LegStipulations = &v } diff --git a/fix50/instrmtlegseclistgrp/InstrmtLegSecListGrp.go b/fix50/instrmtlegseclistgrp/InstrmtLegSecListGrp.go index d73221ed6..a11df9250 100644 --- a/fix50/instrmtlegseclistgrp/InstrmtLegSecListGrp.go +++ b/fix50/instrmtlegseclistgrp/InstrmtLegSecListGrp.go @@ -6,6 +6,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/legstipulations" ) +//New returns an initialized InstrmtLegSecListGrp instance func New() *InstrmtLegSecListGrp { var m InstrmtLegSecListGrp return &m @@ -25,6 +26,12 @@ type NoLegs struct { 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 } diff --git a/fix50/instrmtmdreqgrp/InstrmtMDReqGrp.go b/fix50/instrmtmdreqgrp/InstrmtMDReqGrp.go index a42f328f6..365ad0d46 100644 --- a/fix50/instrmtmdreqgrp/InstrmtMDReqGrp.go +++ b/fix50/instrmtmdreqgrp/InstrmtMDReqGrp.go @@ -6,6 +6,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/undinstrmtgrp" ) +//New returns an initialized InstrmtMDReqGrp instance func New(norelatedsym []NoRelatedSym) *InstrmtMDReqGrp { var m InstrmtMDReqGrp m.SetNoRelatedSym(norelatedsym) @@ -32,6 +33,13 @@ type NoRelatedSym struct { MDEntrySize *float64 `fix:"271"` } +//NewNoRelatedSym returns an initialized NoRelatedSym instance +func NewNoRelatedSym(instrument instrument.Instrument) *NoRelatedSym { + var m NoRelatedSym + m.SetInstrument(instrument) + return &m +} + func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = v } func (m *NoRelatedSym) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } func (m *NoRelatedSym) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } diff --git a/fix50/instrmtstrkpxgrp/InstrmtStrkPxGrp.go b/fix50/instrmtstrkpxgrp/InstrmtStrkPxGrp.go index 53e1d84ff..0630fbafb 100644 --- a/fix50/instrmtstrkpxgrp/InstrmtStrkPxGrp.go +++ b/fix50/instrmtstrkpxgrp/InstrmtStrkPxGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/instrument" ) +//New returns an initialized InstrmtStrkPxGrp instance func New(nostrikes []NoStrikes) *InstrmtStrkPxGrp { var m InstrmtStrkPxGrp m.SetNoStrikes(nostrikes) @@ -16,6 +17,13 @@ type NoStrikes struct { instrument.Instrument } +//NewNoStrikes returns an initialized NoStrikes instance +func NewNoStrikes(instrument instrument.Instrument) *NoStrikes { + var m NoStrikes + m.SetInstrument(instrument) + return &m +} + func (m *NoStrikes) SetInstrument(v instrument.Instrument) { m.Instrument = v } //InstrmtStrkPxGrp is a fix50 Component diff --git a/fix50/instrument/Instrument.go b/fix50/instrument/Instrument.go index 0c3bf73a5..52929406a 100644 --- a/fix50/instrument/Instrument.go +++ b/fix50/instrument/Instrument.go @@ -6,6 +6,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/secaltidgrp" ) +//New returns an initialized Instrument instance func New() *Instrument { var m Instrument return &m diff --git a/fix50/instrumentextension/InstrumentExtension.go b/fix50/instrumentextension/InstrumentExtension.go index fee9e035e..c073f786e 100644 --- a/fix50/instrumentextension/InstrumentExtension.go +++ b/fix50/instrumentextension/InstrumentExtension.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/attrbgrp" ) +//New returns an initialized InstrumentExtension instance func New() *InstrumentExtension { var m InstrumentExtension return &m diff --git a/fix50/instrumentleg/InstrumentLeg.go b/fix50/instrumentleg/InstrumentLeg.go index a9d900de1..30bbe3ef4 100644 --- a/fix50/instrumentleg/InstrumentLeg.go +++ b/fix50/instrumentleg/InstrumentLeg.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/legsecaltidgrp" ) +//New returns an initialized InstrumentLeg instance func New() *InstrumentLeg { var m InstrumentLeg return &m diff --git a/fix50/instrumentparties/InstrumentParties.go b/fix50/instrumentparties/InstrumentParties.go index 377d4c40b..76b8ec225 100644 --- a/fix50/instrumentparties/InstrumentParties.go +++ b/fix50/instrumentparties/InstrumentParties.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/instrumentptyssubgrp" ) +//New returns an initialized InstrumentParties instance func New() *InstrumentParties { var m InstrumentParties return &m @@ -21,6 +22,12 @@ type NoInstrumentParties struct { InstrumentPtysSubGrp *instrumentptyssubgrp.InstrumentPtysSubGrp } +//NewNoInstrumentParties returns an initialized NoInstrumentParties instance +func NewNoInstrumentParties() *NoInstrumentParties { + var m NoInstrumentParties + return &m +} + func (m *NoInstrumentParties) SetInstrumentPartyID(v string) { m.InstrumentPartyID = &v } func (m *NoInstrumentParties) SetInstrumentPartyIDSource(v string) { m.InstrumentPartyIDSource = &v } func (m *NoInstrumentParties) SetInstrumentPartyRole(v int) { m.InstrumentPartyRole = &v } diff --git a/fix50/instrumentptyssubgrp/InstrumentPtysSubGrp.go b/fix50/instrumentptyssubgrp/InstrumentPtysSubGrp.go index 89ceb3c65..82ff02008 100644 --- a/fix50/instrumentptyssubgrp/InstrumentPtysSubGrp.go +++ b/fix50/instrumentptyssubgrp/InstrumentPtysSubGrp.go @@ -1,5 +1,6 @@ package instrumentptyssubgrp +//New returns an initialized InstrumentPtysSubGrp instance func New() *InstrumentPtysSubGrp { var m InstrumentPtysSubGrp return &m @@ -13,6 +14,12 @@ type NoInstrumentPartySubIDs struct { InstrumentPartySubIDType *int `fix:"1054"` } +//NewNoInstrumentPartySubIDs returns an initialized NoInstrumentPartySubIDs instance +func NewNoInstrumentPartySubIDs() *NoInstrumentPartySubIDs { + var m NoInstrumentPartySubIDs + return &m +} + func (m *NoInstrumentPartySubIDs) SetInstrumentPartySubID(v string) { m.InstrumentPartySubID = &v } func (m *NoInstrumentPartySubIDs) SetInstrumentPartySubIDType(v int) { m.InstrumentPartySubIDType = &v } diff --git a/fix50/ioiqualgrp/IOIQualGrp.go b/fix50/ioiqualgrp/IOIQualGrp.go index b740bc406..a63633030 100644 --- a/fix50/ioiqualgrp/IOIQualGrp.go +++ b/fix50/ioiqualgrp/IOIQualGrp.go @@ -1,5 +1,6 @@ package ioiqualgrp +//New returns an initialized IOIQualGrp instance func New() *IOIQualGrp { var m IOIQualGrp return &m @@ -11,6 +12,12 @@ type NoIOIQualifiers struct { IOIQualifier *string `fix:"104"` } +//NewNoIOIQualifiers returns an initialized NoIOIQualifiers instance +func NewNoIOIQualifiers() *NoIOIQualifiers { + var m NoIOIQualifiers + return &m +} + func (m *NoIOIQualifiers) SetIOIQualifier(v string) { m.IOIQualifier = &v } //IOIQualGrp is a fix50 Component diff --git a/fix50/legbenchmarkcurvedata/LegBenchmarkCurveData.go b/fix50/legbenchmarkcurvedata/LegBenchmarkCurveData.go index ee80e5bf8..73e64d9bb 100644 --- a/fix50/legbenchmarkcurvedata/LegBenchmarkCurveData.go +++ b/fix50/legbenchmarkcurvedata/LegBenchmarkCurveData.go @@ -1,5 +1,6 @@ package legbenchmarkcurvedata +//New returns an initialized LegBenchmarkCurveData instance func New() *LegBenchmarkCurveData { var m LegBenchmarkCurveData return &m diff --git a/fix50/legordgrp/LegOrdGrp.go b/fix50/legordgrp/LegOrdGrp.go index 3674af378..fb3bbf955 100644 --- a/fix50/legordgrp/LegOrdGrp.go +++ b/fix50/legordgrp/LegOrdGrp.go @@ -7,6 +7,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/nestedparties" ) +//New returns an initialized LegOrdGrp instance func New(nolegs []NoLegs) *LegOrdGrp { var m LegOrdGrp m.SetNoLegs(nolegs) @@ -45,6 +46,12 @@ type NoLegs struct { LegOrderQty *float64 `fix:"685"` } +//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) SetLegQty(v float64) { m.LegQty = &v } func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } diff --git a/fix50/legpreallocgrp/LegPreAllocGrp.go b/fix50/legpreallocgrp/LegPreAllocGrp.go index 6a5dd5531..649d27b52 100644 --- a/fix50/legpreallocgrp/LegPreAllocGrp.go +++ b/fix50/legpreallocgrp/LegPreAllocGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/nestedparties2" ) +//New returns an initialized LegPreAllocGrp instance func New() *LegPreAllocGrp { var m LegPreAllocGrp return &m @@ -25,6 +26,12 @@ type NoLegAllocs struct { LegSettlCurrency *string `fix:"675"` } +//NewNoLegAllocs returns an initialized NoLegAllocs instance +func NewNoLegAllocs() *NoLegAllocs { + var m NoLegAllocs + return &m +} + func (m *NoLegAllocs) SetLegAllocAccount(v string) { m.LegAllocAccount = &v } func (m *NoLegAllocs) SetLegIndividualAllocID(v string) { m.LegIndividualAllocID = &v } func (m *NoLegAllocs) SetNestedParties2(v nestedparties2.NestedParties2) { m.NestedParties2 = &v } diff --git a/fix50/legquotgrp/LegQuotGrp.go b/fix50/legquotgrp/LegQuotGrp.go index 31000fbc5..ed1891c4e 100644 --- a/fix50/legquotgrp/LegQuotGrp.go +++ b/fix50/legquotgrp/LegQuotGrp.go @@ -7,6 +7,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/nestedparties" ) +//New returns an initialized LegQuotGrp instance func New() *LegQuotGrp { var m LegQuotGrp return &m @@ -46,6 +47,12 @@ type NoLegs struct { LegOfferForwardPoints *float64 `fix:"1068"` } +//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) SetLegQty(v float64) { m.LegQty = &v } func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } diff --git a/fix50/legquotstatgrp/LegQuotStatGrp.go b/fix50/legquotstatgrp/LegQuotStatGrp.go index 197a8485b..6785ab21b 100644 --- a/fix50/legquotstatgrp/LegQuotStatGrp.go +++ b/fix50/legquotstatgrp/LegQuotStatGrp.go @@ -6,6 +6,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/nestedparties" ) +//New returns an initialized LegQuotStatGrp instance func New() *LegQuotStatGrp { var m LegQuotStatGrp return &m @@ -31,6 +32,12 @@ type NoLegs struct { LegOrderQty *float64 `fix:"685"` } +//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) SetLegQty(v float64) { m.LegQty = &v } func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } diff --git a/fix50/legsecaltidgrp/LegSecAltIDGrp.go b/fix50/legsecaltidgrp/LegSecAltIDGrp.go index 52b55f890..45b1afac6 100644 --- a/fix50/legsecaltidgrp/LegSecAltIDGrp.go +++ b/fix50/legsecaltidgrp/LegSecAltIDGrp.go @@ -1,5 +1,6 @@ package legsecaltidgrp +//New returns an initialized LegSecAltIDGrp instance func New() *LegSecAltIDGrp { var m LegSecAltIDGrp return &m @@ -13,6 +14,12 @@ type NoLegSecurityAltID struct { LegSecurityAltIDSource *string `fix:"606"` } +//NewNoLegSecurityAltID returns an initialized NoLegSecurityAltID instance +func NewNoLegSecurityAltID() *NoLegSecurityAltID { + var m NoLegSecurityAltID + return &m +} + func (m *NoLegSecurityAltID) SetLegSecurityAltID(v string) { m.LegSecurityAltID = &v } func (m *NoLegSecurityAltID) SetLegSecurityAltIDSource(v string) { m.LegSecurityAltIDSource = &v } diff --git a/fix50/legstipulations/LegStipulations.go b/fix50/legstipulations/LegStipulations.go index 3d577f227..9a713a0ab 100644 --- a/fix50/legstipulations/LegStipulations.go +++ b/fix50/legstipulations/LegStipulations.go @@ -1,5 +1,6 @@ package legstipulations +//New returns an initialized LegStipulations instance func New() *LegStipulations { var m LegStipulations return &m @@ -13,6 +14,12 @@ type NoLegStipulations struct { LegStipulationValue *string `fix:"689"` } +//NewNoLegStipulations returns an initialized NoLegStipulations instance +func NewNoLegStipulations() *NoLegStipulations { + var m NoLegStipulations + return &m +} + func (m *NoLegStipulations) SetLegStipulationType(v string) { m.LegStipulationType = &v } func (m *NoLegStipulations) SetLegStipulationValue(v string) { m.LegStipulationValue = &v } diff --git a/fix50/linesoftextgrp/LinesOfTextGrp.go b/fix50/linesoftextgrp/LinesOfTextGrp.go index a8e7b05b1..2d46305b5 100644 --- a/fix50/linesoftextgrp/LinesOfTextGrp.go +++ b/fix50/linesoftextgrp/LinesOfTextGrp.go @@ -1,5 +1,6 @@ package linesoftextgrp +//New returns an initialized LinesOfTextGrp instance func New(nolinesoftext []NoLinesOfText) *LinesOfTextGrp { var m LinesOfTextGrp m.SetNoLinesOfText(nolinesoftext) @@ -16,6 +17,13 @@ type NoLinesOfText struct { EncodedText *string `fix:"355"` } +//NewNoLinesOfText returns an initialized NoLinesOfText instance +func NewNoLinesOfText(text string) *NoLinesOfText { + var m NoLinesOfText + m.SetText(text) + return &m +} + func (m *NoLinesOfText) SetText(v string) { m.Text = v } func (m *NoLinesOfText) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } func (m *NoLinesOfText) SetEncodedText(v string) { m.EncodedText = &v } diff --git a/fix50/listordgrp/ListOrdGrp.go b/fix50/listordgrp/ListOrdGrp.go index 442b63ac6..d9bd0e74c 100644 --- a/fix50/listordgrp/ListOrdGrp.go +++ b/fix50/listordgrp/ListOrdGrp.go @@ -19,6 +19,7 @@ import ( "time" ) +//New returns an initialized ListOrdGrp instance func New(noorders []NoOrders) *ListOrdGrp { var m ListOrdGrp m.SetNoOrders(noorders) @@ -199,6 +200,17 @@ type NoOrders struct { ExDestinationIDSource *string `fix:"1133"` } +//NewNoOrders returns an initialized NoOrders instance +func NewNoOrders(clordid string, listseqno int, instrument instrument.Instrument, side string, orderqtydata orderqtydata.OrderQtyData) *NoOrders { + var m NoOrders + m.SetClOrdID(clordid) + m.SetListSeqNo(listseqno) + m.SetInstrument(instrument) + m.SetSide(side) + m.SetOrderQtyData(orderqtydata) + return &m +} + func (m *NoOrders) SetClOrdID(v string) { m.ClOrdID = v } func (m *NoOrders) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } func (m *NoOrders) SetListSeqNo(v int) { m.ListSeqNo = v } diff --git a/fix50/mdfullgrp/MDFullGrp.go b/fix50/mdfullgrp/MDFullGrp.go index 9eaf15b35..5a9743ce8 100644 --- a/fix50/mdfullgrp/MDFullGrp.go +++ b/fix50/mdfullgrp/MDFullGrp.go @@ -5,6 +5,7 @@ import ( "time" ) +//New returns an initialized MDFullGrp instance func New(nomdentries []NoMDEntries) *MDFullGrp { var m MDFullGrp m.SetNoMDEntries(nomdentries) @@ -115,6 +116,13 @@ type NoMDEntries struct { OrdType *string `fix:"40"` } +//NewNoMDEntries returns an initialized NoMDEntries instance +func NewNoMDEntries(mdentrytype string) *NoMDEntries { + var m NoMDEntries + m.SetMDEntryType(mdentrytype) + return &m +} + func (m *NoMDEntries) SetMDEntryType(v string) { m.MDEntryType = v } func (m *NoMDEntries) SetMDEntryPx(v float64) { m.MDEntryPx = &v } func (m *NoMDEntries) SetCurrency(v string) { m.Currency = &v } diff --git a/fix50/mdincgrp/MDIncGrp.go b/fix50/mdincgrp/MDIncGrp.go index 465163d7b..cbcde1641 100644 --- a/fix50/mdincgrp/MDIncGrp.go +++ b/fix50/mdincgrp/MDIncGrp.go @@ -8,6 +8,7 @@ import ( "time" ) +//New returns an initialized MDIncGrp instance func New(nomdentries []NoMDEntries) *MDIncGrp { var m MDIncGrp m.SetNoMDEntries(nomdentries) @@ -136,6 +137,13 @@ type NoMDEntries struct { OrdType *string `fix:"40"` } +//NewNoMDEntries returns an initialized NoMDEntries instance +func NewNoMDEntries(mdupdateaction string) *NoMDEntries { + var m NoMDEntries + m.SetMDUpdateAction(mdupdateaction) + return &m +} + func (m *NoMDEntries) SetMDUpdateAction(v string) { m.MDUpdateAction = v } func (m *NoMDEntries) SetDeleteReason(v string) { m.DeleteReason = &v } func (m *NoMDEntries) SetMDEntryType(v string) { m.MDEntryType = &v } diff --git a/fix50/mdreqgrp/MDReqGrp.go b/fix50/mdreqgrp/MDReqGrp.go index 26fde8717..b98858649 100644 --- a/fix50/mdreqgrp/MDReqGrp.go +++ b/fix50/mdreqgrp/MDReqGrp.go @@ -1,5 +1,6 @@ package mdreqgrp +//New returns an initialized MDReqGrp instance func New(nomdentrytypes []NoMDEntryTypes) *MDReqGrp { var m MDReqGrp m.SetNoMDEntryTypes(nomdentrytypes) @@ -12,6 +13,13 @@ type NoMDEntryTypes struct { MDEntryType string `fix:"269"` } +//NewNoMDEntryTypes returns an initialized NoMDEntryTypes instance +func NewNoMDEntryTypes(mdentrytype string) *NoMDEntryTypes { + var m NoMDEntryTypes + m.SetMDEntryType(mdentrytype) + return &m +} + func (m *NoMDEntryTypes) SetMDEntryType(v string) { m.MDEntryType = v } //MDReqGrp is a fix50 Component diff --git a/fix50/mdrjctgrp/MDRjctGrp.go b/fix50/mdrjctgrp/MDRjctGrp.go index f9da6c494..57a51831e 100644 --- a/fix50/mdrjctgrp/MDRjctGrp.go +++ b/fix50/mdrjctgrp/MDRjctGrp.go @@ -1,5 +1,6 @@ package mdrjctgrp +//New returns an initialized MDRjctGrp instance func New() *MDRjctGrp { var m MDRjctGrp return &m @@ -11,6 +12,12 @@ type NoAltMDSource struct { AltMDSourceID *string `fix:"817"` } +//NewNoAltMDSource returns an initialized NoAltMDSource instance +func NewNoAltMDSource() *NoAltMDSource { + var m NoAltMDSource + return &m +} + func (m *NoAltMDSource) SetAltMDSourceID(v string) { m.AltMDSourceID = &v } //MDRjctGrp is a fix50 Component diff --git a/fix50/miscfeesgrp/MiscFeesGrp.go b/fix50/miscfeesgrp/MiscFeesGrp.go index da256dab6..5532c66af 100644 --- a/fix50/miscfeesgrp/MiscFeesGrp.go +++ b/fix50/miscfeesgrp/MiscFeesGrp.go @@ -1,5 +1,6 @@ package miscfeesgrp +//New returns an initialized MiscFeesGrp instance func New() *MiscFeesGrp { var m MiscFeesGrp return &m @@ -17,6 +18,12 @@ type NoMiscFees struct { MiscFeeBasis *int `fix:"891"` } +//NewNoMiscFees returns an initialized NoMiscFees instance +func NewNoMiscFees() *NoMiscFees { + var m NoMiscFees + return &m +} + func (m *NoMiscFees) SetMiscFeeAmt(v float64) { m.MiscFeeAmt = &v } func (m *NoMiscFees) SetMiscFeeCurr(v string) { m.MiscFeeCurr = &v } func (m *NoMiscFees) SetMiscFeeType(v string) { m.MiscFeeType = &v } diff --git a/fix50/msgtypegrp/MsgTypeGrp.go b/fix50/msgtypegrp/MsgTypeGrp.go index 125221c4d..561e8468e 100644 --- a/fix50/msgtypegrp/MsgTypeGrp.go +++ b/fix50/msgtypegrp/MsgTypeGrp.go @@ -1,5 +1,6 @@ package msgtypegrp +//New returns an initialized MsgTypeGrp instance func New() *MsgTypeGrp { var m MsgTypeGrp return &m @@ -17,6 +18,12 @@ type NoMsgTypes struct { RefCstmApplVerID *string `fix:"1131"` } +//NewNoMsgTypes returns an initialized NoMsgTypes instance +func NewNoMsgTypes() *NoMsgTypes { + var m NoMsgTypes + return &m +} + func (m *NoMsgTypes) SetRefMsgType(v string) { m.RefMsgType = &v } func (m *NoMsgTypes) SetMsgDirection(v string) { m.MsgDirection = &v } func (m *NoMsgTypes) SetRefApplVerID(v string) { m.RefApplVerID = &v } diff --git a/fix50/nestedparties/NestedParties.go b/fix50/nestedparties/NestedParties.go index 6b5dda65a..ffef5761a 100644 --- a/fix50/nestedparties/NestedParties.go +++ b/fix50/nestedparties/NestedParties.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/nstdptyssubgrp" ) +//New returns an initialized NestedParties instance func New() *NestedParties { var m NestedParties return &m @@ -21,6 +22,12 @@ type NoNestedPartyIDs struct { NstdPtysSubGrp *nstdptyssubgrp.NstdPtysSubGrp } +//NewNoNestedPartyIDs returns an initialized NoNestedPartyIDs instance +func NewNoNestedPartyIDs() *NoNestedPartyIDs { + var m NoNestedPartyIDs + return &m +} + func (m *NoNestedPartyIDs) SetNestedPartyID(v string) { m.NestedPartyID = &v } func (m *NoNestedPartyIDs) SetNestedPartyIDSource(v string) { m.NestedPartyIDSource = &v } func (m *NoNestedPartyIDs) SetNestedPartyRole(v int) { m.NestedPartyRole = &v } diff --git a/fix50/nestedparties2/NestedParties2.go b/fix50/nestedparties2/NestedParties2.go index dfeeadc40..c4bc4bc81 100644 --- a/fix50/nestedparties2/NestedParties2.go +++ b/fix50/nestedparties2/NestedParties2.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/nstdptys2subgrp" ) +//New returns an initialized NestedParties2 instance func New() *NestedParties2 { var m NestedParties2 return &m @@ -21,6 +22,12 @@ type NoNested2PartyIDs struct { NstdPtys2SubGrp *nstdptys2subgrp.NstdPtys2SubGrp } +//NewNoNested2PartyIDs returns an initialized NoNested2PartyIDs instance +func NewNoNested2PartyIDs() *NoNested2PartyIDs { + var m NoNested2PartyIDs + return &m +} + func (m *NoNested2PartyIDs) SetNested2PartyID(v string) { m.Nested2PartyID = &v } func (m *NoNested2PartyIDs) SetNested2PartyIDSource(v string) { m.Nested2PartyIDSource = &v } func (m *NoNested2PartyIDs) SetNested2PartyRole(v int) { m.Nested2PartyRole = &v } diff --git a/fix50/nestedparties3/NestedParties3.go b/fix50/nestedparties3/NestedParties3.go index 90fc92361..fa81f4733 100644 --- a/fix50/nestedparties3/NestedParties3.go +++ b/fix50/nestedparties3/NestedParties3.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/nstdptys3subgrp" ) +//New returns an initialized NestedParties3 instance func New() *NestedParties3 { var m NestedParties3 return &m @@ -21,6 +22,12 @@ type NoNested3PartyIDs struct { NstdPtys3SubGrp *nstdptys3subgrp.NstdPtys3SubGrp } +//NewNoNested3PartyIDs returns an initialized NoNested3PartyIDs instance +func NewNoNested3PartyIDs() *NoNested3PartyIDs { + var m NoNested3PartyIDs + return &m +} + func (m *NoNested3PartyIDs) SetNested3PartyID(v string) { m.Nested3PartyID = &v } func (m *NoNested3PartyIDs) SetNested3PartyIDSource(v string) { m.Nested3PartyIDSource = &v } func (m *NoNested3PartyIDs) SetNested3PartyRole(v int) { m.Nested3PartyRole = &v } diff --git a/fix50/nstdptys2subgrp/NstdPtys2SubGrp.go b/fix50/nstdptys2subgrp/NstdPtys2SubGrp.go index 7f7de3e4a..629a92c28 100644 --- a/fix50/nstdptys2subgrp/NstdPtys2SubGrp.go +++ b/fix50/nstdptys2subgrp/NstdPtys2SubGrp.go @@ -1,5 +1,6 @@ package nstdptys2subgrp +//New returns an initialized NstdPtys2SubGrp instance func New() *NstdPtys2SubGrp { var m NstdPtys2SubGrp return &m @@ -13,6 +14,12 @@ type NoNested2PartySubIDs struct { Nested2PartySubIDType *int `fix:"807"` } +//NewNoNested2PartySubIDs returns an initialized NoNested2PartySubIDs instance +func NewNoNested2PartySubIDs() *NoNested2PartySubIDs { + var m NoNested2PartySubIDs + return &m +} + func (m *NoNested2PartySubIDs) SetNested2PartySubID(v string) { m.Nested2PartySubID = &v } func (m *NoNested2PartySubIDs) SetNested2PartySubIDType(v int) { m.Nested2PartySubIDType = &v } diff --git a/fix50/nstdptys3subgrp/NstdPtys3SubGrp.go b/fix50/nstdptys3subgrp/NstdPtys3SubGrp.go index 32c8a500c..df62d94f8 100644 --- a/fix50/nstdptys3subgrp/NstdPtys3SubGrp.go +++ b/fix50/nstdptys3subgrp/NstdPtys3SubGrp.go @@ -1,5 +1,6 @@ package nstdptys3subgrp +//New returns an initialized NstdPtys3SubGrp instance func New() *NstdPtys3SubGrp { var m NstdPtys3SubGrp return &m @@ -13,6 +14,12 @@ type NoNested3PartySubIDs struct { Nested3PartySubIDType *int `fix:"954"` } +//NewNoNested3PartySubIDs returns an initialized NoNested3PartySubIDs instance +func NewNoNested3PartySubIDs() *NoNested3PartySubIDs { + var m NoNested3PartySubIDs + return &m +} + func (m *NoNested3PartySubIDs) SetNested3PartySubID(v string) { m.Nested3PartySubID = &v } func (m *NoNested3PartySubIDs) SetNested3PartySubIDType(v int) { m.Nested3PartySubIDType = &v } diff --git a/fix50/nstdptyssubgrp/NstdPtysSubGrp.go b/fix50/nstdptyssubgrp/NstdPtysSubGrp.go index 6edb4ece7..925dd87e9 100644 --- a/fix50/nstdptyssubgrp/NstdPtysSubGrp.go +++ b/fix50/nstdptyssubgrp/NstdPtysSubGrp.go @@ -1,5 +1,6 @@ package nstdptyssubgrp +//New returns an initialized NstdPtysSubGrp instance func New() *NstdPtysSubGrp { var m NstdPtysSubGrp return &m @@ -13,6 +14,12 @@ type NoNestedPartySubIDs struct { NestedPartySubIDType *int `fix:"805"` } +//NewNoNestedPartySubIDs returns an initialized NoNestedPartySubIDs instance +func NewNoNestedPartySubIDs() *NoNestedPartySubIDs { + var m NoNestedPartySubIDs + return &m +} + func (m *NoNestedPartySubIDs) SetNestedPartySubID(v string) { m.NestedPartySubID = &v } func (m *NoNestedPartySubIDs) SetNestedPartySubIDType(v int) { m.NestedPartySubIDType = &v } diff --git a/fix50/ordallocgrp/OrdAllocGrp.go b/fix50/ordallocgrp/OrdAllocGrp.go index 1b49bece6..0554bd196 100644 --- a/fix50/ordallocgrp/OrdAllocGrp.go +++ b/fix50/ordallocgrp/OrdAllocGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/nestedparties2" ) +//New returns an initialized OrdAllocGrp instance func New() *OrdAllocGrp { var m OrdAllocGrp return &m @@ -31,6 +32,12 @@ type NoOrders struct { OrderBookingQty *float64 `fix:"800"` } +//NewNoOrders returns an initialized NoOrders instance +func NewNoOrders() *NoOrders { + var m NoOrders + return &m +} + func (m *NoOrders) SetClOrdID(v string) { m.ClOrdID = &v } func (m *NoOrders) SetOrderID(v string) { m.OrderID = &v } func (m *NoOrders) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } diff --git a/fix50/orderqtydata/OrderQtyData.go b/fix50/orderqtydata/OrderQtyData.go index 380155642..2cf272936 100644 --- a/fix50/orderqtydata/OrderQtyData.go +++ b/fix50/orderqtydata/OrderQtyData.go @@ -1,5 +1,6 @@ package orderqtydata +//New returns an initialized OrderQtyData instance func New() *OrderQtyData { var m OrderQtyData return &m diff --git a/fix50/ordliststatgrp/OrdListStatGrp.go b/fix50/ordliststatgrp/OrdListStatGrp.go index 0d3acd925..4e8efaabf 100644 --- a/fix50/ordliststatgrp/OrdListStatGrp.go +++ b/fix50/ordliststatgrp/OrdListStatGrp.go @@ -1,5 +1,6 @@ package ordliststatgrp +//New returns an initialized OrdListStatGrp instance func New(noorders []NoOrders) *OrdListStatGrp { var m OrdListStatGrp m.SetNoOrders(noorders) @@ -34,6 +35,18 @@ type NoOrders struct { EncodedText *string `fix:"355"` } +//NewNoOrders returns an initialized NoOrders instance +func NewNoOrders(clordid string, cumqty float64, ordstatus string, leavesqty float64, cxlqty float64, avgpx float64) *NoOrders { + var m NoOrders + m.SetClOrdID(clordid) + m.SetCumQty(cumqty) + m.SetOrdStatus(ordstatus) + m.SetLeavesQty(leavesqty) + m.SetCxlQty(cxlqty) + m.SetAvgPx(avgpx) + return &m +} + func (m *NoOrders) SetClOrdID(v string) { m.ClOrdID = v } func (m *NoOrders) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } func (m *NoOrders) SetCumQty(v float64) { m.CumQty = v } diff --git a/fix50/parties/Parties.go b/fix50/parties/Parties.go index 3529c5c2e..2585d3aed 100644 --- a/fix50/parties/Parties.go +++ b/fix50/parties/Parties.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/ptyssubgrp" ) +//New returns an initialized Parties instance func New() *Parties { var m Parties return &m @@ -21,6 +22,12 @@ type NoPartyIDs struct { PtysSubGrp *ptyssubgrp.PtysSubGrp } +//NewNoPartyIDs returns an initialized NoPartyIDs instance +func NewNoPartyIDs() *NoPartyIDs { + var m NoPartyIDs + return &m +} + func (m *NoPartyIDs) SetPartyID(v string) { m.PartyID = &v } func (m *NoPartyIDs) SetPartyIDSource(v string) { m.PartyIDSource = &v } func (m *NoPartyIDs) SetPartyRole(v int) { m.PartyRole = &v } diff --git a/fix50/peginstructions/PegInstructions.go b/fix50/peginstructions/PegInstructions.go index 14e24aa23..8dc4681b2 100644 --- a/fix50/peginstructions/PegInstructions.go +++ b/fix50/peginstructions/PegInstructions.go @@ -1,5 +1,6 @@ package peginstructions +//New returns an initialized PegInstructions instance func New() *PegInstructions { var m PegInstructions return &m diff --git a/fix50/positionamountdata/PositionAmountData.go b/fix50/positionamountdata/PositionAmountData.go index 66109f7dc..a77e90abe 100644 --- a/fix50/positionamountdata/PositionAmountData.go +++ b/fix50/positionamountdata/PositionAmountData.go @@ -1,5 +1,6 @@ package positionamountdata +//New returns an initialized PositionAmountData instance func New() *PositionAmountData { var m PositionAmountData return &m @@ -15,6 +16,12 @@ type NoPosAmt struct { PositionCurrency *string `fix:"1055"` } +//NewNoPosAmt returns an initialized NoPosAmt instance +func NewNoPosAmt() *NoPosAmt { + var m NoPosAmt + return &m +} + func (m *NoPosAmt) SetPosAmtType(v string) { m.PosAmtType = &v } func (m *NoPosAmt) SetPosAmt(v float64) { m.PosAmt = &v } func (m *NoPosAmt) SetPositionCurrency(v string) { m.PositionCurrency = &v } diff --git a/fix50/positionqty/PositionQty.go b/fix50/positionqty/PositionQty.go index c2d01803b..0eaa3d0d0 100644 --- a/fix50/positionqty/PositionQty.go +++ b/fix50/positionqty/PositionQty.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/nestedparties" ) +//New returns an initialized PositionQty instance func New() *PositionQty { var m PositionQty return &m @@ -25,6 +26,12 @@ type NoPositions struct { QuantityDate *string `fix:"976"` } +//NewNoPositions returns an initialized NoPositions instance +func NewNoPositions() *NoPositions { + var m NoPositions + return &m +} + func (m *NoPositions) SetPosType(v string) { m.PosType = &v } func (m *NoPositions) SetLongQty(v float64) { m.LongQty = &v } func (m *NoPositions) SetShortQty(v float64) { m.ShortQty = &v } diff --git a/fix50/posundinstrmtgrp/PosUndInstrmtGrp.go b/fix50/posundinstrmtgrp/PosUndInstrmtGrp.go index 23f380829..ce4cf2454 100644 --- a/fix50/posundinstrmtgrp/PosUndInstrmtGrp.go +++ b/fix50/posundinstrmtgrp/PosUndInstrmtGrp.go @@ -5,6 +5,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/underlyinginstrument" ) +//New returns an initialized PosUndInstrmtGrp instance func New() *PosUndInstrmtGrp { var m PosUndInstrmtGrp return &m @@ -24,6 +25,12 @@ type NoUnderlyings struct { UnderlyingDeliveryAmount *float64 `fix:"1037"` } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } diff --git a/fix50/preallocgrp/PreAllocGrp.go b/fix50/preallocgrp/PreAllocGrp.go index e819bd3ab..ddbba429a 100644 --- a/fix50/preallocgrp/PreAllocGrp.go +++ b/fix50/preallocgrp/PreAllocGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/nestedparties" ) +//New returns an initialized PreAllocGrp instance func New() *PreAllocGrp { var m PreAllocGrp return &m @@ -25,6 +26,12 @@ type NoAllocs struct { AllocQty *float64 `fix:"80"` } +//NewNoAllocs returns an initialized NoAllocs instance +func NewNoAllocs() *NoAllocs { + var m NoAllocs + return &m +} + func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } func (m *NoAllocs) SetAllocSettlCurrency(v string) { m.AllocSettlCurrency = &v } diff --git a/fix50/preallocmleggrp/PreAllocMlegGrp.go b/fix50/preallocmleggrp/PreAllocMlegGrp.go index 2ee48c182..e50396071 100644 --- a/fix50/preallocmleggrp/PreAllocMlegGrp.go +++ b/fix50/preallocmleggrp/PreAllocMlegGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/nestedparties3" ) +//New returns an initialized PreAllocMlegGrp instance func New() *PreAllocMlegGrp { var m PreAllocMlegGrp return &m @@ -25,6 +26,12 @@ type NoAllocs struct { AllocQty *float64 `fix:"80"` } +//NewNoAllocs returns an initialized NoAllocs instance +func NewNoAllocs() *NoAllocs { + var m NoAllocs + return &m +} + func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } func (m *NoAllocs) SetAllocSettlCurrency(v string) { m.AllocSettlCurrency = &v } diff --git a/fix50/ptyssubgrp/PtysSubGrp.go b/fix50/ptyssubgrp/PtysSubGrp.go index c74250370..2dff146df 100644 --- a/fix50/ptyssubgrp/PtysSubGrp.go +++ b/fix50/ptyssubgrp/PtysSubGrp.go @@ -1,5 +1,6 @@ package ptyssubgrp +//New returns an initialized PtysSubGrp instance func New() *PtysSubGrp { var m PtysSubGrp return &m @@ -13,6 +14,12 @@ type NoPartySubIDs struct { PartySubIDType *int `fix:"803"` } +//NewNoPartySubIDs returns an initialized NoPartySubIDs instance +func NewNoPartySubIDs() *NoPartySubIDs { + var m NoPartySubIDs + return &m +} + func (m *NoPartySubIDs) SetPartySubID(v string) { m.PartySubID = &v } func (m *NoPartySubIDs) SetPartySubIDType(v int) { m.PartySubIDType = &v } diff --git a/fix50/quotcxlentriesgrp/QuotCxlEntriesGrp.go b/fix50/quotcxlentriesgrp/QuotCxlEntriesGrp.go index 6c83ce113..d34f60955 100644 --- a/fix50/quotcxlentriesgrp/QuotCxlEntriesGrp.go +++ b/fix50/quotcxlentriesgrp/QuotCxlEntriesGrp.go @@ -7,6 +7,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/undinstrmtgrp" ) +//New returns an initialized QuotCxlEntriesGrp instance func New() *QuotCxlEntriesGrp { var m QuotCxlEntriesGrp return &m @@ -24,6 +25,12 @@ type NoQuoteEntries struct { InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp } +//NewNoQuoteEntries returns an initialized NoQuoteEntries instance +func NewNoQuoteEntries() *NoQuoteEntries { + var m NoQuoteEntries + return &m +} + func (m *NoQuoteEntries) SetInstrument(v instrument.Instrument) { m.Instrument = &v } func (m *NoQuoteEntries) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v diff --git a/fix50/quotentryackgrp/QuotEntryAckGrp.go b/fix50/quotentryackgrp/QuotEntryAckGrp.go index 4d9c61a82..8ab58e9f5 100644 --- a/fix50/quotentryackgrp/QuotEntryAckGrp.go +++ b/fix50/quotentryackgrp/QuotEntryAckGrp.go @@ -6,6 +6,7 @@ import ( "time" ) +//New returns an initialized QuotEntryAckGrp instance func New() *QuotEntryAckGrp { var m QuotEntryAckGrp return &m @@ -69,6 +70,12 @@ type NoQuoteEntries struct { QuoteEntryRejectReason *int `fix:"368"` } +//NewNoQuoteEntries returns an initialized NoQuoteEntries instance +func NewNoQuoteEntries() *NoQuoteEntries { + var m NoQuoteEntries + return &m +} + func (m *NoQuoteEntries) SetQuoteEntryID(v string) { m.QuoteEntryID = &v } func (m *NoQuoteEntries) SetInstrument(v instrument.Instrument) { m.Instrument = &v } func (m *NoQuoteEntries) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } diff --git a/fix50/quotentrygrp/QuotEntryGrp.go b/fix50/quotentrygrp/QuotEntryGrp.go index 8797587ac..4de645047 100644 --- a/fix50/quotentrygrp/QuotEntryGrp.go +++ b/fix50/quotentrygrp/QuotEntryGrp.go @@ -6,6 +6,7 @@ import ( "time" ) +//New returns an initialized QuotEntryGrp instance func New(noquoteentries []NoQuoteEntries) *QuotEntryGrp { var m QuotEntryGrp m.SetNoQuoteEntries(noquoteentries) @@ -68,6 +69,13 @@ type NoQuoteEntries struct { Currency *string `fix:"15"` } +//NewNoQuoteEntries returns an initialized NoQuoteEntries instance +func NewNoQuoteEntries(quoteentryid string) *NoQuoteEntries { + var m NoQuoteEntries + m.SetQuoteEntryID(quoteentryid) + return &m +} + func (m *NoQuoteEntries) SetQuoteEntryID(v string) { m.QuoteEntryID = v } func (m *NoQuoteEntries) SetInstrument(v instrument.Instrument) { m.Instrument = &v } func (m *NoQuoteEntries) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } diff --git a/fix50/quotqualgrp/QuotQualGrp.go b/fix50/quotqualgrp/QuotQualGrp.go index aa876bbb6..d88489181 100644 --- a/fix50/quotqualgrp/QuotQualGrp.go +++ b/fix50/quotqualgrp/QuotQualGrp.go @@ -1,5 +1,6 @@ package quotqualgrp +//New returns an initialized QuotQualGrp instance func New() *QuotQualGrp { var m QuotQualGrp return &m @@ -11,6 +12,12 @@ type NoQuoteQualifiers struct { QuoteQualifier *string `fix:"695"` } +//NewNoQuoteQualifiers returns an initialized NoQuoteQualifiers instance +func NewNoQuoteQualifiers() *NoQuoteQualifiers { + var m NoQuoteQualifiers + return &m +} + func (m *NoQuoteQualifiers) SetQuoteQualifier(v string) { m.QuoteQualifier = &v } //QuotQualGrp is a fix50 Component diff --git a/fix50/quotreqgrp/QuotReqGrp.go b/fix50/quotreqgrp/QuotReqGrp.go index 156481a60..a236b2637 100644 --- a/fix50/quotreqgrp/QuotReqGrp.go +++ b/fix50/quotreqgrp/QuotReqGrp.go @@ -14,6 +14,7 @@ import ( "time" ) +//New returns an initialized QuotReqGrp instance func New(norelatedsym []NoRelatedSym) *QuotReqGrp { var m QuotReqGrp m.SetNoRelatedSym(norelatedsym) @@ -92,6 +93,13 @@ type NoRelatedSym struct { Parties *parties.Parties } +//NewNoRelatedSym returns an initialized NoRelatedSym instance +func NewNoRelatedSym(instrument instrument.Instrument) *NoRelatedSym { + var m NoRelatedSym + m.SetInstrument(instrument) + return &m +} + func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = v } func (m *NoRelatedSym) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v diff --git a/fix50/quotreqlegsgrp/QuotReqLegsGrp.go b/fix50/quotreqlegsgrp/QuotReqLegsGrp.go index 98f0c9ae7..5cb936ada 100644 --- a/fix50/quotreqlegsgrp/QuotReqLegsGrp.go +++ b/fix50/quotreqlegsgrp/QuotReqLegsGrp.go @@ -7,6 +7,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/nestedparties" ) +//New returns an initialized QuotReqLegsGrp instance func New() *QuotReqLegsGrp { var m QuotReqLegsGrp return &m @@ -40,6 +41,12 @@ type NoLegs struct { LegRefID *string `fix:"654"` } +//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) SetLegQty(v float64) { m.LegQty = &v } func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } diff --git a/fix50/quotreqrjctgrp/QuotReqRjctGrp.go b/fix50/quotreqrjctgrp/QuotReqRjctGrp.go index 1bf8c5f24..72c2a48ab 100644 --- a/fix50/quotreqrjctgrp/QuotReqRjctGrp.go +++ b/fix50/quotreqrjctgrp/QuotReqRjctGrp.go @@ -14,6 +14,7 @@ import ( "time" ) +//New returns an initialized QuotReqRjctGrp instance func New(norelatedsym []NoRelatedSym) *QuotReqRjctGrp { var m QuotReqRjctGrp m.SetNoRelatedSym(norelatedsym) @@ -90,6 +91,13 @@ type NoRelatedSym struct { Parties *parties.Parties } +//NewNoRelatedSym returns an initialized NoRelatedSym instance +func NewNoRelatedSym(instrument instrument.Instrument) *NoRelatedSym { + var m NoRelatedSym + m.SetInstrument(instrument) + return &m +} + func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = v } func (m *NoRelatedSym) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v diff --git a/fix50/quotsetackgrp/QuotSetAckGrp.go b/fix50/quotsetackgrp/QuotSetAckGrp.go index 07b457430..01c543c30 100644 --- a/fix50/quotsetackgrp/QuotSetAckGrp.go +++ b/fix50/quotsetackgrp/QuotSetAckGrp.go @@ -5,6 +5,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/underlyinginstrument" ) +//New returns an initialized QuotSetAckGrp instance func New() *QuotSetAckGrp { var m QuotSetAckGrp return &m @@ -24,6 +25,12 @@ type NoQuoteSets struct { QuotEntryAckGrp *quotentryackgrp.QuotEntryAckGrp } +//NewNoQuoteSets returns an initialized NoQuoteSets instance +func NewNoQuoteSets() *NoQuoteSets { + var m NoQuoteSets + return &m +} + func (m *NoQuoteSets) SetQuoteSetID(v string) { m.QuoteSetID = &v } func (m *NoQuoteSets) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v diff --git a/fix50/quotsetgrp/QuotSetGrp.go b/fix50/quotsetgrp/QuotSetGrp.go index d91ecf8ba..8df44af4b 100644 --- a/fix50/quotsetgrp/QuotSetGrp.go +++ b/fix50/quotsetgrp/QuotSetGrp.go @@ -6,6 +6,7 @@ import ( "time" ) +//New returns an initialized QuotSetGrp instance func New(noquotesets []NoQuoteSets) *QuotSetGrp { var m QuotSetGrp m.SetNoQuoteSets(noquotesets) @@ -28,6 +29,15 @@ type NoQuoteSets struct { quotentrygrp.QuotEntryGrp } +//NewNoQuoteSets returns an initialized NoQuoteSets instance +func NewNoQuoteSets(quotesetid string, totnoquoteentries int, quotentrygrp quotentrygrp.QuotEntryGrp) *NoQuoteSets { + var m NoQuoteSets + m.SetQuoteSetID(quotesetid) + m.SetTotNoQuoteEntries(totnoquoteentries) + m.SetQuotEntryGrp(quotentrygrp) + return &m +} + func (m *NoQuoteSets) SetQuoteSetID(v string) { m.QuoteSetID = v } func (m *NoQuoteSets) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v diff --git a/fix50/relsymderivsecgrp/RelSymDerivSecGrp.go b/fix50/relsymderivsecgrp/RelSymDerivSecGrp.go index fd1b80d1f..1908daf12 100644 --- a/fix50/relsymderivsecgrp/RelSymDerivSecGrp.go +++ b/fix50/relsymderivsecgrp/RelSymDerivSecGrp.go @@ -6,6 +6,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/instrumentextension" ) +//New returns an initialized RelSymDerivSecGrp instance func New() *RelSymDerivSecGrp { var m RelSymDerivSecGrp return &m @@ -35,6 +36,12 @@ type NoRelatedSym struct { 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 } diff --git a/fix50/rfqreqgrp/RFQReqGrp.go b/fix50/rfqreqgrp/RFQReqGrp.go index 2e5a5da59..ef6bffbe2 100644 --- a/fix50/rfqreqgrp/RFQReqGrp.go +++ b/fix50/rfqreqgrp/RFQReqGrp.go @@ -6,6 +6,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/undinstrmtgrp" ) +//New returns an initialized RFQReqGrp instance func New(norelatedsym []NoRelatedSym) *RFQReqGrp { var m RFQReqGrp m.SetNoRelatedSym(norelatedsym) @@ -32,6 +33,13 @@ type NoRelatedSym struct { TradingSessionSubID *string `fix:"625"` } +//NewNoRelatedSym returns an initialized NoRelatedSym instance +func NewNoRelatedSym(instrument instrument.Instrument) *NoRelatedSym { + var m NoRelatedSym + m.SetInstrument(instrument) + return &m +} + func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = v } func (m *NoRelatedSym) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } func (m *NoRelatedSym) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } diff --git a/fix50/rgstdistinstgrp/RgstDistInstGrp.go b/fix50/rgstdistinstgrp/RgstDistInstGrp.go index 247a9cece..02e02a73d 100644 --- a/fix50/rgstdistinstgrp/RgstDistInstGrp.go +++ b/fix50/rgstdistinstgrp/RgstDistInstGrp.go @@ -1,5 +1,6 @@ package rgstdistinstgrp +//New returns an initialized RgstDistInstGrp instance func New() *RgstDistInstGrp { var m RgstDistInstGrp return &m @@ -25,6 +26,12 @@ type NoDistribInsts struct { CashDistribAgentAcctName *string `fix:"502"` } +//NewNoDistribInsts returns an initialized NoDistribInsts instance +func NewNoDistribInsts() *NoDistribInsts { + var m NoDistribInsts + return &m +} + func (m *NoDistribInsts) SetDistribPaymentMethod(v int) { m.DistribPaymentMethod = &v } func (m *NoDistribInsts) SetDistribPercentage(v float64) { m.DistribPercentage = &v } func (m *NoDistribInsts) SetCashDistribCurr(v string) { m.CashDistribCurr = &v } diff --git a/fix50/rgstdtlsgrp/RgstDtlsGrp.go b/fix50/rgstdtlsgrp/RgstDtlsGrp.go index 323ac719c..279521acb 100644 --- a/fix50/rgstdtlsgrp/RgstDtlsGrp.go +++ b/fix50/rgstdtlsgrp/RgstDtlsGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/nestedparties" ) +//New returns an initialized RgstDtlsGrp instance func New() *RgstDtlsGrp { var m RgstDtlsGrp return &m @@ -29,6 +30,12 @@ type NoRegistDtls struct { InvestorCountryOfResidence *string `fix:"475"` } +//NewNoRegistDtls returns an initialized NoRegistDtls instance +func NewNoRegistDtls() *NoRegistDtls { + var m NoRegistDtls + return &m +} + func (m *NoRegistDtls) SetRegistDtls(v string) { m.RegistDtls = &v } func (m *NoRegistDtls) SetRegistEmail(v string) { m.RegistEmail = &v } func (m *NoRegistDtls) SetMailingDtls(v string) { m.MailingDtls = &v } diff --git a/fix50/rootparties/RootParties.go b/fix50/rootparties/RootParties.go index 41fe60447..876614a13 100644 --- a/fix50/rootparties/RootParties.go +++ b/fix50/rootparties/RootParties.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/rootsubparties" ) +//New returns an initialized RootParties instance func New() *RootParties { var m RootParties return &m @@ -21,6 +22,12 @@ type NoRootPartyIDs struct { RootSubParties *rootsubparties.RootSubParties } +//NewNoRootPartyIDs returns an initialized NoRootPartyIDs instance +func NewNoRootPartyIDs() *NoRootPartyIDs { + var m NoRootPartyIDs + return &m +} + func (m *NoRootPartyIDs) SetRootPartyID(v string) { m.RootPartyID = &v } func (m *NoRootPartyIDs) SetRootPartyIDSource(v string) { m.RootPartyIDSource = &v } func (m *NoRootPartyIDs) SetRootPartyRole(v int) { m.RootPartyRole = &v } diff --git a/fix50/rootsubparties/RootSubParties.go b/fix50/rootsubparties/RootSubParties.go index 61c844540..7c96623ea 100644 --- a/fix50/rootsubparties/RootSubParties.go +++ b/fix50/rootsubparties/RootSubParties.go @@ -1,5 +1,6 @@ package rootsubparties +//New returns an initialized RootSubParties instance func New() *RootSubParties { var m RootSubParties return &m @@ -13,6 +14,12 @@ type NoRootPartySubIDs struct { RootPartySubIDType *int `fix:"1122"` } +//NewNoRootPartySubIDs returns an initialized NoRootPartySubIDs instance +func NewNoRootPartySubIDs() *NoRootPartySubIDs { + var m NoRootPartySubIDs + return &m +} + func (m *NoRootPartySubIDs) SetRootPartySubID(v string) { m.RootPartySubID = &v } func (m *NoRootPartySubIDs) SetRootPartySubIDType(v int) { m.RootPartySubIDType = &v } diff --git a/fix50/routinggrp/RoutingGrp.go b/fix50/routinggrp/RoutingGrp.go index 649d85fd3..b8bf6ae85 100644 --- a/fix50/routinggrp/RoutingGrp.go +++ b/fix50/routinggrp/RoutingGrp.go @@ -1,5 +1,6 @@ package routinggrp +//New returns an initialized RoutingGrp instance func New() *RoutingGrp { var m RoutingGrp return &m @@ -13,6 +14,12 @@ type NoRoutingIDs struct { RoutingID *string `fix:"217"` } +//NewNoRoutingIDs returns an initialized NoRoutingIDs instance +func NewNoRoutingIDs() *NoRoutingIDs { + var m NoRoutingIDs + return &m +} + func (m *NoRoutingIDs) SetRoutingType(v int) { m.RoutingType = &v } func (m *NoRoutingIDs) SetRoutingID(v string) { m.RoutingID = &v } diff --git a/fix50/secaltidgrp/SecAltIDGrp.go b/fix50/secaltidgrp/SecAltIDGrp.go index bcfc69965..b6dfce529 100644 --- a/fix50/secaltidgrp/SecAltIDGrp.go +++ b/fix50/secaltidgrp/SecAltIDGrp.go @@ -1,5 +1,6 @@ package secaltidgrp +//New returns an initialized SecAltIDGrp instance func New() *SecAltIDGrp { var m SecAltIDGrp return &m @@ -13,6 +14,12 @@ type NoSecurityAltID struct { SecurityAltIDSource *string `fix:"456"` } +//NewNoSecurityAltID returns an initialized NoSecurityAltID instance +func NewNoSecurityAltID() *NoSecurityAltID { + var m NoSecurityAltID + return &m +} + func (m *NoSecurityAltID) SetSecurityAltID(v string) { m.SecurityAltID = &v } func (m *NoSecurityAltID) SetSecurityAltIDSource(v string) { m.SecurityAltIDSource = &v } diff --git a/fix50/seclistgrp/SecListGrp.go b/fix50/seclistgrp/SecListGrp.go index 146612387..62ccac3db 100644 --- a/fix50/seclistgrp/SecListGrp.go +++ b/fix50/seclistgrp/SecListGrp.go @@ -11,6 +11,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/yielddata" ) +//New returns an initialized SecListGrp instance func New() *SecListGrp { var m SecListGrp return &m @@ -54,6 +55,12 @@ type NoRelatedSym struct { 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) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { m.InstrumentExtension = &v diff --git a/fix50/seclstupdrelsymgrp/SecLstUpdRelSymGrp.go b/fix50/seclstupdrelsymgrp/SecLstUpdRelSymGrp.go index 36817400e..756eecd0d 100644 --- a/fix50/seclstupdrelsymgrp/SecLstUpdRelSymGrp.go +++ b/fix50/seclstupdrelsymgrp/SecLstUpdRelSymGrp.go @@ -11,6 +11,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/yielddata" ) +//New returns an initialized SecLstUpdRelSymGrp instance func New() *SecLstUpdRelSymGrp { var m SecLstUpdRelSymGrp return &m @@ -54,6 +55,12 @@ type NoRelatedSym struct { Stipulations *stipulations.Stipulations } +//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) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { m.InstrumentExtension = &v diff --git a/fix50/seclstupdrelsymsleggrp/SecLstUpdRelSymsLegGrp.go b/fix50/seclstupdrelsymsleggrp/SecLstUpdRelSymsLegGrp.go index 7def74eaa..c876b9a39 100644 --- a/fix50/seclstupdrelsymsleggrp/SecLstUpdRelSymsLegGrp.go +++ b/fix50/seclstupdrelsymsleggrp/SecLstUpdRelSymsLegGrp.go @@ -6,6 +6,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/legstipulations" ) +//New returns an initialized SecLstUpdRelSymsLegGrp instance func New() *SecLstUpdRelSymsLegGrp { var m SecLstUpdRelSymsLegGrp return &m @@ -25,6 +26,12 @@ type NoLegs struct { 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 } diff --git a/fix50/sectypesgrp/SecTypesGrp.go b/fix50/sectypesgrp/SecTypesGrp.go index 990d67047..10550e651 100644 --- a/fix50/sectypesgrp/SecTypesGrp.go +++ b/fix50/sectypesgrp/SecTypesGrp.go @@ -1,5 +1,6 @@ package sectypesgrp +//New returns an initialized SecTypesGrp instance func New() *SecTypesGrp { var m SecTypesGrp return &m @@ -17,6 +18,12 @@ type NoSecurityTypes struct { CFICode *string `fix:"461"` } +//NewNoSecurityTypes returns an initialized NoSecurityTypes instance +func NewNoSecurityTypes() *NoSecurityTypes { + var m NoSecurityTypes + return &m +} + func (m *NoSecurityTypes) SetSecurityType(v string) { m.SecurityType = &v } func (m *NoSecurityTypes) SetSecuritySubType(v string) { m.SecuritySubType = &v } func (m *NoSecurityTypes) SetProduct(v int) { m.Product = &v } diff --git a/fix50/securitydefinition/SecurityDefinition.go b/fix50/securitydefinition/SecurityDefinition.go index 584fc3fa9..dbdc997ea 100644 --- a/fix50/securitydefinition/SecurityDefinition.go +++ b/fix50/securitydefinition/SecurityDefinition.go @@ -19,6 +19,12 @@ type ClearingBusinessDate struct { LegPrice *float64 `fix:"566"` } +//NewClearingBusinessDate returns an initialized ClearingBusinessDate instance +func NewClearingBusinessDate() *ClearingBusinessDate { + var m ClearingBusinessDate + return &m +} + func (m *ClearingBusinessDate) SetLegOptionRatio(v float64) { m.LegOptionRatio = &v } func (m *ClearingBusinessDate) SetLegPrice(v float64) { m.LegPrice = &v } diff --git a/fix50/securitydefinitionrequest/SecurityDefinitionRequest.go b/fix50/securitydefinitionrequest/SecurityDefinitionRequest.go index 5f74da240..7f3194936 100644 --- a/fix50/securitydefinitionrequest/SecurityDefinitionRequest.go +++ b/fix50/securitydefinitionrequest/SecurityDefinitionRequest.go @@ -19,6 +19,12 @@ type SubscriptionRequestType struct { LegPrice *float64 `fix:"566"` } +//NewSubscriptionRequestType returns an initialized SubscriptionRequestType instance +func NewSubscriptionRequestType() *SubscriptionRequestType { + var m SubscriptionRequestType + return &m +} + func (m *SubscriptionRequestType) SetLegOptionRatio(v float64) { m.LegOptionRatio = &v } func (m *SubscriptionRequestType) SetLegPrice(v float64) { m.LegPrice = &v } diff --git a/fix50/settlinstgrp/SettlInstGrp.go b/fix50/settlinstgrp/SettlInstGrp.go index ec3fdb28c..ee3c4875e 100644 --- a/fix50/settlinstgrp/SettlInstGrp.go +++ b/fix50/settlinstgrp/SettlInstGrp.go @@ -6,6 +6,7 @@ import ( "time" ) +//New returns an initialized SettlInstGrp instance func New() *SettlInstGrp { var m SettlInstGrp return &m @@ -59,6 +60,12 @@ type NoSettlInst struct { SettlCurrency *string `fix:"120"` } +//NewNoSettlInst returns an initialized NoSettlInst instance +func NewNoSettlInst() *NoSettlInst { + var m NoSettlInst + return &m +} + func (m *NoSettlInst) SetSettlInstID(v string) { m.SettlInstID = &v } func (m *NoSettlInst) SetSettlInstTransType(v string) { m.SettlInstTransType = &v } func (m *NoSettlInst) SetSettlInstRefID(v string) { m.SettlInstRefID = &v } diff --git a/fix50/settlinstructionsdata/SettlInstructionsData.go b/fix50/settlinstructionsdata/SettlInstructionsData.go index 3e18e31f1..02c94e50e 100644 --- a/fix50/settlinstructionsdata/SettlInstructionsData.go +++ b/fix50/settlinstructionsdata/SettlInstructionsData.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/dlvyinstgrp" ) +//New returns an initialized SettlInstructionsData instance func New() *SettlInstructionsData { var m SettlInstructionsData return &m diff --git a/fix50/settlparties/SettlParties.go b/fix50/settlparties/SettlParties.go index c89ca1064..0e1ad10d9 100644 --- a/fix50/settlparties/SettlParties.go +++ b/fix50/settlparties/SettlParties.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/settlptyssubgrp" ) +//New returns an initialized SettlParties instance func New() *SettlParties { var m SettlParties return &m @@ -21,6 +22,12 @@ type NoSettlPartyIDs struct { SettlPtysSubGrp *settlptyssubgrp.SettlPtysSubGrp } +//NewNoSettlPartyIDs returns an initialized NoSettlPartyIDs instance +func NewNoSettlPartyIDs() *NoSettlPartyIDs { + var m NoSettlPartyIDs + return &m +} + func (m *NoSettlPartyIDs) SetSettlPartyID(v string) { m.SettlPartyID = &v } func (m *NoSettlPartyIDs) SetSettlPartyIDSource(v string) { m.SettlPartyIDSource = &v } func (m *NoSettlPartyIDs) SetSettlPartyRole(v int) { m.SettlPartyRole = &v } diff --git a/fix50/settlptyssubgrp/SettlPtysSubGrp.go b/fix50/settlptyssubgrp/SettlPtysSubGrp.go index 28b9a9354..fd5fb6cb5 100644 --- a/fix50/settlptyssubgrp/SettlPtysSubGrp.go +++ b/fix50/settlptyssubgrp/SettlPtysSubGrp.go @@ -1,5 +1,6 @@ package settlptyssubgrp +//New returns an initialized SettlPtysSubGrp instance func New() *SettlPtysSubGrp { var m SettlPtysSubGrp return &m @@ -13,6 +14,12 @@ type NoSettlPartySubIDs struct { SettlPartySubIDType *int `fix:"786"` } +//NewNoSettlPartySubIDs returns an initialized NoSettlPartySubIDs instance +func NewNoSettlPartySubIDs() *NoSettlPartySubIDs { + var m NoSettlPartySubIDs + return &m +} + func (m *NoSettlPartySubIDs) SetSettlPartySubID(v string) { m.SettlPartySubID = &v } func (m *NoSettlPartySubIDs) SetSettlPartySubIDType(v int) { m.SettlPartySubIDType = &v } diff --git a/fix50/sidecrossordcxlgrp/SideCrossOrdCxlGrp.go b/fix50/sidecrossordcxlgrp/SideCrossOrdCxlGrp.go index 55c5e1ffd..816ecac52 100644 --- a/fix50/sidecrossordcxlgrp/SideCrossOrdCxlGrp.go +++ b/fix50/sidecrossordcxlgrp/SideCrossOrdCxlGrp.go @@ -6,6 +6,7 @@ import ( "time" ) +//New returns an initialized SideCrossOrdCxlGrp instance func New(nosides []NoSides) *SideCrossOrdCxlGrp { var m SideCrossOrdCxlGrp m.SetNoSides(nosides) @@ -44,6 +45,16 @@ type NoSides struct { EncodedText *string `fix:"355"` } +//NewNoSides returns an initialized NoSides instance +func NewNoSides(side string, origclordid string, clordid string, orderqtydata orderqtydata.OrderQtyData) *NoSides { + var m NoSides + m.SetSide(side) + m.SetOrigClOrdID(origclordid) + m.SetClOrdID(clordid) + m.SetOrderQtyData(orderqtydata) + return &m +} + func (m *NoSides) SetSide(v string) { m.Side = v } func (m *NoSides) SetOrigClOrdID(v string) { m.OrigClOrdID = v } func (m *NoSides) SetClOrdID(v string) { m.ClOrdID = v } diff --git a/fix50/sidecrossordmodgrp/SideCrossOrdModGrp.go b/fix50/sidecrossordmodgrp/SideCrossOrdModGrp.go index 67b994d82..e59e30f81 100644 --- a/fix50/sidecrossordmodgrp/SideCrossOrdModGrp.go +++ b/fix50/sidecrossordmodgrp/SideCrossOrdModGrp.go @@ -8,6 +8,7 @@ import ( "time" ) +//New returns an initialized SideCrossOrdModGrp instance func New(nosides []NoSides) *SideCrossOrdModGrp { var m SideCrossOrdModGrp m.SetNoSides(nosides) @@ -88,6 +89,15 @@ type NoSides struct { PreTradeAnonymity *bool `fix:"1091"` } +//NewNoSides returns an initialized NoSides instance +func NewNoSides(side string, clordid string, orderqtydata orderqtydata.OrderQtyData) *NoSides { + var m NoSides + m.SetSide(side) + m.SetClOrdID(clordid) + m.SetOrderQtyData(orderqtydata) + return &m +} + func (m *NoSides) SetSide(v string) { m.Side = v } func (m *NoSides) SetClOrdID(v string) { m.ClOrdID = v } func (m *NoSides) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } diff --git a/fix50/sidetrdregts/SideTrdRegTS.go b/fix50/sidetrdregts/SideTrdRegTS.go index 78a00203a..cce974c24 100644 --- a/fix50/sidetrdregts/SideTrdRegTS.go +++ b/fix50/sidetrdregts/SideTrdRegTS.go @@ -4,6 +4,7 @@ import ( "time" ) +//New returns an initialized SideTrdRegTS instance func New() *SideTrdRegTS { var m SideTrdRegTS return &m @@ -19,6 +20,12 @@ type NoSideTrdRegTS struct { SideTrdRegTimestampSrc *string `fix:"1014"` } +//NewNoSideTrdRegTS returns an initialized NoSideTrdRegTS instance +func NewNoSideTrdRegTS() *NoSideTrdRegTS { + var m NoSideTrdRegTS + return &m +} + func (m *NoSideTrdRegTS) SetSideTrdRegTimestamp(v time.Time) { m.SideTrdRegTimestamp = &v } func (m *NoSideTrdRegTS) SetSideTrdRegTimestampType(v int) { m.SideTrdRegTimestampType = &v } func (m *NoSideTrdRegTS) SetSideTrdRegTimestampSrc(v string) { m.SideTrdRegTimestampSrc = &v } diff --git a/fix50/spreadorbenchmarkcurvedata/SpreadOrBenchmarkCurveData.go b/fix50/spreadorbenchmarkcurvedata/SpreadOrBenchmarkCurveData.go index 3e29dd44e..4e8581c6b 100644 --- a/fix50/spreadorbenchmarkcurvedata/SpreadOrBenchmarkCurveData.go +++ b/fix50/spreadorbenchmarkcurvedata/SpreadOrBenchmarkCurveData.go @@ -1,5 +1,6 @@ package spreadorbenchmarkcurvedata +//New returns an initialized SpreadOrBenchmarkCurveData instance func New() *SpreadOrBenchmarkCurveData { var m SpreadOrBenchmarkCurveData return &m diff --git a/fix50/stipulations/Stipulations.go b/fix50/stipulations/Stipulations.go index ff2e17aa8..0044b15ac 100644 --- a/fix50/stipulations/Stipulations.go +++ b/fix50/stipulations/Stipulations.go @@ -1,5 +1,6 @@ package stipulations +//New returns an initialized Stipulations instance func New() *Stipulations { var m Stipulations return &m @@ -13,6 +14,12 @@ type NoStipulations struct { StipulationValue *string `fix:"234"` } +//NewNoStipulations returns an initialized NoStipulations instance +func NewNoStipulations() *NoStipulations { + var m NoStipulations + return &m +} + func (m *NoStipulations) SetStipulationType(v string) { m.StipulationType = &v } func (m *NoStipulations) SetStipulationValue(v string) { m.StipulationValue = &v } diff --git a/fix50/strategyparametersgrp/StrategyParametersGrp.go b/fix50/strategyparametersgrp/StrategyParametersGrp.go index 82fb5478e..2695b6100 100644 --- a/fix50/strategyparametersgrp/StrategyParametersGrp.go +++ b/fix50/strategyparametersgrp/StrategyParametersGrp.go @@ -1,5 +1,6 @@ package strategyparametersgrp +//New returns an initialized StrategyParametersGrp instance func New() *StrategyParametersGrp { var m StrategyParametersGrp return &m @@ -15,6 +16,12 @@ type NoStrategyParameters struct { StrategyParameterValue *string `fix:"960"` } +//NewNoStrategyParameters returns an initialized NoStrategyParameters instance +func NewNoStrategyParameters() *NoStrategyParameters { + var m NoStrategyParameters + return &m +} + func (m *NoStrategyParameters) SetStrategyParameterName(v string) { m.StrategyParameterName = &v } func (m *NoStrategyParameters) SetStrategyParameterType(v int) { m.StrategyParameterType = &v } func (m *NoStrategyParameters) SetStrategyParameterValue(v string) { m.StrategyParameterValue = &v } diff --git a/fix50/trdallocgrp/TrdAllocGrp.go b/fix50/trdallocgrp/TrdAllocGrp.go index 5550719d6..e1e57114d 100644 --- a/fix50/trdallocgrp/TrdAllocGrp.go +++ b/fix50/trdallocgrp/TrdAllocGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/nestedparties2" ) +//New returns an initialized TrdAllocGrp instance func New() *TrdAllocGrp { var m TrdAllocGrp return &m @@ -33,6 +34,12 @@ type NoAllocs struct { AllocClearingFeeIndicator *string `fix:"1136"` } +//NewNoAllocs returns an initialized NoAllocs instance +func NewNoAllocs() *NoAllocs { + var m NoAllocs + return &m +} + func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } func (m *NoAllocs) SetAllocSettlCurrency(v string) { m.AllocSettlCurrency = &v } diff --git a/fix50/trdcapdtgrp/TrdCapDtGrp.go b/fix50/trdcapdtgrp/TrdCapDtGrp.go index 2e694918e..6f83063fd 100644 --- a/fix50/trdcapdtgrp/TrdCapDtGrp.go +++ b/fix50/trdcapdtgrp/TrdCapDtGrp.go @@ -4,6 +4,7 @@ import ( "time" ) +//New returns an initialized TrdCapDtGrp instance func New() *TrdCapDtGrp { var m TrdCapDtGrp return &m @@ -19,6 +20,12 @@ type NoDates struct { LastUpdateTime *time.Time `fix:"779"` } +//NewNoDates returns an initialized NoDates instance +func NewNoDates() *NoDates { + var m NoDates + return &m +} + func (m *NoDates) SetTradeDate(v string) { m.TradeDate = &v } func (m *NoDates) SetTransactTime(v time.Time) { m.TransactTime = &v } func (m *NoDates) SetLastUpdateTime(v time.Time) { m.LastUpdateTime = &v } diff --git a/fix50/trdcaprptacksidegrp/TrdCapRptAckSideGrp.go b/fix50/trdcaprptacksidegrp/TrdCapRptAckSideGrp.go index 9c19b3689..71ade2305 100644 --- a/fix50/trdcaprptacksidegrp/TrdCapRptAckSideGrp.go +++ b/fix50/trdcaprptacksidegrp/TrdCapRptAckSideGrp.go @@ -12,6 +12,7 @@ import ( "time" ) +//New returns an initialized TrdCapRptAckSideGrp instance func New(nosides []NoSides) *TrdCapRptAckSideGrp { var m TrdCapRptAckSideGrp m.SetNoSides(nosides) @@ -150,6 +151,13 @@ type NoSides struct { SideTrdRegTS *sidetrdregts.SideTrdRegTS } +//NewNoSides returns an initialized NoSides instance +func NewNoSides(side string) *NoSides { + var m NoSides + m.SetSide(side) + return &m +} + func (m *NoSides) SetSide(v string) { m.Side = v } func (m *NoSides) SetOrderID(v string) { m.OrderID = &v } func (m *NoSides) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } diff --git a/fix50/trdcaprptsidegrp/TrdCapRptSideGrp.go b/fix50/trdcaprptsidegrp/TrdCapRptSideGrp.go index dfecf11e4..d9a34c8d5 100644 --- a/fix50/trdcaprptsidegrp/TrdCapRptSideGrp.go +++ b/fix50/trdcaprptsidegrp/TrdCapRptSideGrp.go @@ -12,6 +12,7 @@ import ( "time" ) +//New returns an initialized TrdCapRptSideGrp instance func New(nosides []NoSides) *TrdCapRptSideGrp { var m TrdCapRptSideGrp m.SetNoSides(nosides) @@ -160,6 +161,13 @@ type NoSides struct { ExchangeSpecialInstructions *string `fix:"1139"` } +//NewNoSides returns an initialized NoSides instance +func NewNoSides(side string) *NoSides { + var m NoSides + m.SetSide(side) + return &m +} + func (m *NoSides) SetSide(v string) { m.Side = v } func (m *NoSides) SetOrderID(v string) { m.OrderID = &v } func (m *NoSides) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } diff --git a/fix50/trdcollgrp/TrdCollGrp.go b/fix50/trdcollgrp/TrdCollGrp.go index 0bc8611eb..52d1d934d 100644 --- a/fix50/trdcollgrp/TrdCollGrp.go +++ b/fix50/trdcollgrp/TrdCollGrp.go @@ -1,5 +1,6 @@ package trdcollgrp +//New returns an initialized TrdCollGrp instance func New() *TrdCollGrp { var m TrdCollGrp return &m @@ -13,6 +14,12 @@ type NoTrades struct { SecondaryTradeReportID *string `fix:"818"` } +//NewNoTrades returns an initialized NoTrades instance +func NewNoTrades() *NoTrades { + var m NoTrades + return &m +} + func (m *NoTrades) SetTradeReportID(v string) { m.TradeReportID = &v } func (m *NoTrades) SetSecondaryTradeReportID(v string) { m.SecondaryTradeReportID = &v } diff --git a/fix50/trdgsesgrp/TrdgSesGrp.go b/fix50/trdgsesgrp/TrdgSesGrp.go index 112f80ede..725324536 100644 --- a/fix50/trdgsesgrp/TrdgSesGrp.go +++ b/fix50/trdgsesgrp/TrdgSesGrp.go @@ -1,5 +1,6 @@ package trdgsesgrp +//New returns an initialized TrdgSesGrp instance func New() *TrdgSesGrp { var m TrdgSesGrp return &m @@ -13,6 +14,12 @@ type NoTradingSessions struct { TradingSessionSubID *string `fix:"625"` } +//NewNoTradingSessions returns an initialized NoTradingSessions instance +func NewNoTradingSessions() *NoTradingSessions { + var m NoTradingSessions + return &m +} + func (m *NoTradingSessions) SetTradingSessionID(v string) { m.TradingSessionID = &v } func (m *NoTradingSessions) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } diff --git a/fix50/trdinstrmtleggrp/TrdInstrmtLegGrp.go b/fix50/trdinstrmtleggrp/TrdInstrmtLegGrp.go index d5c6b1779..e81c013b6 100644 --- a/fix50/trdinstrmtleggrp/TrdInstrmtLegGrp.go +++ b/fix50/trdinstrmtleggrp/TrdInstrmtLegGrp.go @@ -6,6 +6,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/nestedparties" ) +//New returns an initialized TrdInstrmtLegGrp instance func New() *TrdInstrmtLegGrp { var m TrdInstrmtLegGrp return &m @@ -49,6 +50,12 @@ type NoLegs struct { LegGrossTradeAmt *float64 `fix:"1075"` } +//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) SetLegQty(v float64) { m.LegQty = &v } func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } diff --git a/fix50/trdregtimestamps/TrdRegTimestamps.go b/fix50/trdregtimestamps/TrdRegTimestamps.go index 1fba1d906..a87da1dd4 100644 --- a/fix50/trdregtimestamps/TrdRegTimestamps.go +++ b/fix50/trdregtimestamps/TrdRegTimestamps.go @@ -4,6 +4,7 @@ import ( "time" ) +//New returns an initialized TrdRegTimestamps instance func New() *TrdRegTimestamps { var m TrdRegTimestamps return &m @@ -25,6 +26,12 @@ type NoTrdRegTimestamps struct { DeskOrderHandlingInst *string `fix:"1035"` } +//NewNoTrdRegTimestamps returns an initialized NoTrdRegTimestamps instance +func NewNoTrdRegTimestamps() *NoTrdRegTimestamps { + var m NoTrdRegTimestamps + return &m +} + func (m *NoTrdRegTimestamps) SetTrdRegTimestamp(v time.Time) { m.TrdRegTimestamp = &v } func (m *NoTrdRegTimestamps) SetTrdRegTimestampType(v int) { m.TrdRegTimestampType = &v } func (m *NoTrdRegTimestamps) SetTrdRegTimestampOrigin(v string) { m.TrdRegTimestampOrigin = &v } diff --git a/fix50/trdsesslstgrp/TrdSessLstGrp.go b/fix50/trdsesslstgrp/TrdSessLstGrp.go index bbe09cbf9..5602b38d3 100644 --- a/fix50/trdsesslstgrp/TrdSessLstGrp.go +++ b/fix50/trdsesslstgrp/TrdSessLstGrp.go @@ -4,6 +4,7 @@ import ( "time" ) +//New returns an initialized TrdSessLstGrp instance func New(notradingsessions []NoTradingSessions) *TrdSessLstGrp { var m TrdSessLstGrp m.SetNoTradingSessions(notradingsessions) @@ -48,6 +49,14 @@ type NoTradingSessions struct { EncodedText *string `fix:"355"` } +//NewNoTradingSessions returns an initialized NoTradingSessions instance +func NewNoTradingSessions(tradingsessionid string, tradsesstatus int) *NoTradingSessions { + var m NoTradingSessions + m.SetTradingSessionID(tradingsessionid) + m.SetTradSesStatus(tradsesstatus) + return &m +} + func (m *NoTradingSessions) SetTradingSessionID(v string) { m.TradingSessionID = v } func (m *NoTradingSessions) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } func (m *NoTradingSessions) SetSecurityExchange(v string) { m.SecurityExchange = &v } diff --git a/fix50/triggeringinstruction/TriggeringInstruction.go b/fix50/triggeringinstruction/TriggeringInstruction.go index 5e984dd34..0e952b48e 100644 --- a/fix50/triggeringinstruction/TriggeringInstruction.go +++ b/fix50/triggeringinstruction/TriggeringInstruction.go @@ -1,5 +1,6 @@ package triggeringinstruction +//New returns an initialized TriggeringInstruction instance func New() *TriggeringInstruction { var m TriggeringInstruction return &m diff --git a/fix50/underlyingamount/UnderlyingAmount.go b/fix50/underlyingamount/UnderlyingAmount.go index 8577eaca8..9bee628ba 100644 --- a/fix50/underlyingamount/UnderlyingAmount.go +++ b/fix50/underlyingamount/UnderlyingAmount.go @@ -1,5 +1,6 @@ package underlyingamount +//New returns an initialized UnderlyingAmount instance func New() *UnderlyingAmount { var m UnderlyingAmount return &m @@ -17,6 +18,12 @@ type NoUnderlyingAmounts struct { UnderlyingSettlementStatus *string `fix:"988"` } +//NewNoUnderlyingAmounts returns an initialized NoUnderlyingAmounts instance +func NewNoUnderlyingAmounts() *NoUnderlyingAmounts { + var m NoUnderlyingAmounts + return &m +} + func (m *NoUnderlyingAmounts) SetUnderlyingPayAmount(v float64) { m.UnderlyingPayAmount = &v } func (m *NoUnderlyingAmounts) SetUnderlyingCollectAmount(v float64) { m.UnderlyingCollectAmount = &v } func (m *NoUnderlyingAmounts) SetUnderlyingSettlementDate(v string) { m.UnderlyingSettlementDate = &v } diff --git a/fix50/underlyinginstrument/UnderlyingInstrument.go b/fix50/underlyinginstrument/UnderlyingInstrument.go index 887db1a04..1a88ca242 100644 --- a/fix50/underlyinginstrument/UnderlyingInstrument.go +++ b/fix50/underlyinginstrument/UnderlyingInstrument.go @@ -6,6 +6,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/undsecaltidgrp" ) +//New returns an initialized UnderlyingInstrument instance func New() *UnderlyingInstrument { var m UnderlyingInstrument return &m diff --git a/fix50/underlyingstipulations/UnderlyingStipulations.go b/fix50/underlyingstipulations/UnderlyingStipulations.go index 55a49fc42..70fb9d269 100644 --- a/fix50/underlyingstipulations/UnderlyingStipulations.go +++ b/fix50/underlyingstipulations/UnderlyingStipulations.go @@ -1,5 +1,6 @@ package underlyingstipulations +//New returns an initialized UnderlyingStipulations instance func New() *UnderlyingStipulations { var m UnderlyingStipulations return &m @@ -13,6 +14,12 @@ type NoUnderlyingStips struct { UnderlyingStipValue *string `fix:"889"` } +//NewNoUnderlyingStips returns an initialized NoUnderlyingStips instance +func NewNoUnderlyingStips() *NoUnderlyingStips { + var m NoUnderlyingStips + return &m +} + func (m *NoUnderlyingStips) SetUnderlyingStipType(v string) { m.UnderlyingStipType = &v } func (m *NoUnderlyingStips) SetUnderlyingStipValue(v string) { m.UnderlyingStipValue = &v } diff --git a/fix50/undinstrmtcollgrp/UndInstrmtCollGrp.go b/fix50/undinstrmtcollgrp/UndInstrmtCollGrp.go index 1c0d73d1f..c12f8a0ad 100644 --- a/fix50/undinstrmtcollgrp/UndInstrmtCollGrp.go +++ b/fix50/undinstrmtcollgrp/UndInstrmtCollGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/underlyinginstrument" ) +//New returns an initialized UndInstrmtCollGrp instance func New() *UndInstrmtCollGrp { var m UndInstrmtCollGrp return &m @@ -17,6 +18,12 @@ type NoUnderlyings struct { CollAction *int `fix:"944"` } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } diff --git a/fix50/undinstrmtgrp/UndInstrmtGrp.go b/fix50/undinstrmtgrp/UndInstrmtGrp.go index 7e1fed720..21fd03be3 100644 --- a/fix50/undinstrmtgrp/UndInstrmtGrp.go +++ b/fix50/undinstrmtgrp/UndInstrmtGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/underlyinginstrument" ) +//New returns an initialized UndInstrmtGrp instance func New() *UndInstrmtGrp { var m UndInstrmtGrp return &m @@ -15,6 +16,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } diff --git a/fix50/undinstrmtstrkpxgrp/UndInstrmtStrkPxGrp.go b/fix50/undinstrmtstrkpxgrp/UndInstrmtStrkPxGrp.go index bc0a92ddd..11674be78 100644 --- a/fix50/undinstrmtstrkpxgrp/UndInstrmtStrkPxGrp.go +++ b/fix50/undinstrmtstrkpxgrp/UndInstrmtStrkPxGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/underlyinginstrument" ) +//New returns an initialized UndInstrmtStrkPxGrp instance func New() *UndInstrmtStrkPxGrp { var m UndInstrmtStrkPxGrp return &m @@ -33,6 +34,13 @@ type NoUnderlyings struct { EncodedText *string `fix:"355"` } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings(price float64) *NoUnderlyings { + var m NoUnderlyings + m.SetPrice(price) + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } diff --git a/fix50/undlyinstrumentparties/UndlyInstrumentParties.go b/fix50/undlyinstrumentparties/UndlyInstrumentParties.go index f81272572..197fd53f7 100644 --- a/fix50/undlyinstrumentparties/UndlyInstrumentParties.go +++ b/fix50/undlyinstrumentparties/UndlyInstrumentParties.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50/undlyinstrumentptyssubgrp" ) +//New returns an initialized UndlyInstrumentParties instance func New() *UndlyInstrumentParties { var m UndlyInstrumentParties return &m @@ -21,6 +22,12 @@ type NoUndlyInstrumentParties struct { UndlyInstrumentPtysSubGrp *undlyinstrumentptyssubgrp.UndlyInstrumentPtysSubGrp } +//NewNoUndlyInstrumentParties returns an initialized NoUndlyInstrumentParties instance +func NewNoUndlyInstrumentParties() *NoUndlyInstrumentParties { + var m NoUndlyInstrumentParties + return &m +} + func (m *NoUndlyInstrumentParties) SetUndlyInstrumentPartyID(v string) { m.UndlyInstrumentPartyID = &v } func (m *NoUndlyInstrumentParties) SetUndlyInstrumentPartyIDSource(v string) { m.UndlyInstrumentPartyIDSource = &v diff --git a/fix50/undlyinstrumentptyssubgrp/UndlyInstrumentPtysSubGrp.go b/fix50/undlyinstrumentptyssubgrp/UndlyInstrumentPtysSubGrp.go index 70be63347..4bc0da581 100644 --- a/fix50/undlyinstrumentptyssubgrp/UndlyInstrumentPtysSubGrp.go +++ b/fix50/undlyinstrumentptyssubgrp/UndlyInstrumentPtysSubGrp.go @@ -1,5 +1,6 @@ package undlyinstrumentptyssubgrp +//New returns an initialized UndlyInstrumentPtysSubGrp instance func New() *UndlyInstrumentPtysSubGrp { var m UndlyInstrumentPtysSubGrp return &m @@ -13,6 +14,12 @@ type NoUndlyInstrumentPartySubIDs struct { UndlyInstrumentPartySubIDType *int `fix:"1064"` } +//NewNoUndlyInstrumentPartySubIDs returns an initialized NoUndlyInstrumentPartySubIDs instance +func NewNoUndlyInstrumentPartySubIDs() *NoUndlyInstrumentPartySubIDs { + var m NoUndlyInstrumentPartySubIDs + return &m +} + func (m *NoUndlyInstrumentPartySubIDs) SetUndlyInstrumentPartySubID(v string) { m.UndlyInstrumentPartySubID = &v } diff --git a/fix50/undsecaltidgrp/UndSecAltIDGrp.go b/fix50/undsecaltidgrp/UndSecAltIDGrp.go index b0b8b95db..7133e036c 100644 --- a/fix50/undsecaltidgrp/UndSecAltIDGrp.go +++ b/fix50/undsecaltidgrp/UndSecAltIDGrp.go @@ -1,5 +1,6 @@ package undsecaltidgrp +//New returns an initialized UndSecAltIDGrp instance func New() *UndSecAltIDGrp { var m UndSecAltIDGrp return &m @@ -13,6 +14,12 @@ type NoUnderlyingSecurityAltID struct { UnderlyingSecurityAltIDSource *string `fix:"459"` } +//NewNoUnderlyingSecurityAltID returns an initialized NoUnderlyingSecurityAltID instance +func NewNoUnderlyingSecurityAltID() *NoUnderlyingSecurityAltID { + var m NoUnderlyingSecurityAltID + return &m +} + func (m *NoUnderlyingSecurityAltID) SetUnderlyingSecurityAltID(v string) { m.UnderlyingSecurityAltID = &v } diff --git a/fix50/yielddata/YieldData.go b/fix50/yielddata/YieldData.go index c75673c57..1ccb06502 100644 --- a/fix50/yielddata/YieldData.go +++ b/fix50/yielddata/YieldData.go @@ -1,5 +1,6 @@ package yielddata +//New returns an initialized YieldData instance func New() *YieldData { var m YieldData return &m diff --git a/fix50sp1/affectedordgrp/AffectedOrdGrp.go b/fix50sp1/affectedordgrp/AffectedOrdGrp.go index 9df04bd8a..4ccd9d07f 100644 --- a/fix50sp1/affectedordgrp/AffectedOrdGrp.go +++ b/fix50sp1/affectedordgrp/AffectedOrdGrp.go @@ -1,5 +1,6 @@ package affectedordgrp +//New returns an initialized AffectedOrdGrp instance func New() *AffectedOrdGrp { var m AffectedOrdGrp return &m @@ -15,6 +16,12 @@ type NoAffectedOrders struct { AffectedSecondaryOrderID *string `fix:"536"` } +//NewNoAffectedOrders returns an initialized NoAffectedOrders instance +func NewNoAffectedOrders() *NoAffectedOrders { + var m NoAffectedOrders + return &m +} + func (m *NoAffectedOrders) SetOrigClOrdID(v string) { m.OrigClOrdID = &v } func (m *NoAffectedOrders) SetAffectedOrderID(v string) { m.AffectedOrderID = &v } func (m *NoAffectedOrders) SetAffectedSecondaryOrderID(v string) { m.AffectedSecondaryOrderID = &v } diff --git a/fix50sp1/allocackgrp/AllocAckGrp.go b/fix50sp1/allocackgrp/AllocAckGrp.go index f60ce3dbf..a38ffbabc 100644 --- a/fix50sp1/allocackgrp/AllocAckGrp.go +++ b/fix50sp1/allocackgrp/AllocAckGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/nestedparties" ) +//New returns an initialized AllocAckGrp instance func New() *AllocAckGrp { var m AllocAckGrp return &m @@ -41,6 +42,12 @@ type NoAllocs struct { AllocPositionEffect *string `fix:"1047"` } +//NewNoAllocs returns an initialized NoAllocs instance +func NewNoAllocs() *NoAllocs { + var m NoAllocs + return &m +} + func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } func (m *NoAllocs) SetAllocPrice(v float64) { m.AllocPrice = &v } diff --git a/fix50sp1/allocgrp/AllocGrp.go b/fix50sp1/allocgrp/AllocGrp.go index 4ef67aadd..16ac2a5a7 100644 --- a/fix50sp1/allocgrp/AllocGrp.go +++ b/fix50sp1/allocgrp/AllocGrp.go @@ -8,6 +8,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/settlinstructionsdata" ) +//New returns an initialized AllocGrp instance func New() *AllocGrp { var m AllocGrp return &m @@ -85,6 +86,12 @@ type NoAllocs struct { ClearingFeeIndicator *string `fix:"635"` } +//NewNoAllocs returns an initialized NoAllocs instance +func NewNoAllocs() *NoAllocs { + var m NoAllocs + return &m +} + func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } func (m *NoAllocs) SetMatchStatus(v string) { m.MatchStatus = &v } diff --git a/fix50sp1/applicationsequencecontrol/ApplicationSequenceControl.go b/fix50sp1/applicationsequencecontrol/ApplicationSequenceControl.go index 3f6da3b1e..7efbe1c8e 100644 --- a/fix50sp1/applicationsequencecontrol/ApplicationSequenceControl.go +++ b/fix50sp1/applicationsequencecontrol/ApplicationSequenceControl.go @@ -1,5 +1,6 @@ package applicationsequencecontrol +//New returns an initialized ApplicationSequenceControl instance func New() *ApplicationSequenceControl { var m ApplicationSequenceControl return &m diff --git a/fix50sp1/applidreportgrp/ApplIDReportGrp.go b/fix50sp1/applidreportgrp/ApplIDReportGrp.go index 99d6b122c..852b04e1a 100644 --- a/fix50sp1/applidreportgrp/ApplIDReportGrp.go +++ b/fix50sp1/applidreportgrp/ApplIDReportGrp.go @@ -1,5 +1,6 @@ package applidreportgrp +//New returns an initialized ApplIDReportGrp instance func New() *ApplIDReportGrp { var m ApplIDReportGrp return &m @@ -15,6 +16,12 @@ type NoApplIDs struct { RefApplLastSeqNum *int `fix:"1357"` } +//NewNoApplIDs returns an initialized NoApplIDs instance +func NewNoApplIDs() *NoApplIDs { + var m NoApplIDs + return &m +} + func (m *NoApplIDs) SetRefApplID(v string) { m.RefApplID = &v } func (m *NoApplIDs) SetApplNewSeqNum(v int) { m.ApplNewSeqNum = &v } func (m *NoApplIDs) SetRefApplLastSeqNum(v int) { m.RefApplLastSeqNum = &v } diff --git a/fix50sp1/applidrequestackgrp/ApplIDRequestAckGrp.go b/fix50sp1/applidrequestackgrp/ApplIDRequestAckGrp.go index 60614121f..7dc499271 100644 --- a/fix50sp1/applidrequestackgrp/ApplIDRequestAckGrp.go +++ b/fix50sp1/applidrequestackgrp/ApplIDRequestAckGrp.go @@ -1,5 +1,6 @@ package applidrequestackgrp +//New returns an initialized ApplIDRequestAckGrp instance func New() *ApplIDRequestAckGrp { var m ApplIDRequestAckGrp return &m @@ -19,6 +20,12 @@ type NoApplIDs struct { ApplResponseError *int `fix:"1354"` } +//NewNoApplIDs returns an initialized NoApplIDs instance +func NewNoApplIDs() *NoApplIDs { + var m NoApplIDs + return &m +} + func (m *NoApplIDs) SetRefApplID(v string) { m.RefApplID = &v } func (m *NoApplIDs) SetApplBegSeqNum(v int) { m.ApplBegSeqNum = &v } func (m *NoApplIDs) SetApplEndSeqNum(v int) { m.ApplEndSeqNum = &v } diff --git a/fix50sp1/applidrequestgrp/ApplIDRequestGrp.go b/fix50sp1/applidrequestgrp/ApplIDRequestGrp.go index e87e9fc10..60085fe66 100644 --- a/fix50sp1/applidrequestgrp/ApplIDRequestGrp.go +++ b/fix50sp1/applidrequestgrp/ApplIDRequestGrp.go @@ -1,5 +1,6 @@ package applidrequestgrp +//New returns an initialized ApplIDRequestGrp instance func New() *ApplIDRequestGrp { var m ApplIDRequestGrp return &m @@ -15,6 +16,12 @@ type NoApplIDs struct { ApplEndSeqNum *int `fix:"1183"` } +//NewNoApplIDs returns an initialized NoApplIDs instance +func NewNoApplIDs() *NoApplIDs { + var m NoApplIDs + return &m +} + func (m *NoApplIDs) SetRefApplID(v string) { m.RefApplID = &v } func (m *NoApplIDs) SetApplBegSeqNum(v int) { m.ApplBegSeqNum = &v } func (m *NoApplIDs) SetApplEndSeqNum(v int) { m.ApplEndSeqNum = &v } diff --git a/fix50sp1/attrbgrp/AttrbGrp.go b/fix50sp1/attrbgrp/AttrbGrp.go index 43ecb9b89..db903a0b1 100644 --- a/fix50sp1/attrbgrp/AttrbGrp.go +++ b/fix50sp1/attrbgrp/AttrbGrp.go @@ -1,5 +1,6 @@ package attrbgrp +//New returns an initialized AttrbGrp instance func New() *AttrbGrp { var m AttrbGrp return &m @@ -13,6 +14,12 @@ type NoInstrAttrib struct { InstrAttribValue *string `fix:"872"` } +//NewNoInstrAttrib returns an initialized NoInstrAttrib instance +func NewNoInstrAttrib() *NoInstrAttrib { + var m NoInstrAttrib + return &m +} + func (m *NoInstrAttrib) SetInstrAttribType(v int) { m.InstrAttribType = &v } func (m *NoInstrAttrib) SetInstrAttribValue(v string) { m.InstrAttribValue = &v } diff --git a/fix50sp1/basetradingrules/BaseTradingRules.go b/fix50sp1/basetradingrules/BaseTradingRules.go index acebccecc..674b0be6a 100644 --- a/fix50sp1/basetradingrules/BaseTradingRules.go +++ b/fix50sp1/basetradingrules/BaseTradingRules.go @@ -6,6 +6,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/tickrules" ) +//New returns an initialized BaseTradingRules instance func New() *BaseTradingRules { var m BaseTradingRules return &m diff --git a/fix50sp1/bidcompreqgrp/BidCompReqGrp.go b/fix50sp1/bidcompreqgrp/BidCompReqGrp.go index f8d43ce1a..97c7ebbb7 100644 --- a/fix50sp1/bidcompreqgrp/BidCompReqGrp.go +++ b/fix50sp1/bidcompreqgrp/BidCompReqGrp.go @@ -1,5 +1,6 @@ package bidcompreqgrp +//New returns an initialized BidCompReqGrp instance func New() *BidCompReqGrp { var m BidCompReqGrp return &m @@ -27,6 +28,12 @@ type NoBidComponents struct { AcctIDSource *int `fix:"660"` } +//NewNoBidComponents returns an initialized NoBidComponents instance +func NewNoBidComponents() *NoBidComponents { + var m NoBidComponents + return &m +} + func (m *NoBidComponents) SetListID(v string) { m.ListID = &v } func (m *NoBidComponents) SetSide(v string) { m.Side = &v } func (m *NoBidComponents) SetTradingSessionID(v string) { m.TradingSessionID = &v } diff --git a/fix50sp1/bidcomprspgrp/BidCompRspGrp.go b/fix50sp1/bidcomprspgrp/BidCompRspGrp.go index b828bb38e..1a6288427 100644 --- a/fix50sp1/bidcomprspgrp/BidCompRspGrp.go +++ b/fix50sp1/bidcomprspgrp/BidCompRspGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/commissiondata" ) +//New returns an initialized BidCompRspGrp instance func New(nobidcomponents []NoBidComponents) *BidCompRspGrp { var m BidCompRspGrp m.SetNoBidComponents(nobidcomponents) @@ -44,6 +45,13 @@ type NoBidComponents struct { EncodedText *string `fix:"355"` } +//NewNoBidComponents returns an initialized NoBidComponents instance +func NewNoBidComponents(commissiondata commissiondata.CommissionData) *NoBidComponents { + var m NoBidComponents + m.SetCommissionData(commissiondata) + return &m +} + func (m *NoBidComponents) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = v } func (m *NoBidComponents) SetListID(v string) { m.ListID = &v } func (m *NoBidComponents) SetCountry(v string) { m.Country = &v } diff --git a/fix50sp1/biddescreqgrp/BidDescReqGrp.go b/fix50sp1/biddescreqgrp/BidDescReqGrp.go index 5716c0de2..7f5f04ae4 100644 --- a/fix50sp1/biddescreqgrp/BidDescReqGrp.go +++ b/fix50sp1/biddescreqgrp/BidDescReqGrp.go @@ -1,5 +1,6 @@ package biddescreqgrp +//New returns an initialized BidDescReqGrp instance func New() *BidDescReqGrp { var m BidDescReqGrp return &m @@ -31,6 +32,12 @@ type NoBidDescriptors struct { ValueOfFutures *float64 `fix:"408"` } +//NewNoBidDescriptors returns an initialized NoBidDescriptors instance +func NewNoBidDescriptors() *NoBidDescriptors { + var m NoBidDescriptors + return &m +} + func (m *NoBidDescriptors) SetBidDescriptorType(v int) { m.BidDescriptorType = &v } func (m *NoBidDescriptors) SetBidDescriptor(v string) { m.BidDescriptor = &v } func (m *NoBidDescriptors) SetSideValueInd(v int) { m.SideValueInd = &v } diff --git a/fix50sp1/clrinstgrp/ClrInstGrp.go b/fix50sp1/clrinstgrp/ClrInstGrp.go index 12ab705df..2438d2352 100644 --- a/fix50sp1/clrinstgrp/ClrInstGrp.go +++ b/fix50sp1/clrinstgrp/ClrInstGrp.go @@ -1,5 +1,6 @@ package clrinstgrp +//New returns an initialized ClrInstGrp instance func New() *ClrInstGrp { var m ClrInstGrp return &m @@ -11,6 +12,12 @@ type NoClearingInstructions struct { ClearingInstruction *int `fix:"577"` } +//NewNoClearingInstructions returns an initialized NoClearingInstructions instance +func NewNoClearingInstructions() *NoClearingInstructions { + var m NoClearingInstructions + return &m +} + func (m *NoClearingInstructions) SetClearingInstruction(v int) { m.ClearingInstruction = &v } //ClrInstGrp is a fix50sp1 Component diff --git a/fix50sp1/collinqqualgrp/CollInqQualGrp.go b/fix50sp1/collinqqualgrp/CollInqQualGrp.go index d3782831d..35c841cc2 100644 --- a/fix50sp1/collinqqualgrp/CollInqQualGrp.go +++ b/fix50sp1/collinqqualgrp/CollInqQualGrp.go @@ -1,5 +1,6 @@ package collinqqualgrp +//New returns an initialized CollInqQualGrp instance func New() *CollInqQualGrp { var m CollInqQualGrp return &m @@ -11,6 +12,12 @@ type NoCollInquiryQualifier struct { CollInquiryQualifier *int `fix:"896"` } +//NewNoCollInquiryQualifier returns an initialized NoCollInquiryQualifier instance +func NewNoCollInquiryQualifier() *NoCollInquiryQualifier { + var m NoCollInquiryQualifier + return &m +} + func (m *NoCollInquiryQualifier) SetCollInquiryQualifier(v int) { m.CollInquiryQualifier = &v } //CollInqQualGrp is a fix50sp1 Component diff --git a/fix50sp1/commissiondata/CommissionData.go b/fix50sp1/commissiondata/CommissionData.go index 8bc2d7b88..89f09ce2e 100644 --- a/fix50sp1/commissiondata/CommissionData.go +++ b/fix50sp1/commissiondata/CommissionData.go @@ -1,5 +1,6 @@ package commissiondata +//New returns an initialized CommissionData instance func New() *CommissionData { var m CommissionData return &m diff --git a/fix50sp1/compidreqgrp/CompIDReqGrp.go b/fix50sp1/compidreqgrp/CompIDReqGrp.go index 21dea8c58..0c1b731e8 100644 --- a/fix50sp1/compidreqgrp/CompIDReqGrp.go +++ b/fix50sp1/compidreqgrp/CompIDReqGrp.go @@ -1,5 +1,6 @@ package compidreqgrp +//New returns an initialized CompIDReqGrp instance func New() *CompIDReqGrp { var m CompIDReqGrp return &m @@ -17,6 +18,12 @@ type NoCompIDs struct { DeskID *string `fix:"284"` } +//NewNoCompIDs returns an initialized NoCompIDs instance +func NewNoCompIDs() *NoCompIDs { + var m NoCompIDs + return &m +} + func (m *NoCompIDs) SetRefCompID(v string) { m.RefCompID = &v } func (m *NoCompIDs) SetRefSubID(v string) { m.RefSubID = &v } func (m *NoCompIDs) SetLocationID(v string) { m.LocationID = &v } diff --git a/fix50sp1/compidstatgrp/CompIDStatGrp.go b/fix50sp1/compidstatgrp/CompIDStatGrp.go index 922e464ad..04101a29b 100644 --- a/fix50sp1/compidstatgrp/CompIDStatGrp.go +++ b/fix50sp1/compidstatgrp/CompIDStatGrp.go @@ -1,5 +1,6 @@ package compidstatgrp +//New returns an initialized CompIDStatGrp instance func New(nocompids []NoCompIDs) *CompIDStatGrp { var m CompIDStatGrp m.SetNoCompIDs(nocompids) @@ -22,6 +23,14 @@ type NoCompIDs struct { StatusText *string `fix:"929"` } +//NewNoCompIDs returns an initialized NoCompIDs instance +func NewNoCompIDs(refcompid string, statusvalue int) *NoCompIDs { + var m NoCompIDs + m.SetRefCompID(refcompid) + m.SetStatusValue(statusvalue) + return &m +} + func (m *NoCompIDs) SetRefCompID(v string) { m.RefCompID = v } func (m *NoCompIDs) SetRefSubID(v string) { m.RefSubID = &v } func (m *NoCompIDs) SetLocationID(v string) { m.LocationID = &v } diff --git a/fix50sp1/contamtgrp/ContAmtGrp.go b/fix50sp1/contamtgrp/ContAmtGrp.go index 6ce3d2745..a1983a4e2 100644 --- a/fix50sp1/contamtgrp/ContAmtGrp.go +++ b/fix50sp1/contamtgrp/ContAmtGrp.go @@ -1,5 +1,6 @@ package contamtgrp +//New returns an initialized ContAmtGrp instance func New() *ContAmtGrp { var m ContAmtGrp return &m @@ -15,6 +16,12 @@ type NoContAmts struct { ContAmtCurr *string `fix:"521"` } +//NewNoContAmts returns an initialized NoContAmts instance +func NewNoContAmts() *NoContAmts { + var m NoContAmts + return &m +} + func (m *NoContAmts) SetContAmtType(v int) { m.ContAmtType = &v } func (m *NoContAmts) SetContAmtValue(v float64) { m.ContAmtValue = &v } func (m *NoContAmts) SetContAmtCurr(v string) { m.ContAmtCurr = &v } diff --git a/fix50sp1/contragrp/ContraGrp.go b/fix50sp1/contragrp/ContraGrp.go index e05db1a44..46bbe3190 100644 --- a/fix50sp1/contragrp/ContraGrp.go +++ b/fix50sp1/contragrp/ContraGrp.go @@ -4,6 +4,7 @@ import ( "time" ) +//New returns an initialized ContraGrp instance func New() *ContraGrp { var m ContraGrp return &m @@ -23,6 +24,12 @@ type NoContraBrokers struct { ContraLegRefID *string `fix:"655"` } +//NewNoContraBrokers returns an initialized NoContraBrokers instance +func NewNoContraBrokers() *NoContraBrokers { + var m NoContraBrokers + return &m +} + func (m *NoContraBrokers) SetContraBroker(v string) { m.ContraBroker = &v } func (m *NoContraBrokers) SetContraTrader(v string) { m.ContraTrader = &v } func (m *NoContraBrokers) SetContraTradeQty(v float64) { m.ContraTradeQty = &v } diff --git a/fix50sp1/cpctyconfgrp/CpctyConfGrp.go b/fix50sp1/cpctyconfgrp/CpctyConfGrp.go index 6629885e5..51b074330 100644 --- a/fix50sp1/cpctyconfgrp/CpctyConfGrp.go +++ b/fix50sp1/cpctyconfgrp/CpctyConfGrp.go @@ -1,5 +1,6 @@ package cpctyconfgrp +//New returns an initialized CpctyConfGrp instance func New(nocapacities []NoCapacities) *CpctyConfGrp { var m CpctyConfGrp m.SetNoCapacities(nocapacities) @@ -16,6 +17,14 @@ type NoCapacities struct { OrderCapacityQty float64 `fix:"863"` } +//NewNoCapacities returns an initialized NoCapacities instance +func NewNoCapacities(ordercapacity string, ordercapacityqty float64) *NoCapacities { + var m NoCapacities + m.SetOrderCapacity(ordercapacity) + m.SetOrderCapacityQty(ordercapacityqty) + return &m +} + func (m *NoCapacities) SetOrderCapacity(v string) { m.OrderCapacity = v } func (m *NoCapacities) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } func (m *NoCapacities) SetOrderCapacityQty(v float64) { m.OrderCapacityQty = v } diff --git a/fix50sp1/derivativeeventsgrp/DerivativeEventsGrp.go b/fix50sp1/derivativeeventsgrp/DerivativeEventsGrp.go index 23575a035..09911e013 100644 --- a/fix50sp1/derivativeeventsgrp/DerivativeEventsGrp.go +++ b/fix50sp1/derivativeeventsgrp/DerivativeEventsGrp.go @@ -4,6 +4,7 @@ import ( "time" ) +//New returns an initialized DerivativeEventsGrp instance func New() *DerivativeEventsGrp { var m DerivativeEventsGrp return &m @@ -23,6 +24,12 @@ type NoDerivativeEvents struct { DerivativeEventText *string `fix:"1291"` } +//NewNoDerivativeEvents returns an initialized NoDerivativeEvents instance +func NewNoDerivativeEvents() *NoDerivativeEvents { + var m NoDerivativeEvents + return &m +} + func (m *NoDerivativeEvents) SetDerivativeEventType(v int) { m.DerivativeEventType = &v } func (m *NoDerivativeEvents) SetDerivativeEventDate(v string) { m.DerivativeEventDate = &v } func (m *NoDerivativeEvents) SetDerivativeEventTime(v time.Time) { m.DerivativeEventTime = &v } diff --git a/fix50sp1/derivativeinstrument/DerivativeInstrument.go b/fix50sp1/derivativeinstrument/DerivativeInstrument.go index 8ebaecbe2..7d160b527 100644 --- a/fix50sp1/derivativeinstrument/DerivativeInstrument.go +++ b/fix50sp1/derivativeinstrument/DerivativeInstrument.go @@ -7,6 +7,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/derivativesecurityxml" ) +//New returns an initialized DerivativeInstrument instance func New() *DerivativeInstrument { var m DerivativeInstrument return &m diff --git a/fix50sp1/derivativeinstrumentattribute/DerivativeInstrumentAttribute.go b/fix50sp1/derivativeinstrumentattribute/DerivativeInstrumentAttribute.go index 1236e68e8..c8c3d8e3f 100644 --- a/fix50sp1/derivativeinstrumentattribute/DerivativeInstrumentAttribute.go +++ b/fix50sp1/derivativeinstrumentattribute/DerivativeInstrumentAttribute.go @@ -1,5 +1,6 @@ package derivativeinstrumentattribute +//New returns an initialized DerivativeInstrumentAttribute instance func New() *DerivativeInstrumentAttribute { var m DerivativeInstrumentAttribute return &m @@ -13,6 +14,12 @@ type NoDerivativeInstrAttrib struct { DerivativeInstrAttribValue *string `fix:"1314"` } +//NewNoDerivativeInstrAttrib returns an initialized NoDerivativeInstrAttrib instance +func NewNoDerivativeInstrAttrib() *NoDerivativeInstrAttrib { + var m NoDerivativeInstrAttrib + return &m +} + func (m *NoDerivativeInstrAttrib) SetDerivativeInstrAttribType(v int) { m.DerivativeInstrAttribType = &v } diff --git a/fix50sp1/derivativeinstrumentparties/DerivativeInstrumentParties.go b/fix50sp1/derivativeinstrumentparties/DerivativeInstrumentParties.go index e1926fb3a..406f6cead 100644 --- a/fix50sp1/derivativeinstrumentparties/DerivativeInstrumentParties.go +++ b/fix50sp1/derivativeinstrumentparties/DerivativeInstrumentParties.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/derivativeinstrumentpartysubidsgrp" ) +//New returns an initialized DerivativeInstrumentParties instance func New() *DerivativeInstrumentParties { var m DerivativeInstrumentParties return &m @@ -21,6 +22,12 @@ type NoDerivativeInstrumentParties struct { DerivativeInstrumentPartySubIDsGrp *derivativeinstrumentpartysubidsgrp.DerivativeInstrumentPartySubIDsGrp } +//NewNoDerivativeInstrumentParties returns an initialized NoDerivativeInstrumentParties instance +func NewNoDerivativeInstrumentParties() *NoDerivativeInstrumentParties { + var m NoDerivativeInstrumentParties + return &m +} + func (m *NoDerivativeInstrumentParties) SetDerivativeInstrumentPartyID(v string) { m.DerivativeInstrumentPartyID = &v } diff --git a/fix50sp1/derivativeinstrumentpartysubidsgrp/DerivativeInstrumentPartySubIDsGrp.go b/fix50sp1/derivativeinstrumentpartysubidsgrp/DerivativeInstrumentPartySubIDsGrp.go index b6ae58911..e1442de6e 100644 --- a/fix50sp1/derivativeinstrumentpartysubidsgrp/DerivativeInstrumentPartySubIDsGrp.go +++ b/fix50sp1/derivativeinstrumentpartysubidsgrp/DerivativeInstrumentPartySubIDsGrp.go @@ -1,5 +1,6 @@ package derivativeinstrumentpartysubidsgrp +//New returns an initialized DerivativeInstrumentPartySubIDsGrp instance func New() *DerivativeInstrumentPartySubIDsGrp { var m DerivativeInstrumentPartySubIDsGrp return &m @@ -13,6 +14,12 @@ type NoDerivativeInstrumentPartySubIDs struct { DerivativeInstrumentPartySubIDType *int `fix:"1298"` } +//NewNoDerivativeInstrumentPartySubIDs returns an initialized NoDerivativeInstrumentPartySubIDs instance +func NewNoDerivativeInstrumentPartySubIDs() *NoDerivativeInstrumentPartySubIDs { + var m NoDerivativeInstrumentPartySubIDs + return &m +} + func (m *NoDerivativeInstrumentPartySubIDs) SetDerivativeInstrumentPartySubID(v string) { m.DerivativeInstrumentPartySubID = &v } diff --git a/fix50sp1/derivativesecurityaltidgrp/DerivativeSecurityAltIDGrp.go b/fix50sp1/derivativesecurityaltidgrp/DerivativeSecurityAltIDGrp.go index 393131197..674ea898a 100644 --- a/fix50sp1/derivativesecurityaltidgrp/DerivativeSecurityAltIDGrp.go +++ b/fix50sp1/derivativesecurityaltidgrp/DerivativeSecurityAltIDGrp.go @@ -1,5 +1,6 @@ package derivativesecurityaltidgrp +//New returns an initialized DerivativeSecurityAltIDGrp instance func New() *DerivativeSecurityAltIDGrp { var m DerivativeSecurityAltIDGrp return &m @@ -13,6 +14,12 @@ type NoDerivativeSecurityAltID struct { DerivativeSecurityAltIDSource *string `fix:"1220"` } +//NewNoDerivativeSecurityAltID returns an initialized NoDerivativeSecurityAltID instance +func NewNoDerivativeSecurityAltID() *NoDerivativeSecurityAltID { + var m NoDerivativeSecurityAltID + return &m +} + func (m *NoDerivativeSecurityAltID) SetDerivativeSecurityAltID(v string) { m.DerivativeSecurityAltID = &v } diff --git a/fix50sp1/derivativesecuritydefinition/DerivativeSecurityDefinition.go b/fix50sp1/derivativesecuritydefinition/DerivativeSecurityDefinition.go index 35dcf5060..7703bf243 100644 --- a/fix50sp1/derivativesecuritydefinition/DerivativeSecurityDefinition.go +++ b/fix50sp1/derivativesecuritydefinition/DerivativeSecurityDefinition.go @@ -6,6 +6,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/marketsegmentgrp" ) +//New returns an initialized DerivativeSecurityDefinition instance func New() *DerivativeSecurityDefinition { var m DerivativeSecurityDefinition return &m diff --git a/fix50sp1/derivativesecurityxml/DerivativeSecurityXML.go b/fix50sp1/derivativesecurityxml/DerivativeSecurityXML.go index be60a7110..4055440a4 100644 --- a/fix50sp1/derivativesecurityxml/DerivativeSecurityXML.go +++ b/fix50sp1/derivativesecurityxml/DerivativeSecurityXML.go @@ -1,5 +1,6 @@ package derivativesecurityxml +//New returns an initialized DerivativeSecurityXML instance func New() *DerivativeSecurityXML { var m DerivativeSecurityXML return &m diff --git a/fix50sp1/discretioninstructions/DiscretionInstructions.go b/fix50sp1/discretioninstructions/DiscretionInstructions.go index 0d901eea2..3ac8bb94a 100644 --- a/fix50sp1/discretioninstructions/DiscretionInstructions.go +++ b/fix50sp1/discretioninstructions/DiscretionInstructions.go @@ -1,5 +1,6 @@ package discretioninstructions +//New returns an initialized DiscretionInstructions instance func New() *DiscretionInstructions { var m DiscretionInstructions return &m diff --git a/fix50sp1/displayinstruction/DisplayInstruction.go b/fix50sp1/displayinstruction/DisplayInstruction.go index c983b5037..b50cf266d 100644 --- a/fix50sp1/displayinstruction/DisplayInstruction.go +++ b/fix50sp1/displayinstruction/DisplayInstruction.go @@ -1,5 +1,6 @@ package displayinstruction +//New returns an initialized DisplayInstruction instance func New() *DisplayInstruction { var m DisplayInstruction return &m diff --git a/fix50sp1/dlvyinstgrp/DlvyInstGrp.go b/fix50sp1/dlvyinstgrp/DlvyInstGrp.go index c6643ecf8..f7f68017e 100644 --- a/fix50sp1/dlvyinstgrp/DlvyInstGrp.go +++ b/fix50sp1/dlvyinstgrp/DlvyInstGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/settlparties" ) +//New returns an initialized DlvyInstGrp instance func New() *DlvyInstGrp { var m DlvyInstGrp return &m @@ -19,6 +20,12 @@ type NoDlvyInst struct { SettlParties *settlparties.SettlParties } +//NewNoDlvyInst returns an initialized NoDlvyInst instance +func NewNoDlvyInst() *NoDlvyInst { + var m NoDlvyInst + return &m +} + func (m *NoDlvyInst) SetSettlInstSource(v string) { m.SettlInstSource = &v } func (m *NoDlvyInst) SetDlvyInstType(v string) { m.DlvyInstType = &v } func (m *NoDlvyInst) SetSettlParties(v settlparties.SettlParties) { m.SettlParties = &v } diff --git a/fix50sp1/evntgrp/EvntGrp.go b/fix50sp1/evntgrp/EvntGrp.go index 560702e5b..11a6be45a 100644 --- a/fix50sp1/evntgrp/EvntGrp.go +++ b/fix50sp1/evntgrp/EvntGrp.go @@ -4,6 +4,7 @@ import ( "time" ) +//New returns an initialized EvntGrp instance func New() *EvntGrp { var m EvntGrp return &m @@ -23,6 +24,12 @@ type NoEvents struct { EventTime *time.Time `fix:"1145"` } +//NewNoEvents returns an initialized NoEvents instance +func NewNoEvents() *NoEvents { + var m NoEvents + return &m +} + func (m *NoEvents) SetEventType(v int) { m.EventType = &v } func (m *NoEvents) SetEventDate(v string) { m.EventDate = &v } func (m *NoEvents) SetEventPx(v float64) { m.EventPx = &v } diff --git a/fix50sp1/execallocgrp/ExecAllocGrp.go b/fix50sp1/execallocgrp/ExecAllocGrp.go index 77c13a84a..67bb862f7 100644 --- a/fix50sp1/execallocgrp/ExecAllocGrp.go +++ b/fix50sp1/execallocgrp/ExecAllocGrp.go @@ -1,5 +1,6 @@ package execallocgrp +//New returns an initialized ExecAllocGrp instance func New() *ExecAllocGrp { var m ExecAllocGrp return &m @@ -25,6 +26,12 @@ type NoExecs struct { FirmTradeID *string `fix:"1041"` } +//NewNoExecs returns an initialized NoExecs instance +func NewNoExecs() *NoExecs { + var m NoExecs + return &m +} + func (m *NoExecs) SetLastQty(v float64) { m.LastQty = &v } func (m *NoExecs) SetExecID(v string) { m.ExecID = &v } func (m *NoExecs) SetSecondaryExecID(v string) { m.SecondaryExecID = &v } diff --git a/fix50sp1/execcollgrp/ExecCollGrp.go b/fix50sp1/execcollgrp/ExecCollGrp.go index c5bffd097..0fb31a38e 100644 --- a/fix50sp1/execcollgrp/ExecCollGrp.go +++ b/fix50sp1/execcollgrp/ExecCollGrp.go @@ -1,5 +1,6 @@ package execcollgrp +//New returns an initialized ExecCollGrp instance func New() *ExecCollGrp { var m ExecCollGrp return &m @@ -11,6 +12,12 @@ type NoExecs struct { ExecID *string `fix:"17"` } +//NewNoExecs returns an initialized NoExecs instance +func NewNoExecs() *NoExecs { + var m NoExecs + return &m +} + func (m *NoExecs) SetExecID(v string) { m.ExecID = &v } //ExecCollGrp is a fix50sp1 Component diff --git a/fix50sp1/execinstrules/ExecInstRules.go b/fix50sp1/execinstrules/ExecInstRules.go index 54b0ea612..190c500e8 100644 --- a/fix50sp1/execinstrules/ExecInstRules.go +++ b/fix50sp1/execinstrules/ExecInstRules.go @@ -1,5 +1,6 @@ package execinstrules +//New returns an initialized ExecInstRules instance func New() *ExecInstRules { var m ExecInstRules return &m @@ -11,6 +12,12 @@ type NoExecInstRules struct { ExecInstValue *string `fix:"1308"` } +//NewNoExecInstRules returns an initialized NoExecInstRules instance +func NewNoExecInstRules() *NoExecInstRules { + var m NoExecInstRules + return &m +} + func (m *NoExecInstRules) SetExecInstValue(v string) { m.ExecInstValue = &v } //ExecInstRules is a fix50sp1 Component diff --git a/fix50sp1/expirationqty/ExpirationQty.go b/fix50sp1/expirationqty/ExpirationQty.go index fc8dbf467..fa241f030 100644 --- a/fix50sp1/expirationqty/ExpirationQty.go +++ b/fix50sp1/expirationqty/ExpirationQty.go @@ -1,5 +1,6 @@ package expirationqty +//New returns an initialized ExpirationQty instance func New() *ExpirationQty { var m ExpirationQty return &m @@ -13,6 +14,12 @@ type NoExpiration struct { ExpQty *float64 `fix:"983"` } +//NewNoExpiration returns an initialized NoExpiration instance +func NewNoExpiration() *NoExpiration { + var m NoExpiration + return &m +} + func (m *NoExpiration) SetExpirationQtyType(v int) { m.ExpirationQtyType = &v } func (m *NoExpiration) SetExpQty(v float64) { m.ExpQty = &v } diff --git a/fix50sp1/fillsgrp/FillsGrp.go b/fix50sp1/fillsgrp/FillsGrp.go index 95b486f7d..9b9395d16 100644 --- a/fix50sp1/fillsgrp/FillsGrp.go +++ b/fix50sp1/fillsgrp/FillsGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/nestedparties4" ) +//New returns an initialized FillsGrp instance func New() *FillsGrp { var m FillsGrp return &m @@ -21,6 +22,12 @@ type NoFills struct { NestedParties4 *nestedparties4.NestedParties4 } +//NewNoFills returns an initialized NoFills instance +func NewNoFills() *NoFills { + var m NoFills + return &m +} + func (m *NoFills) SetFillExecID(v string) { m.FillExecID = &v } func (m *NoFills) SetFillPx(v float64) { m.FillPx = &v } func (m *NoFills) SetFillQty(v float64) { m.FillQty = &v } diff --git a/fix50sp1/financingdetails/FinancingDetails.go b/fix50sp1/financingdetails/FinancingDetails.go index 5d9a04f62..63f50adfe 100644 --- a/fix50sp1/financingdetails/FinancingDetails.go +++ b/fix50sp1/financingdetails/FinancingDetails.go @@ -1,5 +1,6 @@ package financingdetails +//New returns an initialized FinancingDetails instance func New() *FinancingDetails { var m FinancingDetails return &m diff --git a/fix50sp1/hopgrp/HopGrp.go b/fix50sp1/hopgrp/HopGrp.go index 34af809f8..ce707178d 100644 --- a/fix50sp1/hopgrp/HopGrp.go +++ b/fix50sp1/hopgrp/HopGrp.go @@ -4,6 +4,7 @@ import ( "time" ) +//New returns an initialized HopGrp instance func New() *HopGrp { var m HopGrp return &m @@ -19,6 +20,12 @@ type NoHops struct { HopRefID *int `fix:"630"` } +//NewNoHops returns an initialized NoHops instance +func NewNoHops() *NoHops { + var m NoHops + return &m +} + func (m *NoHops) SetHopCompID(v string) { m.HopCompID = &v } func (m *NoHops) SetHopSendingTime(v time.Time) { m.HopSendingTime = &v } func (m *NoHops) SetHopRefID(v int) { m.HopRefID = &v } diff --git a/fix50sp1/instrmtgrp/InstrmtGrp.go b/fix50sp1/instrmtgrp/InstrmtGrp.go index 0c2d9694b..ddfda3fca 100644 --- a/fix50sp1/instrmtgrp/InstrmtGrp.go +++ b/fix50sp1/instrmtgrp/InstrmtGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/instrument" ) +//New returns an initialized InstrmtGrp instance func New() *InstrmtGrp { var m InstrmtGrp return &m @@ -15,6 +16,12 @@ type NoRelatedSym struct { Instrument *instrument.Instrument } +//NewNoRelatedSym returns an initialized NoRelatedSym instance +func NewNoRelatedSym() *NoRelatedSym { + var m NoRelatedSym + return &m +} + func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = &v } //InstrmtGrp is a fix50sp1 Component diff --git a/fix50sp1/instrmtlegexecgrp/InstrmtLegExecGrp.go b/fix50sp1/instrmtlegexecgrp/InstrmtLegExecGrp.go index 6b7cec936..f8e2e250c 100644 --- a/fix50sp1/instrmtlegexecgrp/InstrmtLegExecGrp.go +++ b/fix50sp1/instrmtlegexecgrp/InstrmtLegExecGrp.go @@ -7,6 +7,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/nestedparties3" ) +//New returns an initialized InstrmtLegExecGrp instance func New() *InstrmtLegExecGrp { var m InstrmtLegExecGrp return &m @@ -62,6 +63,12 @@ type NoLegs struct { LegLastQty *float64 `fix:"1418"` } +//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) SetLegQty(v float64) { m.LegQty = &v } func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } diff --git a/fix50sp1/instrmtleggrp/InstrmtLegGrp.go b/fix50sp1/instrmtleggrp/InstrmtLegGrp.go index 2a1717eb0..a5633d1c3 100644 --- a/fix50sp1/instrmtleggrp/InstrmtLegGrp.go +++ b/fix50sp1/instrmtleggrp/InstrmtLegGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/instrumentleg" ) +//New returns an initialized InstrmtLegGrp instance func New() *InstrmtLegGrp { var m InstrmtLegGrp return &m @@ -15,6 +16,12 @@ type NoLegs struct { InstrumentLeg *instrumentleg.InstrumentLeg } +//NewNoLegs returns an initialized NoLegs instance +func NewNoLegs() *NoLegs { + var m NoLegs + return &m +} + func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } //InstrmtLegGrp is a fix50sp1 Component diff --git a/fix50sp1/instrmtlegioigrp/InstrmtLegIOIGrp.go b/fix50sp1/instrmtlegioigrp/InstrmtLegIOIGrp.go index edc7deba6..82400197b 100644 --- a/fix50sp1/instrmtlegioigrp/InstrmtLegIOIGrp.go +++ b/fix50sp1/instrmtlegioigrp/InstrmtLegIOIGrp.go @@ -5,6 +5,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/legstipulations" ) +//New returns an initialized InstrmtLegIOIGrp instance func New() *InstrmtLegIOIGrp { var m InstrmtLegIOIGrp return &m @@ -20,6 +21,12 @@ type NoLegs struct { LegStipulations *legstipulations.LegStipulations } +//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) SetLegIOIQty(v string) { m.LegIOIQty = &v } func (m *NoLegs) SetLegStipulations(v legstipulations.LegStipulations) { m.LegStipulations = &v } diff --git a/fix50sp1/instrmtlegseclistgrp/InstrmtLegSecListGrp.go b/fix50sp1/instrmtlegseclistgrp/InstrmtLegSecListGrp.go index 2bbdfb12e..449852592 100644 --- a/fix50sp1/instrmtlegseclistgrp/InstrmtLegSecListGrp.go +++ b/fix50sp1/instrmtlegseclistgrp/InstrmtLegSecListGrp.go @@ -6,6 +6,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/legstipulations" ) +//New returns an initialized InstrmtLegSecListGrp instance func New() *InstrmtLegSecListGrp { var m InstrmtLegSecListGrp return &m @@ -25,6 +26,12 @@ type NoLegs struct { 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 } diff --git a/fix50sp1/instrmtmdreqgrp/InstrmtMDReqGrp.go b/fix50sp1/instrmtmdreqgrp/InstrmtMDReqGrp.go index c6b7899f1..3e3f8a04e 100644 --- a/fix50sp1/instrmtmdreqgrp/InstrmtMDReqGrp.go +++ b/fix50sp1/instrmtmdreqgrp/InstrmtMDReqGrp.go @@ -6,6 +6,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/undinstrmtgrp" ) +//New returns an initialized InstrmtMDReqGrp instance func New(norelatedsym []NoRelatedSym) *InstrmtMDReqGrp { var m InstrmtMDReqGrp m.SetNoRelatedSym(norelatedsym) @@ -32,6 +33,13 @@ type NoRelatedSym struct { MDEntrySize *float64 `fix:"271"` } +//NewNoRelatedSym returns an initialized NoRelatedSym instance +func NewNoRelatedSym(instrument instrument.Instrument) *NoRelatedSym { + var m NoRelatedSym + m.SetInstrument(instrument) + return &m +} + func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = v } func (m *NoRelatedSym) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } func (m *NoRelatedSym) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } diff --git a/fix50sp1/instrmtstrkpxgrp/InstrmtStrkPxGrp.go b/fix50sp1/instrmtstrkpxgrp/InstrmtStrkPxGrp.go index 23e6d6674..90a6b4e26 100644 --- a/fix50sp1/instrmtstrkpxgrp/InstrmtStrkPxGrp.go +++ b/fix50sp1/instrmtstrkpxgrp/InstrmtStrkPxGrp.go @@ -5,6 +5,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/undinstrmtgrp" ) +//New returns an initialized InstrmtStrkPxGrp instance func New(nostrikes []NoStrikes) *InstrmtStrkPxGrp { var m InstrmtStrkPxGrp m.SetNoStrikes(nostrikes) @@ -37,6 +38,13 @@ type NoStrikes struct { EncodedText *string `fix:"355"` } +//NewNoStrikes returns an initialized NoStrikes instance +func NewNoStrikes(instrument instrument.Instrument) *NoStrikes { + var m NoStrikes + m.SetInstrument(instrument) + return &m +} + func (m *NoStrikes) SetInstrument(v instrument.Instrument) { m.Instrument = v } func (m *NoStrikes) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } func (m *NoStrikes) SetPrevClosePx(v float64) { m.PrevClosePx = &v } diff --git a/fix50sp1/instrument/Instrument.go b/fix50sp1/instrument/Instrument.go index 57ff4c49e..6112b5e22 100644 --- a/fix50sp1/instrument/Instrument.go +++ b/fix50sp1/instrument/Instrument.go @@ -7,6 +7,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/securityxml" ) +//New returns an initialized Instrument instance func New() *Instrument { var m Instrument return &m diff --git a/fix50sp1/instrumentextension/InstrumentExtension.go b/fix50sp1/instrumentextension/InstrumentExtension.go index 4ee3468d9..a409a51b0 100644 --- a/fix50sp1/instrumentextension/InstrumentExtension.go +++ b/fix50sp1/instrumentextension/InstrumentExtension.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/attrbgrp" ) +//New returns an initialized InstrumentExtension instance func New() *InstrumentExtension { var m InstrumentExtension return &m diff --git a/fix50sp1/instrumentleg/InstrumentLeg.go b/fix50sp1/instrumentleg/InstrumentLeg.go index df1f8310e..754c65076 100644 --- a/fix50sp1/instrumentleg/InstrumentLeg.go +++ b/fix50sp1/instrumentleg/InstrumentLeg.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/legsecaltidgrp" ) +//New returns an initialized InstrumentLeg instance func New() *InstrumentLeg { var m InstrumentLeg return &m diff --git a/fix50sp1/instrumentparties/InstrumentParties.go b/fix50sp1/instrumentparties/InstrumentParties.go index a2a756af9..737ec3365 100644 --- a/fix50sp1/instrumentparties/InstrumentParties.go +++ b/fix50sp1/instrumentparties/InstrumentParties.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/instrumentptyssubgrp" ) +//New returns an initialized InstrumentParties instance func New() *InstrumentParties { var m InstrumentParties return &m @@ -21,6 +22,12 @@ type NoInstrumentParties struct { InstrumentPtysSubGrp *instrumentptyssubgrp.InstrumentPtysSubGrp } +//NewNoInstrumentParties returns an initialized NoInstrumentParties instance +func NewNoInstrumentParties() *NoInstrumentParties { + var m NoInstrumentParties + return &m +} + func (m *NoInstrumentParties) SetInstrumentPartyID(v string) { m.InstrumentPartyID = &v } func (m *NoInstrumentParties) SetInstrumentPartyIDSource(v string) { m.InstrumentPartyIDSource = &v } func (m *NoInstrumentParties) SetInstrumentPartyRole(v int) { m.InstrumentPartyRole = &v } diff --git a/fix50sp1/instrumentptyssubgrp/InstrumentPtysSubGrp.go b/fix50sp1/instrumentptyssubgrp/InstrumentPtysSubGrp.go index 850cced31..9851b019f 100644 --- a/fix50sp1/instrumentptyssubgrp/InstrumentPtysSubGrp.go +++ b/fix50sp1/instrumentptyssubgrp/InstrumentPtysSubGrp.go @@ -1,5 +1,6 @@ package instrumentptyssubgrp +//New returns an initialized InstrumentPtysSubGrp instance func New() *InstrumentPtysSubGrp { var m InstrumentPtysSubGrp return &m @@ -13,6 +14,12 @@ type NoInstrumentPartySubIDs struct { InstrumentPartySubIDType *int `fix:"1054"` } +//NewNoInstrumentPartySubIDs returns an initialized NoInstrumentPartySubIDs instance +func NewNoInstrumentPartySubIDs() *NoInstrumentPartySubIDs { + var m NoInstrumentPartySubIDs + return &m +} + func (m *NoInstrumentPartySubIDs) SetInstrumentPartySubID(v string) { m.InstrumentPartySubID = &v } func (m *NoInstrumentPartySubIDs) SetInstrumentPartySubIDType(v int) { m.InstrumentPartySubIDType = &v } diff --git a/fix50sp1/ioiqualgrp/IOIQualGrp.go b/fix50sp1/ioiqualgrp/IOIQualGrp.go index 58b78ffb0..cc0e3e38a 100644 --- a/fix50sp1/ioiqualgrp/IOIQualGrp.go +++ b/fix50sp1/ioiqualgrp/IOIQualGrp.go @@ -1,5 +1,6 @@ package ioiqualgrp +//New returns an initialized IOIQualGrp instance func New() *IOIQualGrp { var m IOIQualGrp return &m @@ -11,6 +12,12 @@ type NoIOIQualifiers struct { IOIQualifier *string `fix:"104"` } +//NewNoIOIQualifiers returns an initialized NoIOIQualifiers instance +func NewNoIOIQualifiers() *NoIOIQualifiers { + var m NoIOIQualifiers + return &m +} + func (m *NoIOIQualifiers) SetIOIQualifier(v string) { m.IOIQualifier = &v } //IOIQualGrp is a fix50sp1 Component diff --git a/fix50sp1/legbenchmarkcurvedata/LegBenchmarkCurveData.go b/fix50sp1/legbenchmarkcurvedata/LegBenchmarkCurveData.go index ec297e24f..5ddabe773 100644 --- a/fix50sp1/legbenchmarkcurvedata/LegBenchmarkCurveData.go +++ b/fix50sp1/legbenchmarkcurvedata/LegBenchmarkCurveData.go @@ -1,5 +1,6 @@ package legbenchmarkcurvedata +//New returns an initialized LegBenchmarkCurveData instance func New() *LegBenchmarkCurveData { var m LegBenchmarkCurveData return &m diff --git a/fix50sp1/legordgrp/LegOrdGrp.go b/fix50sp1/legordgrp/LegOrdGrp.go index e82ec152e..634420100 100644 --- a/fix50sp1/legordgrp/LegOrdGrp.go +++ b/fix50sp1/legordgrp/LegOrdGrp.go @@ -7,6 +7,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/nestedparties" ) +//New returns an initialized LegOrdGrp instance func New(nolegs []NoLegs) *LegOrdGrp { var m LegOrdGrp m.SetNoLegs(nolegs) @@ -53,6 +54,12 @@ type NoLegs struct { LegSettlCurrency *string `fix:"675"` } +//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) SetLegQty(v float64) { m.LegQty = &v } func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } diff --git a/fix50sp1/legpreallocgrp/LegPreAllocGrp.go b/fix50sp1/legpreallocgrp/LegPreAllocGrp.go index 2eeed39ab..b910f1f26 100644 --- a/fix50sp1/legpreallocgrp/LegPreAllocGrp.go +++ b/fix50sp1/legpreallocgrp/LegPreAllocGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/nestedparties2" ) +//New returns an initialized LegPreAllocGrp instance func New() *LegPreAllocGrp { var m LegPreAllocGrp return &m @@ -25,6 +26,12 @@ type NoLegAllocs struct { NestedParties2 *nestedparties2.NestedParties2 } +//NewNoLegAllocs returns an initialized NoLegAllocs instance +func NewNoLegAllocs() *NoLegAllocs { + var m NoLegAllocs + return &m +} + func (m *NoLegAllocs) SetLegAllocAccount(v string) { m.LegAllocAccount = &v } func (m *NoLegAllocs) SetLegIndividualAllocID(v string) { m.LegIndividualAllocID = &v } func (m *NoLegAllocs) SetLegAllocQty(v float64) { m.LegAllocQty = &v } diff --git a/fix50sp1/legquotgrp/LegQuotGrp.go b/fix50sp1/legquotgrp/LegQuotGrp.go index 790cd6ff8..e5f8a11d8 100644 --- a/fix50sp1/legquotgrp/LegQuotGrp.go +++ b/fix50sp1/legquotgrp/LegQuotGrp.go @@ -7,6 +7,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/nestedparties" ) +//New returns an initialized LegQuotGrp instance func New() *LegQuotGrp { var m LegQuotGrp return &m @@ -46,6 +47,12 @@ type NoLegs struct { LegOfferForwardPoints *float64 `fix:"1068"` } +//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) SetLegQty(v float64) { m.LegQty = &v } func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } diff --git a/fix50sp1/legquotstatgrp/LegQuotStatGrp.go b/fix50sp1/legquotstatgrp/LegQuotStatGrp.go index b185840e3..e88cdc3b0 100644 --- a/fix50sp1/legquotstatgrp/LegQuotStatGrp.go +++ b/fix50sp1/legquotstatgrp/LegQuotStatGrp.go @@ -6,6 +6,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/nestedparties" ) +//New returns an initialized LegQuotStatGrp instance func New() *LegQuotStatGrp { var m LegQuotStatGrp return &m @@ -31,6 +32,12 @@ type NoLegs struct { LegOrderQty *float64 `fix:"685"` } +//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) SetLegQty(v float64) { m.LegQty = &v } func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } diff --git a/fix50sp1/legsecaltidgrp/LegSecAltIDGrp.go b/fix50sp1/legsecaltidgrp/LegSecAltIDGrp.go index 072594053..8ecbbdf6e 100644 --- a/fix50sp1/legsecaltidgrp/LegSecAltIDGrp.go +++ b/fix50sp1/legsecaltidgrp/LegSecAltIDGrp.go @@ -1,5 +1,6 @@ package legsecaltidgrp +//New returns an initialized LegSecAltIDGrp instance func New() *LegSecAltIDGrp { var m LegSecAltIDGrp return &m @@ -13,6 +14,12 @@ type NoLegSecurityAltID struct { LegSecurityAltIDSource *string `fix:"606"` } +//NewNoLegSecurityAltID returns an initialized NoLegSecurityAltID instance +func NewNoLegSecurityAltID() *NoLegSecurityAltID { + var m NoLegSecurityAltID + return &m +} + func (m *NoLegSecurityAltID) SetLegSecurityAltID(v string) { m.LegSecurityAltID = &v } func (m *NoLegSecurityAltID) SetLegSecurityAltIDSource(v string) { m.LegSecurityAltIDSource = &v } diff --git a/fix50sp1/legstipulations/LegStipulations.go b/fix50sp1/legstipulations/LegStipulations.go index 3106ec57e..591ecc50f 100644 --- a/fix50sp1/legstipulations/LegStipulations.go +++ b/fix50sp1/legstipulations/LegStipulations.go @@ -1,5 +1,6 @@ package legstipulations +//New returns an initialized LegStipulations instance func New() *LegStipulations { var m LegStipulations return &m @@ -13,6 +14,12 @@ type NoLegStipulations struct { LegStipulationValue *string `fix:"689"` } +//NewNoLegStipulations returns an initialized NoLegStipulations instance +func NewNoLegStipulations() *NoLegStipulations { + var m NoLegStipulations + return &m +} + func (m *NoLegStipulations) SetLegStipulationType(v string) { m.LegStipulationType = &v } func (m *NoLegStipulations) SetLegStipulationValue(v string) { m.LegStipulationValue = &v } diff --git a/fix50sp1/linesoftextgrp/LinesOfTextGrp.go b/fix50sp1/linesoftextgrp/LinesOfTextGrp.go index 5f4fc0e8e..4d27607d6 100644 --- a/fix50sp1/linesoftextgrp/LinesOfTextGrp.go +++ b/fix50sp1/linesoftextgrp/LinesOfTextGrp.go @@ -1,5 +1,6 @@ package linesoftextgrp +//New returns an initialized LinesOfTextGrp instance func New(nolinesoftext []NoLinesOfText) *LinesOfTextGrp { var m LinesOfTextGrp m.SetNoLinesOfText(nolinesoftext) @@ -16,6 +17,13 @@ type NoLinesOfText struct { EncodedText *string `fix:"355"` } +//NewNoLinesOfText returns an initialized NoLinesOfText instance +func NewNoLinesOfText(text string) *NoLinesOfText { + var m NoLinesOfText + m.SetText(text) + return &m +} + func (m *NoLinesOfText) SetText(v string) { m.Text = v } func (m *NoLinesOfText) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } func (m *NoLinesOfText) SetEncodedText(v string) { m.EncodedText = &v } diff --git a/fix50sp1/listordgrp/ListOrdGrp.go b/fix50sp1/listordgrp/ListOrdGrp.go index 7f330af53..4fcb51ea1 100644 --- a/fix50sp1/listordgrp/ListOrdGrp.go +++ b/fix50sp1/listordgrp/ListOrdGrp.go @@ -19,6 +19,7 @@ import ( "time" ) +//New returns an initialized ListOrdGrp instance func New(noorders []NoOrders) *ListOrdGrp { var m ListOrdGrp m.SetNoOrders(noorders) @@ -199,6 +200,17 @@ type NoOrders struct { ExDestinationIDSource *string `fix:"1133"` } +//NewNoOrders returns an initialized NoOrders instance +func NewNoOrders(clordid string, listseqno int, instrument instrument.Instrument, side string, orderqtydata orderqtydata.OrderQtyData) *NoOrders { + var m NoOrders + m.SetClOrdID(clordid) + m.SetListSeqNo(listseqno) + m.SetInstrument(instrument) + m.SetSide(side) + m.SetOrderQtyData(orderqtydata) + return &m +} + func (m *NoOrders) SetClOrdID(v string) { m.ClOrdID = v } func (m *NoOrders) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } func (m *NoOrders) SetListSeqNo(v int) { m.ListSeqNo = v } diff --git a/fix50sp1/lottyperules/LotTypeRules.go b/fix50sp1/lottyperules/LotTypeRules.go index 03416449b..22610366b 100644 --- a/fix50sp1/lottyperules/LotTypeRules.go +++ b/fix50sp1/lottyperules/LotTypeRules.go @@ -1,5 +1,6 @@ package lottyperules +//New returns an initialized LotTypeRules instance func New() *LotTypeRules { var m LotTypeRules return &m @@ -13,6 +14,12 @@ type NoLotTypeRules struct { MinLotSize *float64 `fix:"1231"` } +//NewNoLotTypeRules returns an initialized NoLotTypeRules instance +func NewNoLotTypeRules() *NoLotTypeRules { + var m NoLotTypeRules + return &m +} + func (m *NoLotTypeRules) SetLotType(v string) { m.LotType = &v } func (m *NoLotTypeRules) SetMinLotSize(v float64) { m.MinLotSize = &v } diff --git a/fix50sp1/marketdatafeedtypes/MarketDataFeedTypes.go b/fix50sp1/marketdatafeedtypes/MarketDataFeedTypes.go index 55ee1b8f8..f834d002d 100644 --- a/fix50sp1/marketdatafeedtypes/MarketDataFeedTypes.go +++ b/fix50sp1/marketdatafeedtypes/MarketDataFeedTypes.go @@ -1,5 +1,6 @@ package marketdatafeedtypes +//New returns an initialized MarketDataFeedTypes instance func New() *MarketDataFeedTypes { var m MarketDataFeedTypes return &m @@ -15,6 +16,12 @@ type NoMDFeedTypes struct { MDBookType *int `fix:"1021"` } +//NewNoMDFeedTypes returns an initialized NoMDFeedTypes instance +func NewNoMDFeedTypes() *NoMDFeedTypes { + var m NoMDFeedTypes + return &m +} + func (m *NoMDFeedTypes) SetMDFeedType(v string) { m.MDFeedType = &v } func (m *NoMDFeedTypes) SetMarketDepth(v int) { m.MarketDepth = &v } func (m *NoMDFeedTypes) SetMDBookType(v int) { m.MDBookType = &v } diff --git a/fix50sp1/marketsegmentgrp/MarketSegmentGrp.go b/fix50sp1/marketsegmentgrp/MarketSegmentGrp.go index 196d1df45..4d02db7fa 100644 --- a/fix50sp1/marketsegmentgrp/MarketSegmentGrp.go +++ b/fix50sp1/marketsegmentgrp/MarketSegmentGrp.go @@ -5,6 +5,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/strikerules" ) +//New returns an initialized MarketSegmentGrp instance func New() *MarketSegmentGrp { var m MarketSegmentGrp return &m @@ -22,6 +23,12 @@ type NoMarketSegments struct { StrikeRules *strikerules.StrikeRules } +//NewNoMarketSegments returns an initialized NoMarketSegments instance +func NewNoMarketSegments() *NoMarketSegments { + var m NoMarketSegments + return &m +} + func (m *NoMarketSegments) SetMarketID(v string) { m.MarketID = &v } func (m *NoMarketSegments) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } func (m *NoMarketSegments) SetSecurityTradingRules(v securitytradingrules.SecurityTradingRules) { diff --git a/fix50sp1/matchrules/MatchRules.go b/fix50sp1/matchrules/MatchRules.go index 6a5239a6f..9e00fd626 100644 --- a/fix50sp1/matchrules/MatchRules.go +++ b/fix50sp1/matchrules/MatchRules.go @@ -1,5 +1,6 @@ package matchrules +//New returns an initialized MatchRules instance func New() *MatchRules { var m MatchRules return &m @@ -13,6 +14,12 @@ type NoMatchRules struct { MatchType *string `fix:"574"` } +//NewNoMatchRules returns an initialized NoMatchRules instance +func NewNoMatchRules() *NoMatchRules { + var m NoMatchRules + return &m +} + func (m *NoMatchRules) SetMatchAlgorithm(v string) { m.MatchAlgorithm = &v } func (m *NoMatchRules) SetMatchType(v string) { m.MatchType = &v } diff --git a/fix50sp1/maturityrules/MaturityRules.go b/fix50sp1/maturityrules/MaturityRules.go index 948c49f10..4be51542a 100644 --- a/fix50sp1/maturityrules/MaturityRules.go +++ b/fix50sp1/maturityrules/MaturityRules.go @@ -1,5 +1,6 @@ package maturityrules +//New returns an initialized MaturityRules instance func New() *MaturityRules { var m MaturityRules return &m @@ -21,6 +22,12 @@ type NoMaturityRules struct { MaturityMonthYearIncrement *int `fix:"1229"` } +//NewNoMaturityRules returns an initialized NoMaturityRules instance +func NewNoMaturityRules() *NoMaturityRules { + var m NoMaturityRules + return &m +} + func (m *NoMaturityRules) SetMaturityRuleID(v string) { m.MaturityRuleID = &v } func (m *NoMaturityRules) SetMaturityMonthYearFormat(v int) { m.MaturityMonthYearFormat = &v } func (m *NoMaturityRules) SetMaturityMonthYearIncrementUnits(v int) { diff --git a/fix50sp1/mdfullgrp/MDFullGrp.go b/fix50sp1/mdfullgrp/MDFullGrp.go index 0538b4410..28cec1cfe 100644 --- a/fix50sp1/mdfullgrp/MDFullGrp.go +++ b/fix50sp1/mdfullgrp/MDFullGrp.go @@ -8,6 +8,7 @@ import ( "time" ) +//New returns an initialized MDFullGrp instance func New(nomdentries []NoMDEntries) *MDFullGrp { var m MDFullGrp m.SetNoMDEntries(nomdentries) @@ -132,6 +133,13 @@ type NoMDEntries struct { HaltReasonChar *string `fix:"327"` } +//NewNoMDEntries returns an initialized NoMDEntries instance +func NewNoMDEntries(mdentrytype string) *NoMDEntries { + var m NoMDEntries + m.SetMDEntryType(mdentrytype) + return &m +} + func (m *NoMDEntries) SetMDEntryType(v string) { m.MDEntryType = v } func (m *NoMDEntries) SetMDEntryPx(v float64) { m.MDEntryPx = &v } func (m *NoMDEntries) SetCurrency(v string) { m.Currency = &v } diff --git a/fix50sp1/mdincgrp/MDIncGrp.go b/fix50sp1/mdincgrp/MDIncGrp.go index 7dc554cf5..4c0ff88e4 100644 --- a/fix50sp1/mdincgrp/MDIncGrp.go +++ b/fix50sp1/mdincgrp/MDIncGrp.go @@ -12,6 +12,7 @@ import ( "time" ) +//New returns an initialized MDIncGrp instance func New(nomdentries []NoMDEntries) *MDIncGrp { var m MDIncGrp m.SetNoMDEntries(nomdentries) @@ -170,6 +171,13 @@ type NoMDEntries struct { StatsIndGrp *statsindgrp.StatsIndGrp } +//NewNoMDEntries returns an initialized NoMDEntries instance +func NewNoMDEntries(mdupdateaction string) *NoMDEntries { + var m NoMDEntries + m.SetMDUpdateAction(mdupdateaction) + return &m +} + func (m *NoMDEntries) SetMDUpdateAction(v string) { m.MDUpdateAction = v } func (m *NoMDEntries) SetDeleteReason(v string) { m.DeleteReason = &v } func (m *NoMDEntries) SetMDEntryType(v string) { m.MDEntryType = &v } diff --git a/fix50sp1/mdreqgrp/MDReqGrp.go b/fix50sp1/mdreqgrp/MDReqGrp.go index c86b24b00..518ace44c 100644 --- a/fix50sp1/mdreqgrp/MDReqGrp.go +++ b/fix50sp1/mdreqgrp/MDReqGrp.go @@ -1,5 +1,6 @@ package mdreqgrp +//New returns an initialized MDReqGrp instance func New(nomdentrytypes []NoMDEntryTypes) *MDReqGrp { var m MDReqGrp m.SetNoMDEntryTypes(nomdentrytypes) @@ -12,6 +13,13 @@ type NoMDEntryTypes struct { MDEntryType string `fix:"269"` } +//NewNoMDEntryTypes returns an initialized NoMDEntryTypes instance +func NewNoMDEntryTypes(mdentrytype string) *NoMDEntryTypes { + var m NoMDEntryTypes + m.SetMDEntryType(mdentrytype) + return &m +} + func (m *NoMDEntryTypes) SetMDEntryType(v string) { m.MDEntryType = v } //MDReqGrp is a fix50sp1 Component diff --git a/fix50sp1/mdrjctgrp/MDRjctGrp.go b/fix50sp1/mdrjctgrp/MDRjctGrp.go index f87a83d20..9ce973742 100644 --- a/fix50sp1/mdrjctgrp/MDRjctGrp.go +++ b/fix50sp1/mdrjctgrp/MDRjctGrp.go @@ -1,5 +1,6 @@ package mdrjctgrp +//New returns an initialized MDRjctGrp instance func New() *MDRjctGrp { var m MDRjctGrp return &m @@ -11,6 +12,12 @@ type NoAltMDSource struct { AltMDSourceID *string `fix:"817"` } +//NewNoAltMDSource returns an initialized NoAltMDSource instance +func NewNoAltMDSource() *NoAltMDSource { + var m NoAltMDSource + return &m +} + func (m *NoAltMDSource) SetAltMDSourceID(v string) { m.AltMDSourceID = &v } //MDRjctGrp is a fix50sp1 Component diff --git a/fix50sp1/miscfeesgrp/MiscFeesGrp.go b/fix50sp1/miscfeesgrp/MiscFeesGrp.go index 330491003..b2ffc53cc 100644 --- a/fix50sp1/miscfeesgrp/MiscFeesGrp.go +++ b/fix50sp1/miscfeesgrp/MiscFeesGrp.go @@ -1,5 +1,6 @@ package miscfeesgrp +//New returns an initialized MiscFeesGrp instance func New() *MiscFeesGrp { var m MiscFeesGrp return &m @@ -17,6 +18,12 @@ type NoMiscFees struct { MiscFeeBasis *int `fix:"891"` } +//NewNoMiscFees returns an initialized NoMiscFees instance +func NewNoMiscFees() *NoMiscFees { + var m NoMiscFees + return &m +} + func (m *NoMiscFees) SetMiscFeeAmt(v float64) { m.MiscFeeAmt = &v } func (m *NoMiscFees) SetMiscFeeCurr(v string) { m.MiscFeeCurr = &v } func (m *NoMiscFees) SetMiscFeeType(v string) { m.MiscFeeType = &v } diff --git a/fix50sp1/msgtypegrp/MsgTypeGrp.go b/fix50sp1/msgtypegrp/MsgTypeGrp.go index d85894c25..fee1ba11f 100644 --- a/fix50sp1/msgtypegrp/MsgTypeGrp.go +++ b/fix50sp1/msgtypegrp/MsgTypeGrp.go @@ -1,5 +1,6 @@ package msgtypegrp +//New returns an initialized MsgTypeGrp instance func New() *MsgTypeGrp { var m MsgTypeGrp return &m @@ -21,6 +22,12 @@ type NoMsgTypes struct { DefaultVerIndicator *bool `fix:"1410"` } +//NewNoMsgTypes returns an initialized NoMsgTypes instance +func NewNoMsgTypes() *NoMsgTypes { + var m NoMsgTypes + return &m +} + func (m *NoMsgTypes) SetRefMsgType(v string) { m.RefMsgType = &v } func (m *NoMsgTypes) SetMsgDirection(v string) { m.MsgDirection = &v } func (m *NoMsgTypes) SetRefApplVerID(v string) { m.RefApplVerID = &v } diff --git a/fix50sp1/nestedinstrumentattribute/NestedInstrumentAttribute.go b/fix50sp1/nestedinstrumentattribute/NestedInstrumentAttribute.go index 18d0662bf..e519729a5 100644 --- a/fix50sp1/nestedinstrumentattribute/NestedInstrumentAttribute.go +++ b/fix50sp1/nestedinstrumentattribute/NestedInstrumentAttribute.go @@ -1,5 +1,6 @@ package nestedinstrumentattribute +//New returns an initialized NestedInstrumentAttribute instance func New() *NestedInstrumentAttribute { var m NestedInstrumentAttribute return &m @@ -13,6 +14,12 @@ type NoNestedInstrAttrib struct { NestedInstrAttribValue *string `fix:"1211"` } +//NewNoNestedInstrAttrib returns an initialized NoNestedInstrAttrib instance +func NewNoNestedInstrAttrib() *NoNestedInstrAttrib { + var m NoNestedInstrAttrib + return &m +} + func (m *NoNestedInstrAttrib) SetNestedInstrAttribType(v int) { m.NestedInstrAttribType = &v } func (m *NoNestedInstrAttrib) SetNestedInstrAttribValue(v string) { m.NestedInstrAttribValue = &v } diff --git a/fix50sp1/nestedparties/NestedParties.go b/fix50sp1/nestedparties/NestedParties.go index 30cc1fcec..382ed6528 100644 --- a/fix50sp1/nestedparties/NestedParties.go +++ b/fix50sp1/nestedparties/NestedParties.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/nstdptyssubgrp" ) +//New returns an initialized NestedParties instance func New() *NestedParties { var m NestedParties return &m @@ -21,6 +22,12 @@ type NoNestedPartyIDs struct { NstdPtysSubGrp *nstdptyssubgrp.NstdPtysSubGrp } +//NewNoNestedPartyIDs returns an initialized NoNestedPartyIDs instance +func NewNoNestedPartyIDs() *NoNestedPartyIDs { + var m NoNestedPartyIDs + return &m +} + func (m *NoNestedPartyIDs) SetNestedPartyID(v string) { m.NestedPartyID = &v } func (m *NoNestedPartyIDs) SetNestedPartyIDSource(v string) { m.NestedPartyIDSource = &v } func (m *NoNestedPartyIDs) SetNestedPartyRole(v int) { m.NestedPartyRole = &v } diff --git a/fix50sp1/nestedparties2/NestedParties2.go b/fix50sp1/nestedparties2/NestedParties2.go index 5349f73ea..d972dc699 100644 --- a/fix50sp1/nestedparties2/NestedParties2.go +++ b/fix50sp1/nestedparties2/NestedParties2.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/nstdptys2subgrp" ) +//New returns an initialized NestedParties2 instance func New() *NestedParties2 { var m NestedParties2 return &m @@ -21,6 +22,12 @@ type NoNested2PartyIDs struct { NstdPtys2SubGrp *nstdptys2subgrp.NstdPtys2SubGrp } +//NewNoNested2PartyIDs returns an initialized NoNested2PartyIDs instance +func NewNoNested2PartyIDs() *NoNested2PartyIDs { + var m NoNested2PartyIDs + return &m +} + func (m *NoNested2PartyIDs) SetNested2PartyID(v string) { m.Nested2PartyID = &v } func (m *NoNested2PartyIDs) SetNested2PartyIDSource(v string) { m.Nested2PartyIDSource = &v } func (m *NoNested2PartyIDs) SetNested2PartyRole(v int) { m.Nested2PartyRole = &v } diff --git a/fix50sp1/nestedparties3/NestedParties3.go b/fix50sp1/nestedparties3/NestedParties3.go index 11cb0ee2e..fef15c80d 100644 --- a/fix50sp1/nestedparties3/NestedParties3.go +++ b/fix50sp1/nestedparties3/NestedParties3.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/nstdptys3subgrp" ) +//New returns an initialized NestedParties3 instance func New() *NestedParties3 { var m NestedParties3 return &m @@ -21,6 +22,12 @@ type NoNested3PartyIDs struct { NstdPtys3SubGrp *nstdptys3subgrp.NstdPtys3SubGrp } +//NewNoNested3PartyIDs returns an initialized NoNested3PartyIDs instance +func NewNoNested3PartyIDs() *NoNested3PartyIDs { + var m NoNested3PartyIDs + return &m +} + func (m *NoNested3PartyIDs) SetNested3PartyID(v string) { m.Nested3PartyID = &v } func (m *NoNested3PartyIDs) SetNested3PartyIDSource(v string) { m.Nested3PartyIDSource = &v } func (m *NoNested3PartyIDs) SetNested3PartyRole(v int) { m.Nested3PartyRole = &v } diff --git a/fix50sp1/nestedparties4/NestedParties4.go b/fix50sp1/nestedparties4/NestedParties4.go index 044a8ddc5..21de48d56 100644 --- a/fix50sp1/nestedparties4/NestedParties4.go +++ b/fix50sp1/nestedparties4/NestedParties4.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/nstdptys4subgrp" ) +//New returns an initialized NestedParties4 instance func New() *NestedParties4 { var m NestedParties4 return &m @@ -21,6 +22,12 @@ type NoNested4PartyIDs struct { NstdPtys4SubGrp *nstdptys4subgrp.NstdPtys4SubGrp } +//NewNoNested4PartyIDs returns an initialized NoNested4PartyIDs instance +func NewNoNested4PartyIDs() *NoNested4PartyIDs { + var m NoNested4PartyIDs + return &m +} + func (m *NoNested4PartyIDs) SetNested4PartyID(v string) { m.Nested4PartyID = &v } func (m *NoNested4PartyIDs) SetNested4PartyIDSource(v string) { m.Nested4PartyIDSource = &v } func (m *NoNested4PartyIDs) SetNested4PartyRole(v int) { m.Nested4PartyRole = &v } diff --git a/fix50sp1/notaffectedordersgrp/NotAffectedOrdersGrp.go b/fix50sp1/notaffectedordersgrp/NotAffectedOrdersGrp.go index d55650da7..243ce09f9 100644 --- a/fix50sp1/notaffectedordersgrp/NotAffectedOrdersGrp.go +++ b/fix50sp1/notaffectedordersgrp/NotAffectedOrdersGrp.go @@ -1,5 +1,6 @@ package notaffectedordersgrp +//New returns an initialized NotAffectedOrdersGrp instance func New() *NotAffectedOrdersGrp { var m NotAffectedOrdersGrp return &m @@ -13,6 +14,12 @@ type NoNotAffectedOrders struct { NotAffectedOrderID *string `fix:"1371"` } +//NewNoNotAffectedOrders returns an initialized NoNotAffectedOrders instance +func NewNoNotAffectedOrders() *NoNotAffectedOrders { + var m NoNotAffectedOrders + return &m +} + func (m *NoNotAffectedOrders) SetNotAffOrigClOrdID(v string) { m.NotAffOrigClOrdID = &v } func (m *NoNotAffectedOrders) SetNotAffectedOrderID(v string) { m.NotAffectedOrderID = &v } diff --git a/fix50sp1/nstdptys2subgrp/NstdPtys2SubGrp.go b/fix50sp1/nstdptys2subgrp/NstdPtys2SubGrp.go index 6788d122c..9bc212b52 100644 --- a/fix50sp1/nstdptys2subgrp/NstdPtys2SubGrp.go +++ b/fix50sp1/nstdptys2subgrp/NstdPtys2SubGrp.go @@ -1,5 +1,6 @@ package nstdptys2subgrp +//New returns an initialized NstdPtys2SubGrp instance func New() *NstdPtys2SubGrp { var m NstdPtys2SubGrp return &m @@ -13,6 +14,12 @@ type NoNested2PartySubIDs struct { Nested2PartySubIDType *int `fix:"807"` } +//NewNoNested2PartySubIDs returns an initialized NoNested2PartySubIDs instance +func NewNoNested2PartySubIDs() *NoNested2PartySubIDs { + var m NoNested2PartySubIDs + return &m +} + func (m *NoNested2PartySubIDs) SetNested2PartySubID(v string) { m.Nested2PartySubID = &v } func (m *NoNested2PartySubIDs) SetNested2PartySubIDType(v int) { m.Nested2PartySubIDType = &v } diff --git a/fix50sp1/nstdptys3subgrp/NstdPtys3SubGrp.go b/fix50sp1/nstdptys3subgrp/NstdPtys3SubGrp.go index 53dabf15e..c0606d2f9 100644 --- a/fix50sp1/nstdptys3subgrp/NstdPtys3SubGrp.go +++ b/fix50sp1/nstdptys3subgrp/NstdPtys3SubGrp.go @@ -1,5 +1,6 @@ package nstdptys3subgrp +//New returns an initialized NstdPtys3SubGrp instance func New() *NstdPtys3SubGrp { var m NstdPtys3SubGrp return &m @@ -13,6 +14,12 @@ type NoNested3PartySubIDs struct { Nested3PartySubIDType *int `fix:"954"` } +//NewNoNested3PartySubIDs returns an initialized NoNested3PartySubIDs instance +func NewNoNested3PartySubIDs() *NoNested3PartySubIDs { + var m NoNested3PartySubIDs + return &m +} + func (m *NoNested3PartySubIDs) SetNested3PartySubID(v string) { m.Nested3PartySubID = &v } func (m *NoNested3PartySubIDs) SetNested3PartySubIDType(v int) { m.Nested3PartySubIDType = &v } diff --git a/fix50sp1/nstdptys4subgrp/NstdPtys4SubGrp.go b/fix50sp1/nstdptys4subgrp/NstdPtys4SubGrp.go index da8e8f234..29d0806f8 100644 --- a/fix50sp1/nstdptys4subgrp/NstdPtys4SubGrp.go +++ b/fix50sp1/nstdptys4subgrp/NstdPtys4SubGrp.go @@ -1,5 +1,6 @@ package nstdptys4subgrp +//New returns an initialized NstdPtys4SubGrp instance func New() *NstdPtys4SubGrp { var m NstdPtys4SubGrp return &m @@ -13,6 +14,12 @@ type NoNested4PartySubIDs struct { Nested4PartySubIDType *int `fix:"1411"` } +//NewNoNested4PartySubIDs returns an initialized NoNested4PartySubIDs instance +func NewNoNested4PartySubIDs() *NoNested4PartySubIDs { + var m NoNested4PartySubIDs + return &m +} + func (m *NoNested4PartySubIDs) SetNested4PartySubID(v string) { m.Nested4PartySubID = &v } func (m *NoNested4PartySubIDs) SetNested4PartySubIDType(v int) { m.Nested4PartySubIDType = &v } diff --git a/fix50sp1/nstdptyssubgrp/NstdPtysSubGrp.go b/fix50sp1/nstdptyssubgrp/NstdPtysSubGrp.go index ccaa64e79..046b70d4b 100644 --- a/fix50sp1/nstdptyssubgrp/NstdPtysSubGrp.go +++ b/fix50sp1/nstdptyssubgrp/NstdPtysSubGrp.go @@ -1,5 +1,6 @@ package nstdptyssubgrp +//New returns an initialized NstdPtysSubGrp instance func New() *NstdPtysSubGrp { var m NstdPtysSubGrp return &m @@ -13,6 +14,12 @@ type NoNestedPartySubIDs struct { NestedPartySubIDType *int `fix:"805"` } +//NewNoNestedPartySubIDs returns an initialized NoNestedPartySubIDs instance +func NewNoNestedPartySubIDs() *NoNestedPartySubIDs { + var m NoNestedPartySubIDs + return &m +} + func (m *NoNestedPartySubIDs) SetNestedPartySubID(v string) { m.NestedPartySubID = &v } func (m *NoNestedPartySubIDs) SetNestedPartySubIDType(v int) { m.NestedPartySubIDType = &v } diff --git a/fix50sp1/ordallocgrp/OrdAllocGrp.go b/fix50sp1/ordallocgrp/OrdAllocGrp.go index e9919fdc0..bfae6182b 100644 --- a/fix50sp1/ordallocgrp/OrdAllocGrp.go +++ b/fix50sp1/ordallocgrp/OrdAllocGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/nestedparties2" ) +//New returns an initialized OrdAllocGrp instance func New() *OrdAllocGrp { var m OrdAllocGrp return &m @@ -31,6 +32,12 @@ type NoOrders struct { OrderBookingQty *float64 `fix:"800"` } +//NewNoOrders returns an initialized NoOrders instance +func NewNoOrders() *NoOrders { + var m NoOrders + return &m +} + func (m *NoOrders) SetClOrdID(v string) { m.ClOrdID = &v } func (m *NoOrders) SetOrderID(v string) { m.OrderID = &v } func (m *NoOrders) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } diff --git a/fix50sp1/orderqtydata/OrderQtyData.go b/fix50sp1/orderqtydata/OrderQtyData.go index aebc4326d..8a081ced2 100644 --- a/fix50sp1/orderqtydata/OrderQtyData.go +++ b/fix50sp1/orderqtydata/OrderQtyData.go @@ -1,5 +1,6 @@ package orderqtydata +//New returns an initialized OrderQtyData instance func New() *OrderQtyData { var m OrderQtyData return &m diff --git a/fix50sp1/ordliststatgrp/OrdListStatGrp.go b/fix50sp1/ordliststatgrp/OrdListStatGrp.go index 0f7cfb6eb..70e83971b 100644 --- a/fix50sp1/ordliststatgrp/OrdListStatGrp.go +++ b/fix50sp1/ordliststatgrp/OrdListStatGrp.go @@ -1,5 +1,6 @@ package ordliststatgrp +//New returns an initialized OrdListStatGrp instance func New(noorders []NoOrders) *OrdListStatGrp { var m OrdListStatGrp m.SetNoOrders(noorders) @@ -36,6 +37,17 @@ type NoOrders struct { OrderID *string `fix:"37"` } +//NewNoOrders returns an initialized NoOrders instance +func NewNoOrders(cumqty float64, ordstatus string, leavesqty float64, cxlqty float64, avgpx float64) *NoOrders { + var m NoOrders + m.SetCumQty(cumqty) + m.SetOrdStatus(ordstatus) + m.SetLeavesQty(leavesqty) + m.SetCxlQty(cxlqty) + m.SetAvgPx(avgpx) + return &m +} + func (m *NoOrders) SetClOrdID(v string) { m.ClOrdID = &v } func (m *NoOrders) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } func (m *NoOrders) SetCumQty(v float64) { m.CumQty = v } diff --git a/fix50sp1/ordtyperules/OrdTypeRules.go b/fix50sp1/ordtyperules/OrdTypeRules.go index 0beeba6e5..2d34c99c2 100644 --- a/fix50sp1/ordtyperules/OrdTypeRules.go +++ b/fix50sp1/ordtyperules/OrdTypeRules.go @@ -1,5 +1,6 @@ package ordtyperules +//New returns an initialized OrdTypeRules instance func New() *OrdTypeRules { var m OrdTypeRules return &m @@ -11,6 +12,12 @@ type NoOrdTypeRules struct { OrdType *string `fix:"40"` } +//NewNoOrdTypeRules returns an initialized NoOrdTypeRules instance +func NewNoOrdTypeRules() *NoOrdTypeRules { + var m NoOrdTypeRules + return &m +} + func (m *NoOrdTypeRules) SetOrdType(v string) { m.OrdType = &v } //OrdTypeRules is a fix50sp1 Component diff --git a/fix50sp1/parties/Parties.go b/fix50sp1/parties/Parties.go index cf33dda4c..4d563e6c8 100644 --- a/fix50sp1/parties/Parties.go +++ b/fix50sp1/parties/Parties.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/ptyssubgrp" ) +//New returns an initialized Parties instance func New() *Parties { var m Parties return &m @@ -21,6 +22,12 @@ type NoPartyIDs struct { PtysSubGrp *ptyssubgrp.PtysSubGrp } +//NewNoPartyIDs returns an initialized NoPartyIDs instance +func NewNoPartyIDs() *NoPartyIDs { + var m NoPartyIDs + return &m +} + func (m *NoPartyIDs) SetPartyID(v string) { m.PartyID = &v } func (m *NoPartyIDs) SetPartyIDSource(v string) { m.PartyIDSource = &v } func (m *NoPartyIDs) SetPartyRole(v int) { m.PartyRole = &v } diff --git a/fix50sp1/peginstructions/PegInstructions.go b/fix50sp1/peginstructions/PegInstructions.go index aa4510a36..5d3d85259 100644 --- a/fix50sp1/peginstructions/PegInstructions.go +++ b/fix50sp1/peginstructions/PegInstructions.go @@ -1,5 +1,6 @@ package peginstructions +//New returns an initialized PegInstructions instance func New() *PegInstructions { var m PegInstructions return &m diff --git a/fix50sp1/positionamountdata/PositionAmountData.go b/fix50sp1/positionamountdata/PositionAmountData.go index 551ebb1b1..c73eda313 100644 --- a/fix50sp1/positionamountdata/PositionAmountData.go +++ b/fix50sp1/positionamountdata/PositionAmountData.go @@ -1,5 +1,6 @@ package positionamountdata +//New returns an initialized PositionAmountData instance func New() *PositionAmountData { var m PositionAmountData return &m @@ -15,6 +16,12 @@ type NoPosAmt struct { PositionCurrency *string `fix:"1055"` } +//NewNoPosAmt returns an initialized NoPosAmt instance +func NewNoPosAmt() *NoPosAmt { + var m NoPosAmt + return &m +} + func (m *NoPosAmt) SetPosAmtType(v string) { m.PosAmtType = &v } func (m *NoPosAmt) SetPosAmt(v float64) { m.PosAmt = &v } func (m *NoPosAmt) SetPositionCurrency(v string) { m.PositionCurrency = &v } diff --git a/fix50sp1/positionqty/PositionQty.go b/fix50sp1/positionqty/PositionQty.go index 1a9384f97..b2f1a068a 100644 --- a/fix50sp1/positionqty/PositionQty.go +++ b/fix50sp1/positionqty/PositionQty.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/nestedparties" ) +//New returns an initialized PositionQty instance func New() *PositionQty { var m PositionQty return &m @@ -25,6 +26,12 @@ type NoPositions struct { QuantityDate *string `fix:"976"` } +//NewNoPositions returns an initialized NoPositions instance +func NewNoPositions() *NoPositions { + var m NoPositions + return &m +} + func (m *NoPositions) SetPosType(v string) { m.PosType = &v } func (m *NoPositions) SetLongQty(v float64) { m.LongQty = &v } func (m *NoPositions) SetShortQty(v float64) { m.ShortQty = &v } diff --git a/fix50sp1/posundinstrmtgrp/PosUndInstrmtGrp.go b/fix50sp1/posundinstrmtgrp/PosUndInstrmtGrp.go index 92c579c61..946756aa6 100644 --- a/fix50sp1/posundinstrmtgrp/PosUndInstrmtGrp.go +++ b/fix50sp1/posundinstrmtgrp/PosUndInstrmtGrp.go @@ -5,6 +5,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/underlyinginstrument" ) +//New returns an initialized PosUndInstrmtGrp instance func New() *PosUndInstrmtGrp { var m PosUndInstrmtGrp return &m @@ -24,6 +25,12 @@ type NoUnderlyings struct { UnderlyingDeliveryAmount *float64 `fix:"1037"` } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } diff --git a/fix50sp1/preallocgrp/PreAllocGrp.go b/fix50sp1/preallocgrp/PreAllocGrp.go index 2d27969c8..75b9e27e5 100644 --- a/fix50sp1/preallocgrp/PreAllocGrp.go +++ b/fix50sp1/preallocgrp/PreAllocGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/nestedparties" ) +//New returns an initialized PreAllocGrp instance func New() *PreAllocGrp { var m PreAllocGrp return &m @@ -25,6 +26,12 @@ type NoAllocs struct { AllocQty *float64 `fix:"80"` } +//NewNoAllocs returns an initialized NoAllocs instance +func NewNoAllocs() *NoAllocs { + var m NoAllocs + return &m +} + func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } func (m *NoAllocs) SetAllocSettlCurrency(v string) { m.AllocSettlCurrency = &v } diff --git a/fix50sp1/preallocmleggrp/PreAllocMlegGrp.go b/fix50sp1/preallocmleggrp/PreAllocMlegGrp.go index a96c30668..16eb732f0 100644 --- a/fix50sp1/preallocmleggrp/PreAllocMlegGrp.go +++ b/fix50sp1/preallocmleggrp/PreAllocMlegGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/nestedparties3" ) +//New returns an initialized PreAllocMlegGrp instance func New() *PreAllocMlegGrp { var m PreAllocMlegGrp return &m @@ -25,6 +26,12 @@ type NoAllocs struct { AllocQty *float64 `fix:"80"` } +//NewNoAllocs returns an initialized NoAllocs instance +func NewNoAllocs() *NoAllocs { + var m NoAllocs + return &m +} + func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } func (m *NoAllocs) SetAllocSettlCurrency(v string) { m.AllocSettlCurrency = &v } diff --git a/fix50sp1/pricelimits/PriceLimits.go b/fix50sp1/pricelimits/PriceLimits.go index db50fc193..b74b20dcd 100644 --- a/fix50sp1/pricelimits/PriceLimits.go +++ b/fix50sp1/pricelimits/PriceLimits.go @@ -1,5 +1,6 @@ package pricelimits +//New returns an initialized PriceLimits instance func New() *PriceLimits { var m PriceLimits return &m diff --git a/fix50sp1/ptyssubgrp/PtysSubGrp.go b/fix50sp1/ptyssubgrp/PtysSubGrp.go index aff791a21..2f287d8de 100644 --- a/fix50sp1/ptyssubgrp/PtysSubGrp.go +++ b/fix50sp1/ptyssubgrp/PtysSubGrp.go @@ -1,5 +1,6 @@ package ptyssubgrp +//New returns an initialized PtysSubGrp instance func New() *PtysSubGrp { var m PtysSubGrp return &m @@ -13,6 +14,12 @@ type NoPartySubIDs struct { PartySubIDType *int `fix:"803"` } +//NewNoPartySubIDs returns an initialized NoPartySubIDs instance +func NewNoPartySubIDs() *NoPartySubIDs { + var m NoPartySubIDs + return &m +} + func (m *NoPartySubIDs) SetPartySubID(v string) { m.PartySubID = &v } func (m *NoPartySubIDs) SetPartySubIDType(v int) { m.PartySubIDType = &v } diff --git a/fix50sp1/quotcxlentriesgrp/QuotCxlEntriesGrp.go b/fix50sp1/quotcxlentriesgrp/QuotCxlEntriesGrp.go index 2e3fdaad7..8bf99f71f 100644 --- a/fix50sp1/quotcxlentriesgrp/QuotCxlEntriesGrp.go +++ b/fix50sp1/quotcxlentriesgrp/QuotCxlEntriesGrp.go @@ -7,6 +7,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/undinstrmtgrp" ) +//New returns an initialized QuotCxlEntriesGrp instance func New() *QuotCxlEntriesGrp { var m QuotCxlEntriesGrp return &m @@ -24,6 +25,12 @@ type NoQuoteEntries struct { InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp } +//NewNoQuoteEntries returns an initialized NoQuoteEntries instance +func NewNoQuoteEntries() *NoQuoteEntries { + var m NoQuoteEntries + return &m +} + func (m *NoQuoteEntries) SetInstrument(v instrument.Instrument) { m.Instrument = &v } func (m *NoQuoteEntries) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v diff --git a/fix50sp1/quotentryackgrp/QuotEntryAckGrp.go b/fix50sp1/quotentryackgrp/QuotEntryAckGrp.go index f875ff3bd..6cdac3930 100644 --- a/fix50sp1/quotentryackgrp/QuotEntryAckGrp.go +++ b/fix50sp1/quotentryackgrp/QuotEntryAckGrp.go @@ -6,6 +6,7 @@ import ( "time" ) +//New returns an initialized QuotEntryAckGrp instance func New() *QuotEntryAckGrp { var m QuotEntryAckGrp return &m @@ -71,6 +72,12 @@ type NoQuoteEntries struct { QuoteEntryStatus *int `fix:"1167"` } +//NewNoQuoteEntries returns an initialized NoQuoteEntries instance +func NewNoQuoteEntries() *NoQuoteEntries { + var m NoQuoteEntries + return &m +} + func (m *NoQuoteEntries) SetQuoteEntryID(v string) { m.QuoteEntryID = &v } func (m *NoQuoteEntries) SetInstrument(v instrument.Instrument) { m.Instrument = &v } func (m *NoQuoteEntries) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } diff --git a/fix50sp1/quotentrygrp/QuotEntryGrp.go b/fix50sp1/quotentrygrp/QuotEntryGrp.go index c6134fd12..4cebe03e6 100644 --- a/fix50sp1/quotentrygrp/QuotEntryGrp.go +++ b/fix50sp1/quotentrygrp/QuotEntryGrp.go @@ -6,6 +6,7 @@ import ( "time" ) +//New returns an initialized QuotEntryGrp instance func New(noquoteentries []NoQuoteEntries) *QuotEntryGrp { var m QuotEntryGrp m.SetNoQuoteEntries(noquoteentries) @@ -68,6 +69,13 @@ type NoQuoteEntries struct { Currency *string `fix:"15"` } +//NewNoQuoteEntries returns an initialized NoQuoteEntries instance +func NewNoQuoteEntries(quoteentryid string) *NoQuoteEntries { + var m NoQuoteEntries + m.SetQuoteEntryID(quoteentryid) + return &m +} + func (m *NoQuoteEntries) SetQuoteEntryID(v string) { m.QuoteEntryID = v } func (m *NoQuoteEntries) SetInstrument(v instrument.Instrument) { m.Instrument = &v } func (m *NoQuoteEntries) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } diff --git a/fix50sp1/quotqualgrp/QuotQualGrp.go b/fix50sp1/quotqualgrp/QuotQualGrp.go index a39363b40..42d5c4d97 100644 --- a/fix50sp1/quotqualgrp/QuotQualGrp.go +++ b/fix50sp1/quotqualgrp/QuotQualGrp.go @@ -1,5 +1,6 @@ package quotqualgrp +//New returns an initialized QuotQualGrp instance func New() *QuotQualGrp { var m QuotQualGrp return &m @@ -11,6 +12,12 @@ type NoQuoteQualifiers struct { QuoteQualifier *string `fix:"695"` } +//NewNoQuoteQualifiers returns an initialized NoQuoteQualifiers instance +func NewNoQuoteQualifiers() *NoQuoteQualifiers { + var m NoQuoteQualifiers + return &m +} + func (m *NoQuoteQualifiers) SetQuoteQualifier(v string) { m.QuoteQualifier = &v } //QuotQualGrp is a fix50sp1 Component diff --git a/fix50sp1/quotreqgrp/QuotReqGrp.go b/fix50sp1/quotreqgrp/QuotReqGrp.go index 1ddd434a1..9b309b9ea 100644 --- a/fix50sp1/quotreqgrp/QuotReqGrp.go +++ b/fix50sp1/quotreqgrp/QuotReqGrp.go @@ -14,6 +14,7 @@ import ( "time" ) +//New returns an initialized QuotReqGrp instance func New(norelatedsym []NoRelatedSym) *QuotReqGrp { var m QuotReqGrp m.SetNoRelatedSym(norelatedsym) @@ -94,6 +95,13 @@ type NoRelatedSym struct { MinQty *float64 `fix:"110"` } +//NewNoRelatedSym returns an initialized NoRelatedSym instance +func NewNoRelatedSym(instrument instrument.Instrument) *NoRelatedSym { + var m NoRelatedSym + m.SetInstrument(instrument) + return &m +} + func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = v } func (m *NoRelatedSym) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v diff --git a/fix50sp1/quotreqlegsgrp/QuotReqLegsGrp.go b/fix50sp1/quotreqlegsgrp/QuotReqLegsGrp.go index 645e0d9f3..cd918fa2b 100644 --- a/fix50sp1/quotreqlegsgrp/QuotReqLegsGrp.go +++ b/fix50sp1/quotreqlegsgrp/QuotReqLegsGrp.go @@ -7,6 +7,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/nestedparties" ) +//New returns an initialized QuotReqLegsGrp instance func New() *QuotReqLegsGrp { var m QuotReqLegsGrp return &m @@ -36,6 +37,12 @@ type NoLegs struct { LegRefID *string `fix:"654"` } +//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) SetLegQty(v float64) { m.LegQty = &v } func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } diff --git a/fix50sp1/quotreqrjctgrp/QuotReqRjctGrp.go b/fix50sp1/quotreqrjctgrp/QuotReqRjctGrp.go index 42946ff1f..d60312d29 100644 --- a/fix50sp1/quotreqrjctgrp/QuotReqRjctGrp.go +++ b/fix50sp1/quotreqrjctgrp/QuotReqRjctGrp.go @@ -14,6 +14,7 @@ import ( "time" ) +//New returns an initialized QuotReqRjctGrp instance func New(norelatedsym []NoRelatedSym) *QuotReqRjctGrp { var m QuotReqRjctGrp m.SetNoRelatedSym(norelatedsym) @@ -90,6 +91,13 @@ type NoRelatedSym struct { Parties *parties.Parties } +//NewNoRelatedSym returns an initialized NoRelatedSym instance +func NewNoRelatedSym(instrument instrument.Instrument) *NoRelatedSym { + var m NoRelatedSym + m.SetInstrument(instrument) + return &m +} + func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = v } func (m *NoRelatedSym) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v diff --git a/fix50sp1/quotsetackgrp/QuotSetAckGrp.go b/fix50sp1/quotsetackgrp/QuotSetAckGrp.go index dbaf7b937..09b0e0a55 100644 --- a/fix50sp1/quotsetackgrp/QuotSetAckGrp.go +++ b/fix50sp1/quotsetackgrp/QuotSetAckGrp.go @@ -5,6 +5,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/underlyinginstrument" ) +//New returns an initialized QuotSetAckGrp instance func New() *QuotSetAckGrp { var m QuotSetAckGrp return &m @@ -30,6 +31,12 @@ type NoQuoteSets struct { TotNoRejQuotes *int `fix:"1170"` } +//NewNoQuoteSets returns an initialized NoQuoteSets instance +func NewNoQuoteSets() *NoQuoteSets { + var m NoQuoteSets + return &m +} + func (m *NoQuoteSets) SetQuoteSetID(v string) { m.QuoteSetID = &v } func (m *NoQuoteSets) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v diff --git a/fix50sp1/quotsetgrp/QuotSetGrp.go b/fix50sp1/quotsetgrp/QuotSetGrp.go index 9b56ecba5..018c061e3 100644 --- a/fix50sp1/quotsetgrp/QuotSetGrp.go +++ b/fix50sp1/quotsetgrp/QuotSetGrp.go @@ -6,6 +6,7 @@ import ( "time" ) +//New returns an initialized QuotSetGrp instance func New(noquotesets []NoQuoteSets) *QuotSetGrp { var m QuotSetGrp m.SetNoQuoteSets(noquotesets) @@ -28,6 +29,15 @@ type NoQuoteSets struct { quotentrygrp.QuotEntryGrp } +//NewNoQuoteSets returns an initialized NoQuoteSets instance +func NewNoQuoteSets(quotesetid string, totnoquoteentries int, quotentrygrp quotentrygrp.QuotEntryGrp) *NoQuoteSets { + var m NoQuoteSets + m.SetQuoteSetID(quotesetid) + m.SetTotNoQuoteEntries(totnoquoteentries) + m.SetQuotEntryGrp(quotentrygrp) + return &m +} + func (m *NoQuoteSets) SetQuoteSetID(v string) { m.QuoteSetID = v } func (m *NoQuoteSets) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v diff --git a/fix50sp1/relsymderivsecgrp/RelSymDerivSecGrp.go b/fix50sp1/relsymderivsecgrp/RelSymDerivSecGrp.go index 184c915c2..694b2f6fb 100644 --- a/fix50sp1/relsymderivsecgrp/RelSymDerivSecGrp.go +++ b/fix50sp1/relsymderivsecgrp/RelSymDerivSecGrp.go @@ -7,6 +7,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/secondarypricelimits" ) +//New returns an initialized RelSymDerivSecGrp instance func New() *RelSymDerivSecGrp { var m RelSymDerivSecGrp return &m @@ -34,6 +35,12 @@ type NoRelatedSym struct { CorporateAction *string `fix:"292"` } +//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) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { diff --git a/fix50sp1/relsymderivsecupdgrp/RelSymDerivSecUpdGrp.go b/fix50sp1/relsymderivsecupdgrp/RelSymDerivSecUpdGrp.go index 14b2b741d..903bc0843 100644 --- a/fix50sp1/relsymderivsecupdgrp/RelSymDerivSecUpdGrp.go +++ b/fix50sp1/relsymderivsecupdgrp/RelSymDerivSecUpdGrp.go @@ -7,6 +7,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/secondarypricelimits" ) +//New returns an initialized RelSymDerivSecUpdGrp instance func New() *RelSymDerivSecUpdGrp { var m RelSymDerivSecUpdGrp return &m @@ -36,6 +37,12 @@ type NoRelatedSym struct { CorporateAction *string `fix:"292"` } +//NewNoRelatedSym returns an initialized NoRelatedSym instance +func NewNoRelatedSym() *NoRelatedSym { + var m NoRelatedSym + return &m +} + func (m *NoRelatedSym) SetListUpdateAction(v string) { m.ListUpdateAction = &v } func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = &v } func (m *NoRelatedSym) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { diff --git a/fix50sp1/rfqreqgrp/RFQReqGrp.go b/fix50sp1/rfqreqgrp/RFQReqGrp.go index eab1a54ff..0dbc794b5 100644 --- a/fix50sp1/rfqreqgrp/RFQReqGrp.go +++ b/fix50sp1/rfqreqgrp/RFQReqGrp.go @@ -6,6 +6,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/undinstrmtgrp" ) +//New returns an initialized RFQReqGrp instance func New(norelatedsym []NoRelatedSym) *RFQReqGrp { var m RFQReqGrp m.SetNoRelatedSym(norelatedsym) @@ -32,6 +33,13 @@ type NoRelatedSym struct { TradingSessionSubID *string `fix:"625"` } +//NewNoRelatedSym returns an initialized NoRelatedSym instance +func NewNoRelatedSym(instrument instrument.Instrument) *NoRelatedSym { + var m NoRelatedSym + m.SetInstrument(instrument) + return &m +} + func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = v } func (m *NoRelatedSym) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } func (m *NoRelatedSym) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } diff --git a/fix50sp1/rgstdistinstgrp/RgstDistInstGrp.go b/fix50sp1/rgstdistinstgrp/RgstDistInstGrp.go index 5ccb9ed68..94eb40b75 100644 --- a/fix50sp1/rgstdistinstgrp/RgstDistInstGrp.go +++ b/fix50sp1/rgstdistinstgrp/RgstDistInstGrp.go @@ -1,5 +1,6 @@ package rgstdistinstgrp +//New returns an initialized RgstDistInstGrp instance func New() *RgstDistInstGrp { var m RgstDistInstGrp return &m @@ -25,6 +26,12 @@ type NoDistribInsts struct { CashDistribAgentAcctName *string `fix:"502"` } +//NewNoDistribInsts returns an initialized NoDistribInsts instance +func NewNoDistribInsts() *NoDistribInsts { + var m NoDistribInsts + return &m +} + func (m *NoDistribInsts) SetDistribPaymentMethod(v int) { m.DistribPaymentMethod = &v } func (m *NoDistribInsts) SetDistribPercentage(v float64) { m.DistribPercentage = &v } func (m *NoDistribInsts) SetCashDistribCurr(v string) { m.CashDistribCurr = &v } diff --git a/fix50sp1/rgstdtlsgrp/RgstDtlsGrp.go b/fix50sp1/rgstdtlsgrp/RgstDtlsGrp.go index 536c00fa7..0d037f1e3 100644 --- a/fix50sp1/rgstdtlsgrp/RgstDtlsGrp.go +++ b/fix50sp1/rgstdtlsgrp/RgstDtlsGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/nestedparties" ) +//New returns an initialized RgstDtlsGrp instance func New() *RgstDtlsGrp { var m RgstDtlsGrp return &m @@ -29,6 +30,12 @@ type NoRegistDtls struct { InvestorCountryOfResidence *string `fix:"475"` } +//NewNoRegistDtls returns an initialized NoRegistDtls instance +func NewNoRegistDtls() *NoRegistDtls { + var m NoRegistDtls + return &m +} + func (m *NoRegistDtls) SetRegistDtls(v string) { m.RegistDtls = &v } func (m *NoRegistDtls) SetRegistEmail(v string) { m.RegistEmail = &v } func (m *NoRegistDtls) SetMailingDtls(v string) { m.MailingDtls = &v } diff --git a/fix50sp1/rootparties/RootParties.go b/fix50sp1/rootparties/RootParties.go index 89d6de8be..1f66b002e 100644 --- a/fix50sp1/rootparties/RootParties.go +++ b/fix50sp1/rootparties/RootParties.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/rootsubparties" ) +//New returns an initialized RootParties instance func New() *RootParties { var m RootParties return &m @@ -21,6 +22,12 @@ type NoRootPartyIDs struct { RootSubParties *rootsubparties.RootSubParties } +//NewNoRootPartyIDs returns an initialized NoRootPartyIDs instance +func NewNoRootPartyIDs() *NoRootPartyIDs { + var m NoRootPartyIDs + return &m +} + func (m *NoRootPartyIDs) SetRootPartyID(v string) { m.RootPartyID = &v } func (m *NoRootPartyIDs) SetRootPartyIDSource(v string) { m.RootPartyIDSource = &v } func (m *NoRootPartyIDs) SetRootPartyRole(v int) { m.RootPartyRole = &v } diff --git a/fix50sp1/rootsubparties/RootSubParties.go b/fix50sp1/rootsubparties/RootSubParties.go index bfb786fd1..9c3eb56b5 100644 --- a/fix50sp1/rootsubparties/RootSubParties.go +++ b/fix50sp1/rootsubparties/RootSubParties.go @@ -1,5 +1,6 @@ package rootsubparties +//New returns an initialized RootSubParties instance func New() *RootSubParties { var m RootSubParties return &m @@ -13,6 +14,12 @@ type NoRootPartySubIDs struct { RootPartySubIDType *int `fix:"1122"` } +//NewNoRootPartySubIDs returns an initialized NoRootPartySubIDs instance +func NewNoRootPartySubIDs() *NoRootPartySubIDs { + var m NoRootPartySubIDs + return &m +} + func (m *NoRootPartySubIDs) SetRootPartySubID(v string) { m.RootPartySubID = &v } func (m *NoRootPartySubIDs) SetRootPartySubIDType(v int) { m.RootPartySubIDType = &v } diff --git a/fix50sp1/routinggrp/RoutingGrp.go b/fix50sp1/routinggrp/RoutingGrp.go index 2ecc588d4..cb0dd5a57 100644 --- a/fix50sp1/routinggrp/RoutingGrp.go +++ b/fix50sp1/routinggrp/RoutingGrp.go @@ -1,5 +1,6 @@ package routinggrp +//New returns an initialized RoutingGrp instance func New() *RoutingGrp { var m RoutingGrp return &m @@ -13,6 +14,12 @@ type NoRoutingIDs struct { RoutingID *string `fix:"217"` } +//NewNoRoutingIDs returns an initialized NoRoutingIDs instance +func NewNoRoutingIDs() *NoRoutingIDs { + var m NoRoutingIDs + return &m +} + func (m *NoRoutingIDs) SetRoutingType(v int) { m.RoutingType = &v } func (m *NoRoutingIDs) SetRoutingID(v string) { m.RoutingID = &v } diff --git a/fix50sp1/secaltidgrp/SecAltIDGrp.go b/fix50sp1/secaltidgrp/SecAltIDGrp.go index c7f41e209..6141e7d23 100644 --- a/fix50sp1/secaltidgrp/SecAltIDGrp.go +++ b/fix50sp1/secaltidgrp/SecAltIDGrp.go @@ -1,5 +1,6 @@ package secaltidgrp +//New returns an initialized SecAltIDGrp instance func New() *SecAltIDGrp { var m SecAltIDGrp return &m @@ -13,6 +14,12 @@ type NoSecurityAltID struct { SecurityAltIDSource *string `fix:"456"` } +//NewNoSecurityAltID returns an initialized NoSecurityAltID instance +func NewNoSecurityAltID() *NoSecurityAltID { + var m NoSecurityAltID + return &m +} + func (m *NoSecurityAltID) SetSecurityAltID(v string) { m.SecurityAltID = &v } func (m *NoSecurityAltID) SetSecurityAltIDSource(v string) { m.SecurityAltIDSource = &v } diff --git a/fix50sp1/seclistgrp/SecListGrp.go b/fix50sp1/seclistgrp/SecListGrp.go index a64def90e..c37dee163 100644 --- a/fix50sp1/seclistgrp/SecListGrp.go +++ b/fix50sp1/seclistgrp/SecListGrp.go @@ -13,6 +13,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/yielddata" ) +//New returns an initialized SecListGrp instance func New() *SecListGrp { var m SecListGrp return &m @@ -50,6 +51,12 @@ type NoRelatedSym struct { StrikeRules *strikerules.StrikeRules } +//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) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { m.InstrumentExtension = &v diff --git a/fix50sp1/seclstupdrelsymgrp/SecLstUpdRelSymGrp.go b/fix50sp1/seclstupdrelsymgrp/SecLstUpdRelSymGrp.go index 617556468..8442fb082 100644 --- a/fix50sp1/seclstupdrelsymgrp/SecLstUpdRelSymGrp.go +++ b/fix50sp1/seclstupdrelsymgrp/SecLstUpdRelSymGrp.go @@ -13,6 +13,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/yielddata" ) +//New returns an initialized SecLstUpdRelSymGrp instance func New() *SecLstUpdRelSymGrp { var m SecLstUpdRelSymGrp return &m @@ -52,6 +53,12 @@ type NoRelatedSym struct { StrikeRules *strikerules.StrikeRules } +//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) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { m.InstrumentExtension = &v diff --git a/fix50sp1/seclstupdrelsymsleggrp/SecLstUpdRelSymsLegGrp.go b/fix50sp1/seclstupdrelsymsleggrp/SecLstUpdRelSymsLegGrp.go index 1d2f6fdd4..d897268df 100644 --- a/fix50sp1/seclstupdrelsymsleggrp/SecLstUpdRelSymsLegGrp.go +++ b/fix50sp1/seclstupdrelsymsleggrp/SecLstUpdRelSymsLegGrp.go @@ -6,6 +6,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/legstipulations" ) +//New returns an initialized SecLstUpdRelSymsLegGrp instance func New() *SecLstUpdRelSymsLegGrp { var m SecLstUpdRelSymsLegGrp return &m @@ -25,6 +26,12 @@ type NoLegs struct { 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 } diff --git a/fix50sp1/secondarypricelimits/SecondaryPriceLimits.go b/fix50sp1/secondarypricelimits/SecondaryPriceLimits.go index 326506cd1..9102bde22 100644 --- a/fix50sp1/secondarypricelimits/SecondaryPriceLimits.go +++ b/fix50sp1/secondarypricelimits/SecondaryPriceLimits.go @@ -1,5 +1,6 @@ package secondarypricelimits +//New returns an initialized SecondaryPriceLimits instance func New() *SecondaryPriceLimits { var m SecondaryPriceLimits return &m diff --git a/fix50sp1/secsizesgrp/SecSizesGrp.go b/fix50sp1/secsizesgrp/SecSizesGrp.go index 95601577b..004b72d95 100644 --- a/fix50sp1/secsizesgrp/SecSizesGrp.go +++ b/fix50sp1/secsizesgrp/SecSizesGrp.go @@ -1,5 +1,6 @@ package secsizesgrp +//New returns an initialized SecSizesGrp instance func New() *SecSizesGrp { var m SecSizesGrp return &m @@ -13,6 +14,12 @@ type NoOfSecSizes struct { MDSecSize *float64 `fix:"1179"` } +//NewNoOfSecSizes returns an initialized NoOfSecSizes instance +func NewNoOfSecSizes() *NoOfSecSizes { + var m NoOfSecSizes + return &m +} + func (m *NoOfSecSizes) SetMDSecSizeType(v int) { m.MDSecSizeType = &v } func (m *NoOfSecSizes) SetMDSecSize(v float64) { m.MDSecSize = &v } diff --git a/fix50sp1/sectypesgrp/SecTypesGrp.go b/fix50sp1/sectypesgrp/SecTypesGrp.go index 566684e44..e732f4d27 100644 --- a/fix50sp1/sectypesgrp/SecTypesGrp.go +++ b/fix50sp1/sectypesgrp/SecTypesGrp.go @@ -1,5 +1,6 @@ package sectypesgrp +//New returns an initialized SecTypesGrp instance func New() *SecTypesGrp { var m SecTypesGrp return &m @@ -17,6 +18,12 @@ type NoSecurityTypes struct { CFICode *string `fix:"461"` } +//NewNoSecurityTypes returns an initialized NoSecurityTypes instance +func NewNoSecurityTypes() *NoSecurityTypes { + var m NoSecurityTypes + return &m +} + func (m *NoSecurityTypes) SetSecurityType(v string) { m.SecurityType = &v } func (m *NoSecurityTypes) SetSecuritySubType(v string) { m.SecuritySubType = &v } func (m *NoSecurityTypes) SetProduct(v int) { m.Product = &v } diff --git a/fix50sp1/securitytradingrules/SecurityTradingRules.go b/fix50sp1/securitytradingrules/SecurityTradingRules.go index c47c1ee70..81e4f07b6 100644 --- a/fix50sp1/securitytradingrules/SecurityTradingRules.go +++ b/fix50sp1/securitytradingrules/SecurityTradingRules.go @@ -6,6 +6,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/tradingsessionrulesgrp" ) +//New returns an initialized SecurityTradingRules instance func New() *SecurityTradingRules { var m SecurityTradingRules return &m diff --git a/fix50sp1/securityxml/SecurityXML.go b/fix50sp1/securityxml/SecurityXML.go index 7537b73e8..3f4d5c8d7 100644 --- a/fix50sp1/securityxml/SecurityXML.go +++ b/fix50sp1/securityxml/SecurityXML.go @@ -1,5 +1,6 @@ package securityxml +//New returns an initialized SecurityXML instance func New() *SecurityXML { var m SecurityXML return &m diff --git a/fix50sp1/settldetails/SettlDetails.go b/fix50sp1/settldetails/SettlDetails.go index d299eeb89..aaa95432c 100644 --- a/fix50sp1/settldetails/SettlDetails.go +++ b/fix50sp1/settldetails/SettlDetails.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/settlparties" ) +//New returns an initialized SettlDetails instance func New() *SettlDetails { var m SettlDetails return &m @@ -17,6 +18,12 @@ type NoSettlDetails struct { SettlParties *settlparties.SettlParties } +//NewNoSettlDetails returns an initialized NoSettlDetails instance +func NewNoSettlDetails() *NoSettlDetails { + var m NoSettlDetails + return &m +} + func (m *NoSettlDetails) SetSettlObligSource(v string) { m.SettlObligSource = &v } func (m *NoSettlDetails) SetSettlParties(v settlparties.SettlParties) { m.SettlParties = &v } diff --git a/fix50sp1/settlinstgrp/SettlInstGrp.go b/fix50sp1/settlinstgrp/SettlInstGrp.go index cbd80f2e5..076fa442d 100644 --- a/fix50sp1/settlinstgrp/SettlInstGrp.go +++ b/fix50sp1/settlinstgrp/SettlInstGrp.go @@ -6,6 +6,7 @@ import ( "time" ) +//New returns an initialized SettlInstGrp instance func New() *SettlInstGrp { var m SettlInstGrp return &m @@ -59,6 +60,12 @@ type NoSettlInst struct { SettlCurrency *string `fix:"120"` } +//NewNoSettlInst returns an initialized NoSettlInst instance +func NewNoSettlInst() *NoSettlInst { + var m NoSettlInst + return &m +} + func (m *NoSettlInst) SetSettlInstID(v string) { m.SettlInstID = &v } func (m *NoSettlInst) SetSettlInstTransType(v string) { m.SettlInstTransType = &v } func (m *NoSettlInst) SetSettlInstRefID(v string) { m.SettlInstRefID = &v } diff --git a/fix50sp1/settlinstructionsdata/SettlInstructionsData.go b/fix50sp1/settlinstructionsdata/SettlInstructionsData.go index 4dcce1a63..df95d7b72 100644 --- a/fix50sp1/settlinstructionsdata/SettlInstructionsData.go +++ b/fix50sp1/settlinstructionsdata/SettlInstructionsData.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/dlvyinstgrp" ) +//New returns an initialized SettlInstructionsData instance func New() *SettlInstructionsData { var m SettlInstructionsData return &m diff --git a/fix50sp1/settlobligationinstructions/SettlObligationInstructions.go b/fix50sp1/settlobligationinstructions/SettlObligationInstructions.go index 055131b46..b12f9df8e 100644 --- a/fix50sp1/settlobligationinstructions/SettlObligationInstructions.go +++ b/fix50sp1/settlobligationinstructions/SettlObligationInstructions.go @@ -7,6 +7,7 @@ import ( "time" ) +//New returns an initialized SettlObligationInstructions instance func New() *SettlObligationInstructions { var m SettlObligationInstructions return &m @@ -48,6 +49,12 @@ type NoSettlOblig struct { SettlDetails *settldetails.SettlDetails } +//NewNoSettlOblig returns an initialized NoSettlOblig instance +func NewNoSettlOblig() *NoSettlOblig { + var m NoSettlOblig + return &m +} + func (m *NoSettlOblig) SetNetGrossInd(v int) { m.NetGrossInd = &v } func (m *NoSettlOblig) SetSettlObligID(v string) { m.SettlObligID = &v } func (m *NoSettlOblig) SetSettlObligTransType(v string) { m.SettlObligTransType = &v } diff --git a/fix50sp1/settlparties/SettlParties.go b/fix50sp1/settlparties/SettlParties.go index c5b4c2aa9..d99c47d9c 100644 --- a/fix50sp1/settlparties/SettlParties.go +++ b/fix50sp1/settlparties/SettlParties.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/settlptyssubgrp" ) +//New returns an initialized SettlParties instance func New() *SettlParties { var m SettlParties return &m @@ -21,6 +22,12 @@ type NoSettlPartyIDs struct { SettlPtysSubGrp *settlptyssubgrp.SettlPtysSubGrp } +//NewNoSettlPartyIDs returns an initialized NoSettlPartyIDs instance +func NewNoSettlPartyIDs() *NoSettlPartyIDs { + var m NoSettlPartyIDs + return &m +} + func (m *NoSettlPartyIDs) SetSettlPartyID(v string) { m.SettlPartyID = &v } func (m *NoSettlPartyIDs) SetSettlPartyIDSource(v string) { m.SettlPartyIDSource = &v } func (m *NoSettlPartyIDs) SetSettlPartyRole(v int) { m.SettlPartyRole = &v } diff --git a/fix50sp1/settlptyssubgrp/SettlPtysSubGrp.go b/fix50sp1/settlptyssubgrp/SettlPtysSubGrp.go index 60bb1c4ba..e6b498381 100644 --- a/fix50sp1/settlptyssubgrp/SettlPtysSubGrp.go +++ b/fix50sp1/settlptyssubgrp/SettlPtysSubGrp.go @@ -1,5 +1,6 @@ package settlptyssubgrp +//New returns an initialized SettlPtysSubGrp instance func New() *SettlPtysSubGrp { var m SettlPtysSubGrp return &m @@ -13,6 +14,12 @@ type NoSettlPartySubIDs struct { SettlPartySubIDType *int `fix:"786"` } +//NewNoSettlPartySubIDs returns an initialized NoSettlPartySubIDs instance +func NewNoSettlPartySubIDs() *NoSettlPartySubIDs { + var m NoSettlPartySubIDs + return &m +} + func (m *NoSettlPartySubIDs) SetSettlPartySubID(v string) { m.SettlPartySubID = &v } func (m *NoSettlPartySubIDs) SetSettlPartySubIDType(v int) { m.SettlPartySubIDType = &v } diff --git a/fix50sp1/sidecrossordcxlgrp/SideCrossOrdCxlGrp.go b/fix50sp1/sidecrossordcxlgrp/SideCrossOrdCxlGrp.go index a1ea286bc..9cdb72bea 100644 --- a/fix50sp1/sidecrossordcxlgrp/SideCrossOrdCxlGrp.go +++ b/fix50sp1/sidecrossordcxlgrp/SideCrossOrdCxlGrp.go @@ -6,6 +6,7 @@ import ( "time" ) +//New returns an initialized SideCrossOrdCxlGrp instance func New(nosides []NoSides) *SideCrossOrdCxlGrp { var m SideCrossOrdCxlGrp m.SetNoSides(nosides) @@ -44,6 +45,15 @@ type NoSides struct { EncodedText *string `fix:"355"` } +//NewNoSides returns an initialized NoSides instance +func NewNoSides(side string, clordid string, orderqtydata orderqtydata.OrderQtyData) *NoSides { + var m NoSides + m.SetSide(side) + m.SetClOrdID(clordid) + m.SetOrderQtyData(orderqtydata) + return &m +} + func (m *NoSides) SetSide(v string) { m.Side = v } func (m *NoSides) SetOrigClOrdID(v string) { m.OrigClOrdID = &v } func (m *NoSides) SetClOrdID(v string) { m.ClOrdID = v } diff --git a/fix50sp1/sidecrossordmodgrp/SideCrossOrdModGrp.go b/fix50sp1/sidecrossordmodgrp/SideCrossOrdModGrp.go index 32dbdcfab..242816dbe 100644 --- a/fix50sp1/sidecrossordmodgrp/SideCrossOrdModGrp.go +++ b/fix50sp1/sidecrossordmodgrp/SideCrossOrdModGrp.go @@ -8,6 +8,7 @@ import ( "time" ) +//New returns an initialized SideCrossOrdModGrp instance func New(nosides []NoSides) *SideCrossOrdModGrp { var m SideCrossOrdModGrp m.SetNoSides(nosides) @@ -90,6 +91,15 @@ type NoSides struct { OrigClOrdID *string `fix:"41"` } +//NewNoSides returns an initialized NoSides instance +func NewNoSides(side string, clordid string, orderqtydata orderqtydata.OrderQtyData) *NoSides { + var m NoSides + m.SetSide(side) + m.SetClOrdID(clordid) + m.SetOrderQtyData(orderqtydata) + return &m +} + func (m *NoSides) SetSide(v string) { m.Side = v } func (m *NoSides) SetClOrdID(v string) { m.ClOrdID = v } func (m *NoSides) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } diff --git a/fix50sp1/sidetrdregts/SideTrdRegTS.go b/fix50sp1/sidetrdregts/SideTrdRegTS.go index 895ec6972..65e2a3322 100644 --- a/fix50sp1/sidetrdregts/SideTrdRegTS.go +++ b/fix50sp1/sidetrdregts/SideTrdRegTS.go @@ -4,6 +4,7 @@ import ( "time" ) +//New returns an initialized SideTrdRegTS instance func New() *SideTrdRegTS { var m SideTrdRegTS return &m @@ -19,6 +20,12 @@ type NoSideTrdRegTS struct { SideTrdRegTimestampSrc *string `fix:"1014"` } +//NewNoSideTrdRegTS returns an initialized NoSideTrdRegTS instance +func NewNoSideTrdRegTS() *NoSideTrdRegTS { + var m NoSideTrdRegTS + return &m +} + func (m *NoSideTrdRegTS) SetSideTrdRegTimestamp(v time.Time) { m.SideTrdRegTimestamp = &v } func (m *NoSideTrdRegTS) SetSideTrdRegTimestampType(v int) { m.SideTrdRegTimestampType = &v } func (m *NoSideTrdRegTS) SetSideTrdRegTimestampSrc(v string) { m.SideTrdRegTimestampSrc = &v } diff --git a/fix50sp1/spreadorbenchmarkcurvedata/SpreadOrBenchmarkCurveData.go b/fix50sp1/spreadorbenchmarkcurvedata/SpreadOrBenchmarkCurveData.go index f1d0a58d0..380b08eb5 100644 --- a/fix50sp1/spreadorbenchmarkcurvedata/SpreadOrBenchmarkCurveData.go +++ b/fix50sp1/spreadorbenchmarkcurvedata/SpreadOrBenchmarkCurveData.go @@ -1,5 +1,6 @@ package spreadorbenchmarkcurvedata +//New returns an initialized SpreadOrBenchmarkCurveData instance func New() *SpreadOrBenchmarkCurveData { var m SpreadOrBenchmarkCurveData return &m diff --git a/fix50sp1/statsindgrp/StatsIndGrp.go b/fix50sp1/statsindgrp/StatsIndGrp.go index 4fb45ca10..c8916447b 100644 --- a/fix50sp1/statsindgrp/StatsIndGrp.go +++ b/fix50sp1/statsindgrp/StatsIndGrp.go @@ -1,5 +1,6 @@ package statsindgrp +//New returns an initialized StatsIndGrp instance func New() *StatsIndGrp { var m StatsIndGrp return &m @@ -11,6 +12,12 @@ type NoStatsIndicators struct { StatsType *int `fix:"1176"` } +//NewNoStatsIndicators returns an initialized NoStatsIndicators instance +func NewNoStatsIndicators() *NoStatsIndicators { + var m NoStatsIndicators + return &m +} + func (m *NoStatsIndicators) SetStatsType(v int) { m.StatsType = &v } //StatsIndGrp is a fix50sp1 Component diff --git a/fix50sp1/stipulations/Stipulations.go b/fix50sp1/stipulations/Stipulations.go index 3582f6813..5e8d3d2a0 100644 --- a/fix50sp1/stipulations/Stipulations.go +++ b/fix50sp1/stipulations/Stipulations.go @@ -1,5 +1,6 @@ package stipulations +//New returns an initialized Stipulations instance func New() *Stipulations { var m Stipulations return &m @@ -13,6 +14,12 @@ type NoStipulations struct { StipulationValue *string `fix:"234"` } +//NewNoStipulations returns an initialized NoStipulations instance +func NewNoStipulations() *NoStipulations { + var m NoStipulations + return &m +} + func (m *NoStipulations) SetStipulationType(v string) { m.StipulationType = &v } func (m *NoStipulations) SetStipulationValue(v string) { m.StipulationValue = &v } diff --git a/fix50sp1/strategyparametersgrp/StrategyParametersGrp.go b/fix50sp1/strategyparametersgrp/StrategyParametersGrp.go index 3aca49942..00b067f83 100644 --- a/fix50sp1/strategyparametersgrp/StrategyParametersGrp.go +++ b/fix50sp1/strategyparametersgrp/StrategyParametersGrp.go @@ -1,5 +1,6 @@ package strategyparametersgrp +//New returns an initialized StrategyParametersGrp instance func New() *StrategyParametersGrp { var m StrategyParametersGrp return &m @@ -15,6 +16,12 @@ type NoStrategyParameters struct { StrategyParameterValue *string `fix:"960"` } +//NewNoStrategyParameters returns an initialized NoStrategyParameters instance +func NewNoStrategyParameters() *NoStrategyParameters { + var m NoStrategyParameters + return &m +} + func (m *NoStrategyParameters) SetStrategyParameterName(v string) { m.StrategyParameterName = &v } func (m *NoStrategyParameters) SetStrategyParameterType(v int) { m.StrategyParameterType = &v } func (m *NoStrategyParameters) SetStrategyParameterValue(v string) { m.StrategyParameterValue = &v } diff --git a/fix50sp1/strikerules/StrikeRules.go b/fix50sp1/strikerules/StrikeRules.go index 1f7fc1b31..6df6859b3 100644 --- a/fix50sp1/strikerules/StrikeRules.go +++ b/fix50sp1/strikerules/StrikeRules.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/maturityrules" ) +//New returns an initialized StrikeRules instance func New() *StrikeRules { var m StrikeRules return &m @@ -25,6 +26,12 @@ type NoStrikeRules struct { MaturityRules *maturityrules.MaturityRules } +//NewNoStrikeRules returns an initialized NoStrikeRules instance +func NewNoStrikeRules() *NoStrikeRules { + var m NoStrikeRules + return &m +} + func (m *NoStrikeRules) SetStrikeRuleID(v string) { m.StrikeRuleID = &v } func (m *NoStrikeRules) SetStartStrikePxRange(v float64) { m.StartStrikePxRange = &v } func (m *NoStrikeRules) SetEndStrikePxRange(v float64) { m.EndStrikePxRange = &v } diff --git a/fix50sp1/tickrules/TickRules.go b/fix50sp1/tickrules/TickRules.go index dd342bc9d..fd48910de 100644 --- a/fix50sp1/tickrules/TickRules.go +++ b/fix50sp1/tickrules/TickRules.go @@ -1,5 +1,6 @@ package tickrules +//New returns an initialized TickRules instance func New() *TickRules { var m TickRules return &m @@ -17,6 +18,12 @@ type NoTickRules struct { TickRuleType *int `fix:"1209"` } +//NewNoTickRules returns an initialized NoTickRules instance +func NewNoTickRules() *NoTickRules { + var m NoTickRules + return &m +} + func (m *NoTickRules) SetStartTickPriceRange(v float64) { m.StartTickPriceRange = &v } func (m *NoTickRules) SetEndTickPriceRange(v float64) { m.EndTickPriceRange = &v } func (m *NoTickRules) SetTickIncrement(v float64) { m.TickIncrement = &v } diff --git a/fix50sp1/timeinforcerules/TimeInForceRules.go b/fix50sp1/timeinforcerules/TimeInForceRules.go index 51af87ee9..8ba6145ff 100644 --- a/fix50sp1/timeinforcerules/TimeInForceRules.go +++ b/fix50sp1/timeinforcerules/TimeInForceRules.go @@ -1,5 +1,6 @@ package timeinforcerules +//New returns an initialized TimeInForceRules instance func New() *TimeInForceRules { var m TimeInForceRules return &m @@ -11,6 +12,12 @@ type NoTimeInForceRules struct { TimeInForce *string `fix:"59"` } +//NewNoTimeInForceRules returns an initialized NoTimeInForceRules instance +func NewNoTimeInForceRules() *NoTimeInForceRules { + var m NoTimeInForceRules + return &m +} + func (m *NoTimeInForceRules) SetTimeInForce(v string) { m.TimeInForce = &v } //TimeInForceRules is a fix50sp1 Component diff --git a/fix50sp1/tradecaplegunderlyingsgrp/TradeCapLegUnderlyingsGrp.go b/fix50sp1/tradecaplegunderlyingsgrp/TradeCapLegUnderlyingsGrp.go index 3aa13f7de..bd7c0cef6 100644 --- a/fix50sp1/tradecaplegunderlyingsgrp/TradeCapLegUnderlyingsGrp.go +++ b/fix50sp1/tradecaplegunderlyingsgrp/TradeCapLegUnderlyingsGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/underlyingleginstrument" ) +//New returns an initialized TradeCapLegUnderlyingsGrp instance func New() *TradeCapLegUnderlyingsGrp { var m TradeCapLegUnderlyingsGrp return &m @@ -15,6 +16,12 @@ type NoOfLegUnderlyings struct { UnderlyingLegInstrument *underlyingleginstrument.UnderlyingLegInstrument } +//NewNoOfLegUnderlyings returns an initialized NoOfLegUnderlyings instance +func NewNoOfLegUnderlyings() *NoOfLegUnderlyings { + var m NoOfLegUnderlyings + return &m +} + func (m *NoOfLegUnderlyings) SetUnderlyingLegInstrument(v underlyingleginstrument.UnderlyingLegInstrument) { m.UnderlyingLegInstrument = &v } diff --git a/fix50sp1/tradingsessionrules/TradingSessionRules.go b/fix50sp1/tradingsessionrules/TradingSessionRules.go index d569b05f7..17f0c5eb7 100644 --- a/fix50sp1/tradingsessionrules/TradingSessionRules.go +++ b/fix50sp1/tradingsessionrules/TradingSessionRules.go @@ -8,6 +8,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/timeinforcerules" ) +//New returns an initialized TradingSessionRules instance func New() *TradingSessionRules { var m TradingSessionRules return &m diff --git a/fix50sp1/tradingsessionrulesgrp/TradingSessionRulesGrp.go b/fix50sp1/tradingsessionrulesgrp/TradingSessionRulesGrp.go index e8040d3e2..fdc2e479d 100644 --- a/fix50sp1/tradingsessionrulesgrp/TradingSessionRulesGrp.go +++ b/fix50sp1/tradingsessionrulesgrp/TradingSessionRulesGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/tradingsessionrules" ) +//New returns an initialized TradingSessionRulesGrp instance func New() *TradingSessionRulesGrp { var m TradingSessionRulesGrp return &m @@ -19,6 +20,12 @@ type NoTradingSessionRules struct { TradingSessionRules *tradingsessionrules.TradingSessionRules } +//NewNoTradingSessionRules returns an initialized NoTradingSessionRules instance +func NewNoTradingSessionRules() *NoTradingSessionRules { + var m NoTradingSessionRules + return &m +} + func (m *NoTradingSessionRules) SetTradingSessionID(v string) { m.TradingSessionID = &v } func (m *NoTradingSessionRules) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } func (m *NoTradingSessionRules) SetTradingSessionRules(v tradingsessionrules.TradingSessionRules) { diff --git a/fix50sp1/trdallocgrp/TrdAllocGrp.go b/fix50sp1/trdallocgrp/TrdAllocGrp.go index e10d9e3c3..6cee0a430 100644 --- a/fix50sp1/trdallocgrp/TrdAllocGrp.go +++ b/fix50sp1/trdallocgrp/TrdAllocGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/nestedparties2" ) +//New returns an initialized TrdAllocGrp instance func New() *TrdAllocGrp { var m TrdAllocGrp return &m @@ -33,6 +34,12 @@ type NoAllocs struct { AllocClearingFeeIndicator *string `fix:"1136"` } +//NewNoAllocs returns an initialized NoAllocs instance +func NewNoAllocs() *NoAllocs { + var m NoAllocs + return &m +} + func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } func (m *NoAllocs) SetAllocSettlCurrency(v string) { m.AllocSettlCurrency = &v } diff --git a/fix50sp1/trdcapdtgrp/TrdCapDtGrp.go b/fix50sp1/trdcapdtgrp/TrdCapDtGrp.go index 5df723c78..90916b772 100644 --- a/fix50sp1/trdcapdtgrp/TrdCapDtGrp.go +++ b/fix50sp1/trdcapdtgrp/TrdCapDtGrp.go @@ -4,6 +4,7 @@ import ( "time" ) +//New returns an initialized TrdCapDtGrp instance func New() *TrdCapDtGrp { var m TrdCapDtGrp return &m @@ -19,6 +20,12 @@ type NoDates struct { LastUpdateTime *time.Time `fix:"779"` } +//NewNoDates returns an initialized NoDates instance +func NewNoDates() *NoDates { + var m NoDates + return &m +} + func (m *NoDates) SetTradeDate(v string) { m.TradeDate = &v } func (m *NoDates) SetTransactTime(v time.Time) { m.TransactTime = &v } func (m *NoDates) SetLastUpdateTime(v time.Time) { m.LastUpdateTime = &v } diff --git a/fix50sp1/trdcaprptacksidegrp/TrdCapRptAckSideGrp.go b/fix50sp1/trdcaprptacksidegrp/TrdCapRptAckSideGrp.go index 757ddb83f..714e8105f 100644 --- a/fix50sp1/trdcaprptacksidegrp/TrdCapRptAckSideGrp.go +++ b/fix50sp1/trdcaprptacksidegrp/TrdCapRptAckSideGrp.go @@ -13,6 +13,7 @@ import ( "time" ) +//New returns an initialized TrdCapRptAckSideGrp instance func New(nosides []NoSides) *TrdCapRptAckSideGrp { var m TrdCapRptAckSideGrp m.SetNoSides(nosides) @@ -155,6 +156,13 @@ type NoSides struct { SettlDetails *settldetails.SettlDetails } +//NewNoSides returns an initialized NoSides instance +func NewNoSides(side string) *NoSides { + var m NoSides + m.SetSide(side) + return &m +} + func (m *NoSides) SetSide(v string) { m.Side = v } func (m *NoSides) SetOrderID(v string) { m.OrderID = &v } func (m *NoSides) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } diff --git a/fix50sp1/trdcaprptsidegrp/TrdCapRptSideGrp.go b/fix50sp1/trdcaprptsidegrp/TrdCapRptSideGrp.go index b1d7d32b7..566ca0365 100644 --- a/fix50sp1/trdcaprptsidegrp/TrdCapRptSideGrp.go +++ b/fix50sp1/trdcaprptsidegrp/TrdCapRptSideGrp.go @@ -13,6 +13,7 @@ import ( "time" ) +//New returns an initialized TrdCapRptSideGrp instance func New(nosides []NoSides) *TrdCapRptSideGrp { var m TrdCapRptSideGrp m.SetNoSides(nosides) @@ -165,6 +166,13 @@ type NoSides struct { SettlDetails *settldetails.SettlDetails } +//NewNoSides returns an initialized NoSides instance +func NewNoSides(side string) *NoSides { + var m NoSides + m.SetSide(side) + return &m +} + func (m *NoSides) SetSide(v string) { m.Side = v } func (m *NoSides) SetOrderID(v string) { m.OrderID = &v } func (m *NoSides) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } diff --git a/fix50sp1/trdcollgrp/TrdCollGrp.go b/fix50sp1/trdcollgrp/TrdCollGrp.go index 807c1e8ad..05b9bce8c 100644 --- a/fix50sp1/trdcollgrp/TrdCollGrp.go +++ b/fix50sp1/trdcollgrp/TrdCollGrp.go @@ -1,5 +1,6 @@ package trdcollgrp +//New returns an initialized TrdCollGrp instance func New() *TrdCollGrp { var m TrdCollGrp return &m @@ -13,6 +14,12 @@ type NoTrades struct { SecondaryTradeReportID *string `fix:"818"` } +//NewNoTrades returns an initialized NoTrades instance +func NewNoTrades() *NoTrades { + var m NoTrades + return &m +} + func (m *NoTrades) SetTradeReportID(v string) { m.TradeReportID = &v } func (m *NoTrades) SetSecondaryTradeReportID(v string) { m.SecondaryTradeReportID = &v } diff --git a/fix50sp1/trdgsesgrp/TrdgSesGrp.go b/fix50sp1/trdgsesgrp/TrdgSesGrp.go index e6bfd1df7..051d54a2e 100644 --- a/fix50sp1/trdgsesgrp/TrdgSesGrp.go +++ b/fix50sp1/trdgsesgrp/TrdgSesGrp.go @@ -1,5 +1,6 @@ package trdgsesgrp +//New returns an initialized TrdgSesGrp instance func New() *TrdgSesGrp { var m TrdgSesGrp return &m @@ -13,6 +14,12 @@ type NoTradingSessions struct { TradingSessionSubID *string `fix:"625"` } +//NewNoTradingSessions returns an initialized NoTradingSessions instance +func NewNoTradingSessions() *NoTradingSessions { + var m NoTradingSessions + return &m +} + func (m *NoTradingSessions) SetTradingSessionID(v string) { m.TradingSessionID = &v } func (m *NoTradingSessions) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } diff --git a/fix50sp1/trdinstrmtleggrp/TrdInstrmtLegGrp.go b/fix50sp1/trdinstrmtleggrp/TrdInstrmtLegGrp.go index 85bbb691c..0cc67130b 100644 --- a/fix50sp1/trdinstrmtleggrp/TrdInstrmtLegGrp.go +++ b/fix50sp1/trdinstrmtleggrp/TrdInstrmtLegGrp.go @@ -7,6 +7,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/tradecaplegunderlyingsgrp" ) +//New returns an initialized TrdInstrmtLegGrp instance func New() *TrdInstrmtLegGrp { var m TrdInstrmtLegGrp return &m @@ -62,6 +63,12 @@ type NoLegs struct { LegLastQty *float64 `fix:"1418"` } +//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) SetLegQty(v float64) { m.LegQty = &v } func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } diff --git a/fix50sp1/trdregtimestamps/TrdRegTimestamps.go b/fix50sp1/trdregtimestamps/TrdRegTimestamps.go index 4d6a87cee..b781108ac 100644 --- a/fix50sp1/trdregtimestamps/TrdRegTimestamps.go +++ b/fix50sp1/trdregtimestamps/TrdRegTimestamps.go @@ -4,6 +4,7 @@ import ( "time" ) +//New returns an initialized TrdRegTimestamps instance func New() *TrdRegTimestamps { var m TrdRegTimestamps return &m @@ -25,6 +26,12 @@ type NoTrdRegTimestamps struct { DeskOrderHandlingInst *string `fix:"1035"` } +//NewNoTrdRegTimestamps returns an initialized NoTrdRegTimestamps instance +func NewNoTrdRegTimestamps() *NoTrdRegTimestamps { + var m NoTrdRegTimestamps + return &m +} + func (m *NoTrdRegTimestamps) SetTrdRegTimestamp(v time.Time) { m.TrdRegTimestamp = &v } func (m *NoTrdRegTimestamps) SetTrdRegTimestampType(v int) { m.TrdRegTimestampType = &v } func (m *NoTrdRegTimestamps) SetTrdRegTimestampOrigin(v string) { m.TrdRegTimestampOrigin = &v } diff --git a/fix50sp1/trdrepindicatorsgrp/TrdRepIndicatorsGrp.go b/fix50sp1/trdrepindicatorsgrp/TrdRepIndicatorsGrp.go index 7c6b4141a..57bc31e08 100644 --- a/fix50sp1/trdrepindicatorsgrp/TrdRepIndicatorsGrp.go +++ b/fix50sp1/trdrepindicatorsgrp/TrdRepIndicatorsGrp.go @@ -1,5 +1,6 @@ package trdrepindicatorsgrp +//New returns an initialized TrdRepIndicatorsGrp instance func New() *TrdRepIndicatorsGrp { var m TrdRepIndicatorsGrp return &m @@ -13,6 +14,12 @@ type NoTrdRepIndicators struct { TrdRepIndicator *bool `fix:"1389"` } +//NewNoTrdRepIndicators returns an initialized NoTrdRepIndicators instance +func NewNoTrdRepIndicators() *NoTrdRepIndicators { + var m NoTrdRepIndicators + return &m +} + func (m *NoTrdRepIndicators) SetTrdRepPartyRole(v int) { m.TrdRepPartyRole = &v } func (m *NoTrdRepIndicators) SetTrdRepIndicator(v bool) { m.TrdRepIndicator = &v } diff --git a/fix50sp1/trdsesslstgrp/TrdSessLstGrp.go b/fix50sp1/trdsesslstgrp/TrdSessLstGrp.go index 89506ccf3..f156883bd 100644 --- a/fix50sp1/trdsesslstgrp/TrdSessLstGrp.go +++ b/fix50sp1/trdsesslstgrp/TrdSessLstGrp.go @@ -5,6 +5,7 @@ import ( "time" ) +//New returns an initialized TrdSessLstGrp instance func New(notradingsessions []NoTradingSessions) *TrdSessLstGrp { var m TrdSessLstGrp m.SetNoTradingSessions(notradingsessions) @@ -57,6 +58,14 @@ type NoTradingSessions struct { TradingSessionRules *tradingsessionrules.TradingSessionRules } +//NewNoTradingSessions returns an initialized NoTradingSessions instance +func NewNoTradingSessions(tradingsessionid string, tradsesstatus int) *NoTradingSessions { + var m NoTradingSessions + m.SetTradingSessionID(tradingsessionid) + m.SetTradSesStatus(tradsesstatus) + return &m +} + func (m *NoTradingSessions) SetTradingSessionID(v string) { m.TradingSessionID = v } func (m *NoTradingSessions) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } func (m *NoTradingSessions) SetSecurityExchange(v string) { m.SecurityExchange = &v } diff --git a/fix50sp1/triggeringinstruction/TriggeringInstruction.go b/fix50sp1/triggeringinstruction/TriggeringInstruction.go index 7d8d55750..dbfe8c88f 100644 --- a/fix50sp1/triggeringinstruction/TriggeringInstruction.go +++ b/fix50sp1/triggeringinstruction/TriggeringInstruction.go @@ -1,5 +1,6 @@ package triggeringinstruction +//New returns an initialized TriggeringInstruction instance func New() *TriggeringInstruction { var m TriggeringInstruction return &m diff --git a/fix50sp1/underlyingamount/UnderlyingAmount.go b/fix50sp1/underlyingamount/UnderlyingAmount.go index d3dbcedd3..0ace6421d 100644 --- a/fix50sp1/underlyingamount/UnderlyingAmount.go +++ b/fix50sp1/underlyingamount/UnderlyingAmount.go @@ -1,5 +1,6 @@ package underlyingamount +//New returns an initialized UnderlyingAmount instance func New() *UnderlyingAmount { var m UnderlyingAmount return &m @@ -17,6 +18,12 @@ type NoUnderlyingAmounts struct { UnderlyingSettlementStatus *string `fix:"988"` } +//NewNoUnderlyingAmounts returns an initialized NoUnderlyingAmounts instance +func NewNoUnderlyingAmounts() *NoUnderlyingAmounts { + var m NoUnderlyingAmounts + return &m +} + func (m *NoUnderlyingAmounts) SetUnderlyingPayAmount(v float64) { m.UnderlyingPayAmount = &v } func (m *NoUnderlyingAmounts) SetUnderlyingCollectAmount(v float64) { m.UnderlyingCollectAmount = &v } func (m *NoUnderlyingAmounts) SetUnderlyingSettlementDate(v string) { m.UnderlyingSettlementDate = &v } diff --git a/fix50sp1/underlyinginstrument/UnderlyingInstrument.go b/fix50sp1/underlyinginstrument/UnderlyingInstrument.go index 78c6f70d3..ed408b79b 100644 --- a/fix50sp1/underlyinginstrument/UnderlyingInstrument.go +++ b/fix50sp1/underlyinginstrument/UnderlyingInstrument.go @@ -6,6 +6,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/undsecaltidgrp" ) +//New returns an initialized UnderlyingInstrument instance func New() *UnderlyingInstrument { var m UnderlyingInstrument return &m diff --git a/fix50sp1/underlyingleginstrument/UnderlyingLegInstrument.go b/fix50sp1/underlyingleginstrument/UnderlyingLegInstrument.go index 4887c2973..207d23e9d 100644 --- a/fix50sp1/underlyingleginstrument/UnderlyingLegInstrument.go +++ b/fix50sp1/underlyingleginstrument/UnderlyingLegInstrument.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/underlyinglegsecurityaltidgrp" ) +//New returns an initialized UnderlyingLegInstrument instance func New() *UnderlyingLegInstrument { var m UnderlyingLegInstrument return &m diff --git a/fix50sp1/underlyinglegsecurityaltidgrp/UnderlyingLegSecurityAltIDGrp.go b/fix50sp1/underlyinglegsecurityaltidgrp/UnderlyingLegSecurityAltIDGrp.go index 61f4ca58e..6d164c0c0 100644 --- a/fix50sp1/underlyinglegsecurityaltidgrp/UnderlyingLegSecurityAltIDGrp.go +++ b/fix50sp1/underlyinglegsecurityaltidgrp/UnderlyingLegSecurityAltIDGrp.go @@ -1,5 +1,6 @@ package underlyinglegsecurityaltidgrp +//New returns an initialized UnderlyingLegSecurityAltIDGrp instance func New() *UnderlyingLegSecurityAltIDGrp { var m UnderlyingLegSecurityAltIDGrp return &m @@ -13,6 +14,12 @@ type NoUnderlyingLegSecurityAltID struct { UnderlyingLegSecurityAltIDSource *string `fix:"1336"` } +//NewNoUnderlyingLegSecurityAltID returns an initialized NoUnderlyingLegSecurityAltID instance +func NewNoUnderlyingLegSecurityAltID() *NoUnderlyingLegSecurityAltID { + var m NoUnderlyingLegSecurityAltID + return &m +} + func (m *NoUnderlyingLegSecurityAltID) SetUnderlyingLegSecurityAltID(v string) { m.UnderlyingLegSecurityAltID = &v } diff --git a/fix50sp1/underlyingstipulations/UnderlyingStipulations.go b/fix50sp1/underlyingstipulations/UnderlyingStipulations.go index df6136c6c..271484bce 100644 --- a/fix50sp1/underlyingstipulations/UnderlyingStipulations.go +++ b/fix50sp1/underlyingstipulations/UnderlyingStipulations.go @@ -1,5 +1,6 @@ package underlyingstipulations +//New returns an initialized UnderlyingStipulations instance func New() *UnderlyingStipulations { var m UnderlyingStipulations return &m @@ -13,6 +14,12 @@ type NoUnderlyingStips struct { UnderlyingStipValue *string `fix:"889"` } +//NewNoUnderlyingStips returns an initialized NoUnderlyingStips instance +func NewNoUnderlyingStips() *NoUnderlyingStips { + var m NoUnderlyingStips + return &m +} + func (m *NoUnderlyingStips) SetUnderlyingStipType(v string) { m.UnderlyingStipType = &v } func (m *NoUnderlyingStips) SetUnderlyingStipValue(v string) { m.UnderlyingStipValue = &v } diff --git a/fix50sp1/undinstrmtcollgrp/UndInstrmtCollGrp.go b/fix50sp1/undinstrmtcollgrp/UndInstrmtCollGrp.go index ce5277c4e..de6323e41 100644 --- a/fix50sp1/undinstrmtcollgrp/UndInstrmtCollGrp.go +++ b/fix50sp1/undinstrmtcollgrp/UndInstrmtCollGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/underlyinginstrument" ) +//New returns an initialized UndInstrmtCollGrp instance func New() *UndInstrmtCollGrp { var m UndInstrmtCollGrp return &m @@ -17,6 +18,12 @@ type NoUnderlyings struct { CollAction *int `fix:"944"` } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } diff --git a/fix50sp1/undinstrmtgrp/UndInstrmtGrp.go b/fix50sp1/undinstrmtgrp/UndInstrmtGrp.go index 3e16dbc0b..1ac1d922d 100644 --- a/fix50sp1/undinstrmtgrp/UndInstrmtGrp.go +++ b/fix50sp1/undinstrmtgrp/UndInstrmtGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/underlyinginstrument" ) +//New returns an initialized UndInstrmtGrp instance func New() *UndInstrmtGrp { var m UndInstrmtGrp return &m @@ -15,6 +16,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } diff --git a/fix50sp1/undlyinstrumentparties/UndlyInstrumentParties.go b/fix50sp1/undlyinstrumentparties/UndlyInstrumentParties.go index f4ee069ef..0745b7aea 100644 --- a/fix50sp1/undlyinstrumentparties/UndlyInstrumentParties.go +++ b/fix50sp1/undlyinstrumentparties/UndlyInstrumentParties.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/undlyinstrumentptyssubgrp" ) +//New returns an initialized UndlyInstrumentParties instance func New() *UndlyInstrumentParties { var m UndlyInstrumentParties return &m @@ -21,6 +22,12 @@ type NoUndlyInstrumentParties struct { UndlyInstrumentPtysSubGrp *undlyinstrumentptyssubgrp.UndlyInstrumentPtysSubGrp } +//NewNoUndlyInstrumentParties returns an initialized NoUndlyInstrumentParties instance +func NewNoUndlyInstrumentParties() *NoUndlyInstrumentParties { + var m NoUndlyInstrumentParties + return &m +} + func (m *NoUndlyInstrumentParties) SetUndlyInstrumentPartyID(v string) { m.UndlyInstrumentPartyID = &v } func (m *NoUndlyInstrumentParties) SetUndlyInstrumentPartyIDSource(v string) { m.UndlyInstrumentPartyIDSource = &v diff --git a/fix50sp1/undlyinstrumentptyssubgrp/UndlyInstrumentPtysSubGrp.go b/fix50sp1/undlyinstrumentptyssubgrp/UndlyInstrumentPtysSubGrp.go index b8715532f..4ba901c49 100644 --- a/fix50sp1/undlyinstrumentptyssubgrp/UndlyInstrumentPtysSubGrp.go +++ b/fix50sp1/undlyinstrumentptyssubgrp/UndlyInstrumentPtysSubGrp.go @@ -1,5 +1,6 @@ package undlyinstrumentptyssubgrp +//New returns an initialized UndlyInstrumentPtysSubGrp instance func New() *UndlyInstrumentPtysSubGrp { var m UndlyInstrumentPtysSubGrp return &m @@ -13,6 +14,12 @@ type NoUndlyInstrumentPartySubIDs struct { UndlyInstrumentPartySubIDType *int `fix:"1064"` } +//NewNoUndlyInstrumentPartySubIDs returns an initialized NoUndlyInstrumentPartySubIDs instance +func NewNoUndlyInstrumentPartySubIDs() *NoUndlyInstrumentPartySubIDs { + var m NoUndlyInstrumentPartySubIDs + return &m +} + func (m *NoUndlyInstrumentPartySubIDs) SetUndlyInstrumentPartySubID(v string) { m.UndlyInstrumentPartySubID = &v } diff --git a/fix50sp1/undsecaltidgrp/UndSecAltIDGrp.go b/fix50sp1/undsecaltidgrp/UndSecAltIDGrp.go index 72977703e..76a60ee1d 100644 --- a/fix50sp1/undsecaltidgrp/UndSecAltIDGrp.go +++ b/fix50sp1/undsecaltidgrp/UndSecAltIDGrp.go @@ -1,5 +1,6 @@ package undsecaltidgrp +//New returns an initialized UndSecAltIDGrp instance func New() *UndSecAltIDGrp { var m UndSecAltIDGrp return &m @@ -13,6 +14,12 @@ type NoUnderlyingSecurityAltID struct { UnderlyingSecurityAltIDSource *string `fix:"459"` } +//NewNoUnderlyingSecurityAltID returns an initialized NoUnderlyingSecurityAltID instance +func NewNoUnderlyingSecurityAltID() *NoUnderlyingSecurityAltID { + var m NoUnderlyingSecurityAltID + return &m +} + func (m *NoUnderlyingSecurityAltID) SetUnderlyingSecurityAltID(v string) { m.UnderlyingSecurityAltID = &v } diff --git a/fix50sp1/usernamegrp/UsernameGrp.go b/fix50sp1/usernamegrp/UsernameGrp.go index 0af3c51b3..9638559c0 100644 --- a/fix50sp1/usernamegrp/UsernameGrp.go +++ b/fix50sp1/usernamegrp/UsernameGrp.go @@ -1,5 +1,6 @@ package usernamegrp +//New returns an initialized UsernameGrp instance func New() *UsernameGrp { var m UsernameGrp return &m diff --git a/fix50sp1/yielddata/YieldData.go b/fix50sp1/yielddata/YieldData.go index a429eb541..c3bdde400 100644 --- a/fix50sp1/yielddata/YieldData.go +++ b/fix50sp1/yielddata/YieldData.go @@ -1,5 +1,6 @@ package yielddata +//New returns an initialized YieldData instance func New() *YieldData { var m YieldData return &m diff --git a/fix50sp2/affectedordgrp/AffectedOrdGrp.go b/fix50sp2/affectedordgrp/AffectedOrdGrp.go index 2123b7a02..23ac48f45 100644 --- a/fix50sp2/affectedordgrp/AffectedOrdGrp.go +++ b/fix50sp2/affectedordgrp/AffectedOrdGrp.go @@ -1,5 +1,6 @@ package affectedordgrp +//New returns an initialized AffectedOrdGrp instance func New() *AffectedOrdGrp { var m AffectedOrdGrp return &m @@ -15,6 +16,12 @@ type NoAffectedOrders struct { AffectedSecondaryOrderID *string `fix:"536"` } +//NewNoAffectedOrders returns an initialized NoAffectedOrders instance +func NewNoAffectedOrders() *NoAffectedOrders { + var m NoAffectedOrders + return &m +} + func (m *NoAffectedOrders) SetOrigClOrdID(v string) { m.OrigClOrdID = &v } func (m *NoAffectedOrders) SetAffectedOrderID(v string) { m.AffectedOrderID = &v } func (m *NoAffectedOrders) SetAffectedSecondaryOrderID(v string) { m.AffectedSecondaryOrderID = &v } diff --git a/fix50sp2/allocackgrp/AllocAckGrp.go b/fix50sp2/allocackgrp/AllocAckGrp.go index 070fd8ae7..3f620f7a4 100644 --- a/fix50sp2/allocackgrp/AllocAckGrp.go +++ b/fix50sp2/allocackgrp/AllocAckGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/nestedparties" ) +//New returns an initialized AllocAckGrp instance func New() *AllocAckGrp { var m AllocAckGrp return &m @@ -41,6 +42,12 @@ type NoAllocs struct { AllocPositionEffect *string `fix:"1047"` } +//NewNoAllocs returns an initialized NoAllocs instance +func NewNoAllocs() *NoAllocs { + var m NoAllocs + return &m +} + func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } func (m *NoAllocs) SetAllocPrice(v float64) { m.AllocPrice = &v } diff --git a/fix50sp2/allocgrp/AllocGrp.go b/fix50sp2/allocgrp/AllocGrp.go index f07c68536..a907de3dc 100644 --- a/fix50sp2/allocgrp/AllocGrp.go +++ b/fix50sp2/allocgrp/AllocGrp.go @@ -8,6 +8,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/settlinstructionsdata" ) +//New returns an initialized AllocGrp instance func New() *AllocGrp { var m AllocGrp return &m @@ -85,6 +86,12 @@ type NoAllocs struct { ClearingFeeIndicator *string `fix:"635"` } +//NewNoAllocs returns an initialized NoAllocs instance +func NewNoAllocs() *NoAllocs { + var m NoAllocs + return &m +} + func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } func (m *NoAllocs) SetMatchStatus(v string) { m.MatchStatus = &v } diff --git a/fix50sp2/altptyssubgrp/AltPtysSubGrp.go b/fix50sp2/altptyssubgrp/AltPtysSubGrp.go index 6cf94cdc4..b4cc54161 100644 --- a/fix50sp2/altptyssubgrp/AltPtysSubGrp.go +++ b/fix50sp2/altptyssubgrp/AltPtysSubGrp.go @@ -1,5 +1,6 @@ package altptyssubgrp +//New returns an initialized AltPtysSubGrp instance func New() *AltPtysSubGrp { var m AltPtysSubGrp return &m @@ -13,6 +14,12 @@ type NoPartyAltSubIDs struct { PartyAltSubIDType *int `fix:"1521"` } +//NewNoPartyAltSubIDs returns an initialized NoPartyAltSubIDs instance +func NewNoPartyAltSubIDs() *NoPartyAltSubIDs { + var m NoPartyAltSubIDs + return &m +} + func (m *NoPartyAltSubIDs) SetPartyAltSubID(v string) { m.PartyAltSubID = &v } func (m *NoPartyAltSubIDs) SetPartyAltSubIDType(v int) { m.PartyAltSubIDType = &v } diff --git a/fix50sp2/applicationsequencecontrol/ApplicationSequenceControl.go b/fix50sp2/applicationsequencecontrol/ApplicationSequenceControl.go index 8b18b591c..26e890216 100644 --- a/fix50sp2/applicationsequencecontrol/ApplicationSequenceControl.go +++ b/fix50sp2/applicationsequencecontrol/ApplicationSequenceControl.go @@ -1,5 +1,6 @@ package applicationsequencecontrol +//New returns an initialized ApplicationSequenceControl instance func New() *ApplicationSequenceControl { var m ApplicationSequenceControl return &m diff --git a/fix50sp2/applidreportgrp/ApplIDReportGrp.go b/fix50sp2/applidreportgrp/ApplIDReportGrp.go index 0e105ce41..672989565 100644 --- a/fix50sp2/applidreportgrp/ApplIDReportGrp.go +++ b/fix50sp2/applidreportgrp/ApplIDReportGrp.go @@ -1,5 +1,6 @@ package applidreportgrp +//New returns an initialized ApplIDReportGrp instance func New() *ApplIDReportGrp { var m ApplIDReportGrp return &m @@ -15,6 +16,12 @@ type NoApplIDs struct { RefApplLastSeqNum *int `fix:"1357"` } +//NewNoApplIDs returns an initialized NoApplIDs instance +func NewNoApplIDs() *NoApplIDs { + var m NoApplIDs + return &m +} + func (m *NoApplIDs) SetRefApplID(v string) { m.RefApplID = &v } func (m *NoApplIDs) SetApplNewSeqNum(v int) { m.ApplNewSeqNum = &v } func (m *NoApplIDs) SetRefApplLastSeqNum(v int) { m.RefApplLastSeqNum = &v } diff --git a/fix50sp2/applidrequestackgrp/ApplIDRequestAckGrp.go b/fix50sp2/applidrequestackgrp/ApplIDRequestAckGrp.go index d5d50b1c9..84eb857bd 100644 --- a/fix50sp2/applidrequestackgrp/ApplIDRequestAckGrp.go +++ b/fix50sp2/applidrequestackgrp/ApplIDRequestAckGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/nestedparties" ) +//New returns an initialized ApplIDRequestAckGrp instance func New() *ApplIDRequestAckGrp { var m ApplIDRequestAckGrp return &m @@ -27,6 +28,12 @@ type NoApplIDs struct { RefApplReqID *string `fix:"1433"` } +//NewNoApplIDs returns an initialized NoApplIDs instance +func NewNoApplIDs() *NoApplIDs { + var m NoApplIDs + return &m +} + func (m *NoApplIDs) SetRefApplID(v string) { m.RefApplID = &v } func (m *NoApplIDs) SetApplBegSeqNum(v int) { m.ApplBegSeqNum = &v } func (m *NoApplIDs) SetApplEndSeqNum(v int) { m.ApplEndSeqNum = &v } diff --git a/fix50sp2/applidrequestgrp/ApplIDRequestGrp.go b/fix50sp2/applidrequestgrp/ApplIDRequestGrp.go index 207c8d272..7cc8e2e3e 100644 --- a/fix50sp2/applidrequestgrp/ApplIDRequestGrp.go +++ b/fix50sp2/applidrequestgrp/ApplIDRequestGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/nestedparties" ) +//New returns an initialized ApplIDRequestGrp instance func New() *ApplIDRequestGrp { var m ApplIDRequestGrp return &m @@ -23,6 +24,12 @@ type NoApplIDs struct { RefApplReqID *string `fix:"1433"` } +//NewNoApplIDs returns an initialized NoApplIDs instance +func NewNoApplIDs() *NoApplIDs { + var m NoApplIDs + return &m +} + func (m *NoApplIDs) SetRefApplID(v string) { m.RefApplID = &v } func (m *NoApplIDs) SetApplBegSeqNum(v int) { m.ApplBegSeqNum = &v } func (m *NoApplIDs) SetApplEndSeqNum(v int) { m.ApplEndSeqNum = &v } diff --git a/fix50sp2/attrbgrp/AttrbGrp.go b/fix50sp2/attrbgrp/AttrbGrp.go index 96f0eead8..8106551e4 100644 --- a/fix50sp2/attrbgrp/AttrbGrp.go +++ b/fix50sp2/attrbgrp/AttrbGrp.go @@ -1,5 +1,6 @@ package attrbgrp +//New returns an initialized AttrbGrp instance func New() *AttrbGrp { var m AttrbGrp return &m @@ -13,6 +14,12 @@ type NoInstrAttrib struct { InstrAttribValue *string `fix:"872"` } +//NewNoInstrAttrib returns an initialized NoInstrAttrib instance +func NewNoInstrAttrib() *NoInstrAttrib { + var m NoInstrAttrib + return &m +} + func (m *NoInstrAttrib) SetInstrAttribType(v int) { m.InstrAttribType = &v } func (m *NoInstrAttrib) SetInstrAttribValue(v string) { m.InstrAttribValue = &v } diff --git a/fix50sp2/basetradingrules/BaseTradingRules.go b/fix50sp2/basetradingrules/BaseTradingRules.go index 930a8a64a..8603f9dfa 100644 --- a/fix50sp2/basetradingrules/BaseTradingRules.go +++ b/fix50sp2/basetradingrules/BaseTradingRules.go @@ -6,6 +6,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/tickrules" ) +//New returns an initialized BaseTradingRules instance func New() *BaseTradingRules { var m BaseTradingRules return &m diff --git a/fix50sp2/bidcompreqgrp/BidCompReqGrp.go b/fix50sp2/bidcompreqgrp/BidCompReqGrp.go index 9a3fa10fe..59c6894b8 100644 --- a/fix50sp2/bidcompreqgrp/BidCompReqGrp.go +++ b/fix50sp2/bidcompreqgrp/BidCompReqGrp.go @@ -1,5 +1,6 @@ package bidcompreqgrp +//New returns an initialized BidCompReqGrp instance func New() *BidCompReqGrp { var m BidCompReqGrp return &m @@ -27,6 +28,12 @@ type NoBidComponents struct { AcctIDSource *int `fix:"660"` } +//NewNoBidComponents returns an initialized NoBidComponents instance +func NewNoBidComponents() *NoBidComponents { + var m NoBidComponents + return &m +} + func (m *NoBidComponents) SetListID(v string) { m.ListID = &v } func (m *NoBidComponents) SetSide(v string) { m.Side = &v } func (m *NoBidComponents) SetTradingSessionID(v string) { m.TradingSessionID = &v } diff --git a/fix50sp2/bidcomprspgrp/BidCompRspGrp.go b/fix50sp2/bidcomprspgrp/BidCompRspGrp.go index a835c8a3f..ec5838f17 100644 --- a/fix50sp2/bidcomprspgrp/BidCompRspGrp.go +++ b/fix50sp2/bidcomprspgrp/BidCompRspGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/commissiondata" ) +//New returns an initialized BidCompRspGrp instance func New(nobidcomponents []NoBidComponents) *BidCompRspGrp { var m BidCompRspGrp m.SetNoBidComponents(nobidcomponents) @@ -44,6 +45,13 @@ type NoBidComponents struct { EncodedText *string `fix:"355"` } +//NewNoBidComponents returns an initialized NoBidComponents instance +func NewNoBidComponents(commissiondata commissiondata.CommissionData) *NoBidComponents { + var m NoBidComponents + m.SetCommissionData(commissiondata) + return &m +} + func (m *NoBidComponents) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = v } func (m *NoBidComponents) SetListID(v string) { m.ListID = &v } func (m *NoBidComponents) SetCountry(v string) { m.Country = &v } diff --git a/fix50sp2/biddescreqgrp/BidDescReqGrp.go b/fix50sp2/biddescreqgrp/BidDescReqGrp.go index 4463dfc2b..d26485b3f 100644 --- a/fix50sp2/biddescreqgrp/BidDescReqGrp.go +++ b/fix50sp2/biddescreqgrp/BidDescReqGrp.go @@ -1,5 +1,6 @@ package biddescreqgrp +//New returns an initialized BidDescReqGrp instance func New() *BidDescReqGrp { var m BidDescReqGrp return &m @@ -31,6 +32,12 @@ type NoBidDescriptors struct { ValueOfFutures *float64 `fix:"408"` } +//NewNoBidDescriptors returns an initialized NoBidDescriptors instance +func NewNoBidDescriptors() *NoBidDescriptors { + var m NoBidDescriptors + return &m +} + func (m *NoBidDescriptors) SetBidDescriptorType(v int) { m.BidDescriptorType = &v } func (m *NoBidDescriptors) SetBidDescriptor(v string) { m.BidDescriptor = &v } func (m *NoBidDescriptors) SetSideValueInd(v int) { m.SideValueInd = &v } diff --git a/fix50sp2/clrinstgrp/ClrInstGrp.go b/fix50sp2/clrinstgrp/ClrInstGrp.go index 3a005673a..c72b2e318 100644 --- a/fix50sp2/clrinstgrp/ClrInstGrp.go +++ b/fix50sp2/clrinstgrp/ClrInstGrp.go @@ -1,5 +1,6 @@ package clrinstgrp +//New returns an initialized ClrInstGrp instance func New() *ClrInstGrp { var m ClrInstGrp return &m @@ -11,6 +12,12 @@ type NoClearingInstructions struct { ClearingInstruction *int `fix:"577"` } +//NewNoClearingInstructions returns an initialized NoClearingInstructions instance +func NewNoClearingInstructions() *NoClearingInstructions { + var m NoClearingInstructions + return &m +} + func (m *NoClearingInstructions) SetClearingInstruction(v int) { m.ClearingInstruction = &v } //ClrInstGrp is a fix50sp2 Component diff --git a/fix50sp2/collinqqualgrp/CollInqQualGrp.go b/fix50sp2/collinqqualgrp/CollInqQualGrp.go index 32b9c6d3a..24a6d4a65 100644 --- a/fix50sp2/collinqqualgrp/CollInqQualGrp.go +++ b/fix50sp2/collinqqualgrp/CollInqQualGrp.go @@ -1,5 +1,6 @@ package collinqqualgrp +//New returns an initialized CollInqQualGrp instance func New() *CollInqQualGrp { var m CollInqQualGrp return &m @@ -11,6 +12,12 @@ type NoCollInquiryQualifier struct { CollInquiryQualifier *int `fix:"896"` } +//NewNoCollInquiryQualifier returns an initialized NoCollInquiryQualifier instance +func NewNoCollInquiryQualifier() *NoCollInquiryQualifier { + var m NoCollInquiryQualifier + return &m +} + func (m *NoCollInquiryQualifier) SetCollInquiryQualifier(v int) { m.CollInquiryQualifier = &v } //CollInqQualGrp is a fix50sp2 Component diff --git a/fix50sp2/commissiondata/CommissionData.go b/fix50sp2/commissiondata/CommissionData.go index 8aad5408e..e26f884fe 100644 --- a/fix50sp2/commissiondata/CommissionData.go +++ b/fix50sp2/commissiondata/CommissionData.go @@ -1,5 +1,6 @@ package commissiondata +//New returns an initialized CommissionData instance func New() *CommissionData { var m CommissionData return &m diff --git a/fix50sp2/compidreqgrp/CompIDReqGrp.go b/fix50sp2/compidreqgrp/CompIDReqGrp.go index 05c77406e..ce6d7c6d2 100644 --- a/fix50sp2/compidreqgrp/CompIDReqGrp.go +++ b/fix50sp2/compidreqgrp/CompIDReqGrp.go @@ -1,5 +1,6 @@ package compidreqgrp +//New returns an initialized CompIDReqGrp instance func New() *CompIDReqGrp { var m CompIDReqGrp return &m @@ -17,6 +18,12 @@ type NoCompIDs struct { DeskID *string `fix:"284"` } +//NewNoCompIDs returns an initialized NoCompIDs instance +func NewNoCompIDs() *NoCompIDs { + var m NoCompIDs + return &m +} + func (m *NoCompIDs) SetRefCompID(v string) { m.RefCompID = &v } func (m *NoCompIDs) SetRefSubID(v string) { m.RefSubID = &v } func (m *NoCompIDs) SetLocationID(v string) { m.LocationID = &v } diff --git a/fix50sp2/compidstatgrp/CompIDStatGrp.go b/fix50sp2/compidstatgrp/CompIDStatGrp.go index d92417a90..3306a2451 100644 --- a/fix50sp2/compidstatgrp/CompIDStatGrp.go +++ b/fix50sp2/compidstatgrp/CompIDStatGrp.go @@ -1,5 +1,6 @@ package compidstatgrp +//New returns an initialized CompIDStatGrp instance func New(nocompids []NoCompIDs) *CompIDStatGrp { var m CompIDStatGrp m.SetNoCompIDs(nocompids) @@ -22,6 +23,14 @@ type NoCompIDs struct { StatusText *string `fix:"929"` } +//NewNoCompIDs returns an initialized NoCompIDs instance +func NewNoCompIDs(refcompid string, statusvalue int) *NoCompIDs { + var m NoCompIDs + m.SetRefCompID(refcompid) + m.SetStatusValue(statusvalue) + return &m +} + func (m *NoCompIDs) SetRefCompID(v string) { m.RefCompID = v } func (m *NoCompIDs) SetRefSubID(v string) { m.RefSubID = &v } func (m *NoCompIDs) SetLocationID(v string) { m.LocationID = &v } diff --git a/fix50sp2/complexeventdates/ComplexEventDates.go b/fix50sp2/complexeventdates/ComplexEventDates.go index 3d3bdd1d9..04b5951e1 100644 --- a/fix50sp2/complexeventdates/ComplexEventDates.go +++ b/fix50sp2/complexeventdates/ComplexEventDates.go @@ -5,6 +5,7 @@ import ( "time" ) +//New returns an initialized ComplexEventDates instance func New() *ComplexEventDates { var m ComplexEventDates return &m @@ -20,6 +21,12 @@ type NoComplexEventDates struct { ComplexEventTimes *complexeventtimes.ComplexEventTimes } +//NewNoComplexEventDates returns an initialized NoComplexEventDates instance +func NewNoComplexEventDates() *NoComplexEventDates { + var m NoComplexEventDates + return &m +} + func (m *NoComplexEventDates) SetComplexEventStartDate(v time.Time) { m.ComplexEventStartDate = &v } func (m *NoComplexEventDates) SetComplexEventEndDate(v time.Time) { m.ComplexEventEndDate = &v } func (m *NoComplexEventDates) SetComplexEventTimes(v complexeventtimes.ComplexEventTimes) { diff --git a/fix50sp2/complexevents/ComplexEvents.go b/fix50sp2/complexevents/ComplexEvents.go index d77969a8f..625a24e1c 100644 --- a/fix50sp2/complexevents/ComplexEvents.go +++ b/fix50sp2/complexevents/ComplexEvents.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/complexeventdates" ) +//New returns an initialized ComplexEvents instance func New() *ComplexEvents { var m ComplexEvents return &m @@ -29,6 +30,12 @@ type NoComplexEvents struct { ComplexEventDates *complexeventdates.ComplexEventDates } +//NewNoComplexEvents returns an initialized NoComplexEvents instance +func NewNoComplexEvents() *NoComplexEvents { + var m NoComplexEvents + return &m +} + func (m *NoComplexEvents) SetComplexEventType(v int) { m.ComplexEventType = &v } func (m *NoComplexEvents) SetComplexOptPayoutAmount(v float64) { m.ComplexOptPayoutAmount = &v } func (m *NoComplexEvents) SetComplexEventPrice(v float64) { m.ComplexEventPrice = &v } diff --git a/fix50sp2/complexeventtimes/ComplexEventTimes.go b/fix50sp2/complexeventtimes/ComplexEventTimes.go index deab14614..06343e815 100644 --- a/fix50sp2/complexeventtimes/ComplexEventTimes.go +++ b/fix50sp2/complexeventtimes/ComplexEventTimes.go @@ -1,5 +1,6 @@ package complexeventtimes +//New returns an initialized ComplexEventTimes instance func New() *ComplexEventTimes { var m ComplexEventTimes return &m @@ -13,6 +14,12 @@ type NoComplexEventTimes struct { ComplexEventEndTime *string `fix:"1496"` } +//NewNoComplexEventTimes returns an initialized NoComplexEventTimes instance +func NewNoComplexEventTimes() *NoComplexEventTimes { + var m NoComplexEventTimes + return &m +} + func (m *NoComplexEventTimes) SetComplexEventStartTime(v string) { m.ComplexEventStartTime = &v } func (m *NoComplexEventTimes) SetComplexEventEndTime(v string) { m.ComplexEventEndTime = &v } diff --git a/fix50sp2/contamtgrp/ContAmtGrp.go b/fix50sp2/contamtgrp/ContAmtGrp.go index a5c39d2d2..9ad815f8a 100644 --- a/fix50sp2/contamtgrp/ContAmtGrp.go +++ b/fix50sp2/contamtgrp/ContAmtGrp.go @@ -1,5 +1,6 @@ package contamtgrp +//New returns an initialized ContAmtGrp instance func New() *ContAmtGrp { var m ContAmtGrp return &m @@ -15,6 +16,12 @@ type NoContAmts struct { ContAmtCurr *string `fix:"521"` } +//NewNoContAmts returns an initialized NoContAmts instance +func NewNoContAmts() *NoContAmts { + var m NoContAmts + return &m +} + func (m *NoContAmts) SetContAmtType(v int) { m.ContAmtType = &v } func (m *NoContAmts) SetContAmtValue(v float64) { m.ContAmtValue = &v } func (m *NoContAmts) SetContAmtCurr(v string) { m.ContAmtCurr = &v } diff --git a/fix50sp2/contextparties/ContextParties.go b/fix50sp2/contextparties/ContextParties.go index ba346b102..28cad4a0e 100644 --- a/fix50sp2/contextparties/ContextParties.go +++ b/fix50sp2/contextparties/ContextParties.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/contextptyssubgrp" ) +//New returns an initialized ContextParties instance func New() *ContextParties { var m ContextParties return &m @@ -21,6 +22,12 @@ type NoContextPartyIDs struct { ContextPtysSubGrp *contextptyssubgrp.ContextPtysSubGrp } +//NewNoContextPartyIDs returns an initialized NoContextPartyIDs instance +func NewNoContextPartyIDs() *NoContextPartyIDs { + var m NoContextPartyIDs + return &m +} + func (m *NoContextPartyIDs) SetContextPartyID(v string) { m.ContextPartyID = &v } func (m *NoContextPartyIDs) SetContextPartyIDSource(v string) { m.ContextPartyIDSource = &v } func (m *NoContextPartyIDs) SetContextPartyRole(v int) { m.ContextPartyRole = &v } diff --git a/fix50sp2/contextptyssubgrp/ContextPtysSubGrp.go b/fix50sp2/contextptyssubgrp/ContextPtysSubGrp.go index 854742b38..611c9d6c8 100644 --- a/fix50sp2/contextptyssubgrp/ContextPtysSubGrp.go +++ b/fix50sp2/contextptyssubgrp/ContextPtysSubGrp.go @@ -1,5 +1,6 @@ package contextptyssubgrp +//New returns an initialized ContextPtysSubGrp instance func New() *ContextPtysSubGrp { var m ContextPtysSubGrp return &m @@ -13,6 +14,12 @@ type NoContextPartySubIDs struct { ContextPartySubIDType *int `fix:"1528"` } +//NewNoContextPartySubIDs returns an initialized NoContextPartySubIDs instance +func NewNoContextPartySubIDs() *NoContextPartySubIDs { + var m NoContextPartySubIDs + return &m +} + func (m *NoContextPartySubIDs) SetContextPartySubID(v string) { m.ContextPartySubID = &v } func (m *NoContextPartySubIDs) SetContextPartySubIDType(v int) { m.ContextPartySubIDType = &v } diff --git a/fix50sp2/contragrp/ContraGrp.go b/fix50sp2/contragrp/ContraGrp.go index ec3e7058c..4263292ed 100644 --- a/fix50sp2/contragrp/ContraGrp.go +++ b/fix50sp2/contragrp/ContraGrp.go @@ -4,6 +4,7 @@ import ( "time" ) +//New returns an initialized ContraGrp instance func New() *ContraGrp { var m ContraGrp return &m @@ -23,6 +24,12 @@ type NoContraBrokers struct { ContraLegRefID *string `fix:"655"` } +//NewNoContraBrokers returns an initialized NoContraBrokers instance +func NewNoContraBrokers() *NoContraBrokers { + var m NoContraBrokers + return &m +} + func (m *NoContraBrokers) SetContraBroker(v string) { m.ContraBroker = &v } func (m *NoContraBrokers) SetContraTrader(v string) { m.ContraTrader = &v } func (m *NoContraBrokers) SetContraTradeQty(v float64) { m.ContraTradeQty = &v } diff --git a/fix50sp2/cpctyconfgrp/CpctyConfGrp.go b/fix50sp2/cpctyconfgrp/CpctyConfGrp.go index 5698302e8..2155f6d41 100644 --- a/fix50sp2/cpctyconfgrp/CpctyConfGrp.go +++ b/fix50sp2/cpctyconfgrp/CpctyConfGrp.go @@ -1,5 +1,6 @@ package cpctyconfgrp +//New returns an initialized CpctyConfGrp instance func New(nocapacities []NoCapacities) *CpctyConfGrp { var m CpctyConfGrp m.SetNoCapacities(nocapacities) @@ -16,6 +17,14 @@ type NoCapacities struct { OrderCapacityQty float64 `fix:"863"` } +//NewNoCapacities returns an initialized NoCapacities instance +func NewNoCapacities(ordercapacity string, ordercapacityqty float64) *NoCapacities { + var m NoCapacities + m.SetOrderCapacity(ordercapacity) + m.SetOrderCapacityQty(ordercapacityqty) + return &m +} + func (m *NoCapacities) SetOrderCapacity(v string) { m.OrderCapacity = v } func (m *NoCapacities) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } func (m *NoCapacities) SetOrderCapacityQty(v float64) { m.OrderCapacityQty = v } diff --git a/fix50sp2/derivativeeventsgrp/DerivativeEventsGrp.go b/fix50sp2/derivativeeventsgrp/DerivativeEventsGrp.go index c9cba1a6b..81774608f 100644 --- a/fix50sp2/derivativeeventsgrp/DerivativeEventsGrp.go +++ b/fix50sp2/derivativeeventsgrp/DerivativeEventsGrp.go @@ -4,6 +4,7 @@ import ( "time" ) +//New returns an initialized DerivativeEventsGrp instance func New() *DerivativeEventsGrp { var m DerivativeEventsGrp return &m @@ -23,6 +24,12 @@ type NoDerivativeEvents struct { DerivativeEventText *string `fix:"1291"` } +//NewNoDerivativeEvents returns an initialized NoDerivativeEvents instance +func NewNoDerivativeEvents() *NoDerivativeEvents { + var m NoDerivativeEvents + return &m +} + func (m *NoDerivativeEvents) SetDerivativeEventType(v int) { m.DerivativeEventType = &v } func (m *NoDerivativeEvents) SetDerivativeEventDate(v string) { m.DerivativeEventDate = &v } func (m *NoDerivativeEvents) SetDerivativeEventTime(v time.Time) { m.DerivativeEventTime = &v } diff --git a/fix50sp2/derivativeinstrument/DerivativeInstrument.go b/fix50sp2/derivativeinstrument/DerivativeInstrument.go index efdd93a41..fa913572f 100644 --- a/fix50sp2/derivativeinstrument/DerivativeInstrument.go +++ b/fix50sp2/derivativeinstrument/DerivativeInstrument.go @@ -7,6 +7,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/derivativesecurityxml" ) +//New returns an initialized DerivativeInstrument instance func New() *DerivativeInstrument { var m DerivativeInstrument return &m diff --git a/fix50sp2/derivativeinstrumentattribute/DerivativeInstrumentAttribute.go b/fix50sp2/derivativeinstrumentattribute/DerivativeInstrumentAttribute.go index b9c64c050..29898f757 100644 --- a/fix50sp2/derivativeinstrumentattribute/DerivativeInstrumentAttribute.go +++ b/fix50sp2/derivativeinstrumentattribute/DerivativeInstrumentAttribute.go @@ -1,5 +1,6 @@ package derivativeinstrumentattribute +//New returns an initialized DerivativeInstrumentAttribute instance func New() *DerivativeInstrumentAttribute { var m DerivativeInstrumentAttribute return &m @@ -13,6 +14,12 @@ type NoDerivativeInstrAttrib struct { DerivativeInstrAttribValue *string `fix:"1314"` } +//NewNoDerivativeInstrAttrib returns an initialized NoDerivativeInstrAttrib instance +func NewNoDerivativeInstrAttrib() *NoDerivativeInstrAttrib { + var m NoDerivativeInstrAttrib + return &m +} + func (m *NoDerivativeInstrAttrib) SetDerivativeInstrAttribType(v int) { m.DerivativeInstrAttribType = &v } diff --git a/fix50sp2/derivativeinstrumentparties/DerivativeInstrumentParties.go b/fix50sp2/derivativeinstrumentparties/DerivativeInstrumentParties.go index 283097c42..474997d09 100644 --- a/fix50sp2/derivativeinstrumentparties/DerivativeInstrumentParties.go +++ b/fix50sp2/derivativeinstrumentparties/DerivativeInstrumentParties.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/derivativeinstrumentpartysubidsgrp" ) +//New returns an initialized DerivativeInstrumentParties instance func New() *DerivativeInstrumentParties { var m DerivativeInstrumentParties return &m @@ -21,6 +22,12 @@ type NoDerivativeInstrumentParties struct { DerivativeInstrumentPartySubIDsGrp *derivativeinstrumentpartysubidsgrp.DerivativeInstrumentPartySubIDsGrp } +//NewNoDerivativeInstrumentParties returns an initialized NoDerivativeInstrumentParties instance +func NewNoDerivativeInstrumentParties() *NoDerivativeInstrumentParties { + var m NoDerivativeInstrumentParties + return &m +} + func (m *NoDerivativeInstrumentParties) SetDerivativeInstrumentPartyID(v string) { m.DerivativeInstrumentPartyID = &v } diff --git a/fix50sp2/derivativeinstrumentpartysubidsgrp/DerivativeInstrumentPartySubIDsGrp.go b/fix50sp2/derivativeinstrumentpartysubidsgrp/DerivativeInstrumentPartySubIDsGrp.go index a422ec5b3..a0563748b 100644 --- a/fix50sp2/derivativeinstrumentpartysubidsgrp/DerivativeInstrumentPartySubIDsGrp.go +++ b/fix50sp2/derivativeinstrumentpartysubidsgrp/DerivativeInstrumentPartySubIDsGrp.go @@ -1,5 +1,6 @@ package derivativeinstrumentpartysubidsgrp +//New returns an initialized DerivativeInstrumentPartySubIDsGrp instance func New() *DerivativeInstrumentPartySubIDsGrp { var m DerivativeInstrumentPartySubIDsGrp return &m @@ -13,6 +14,12 @@ type NoDerivativeInstrumentPartySubIDs struct { DerivativeInstrumentPartySubIDType *int `fix:"1298"` } +//NewNoDerivativeInstrumentPartySubIDs returns an initialized NoDerivativeInstrumentPartySubIDs instance +func NewNoDerivativeInstrumentPartySubIDs() *NoDerivativeInstrumentPartySubIDs { + var m NoDerivativeInstrumentPartySubIDs + return &m +} + func (m *NoDerivativeInstrumentPartySubIDs) SetDerivativeInstrumentPartySubID(v string) { m.DerivativeInstrumentPartySubID = &v } diff --git a/fix50sp2/derivativesecurityaltidgrp/DerivativeSecurityAltIDGrp.go b/fix50sp2/derivativesecurityaltidgrp/DerivativeSecurityAltIDGrp.go index 21cbaf468..88fbb26a5 100644 --- a/fix50sp2/derivativesecurityaltidgrp/DerivativeSecurityAltIDGrp.go +++ b/fix50sp2/derivativesecurityaltidgrp/DerivativeSecurityAltIDGrp.go @@ -1,5 +1,6 @@ package derivativesecurityaltidgrp +//New returns an initialized DerivativeSecurityAltIDGrp instance func New() *DerivativeSecurityAltIDGrp { var m DerivativeSecurityAltIDGrp return &m @@ -13,6 +14,12 @@ type NoDerivativeSecurityAltID struct { DerivativeSecurityAltIDSource *string `fix:"1220"` } +//NewNoDerivativeSecurityAltID returns an initialized NoDerivativeSecurityAltID instance +func NewNoDerivativeSecurityAltID() *NoDerivativeSecurityAltID { + var m NoDerivativeSecurityAltID + return &m +} + func (m *NoDerivativeSecurityAltID) SetDerivativeSecurityAltID(v string) { m.DerivativeSecurityAltID = &v } diff --git a/fix50sp2/derivativesecuritydefinition/DerivativeSecurityDefinition.go b/fix50sp2/derivativesecuritydefinition/DerivativeSecurityDefinition.go index bec699fb6..c851bb3f0 100644 --- a/fix50sp2/derivativesecuritydefinition/DerivativeSecurityDefinition.go +++ b/fix50sp2/derivativesecuritydefinition/DerivativeSecurityDefinition.go @@ -6,6 +6,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/marketsegmentgrp" ) +//New returns an initialized DerivativeSecurityDefinition instance func New() *DerivativeSecurityDefinition { var m DerivativeSecurityDefinition return &m diff --git a/fix50sp2/derivativesecurityxml/DerivativeSecurityXML.go b/fix50sp2/derivativesecurityxml/DerivativeSecurityXML.go index 76ac38568..4fe289ed2 100644 --- a/fix50sp2/derivativesecurityxml/DerivativeSecurityXML.go +++ b/fix50sp2/derivativesecurityxml/DerivativeSecurityXML.go @@ -1,5 +1,6 @@ package derivativesecurityxml +//New returns an initialized DerivativeSecurityXML instance func New() *DerivativeSecurityXML { var m DerivativeSecurityXML return &m diff --git a/fix50sp2/discretioninstructions/DiscretionInstructions.go b/fix50sp2/discretioninstructions/DiscretionInstructions.go index ab20c420c..223b452e3 100644 --- a/fix50sp2/discretioninstructions/DiscretionInstructions.go +++ b/fix50sp2/discretioninstructions/DiscretionInstructions.go @@ -1,5 +1,6 @@ package discretioninstructions +//New returns an initialized DiscretionInstructions instance func New() *DiscretionInstructions { var m DiscretionInstructions return &m diff --git a/fix50sp2/displayinstruction/DisplayInstruction.go b/fix50sp2/displayinstruction/DisplayInstruction.go index 6fcb345f6..107c8a80e 100644 --- a/fix50sp2/displayinstruction/DisplayInstruction.go +++ b/fix50sp2/displayinstruction/DisplayInstruction.go @@ -1,5 +1,6 @@ package displayinstruction +//New returns an initialized DisplayInstruction instance func New() *DisplayInstruction { var m DisplayInstruction return &m diff --git a/fix50sp2/dlvyinstgrp/DlvyInstGrp.go b/fix50sp2/dlvyinstgrp/DlvyInstGrp.go index 515ea55f7..53e16051f 100644 --- a/fix50sp2/dlvyinstgrp/DlvyInstGrp.go +++ b/fix50sp2/dlvyinstgrp/DlvyInstGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/settlparties" ) +//New returns an initialized DlvyInstGrp instance func New() *DlvyInstGrp { var m DlvyInstGrp return &m @@ -19,6 +20,12 @@ type NoDlvyInst struct { SettlParties *settlparties.SettlParties } +//NewNoDlvyInst returns an initialized NoDlvyInst instance +func NewNoDlvyInst() *NoDlvyInst { + var m NoDlvyInst + return &m +} + func (m *NoDlvyInst) SetSettlInstSource(v string) { m.SettlInstSource = &v } func (m *NoDlvyInst) SetDlvyInstType(v string) { m.DlvyInstType = &v } func (m *NoDlvyInst) SetSettlParties(v settlparties.SettlParties) { m.SettlParties = &v } diff --git a/fix50sp2/evntgrp/EvntGrp.go b/fix50sp2/evntgrp/EvntGrp.go index fcbe2cfa8..756ce1260 100644 --- a/fix50sp2/evntgrp/EvntGrp.go +++ b/fix50sp2/evntgrp/EvntGrp.go @@ -4,6 +4,7 @@ import ( "time" ) +//New returns an initialized EvntGrp instance func New() *EvntGrp { var m EvntGrp return &m @@ -23,6 +24,12 @@ type NoEvents struct { EventTime *time.Time `fix:"1145"` } +//NewNoEvents returns an initialized NoEvents instance +func NewNoEvents() *NoEvents { + var m NoEvents + return &m +} + func (m *NoEvents) SetEventType(v int) { m.EventType = &v } func (m *NoEvents) SetEventDate(v string) { m.EventDate = &v } func (m *NoEvents) SetEventPx(v float64) { m.EventPx = &v } diff --git a/fix50sp2/execallocgrp/ExecAllocGrp.go b/fix50sp2/execallocgrp/ExecAllocGrp.go index 6ac621679..d1c870854 100644 --- a/fix50sp2/execallocgrp/ExecAllocGrp.go +++ b/fix50sp2/execallocgrp/ExecAllocGrp.go @@ -1,5 +1,6 @@ package execallocgrp +//New returns an initialized ExecAllocGrp instance func New() *ExecAllocGrp { var m ExecAllocGrp return &m @@ -25,6 +26,12 @@ type NoExecs struct { FirmTradeID *string `fix:"1041"` } +//NewNoExecs returns an initialized NoExecs instance +func NewNoExecs() *NoExecs { + var m NoExecs + return &m +} + func (m *NoExecs) SetLastQty(v float64) { m.LastQty = &v } func (m *NoExecs) SetExecID(v string) { m.ExecID = &v } func (m *NoExecs) SetSecondaryExecID(v string) { m.SecondaryExecID = &v } diff --git a/fix50sp2/execcollgrp/ExecCollGrp.go b/fix50sp2/execcollgrp/ExecCollGrp.go index f4f82d43a..137cf3bcb 100644 --- a/fix50sp2/execcollgrp/ExecCollGrp.go +++ b/fix50sp2/execcollgrp/ExecCollGrp.go @@ -1,5 +1,6 @@ package execcollgrp +//New returns an initialized ExecCollGrp instance func New() *ExecCollGrp { var m ExecCollGrp return &m @@ -11,6 +12,12 @@ type NoExecs struct { ExecID *string `fix:"17"` } +//NewNoExecs returns an initialized NoExecs instance +func NewNoExecs() *NoExecs { + var m NoExecs + return &m +} + func (m *NoExecs) SetExecID(v string) { m.ExecID = &v } //ExecCollGrp is a fix50sp2 Component diff --git a/fix50sp2/execinstrules/ExecInstRules.go b/fix50sp2/execinstrules/ExecInstRules.go index 7694ac19e..474cc32b4 100644 --- a/fix50sp2/execinstrules/ExecInstRules.go +++ b/fix50sp2/execinstrules/ExecInstRules.go @@ -1,5 +1,6 @@ package execinstrules +//New returns an initialized ExecInstRules instance func New() *ExecInstRules { var m ExecInstRules return &m @@ -11,6 +12,12 @@ type NoExecInstRules struct { ExecInstValue *string `fix:"1308"` } +//NewNoExecInstRules returns an initialized NoExecInstRules instance +func NewNoExecInstRules() *NoExecInstRules { + var m NoExecInstRules + return &m +} + func (m *NoExecInstRules) SetExecInstValue(v string) { m.ExecInstValue = &v } //ExecInstRules is a fix50sp2 Component diff --git a/fix50sp2/expirationqty/ExpirationQty.go b/fix50sp2/expirationqty/ExpirationQty.go index e2f6d3989..1bee187d3 100644 --- a/fix50sp2/expirationqty/ExpirationQty.go +++ b/fix50sp2/expirationqty/ExpirationQty.go @@ -1,5 +1,6 @@ package expirationqty +//New returns an initialized ExpirationQty instance func New() *ExpirationQty { var m ExpirationQty return &m @@ -13,6 +14,12 @@ type NoExpiration struct { ExpQty *float64 `fix:"983"` } +//NewNoExpiration returns an initialized NoExpiration instance +func NewNoExpiration() *NoExpiration { + var m NoExpiration + return &m +} + func (m *NoExpiration) SetExpirationQtyType(v int) { m.ExpirationQtyType = &v } func (m *NoExpiration) SetExpQty(v float64) { m.ExpQty = &v } diff --git a/fix50sp2/fillsgrp/FillsGrp.go b/fix50sp2/fillsgrp/FillsGrp.go index fb714edc9..5c9c5a8b1 100644 --- a/fix50sp2/fillsgrp/FillsGrp.go +++ b/fix50sp2/fillsgrp/FillsGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/nestedparties4" ) +//New returns an initialized FillsGrp instance func New() *FillsGrp { var m FillsGrp return &m @@ -23,6 +24,12 @@ type NoFills struct { FillLiquidityInd *int `fix:"1443"` } +//NewNoFills returns an initialized NoFills instance +func NewNoFills() *NoFills { + var m NoFills + return &m +} + func (m *NoFills) SetFillExecID(v string) { m.FillExecID = &v } func (m *NoFills) SetFillPx(v float64) { m.FillPx = &v } func (m *NoFills) SetFillQty(v float64) { m.FillQty = &v } diff --git a/fix50sp2/financingdetails/FinancingDetails.go b/fix50sp2/financingdetails/FinancingDetails.go index 127a39d58..f9bb4b8ab 100644 --- a/fix50sp2/financingdetails/FinancingDetails.go +++ b/fix50sp2/financingdetails/FinancingDetails.go @@ -1,5 +1,6 @@ package financingdetails +//New returns an initialized FinancingDetails instance func New() *FinancingDetails { var m FinancingDetails return &m diff --git a/fix50sp2/hopgrp/HopGrp.go b/fix50sp2/hopgrp/HopGrp.go index 66d11644d..26fdf98fa 100644 --- a/fix50sp2/hopgrp/HopGrp.go +++ b/fix50sp2/hopgrp/HopGrp.go @@ -4,6 +4,7 @@ import ( "time" ) +//New returns an initialized HopGrp instance func New() *HopGrp { var m HopGrp return &m @@ -19,6 +20,12 @@ type NoHops struct { HopRefID *int `fix:"630"` } +//NewNoHops returns an initialized NoHops instance +func NewNoHops() *NoHops { + var m NoHops + return &m +} + func (m *NoHops) SetHopCompID(v string) { m.HopCompID = &v } func (m *NoHops) SetHopSendingTime(v time.Time) { m.HopSendingTime = &v } func (m *NoHops) SetHopRefID(v int) { m.HopRefID = &v } diff --git a/fix50sp2/instrmtgrp/InstrmtGrp.go b/fix50sp2/instrmtgrp/InstrmtGrp.go index dc9d057b9..a392c5ae8 100644 --- a/fix50sp2/instrmtgrp/InstrmtGrp.go +++ b/fix50sp2/instrmtgrp/InstrmtGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/instrument" ) +//New returns an initialized InstrmtGrp instance func New() *InstrmtGrp { var m InstrmtGrp return &m @@ -15,6 +16,12 @@ type NoRelatedSym struct { Instrument *instrument.Instrument } +//NewNoRelatedSym returns an initialized NoRelatedSym instance +func NewNoRelatedSym() *NoRelatedSym { + var m NoRelatedSym + return &m +} + func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = &v } //InstrmtGrp is a fix50sp2 Component diff --git a/fix50sp2/instrmtlegexecgrp/InstrmtLegExecGrp.go b/fix50sp2/instrmtlegexecgrp/InstrmtLegExecGrp.go index 64ca765d6..de848d7a3 100644 --- a/fix50sp2/instrmtlegexecgrp/InstrmtLegExecGrp.go +++ b/fix50sp2/instrmtlegexecgrp/InstrmtLegExecGrp.go @@ -7,6 +7,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/nestedparties3" ) +//New returns an initialized InstrmtLegExecGrp instance func New() *InstrmtLegExecGrp { var m InstrmtLegExecGrp return &m @@ -62,6 +63,12 @@ type NoLegs struct { LegLastQty *float64 `fix:"1418"` } +//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) SetLegQty(v float64) { m.LegQty = &v } func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } diff --git a/fix50sp2/instrmtleggrp/InstrmtLegGrp.go b/fix50sp2/instrmtleggrp/InstrmtLegGrp.go index 6b1ef52e7..e9309e026 100644 --- a/fix50sp2/instrmtleggrp/InstrmtLegGrp.go +++ b/fix50sp2/instrmtleggrp/InstrmtLegGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/instrumentleg" ) +//New returns an initialized InstrmtLegGrp instance func New() *InstrmtLegGrp { var m InstrmtLegGrp return &m @@ -15,6 +16,12 @@ type NoLegs struct { InstrumentLeg *instrumentleg.InstrumentLeg } +//NewNoLegs returns an initialized NoLegs instance +func NewNoLegs() *NoLegs { + var m NoLegs + return &m +} + func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } //InstrmtLegGrp is a fix50sp2 Component diff --git a/fix50sp2/instrmtlegioigrp/InstrmtLegIOIGrp.go b/fix50sp2/instrmtlegioigrp/InstrmtLegIOIGrp.go index 078c57836..306380654 100644 --- a/fix50sp2/instrmtlegioigrp/InstrmtLegIOIGrp.go +++ b/fix50sp2/instrmtlegioigrp/InstrmtLegIOIGrp.go @@ -5,6 +5,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/legstipulations" ) +//New returns an initialized InstrmtLegIOIGrp instance func New() *InstrmtLegIOIGrp { var m InstrmtLegIOIGrp return &m @@ -20,6 +21,12 @@ type NoLegs struct { LegStipulations *legstipulations.LegStipulations } +//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) SetLegIOIQty(v string) { m.LegIOIQty = &v } func (m *NoLegs) SetLegStipulations(v legstipulations.LegStipulations) { m.LegStipulations = &v } diff --git a/fix50sp2/instrmtlegseclistgrp/InstrmtLegSecListGrp.go b/fix50sp2/instrmtlegseclistgrp/InstrmtLegSecListGrp.go index fa0829625..2e3881cbb 100644 --- a/fix50sp2/instrmtlegseclistgrp/InstrmtLegSecListGrp.go +++ b/fix50sp2/instrmtlegseclistgrp/InstrmtLegSecListGrp.go @@ -6,6 +6,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/legstipulations" ) +//New returns an initialized InstrmtLegSecListGrp instance func New() *InstrmtLegSecListGrp { var m InstrmtLegSecListGrp return &m @@ -25,6 +26,12 @@ type NoLegs struct { 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 } diff --git a/fix50sp2/instrmtmdreqgrp/InstrmtMDReqGrp.go b/fix50sp2/instrmtmdreqgrp/InstrmtMDReqGrp.go index b0da659e9..b20b3288c 100644 --- a/fix50sp2/instrmtmdreqgrp/InstrmtMDReqGrp.go +++ b/fix50sp2/instrmtmdreqgrp/InstrmtMDReqGrp.go @@ -6,6 +6,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/undinstrmtgrp" ) +//New returns an initialized InstrmtMDReqGrp instance func New(norelatedsym []NoRelatedSym) *InstrmtMDReqGrp { var m InstrmtMDReqGrp m.SetNoRelatedSym(norelatedsym) @@ -34,6 +35,13 @@ type NoRelatedSym struct { MDStreamID *string `fix:"1500"` } +//NewNoRelatedSym returns an initialized NoRelatedSym instance +func NewNoRelatedSym(instrument instrument.Instrument) *NoRelatedSym { + var m NoRelatedSym + m.SetInstrument(instrument) + return &m +} + func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = v } func (m *NoRelatedSym) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } func (m *NoRelatedSym) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } diff --git a/fix50sp2/instrmtstrkpxgrp/InstrmtStrkPxGrp.go b/fix50sp2/instrmtstrkpxgrp/InstrmtStrkPxGrp.go index 4a725f541..c792ea8bc 100644 --- a/fix50sp2/instrmtstrkpxgrp/InstrmtStrkPxGrp.go +++ b/fix50sp2/instrmtstrkpxgrp/InstrmtStrkPxGrp.go @@ -5,6 +5,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/undinstrmtgrp" ) +//New returns an initialized InstrmtStrkPxGrp instance func New(nostrikes []NoStrikes) *InstrmtStrkPxGrp { var m InstrmtStrkPxGrp m.SetNoStrikes(nostrikes) @@ -37,6 +38,13 @@ type NoStrikes struct { EncodedText *string `fix:"355"` } +//NewNoStrikes returns an initialized NoStrikes instance +func NewNoStrikes(instrument instrument.Instrument) *NoStrikes { + var m NoStrikes + m.SetInstrument(instrument) + return &m +} + func (m *NoStrikes) SetInstrument(v instrument.Instrument) { m.Instrument = v } func (m *NoStrikes) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } func (m *NoStrikes) SetPrevClosePx(v float64) { m.PrevClosePx = &v } diff --git a/fix50sp2/instrument/Instrument.go b/fix50sp2/instrument/Instrument.go index 13fd06a66..eab36ca8c 100644 --- a/fix50sp2/instrument/Instrument.go +++ b/fix50sp2/instrument/Instrument.go @@ -8,6 +8,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/securityxml" ) +//New returns an initialized Instrument instance func New() *Instrument { var m Instrument return &m diff --git a/fix50sp2/instrumentextension/InstrumentExtension.go b/fix50sp2/instrumentextension/InstrumentExtension.go index 20fc3cb6e..5bd252288 100644 --- a/fix50sp2/instrumentextension/InstrumentExtension.go +++ b/fix50sp2/instrumentextension/InstrumentExtension.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/attrbgrp" ) +//New returns an initialized InstrumentExtension instance func New() *InstrumentExtension { var m InstrumentExtension return &m diff --git a/fix50sp2/instrumentleg/InstrumentLeg.go b/fix50sp2/instrumentleg/InstrumentLeg.go index 7db16ffa9..0d943252f 100644 --- a/fix50sp2/instrumentleg/InstrumentLeg.go +++ b/fix50sp2/instrumentleg/InstrumentLeg.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/legsecaltidgrp" ) +//New returns an initialized InstrumentLeg instance func New() *InstrumentLeg { var m InstrumentLeg return &m diff --git a/fix50sp2/instrumentparties/InstrumentParties.go b/fix50sp2/instrumentparties/InstrumentParties.go index bf816c219..718fb0c3f 100644 --- a/fix50sp2/instrumentparties/InstrumentParties.go +++ b/fix50sp2/instrumentparties/InstrumentParties.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/instrumentptyssubgrp" ) +//New returns an initialized InstrumentParties instance func New() *InstrumentParties { var m InstrumentParties return &m @@ -21,6 +22,12 @@ type NoInstrumentParties struct { InstrumentPtysSubGrp *instrumentptyssubgrp.InstrumentPtysSubGrp } +//NewNoInstrumentParties returns an initialized NoInstrumentParties instance +func NewNoInstrumentParties() *NoInstrumentParties { + var m NoInstrumentParties + return &m +} + func (m *NoInstrumentParties) SetInstrumentPartyID(v string) { m.InstrumentPartyID = &v } func (m *NoInstrumentParties) SetInstrumentPartyIDSource(v string) { m.InstrumentPartyIDSource = &v } func (m *NoInstrumentParties) SetInstrumentPartyRole(v int) { m.InstrumentPartyRole = &v } diff --git a/fix50sp2/instrumentptyssubgrp/InstrumentPtysSubGrp.go b/fix50sp2/instrumentptyssubgrp/InstrumentPtysSubGrp.go index 1e09cc803..a290828e7 100644 --- a/fix50sp2/instrumentptyssubgrp/InstrumentPtysSubGrp.go +++ b/fix50sp2/instrumentptyssubgrp/InstrumentPtysSubGrp.go @@ -1,5 +1,6 @@ package instrumentptyssubgrp +//New returns an initialized InstrumentPtysSubGrp instance func New() *InstrumentPtysSubGrp { var m InstrumentPtysSubGrp return &m @@ -13,6 +14,12 @@ type NoInstrumentPartySubIDs struct { InstrumentPartySubIDType *int `fix:"1054"` } +//NewNoInstrumentPartySubIDs returns an initialized NoInstrumentPartySubIDs instance +func NewNoInstrumentPartySubIDs() *NoInstrumentPartySubIDs { + var m NoInstrumentPartySubIDs + return &m +} + func (m *NoInstrumentPartySubIDs) SetInstrumentPartySubID(v string) { m.InstrumentPartySubID = &v } func (m *NoInstrumentPartySubIDs) SetInstrumentPartySubIDType(v int) { m.InstrumentPartySubIDType = &v } diff --git a/fix50sp2/ioiqualgrp/IOIQualGrp.go b/fix50sp2/ioiqualgrp/IOIQualGrp.go index 51bdd7371..f6aceb287 100644 --- a/fix50sp2/ioiqualgrp/IOIQualGrp.go +++ b/fix50sp2/ioiqualgrp/IOIQualGrp.go @@ -1,5 +1,6 @@ package ioiqualgrp +//New returns an initialized IOIQualGrp instance func New() *IOIQualGrp { var m IOIQualGrp return &m @@ -11,6 +12,12 @@ type NoIOIQualifiers struct { IOIQualifier *string `fix:"104"` } +//NewNoIOIQualifiers returns an initialized NoIOIQualifiers instance +func NewNoIOIQualifiers() *NoIOIQualifiers { + var m NoIOIQualifiers + return &m +} + func (m *NoIOIQualifiers) SetIOIQualifier(v string) { m.IOIQualifier = &v } //IOIQualGrp is a fix50sp2 Component diff --git a/fix50sp2/legbenchmarkcurvedata/LegBenchmarkCurveData.go b/fix50sp2/legbenchmarkcurvedata/LegBenchmarkCurveData.go index da7830c1c..cf023fce2 100644 --- a/fix50sp2/legbenchmarkcurvedata/LegBenchmarkCurveData.go +++ b/fix50sp2/legbenchmarkcurvedata/LegBenchmarkCurveData.go @@ -1,5 +1,6 @@ package legbenchmarkcurvedata +//New returns an initialized LegBenchmarkCurveData instance func New() *LegBenchmarkCurveData { var m LegBenchmarkCurveData return &m diff --git a/fix50sp2/legordgrp/LegOrdGrp.go b/fix50sp2/legordgrp/LegOrdGrp.go index 6f85fa7f7..0529a70ed 100644 --- a/fix50sp2/legordgrp/LegOrdGrp.go +++ b/fix50sp2/legordgrp/LegOrdGrp.go @@ -7,6 +7,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/nestedparties" ) +//New returns an initialized LegOrdGrp instance func New(nolegs []NoLegs) *LegOrdGrp { var m LegOrdGrp m.SetNoLegs(nolegs) @@ -53,6 +54,12 @@ type NoLegs struct { LegSettlCurrency *string `fix:"675"` } +//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) SetLegQty(v float64) { m.LegQty = &v } func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } diff --git a/fix50sp2/legpreallocgrp/LegPreAllocGrp.go b/fix50sp2/legpreallocgrp/LegPreAllocGrp.go index 310d21d4f..e5cfb374a 100644 --- a/fix50sp2/legpreallocgrp/LegPreAllocGrp.go +++ b/fix50sp2/legpreallocgrp/LegPreAllocGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/nestedparties2" ) +//New returns an initialized LegPreAllocGrp instance func New() *LegPreAllocGrp { var m LegPreAllocGrp return &m @@ -25,6 +26,12 @@ type NoLegAllocs struct { NestedParties2 *nestedparties2.NestedParties2 } +//NewNoLegAllocs returns an initialized NoLegAllocs instance +func NewNoLegAllocs() *NoLegAllocs { + var m NoLegAllocs + return &m +} + func (m *NoLegAllocs) SetLegAllocAccount(v string) { m.LegAllocAccount = &v } func (m *NoLegAllocs) SetLegIndividualAllocID(v string) { m.LegIndividualAllocID = &v } func (m *NoLegAllocs) SetLegAllocQty(v float64) { m.LegAllocQty = &v } diff --git a/fix50sp2/legquotgrp/LegQuotGrp.go b/fix50sp2/legquotgrp/LegQuotGrp.go index b7078d3a4..8c31a23a7 100644 --- a/fix50sp2/legquotgrp/LegQuotGrp.go +++ b/fix50sp2/legquotgrp/LegQuotGrp.go @@ -7,6 +7,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/nestedparties" ) +//New returns an initialized LegQuotGrp instance func New() *LegQuotGrp { var m LegQuotGrp return &m @@ -46,6 +47,12 @@ type NoLegs struct { LegOfferForwardPoints *float64 `fix:"1068"` } +//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) SetLegQty(v float64) { m.LegQty = &v } func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } diff --git a/fix50sp2/legquotstatgrp/LegQuotStatGrp.go b/fix50sp2/legquotstatgrp/LegQuotStatGrp.go index fa137cfcc..b778f8849 100644 --- a/fix50sp2/legquotstatgrp/LegQuotStatGrp.go +++ b/fix50sp2/legquotstatgrp/LegQuotStatGrp.go @@ -6,6 +6,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/nestedparties" ) +//New returns an initialized LegQuotStatGrp instance func New() *LegQuotStatGrp { var m LegQuotStatGrp return &m @@ -31,6 +32,12 @@ type NoLegs struct { LegOrderQty *float64 `fix:"685"` } +//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) SetLegQty(v float64) { m.LegQty = &v } func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } diff --git a/fix50sp2/legsecaltidgrp/LegSecAltIDGrp.go b/fix50sp2/legsecaltidgrp/LegSecAltIDGrp.go index 73deb9ab8..d6f98448a 100644 --- a/fix50sp2/legsecaltidgrp/LegSecAltIDGrp.go +++ b/fix50sp2/legsecaltidgrp/LegSecAltIDGrp.go @@ -1,5 +1,6 @@ package legsecaltidgrp +//New returns an initialized LegSecAltIDGrp instance func New() *LegSecAltIDGrp { var m LegSecAltIDGrp return &m @@ -13,6 +14,12 @@ type NoLegSecurityAltID struct { LegSecurityAltIDSource *string `fix:"606"` } +//NewNoLegSecurityAltID returns an initialized NoLegSecurityAltID instance +func NewNoLegSecurityAltID() *NoLegSecurityAltID { + var m NoLegSecurityAltID + return &m +} + func (m *NoLegSecurityAltID) SetLegSecurityAltID(v string) { m.LegSecurityAltID = &v } func (m *NoLegSecurityAltID) SetLegSecurityAltIDSource(v string) { m.LegSecurityAltIDSource = &v } diff --git a/fix50sp2/legstipulations/LegStipulations.go b/fix50sp2/legstipulations/LegStipulations.go index 650ba12e1..6a5bde3cf 100644 --- a/fix50sp2/legstipulations/LegStipulations.go +++ b/fix50sp2/legstipulations/LegStipulations.go @@ -1,5 +1,6 @@ package legstipulations +//New returns an initialized LegStipulations instance func New() *LegStipulations { var m LegStipulations return &m @@ -13,6 +14,12 @@ type NoLegStipulations struct { LegStipulationValue *string `fix:"689"` } +//NewNoLegStipulations returns an initialized NoLegStipulations instance +func NewNoLegStipulations() *NoLegStipulations { + var m NoLegStipulations + return &m +} + func (m *NoLegStipulations) SetLegStipulationType(v string) { m.LegStipulationType = &v } func (m *NoLegStipulations) SetLegStipulationValue(v string) { m.LegStipulationValue = &v } diff --git a/fix50sp2/linesoftextgrp/LinesOfTextGrp.go b/fix50sp2/linesoftextgrp/LinesOfTextGrp.go index ed4391cac..dd10255fc 100644 --- a/fix50sp2/linesoftextgrp/LinesOfTextGrp.go +++ b/fix50sp2/linesoftextgrp/LinesOfTextGrp.go @@ -1,5 +1,6 @@ package linesoftextgrp +//New returns an initialized LinesOfTextGrp instance func New(nolinesoftext []NoLinesOfText) *LinesOfTextGrp { var m LinesOfTextGrp m.SetNoLinesOfText(nolinesoftext) @@ -16,6 +17,13 @@ type NoLinesOfText struct { EncodedText *string `fix:"355"` } +//NewNoLinesOfText returns an initialized NoLinesOfText instance +func NewNoLinesOfText(text string) *NoLinesOfText { + var m NoLinesOfText + m.SetText(text) + return &m +} + func (m *NoLinesOfText) SetText(v string) { m.Text = v } func (m *NoLinesOfText) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } func (m *NoLinesOfText) SetEncodedText(v string) { m.EncodedText = &v } diff --git a/fix50sp2/listordgrp/ListOrdGrp.go b/fix50sp2/listordgrp/ListOrdGrp.go index 9df13412f..c5261d7d2 100644 --- a/fix50sp2/listordgrp/ListOrdGrp.go +++ b/fix50sp2/listordgrp/ListOrdGrp.go @@ -19,6 +19,7 @@ import ( "time" ) +//New returns an initialized ListOrdGrp instance func New(noorders []NoOrders) *ListOrdGrp { var m ListOrdGrp m.SetNoOrders(noorders) @@ -199,6 +200,17 @@ type NoOrders struct { ExDestinationIDSource *string `fix:"1133"` } +//NewNoOrders returns an initialized NoOrders instance +func NewNoOrders(clordid string, listseqno int, instrument instrument.Instrument, side string, orderqtydata orderqtydata.OrderQtyData) *NoOrders { + var m NoOrders + m.SetClOrdID(clordid) + m.SetListSeqNo(listseqno) + m.SetInstrument(instrument) + m.SetSide(side) + m.SetOrderQtyData(orderqtydata) + return &m +} + func (m *NoOrders) SetClOrdID(v string) { m.ClOrdID = v } func (m *NoOrders) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } func (m *NoOrders) SetListSeqNo(v int) { m.ListSeqNo = v } diff --git a/fix50sp2/lottyperules/LotTypeRules.go b/fix50sp2/lottyperules/LotTypeRules.go index e046b1c19..97d1b4327 100644 --- a/fix50sp2/lottyperules/LotTypeRules.go +++ b/fix50sp2/lottyperules/LotTypeRules.go @@ -1,5 +1,6 @@ package lottyperules +//New returns an initialized LotTypeRules instance func New() *LotTypeRules { var m LotTypeRules return &m @@ -13,6 +14,12 @@ type NoLotTypeRules struct { MinLotSize *float64 `fix:"1231"` } +//NewNoLotTypeRules returns an initialized NoLotTypeRules instance +func NewNoLotTypeRules() *NoLotTypeRules { + var m NoLotTypeRules + return &m +} + func (m *NoLotTypeRules) SetLotType(v string) { m.LotType = &v } func (m *NoLotTypeRules) SetMinLotSize(v float64) { m.MinLotSize = &v } diff --git a/fix50sp2/marketdatafeedtypes/MarketDataFeedTypes.go b/fix50sp2/marketdatafeedtypes/MarketDataFeedTypes.go index 4a2f6b5ef..8fa1b0f8b 100644 --- a/fix50sp2/marketdatafeedtypes/MarketDataFeedTypes.go +++ b/fix50sp2/marketdatafeedtypes/MarketDataFeedTypes.go @@ -1,5 +1,6 @@ package marketdatafeedtypes +//New returns an initialized MarketDataFeedTypes instance func New() *MarketDataFeedTypes { var m MarketDataFeedTypes return &m @@ -15,6 +16,12 @@ type NoMDFeedTypes struct { MDBookType *int `fix:"1021"` } +//NewNoMDFeedTypes returns an initialized NoMDFeedTypes instance +func NewNoMDFeedTypes() *NoMDFeedTypes { + var m NoMDFeedTypes + return &m +} + func (m *NoMDFeedTypes) SetMDFeedType(v string) { m.MDFeedType = &v } func (m *NoMDFeedTypes) SetMarketDepth(v int) { m.MarketDepth = &v } func (m *NoMDFeedTypes) SetMDBookType(v int) { m.MDBookType = &v } diff --git a/fix50sp2/marketsegmentgrp/MarketSegmentGrp.go b/fix50sp2/marketsegmentgrp/MarketSegmentGrp.go index 207a98ef7..b07ec029b 100644 --- a/fix50sp2/marketsegmentgrp/MarketSegmentGrp.go +++ b/fix50sp2/marketsegmentgrp/MarketSegmentGrp.go @@ -5,6 +5,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/strikerules" ) +//New returns an initialized MarketSegmentGrp instance func New() *MarketSegmentGrp { var m MarketSegmentGrp return &m @@ -22,6 +23,12 @@ type NoMarketSegments struct { StrikeRules *strikerules.StrikeRules } +//NewNoMarketSegments returns an initialized NoMarketSegments instance +func NewNoMarketSegments() *NoMarketSegments { + var m NoMarketSegments + return &m +} + func (m *NoMarketSegments) SetMarketID(v string) { m.MarketID = &v } func (m *NoMarketSegments) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } func (m *NoMarketSegments) SetSecurityTradingRules(v securitytradingrules.SecurityTradingRules) { diff --git a/fix50sp2/matchrules/MatchRules.go b/fix50sp2/matchrules/MatchRules.go index 66d0a66a1..6cc42174f 100644 --- a/fix50sp2/matchrules/MatchRules.go +++ b/fix50sp2/matchrules/MatchRules.go @@ -1,5 +1,6 @@ package matchrules +//New returns an initialized MatchRules instance func New() *MatchRules { var m MatchRules return &m @@ -13,6 +14,12 @@ type NoMatchRules struct { MatchType *string `fix:"574"` } +//NewNoMatchRules returns an initialized NoMatchRules instance +func NewNoMatchRules() *NoMatchRules { + var m NoMatchRules + return &m +} + func (m *NoMatchRules) SetMatchAlgorithm(v string) { m.MatchAlgorithm = &v } func (m *NoMatchRules) SetMatchType(v string) { m.MatchType = &v } diff --git a/fix50sp2/maturityrules/MaturityRules.go b/fix50sp2/maturityrules/MaturityRules.go index d1c2dfdd3..bcee4f0b8 100644 --- a/fix50sp2/maturityrules/MaturityRules.go +++ b/fix50sp2/maturityrules/MaturityRules.go @@ -1,5 +1,6 @@ package maturityrules +//New returns an initialized MaturityRules instance func New() *MaturityRules { var m MaturityRules return &m @@ -21,6 +22,12 @@ type NoMaturityRules struct { MaturityMonthYearIncrement *int `fix:"1229"` } +//NewNoMaturityRules returns an initialized NoMaturityRules instance +func NewNoMaturityRules() *NoMaturityRules { + var m NoMaturityRules + return &m +} + func (m *NoMaturityRules) SetMaturityRuleID(v string) { m.MaturityRuleID = &v } func (m *NoMaturityRules) SetMaturityMonthYearFormat(v int) { m.MaturityMonthYearFormat = &v } func (m *NoMaturityRules) SetMaturityMonthYearIncrementUnits(v int) { diff --git a/fix50sp2/mdfullgrp/MDFullGrp.go b/fix50sp2/mdfullgrp/MDFullGrp.go index 5a0f855af..d38d89546 100644 --- a/fix50sp2/mdfullgrp/MDFullGrp.go +++ b/fix50sp2/mdfullgrp/MDFullGrp.go @@ -9,6 +9,7 @@ import ( "time" ) +//New returns an initialized MDFullGrp instance func New(nomdentries []NoMDEntries) *MDFullGrp { var m MDFullGrp m.SetNoMDEntries(nomdentries) @@ -143,6 +144,13 @@ type NoMDEntries struct { LastPx *float64 `fix:"31"` } +//NewNoMDEntries returns an initialized NoMDEntries instance +func NewNoMDEntries(mdentrytype string) *NoMDEntries { + var m NoMDEntries + m.SetMDEntryType(mdentrytype) + return &m +} + func (m *NoMDEntries) SetMDEntryType(v string) { m.MDEntryType = v } func (m *NoMDEntries) SetMDEntryPx(v float64) { m.MDEntryPx = &v } func (m *NoMDEntries) SetCurrency(v string) { m.Currency = &v } diff --git a/fix50sp2/mdincgrp/MDIncGrp.go b/fix50sp2/mdincgrp/MDIncGrp.go index 3d27f4476..09069321d 100644 --- a/fix50sp2/mdincgrp/MDIncGrp.go +++ b/fix50sp2/mdincgrp/MDIncGrp.go @@ -13,6 +13,7 @@ import ( "time" ) +//New returns an initialized MDIncGrp instance func New(nomdentries []NoMDEntries) *MDIncGrp { var m MDIncGrp m.SetNoMDEntries(nomdentries) @@ -181,6 +182,13 @@ type NoMDEntries struct { MDStreamID *string `fix:"1500"` } +//NewNoMDEntries returns an initialized NoMDEntries instance +func NewNoMDEntries(mdupdateaction string) *NoMDEntries { + var m NoMDEntries + m.SetMDUpdateAction(mdupdateaction) + return &m +} + func (m *NoMDEntries) SetMDUpdateAction(v string) { m.MDUpdateAction = v } func (m *NoMDEntries) SetDeleteReason(v string) { m.DeleteReason = &v } func (m *NoMDEntries) SetMDEntryType(v string) { m.MDEntryType = &v } diff --git a/fix50sp2/mdreqgrp/MDReqGrp.go b/fix50sp2/mdreqgrp/MDReqGrp.go index a3a274630..e95bcd8b7 100644 --- a/fix50sp2/mdreqgrp/MDReqGrp.go +++ b/fix50sp2/mdreqgrp/MDReqGrp.go @@ -1,5 +1,6 @@ package mdreqgrp +//New returns an initialized MDReqGrp instance func New(nomdentrytypes []NoMDEntryTypes) *MDReqGrp { var m MDReqGrp m.SetNoMDEntryTypes(nomdentrytypes) @@ -12,6 +13,13 @@ type NoMDEntryTypes struct { MDEntryType string `fix:"269"` } +//NewNoMDEntryTypes returns an initialized NoMDEntryTypes instance +func NewNoMDEntryTypes(mdentrytype string) *NoMDEntryTypes { + var m NoMDEntryTypes + m.SetMDEntryType(mdentrytype) + return &m +} + func (m *NoMDEntryTypes) SetMDEntryType(v string) { m.MDEntryType = v } //MDReqGrp is a fix50sp2 Component diff --git a/fix50sp2/mdrjctgrp/MDRjctGrp.go b/fix50sp2/mdrjctgrp/MDRjctGrp.go index 11926968d..d3f9d3c81 100644 --- a/fix50sp2/mdrjctgrp/MDRjctGrp.go +++ b/fix50sp2/mdrjctgrp/MDRjctGrp.go @@ -1,5 +1,6 @@ package mdrjctgrp +//New returns an initialized MDRjctGrp instance func New() *MDRjctGrp { var m MDRjctGrp return &m @@ -11,6 +12,12 @@ type NoAltMDSource struct { AltMDSourceID *string `fix:"817"` } +//NewNoAltMDSource returns an initialized NoAltMDSource instance +func NewNoAltMDSource() *NoAltMDSource { + var m NoAltMDSource + return &m +} + func (m *NoAltMDSource) SetAltMDSourceID(v string) { m.AltMDSourceID = &v } //MDRjctGrp is a fix50sp2 Component diff --git a/fix50sp2/miscfeesgrp/MiscFeesGrp.go b/fix50sp2/miscfeesgrp/MiscFeesGrp.go index beec80f16..c318a37cc 100644 --- a/fix50sp2/miscfeesgrp/MiscFeesGrp.go +++ b/fix50sp2/miscfeesgrp/MiscFeesGrp.go @@ -1,5 +1,6 @@ package miscfeesgrp +//New returns an initialized MiscFeesGrp instance func New() *MiscFeesGrp { var m MiscFeesGrp return &m @@ -17,6 +18,12 @@ type NoMiscFees struct { MiscFeeBasis *int `fix:"891"` } +//NewNoMiscFees returns an initialized NoMiscFees instance +func NewNoMiscFees() *NoMiscFees { + var m NoMiscFees + return &m +} + func (m *NoMiscFees) SetMiscFeeAmt(v float64) { m.MiscFeeAmt = &v } func (m *NoMiscFees) SetMiscFeeCurr(v string) { m.MiscFeeCurr = &v } func (m *NoMiscFees) SetMiscFeeType(v string) { m.MiscFeeType = &v } diff --git a/fix50sp2/msgtypegrp/MsgTypeGrp.go b/fix50sp2/msgtypegrp/MsgTypeGrp.go index 8a70fe61c..265b9523f 100644 --- a/fix50sp2/msgtypegrp/MsgTypeGrp.go +++ b/fix50sp2/msgtypegrp/MsgTypeGrp.go @@ -1,5 +1,6 @@ package msgtypegrp +//New returns an initialized MsgTypeGrp instance func New() *MsgTypeGrp { var m MsgTypeGrp return &m @@ -21,6 +22,12 @@ type NoMsgTypes struct { DefaultVerIndicator *bool `fix:"1410"` } +//NewNoMsgTypes returns an initialized NoMsgTypes instance +func NewNoMsgTypes() *NoMsgTypes { + var m NoMsgTypes + return &m +} + func (m *NoMsgTypes) SetRefMsgType(v string) { m.RefMsgType = &v } func (m *NoMsgTypes) SetMsgDirection(v string) { m.MsgDirection = &v } func (m *NoMsgTypes) SetRefApplVerID(v string) { m.RefApplVerID = &v } diff --git a/fix50sp2/nestedinstrumentattribute/NestedInstrumentAttribute.go b/fix50sp2/nestedinstrumentattribute/NestedInstrumentAttribute.go index 30cc43777..3ec93e2eb 100644 --- a/fix50sp2/nestedinstrumentattribute/NestedInstrumentAttribute.go +++ b/fix50sp2/nestedinstrumentattribute/NestedInstrumentAttribute.go @@ -1,5 +1,6 @@ package nestedinstrumentattribute +//New returns an initialized NestedInstrumentAttribute instance func New() *NestedInstrumentAttribute { var m NestedInstrumentAttribute return &m @@ -13,6 +14,12 @@ type NoNestedInstrAttrib struct { NestedInstrAttribValue *string `fix:"1211"` } +//NewNoNestedInstrAttrib returns an initialized NoNestedInstrAttrib instance +func NewNoNestedInstrAttrib() *NoNestedInstrAttrib { + var m NoNestedInstrAttrib + return &m +} + func (m *NoNestedInstrAttrib) SetNestedInstrAttribType(v int) { m.NestedInstrAttribType = &v } func (m *NoNestedInstrAttrib) SetNestedInstrAttribValue(v string) { m.NestedInstrAttribValue = &v } diff --git a/fix50sp2/nestedparties/NestedParties.go b/fix50sp2/nestedparties/NestedParties.go index fb1ec954e..a1508fc34 100644 --- a/fix50sp2/nestedparties/NestedParties.go +++ b/fix50sp2/nestedparties/NestedParties.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/nstdptyssubgrp" ) +//New returns an initialized NestedParties instance func New() *NestedParties { var m NestedParties return &m @@ -21,6 +22,12 @@ type NoNestedPartyIDs struct { NstdPtysSubGrp *nstdptyssubgrp.NstdPtysSubGrp } +//NewNoNestedPartyIDs returns an initialized NoNestedPartyIDs instance +func NewNoNestedPartyIDs() *NoNestedPartyIDs { + var m NoNestedPartyIDs + return &m +} + func (m *NoNestedPartyIDs) SetNestedPartyID(v string) { m.NestedPartyID = &v } func (m *NoNestedPartyIDs) SetNestedPartyIDSource(v string) { m.NestedPartyIDSource = &v } func (m *NoNestedPartyIDs) SetNestedPartyRole(v int) { m.NestedPartyRole = &v } diff --git a/fix50sp2/nestedparties2/NestedParties2.go b/fix50sp2/nestedparties2/NestedParties2.go index f75717801..0445dff16 100644 --- a/fix50sp2/nestedparties2/NestedParties2.go +++ b/fix50sp2/nestedparties2/NestedParties2.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/nstdptys2subgrp" ) +//New returns an initialized NestedParties2 instance func New() *NestedParties2 { var m NestedParties2 return &m @@ -21,6 +22,12 @@ type NoNested2PartyIDs struct { NstdPtys2SubGrp *nstdptys2subgrp.NstdPtys2SubGrp } +//NewNoNested2PartyIDs returns an initialized NoNested2PartyIDs instance +func NewNoNested2PartyIDs() *NoNested2PartyIDs { + var m NoNested2PartyIDs + return &m +} + func (m *NoNested2PartyIDs) SetNested2PartyID(v string) { m.Nested2PartyID = &v } func (m *NoNested2PartyIDs) SetNested2PartyIDSource(v string) { m.Nested2PartyIDSource = &v } func (m *NoNested2PartyIDs) SetNested2PartyRole(v int) { m.Nested2PartyRole = &v } diff --git a/fix50sp2/nestedparties3/NestedParties3.go b/fix50sp2/nestedparties3/NestedParties3.go index e3eb147a3..918cb8351 100644 --- a/fix50sp2/nestedparties3/NestedParties3.go +++ b/fix50sp2/nestedparties3/NestedParties3.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/nstdptys3subgrp" ) +//New returns an initialized NestedParties3 instance func New() *NestedParties3 { var m NestedParties3 return &m @@ -21,6 +22,12 @@ type NoNested3PartyIDs struct { NstdPtys3SubGrp *nstdptys3subgrp.NstdPtys3SubGrp } +//NewNoNested3PartyIDs returns an initialized NoNested3PartyIDs instance +func NewNoNested3PartyIDs() *NoNested3PartyIDs { + var m NoNested3PartyIDs + return &m +} + func (m *NoNested3PartyIDs) SetNested3PartyID(v string) { m.Nested3PartyID = &v } func (m *NoNested3PartyIDs) SetNested3PartyIDSource(v string) { m.Nested3PartyIDSource = &v } func (m *NoNested3PartyIDs) SetNested3PartyRole(v int) { m.Nested3PartyRole = &v } diff --git a/fix50sp2/nestedparties4/NestedParties4.go b/fix50sp2/nestedparties4/NestedParties4.go index 58c67171c..82334f026 100644 --- a/fix50sp2/nestedparties4/NestedParties4.go +++ b/fix50sp2/nestedparties4/NestedParties4.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/nstdptys4subgrp" ) +//New returns an initialized NestedParties4 instance func New() *NestedParties4 { var m NestedParties4 return &m @@ -21,6 +22,12 @@ type NoNested4PartyIDs struct { NstdPtys4SubGrp *nstdptys4subgrp.NstdPtys4SubGrp } +//NewNoNested4PartyIDs returns an initialized NoNested4PartyIDs instance +func NewNoNested4PartyIDs() *NoNested4PartyIDs { + var m NoNested4PartyIDs + return &m +} + func (m *NoNested4PartyIDs) SetNested4PartyID(v string) { m.Nested4PartyID = &v } func (m *NoNested4PartyIDs) SetNested4PartyIDSource(v string) { m.Nested4PartyIDSource = &v } func (m *NoNested4PartyIDs) SetNested4PartyRole(v int) { m.Nested4PartyRole = &v } diff --git a/fix50sp2/newsrefgrp/NewsRefGrp.go b/fix50sp2/newsrefgrp/NewsRefGrp.go index 1837af087..4d5e49f93 100644 --- a/fix50sp2/newsrefgrp/NewsRefGrp.go +++ b/fix50sp2/newsrefgrp/NewsRefGrp.go @@ -1,5 +1,6 @@ package newsrefgrp +//New returns an initialized NewsRefGrp instance func New() *NewsRefGrp { var m NewsRefGrp return &m @@ -13,6 +14,12 @@ type NoNewsRefIDs struct { NewsRefType *int `fix:"1477"` } +//NewNoNewsRefIDs returns an initialized NoNewsRefIDs instance +func NewNoNewsRefIDs() *NoNewsRefIDs { + var m NoNewsRefIDs + return &m +} + func (m *NoNewsRefIDs) SetNewsRefID(v string) { m.NewsRefID = &v } func (m *NoNewsRefIDs) SetNewsRefType(v int) { m.NewsRefType = &v } diff --git a/fix50sp2/notaffectedordersgrp/NotAffectedOrdersGrp.go b/fix50sp2/notaffectedordersgrp/NotAffectedOrdersGrp.go index 89dd7fe19..58385a55a 100644 --- a/fix50sp2/notaffectedordersgrp/NotAffectedOrdersGrp.go +++ b/fix50sp2/notaffectedordersgrp/NotAffectedOrdersGrp.go @@ -1,5 +1,6 @@ package notaffectedordersgrp +//New returns an initialized NotAffectedOrdersGrp instance func New() *NotAffectedOrdersGrp { var m NotAffectedOrdersGrp return &m @@ -13,6 +14,12 @@ type NoNotAffectedOrders struct { NotAffectedOrderID *string `fix:"1371"` } +//NewNoNotAffectedOrders returns an initialized NoNotAffectedOrders instance +func NewNoNotAffectedOrders() *NoNotAffectedOrders { + var m NoNotAffectedOrders + return &m +} + func (m *NoNotAffectedOrders) SetNotAffOrigClOrdID(v string) { m.NotAffOrigClOrdID = &v } func (m *NoNotAffectedOrders) SetNotAffectedOrderID(v string) { m.NotAffectedOrderID = &v } diff --git a/fix50sp2/nstdptys2subgrp/NstdPtys2SubGrp.go b/fix50sp2/nstdptys2subgrp/NstdPtys2SubGrp.go index d0a8b57e4..cf2514edf 100644 --- a/fix50sp2/nstdptys2subgrp/NstdPtys2SubGrp.go +++ b/fix50sp2/nstdptys2subgrp/NstdPtys2SubGrp.go @@ -1,5 +1,6 @@ package nstdptys2subgrp +//New returns an initialized NstdPtys2SubGrp instance func New() *NstdPtys2SubGrp { var m NstdPtys2SubGrp return &m @@ -13,6 +14,12 @@ type NoNested2PartySubIDs struct { Nested2PartySubIDType *int `fix:"807"` } +//NewNoNested2PartySubIDs returns an initialized NoNested2PartySubIDs instance +func NewNoNested2PartySubIDs() *NoNested2PartySubIDs { + var m NoNested2PartySubIDs + return &m +} + func (m *NoNested2PartySubIDs) SetNested2PartySubID(v string) { m.Nested2PartySubID = &v } func (m *NoNested2PartySubIDs) SetNested2PartySubIDType(v int) { m.Nested2PartySubIDType = &v } diff --git a/fix50sp2/nstdptys3subgrp/NstdPtys3SubGrp.go b/fix50sp2/nstdptys3subgrp/NstdPtys3SubGrp.go index 846151337..00cb17b06 100644 --- a/fix50sp2/nstdptys3subgrp/NstdPtys3SubGrp.go +++ b/fix50sp2/nstdptys3subgrp/NstdPtys3SubGrp.go @@ -1,5 +1,6 @@ package nstdptys3subgrp +//New returns an initialized NstdPtys3SubGrp instance func New() *NstdPtys3SubGrp { var m NstdPtys3SubGrp return &m @@ -13,6 +14,12 @@ type NoNested3PartySubIDs struct { Nested3PartySubIDType *int `fix:"954"` } +//NewNoNested3PartySubIDs returns an initialized NoNested3PartySubIDs instance +func NewNoNested3PartySubIDs() *NoNested3PartySubIDs { + var m NoNested3PartySubIDs + return &m +} + func (m *NoNested3PartySubIDs) SetNested3PartySubID(v string) { m.Nested3PartySubID = &v } func (m *NoNested3PartySubIDs) SetNested3PartySubIDType(v int) { m.Nested3PartySubIDType = &v } diff --git a/fix50sp2/nstdptys4subgrp/NstdPtys4SubGrp.go b/fix50sp2/nstdptys4subgrp/NstdPtys4SubGrp.go index c126d9aa6..f779a35e7 100644 --- a/fix50sp2/nstdptys4subgrp/NstdPtys4SubGrp.go +++ b/fix50sp2/nstdptys4subgrp/NstdPtys4SubGrp.go @@ -1,5 +1,6 @@ package nstdptys4subgrp +//New returns an initialized NstdPtys4SubGrp instance func New() *NstdPtys4SubGrp { var m NstdPtys4SubGrp return &m @@ -13,6 +14,12 @@ type NoNested4PartySubIDs struct { Nested4PartySubIDType *int `fix:"1411"` } +//NewNoNested4PartySubIDs returns an initialized NoNested4PartySubIDs instance +func NewNoNested4PartySubIDs() *NoNested4PartySubIDs { + var m NoNested4PartySubIDs + return &m +} + func (m *NoNested4PartySubIDs) SetNested4PartySubID(v string) { m.Nested4PartySubID = &v } func (m *NoNested4PartySubIDs) SetNested4PartySubIDType(v int) { m.Nested4PartySubIDType = &v } diff --git a/fix50sp2/nstdptyssubgrp/NstdPtysSubGrp.go b/fix50sp2/nstdptyssubgrp/NstdPtysSubGrp.go index 1a6e91ae6..c708598a3 100644 --- a/fix50sp2/nstdptyssubgrp/NstdPtysSubGrp.go +++ b/fix50sp2/nstdptyssubgrp/NstdPtysSubGrp.go @@ -1,5 +1,6 @@ package nstdptyssubgrp +//New returns an initialized NstdPtysSubGrp instance func New() *NstdPtysSubGrp { var m NstdPtysSubGrp return &m @@ -13,6 +14,12 @@ type NoNestedPartySubIDs struct { NestedPartySubIDType *int `fix:"805"` } +//NewNoNestedPartySubIDs returns an initialized NoNestedPartySubIDs instance +func NewNoNestedPartySubIDs() *NoNestedPartySubIDs { + var m NoNestedPartySubIDs + return &m +} + func (m *NoNestedPartySubIDs) SetNestedPartySubID(v string) { m.NestedPartySubID = &v } func (m *NoNestedPartySubIDs) SetNestedPartySubIDType(v int) { m.NestedPartySubIDType = &v } diff --git a/fix50sp2/ordallocgrp/OrdAllocGrp.go b/fix50sp2/ordallocgrp/OrdAllocGrp.go index ed3b848d1..ac673de8c 100644 --- a/fix50sp2/ordallocgrp/OrdAllocGrp.go +++ b/fix50sp2/ordallocgrp/OrdAllocGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/nestedparties2" ) +//New returns an initialized OrdAllocGrp instance func New() *OrdAllocGrp { var m OrdAllocGrp return &m @@ -31,6 +32,12 @@ type NoOrders struct { OrderBookingQty *float64 `fix:"800"` } +//NewNoOrders returns an initialized NoOrders instance +func NewNoOrders() *NoOrders { + var m NoOrders + return &m +} + func (m *NoOrders) SetClOrdID(v string) { m.ClOrdID = &v } func (m *NoOrders) SetOrderID(v string) { m.OrderID = &v } func (m *NoOrders) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } diff --git a/fix50sp2/orderqtydata/OrderQtyData.go b/fix50sp2/orderqtydata/OrderQtyData.go index 5eb67770c..a9251b774 100644 --- a/fix50sp2/orderqtydata/OrderQtyData.go +++ b/fix50sp2/orderqtydata/OrderQtyData.go @@ -1,5 +1,6 @@ package orderqtydata +//New returns an initialized OrderQtyData instance func New() *OrderQtyData { var m OrderQtyData return &m diff --git a/fix50sp2/ordliststatgrp/OrdListStatGrp.go b/fix50sp2/ordliststatgrp/OrdListStatGrp.go index 5ebe334c7..2aaa8d17a 100644 --- a/fix50sp2/ordliststatgrp/OrdListStatGrp.go +++ b/fix50sp2/ordliststatgrp/OrdListStatGrp.go @@ -1,5 +1,6 @@ package ordliststatgrp +//New returns an initialized OrdListStatGrp instance func New(noorders []NoOrders) *OrdListStatGrp { var m OrdListStatGrp m.SetNoOrders(noorders) @@ -36,6 +37,17 @@ type NoOrders struct { OrderID *string `fix:"37"` } +//NewNoOrders returns an initialized NoOrders instance +func NewNoOrders(cumqty float64, ordstatus string, leavesqty float64, cxlqty float64, avgpx float64) *NoOrders { + var m NoOrders + m.SetCumQty(cumqty) + m.SetOrdStatus(ordstatus) + m.SetLeavesQty(leavesqty) + m.SetCxlQty(cxlqty) + m.SetAvgPx(avgpx) + return &m +} + func (m *NoOrders) SetClOrdID(v string) { m.ClOrdID = &v } func (m *NoOrders) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } func (m *NoOrders) SetCumQty(v float64) { m.CumQty = v } diff --git a/fix50sp2/ordtyperules/OrdTypeRules.go b/fix50sp2/ordtyperules/OrdTypeRules.go index 08d11a210..fdf00727a 100644 --- a/fix50sp2/ordtyperules/OrdTypeRules.go +++ b/fix50sp2/ordtyperules/OrdTypeRules.go @@ -1,5 +1,6 @@ package ordtyperules +//New returns an initialized OrdTypeRules instance func New() *OrdTypeRules { var m OrdTypeRules return &m @@ -11,6 +12,12 @@ type NoOrdTypeRules struct { OrdType *string `fix:"40"` } +//NewNoOrdTypeRules returns an initialized NoOrdTypeRules instance +func NewNoOrdTypeRules() *NoOrdTypeRules { + var m NoOrdTypeRules + return &m +} + func (m *NoOrdTypeRules) SetOrdType(v string) { m.OrdType = &v } //OrdTypeRules is a fix50sp2 Component diff --git a/fix50sp2/parties/Parties.go b/fix50sp2/parties/Parties.go index 140574687..a34e7bcfe 100644 --- a/fix50sp2/parties/Parties.go +++ b/fix50sp2/parties/Parties.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/ptyssubgrp" ) +//New returns an initialized Parties instance func New() *Parties { var m Parties return &m @@ -21,6 +22,12 @@ type NoPartyIDs struct { PtysSubGrp *ptyssubgrp.PtysSubGrp } +//NewNoPartyIDs returns an initialized NoPartyIDs instance +func NewNoPartyIDs() *NoPartyIDs { + var m NoPartyIDs + return &m +} + func (m *NoPartyIDs) SetPartyID(v string) { m.PartyID = &v } func (m *NoPartyIDs) SetPartyIDSource(v string) { m.PartyIDSource = &v } func (m *NoPartyIDs) SetPartyRole(v int) { m.PartyRole = &v } diff --git a/fix50sp2/partyaltids/PartyAltIDs.go b/fix50sp2/partyaltids/PartyAltIDs.go index b04053bab..97779c0c6 100644 --- a/fix50sp2/partyaltids/PartyAltIDs.go +++ b/fix50sp2/partyaltids/PartyAltIDs.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/altptyssubgrp" ) +//New returns an initialized PartyAltIDs instance func New() *PartyAltIDs { var m PartyAltIDs return &m @@ -19,6 +20,12 @@ type NoPartyAltIDs struct { AltPtysSubGrp *altptyssubgrp.AltPtysSubGrp } +//NewNoPartyAltIDs returns an initialized NoPartyAltIDs instance +func NewNoPartyAltIDs() *NoPartyAltIDs { + var m NoPartyAltIDs + return &m +} + func (m *NoPartyAltIDs) SetPartyAltID(v string) { m.PartyAltID = &v } func (m *NoPartyAltIDs) SetPartyAltIDSource(v string) { m.PartyAltIDSource = &v } func (m *NoPartyAltIDs) SetAltPtysSubGrp(v altptyssubgrp.AltPtysSubGrp) { m.AltPtysSubGrp = &v } diff --git a/fix50sp2/partydetail/PartyDetail.go b/fix50sp2/partydetail/PartyDetail.go index e34667b0c..23a0bd179 100644 --- a/fix50sp2/partydetail/PartyDetail.go +++ b/fix50sp2/partydetail/PartyDetail.go @@ -7,6 +7,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/risklimits" ) +//New returns an initialized PartyDetail instance func New(partyid string, partyidsource string, partyrole int) *PartyDetail { var m PartyDetail m.SetPartyID(partyid) diff --git a/fix50sp2/partylistgrp/PartyListGrp.go b/fix50sp2/partylistgrp/PartyListGrp.go index 2f8cd34c4..0e0547aa3 100644 --- a/fix50sp2/partylistgrp/PartyListGrp.go +++ b/fix50sp2/partylistgrp/PartyListGrp.go @@ -5,6 +5,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/relatedpartygrp" ) +//New returns an initialized PartyListGrp instance func New() *PartyListGrp { var m PartyListGrp return &m @@ -18,6 +19,12 @@ type NoPartyList struct { RelatedPartyGrp *relatedpartygrp.RelatedPartyGrp } +//NewNoPartyList returns an initialized NoPartyList instance +func NewNoPartyList() *NoPartyList { + var m NoPartyList + return &m +} + func (m *NoPartyList) SetPartyDetail(v partydetail.PartyDetail) { m.PartyDetail = &v } func (m *NoPartyList) SetRelatedPartyGrp(v relatedpartygrp.RelatedPartyGrp) { m.RelatedPartyGrp = &v } diff --git a/fix50sp2/partylistresponsetypegrp/PartyListResponseTypeGrp.go b/fix50sp2/partylistresponsetypegrp/PartyListResponseTypeGrp.go index ae948adc6..b686d8d99 100644 --- a/fix50sp2/partylistresponsetypegrp/PartyListResponseTypeGrp.go +++ b/fix50sp2/partylistresponsetypegrp/PartyListResponseTypeGrp.go @@ -1,5 +1,6 @@ package partylistresponsetypegrp +//New returns an initialized PartyListResponseTypeGrp instance func New(nopartylistresponsetypes []NoPartyListResponseTypes) *PartyListResponseTypeGrp { var m PartyListResponseTypeGrp m.SetNoPartyListResponseTypes(nopartylistresponsetypes) @@ -12,6 +13,13 @@ type NoPartyListResponseTypes struct { PartyListResponseType int `fix:"1507"` } +//NewNoPartyListResponseTypes returns an initialized NoPartyListResponseTypes instance +func NewNoPartyListResponseTypes(partylistresponsetype int) *NoPartyListResponseTypes { + var m NoPartyListResponseTypes + m.SetPartyListResponseType(partylistresponsetype) + return &m +} + func (m *NoPartyListResponseTypes) SetPartyListResponseType(v int) { m.PartyListResponseType = v } //PartyListResponseTypeGrp is a fix50sp2 Component diff --git a/fix50sp2/partyrelationships/PartyRelationships.go b/fix50sp2/partyrelationships/PartyRelationships.go index 5b2a1c871..691977152 100644 --- a/fix50sp2/partyrelationships/PartyRelationships.go +++ b/fix50sp2/partyrelationships/PartyRelationships.go @@ -1,5 +1,6 @@ package partyrelationships +//New returns an initialized PartyRelationships instance func New() *PartyRelationships { var m PartyRelationships return &m @@ -11,6 +12,12 @@ type NoPartyRelationships struct { PartyRelationship *int `fix:"1515"` } +//NewNoPartyRelationships returns an initialized NoPartyRelationships instance +func NewNoPartyRelationships() *NoPartyRelationships { + var m NoPartyRelationships + return &m +} + func (m *NoPartyRelationships) SetPartyRelationship(v int) { m.PartyRelationship = &v } //PartyRelationships is a fix50sp2 Component diff --git a/fix50sp2/peginstructions/PegInstructions.go b/fix50sp2/peginstructions/PegInstructions.go index 44ba6b113..a1f042753 100644 --- a/fix50sp2/peginstructions/PegInstructions.go +++ b/fix50sp2/peginstructions/PegInstructions.go @@ -1,5 +1,6 @@ package peginstructions +//New returns an initialized PegInstructions instance func New() *PegInstructions { var m PegInstructions return &m diff --git a/fix50sp2/positionamountdata/PositionAmountData.go b/fix50sp2/positionamountdata/PositionAmountData.go index e347e0aab..b2262c9e5 100644 --- a/fix50sp2/positionamountdata/PositionAmountData.go +++ b/fix50sp2/positionamountdata/PositionAmountData.go @@ -1,5 +1,6 @@ package positionamountdata +//New returns an initialized PositionAmountData instance func New() *PositionAmountData { var m PositionAmountData return &m @@ -15,6 +16,12 @@ type NoPosAmt struct { PositionCurrency *string `fix:"1055"` } +//NewNoPosAmt returns an initialized NoPosAmt instance +func NewNoPosAmt() *NoPosAmt { + var m NoPosAmt + return &m +} + func (m *NoPosAmt) SetPosAmtType(v string) { m.PosAmtType = &v } func (m *NoPosAmt) SetPosAmt(v float64) { m.PosAmt = &v } func (m *NoPosAmt) SetPositionCurrency(v string) { m.PositionCurrency = &v } diff --git a/fix50sp2/positionqty/PositionQty.go b/fix50sp2/positionqty/PositionQty.go index 232a3247d..bfd5dbff6 100644 --- a/fix50sp2/positionqty/PositionQty.go +++ b/fix50sp2/positionqty/PositionQty.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/nestedparties" ) +//New returns an initialized PositionQty instance func New() *PositionQty { var m PositionQty return &m @@ -25,6 +26,12 @@ type NoPositions struct { QuantityDate *string `fix:"976"` } +//NewNoPositions returns an initialized NoPositions instance +func NewNoPositions() *NoPositions { + var m NoPositions + return &m +} + func (m *NoPositions) SetPosType(v string) { m.PosType = &v } func (m *NoPositions) SetLongQty(v float64) { m.LongQty = &v } func (m *NoPositions) SetShortQty(v float64) { m.ShortQty = &v } diff --git a/fix50sp2/posundinstrmtgrp/PosUndInstrmtGrp.go b/fix50sp2/posundinstrmtgrp/PosUndInstrmtGrp.go index 07290095a..3ebd6e29d 100644 --- a/fix50sp2/posundinstrmtgrp/PosUndInstrmtGrp.go +++ b/fix50sp2/posundinstrmtgrp/PosUndInstrmtGrp.go @@ -5,6 +5,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/underlyinginstrument" ) +//New returns an initialized PosUndInstrmtGrp instance func New() *PosUndInstrmtGrp { var m PosUndInstrmtGrp return &m @@ -24,6 +25,12 @@ type NoUnderlyings struct { UnderlyingDeliveryAmount *float64 `fix:"1037"` } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } diff --git a/fix50sp2/preallocgrp/PreAllocGrp.go b/fix50sp2/preallocgrp/PreAllocGrp.go index e4c2ec663..d573209e6 100644 --- a/fix50sp2/preallocgrp/PreAllocGrp.go +++ b/fix50sp2/preallocgrp/PreAllocGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/nestedparties" ) +//New returns an initialized PreAllocGrp instance func New() *PreAllocGrp { var m PreAllocGrp return &m @@ -25,6 +26,12 @@ type NoAllocs struct { AllocQty *float64 `fix:"80"` } +//NewNoAllocs returns an initialized NoAllocs instance +func NewNoAllocs() *NoAllocs { + var m NoAllocs + return &m +} + func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } func (m *NoAllocs) SetAllocSettlCurrency(v string) { m.AllocSettlCurrency = &v } diff --git a/fix50sp2/preallocmleggrp/PreAllocMlegGrp.go b/fix50sp2/preallocmleggrp/PreAllocMlegGrp.go index b006cb15a..2758e4de7 100644 --- a/fix50sp2/preallocmleggrp/PreAllocMlegGrp.go +++ b/fix50sp2/preallocmleggrp/PreAllocMlegGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/nestedparties3" ) +//New returns an initialized PreAllocMlegGrp instance func New() *PreAllocMlegGrp { var m PreAllocMlegGrp return &m @@ -25,6 +26,12 @@ type NoAllocs struct { AllocQty *float64 `fix:"80"` } +//NewNoAllocs returns an initialized NoAllocs instance +func NewNoAllocs() *NoAllocs { + var m NoAllocs + return &m +} + func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } func (m *NoAllocs) SetAllocSettlCurrency(v string) { m.AllocSettlCurrency = &v } diff --git a/fix50sp2/pricelimits/PriceLimits.go b/fix50sp2/pricelimits/PriceLimits.go index 532745971..90cdde5ee 100644 --- a/fix50sp2/pricelimits/PriceLimits.go +++ b/fix50sp2/pricelimits/PriceLimits.go @@ -1,5 +1,6 @@ package pricelimits +//New returns an initialized PriceLimits instance func New() *PriceLimits { var m PriceLimits return &m diff --git a/fix50sp2/ptyssubgrp/PtysSubGrp.go b/fix50sp2/ptyssubgrp/PtysSubGrp.go index 20daf0d07..a75629047 100644 --- a/fix50sp2/ptyssubgrp/PtysSubGrp.go +++ b/fix50sp2/ptyssubgrp/PtysSubGrp.go @@ -1,5 +1,6 @@ package ptyssubgrp +//New returns an initialized PtysSubGrp instance func New() *PtysSubGrp { var m PtysSubGrp return &m @@ -13,6 +14,12 @@ type NoPartySubIDs struct { PartySubIDType *int `fix:"803"` } +//NewNoPartySubIDs returns an initialized NoPartySubIDs instance +func NewNoPartySubIDs() *NoPartySubIDs { + var m NoPartySubIDs + return &m +} + func (m *NoPartySubIDs) SetPartySubID(v string) { m.PartySubID = &v } func (m *NoPartySubIDs) SetPartySubIDType(v int) { m.PartySubIDType = &v } diff --git a/fix50sp2/quotcxlentriesgrp/QuotCxlEntriesGrp.go b/fix50sp2/quotcxlentriesgrp/QuotCxlEntriesGrp.go index eefa2df9c..cfc05292e 100644 --- a/fix50sp2/quotcxlentriesgrp/QuotCxlEntriesGrp.go +++ b/fix50sp2/quotcxlentriesgrp/QuotCxlEntriesGrp.go @@ -7,6 +7,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/undinstrmtgrp" ) +//New returns an initialized QuotCxlEntriesGrp instance func New() *QuotCxlEntriesGrp { var m QuotCxlEntriesGrp return &m @@ -24,6 +25,12 @@ type NoQuoteEntries struct { InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp } +//NewNoQuoteEntries returns an initialized NoQuoteEntries instance +func NewNoQuoteEntries() *NoQuoteEntries { + var m NoQuoteEntries + return &m +} + func (m *NoQuoteEntries) SetInstrument(v instrument.Instrument) { m.Instrument = &v } func (m *NoQuoteEntries) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v diff --git a/fix50sp2/quotentryackgrp/QuotEntryAckGrp.go b/fix50sp2/quotentryackgrp/QuotEntryAckGrp.go index 644c1cdf7..1f7fe1a35 100644 --- a/fix50sp2/quotentryackgrp/QuotEntryAckGrp.go +++ b/fix50sp2/quotentryackgrp/QuotEntryAckGrp.go @@ -6,6 +6,7 @@ import ( "time" ) +//New returns an initialized QuotEntryAckGrp instance func New() *QuotEntryAckGrp { var m QuotEntryAckGrp return &m @@ -77,6 +78,12 @@ type NoQuoteEntries struct { OrderRestrictions *string `fix:"529"` } +//NewNoQuoteEntries returns an initialized NoQuoteEntries instance +func NewNoQuoteEntries() *NoQuoteEntries { + var m NoQuoteEntries + return &m +} + func (m *NoQuoteEntries) SetQuoteEntryID(v string) { m.QuoteEntryID = &v } func (m *NoQuoteEntries) SetInstrument(v instrument.Instrument) { m.Instrument = &v } func (m *NoQuoteEntries) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } diff --git a/fix50sp2/quotentrygrp/QuotEntryGrp.go b/fix50sp2/quotentrygrp/QuotEntryGrp.go index fb43fe280..0e322440e 100644 --- a/fix50sp2/quotentrygrp/QuotEntryGrp.go +++ b/fix50sp2/quotentrygrp/QuotEntryGrp.go @@ -6,6 +6,7 @@ import ( "time" ) +//New returns an initialized QuotEntryGrp instance func New(noquoteentries []NoQuoteEntries) *QuotEntryGrp { var m QuotEntryGrp m.SetNoQuoteEntries(noquoteentries) @@ -74,6 +75,13 @@ type NoQuoteEntries struct { OrderRestrictions *string `fix:"529"` } +//NewNoQuoteEntries returns an initialized NoQuoteEntries instance +func NewNoQuoteEntries(quoteentryid string) *NoQuoteEntries { + var m NoQuoteEntries + m.SetQuoteEntryID(quoteentryid) + return &m +} + func (m *NoQuoteEntries) SetQuoteEntryID(v string) { m.QuoteEntryID = v } func (m *NoQuoteEntries) SetInstrument(v instrument.Instrument) { m.Instrument = &v } func (m *NoQuoteEntries) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } diff --git a/fix50sp2/quotqualgrp/QuotQualGrp.go b/fix50sp2/quotqualgrp/QuotQualGrp.go index 72f75dc7e..0ea892e6d 100644 --- a/fix50sp2/quotqualgrp/QuotQualGrp.go +++ b/fix50sp2/quotqualgrp/QuotQualGrp.go @@ -1,5 +1,6 @@ package quotqualgrp +//New returns an initialized QuotQualGrp instance func New() *QuotQualGrp { var m QuotQualGrp return &m @@ -11,6 +12,12 @@ type NoQuoteQualifiers struct { QuoteQualifier *string `fix:"695"` } +//NewNoQuoteQualifiers returns an initialized NoQuoteQualifiers instance +func NewNoQuoteQualifiers() *NoQuoteQualifiers { + var m NoQuoteQualifiers + return &m +} + func (m *NoQuoteQualifiers) SetQuoteQualifier(v string) { m.QuoteQualifier = &v } //QuotQualGrp is a fix50sp2 Component diff --git a/fix50sp2/quotreqgrp/QuotReqGrp.go b/fix50sp2/quotreqgrp/QuotReqGrp.go index 39359e6c2..cbf37f386 100644 --- a/fix50sp2/quotreqgrp/QuotReqGrp.go +++ b/fix50sp2/quotreqgrp/QuotReqGrp.go @@ -15,6 +15,7 @@ import ( "time" ) +//New returns an initialized QuotReqGrp instance func New(norelatedsym []NoRelatedSym) *QuotReqGrp { var m QuotReqGrp m.SetNoRelatedSym(norelatedsym) @@ -99,6 +100,13 @@ type NoRelatedSym struct { RateSource *ratesource.RateSource } +//NewNoRelatedSym returns an initialized NoRelatedSym instance +func NewNoRelatedSym(instrument instrument.Instrument) *NoRelatedSym { + var m NoRelatedSym + m.SetInstrument(instrument) + return &m +} + func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = v } func (m *NoRelatedSym) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v diff --git a/fix50sp2/quotreqlegsgrp/QuotReqLegsGrp.go b/fix50sp2/quotreqlegsgrp/QuotReqLegsGrp.go index d60337bbe..b0c58c7fa 100644 --- a/fix50sp2/quotreqlegsgrp/QuotReqLegsGrp.go +++ b/fix50sp2/quotreqlegsgrp/QuotReqLegsGrp.go @@ -7,6 +7,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/nestedparties" ) +//New returns an initialized QuotReqLegsGrp instance func New() *QuotReqLegsGrp { var m QuotReqLegsGrp return &m @@ -36,6 +37,12 @@ type NoLegs struct { LegRefID *string `fix:"654"` } +//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) SetLegQty(v float64) { m.LegQty = &v } func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } diff --git a/fix50sp2/quotreqrjctgrp/QuotReqRjctGrp.go b/fix50sp2/quotreqrjctgrp/QuotReqRjctGrp.go index 351bac827..147a0520e 100644 --- a/fix50sp2/quotreqrjctgrp/QuotReqRjctGrp.go +++ b/fix50sp2/quotreqrjctgrp/QuotReqRjctGrp.go @@ -14,6 +14,7 @@ import ( "time" ) +//New returns an initialized QuotReqRjctGrp instance func New(norelatedsym []NoRelatedSym) *QuotReqRjctGrp { var m QuotReqRjctGrp m.SetNoRelatedSym(norelatedsym) @@ -90,6 +91,13 @@ type NoRelatedSym struct { Parties *parties.Parties } +//NewNoRelatedSym returns an initialized NoRelatedSym instance +func NewNoRelatedSym(instrument instrument.Instrument) *NoRelatedSym { + var m NoRelatedSym + m.SetInstrument(instrument) + return &m +} + func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = v } func (m *NoRelatedSym) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v diff --git a/fix50sp2/quotsetackgrp/QuotSetAckGrp.go b/fix50sp2/quotsetackgrp/QuotSetAckGrp.go index d883f44fb..efc32595f 100644 --- a/fix50sp2/quotsetackgrp/QuotSetAckGrp.go +++ b/fix50sp2/quotsetackgrp/QuotSetAckGrp.go @@ -6,6 +6,7 @@ import ( "time" ) +//New returns an initialized QuotSetAckGrp instance func New() *QuotSetAckGrp { var m QuotSetAckGrp return &m @@ -33,6 +34,12 @@ type NoQuoteSets struct { QuoteSetValidUntilTime *time.Time `fix:"367"` } +//NewNoQuoteSets returns an initialized NoQuoteSets instance +func NewNoQuoteSets() *NoQuoteSets { + var m NoQuoteSets + return &m +} + func (m *NoQuoteSets) SetQuoteSetID(v string) { m.QuoteSetID = &v } func (m *NoQuoteSets) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v diff --git a/fix50sp2/quotsetgrp/QuotSetGrp.go b/fix50sp2/quotsetgrp/QuotSetGrp.go index 6fdfdd8d6..263cb36f0 100644 --- a/fix50sp2/quotsetgrp/QuotSetGrp.go +++ b/fix50sp2/quotsetgrp/QuotSetGrp.go @@ -6,6 +6,7 @@ import ( "time" ) +//New returns an initialized QuotSetGrp instance func New(noquotesets []NoQuoteSets) *QuotSetGrp { var m QuotSetGrp m.SetNoQuoteSets(noquotesets) @@ -28,6 +29,15 @@ type NoQuoteSets struct { quotentrygrp.QuotEntryGrp } +//NewNoQuoteSets returns an initialized NoQuoteSets instance +func NewNoQuoteSets(quotesetid string, totnoquoteentries int, quotentrygrp quotentrygrp.QuotEntryGrp) *NoQuoteSets { + var m NoQuoteSets + m.SetQuoteSetID(quotesetid) + m.SetTotNoQuoteEntries(totnoquoteentries) + m.SetQuotEntryGrp(quotentrygrp) + return &m +} + func (m *NoQuoteSets) SetQuoteSetID(v string) { m.QuoteSetID = v } func (m *NoQuoteSets) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v diff --git a/fix50sp2/ratesource/RateSource.go b/fix50sp2/ratesource/RateSource.go index 1327ce6ca..73d11c18c 100644 --- a/fix50sp2/ratesource/RateSource.go +++ b/fix50sp2/ratesource/RateSource.go @@ -1,5 +1,6 @@ package ratesource +//New returns an initialized RateSource instance func New() *RateSource { var m RateSource return &m @@ -15,6 +16,12 @@ type NoRateSources struct { ReferencePage *string `fix:"1448"` } +//NewNoRateSources returns an initialized NoRateSources instance +func NewNoRateSources() *NoRateSources { + var m NoRateSources + return &m +} + func (m *NoRateSources) SetRateSource(v int) { m.RateSource = &v } func (m *NoRateSources) SetRateSourceType(v int) { m.RateSourceType = &v } func (m *NoRateSources) SetReferencePage(v string) { m.ReferencePage = &v } diff --git a/fix50sp2/relatedaltptyssubgrp/RelatedAltPtysSubGrp.go b/fix50sp2/relatedaltptyssubgrp/RelatedAltPtysSubGrp.go index d42da01cc..b92b9ff41 100644 --- a/fix50sp2/relatedaltptyssubgrp/RelatedAltPtysSubGrp.go +++ b/fix50sp2/relatedaltptyssubgrp/RelatedAltPtysSubGrp.go @@ -1,5 +1,6 @@ package relatedaltptyssubgrp +//New returns an initialized RelatedAltPtysSubGrp instance func New() *RelatedAltPtysSubGrp { var m RelatedAltPtysSubGrp return &m @@ -13,6 +14,12 @@ type NoRelatedPartyAltSubIDs struct { RelatedPartyAltSubIDType *int `fix:"1574"` } +//NewNoRelatedPartyAltSubIDs returns an initialized NoRelatedPartyAltSubIDs instance +func NewNoRelatedPartyAltSubIDs() *NoRelatedPartyAltSubIDs { + var m NoRelatedPartyAltSubIDs + return &m +} + func (m *NoRelatedPartyAltSubIDs) SetRelatedPartyAltSubID(v string) { m.RelatedPartyAltSubID = &v } func (m *NoRelatedPartyAltSubIDs) SetRelatedPartyAltSubIDType(v int) { m.RelatedPartyAltSubIDType = &v } diff --git a/fix50sp2/relatedcontextparties/RelatedContextParties.go b/fix50sp2/relatedcontextparties/RelatedContextParties.go index 42adfc597..989507ca7 100644 --- a/fix50sp2/relatedcontextparties/RelatedContextParties.go +++ b/fix50sp2/relatedcontextparties/RelatedContextParties.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/relatedcontextptyssubgrp" ) +//New returns an initialized RelatedContextParties instance func New() *RelatedContextParties { var m RelatedContextParties return &m @@ -21,6 +22,12 @@ type NoRelatedContextPartyIDs struct { RelatedContextPtysSubGrp *relatedcontextptyssubgrp.RelatedContextPtysSubGrp } +//NewNoRelatedContextPartyIDs returns an initialized NoRelatedContextPartyIDs instance +func NewNoRelatedContextPartyIDs() *NoRelatedContextPartyIDs { + var m NoRelatedContextPartyIDs + return &m +} + func (m *NoRelatedContextPartyIDs) SetRelatedContextPartyID(v string) { m.RelatedContextPartyID = &v } func (m *NoRelatedContextPartyIDs) SetRelatedContextPartyIDSource(v string) { m.RelatedContextPartyIDSource = &v diff --git a/fix50sp2/relatedcontextptyssubgrp/RelatedContextPtysSubGrp.go b/fix50sp2/relatedcontextptyssubgrp/RelatedContextPtysSubGrp.go index 0175c7672..b91e25470 100644 --- a/fix50sp2/relatedcontextptyssubgrp/RelatedContextPtysSubGrp.go +++ b/fix50sp2/relatedcontextptyssubgrp/RelatedContextPtysSubGrp.go @@ -1,5 +1,6 @@ package relatedcontextptyssubgrp +//New returns an initialized RelatedContextPtysSubGrp instance func New() *RelatedContextPtysSubGrp { var m RelatedContextPtysSubGrp return &m @@ -13,6 +14,12 @@ type NoRelatedContextPartySubIDs struct { RelatedContextPartySubIDType *int `fix:"1581"` } +//NewNoRelatedContextPartySubIDs returns an initialized NoRelatedContextPartySubIDs instance +func NewNoRelatedContextPartySubIDs() *NoRelatedContextPartySubIDs { + var m NoRelatedContextPartySubIDs + return &m +} + func (m *NoRelatedContextPartySubIDs) SetRelatedContextPartySubID(v string) { m.RelatedContextPartySubID = &v } diff --git a/fix50sp2/relatedpartyaltids/RelatedPartyAltIDs.go b/fix50sp2/relatedpartyaltids/RelatedPartyAltIDs.go index ccf7f19bc..75740309e 100644 --- a/fix50sp2/relatedpartyaltids/RelatedPartyAltIDs.go +++ b/fix50sp2/relatedpartyaltids/RelatedPartyAltIDs.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/relatedaltptyssubgrp" ) +//New returns an initialized RelatedPartyAltIDs instance func New() *RelatedPartyAltIDs { var m RelatedPartyAltIDs return &m @@ -19,6 +20,12 @@ type NoRelatedPartyAltIDs struct { RelatedAltPtysSubGrp *relatedaltptyssubgrp.RelatedAltPtysSubGrp } +//NewNoRelatedPartyAltIDs returns an initialized NoRelatedPartyAltIDs instance +func NewNoRelatedPartyAltIDs() *NoRelatedPartyAltIDs { + var m NoRelatedPartyAltIDs + return &m +} + func (m *NoRelatedPartyAltIDs) SetRelatedPartyAltID(v string) { m.RelatedPartyAltID = &v } func (m *NoRelatedPartyAltIDs) SetRelatedPartyAltIDSource(v string) { m.RelatedPartyAltIDSource = &v } func (m *NoRelatedPartyAltIDs) SetRelatedAltPtysSubGrp(v relatedaltptyssubgrp.RelatedAltPtysSubGrp) { diff --git a/fix50sp2/relatedpartydetail/RelatedPartyDetail.go b/fix50sp2/relatedpartydetail/RelatedPartyDetail.go index e716db160..ea926f836 100644 --- a/fix50sp2/relatedpartydetail/RelatedPartyDetail.go +++ b/fix50sp2/relatedpartydetail/RelatedPartyDetail.go @@ -7,6 +7,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/relationshiprisklimits" ) +//New returns an initialized RelatedPartyDetail instance func New() *RelatedPartyDetail { var m RelatedPartyDetail return &m diff --git a/fix50sp2/relatedpartygrp/RelatedPartyGrp.go b/fix50sp2/relatedpartygrp/RelatedPartyGrp.go index c1108c748..ce4e97dfb 100644 --- a/fix50sp2/relatedpartygrp/RelatedPartyGrp.go +++ b/fix50sp2/relatedpartygrp/RelatedPartyGrp.go @@ -5,6 +5,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/relatedpartydetail" ) +//New returns an initialized RelatedPartyGrp instance func New() *RelatedPartyGrp { var m RelatedPartyGrp return &m @@ -18,6 +19,12 @@ type NoRelatedPartyIDs struct { PartyRelationships *partyrelationships.PartyRelationships } +//NewNoRelatedPartyIDs returns an initialized NoRelatedPartyIDs instance +func NewNoRelatedPartyIDs() *NoRelatedPartyIDs { + var m NoRelatedPartyIDs + return &m +} + func (m *NoRelatedPartyIDs) SetRelatedPartyDetail(v relatedpartydetail.RelatedPartyDetail) { m.RelatedPartyDetail = &v } diff --git a/fix50sp2/relatedptyssubgrp/RelatedPtysSubGrp.go b/fix50sp2/relatedptyssubgrp/RelatedPtysSubGrp.go index dcb89eaf9..e4bc6285f 100644 --- a/fix50sp2/relatedptyssubgrp/RelatedPtysSubGrp.go +++ b/fix50sp2/relatedptyssubgrp/RelatedPtysSubGrp.go @@ -1,5 +1,6 @@ package relatedptyssubgrp +//New returns an initialized RelatedPtysSubGrp instance func New() *RelatedPtysSubGrp { var m RelatedPtysSubGrp return &m @@ -13,6 +14,12 @@ type NoRelatedPartySubIDs struct { RelatedPartySubIDType *int `fix:"1568"` } +//NewNoRelatedPartySubIDs returns an initialized NoRelatedPartySubIDs instance +func NewNoRelatedPartySubIDs() *NoRelatedPartySubIDs { + var m NoRelatedPartySubIDs + return &m +} + func (m *NoRelatedPartySubIDs) SetRelatedPartySubID(v string) { m.RelatedPartySubID = &v } func (m *NoRelatedPartySubIDs) SetRelatedPartySubIDType(v int) { m.RelatedPartySubIDType = &v } diff --git a/fix50sp2/relationshipriskinstrumentscope/RelationshipRiskInstrumentScope.go b/fix50sp2/relationshipriskinstrumentscope/RelationshipRiskInstrumentScope.go index 3f553d6c5..d328a276d 100644 --- a/fix50sp2/relationshipriskinstrumentscope/RelationshipRiskInstrumentScope.go +++ b/fix50sp2/relationshipriskinstrumentscope/RelationshipRiskInstrumentScope.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/relationshiprisksecaltidgrp" ) +//New returns an initialized RelationshipRiskInstrumentScope instance func New() *RelationshipRiskInstrumentScope { var m RelationshipRiskInstrumentScope return &m @@ -63,6 +64,12 @@ type NoRelationshipRiskInstruments struct { RelationshipRiskInstrumentMultiplier *float64 `fix:"1612"` } +//NewNoRelationshipRiskInstruments returns an initialized NoRelationshipRiskInstruments instance +func NewNoRelationshipRiskInstruments() *NoRelationshipRiskInstruments { + var m NoRelationshipRiskInstruments + return &m +} + func (m *NoRelationshipRiskInstruments) SetRelationshipRiskInstrumentOperator(v int) { m.RelationshipRiskInstrumentOperator = &v } diff --git a/fix50sp2/relationshiprisklimits/RelationshipRiskLimits.go b/fix50sp2/relationshiprisklimits/RelationshipRiskLimits.go index e399b877d..ff3d62452 100644 --- a/fix50sp2/relationshiprisklimits/RelationshipRiskLimits.go +++ b/fix50sp2/relationshiprisklimits/RelationshipRiskLimits.go @@ -5,6 +5,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/relationshipriskwarninglevels" ) +//New returns an initialized RelationshipRiskLimits instance func New() *RelationshipRiskLimits { var m RelationshipRiskLimits return &m @@ -26,6 +27,12 @@ type NoRelationshipRiskLimits struct { RelationshipRiskWarningLevels *relationshipriskwarninglevels.RelationshipRiskWarningLevels } +//NewNoRelationshipRiskLimits returns an initialized NoRelationshipRiskLimits instance +func NewNoRelationshipRiskLimits() *NoRelationshipRiskLimits { + var m NoRelationshipRiskLimits + return &m +} + func (m *NoRelationshipRiskLimits) SetRelationshipRiskLimitType(v int) { m.RelationshipRiskLimitType = &v } diff --git a/fix50sp2/relationshiprisksecaltidgrp/RelationshipRiskSecAltIDGrp.go b/fix50sp2/relationshiprisksecaltidgrp/RelationshipRiskSecAltIDGrp.go index 9ebd54115..395ae7be5 100644 --- a/fix50sp2/relationshiprisksecaltidgrp/RelationshipRiskSecAltIDGrp.go +++ b/fix50sp2/relationshiprisksecaltidgrp/RelationshipRiskSecAltIDGrp.go @@ -1,5 +1,6 @@ package relationshiprisksecaltidgrp +//New returns an initialized RelationshipRiskSecAltIDGrp instance func New() *RelationshipRiskSecAltIDGrp { var m RelationshipRiskSecAltIDGrp return &m @@ -13,6 +14,12 @@ type NoRelationshipRiskSecurityAltID struct { RelationshipRiskSecurityAltIDSource *string `fix:"1595"` } +//NewNoRelationshipRiskSecurityAltID returns an initialized NoRelationshipRiskSecurityAltID instance +func NewNoRelationshipRiskSecurityAltID() *NoRelationshipRiskSecurityAltID { + var m NoRelationshipRiskSecurityAltID + return &m +} + func (m *NoRelationshipRiskSecurityAltID) SetRelationshipRiskSecurityAltID(v string) { m.RelationshipRiskSecurityAltID = &v } diff --git a/fix50sp2/relationshipriskwarninglevels/RelationshipRiskWarningLevels.go b/fix50sp2/relationshipriskwarninglevels/RelationshipRiskWarningLevels.go index dce4e742b..f13f253e4 100644 --- a/fix50sp2/relationshipriskwarninglevels/RelationshipRiskWarningLevels.go +++ b/fix50sp2/relationshipriskwarninglevels/RelationshipRiskWarningLevels.go @@ -1,5 +1,6 @@ package relationshipriskwarninglevels +//New returns an initialized RelationshipRiskWarningLevels instance func New() *RelationshipRiskWarningLevels { var m RelationshipRiskWarningLevels return &m @@ -13,6 +14,12 @@ type NoRelationshipRiskWarningLevels struct { RelationshipRiskWarningLevelName *string `fix:"1615"` } +//NewNoRelationshipRiskWarningLevels returns an initialized NoRelationshipRiskWarningLevels instance +func NewNoRelationshipRiskWarningLevels() *NoRelationshipRiskWarningLevels { + var m NoRelationshipRiskWarningLevels + return &m +} + func (m *NoRelationshipRiskWarningLevels) SetRelationshipRiskWarningLevelPercent(v float64) { m.RelationshipRiskWarningLevelPercent = &v } diff --git a/fix50sp2/relsymderivsecgrp/RelSymDerivSecGrp.go b/fix50sp2/relsymderivsecgrp/RelSymDerivSecGrp.go index f34c7ae4e..91daae9d6 100644 --- a/fix50sp2/relsymderivsecgrp/RelSymDerivSecGrp.go +++ b/fix50sp2/relsymderivsecgrp/RelSymDerivSecGrp.go @@ -8,6 +8,7 @@ import ( "time" ) +//New returns an initialized RelSymDerivSecGrp instance func New() *RelSymDerivSecGrp { var m RelSymDerivSecGrp return &m @@ -37,6 +38,12 @@ type NoRelatedSym struct { RelSymTransactTime *time.Time `fix:"1504"` } +//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) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { diff --git a/fix50sp2/relsymderivsecupdgrp/RelSymDerivSecUpdGrp.go b/fix50sp2/relsymderivsecupdgrp/RelSymDerivSecUpdGrp.go index c90e7f6ec..9ba08f3cd 100644 --- a/fix50sp2/relsymderivsecupdgrp/RelSymDerivSecUpdGrp.go +++ b/fix50sp2/relsymderivsecupdgrp/RelSymDerivSecUpdGrp.go @@ -8,6 +8,7 @@ import ( "time" ) +//New returns an initialized RelSymDerivSecUpdGrp instance func New() *RelSymDerivSecUpdGrp { var m RelSymDerivSecUpdGrp return &m @@ -39,6 +40,12 @@ type NoRelatedSym struct { RelSymTransactTime *time.Time `fix:"1504"` } +//NewNoRelatedSym returns an initialized NoRelatedSym instance +func NewNoRelatedSym() *NoRelatedSym { + var m NoRelatedSym + return &m +} + func (m *NoRelatedSym) SetListUpdateAction(v string) { m.ListUpdateAction = &v } func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = &v } func (m *NoRelatedSym) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { diff --git a/fix50sp2/requestedpartyrolegrp/RequestedPartyRoleGrp.go b/fix50sp2/requestedpartyrolegrp/RequestedPartyRoleGrp.go index e081334d1..6e908c0c9 100644 --- a/fix50sp2/requestedpartyrolegrp/RequestedPartyRoleGrp.go +++ b/fix50sp2/requestedpartyrolegrp/RequestedPartyRoleGrp.go @@ -1,5 +1,6 @@ package requestedpartyrolegrp +//New returns an initialized RequestedPartyRoleGrp instance func New() *RequestedPartyRoleGrp { var m RequestedPartyRoleGrp return &m @@ -11,6 +12,12 @@ type NoRequestedPartyRoles struct { RequestedPartyRole *int `fix:"1509"` } +//NewNoRequestedPartyRoles returns an initialized NoRequestedPartyRoles instance +func NewNoRequestedPartyRoles() *NoRequestedPartyRoles { + var m NoRequestedPartyRoles + return &m +} + func (m *NoRequestedPartyRoles) SetRequestedPartyRole(v int) { m.RequestedPartyRole = &v } //RequestedPartyRoleGrp is a fix50sp2 Component diff --git a/fix50sp2/rfqreqgrp/RFQReqGrp.go b/fix50sp2/rfqreqgrp/RFQReqGrp.go index 7f656692f..153df3146 100644 --- a/fix50sp2/rfqreqgrp/RFQReqGrp.go +++ b/fix50sp2/rfqreqgrp/RFQReqGrp.go @@ -6,6 +6,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/undinstrmtgrp" ) +//New returns an initialized RFQReqGrp instance func New(norelatedsym []NoRelatedSym) *RFQReqGrp { var m RFQReqGrp m.SetNoRelatedSym(norelatedsym) @@ -32,6 +33,13 @@ type NoRelatedSym struct { TradingSessionSubID *string `fix:"625"` } +//NewNoRelatedSym returns an initialized NoRelatedSym instance +func NewNoRelatedSym(instrument instrument.Instrument) *NoRelatedSym { + var m NoRelatedSym + m.SetInstrument(instrument) + return &m +} + func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = v } func (m *NoRelatedSym) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } func (m *NoRelatedSym) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } diff --git a/fix50sp2/rgstdistinstgrp/RgstDistInstGrp.go b/fix50sp2/rgstdistinstgrp/RgstDistInstGrp.go index db7c46374..add06e7d4 100644 --- a/fix50sp2/rgstdistinstgrp/RgstDistInstGrp.go +++ b/fix50sp2/rgstdistinstgrp/RgstDistInstGrp.go @@ -1,5 +1,6 @@ package rgstdistinstgrp +//New returns an initialized RgstDistInstGrp instance func New() *RgstDistInstGrp { var m RgstDistInstGrp return &m @@ -25,6 +26,12 @@ type NoDistribInsts struct { CashDistribAgentAcctName *string `fix:"502"` } +//NewNoDistribInsts returns an initialized NoDistribInsts instance +func NewNoDistribInsts() *NoDistribInsts { + var m NoDistribInsts + return &m +} + func (m *NoDistribInsts) SetDistribPaymentMethod(v int) { m.DistribPaymentMethod = &v } func (m *NoDistribInsts) SetDistribPercentage(v float64) { m.DistribPercentage = &v } func (m *NoDistribInsts) SetCashDistribCurr(v string) { m.CashDistribCurr = &v } diff --git a/fix50sp2/rgstdtlsgrp/RgstDtlsGrp.go b/fix50sp2/rgstdtlsgrp/RgstDtlsGrp.go index de86860ab..dd3176852 100644 --- a/fix50sp2/rgstdtlsgrp/RgstDtlsGrp.go +++ b/fix50sp2/rgstdtlsgrp/RgstDtlsGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/nestedparties" ) +//New returns an initialized RgstDtlsGrp instance func New() *RgstDtlsGrp { var m RgstDtlsGrp return &m @@ -29,6 +30,12 @@ type NoRegistDtls struct { InvestorCountryOfResidence *string `fix:"475"` } +//NewNoRegistDtls returns an initialized NoRegistDtls instance +func NewNoRegistDtls() *NoRegistDtls { + var m NoRegistDtls + return &m +} + func (m *NoRegistDtls) SetRegistDtls(v string) { m.RegistDtls = &v } func (m *NoRegistDtls) SetRegistEmail(v string) { m.RegistEmail = &v } func (m *NoRegistDtls) SetMailingDtls(v string) { m.MailingDtls = &v } diff --git a/fix50sp2/riskinstrumentscope/RiskInstrumentScope.go b/fix50sp2/riskinstrumentscope/RiskInstrumentScope.go index 9ab64173f..9e287f9f9 100644 --- a/fix50sp2/riskinstrumentscope/RiskInstrumentScope.go +++ b/fix50sp2/riskinstrumentscope/RiskInstrumentScope.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/risksecaltidgrp" ) +//New returns an initialized RiskInstrumentScope instance func New() *RiskInstrumentScope { var m RiskInstrumentScope return &m @@ -63,6 +64,12 @@ type NoRiskInstruments struct { RiskInstrumentMultiplier *float64 `fix:"1558"` } +//NewNoRiskInstruments returns an initialized NoRiskInstruments instance +func NewNoRiskInstruments() *NoRiskInstruments { + var m NoRiskInstruments + return &m +} + func (m *NoRiskInstruments) SetRiskInstrumentOperator(v int) { m.RiskInstrumentOperator = &v } func (m *NoRiskInstruments) SetRiskSymbol(v string) { m.RiskSymbol = &v } func (m *NoRiskInstruments) SetRiskSymbolSfx(v string) { m.RiskSymbolSfx = &v } diff --git a/fix50sp2/risklimits/RiskLimits.go b/fix50sp2/risklimits/RiskLimits.go index c1149125d..5ec85fcd1 100644 --- a/fix50sp2/risklimits/RiskLimits.go +++ b/fix50sp2/risklimits/RiskLimits.go @@ -5,6 +5,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/riskwarninglevels" ) +//New returns an initialized RiskLimits instance func New() *RiskLimits { var m RiskLimits return &m @@ -26,6 +27,12 @@ type NoRiskLimits struct { RiskWarningLevels *riskwarninglevels.RiskWarningLevels } +//NewNoRiskLimits returns an initialized NoRiskLimits instance +func NewNoRiskLimits() *NoRiskLimits { + var m NoRiskLimits + return &m +} + func (m *NoRiskLimits) SetRiskLimitType(v int) { m.RiskLimitType = &v } func (m *NoRiskLimits) SetRiskLimitAmount(v float64) { m.RiskLimitAmount = &v } func (m *NoRiskLimits) SetRiskLimitCurrency(v string) { m.RiskLimitCurrency = &v } diff --git a/fix50sp2/risksecaltidgrp/RiskSecAltIDGrp.go b/fix50sp2/risksecaltidgrp/RiskSecAltIDGrp.go index 068ba9c06..0f59834f5 100644 --- a/fix50sp2/risksecaltidgrp/RiskSecAltIDGrp.go +++ b/fix50sp2/risksecaltidgrp/RiskSecAltIDGrp.go @@ -1,5 +1,6 @@ package risksecaltidgrp +//New returns an initialized RiskSecAltIDGrp instance func New() *RiskSecAltIDGrp { var m RiskSecAltIDGrp return &m @@ -13,6 +14,12 @@ type NoRiskSecurityAltID struct { RiskSecurityAltIDSource *string `fix:"1542"` } +//NewNoRiskSecurityAltID returns an initialized NoRiskSecurityAltID instance +func NewNoRiskSecurityAltID() *NoRiskSecurityAltID { + var m NoRiskSecurityAltID + return &m +} + func (m *NoRiskSecurityAltID) SetRiskSecurityAltID(v string) { m.RiskSecurityAltID = &v } func (m *NoRiskSecurityAltID) SetRiskSecurityAltIDSource(v string) { m.RiskSecurityAltIDSource = &v } diff --git a/fix50sp2/riskwarninglevels/RiskWarningLevels.go b/fix50sp2/riskwarninglevels/RiskWarningLevels.go index 8a74a873b..a4cc7d797 100644 --- a/fix50sp2/riskwarninglevels/RiskWarningLevels.go +++ b/fix50sp2/riskwarninglevels/RiskWarningLevels.go @@ -1,5 +1,6 @@ package riskwarninglevels +//New returns an initialized RiskWarningLevels instance func New() *RiskWarningLevels { var m RiskWarningLevels return &m @@ -13,6 +14,12 @@ type NoRiskWarningLevels struct { RiskWarningLevelName *string `fix:"1561"` } +//NewNoRiskWarningLevels returns an initialized NoRiskWarningLevels instance +func NewNoRiskWarningLevels() *NoRiskWarningLevels { + var m NoRiskWarningLevels + return &m +} + func (m *NoRiskWarningLevels) SetRiskWarningLevelPercent(v float64) { m.RiskWarningLevelPercent = &v } func (m *NoRiskWarningLevels) SetRiskWarningLevelName(v string) { m.RiskWarningLevelName = &v } diff --git a/fix50sp2/rootparties/RootParties.go b/fix50sp2/rootparties/RootParties.go index 85ac17f68..e9b3e1c86 100644 --- a/fix50sp2/rootparties/RootParties.go +++ b/fix50sp2/rootparties/RootParties.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/rootsubparties" ) +//New returns an initialized RootParties instance func New() *RootParties { var m RootParties return &m @@ -21,6 +22,12 @@ type NoRootPartyIDs struct { RootSubParties *rootsubparties.RootSubParties } +//NewNoRootPartyIDs returns an initialized NoRootPartyIDs instance +func NewNoRootPartyIDs() *NoRootPartyIDs { + var m NoRootPartyIDs + return &m +} + func (m *NoRootPartyIDs) SetRootPartyID(v string) { m.RootPartyID = &v } func (m *NoRootPartyIDs) SetRootPartyIDSource(v string) { m.RootPartyIDSource = &v } func (m *NoRootPartyIDs) SetRootPartyRole(v int) { m.RootPartyRole = &v } diff --git a/fix50sp2/rootsubparties/RootSubParties.go b/fix50sp2/rootsubparties/RootSubParties.go index 552310210..0b7dce456 100644 --- a/fix50sp2/rootsubparties/RootSubParties.go +++ b/fix50sp2/rootsubparties/RootSubParties.go @@ -1,5 +1,6 @@ package rootsubparties +//New returns an initialized RootSubParties instance func New() *RootSubParties { var m RootSubParties return &m @@ -13,6 +14,12 @@ type NoRootPartySubIDs struct { RootPartySubIDType *int `fix:"1122"` } +//NewNoRootPartySubIDs returns an initialized NoRootPartySubIDs instance +func NewNoRootPartySubIDs() *NoRootPartySubIDs { + var m NoRootPartySubIDs + return &m +} + func (m *NoRootPartySubIDs) SetRootPartySubID(v string) { m.RootPartySubID = &v } func (m *NoRootPartySubIDs) SetRootPartySubIDType(v int) { m.RootPartySubIDType = &v } diff --git a/fix50sp2/routinggrp/RoutingGrp.go b/fix50sp2/routinggrp/RoutingGrp.go index 68dcd2630..0af21f353 100644 --- a/fix50sp2/routinggrp/RoutingGrp.go +++ b/fix50sp2/routinggrp/RoutingGrp.go @@ -1,5 +1,6 @@ package routinggrp +//New returns an initialized RoutingGrp instance func New() *RoutingGrp { var m RoutingGrp return &m @@ -13,6 +14,12 @@ type NoRoutingIDs struct { RoutingID *string `fix:"217"` } +//NewNoRoutingIDs returns an initialized NoRoutingIDs instance +func NewNoRoutingIDs() *NoRoutingIDs { + var m NoRoutingIDs + return &m +} + func (m *NoRoutingIDs) SetRoutingType(v int) { m.RoutingType = &v } func (m *NoRoutingIDs) SetRoutingID(v string) { m.RoutingID = &v } diff --git a/fix50sp2/secaltidgrp/SecAltIDGrp.go b/fix50sp2/secaltidgrp/SecAltIDGrp.go index d5d25a1e7..f5179ac2e 100644 --- a/fix50sp2/secaltidgrp/SecAltIDGrp.go +++ b/fix50sp2/secaltidgrp/SecAltIDGrp.go @@ -1,5 +1,6 @@ package secaltidgrp +//New returns an initialized SecAltIDGrp instance func New() *SecAltIDGrp { var m SecAltIDGrp return &m @@ -13,6 +14,12 @@ type NoSecurityAltID struct { SecurityAltIDSource *string `fix:"456"` } +//NewNoSecurityAltID returns an initialized NoSecurityAltID instance +func NewNoSecurityAltID() *NoSecurityAltID { + var m NoSecurityAltID + return &m +} + func (m *NoSecurityAltID) SetSecurityAltID(v string) { m.SecurityAltID = &v } func (m *NoSecurityAltID) SetSecurityAltIDSource(v string) { m.SecurityAltIDSource = &v } diff --git a/fix50sp2/seclistgrp/SecListGrp.go b/fix50sp2/seclistgrp/SecListGrp.go index 18cae5ca3..ea3eb0848 100644 --- a/fix50sp2/seclistgrp/SecListGrp.go +++ b/fix50sp2/seclistgrp/SecListGrp.go @@ -14,6 +14,7 @@ import ( "time" ) +//New returns an initialized SecListGrp instance func New() *SecListGrp { var m SecListGrp return &m @@ -53,6 +54,12 @@ type NoRelatedSym struct { RelSymTransactTime *time.Time `fix:"1504"` } +//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) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { m.InstrumentExtension = &v diff --git a/fix50sp2/seclstupdrelsymgrp/SecLstUpdRelSymGrp.go b/fix50sp2/seclstupdrelsymgrp/SecLstUpdRelSymGrp.go index 3733d1e94..6e8bc9fbe 100644 --- a/fix50sp2/seclstupdrelsymgrp/SecLstUpdRelSymGrp.go +++ b/fix50sp2/seclstupdrelsymgrp/SecLstUpdRelSymGrp.go @@ -14,6 +14,7 @@ import ( "time" ) +//New returns an initialized SecLstUpdRelSymGrp instance func New() *SecLstUpdRelSymGrp { var m SecLstUpdRelSymGrp return &m @@ -55,6 +56,12 @@ type NoRelatedSym struct { RelSymTransactTime *time.Time `fix:"1504"` } +//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) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { m.InstrumentExtension = &v diff --git a/fix50sp2/seclstupdrelsymsleggrp/SecLstUpdRelSymsLegGrp.go b/fix50sp2/seclstupdrelsymsleggrp/SecLstUpdRelSymsLegGrp.go index f3b70c78f..7cbda0df4 100644 --- a/fix50sp2/seclstupdrelsymsleggrp/SecLstUpdRelSymsLegGrp.go +++ b/fix50sp2/seclstupdrelsymsleggrp/SecLstUpdRelSymsLegGrp.go @@ -6,6 +6,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/legstipulations" ) +//New returns an initialized SecLstUpdRelSymsLegGrp instance func New() *SecLstUpdRelSymsLegGrp { var m SecLstUpdRelSymsLegGrp return &m @@ -25,6 +26,12 @@ type NoLegs struct { 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 } diff --git a/fix50sp2/secondarypricelimits/SecondaryPriceLimits.go b/fix50sp2/secondarypricelimits/SecondaryPriceLimits.go index 26ca6dd35..456cf1abc 100644 --- a/fix50sp2/secondarypricelimits/SecondaryPriceLimits.go +++ b/fix50sp2/secondarypricelimits/SecondaryPriceLimits.go @@ -1,5 +1,6 @@ package secondarypricelimits +//New returns an initialized SecondaryPriceLimits instance func New() *SecondaryPriceLimits { var m SecondaryPriceLimits return &m diff --git a/fix50sp2/secsizesgrp/SecSizesGrp.go b/fix50sp2/secsizesgrp/SecSizesGrp.go index cb9e7d5a4..1a40be3b0 100644 --- a/fix50sp2/secsizesgrp/SecSizesGrp.go +++ b/fix50sp2/secsizesgrp/SecSizesGrp.go @@ -1,5 +1,6 @@ package secsizesgrp +//New returns an initialized SecSizesGrp instance func New() *SecSizesGrp { var m SecSizesGrp return &m @@ -13,6 +14,12 @@ type NoOfSecSizes struct { MDSecSize *float64 `fix:"1179"` } +//NewNoOfSecSizes returns an initialized NoOfSecSizes instance +func NewNoOfSecSizes() *NoOfSecSizes { + var m NoOfSecSizes + return &m +} + func (m *NoOfSecSizes) SetMDSecSizeType(v int) { m.MDSecSizeType = &v } func (m *NoOfSecSizes) SetMDSecSize(v float64) { m.MDSecSize = &v } diff --git a/fix50sp2/sectypesgrp/SecTypesGrp.go b/fix50sp2/sectypesgrp/SecTypesGrp.go index a25691508..1ef5b7d3b 100644 --- a/fix50sp2/sectypesgrp/SecTypesGrp.go +++ b/fix50sp2/sectypesgrp/SecTypesGrp.go @@ -4,6 +4,7 @@ import ( "time" ) +//New returns an initialized SecTypesGrp instance func New() *SecTypesGrp { var m SecTypesGrp return &m @@ -23,6 +24,12 @@ type NoSecurityTypes struct { TransactTime *time.Time `fix:"60"` } +//NewNoSecurityTypes returns an initialized NoSecurityTypes instance +func NewNoSecurityTypes() *NoSecurityTypes { + var m NoSecurityTypes + return &m +} + func (m *NoSecurityTypes) SetSecurityType(v string) { m.SecurityType = &v } func (m *NoSecurityTypes) SetSecuritySubType(v string) { m.SecuritySubType = &v } func (m *NoSecurityTypes) SetProduct(v int) { m.Product = &v } diff --git a/fix50sp2/securitytradingrules/SecurityTradingRules.go b/fix50sp2/securitytradingrules/SecurityTradingRules.go index 2e425887b..6a8043976 100644 --- a/fix50sp2/securitytradingrules/SecurityTradingRules.go +++ b/fix50sp2/securitytradingrules/SecurityTradingRules.go @@ -6,6 +6,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/tradingsessionrulesgrp" ) +//New returns an initialized SecurityTradingRules instance func New() *SecurityTradingRules { var m SecurityTradingRules return &m diff --git a/fix50sp2/securityxml/SecurityXML.go b/fix50sp2/securityxml/SecurityXML.go index ae59aabbb..a78ef8045 100644 --- a/fix50sp2/securityxml/SecurityXML.go +++ b/fix50sp2/securityxml/SecurityXML.go @@ -1,5 +1,6 @@ package securityxml +//New returns an initialized SecurityXML instance func New() *SecurityXML { var m SecurityXML return &m diff --git a/fix50sp2/settldetails/SettlDetails.go b/fix50sp2/settldetails/SettlDetails.go index f9cee1b0e..bcb93b8f6 100644 --- a/fix50sp2/settldetails/SettlDetails.go +++ b/fix50sp2/settldetails/SettlDetails.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/settlparties" ) +//New returns an initialized SettlDetails instance func New() *SettlDetails { var m SettlDetails return &m @@ -17,6 +18,12 @@ type NoSettlDetails struct { SettlParties *settlparties.SettlParties } +//NewNoSettlDetails returns an initialized NoSettlDetails instance +func NewNoSettlDetails() *NoSettlDetails { + var m NoSettlDetails + return &m +} + func (m *NoSettlDetails) SetSettlObligSource(v string) { m.SettlObligSource = &v } func (m *NoSettlDetails) SetSettlParties(v settlparties.SettlParties) { m.SettlParties = &v } diff --git a/fix50sp2/settlinstgrp/SettlInstGrp.go b/fix50sp2/settlinstgrp/SettlInstGrp.go index d1c5798f4..35612711c 100644 --- a/fix50sp2/settlinstgrp/SettlInstGrp.go +++ b/fix50sp2/settlinstgrp/SettlInstGrp.go @@ -6,6 +6,7 @@ import ( "time" ) +//New returns an initialized SettlInstGrp instance func New() *SettlInstGrp { var m SettlInstGrp return &m @@ -59,6 +60,12 @@ type NoSettlInst struct { SettlCurrency *string `fix:"120"` } +//NewNoSettlInst returns an initialized NoSettlInst instance +func NewNoSettlInst() *NoSettlInst { + var m NoSettlInst + return &m +} + func (m *NoSettlInst) SetSettlInstID(v string) { m.SettlInstID = &v } func (m *NoSettlInst) SetSettlInstTransType(v string) { m.SettlInstTransType = &v } func (m *NoSettlInst) SetSettlInstRefID(v string) { m.SettlInstRefID = &v } diff --git a/fix50sp2/settlinstructionsdata/SettlInstructionsData.go b/fix50sp2/settlinstructionsdata/SettlInstructionsData.go index dfc23ce03..743185162 100644 --- a/fix50sp2/settlinstructionsdata/SettlInstructionsData.go +++ b/fix50sp2/settlinstructionsdata/SettlInstructionsData.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/dlvyinstgrp" ) +//New returns an initialized SettlInstructionsData instance func New() *SettlInstructionsData { var m SettlInstructionsData return &m diff --git a/fix50sp2/settlobligationinstructions/SettlObligationInstructions.go b/fix50sp2/settlobligationinstructions/SettlObligationInstructions.go index bd3d29db2..606c59158 100644 --- a/fix50sp2/settlobligationinstructions/SettlObligationInstructions.go +++ b/fix50sp2/settlobligationinstructions/SettlObligationInstructions.go @@ -7,6 +7,7 @@ import ( "time" ) +//New returns an initialized SettlObligationInstructions instance func New() *SettlObligationInstructions { var m SettlObligationInstructions return &m @@ -48,6 +49,12 @@ type NoSettlOblig struct { SettlDetails *settldetails.SettlDetails } +//NewNoSettlOblig returns an initialized NoSettlOblig instance +func NewNoSettlOblig() *NoSettlOblig { + var m NoSettlOblig + return &m +} + func (m *NoSettlOblig) SetNetGrossInd(v int) { m.NetGrossInd = &v } func (m *NoSettlOblig) SetSettlObligID(v string) { m.SettlObligID = &v } func (m *NoSettlOblig) SetSettlObligTransType(v string) { m.SettlObligTransType = &v } diff --git a/fix50sp2/settlparties/SettlParties.go b/fix50sp2/settlparties/SettlParties.go index 909a5bed3..4fa00527f 100644 --- a/fix50sp2/settlparties/SettlParties.go +++ b/fix50sp2/settlparties/SettlParties.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/settlptyssubgrp" ) +//New returns an initialized SettlParties instance func New() *SettlParties { var m SettlParties return &m @@ -21,6 +22,12 @@ type NoSettlPartyIDs struct { SettlPtysSubGrp *settlptyssubgrp.SettlPtysSubGrp } +//NewNoSettlPartyIDs returns an initialized NoSettlPartyIDs instance +func NewNoSettlPartyIDs() *NoSettlPartyIDs { + var m NoSettlPartyIDs + return &m +} + func (m *NoSettlPartyIDs) SetSettlPartyID(v string) { m.SettlPartyID = &v } func (m *NoSettlPartyIDs) SetSettlPartyIDSource(v string) { m.SettlPartyIDSource = &v } func (m *NoSettlPartyIDs) SetSettlPartyRole(v int) { m.SettlPartyRole = &v } diff --git a/fix50sp2/settlptyssubgrp/SettlPtysSubGrp.go b/fix50sp2/settlptyssubgrp/SettlPtysSubGrp.go index 9afb83320..4c4e995b3 100644 --- a/fix50sp2/settlptyssubgrp/SettlPtysSubGrp.go +++ b/fix50sp2/settlptyssubgrp/SettlPtysSubGrp.go @@ -1,5 +1,6 @@ package settlptyssubgrp +//New returns an initialized SettlPtysSubGrp instance func New() *SettlPtysSubGrp { var m SettlPtysSubGrp return &m @@ -13,6 +14,12 @@ type NoSettlPartySubIDs struct { SettlPartySubIDType *int `fix:"786"` } +//NewNoSettlPartySubIDs returns an initialized NoSettlPartySubIDs instance +func NewNoSettlPartySubIDs() *NoSettlPartySubIDs { + var m NoSettlPartySubIDs + return &m +} + func (m *NoSettlPartySubIDs) SetSettlPartySubID(v string) { m.SettlPartySubID = &v } func (m *NoSettlPartySubIDs) SetSettlPartySubIDType(v int) { m.SettlPartySubIDType = &v } diff --git a/fix50sp2/sidecrossordcxlgrp/SideCrossOrdCxlGrp.go b/fix50sp2/sidecrossordcxlgrp/SideCrossOrdCxlGrp.go index ebaa2966a..f5ab0413c 100644 --- a/fix50sp2/sidecrossordcxlgrp/SideCrossOrdCxlGrp.go +++ b/fix50sp2/sidecrossordcxlgrp/SideCrossOrdCxlGrp.go @@ -6,6 +6,7 @@ import ( "time" ) +//New returns an initialized SideCrossOrdCxlGrp instance func New(nosides []NoSides) *SideCrossOrdCxlGrp { var m SideCrossOrdCxlGrp m.SetNoSides(nosides) @@ -44,6 +45,15 @@ type NoSides struct { EncodedText *string `fix:"355"` } +//NewNoSides returns an initialized NoSides instance +func NewNoSides(side string, clordid string, orderqtydata orderqtydata.OrderQtyData) *NoSides { + var m NoSides + m.SetSide(side) + m.SetClOrdID(clordid) + m.SetOrderQtyData(orderqtydata) + return &m +} + func (m *NoSides) SetSide(v string) { m.Side = v } func (m *NoSides) SetOrigClOrdID(v string) { m.OrigClOrdID = &v } func (m *NoSides) SetClOrdID(v string) { m.ClOrdID = v } diff --git a/fix50sp2/sidecrossordmodgrp/SideCrossOrdModGrp.go b/fix50sp2/sidecrossordmodgrp/SideCrossOrdModGrp.go index 303139c30..4cc88515d 100644 --- a/fix50sp2/sidecrossordmodgrp/SideCrossOrdModGrp.go +++ b/fix50sp2/sidecrossordmodgrp/SideCrossOrdModGrp.go @@ -8,6 +8,7 @@ import ( "time" ) +//New returns an initialized SideCrossOrdModGrp instance func New(nosides []NoSides) *SideCrossOrdModGrp { var m SideCrossOrdModGrp m.SetNoSides(nosides) @@ -90,6 +91,15 @@ type NoSides struct { OrigClOrdID *string `fix:"41"` } +//NewNoSides returns an initialized NoSides instance +func NewNoSides(side string, clordid string, orderqtydata orderqtydata.OrderQtyData) *NoSides { + var m NoSides + m.SetSide(side) + m.SetClOrdID(clordid) + m.SetOrderQtyData(orderqtydata) + return &m +} + func (m *NoSides) SetSide(v string) { m.Side = v } func (m *NoSides) SetClOrdID(v string) { m.ClOrdID = v } func (m *NoSides) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } diff --git a/fix50sp2/sidetrdregts/SideTrdRegTS.go b/fix50sp2/sidetrdregts/SideTrdRegTS.go index 673a6adb7..9374aecd6 100644 --- a/fix50sp2/sidetrdregts/SideTrdRegTS.go +++ b/fix50sp2/sidetrdregts/SideTrdRegTS.go @@ -4,6 +4,7 @@ import ( "time" ) +//New returns an initialized SideTrdRegTS instance func New() *SideTrdRegTS { var m SideTrdRegTS return &m @@ -19,6 +20,12 @@ type NoSideTrdRegTS struct { SideTrdRegTimestampSrc *string `fix:"1014"` } +//NewNoSideTrdRegTS returns an initialized NoSideTrdRegTS instance +func NewNoSideTrdRegTS() *NoSideTrdRegTS { + var m NoSideTrdRegTS + return &m +} + func (m *NoSideTrdRegTS) SetSideTrdRegTimestamp(v time.Time) { m.SideTrdRegTimestamp = &v } func (m *NoSideTrdRegTS) SetSideTrdRegTimestampType(v int) { m.SideTrdRegTimestampType = &v } func (m *NoSideTrdRegTS) SetSideTrdRegTimestampSrc(v string) { m.SideTrdRegTimestampSrc = &v } diff --git a/fix50sp2/spreadorbenchmarkcurvedata/SpreadOrBenchmarkCurveData.go b/fix50sp2/spreadorbenchmarkcurvedata/SpreadOrBenchmarkCurveData.go index ec1afae12..17f5a7191 100644 --- a/fix50sp2/spreadorbenchmarkcurvedata/SpreadOrBenchmarkCurveData.go +++ b/fix50sp2/spreadorbenchmarkcurvedata/SpreadOrBenchmarkCurveData.go @@ -1,5 +1,6 @@ package spreadorbenchmarkcurvedata +//New returns an initialized SpreadOrBenchmarkCurveData instance func New() *SpreadOrBenchmarkCurveData { var m SpreadOrBenchmarkCurveData return &m diff --git a/fix50sp2/statsindgrp/StatsIndGrp.go b/fix50sp2/statsindgrp/StatsIndGrp.go index 81de84751..dbda6cc54 100644 --- a/fix50sp2/statsindgrp/StatsIndGrp.go +++ b/fix50sp2/statsindgrp/StatsIndGrp.go @@ -1,5 +1,6 @@ package statsindgrp +//New returns an initialized StatsIndGrp instance func New() *StatsIndGrp { var m StatsIndGrp return &m @@ -11,6 +12,12 @@ type NoStatsIndicators struct { StatsType *int `fix:"1176"` } +//NewNoStatsIndicators returns an initialized NoStatsIndicators instance +func NewNoStatsIndicators() *NoStatsIndicators { + var m NoStatsIndicators + return &m +} + func (m *NoStatsIndicators) SetStatsType(v int) { m.StatsType = &v } //StatsIndGrp is a fix50sp2 Component diff --git a/fix50sp2/stipulations/Stipulations.go b/fix50sp2/stipulations/Stipulations.go index 86c576481..d84e4b1e4 100644 --- a/fix50sp2/stipulations/Stipulations.go +++ b/fix50sp2/stipulations/Stipulations.go @@ -1,5 +1,6 @@ package stipulations +//New returns an initialized Stipulations instance func New() *Stipulations { var m Stipulations return &m @@ -13,6 +14,12 @@ type NoStipulations struct { StipulationValue *string `fix:"234"` } +//NewNoStipulations returns an initialized NoStipulations instance +func NewNoStipulations() *NoStipulations { + var m NoStipulations + return &m +} + func (m *NoStipulations) SetStipulationType(v string) { m.StipulationType = &v } func (m *NoStipulations) SetStipulationValue(v string) { m.StipulationValue = &v } diff --git a/fix50sp2/strategyparametersgrp/StrategyParametersGrp.go b/fix50sp2/strategyparametersgrp/StrategyParametersGrp.go index 2080c4030..4ab814013 100644 --- a/fix50sp2/strategyparametersgrp/StrategyParametersGrp.go +++ b/fix50sp2/strategyparametersgrp/StrategyParametersGrp.go @@ -1,5 +1,6 @@ package strategyparametersgrp +//New returns an initialized StrategyParametersGrp instance func New() *StrategyParametersGrp { var m StrategyParametersGrp return &m @@ -15,6 +16,12 @@ type NoStrategyParameters struct { StrategyParameterValue *string `fix:"960"` } +//NewNoStrategyParameters returns an initialized NoStrategyParameters instance +func NewNoStrategyParameters() *NoStrategyParameters { + var m NoStrategyParameters + return &m +} + func (m *NoStrategyParameters) SetStrategyParameterName(v string) { m.StrategyParameterName = &v } func (m *NoStrategyParameters) SetStrategyParameterType(v int) { m.StrategyParameterType = &v } func (m *NoStrategyParameters) SetStrategyParameterValue(v string) { m.StrategyParameterValue = &v } diff --git a/fix50sp2/strikerules/StrikeRules.go b/fix50sp2/strikerules/StrikeRules.go index a781388f1..c77194df3 100644 --- a/fix50sp2/strikerules/StrikeRules.go +++ b/fix50sp2/strikerules/StrikeRules.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/maturityrules" ) +//New returns an initialized StrikeRules instance func New() *StrikeRules { var m StrikeRules return &m @@ -25,6 +26,12 @@ type NoStrikeRules struct { MaturityRules *maturityrules.MaturityRules } +//NewNoStrikeRules returns an initialized NoStrikeRules instance +func NewNoStrikeRules() *NoStrikeRules { + var m NoStrikeRules + return &m +} + func (m *NoStrikeRules) SetStrikeRuleID(v string) { m.StrikeRuleID = &v } func (m *NoStrikeRules) SetStartStrikePxRange(v float64) { m.StartStrikePxRange = &v } func (m *NoStrikeRules) SetEndStrikePxRange(v float64) { m.EndStrikePxRange = &v } diff --git a/fix50sp2/strmasgnreqgrp/StrmAsgnReqGrp.go b/fix50sp2/strmasgnreqgrp/StrmAsgnReqGrp.go index 9133da008..1eb4c6c52 100644 --- a/fix50sp2/strmasgnreqgrp/StrmAsgnReqGrp.go +++ b/fix50sp2/strmasgnreqgrp/StrmAsgnReqGrp.go @@ -5,6 +5,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/strmasgnreqinstrmtgrp" ) +//New returns an initialized StrmAsgnReqGrp instance func New() *StrmAsgnReqGrp { var m StrmAsgnReqGrp return &m @@ -18,6 +19,12 @@ type NoAsgnReqs struct { StrmAsgnReqInstrmtGrp *strmasgnreqinstrmtgrp.StrmAsgnReqInstrmtGrp } +//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) SetStrmAsgnReqInstrmtGrp(v strmasgnreqinstrmtgrp.StrmAsgnReqInstrmtGrp) { m.StrmAsgnReqInstrmtGrp = &v diff --git a/fix50sp2/strmasgnreqinstrmtgrp/StrmAsgnReqInstrmtGrp.go b/fix50sp2/strmasgnreqinstrmtgrp/StrmAsgnReqInstrmtGrp.go index 60e0946bb..2f1875665 100644 --- a/fix50sp2/strmasgnreqinstrmtgrp/StrmAsgnReqInstrmtGrp.go +++ b/fix50sp2/strmasgnreqinstrmtgrp/StrmAsgnReqInstrmtGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/instrument" ) +//New returns an initialized StrmAsgnReqInstrmtGrp instance func New() *StrmAsgnReqInstrmtGrp { var m StrmAsgnReqInstrmtGrp return &m @@ -21,6 +22,12 @@ type NoRelatedSym struct { MDStreamID *string `fix:"1500"` } +//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) SetSettlType(v string) { m.SettlType = &v } func (m *NoRelatedSym) SetMDEntrySize(v float64) { m.MDEntrySize = &v } diff --git a/fix50sp2/strmasgnrptgrp/StrmAsgnRptGrp.go b/fix50sp2/strmasgnrptgrp/StrmAsgnRptGrp.go index 58fca851e..6a95f69d3 100644 --- a/fix50sp2/strmasgnrptgrp/StrmAsgnRptGrp.go +++ b/fix50sp2/strmasgnrptgrp/StrmAsgnRptGrp.go @@ -5,6 +5,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/strmasgnrptinstrmtgrp" ) +//New returns an initialized StrmAsgnRptGrp instance func New() *StrmAsgnRptGrp { var m StrmAsgnRptGrp return &m @@ -18,6 +19,12 @@ type NoAsgnReqs struct { 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 diff --git a/fix50sp2/strmasgnrptinstrmtgrp/StrmAsgnRptInstrmtGrp.go b/fix50sp2/strmasgnrptinstrmtgrp/StrmAsgnRptInstrmtGrp.go index 94abc3301..b8a3cdb80 100644 --- a/fix50sp2/strmasgnrptinstrmtgrp/StrmAsgnRptInstrmtGrp.go +++ b/fix50sp2/strmasgnrptinstrmtgrp/StrmAsgnRptInstrmtGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/instrument" ) +//New returns an initialized StrmAsgnRptInstrmtGrp instance func New() *StrmAsgnRptInstrmtGrp { var m StrmAsgnRptInstrmtGrp return &m @@ -29,6 +30,12 @@ type NoRelatedSym struct { 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) SetSettlType(v string) { m.SettlType = &v } func (m *NoRelatedSym) SetStreamAsgnType(v int) { m.StreamAsgnType = &v } diff --git a/fix50sp2/targetparties/TargetParties.go b/fix50sp2/targetparties/TargetParties.go index 4c1eb320e..2931a119b 100644 --- a/fix50sp2/targetparties/TargetParties.go +++ b/fix50sp2/targetparties/TargetParties.go @@ -1,5 +1,6 @@ package targetparties +//New returns an initialized TargetParties instance func New() *TargetParties { var m TargetParties return &m @@ -15,6 +16,12 @@ type NoTargetPartyIDs struct { TargetPartyRole *int `fix:"1464"` } +//NewNoTargetPartyIDs returns an initialized NoTargetPartyIDs instance +func NewNoTargetPartyIDs() *NoTargetPartyIDs { + var m NoTargetPartyIDs + return &m +} + func (m *NoTargetPartyIDs) SetTargetPartyID(v string) { m.TargetPartyID = &v } func (m *NoTargetPartyIDs) SetTargetPartyIDSource(v string) { m.TargetPartyIDSource = &v } func (m *NoTargetPartyIDs) SetTargetPartyRole(v int) { m.TargetPartyRole = &v } diff --git a/fix50sp2/tickrules/TickRules.go b/fix50sp2/tickrules/TickRules.go index 2b9f70db0..2a778fa17 100644 --- a/fix50sp2/tickrules/TickRules.go +++ b/fix50sp2/tickrules/TickRules.go @@ -1,5 +1,6 @@ package tickrules +//New returns an initialized TickRules instance func New() *TickRules { var m TickRules return &m @@ -17,6 +18,12 @@ type NoTickRules struct { TickRuleType *int `fix:"1209"` } +//NewNoTickRules returns an initialized NoTickRules instance +func NewNoTickRules() *NoTickRules { + var m NoTickRules + return &m +} + func (m *NoTickRules) SetStartTickPriceRange(v float64) { m.StartTickPriceRange = &v } func (m *NoTickRules) SetEndTickPriceRange(v float64) { m.EndTickPriceRange = &v } func (m *NoTickRules) SetTickIncrement(v float64) { m.TickIncrement = &v } diff --git a/fix50sp2/timeinforcerules/TimeInForceRules.go b/fix50sp2/timeinforcerules/TimeInForceRules.go index 9637c9717..90cb724f7 100644 --- a/fix50sp2/timeinforcerules/TimeInForceRules.go +++ b/fix50sp2/timeinforcerules/TimeInForceRules.go @@ -1,5 +1,6 @@ package timeinforcerules +//New returns an initialized TimeInForceRules instance func New() *TimeInForceRules { var m TimeInForceRules return &m @@ -11,6 +12,12 @@ type NoTimeInForceRules struct { TimeInForce *string `fix:"59"` } +//NewNoTimeInForceRules returns an initialized NoTimeInForceRules instance +func NewNoTimeInForceRules() *NoTimeInForceRules { + var m NoTimeInForceRules + return &m +} + func (m *NoTimeInForceRules) SetTimeInForce(v string) { m.TimeInForce = &v } //TimeInForceRules is a fix50sp2 Component diff --git a/fix50sp2/tradecaplegunderlyingsgrp/TradeCapLegUnderlyingsGrp.go b/fix50sp2/tradecaplegunderlyingsgrp/TradeCapLegUnderlyingsGrp.go index 7a1f9c0f5..5c5c01dfe 100644 --- a/fix50sp2/tradecaplegunderlyingsgrp/TradeCapLegUnderlyingsGrp.go +++ b/fix50sp2/tradecaplegunderlyingsgrp/TradeCapLegUnderlyingsGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/underlyingleginstrument" ) +//New returns an initialized TradeCapLegUnderlyingsGrp instance func New() *TradeCapLegUnderlyingsGrp { var m TradeCapLegUnderlyingsGrp return &m @@ -15,6 +16,12 @@ type NoOfLegUnderlyings struct { UnderlyingLegInstrument *underlyingleginstrument.UnderlyingLegInstrument } +//NewNoOfLegUnderlyings returns an initialized NoOfLegUnderlyings instance +func NewNoOfLegUnderlyings() *NoOfLegUnderlyings { + var m NoOfLegUnderlyings + return &m +} + func (m *NoOfLegUnderlyings) SetUnderlyingLegInstrument(v underlyingleginstrument.UnderlyingLegInstrument) { m.UnderlyingLegInstrument = &v } diff --git a/fix50sp2/tradereportorderdetail/TradeReportOrderDetail.go b/fix50sp2/tradereportorderdetail/TradeReportOrderDetail.go index b9fee7793..93c86f7f3 100644 --- a/fix50sp2/tradereportorderdetail/TradeReportOrderDetail.go +++ b/fix50sp2/tradereportorderdetail/TradeReportOrderDetail.go @@ -6,6 +6,7 @@ import ( "time" ) +//New returns an initialized TradeReportOrderDetail instance func New() *TradeReportOrderDetail { var m TradeReportOrderDetail return &m diff --git a/fix50sp2/tradingsessionrules/TradingSessionRules.go b/fix50sp2/tradingsessionrules/TradingSessionRules.go index 25aa6c680..1e3f7071f 100644 --- a/fix50sp2/tradingsessionrules/TradingSessionRules.go +++ b/fix50sp2/tradingsessionrules/TradingSessionRules.go @@ -8,6 +8,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/timeinforcerules" ) +//New returns an initialized TradingSessionRules instance func New() *TradingSessionRules { var m TradingSessionRules return &m diff --git a/fix50sp2/tradingsessionrulesgrp/TradingSessionRulesGrp.go b/fix50sp2/tradingsessionrulesgrp/TradingSessionRulesGrp.go index 1b4bd2c7a..80c26c533 100644 --- a/fix50sp2/tradingsessionrulesgrp/TradingSessionRulesGrp.go +++ b/fix50sp2/tradingsessionrulesgrp/TradingSessionRulesGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/tradingsessionrules" ) +//New returns an initialized TradingSessionRulesGrp instance func New() *TradingSessionRulesGrp { var m TradingSessionRulesGrp return &m @@ -19,6 +20,12 @@ type NoTradingSessionRules struct { TradingSessionRules *tradingsessionrules.TradingSessionRules } +//NewNoTradingSessionRules returns an initialized NoTradingSessionRules instance +func NewNoTradingSessionRules() *NoTradingSessionRules { + var m NoTradingSessionRules + return &m +} + func (m *NoTradingSessionRules) SetTradingSessionID(v string) { m.TradingSessionID = &v } func (m *NoTradingSessionRules) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } func (m *NoTradingSessionRules) SetTradingSessionRules(v tradingsessionrules.TradingSessionRules) { diff --git a/fix50sp2/trdallocgrp/TrdAllocGrp.go b/fix50sp2/trdallocgrp/TrdAllocGrp.go index 52dd998b6..aec11741e 100644 --- a/fix50sp2/trdallocgrp/TrdAllocGrp.go +++ b/fix50sp2/trdallocgrp/TrdAllocGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/nestedparties2" ) +//New returns an initialized TrdAllocGrp instance func New() *TrdAllocGrp { var m TrdAllocGrp return &m @@ -33,6 +34,12 @@ type NoAllocs struct { AllocClearingFeeIndicator *string `fix:"1136"` } +//NewNoAllocs returns an initialized NoAllocs instance +func NewNoAllocs() *NoAllocs { + var m NoAllocs + return &m +} + func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } func (m *NoAllocs) SetAllocSettlCurrency(v string) { m.AllocSettlCurrency = &v } diff --git a/fix50sp2/trdcapdtgrp/TrdCapDtGrp.go b/fix50sp2/trdcapdtgrp/TrdCapDtGrp.go index c86698c72..8c9c770fa 100644 --- a/fix50sp2/trdcapdtgrp/TrdCapDtGrp.go +++ b/fix50sp2/trdcapdtgrp/TrdCapDtGrp.go @@ -4,6 +4,7 @@ import ( "time" ) +//New returns an initialized TrdCapDtGrp instance func New() *TrdCapDtGrp { var m TrdCapDtGrp return &m @@ -19,6 +20,12 @@ type NoDates struct { LastUpdateTime *time.Time `fix:"779"` } +//NewNoDates returns an initialized NoDates instance +func NewNoDates() *NoDates { + var m NoDates + return &m +} + func (m *NoDates) SetTradeDate(v string) { m.TradeDate = &v } func (m *NoDates) SetTransactTime(v time.Time) { m.TransactTime = &v } func (m *NoDates) SetLastUpdateTime(v time.Time) { m.LastUpdateTime = &v } diff --git a/fix50sp2/trdcaprptacksidegrp/TrdCapRptAckSideGrp.go b/fix50sp2/trdcaprptacksidegrp/TrdCapRptAckSideGrp.go index 771cfa1e8..4767c5fed 100644 --- a/fix50sp2/trdcaprptacksidegrp/TrdCapRptAckSideGrp.go +++ b/fix50sp2/trdcaprptacksidegrp/TrdCapRptAckSideGrp.go @@ -13,6 +13,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/trdallocgrp" ) +//New returns an initialized TrdCapRptAckSideGrp instance func New(nosides []NoSides) *TrdCapRptAckSideGrp { var m TrdCapRptAckSideGrp m.SetNoSides(nosides) @@ -141,6 +142,13 @@ type NoSides struct { TradeReportOrderDetail *tradereportorderdetail.TradeReportOrderDetail } +//NewNoSides returns an initialized NoSides instance +func NewNoSides(side string) *NoSides { + var m NoSides + m.SetSide(side) + return &m +} + func (m *NoSides) SetSide(v string) { m.Side = v } func (m *NoSides) SetParties(v parties.Parties) { m.Parties = &v } func (m *NoSides) SetAccount(v string) { m.Account = &v } diff --git a/fix50sp2/trdcaprptsidegrp/TrdCapRptSideGrp.go b/fix50sp2/trdcaprptsidegrp/TrdCapRptSideGrp.go index acdae3544..aacd89f80 100644 --- a/fix50sp2/trdcaprptsidegrp/TrdCapRptSideGrp.go +++ b/fix50sp2/trdcaprptsidegrp/TrdCapRptSideGrp.go @@ -13,6 +13,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/trdallocgrp" ) +//New returns an initialized TrdCapRptSideGrp instance func New(nosides []NoSides) *TrdCapRptSideGrp { var m TrdCapRptSideGrp m.SetNoSides(nosides) @@ -151,6 +152,13 @@ type NoSides struct { SideLiquidityInd *int `fix:"1444"` } +//NewNoSides returns an initialized NoSides instance +func NewNoSides(side string) *NoSides { + var m NoSides + m.SetSide(side) + return &m +} + func (m *NoSides) SetSide(v string) { m.Side = v } func (m *NoSides) SetParties(v parties.Parties) { m.Parties = &v } func (m *NoSides) SetAccount(v string) { m.Account = &v } diff --git a/fix50sp2/trdcollgrp/TrdCollGrp.go b/fix50sp2/trdcollgrp/TrdCollGrp.go index 37e09a1e8..7a1ce474c 100644 --- a/fix50sp2/trdcollgrp/TrdCollGrp.go +++ b/fix50sp2/trdcollgrp/TrdCollGrp.go @@ -1,5 +1,6 @@ package trdcollgrp +//New returns an initialized TrdCollGrp instance func New() *TrdCollGrp { var m TrdCollGrp return &m @@ -13,6 +14,12 @@ type NoTrades struct { SecondaryTradeReportID *string `fix:"818"` } +//NewNoTrades returns an initialized NoTrades instance +func NewNoTrades() *NoTrades { + var m NoTrades + return &m +} + func (m *NoTrades) SetTradeReportID(v string) { m.TradeReportID = &v } func (m *NoTrades) SetSecondaryTradeReportID(v string) { m.SecondaryTradeReportID = &v } diff --git a/fix50sp2/trdgsesgrp/TrdgSesGrp.go b/fix50sp2/trdgsesgrp/TrdgSesGrp.go index cb8566cf6..e9aa842ee 100644 --- a/fix50sp2/trdgsesgrp/TrdgSesGrp.go +++ b/fix50sp2/trdgsesgrp/TrdgSesGrp.go @@ -1,5 +1,6 @@ package trdgsesgrp +//New returns an initialized TrdgSesGrp instance func New() *TrdgSesGrp { var m TrdgSesGrp return &m @@ -13,6 +14,12 @@ type NoTradingSessions struct { TradingSessionSubID *string `fix:"625"` } +//NewNoTradingSessions returns an initialized NoTradingSessions instance +func NewNoTradingSessions() *NoTradingSessions { + var m NoTradingSessions + return &m +} + func (m *NoTradingSessions) SetTradingSessionID(v string) { m.TradingSessionID = &v } func (m *NoTradingSessions) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } diff --git a/fix50sp2/trdinstrmtleggrp/TrdInstrmtLegGrp.go b/fix50sp2/trdinstrmtleggrp/TrdInstrmtLegGrp.go index 8cde784ac..d173b0c67 100644 --- a/fix50sp2/trdinstrmtleggrp/TrdInstrmtLegGrp.go +++ b/fix50sp2/trdinstrmtleggrp/TrdInstrmtLegGrp.go @@ -7,6 +7,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/tradecaplegunderlyingsgrp" ) +//New returns an initialized TrdInstrmtLegGrp instance func New() *TrdInstrmtLegGrp { var m TrdInstrmtLegGrp return &m @@ -62,6 +63,12 @@ type NoLegs struct { LegLastQty *float64 `fix:"1418"` } +//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) SetLegQty(v float64) { m.LegQty = &v } func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } diff --git a/fix50sp2/trdregtimestamps/TrdRegTimestamps.go b/fix50sp2/trdregtimestamps/TrdRegTimestamps.go index 0401d754b..5f18ca809 100644 --- a/fix50sp2/trdregtimestamps/TrdRegTimestamps.go +++ b/fix50sp2/trdregtimestamps/TrdRegTimestamps.go @@ -4,6 +4,7 @@ import ( "time" ) +//New returns an initialized TrdRegTimestamps instance func New() *TrdRegTimestamps { var m TrdRegTimestamps return &m @@ -25,6 +26,12 @@ type NoTrdRegTimestamps struct { DeskOrderHandlingInst *string `fix:"1035"` } +//NewNoTrdRegTimestamps returns an initialized NoTrdRegTimestamps instance +func NewNoTrdRegTimestamps() *NoTrdRegTimestamps { + var m NoTrdRegTimestamps + return &m +} + func (m *NoTrdRegTimestamps) SetTrdRegTimestamp(v time.Time) { m.TrdRegTimestamp = &v } func (m *NoTrdRegTimestamps) SetTrdRegTimestampType(v int) { m.TrdRegTimestampType = &v } func (m *NoTrdRegTimestamps) SetTrdRegTimestampOrigin(v string) { m.TrdRegTimestampOrigin = &v } diff --git a/fix50sp2/trdrepindicatorsgrp/TrdRepIndicatorsGrp.go b/fix50sp2/trdrepindicatorsgrp/TrdRepIndicatorsGrp.go index 72c1b45a0..af6c7f3b1 100644 --- a/fix50sp2/trdrepindicatorsgrp/TrdRepIndicatorsGrp.go +++ b/fix50sp2/trdrepindicatorsgrp/TrdRepIndicatorsGrp.go @@ -1,5 +1,6 @@ package trdrepindicatorsgrp +//New returns an initialized TrdRepIndicatorsGrp instance func New() *TrdRepIndicatorsGrp { var m TrdRepIndicatorsGrp return &m @@ -13,6 +14,12 @@ type NoTrdRepIndicators struct { TrdRepIndicator *bool `fix:"1389"` } +//NewNoTrdRepIndicators returns an initialized NoTrdRepIndicators instance +func NewNoTrdRepIndicators() *NoTrdRepIndicators { + var m NoTrdRepIndicators + return &m +} + func (m *NoTrdRepIndicators) SetTrdRepPartyRole(v int) { m.TrdRepPartyRole = &v } func (m *NoTrdRepIndicators) SetTrdRepIndicator(v bool) { m.TrdRepIndicator = &v } diff --git a/fix50sp2/trdsesslstgrp/TrdSessLstGrp.go b/fix50sp2/trdsesslstgrp/TrdSessLstGrp.go index a6755232c..62513ec8e 100644 --- a/fix50sp2/trdsesslstgrp/TrdSessLstGrp.go +++ b/fix50sp2/trdsesslstgrp/TrdSessLstGrp.go @@ -5,6 +5,7 @@ import ( "time" ) +//New returns an initialized TrdSessLstGrp instance func New(notradingsessions []NoTradingSessions) *TrdSessLstGrp { var m TrdSessLstGrp m.SetNoTradingSessions(notradingsessions) @@ -61,6 +62,14 @@ type NoTradingSessions struct { TradSesUpdateAction *string `fix:"1327"` } +//NewNoTradingSessions returns an initialized NoTradingSessions instance +func NewNoTradingSessions(tradingsessionid string, tradsesstatus int) *NoTradingSessions { + var m NoTradingSessions + m.SetTradingSessionID(tradingsessionid) + m.SetTradSesStatus(tradsesstatus) + return &m +} + func (m *NoTradingSessions) SetTradingSessionID(v string) { m.TradingSessionID = v } func (m *NoTradingSessions) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } func (m *NoTradingSessions) SetSecurityExchange(v string) { m.SecurityExchange = &v } diff --git a/fix50sp2/triggeringinstruction/TriggeringInstruction.go b/fix50sp2/triggeringinstruction/TriggeringInstruction.go index b2b12a18d..a015ad2be 100644 --- a/fix50sp2/triggeringinstruction/TriggeringInstruction.go +++ b/fix50sp2/triggeringinstruction/TriggeringInstruction.go @@ -1,5 +1,6 @@ package triggeringinstruction +//New returns an initialized TriggeringInstruction instance func New() *TriggeringInstruction { var m TriggeringInstruction return &m diff --git a/fix50sp2/underlyingamount/UnderlyingAmount.go b/fix50sp2/underlyingamount/UnderlyingAmount.go index 1cd8e357b..2f00eeb30 100644 --- a/fix50sp2/underlyingamount/UnderlyingAmount.go +++ b/fix50sp2/underlyingamount/UnderlyingAmount.go @@ -1,5 +1,6 @@ package underlyingamount +//New returns an initialized UnderlyingAmount instance func New() *UnderlyingAmount { var m UnderlyingAmount return &m @@ -17,6 +18,12 @@ type NoUnderlyingAmounts struct { UnderlyingSettlementStatus *string `fix:"988"` } +//NewNoUnderlyingAmounts returns an initialized NoUnderlyingAmounts instance +func NewNoUnderlyingAmounts() *NoUnderlyingAmounts { + var m NoUnderlyingAmounts + return &m +} + func (m *NoUnderlyingAmounts) SetUnderlyingPayAmount(v float64) { m.UnderlyingPayAmount = &v } func (m *NoUnderlyingAmounts) SetUnderlyingCollectAmount(v float64) { m.UnderlyingCollectAmount = &v } func (m *NoUnderlyingAmounts) SetUnderlyingSettlementDate(v string) { m.UnderlyingSettlementDate = &v } diff --git a/fix50sp2/underlyinginstrument/UnderlyingInstrument.go b/fix50sp2/underlyinginstrument/UnderlyingInstrument.go index 40b8ea3e3..a456cebc0 100644 --- a/fix50sp2/underlyinginstrument/UnderlyingInstrument.go +++ b/fix50sp2/underlyinginstrument/UnderlyingInstrument.go @@ -6,6 +6,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/undsecaltidgrp" ) +//New returns an initialized UnderlyingInstrument instance func New() *UnderlyingInstrument { var m UnderlyingInstrument return &m diff --git a/fix50sp2/underlyingleginstrument/UnderlyingLegInstrument.go b/fix50sp2/underlyingleginstrument/UnderlyingLegInstrument.go index 7c7b0bfb2..c3f4434ba 100644 --- a/fix50sp2/underlyingleginstrument/UnderlyingLegInstrument.go +++ b/fix50sp2/underlyingleginstrument/UnderlyingLegInstrument.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/underlyinglegsecurityaltidgrp" ) +//New returns an initialized UnderlyingLegInstrument instance func New() *UnderlyingLegInstrument { var m UnderlyingLegInstrument return &m diff --git a/fix50sp2/underlyinglegsecurityaltidgrp/UnderlyingLegSecurityAltIDGrp.go b/fix50sp2/underlyinglegsecurityaltidgrp/UnderlyingLegSecurityAltIDGrp.go index dfa9ca9f9..6147b503b 100644 --- a/fix50sp2/underlyinglegsecurityaltidgrp/UnderlyingLegSecurityAltIDGrp.go +++ b/fix50sp2/underlyinglegsecurityaltidgrp/UnderlyingLegSecurityAltIDGrp.go @@ -1,5 +1,6 @@ package underlyinglegsecurityaltidgrp +//New returns an initialized UnderlyingLegSecurityAltIDGrp instance func New() *UnderlyingLegSecurityAltIDGrp { var m UnderlyingLegSecurityAltIDGrp return &m @@ -13,6 +14,12 @@ type NoUnderlyingLegSecurityAltID struct { UnderlyingLegSecurityAltIDSource *string `fix:"1336"` } +//NewNoUnderlyingLegSecurityAltID returns an initialized NoUnderlyingLegSecurityAltID instance +func NewNoUnderlyingLegSecurityAltID() *NoUnderlyingLegSecurityAltID { + var m NoUnderlyingLegSecurityAltID + return &m +} + func (m *NoUnderlyingLegSecurityAltID) SetUnderlyingLegSecurityAltID(v string) { m.UnderlyingLegSecurityAltID = &v } diff --git a/fix50sp2/underlyingstipulations/UnderlyingStipulations.go b/fix50sp2/underlyingstipulations/UnderlyingStipulations.go index c3bb3297d..181aeba88 100644 --- a/fix50sp2/underlyingstipulations/UnderlyingStipulations.go +++ b/fix50sp2/underlyingstipulations/UnderlyingStipulations.go @@ -1,5 +1,6 @@ package underlyingstipulations +//New returns an initialized UnderlyingStipulations instance func New() *UnderlyingStipulations { var m UnderlyingStipulations return &m @@ -13,6 +14,12 @@ type NoUnderlyingStips struct { UnderlyingStipValue *string `fix:"889"` } +//NewNoUnderlyingStips returns an initialized NoUnderlyingStips instance +func NewNoUnderlyingStips() *NoUnderlyingStips { + var m NoUnderlyingStips + return &m +} + func (m *NoUnderlyingStips) SetUnderlyingStipType(v string) { m.UnderlyingStipType = &v } func (m *NoUnderlyingStips) SetUnderlyingStipValue(v string) { m.UnderlyingStipValue = &v } diff --git a/fix50sp2/undinstrmtcollgrp/UndInstrmtCollGrp.go b/fix50sp2/undinstrmtcollgrp/UndInstrmtCollGrp.go index b4079cda0..6e6501a9e 100644 --- a/fix50sp2/undinstrmtcollgrp/UndInstrmtCollGrp.go +++ b/fix50sp2/undinstrmtcollgrp/UndInstrmtCollGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/underlyinginstrument" ) +//New returns an initialized UndInstrmtCollGrp instance func New() *UndInstrmtCollGrp { var m UndInstrmtCollGrp return &m @@ -17,6 +18,12 @@ type NoUnderlyings struct { CollAction *int `fix:"944"` } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } diff --git a/fix50sp2/undinstrmtgrp/UndInstrmtGrp.go b/fix50sp2/undinstrmtgrp/UndInstrmtGrp.go index fd9a7c201..d33aa21b7 100644 --- a/fix50sp2/undinstrmtgrp/UndInstrmtGrp.go +++ b/fix50sp2/undinstrmtgrp/UndInstrmtGrp.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/underlyinginstrument" ) +//New returns an initialized UndInstrmtGrp instance func New() *UndInstrmtGrp { var m UndInstrmtGrp return &m @@ -15,6 +16,12 @@ type NoUnderlyings struct { UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } +//NewNoUnderlyings returns an initialized NoUnderlyings instance +func NewNoUnderlyings() *NoUnderlyings { + var m NoUnderlyings + return &m +} + func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { m.UnderlyingInstrument = &v } diff --git a/fix50sp2/undlyinstrumentparties/UndlyInstrumentParties.go b/fix50sp2/undlyinstrumentparties/UndlyInstrumentParties.go index 6fcf60582..e5a870b19 100644 --- a/fix50sp2/undlyinstrumentparties/UndlyInstrumentParties.go +++ b/fix50sp2/undlyinstrumentparties/UndlyInstrumentParties.go @@ -4,6 +4,7 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/undlyinstrumentptyssubgrp" ) +//New returns an initialized UndlyInstrumentParties instance func New() *UndlyInstrumentParties { var m UndlyInstrumentParties return &m @@ -21,6 +22,12 @@ type NoUndlyInstrumentParties struct { 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 } diff --git a/fix50sp2/undlyinstrumentptyssubgrp/UndlyInstrumentPtysSubGrp.go b/fix50sp2/undlyinstrumentptyssubgrp/UndlyInstrumentPtysSubGrp.go index 9636aa3bb..33ab21a7a 100644 --- a/fix50sp2/undlyinstrumentptyssubgrp/UndlyInstrumentPtysSubGrp.go +++ b/fix50sp2/undlyinstrumentptyssubgrp/UndlyInstrumentPtysSubGrp.go @@ -1,5 +1,6 @@ package undlyinstrumentptyssubgrp +//New returns an initialized UndlyInstrumentPtysSubGrp instance func New() *UndlyInstrumentPtysSubGrp { var m UndlyInstrumentPtysSubGrp return &m @@ -13,6 +14,12 @@ type NoUndlyInstrumentPartySubIDs struct { UnderlyingInstrumentPartySubIDType *int `fix:"1064"` } +//NewNoUndlyInstrumentPartySubIDs returns an initialized NoUndlyInstrumentPartySubIDs instance +func NewNoUndlyInstrumentPartySubIDs() *NoUndlyInstrumentPartySubIDs { + var m NoUndlyInstrumentPartySubIDs + return &m +} + func (m *NoUndlyInstrumentPartySubIDs) SetUnderlyingInstrumentPartySubID(v string) { m.UnderlyingInstrumentPartySubID = &v } diff --git a/fix50sp2/undsecaltidgrp/UndSecAltIDGrp.go b/fix50sp2/undsecaltidgrp/UndSecAltIDGrp.go index 6c2dfdd47..7091266bb 100644 --- a/fix50sp2/undsecaltidgrp/UndSecAltIDGrp.go +++ b/fix50sp2/undsecaltidgrp/UndSecAltIDGrp.go @@ -1,5 +1,6 @@ package undsecaltidgrp +//New returns an initialized UndSecAltIDGrp instance func New() *UndSecAltIDGrp { var m UndSecAltIDGrp return &m @@ -13,6 +14,12 @@ type NoUnderlyingSecurityAltID struct { UnderlyingSecurityAltIDSource *string `fix:"459"` } +//NewNoUnderlyingSecurityAltID returns an initialized NoUnderlyingSecurityAltID instance +func NewNoUnderlyingSecurityAltID() *NoUnderlyingSecurityAltID { + var m NoUnderlyingSecurityAltID + return &m +} + func (m *NoUnderlyingSecurityAltID) SetUnderlyingSecurityAltID(v string) { m.UnderlyingSecurityAltID = &v } diff --git a/fix50sp2/usernamegrp/UsernameGrp.go b/fix50sp2/usernamegrp/UsernameGrp.go index 6d591893a..51ddbe29f 100644 --- a/fix50sp2/usernamegrp/UsernameGrp.go +++ b/fix50sp2/usernamegrp/UsernameGrp.go @@ -1,5 +1,6 @@ package usernamegrp +//New returns an initialized UsernameGrp instance func New() *UsernameGrp { var m UsernameGrp return &m diff --git a/fix50sp2/yielddata/YieldData.go b/fix50sp2/yielddata/YieldData.go index 4a352e433..dc622100f 100644 --- a/fix50sp2/yielddata/YieldData.go +++ b/fix50sp2/yielddata/YieldData.go @@ -1,5 +1,6 @@ package yielddata +//New returns an initialized YieldData instance func New() *YieldData { var m YieldData return &m diff --git a/fixt11/hopgrp/HopGrp.go b/fixt11/hopgrp/HopGrp.go index b337628fb..dc9757694 100644 --- a/fixt11/hopgrp/HopGrp.go +++ b/fixt11/hopgrp/HopGrp.go @@ -4,6 +4,7 @@ import ( "time" ) +//New returns an initialized HopGrp instance func New() *HopGrp { var m HopGrp return &m @@ -19,6 +20,12 @@ type NoHops struct { HopRefID *int `fix:"630"` } +//NewNoHops returns an initialized NoHops instance +func NewNoHops() *NoHops { + var m NoHops + return &m +} + func (m *NoHops) SetHopCompID(v string) { m.HopCompID = &v } func (m *NoHops) SetHopSendingTime(v time.Time) { m.HopSendingTime = &v } func (m *NoHops) SetHopRefID(v int) { m.HopRefID = &v } diff --git a/fixt11/msgtypegrp/MsgTypeGrp.go b/fixt11/msgtypegrp/MsgTypeGrp.go index 2095adacf..8296df1a5 100644 --- a/fixt11/msgtypegrp/MsgTypeGrp.go +++ b/fixt11/msgtypegrp/MsgTypeGrp.go @@ -1,5 +1,6 @@ package msgtypegrp +//New returns an initialized MsgTypeGrp instance func New() *MsgTypeGrp { var m MsgTypeGrp return &m @@ -17,6 +18,12 @@ type NoMsgTypes struct { RefCstmApplVerID *string `fix:"1131"` } +//NewNoMsgTypes returns an initialized NoMsgTypes instance +func NewNoMsgTypes() *NoMsgTypes { + var m NoMsgTypes + return &m +} + func (m *NoMsgTypes) SetRefMsgType(v string) { m.RefMsgType = &v } func (m *NoMsgTypes) SetMsgDirection(v string) { m.MsgDirection = &v } func (m *NoMsgTypes) SetRefApplVerID(v string) { m.RefApplVerID = &v }